@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.
Files changed (55) hide show
  1. package/dist/client.d.ts +98 -26
  2. package/dist/client.js +186 -26
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DiduiAreaDeductionRequest.d.ts +127 -0
  5. package/dist/models/DiduiAreaDeductionRequest.js +116 -0
  6. package/dist/models/DiduiAreaDeductionRequest.js.map +1 -0
  7. package/dist/models/DiduiAreaDeductionResponse.d.ts +19 -0
  8. package/dist/models/DiduiAreaDeductionResponse.js +69 -0
  9. package/dist/models/DiduiAreaDeductionResponse.js.map +1 -0
  10. package/dist/models/DiduiAreaDeductionResponseBody.d.ts +202 -0
  11. package/dist/models/DiduiAreaDeductionResponseBody.js +159 -0
  12. package/dist/models/DiduiAreaDeductionResponseBody.js.map +1 -0
  13. package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +46 -0
  14. package/dist/models/DiduiAreaDeductionShrinkRequest.js +64 -0
  15. package/dist/models/DiduiAreaDeductionShrinkRequest.js.map +1 -0
  16. package/dist/models/ImageRemoveRequest.d.ts +15 -0
  17. package/dist/models/ImageRemoveRequest.js +12 -0
  18. package/dist/models/ImageRemoveRequest.js.map +1 -1
  19. package/dist/models/ImageRemoveShrinkRequest.d.ts +15 -0
  20. package/dist/models/ImageRemoveShrinkRequest.js +6 -0
  21. package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
  22. package/dist/models/ProductHotspotDetectionRequest.d.ts +38 -0
  23. package/dist/models/ProductHotspotDetectionRequest.js +65 -0
  24. package/dist/models/ProductHotspotDetectionRequest.js.map +1 -0
  25. package/dist/models/ProductHotspotDetectionResponse.d.ts +19 -0
  26. package/dist/models/ProductHotspotDetectionResponse.js +69 -0
  27. package/dist/models/ProductHotspotDetectionResponse.js.map +1 -0
  28. package/dist/models/ProductHotspotDetectionResponseBody.d.ts +154 -0
  29. package/dist/models/ProductHotspotDetectionResponseBody.js +147 -0
  30. package/dist/models/ProductHotspotDetectionResponseBody.js.map +1 -0
  31. package/dist/models/ProductHotspotDetectionShrinkRequest.d.ts +38 -0
  32. package/dist/models/ProductHotspotDetectionShrinkRequest.js +62 -0
  33. package/dist/models/ProductHotspotDetectionShrinkRequest.js.map +1 -0
  34. package/dist/models/VideoGenerationRequest.d.ts +42 -0
  35. package/dist/models/VideoGenerationRequest.js +31 -1
  36. package/dist/models/VideoGenerationRequest.js.map +1 -1
  37. package/dist/models/VideoGenerationResponseBody.d.ts +3 -3
  38. package/dist/models/model.d.ts +17 -0
  39. package/dist/models/model.js +43 -8
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/client.ts +204 -26
  43. package/src/models/DiduiAreaDeductionRequest.ts +180 -0
  44. package/src/models/DiduiAreaDeductionResponse.ts +40 -0
  45. package/src/models/DiduiAreaDeductionResponseBody.ts +287 -0
  46. package/src/models/DiduiAreaDeductionShrinkRequest.ts +65 -0
  47. package/src/models/ImageRemoveRequest.ts +27 -0
  48. package/src/models/ImageRemoveShrinkRequest.ts +21 -0
  49. package/src/models/ProductHotspotDetectionRequest.ts +58 -0
  50. package/src/models/ProductHotspotDetectionResponse.ts +40 -0
  51. package/src/models/ProductHotspotDetectionResponseBody.ts +227 -0
  52. package/src/models/ProductHotspotDetectionShrinkRequest.ts +55 -0
  53. package/src/models/VideoGenerationRequest.ts +63 -0
  54. package/src/models/VideoGenerationResponseBody.ts +3 -3
  55. package/src/models/model.ts +17 -0
@@ -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"}
@@ -0,0 +1,154 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ProductHotspotDetectionResponseBodyDataProductsBoxes extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The bottom boundary of the bounding box.
6
+ *
7
+ * @example
8
+ * 947
9
+ */
10
+ bottom?: number;
11
+ /**
12
+ * @remarks
13
+ * The left boundary of the bounding box.
14
+ *
15
+ * @example
16
+ * 280
17
+ */
18
+ left?: number;
19
+ /**
20
+ * @remarks
21
+ * The right boundary of the bounding box.
22
+ *
23
+ * @example
24
+ * 743
25
+ */
26
+ right?: number;
27
+ /**
28
+ * @remarks
29
+ * The top boundary of the bounding box.
30
+ *
31
+ * @example
32
+ * 965
33
+ */
34
+ top?: number;
35
+ static names(): {
36
+ [key: string]: string;
37
+ };
38
+ static types(): {
39
+ [key: string]: any;
40
+ };
41
+ validate(): void;
42
+ constructor(map?: {
43
+ [key: string]: any;
44
+ });
45
+ }
46
+ export declare class ProductHotspotDetectionResponseBodyDataProducts extends $dara.Model {
47
+ /**
48
+ * @remarks
49
+ * The bounding boxes of the product instances.
50
+ */
51
+ boxes?: ProductHotspotDetectionResponseBodyDataProductsBoxes[];
52
+ /**
53
+ * @remarks
54
+ * The product name.
55
+ *
56
+ * @example
57
+ * Beige metal chain-embellished Mary Jane flats
58
+ */
59
+ label?: string;
60
+ /**
61
+ * @remarks
62
+ * The product ID generated by the workflow.
63
+ *
64
+ * @example
65
+ * product_1
66
+ */
67
+ productId?: string;
68
+ static names(): {
69
+ [key: string]: string;
70
+ };
71
+ static types(): {
72
+ [key: string]: any;
73
+ };
74
+ validate(): void;
75
+ constructor(map?: {
76
+ [key: string]: any;
77
+ });
78
+ }
79
+ export declare class ProductHotspotDetectionResponseBodyData extends $dara.Model {
80
+ /**
81
+ * @remarks
82
+ * The list of recognized products and their bounding boxes.
83
+ */
84
+ products?: ProductHotspotDetectionResponseBodyDataProducts[];
85
+ /**
86
+ * @remarks
87
+ * The usage information.
88
+ *
89
+ * @example
90
+ * {"ProcessingCount":1}
91
+ */
92
+ usageMap?: {
93
+ [key: string]: number;
94
+ };
95
+ static names(): {
96
+ [key: string]: string;
97
+ };
98
+ static types(): {
99
+ [key: string]: any;
100
+ };
101
+ validate(): void;
102
+ constructor(map?: {
103
+ [key: string]: any;
104
+ });
105
+ }
106
+ export declare class ProductHotspotDetectionResponseBody extends $dara.Model {
107
+ /**
108
+ * @remarks
109
+ * The error code.
110
+ *
111
+ * @example
112
+ * success
113
+ */
114
+ code?: string;
115
+ /**
116
+ * @remarks
117
+ * The product hotzone recognition result.
118
+ */
119
+ data?: ProductHotspotDetectionResponseBodyData;
120
+ /**
121
+ * @remarks
122
+ * The error message.
123
+ *
124
+ * @example
125
+ * Success
126
+ */
127
+ message?: string;
128
+ /**
129
+ * @remarks
130
+ * Id of the request
131
+ *
132
+ * @example
133
+ * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
134
+ */
135
+ requestId?: string;
136
+ /**
137
+ * @remarks
138
+ * Indicates whether the call was successful.
139
+ *
140
+ * @example
141
+ * True
142
+ */
143
+ success?: boolean;
144
+ static names(): {
145
+ [key: string]: string;
146
+ };
147
+ static types(): {
148
+ [key: string]: any;
149
+ };
150
+ validate(): void;
151
+ constructor(map?: {
152
+ [key: string]: any;
153
+ });
154
+ }
@@ -0,0 +1,147 @@
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.ProductHotspotDetectionResponseBody = exports.ProductHotspotDetectionResponseBodyData = exports.ProductHotspotDetectionResponseBodyDataProducts = exports.ProductHotspotDetectionResponseBodyDataProductsBoxes = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ProductHotspotDetectionResponseBodyDataProductsBoxes extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ bottom: 'Bottom',
43
+ left: 'Left',
44
+ right: 'Right',
45
+ top: 'Top',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ bottom: 'number',
51
+ left: 'number',
52
+ right: 'number',
53
+ top: 'number',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ProductHotspotDetectionResponseBodyDataProductsBoxes = ProductHotspotDetectionResponseBodyDataProductsBoxes;
64
+ class ProductHotspotDetectionResponseBodyDataProducts extends $dara.Model {
65
+ static names() {
66
+ return {
67
+ boxes: 'Boxes',
68
+ label: 'Label',
69
+ productId: 'ProductId',
70
+ };
71
+ }
72
+ static types() {
73
+ return {
74
+ boxes: { 'type': 'array', 'itemType': ProductHotspotDetectionResponseBodyDataProductsBoxes },
75
+ label: 'string',
76
+ productId: 'string',
77
+ };
78
+ }
79
+ validate() {
80
+ if (Array.isArray(this.boxes)) {
81
+ $dara.Model.validateArray(this.boxes);
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.ProductHotspotDetectionResponseBodyDataProducts = ProductHotspotDetectionResponseBodyDataProducts;
90
+ class ProductHotspotDetectionResponseBodyData extends $dara.Model {
91
+ static names() {
92
+ return {
93
+ products: 'Products',
94
+ usageMap: 'UsageMap',
95
+ };
96
+ }
97
+ static types() {
98
+ return {
99
+ products: { 'type': 'array', 'itemType': ProductHotspotDetectionResponseBodyDataProducts },
100
+ usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
101
+ };
102
+ }
103
+ validate() {
104
+ if (Array.isArray(this.products)) {
105
+ $dara.Model.validateArray(this.products);
106
+ }
107
+ if (this.usageMap) {
108
+ $dara.Model.validateMap(this.usageMap);
109
+ }
110
+ super.validate();
111
+ }
112
+ constructor(map) {
113
+ super(map);
114
+ }
115
+ }
116
+ exports.ProductHotspotDetectionResponseBodyData = ProductHotspotDetectionResponseBodyData;
117
+ class ProductHotspotDetectionResponseBody extends $dara.Model {
118
+ static names() {
119
+ return {
120
+ code: 'Code',
121
+ data: 'Data',
122
+ message: 'Message',
123
+ requestId: 'RequestId',
124
+ success: 'Success',
125
+ };
126
+ }
127
+ static types() {
128
+ return {
129
+ code: 'string',
130
+ data: ProductHotspotDetectionResponseBodyData,
131
+ message: 'string',
132
+ requestId: 'string',
133
+ success: 'boolean',
134
+ };
135
+ }
136
+ validate() {
137
+ if (this.data && typeof this.data.validate === 'function') {
138
+ this.data.validate();
139
+ }
140
+ super.validate();
141
+ }
142
+ constructor(map) {
143
+ super(map);
144
+ }
145
+ }
146
+ exports.ProductHotspotDetectionResponseBody = ProductHotspotDetectionResponseBody;
147
+ //# sourceMappingURL=ProductHotspotDetectionResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductHotspotDetectionResponseBody.js","sourceRoot":"","sources":["../../src/models/ProductHotspotDetectionResponseBody.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,38 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ProductHotspotDetectionShrinkRequest 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
+ referenceImageUrlsShrink?: 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,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.ProductHotspotDetectionShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ProductHotspotDetectionShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ referenceImageUrlsShrink: 'ReferenceImageUrls',
43
+ reqId: 'ReqId',
44
+ targetImageUrl: 'TargetImageUrl',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ referenceImageUrlsShrink: 'string',
50
+ reqId: 'string',
51
+ targetImageUrl: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.ProductHotspotDetectionShrinkRequest = ProductHotspotDetectionShrinkRequest;
62
+ //# sourceMappingURL=ProductHotspotDetectionShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductHotspotDetectionShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ProductHotspotDetectionShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IA0BnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,wBAAwB,EAAE,oBAAoB;YAC9C,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,wBAAwB,EAAE,QAAQ;YAClC,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,oFAiDC"}
@@ -1,5 +1,42 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
+ export declare class VideoGenerationRequestInputAssetBindings extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The asset index.
6
+ *
7
+ * @example
8
+ * 0
9
+ */
10
+ assetIndex?: number;
11
+ /**
12
+ * @remarks
13
+ * The natural language description of the asset.
14
+ */
15
+ description?: string;
16
+ /**
17
+ * @remarks
18
+ * Valid values:
19
+ * - look_reference: appearance reference.
20
+ * - scene_reference: scene reference.
21
+ */
22
+ slot?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ validate(): void;
30
+ constructor(map?: {
31
+ [key: string]: any;
32
+ });
33
+ }
2
34
  export declare class VideoGenerationRequestInput extends $dara.Model {
35
+ /**
36
+ * @remarks
37
+ * Specifies the purpose and description of images by asset index.
38
+ */
39
+ assetBindings?: VideoGenerationRequestInputAssetBindings[];
3
40
  /**
4
41
  * @remarks
5
42
  * The extended information.
@@ -52,6 +89,11 @@ export declare class VideoGenerationRequestIntent extends $dara.Model {
52
89
  * -
53
90
  */
54
91
  goal?: string;
92
+ /**
93
+ * @remarks
94
+ * Required when goal is set to scripted_video.
95
+ */
96
+ script?: string;
55
97
  static names(): {
56
98
  [key: string]: string;
57
99
  };