@alicloud/aidge20260428 5.6.0 → 5.7.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 (71) hide show
  1. package/dist/client.d.ts +199 -122
  2. package/dist/client.js +235 -122
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AiTryOnRequest.d.ts +51 -0
  5. package/dist/models/AiTryOnRequest.js +64 -0
  6. package/dist/models/AiTryOnRequest.js.map +1 -0
  7. package/dist/models/AiTryOnResponse.d.ts +19 -0
  8. package/dist/models/AiTryOnResponse.js +69 -0
  9. package/dist/models/AiTryOnResponse.js.map +1 -0
  10. package/dist/models/AiTryOnResponseBody.d.ts +124 -0
  11. package/dist/models/AiTryOnResponseBody.js +120 -0
  12. package/dist/models/AiTryOnResponseBody.js.map +1 -0
  13. package/dist/models/AssetOptimizeLiteResponseBody.d.ts +0 -2
  14. package/dist/models/AssetOptimizeLiteResponseBody.js +0 -2
  15. package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -1
  16. package/dist/models/DocumentTranslateRequest.d.ts +1 -1
  17. package/dist/models/DocumentTranslateResponseBody.d.ts +2 -2
  18. package/dist/models/ImageRecognitionRequest.d.ts +4 -4
  19. package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
  20. package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
  21. package/dist/models/ImageTranslationProRequest.d.ts +8 -8
  22. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +1 -0
  23. package/dist/models/MerchandisePlacementDetectionRequest.js +2 -0
  24. package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
  25. package/dist/models/PrepaidTextTranslateRequest.d.ts +1 -1
  26. package/dist/models/PrepaidTextTranslateResponseBody.d.ts +2 -2
  27. package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +1 -1
  28. package/dist/models/SizeChartExtractRequest.d.ts +2 -2
  29. package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
  30. package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
  31. package/dist/models/TextCorrectResponseBody.d.ts +1 -1
  32. package/dist/models/TextTranslateRequest.d.ts +11 -5
  33. package/dist/models/TextTranslateRequest.js.map +1 -1
  34. package/dist/models/TextTranslateResponseBody.d.ts +1 -1
  35. package/dist/models/TextTranslateShrinkRequest.d.ts +11 -5
  36. package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
  37. package/dist/models/VideoTranslationRequest.d.ts +1 -1
  38. package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
  39. package/dist/models/VideoTranslationShrinkRequest.d.ts +1 -1
  40. package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
  41. package/dist/models/model.d.ts +5 -0
  42. package/dist/models/model.js +14 -4
  43. package/dist/models/model.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/client.ts +242 -122
  46. package/src/models/AiTryOnRequest.ts +70 -0
  47. package/src/models/AiTryOnResponse.ts +40 -0
  48. package/src/models/AiTryOnResponseBody.ts +179 -0
  49. package/src/models/AssetOptimizeLiteResponseBody.ts +0 -2
  50. package/src/models/DocumentTranslateRequest.ts +1 -1
  51. package/src/models/DocumentTranslateResponseBody.ts +2 -2
  52. package/src/models/ImageRecognitionRequest.ts +4 -4
  53. package/src/models/ImageRecognitionResponseBody.ts +2 -2
  54. package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
  55. package/src/models/ImageTranslationProRequest.ts +8 -8
  56. package/src/models/MerchandisePlacementDetectionRequest.ts +3 -0
  57. package/src/models/PrepaidTextTranslateRequest.ts +1 -1
  58. package/src/models/PrepaidTextTranslateResponseBody.ts +2 -2
  59. package/src/models/PrepaidTextTranslateShrinkRequest.ts +1 -1
  60. package/src/models/SizeChartExtractRequest.ts +2 -2
  61. package/src/models/SizeChartExtractResponseBody.ts +1 -1
  62. package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
  63. package/src/models/TextCorrectResponseBody.ts +1 -1
  64. package/src/models/TextTranslateRequest.ts +11 -5
  65. package/src/models/TextTranslateResponseBody.ts +1 -1
  66. package/src/models/TextTranslateShrinkRequest.ts +11 -5
  67. package/src/models/VideoTranslationRequest.ts +1 -1
  68. package/src/models/VideoTranslationResponseBody.ts +1 -1
  69. package/src/models/VideoTranslationShrinkRequest.ts +1 -1
  70. package/src/models/VirtualTryOnResponseBody.ts +3 -3
  71. package/src/models/model.ts +5 -0
@@ -0,0 +1,120 @@
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.AiTryOnResponseBody = exports.AiTryOnResponseBodyData = exports.AiTryOnResponseBodyDataUsageMap = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ /**
40
+ */
41
+ class AiTryOnResponseBodyDataUsageMap extends $dara.Model {
42
+ static names() {
43
+ return {
44
+ processedImageCount: 'ProcessedImageCount',
45
+ resolution: 'Resolution',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ processedImageCount: 'number',
51
+ resolution: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.AiTryOnResponseBodyDataUsageMap = AiTryOnResponseBodyDataUsageMap;
62
+ class AiTryOnResponseBodyData extends $dara.Model {
63
+ static names() {
64
+ return {
65
+ imageHeight: 'ImageHeight',
66
+ imageUrl: 'ImageUrl',
67
+ imageWidth: 'ImageWidth',
68
+ usageMap: 'UsageMap',
69
+ };
70
+ }
71
+ static types() {
72
+ return {
73
+ imageHeight: 'string',
74
+ imageUrl: 'string',
75
+ imageWidth: 'string',
76
+ usageMap: AiTryOnResponseBodyDataUsageMap,
77
+ };
78
+ }
79
+ validate() {
80
+ if (this.usageMap && typeof this.usageMap.validate === 'function') {
81
+ this.usageMap.validate();
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.AiTryOnResponseBodyData = AiTryOnResponseBodyData;
90
+ class AiTryOnResponseBody extends $dara.Model {
91
+ static names() {
92
+ return {
93
+ code: 'Code',
94
+ data: 'Data',
95
+ message: 'Message',
96
+ requestId: 'RequestId',
97
+ success: 'Success',
98
+ };
99
+ }
100
+ static types() {
101
+ return {
102
+ code: 'string',
103
+ data: AiTryOnResponseBodyData,
104
+ message: 'string',
105
+ requestId: 'string',
106
+ success: 'boolean',
107
+ };
108
+ }
109
+ validate() {
110
+ if (this.data && typeof this.data.validate === 'function') {
111
+ this.data.validate();
112
+ }
113
+ super.validate();
114
+ }
115
+ constructor(map) {
116
+ super(map);
117
+ }
118
+ }
119
+ exports.AiTryOnResponseBody = AiTryOnResponseBody;
120
+ //# sourceMappingURL=AiTryOnResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiTryOnResponseBody.js","sourceRoot":"","sources":["../../src/models/AiTryOnResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,QAAQ;YAC7B,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;AAtCD,0EAsCC;AAED,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAiCtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,+BAA+B;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,IAAI,OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7DD,0DA6DC;AAED,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAsClD,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,uBAAuB;YAC7B,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,kDAoEC"}
@@ -1,6 +1,4 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
- /**
3
- */
4
2
  export declare class AssetOptimizeLiteResponseBodyData extends $dara.Model {
5
3
  /**
6
4
  * @remarks
@@ -36,8 +36,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.AssetOptimizeLiteResponseBody = exports.AssetOptimizeLiteResponseBodyData = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
- /**
40
- */
41
39
  class AssetOptimizeLiteResponseBodyData extends $dara.Model {
42
40
  static names() {
43
41
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"AssetOptimizeLiteResponseBody.js","sourceRoot":"","sources":["../../src/models/AssetOptimizeLiteResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAShE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,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;AA5BD,8EA4BC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAsC5D,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,iCAAiC;YACvC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,sEAoEC"}
1
+ {"version":3,"file":"AssetOptimizeLiteResponseBody.js","sourceRoot":"","sources":["../../src/models/AssetOptimizeLiteResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAShE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,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;AA5BD,8EA4BC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAsC5D,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,iCAAiC;YACvC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,sEAoEC"}
@@ -16,7 +16,7 @@ export declare class DocumentTranslateRequest extends $dara.Model {
16
16
  fileType?: string;
17
17
  /**
18
18
  * @remarks
19
- * The glossary ID. Specify this parameter when you need the glossary feature. Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for scenarios such as brand name protection.
19
+ * The intervention glossary ID. Specify this parameter when you need the intervention feature. Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios.
20
20
  *
21
21
  * @example
22
22
  * glossary_1
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class DocumentTranslateResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The unique identifier of the asynchronous task. Use this ID to query the task status and result.
5
+ * The unique identifier of the asynchronous task. Use this ID to query the task status and results.
6
6
  *
7
7
  * @example
8
8
  * 6071a030-5c92-9df1-96d0-44952343439a
@@ -44,7 +44,7 @@ export declare class DocumentTranslateResponseBody extends $dara.Model {
44
44
  message?: string;
45
45
  /**
46
46
  * @remarks
47
- * The unique request identity, used for troubleshooting and Tracing Analysis.
47
+ * The unique request identity. Use this ID for troubleshooting and Tracing Analysis.
48
48
  *
49
49
  * @example
50
50
  * 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
@@ -12,7 +12,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
12
12
  imageUrl?: string;
13
13
  /**
14
14
  * @remarks
15
- * The list of non-subject element types to detect. Valid values: 1 (background), 2 (border), 3 (watermark), and 4 (splice).
15
+ * The element types to detect on the non-subject area of the image (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types. This parameter and ObjectDetectElements cannot both be empty.
16
16
  *
17
17
  * @example
18
18
  * [1,2,3,4]
@@ -20,7 +20,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
20
20
  nonObjectDetectElements?: number[];
21
21
  /**
22
22
  * @remarks
23
- * The list of subject element types to detect. Valid values: 1 (product subject), 2 (model), 3 (text), and 4 (logo).
23
+ * The element types to detect on the image subject (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types.
24
24
  *
25
25
  * @example
26
26
  * [1,2,3,4]
@@ -44,7 +44,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
44
44
  returnCharacter?: number;
45
45
  /**
46
46
  * @remarks
47
- * Specifies whether to return text property information. Valid values: 1 (return) and 0 (do not return).
47
+ * Specifies whether to return text attribute information. Valid values: 1 (return) and 0 (do not return).
48
48
  *
49
49
  * @example
50
50
  * 1
@@ -60,7 +60,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
60
60
  returnProductNum?: number;
61
61
  /**
62
62
  * @remarks
63
- * Specifies whether to return product property information. Valid values: 1 (return) and 0 (do not return).
63
+ * Specifies whether to return product attribute information. Valid values: 1 (return) and 0 (do not return).
64
64
  *
65
65
  * @example
66
66
  * 1
@@ -82,7 +82,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
82
82
  pdNum?: number;
83
83
  /**
84
84
  * @remarks
85
- * The proportion of the product area in the image.
85
+ * The proportion of the product in the image.
86
86
  *
87
87
  * @example
88
88
  * 74.15%
@@ -95,7 +95,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
95
95
  recText?: string[];
96
96
  /**
97
97
  * @remarks
98
- * The proportion of the text area in the image.
98
+ * The proportion of text in the image.
99
99
  *
100
100
  * @example
101
101
  * 7.52%
@@ -12,7 +12,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
12
12
  imageUrl?: string;
13
13
  /**
14
14
  * @remarks
15
- * The list of non-subject element types to detect. Valid values: 1 (background), 2 (border), 3 (watermark), and 4 (splice).
15
+ * The element types to detect on the non-subject area of the image (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types. This parameter and ObjectDetectElements cannot both be empty.
16
16
  *
17
17
  * @example
18
18
  * [1,2,3,4]
@@ -20,7 +20,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
20
20
  nonObjectDetectElementsShrink?: string;
21
21
  /**
22
22
  * @remarks
23
- * The list of subject element types to detect. Valid values: 1 (product subject), 2 (model), 3 (text), and 4 (logo).
23
+ * The element types to detect on the image subject (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types.
24
24
  *
25
25
  * @example
26
26
  * [1,2,3,4]
@@ -44,7 +44,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
44
44
  returnCharacter?: number;
45
45
  /**
46
46
  * @remarks
47
- * Specifies whether to return text property information. Valid values: 1 (return) and 0 (do not return).
47
+ * Specifies whether to return text attribute information. Valid values: 1 (return) and 0 (do not return).
48
48
  *
49
49
  * @example
50
50
  * 1
@@ -60,7 +60,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
60
60
  returnProductNum?: number;
61
61
  /**
62
62
  * @remarks
63
- * Specifies whether to return product property information. Valid values: 1 (return) and 0 (do not return).
63
+ * Specifies whether to return product attribute information. Valid values: 1 (return) and 0 (do not return).
64
64
  *
65
65
  * @example
66
66
  * 1
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationProRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to use asynchronous mode. Default value: false (synchronous mode). If you set this parameter to true, the API immediately returns a TaskId. Use the query translation result API to retrieve the final result.
5
+ * Specifies whether to use asynchronous mode. Default value: false (synchronous mode). When set to true, the API immediately returns a TaskId. Use the query translation result API to obtain the final result.
6
6
  *
7
7
  * @example
8
8
  * true
@@ -10,7 +10,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
10
10
  async?: boolean;
11
11
  /**
12
12
  * @remarks
13
- * The ID of the intervention glossary. This parameter is optional. Create the glossary in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
13
+ * The ID of the intervention glossary. This parameter is optional. Create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
14
14
  *
15
15
  * @example
16
16
  * glossary_1
@@ -23,7 +23,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
23
23
  * Image requirements:
24
24
  * - Image URL: Must be publicly accessible.
25
25
  * - Format: png, jpeg, jpg, bmp, or webp.
26
- * - Pixels: Width and height must not exceed 4000 pixels each.
26
+ * - Pixels: Both width and height must not exceed 4000.
27
27
  * - File size: The original file must be 10 MB or smaller.
28
28
  *
29
29
  * This parameter is required.
@@ -34,7 +34,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
34
34
  imageUrl?: string;
35
35
  /**
36
36
  * @remarks
37
- * Specifies whether to translate text on the image subject. This parameter is optional. Default value: false. This helps protect information such as embedded product names from being translated.
37
+ * Specifies whether to translate text on the image subject. This parameter is optional. Default value: false. This helps you protect information and avoid translating embedded information such as product names.
38
38
  *
39
39
  * @example
40
40
  * false
@@ -42,7 +42,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
42
42
  includingProductArea?: boolean;
43
43
  /**
44
44
  * @remarks
45
- * The source language code. This parameter is required. For supported language directions, see [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
45
+ * The source language code. This parameter is required. For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
46
46
  *
47
47
  * This parameter is required.
48
48
  *
@@ -52,7 +52,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
52
52
  sourceLanguage?: string;
53
53
  /**
54
54
  * @remarks
55
- * The target language code. This parameter is required. For supported language directions, see [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
55
+ * The target language code. This parameter is required. For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
56
56
  *
57
57
  * This parameter is required.
58
58
  *
@@ -62,7 +62,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
62
62
  targetLanguage?: string;
63
63
  /**
64
64
  * @remarks
65
- * Specifies whether to translate brand names on the image. This parameter is optional. Default value: false. This helps protect brand name information from being translated.
65
+ * Specifies whether to translate brand names on images. This parameter is optional. Default value: false. This helps you protect brand name information from being translated.
66
66
  *
67
67
  * @example
68
68
  * false
@@ -70,7 +70,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
70
70
  translatingBrandInTheProduct?: boolean;
71
71
  /**
72
72
  * @remarks
73
- * Specifies whether to return layout information such as text position, font, and color. Set this parameter to true to retrieve layer information for secondary editing with an image editor. Default value: false.
73
+ * Specifies whether to return layout information such as text position, font, and color. When set to true, layer information is returned for secondary editing with an image editor. Default value: false.
74
74
  *
75
75
  * @example
76
76
  * false
@@ -26,6 +26,7 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
26
26
  * rag_xxx
27
27
  */
28
28
  ragId?: string;
29
+ rule?: string;
29
30
  /**
30
31
  * @remarks
31
32
  * The business type (reserved for future routing by business line). The current release supports skincare.
@@ -42,6 +42,7 @@ class MerchandisePlacementDetectionRequest extends $dara.Model {
42
42
  apiId: 'ApiId',
43
43
  imageUrl: 'ImageUrl',
44
44
  ragId: 'RagId',
45
+ rule: 'Rule',
45
46
  type: 'Type',
46
47
  };
47
48
  }
@@ -50,6 +51,7 @@ class MerchandisePlacementDetectionRequest extends $dara.Model {
50
51
  apiId: 'string',
51
52
  imageUrl: 'string',
52
53
  ragId: 'string',
54
+ rule: 'string',
53
55
  type: 'string',
54
56
  };
55
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MerchandisePlacementDetectionRequest.js","sourceRoot":"","sources":["../../src/models/MerchandisePlacementDetectionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAmCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5DD,oFA4DC"}
1
+ {"version":3,"file":"MerchandisePlacementDetectionRequest.js","sourceRoot":"","sources":["../../src/models/MerchandisePlacementDetectionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAoCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/DD,oFA+DC"}
@@ -54,7 +54,7 @@ export declare class PrepaidTextTranslateRequest extends $dara.Model {
54
54
  targetLanguage?: string;
55
55
  /**
56
56
  * @remarks
57
- * The format of the translation text. html (web page format. This setting processes the source text and translated text in HTML format). text (text format. This setting processes the source text and translated text as plain text without any format processing).
57
+ * The format of the translation text. Valid values: html (web page format. This setting processes both the source text and translated text in HTML format) and text (text format. This setting processes both the source text and translated text as plain text without any format processing).
58
58
  *
59
59
  * @example
60
60
  * e-commerce-title
@@ -21,7 +21,7 @@ export declare class PrepaidTextTranslateResponseBodyDataTranslations extends $d
21
21
  * The translated text.
22
22
  *
23
23
  * @example
24
- * 你好世界
24
+ * Hello World
25
25
  */
26
26
  translatedText?: string;
27
27
  static names(): {
@@ -43,7 +43,7 @@ export declare class PrepaidTextTranslateResponseBodyData extends $dara.Model {
43
43
  translations?: PrepaidTextTranslateResponseBodyDataTranslations[];
44
44
  /**
45
45
  * @remarks
46
- * The usage information, including the number of input characters.
46
+ * The usage information, including the input character count.
47
47
  */
48
48
  usageMap?: {
49
49
  [key: string]: number;
@@ -54,7 +54,7 @@ export declare class PrepaidTextTranslateShrinkRequest extends $dara.Model {
54
54
  targetLanguage?: string;
55
55
  /**
56
56
  * @remarks
57
- * The format of the translation text. html (web page format. This setting processes the source text and translated text in HTML format). text (text format. This setting processes the source text and translated text as plain text without any format processing).
57
+ * The format of the translation text. Valid values: html (web page format. This setting processes both the source text and translated text in HTML format) and text (text format. This setting processes both the source text and translated text as plain text without any format processing).
58
58
  *
59
59
  * @example
60
60
  * e-commerce-title
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of column names (such as Size, Bust, Length).
5
+ * The list of column names (such as Size, Bust, and Length).
6
6
  *
7
7
  * @example
8
8
  * ["Size","Bust","Length"]
@@ -20,7 +20,7 @@ export declare class SizeChartExtractRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The language model for output (such as en, cn). Set this parameter to cn for Chinese or en for English. If not specified, the original language is preserved.
23
+ * The language model (such as en and cn).
24
24
  *
25
25
  * @example
26
26
  * en
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The asynchronous task ID, used to query the result later.
5
+ * The asynchronous task ID, which is used to query the result later.
6
6
  *
7
7
  * @example
8
8
  * task-xxxxx
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of column names (such as Size, Bust, Length).
5
+ * The list of column names (such as Size, Bust, and Length).
6
6
  *
7
7
  * @example
8
8
  * ["Size","Bust","Length"]
@@ -20,7 +20,7 @@ export declare class SizeChartExtractShrinkRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The language model for output (such as en, cn). Set this parameter to cn for Chinese or en for English. If not specified, the original language is preserved.
23
+ * The language model (such as en and cn).
24
24
  *
25
25
  * @example
26
26
  * en
@@ -45,7 +45,7 @@ export declare class TextCorrectResponseBody extends $dara.Model {
45
45
  data?: TextCorrectResponseBodyData;
46
46
  /**
47
47
  * @remarks
48
- * The error message. The value "Success" is returned if the call is successful. A specific error message is returned if an exception occurs, such as "The parameters contain sensitive information. Try other input."
48
+ * The error message. The value "Success" is returned if the call is successful. If an error occurs, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
49
49
  *
50
50
  * @example
51
51
  * Success
@@ -10,7 +10,7 @@ export declare class TextTranslateRequest extends $dara.Model {
10
10
  bizName?: string;
11
11
  /**
12
12
  * @remarks
13
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which preserves HTML tags).
13
+ * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
14
14
  *
15
15
  * @example
16
16
  * text
@@ -18,7 +18,7 @@ export declare class TextTranslateRequest extends $dara.Model {
18
18
  formatType?: string;
19
19
  /**
20
20
  * @remarks
21
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
21
+ * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
22
22
  *
23
23
  * @example
24
24
  * glossary_1
@@ -26,7 +26,7 @@ export declare class TextTranslateRequest extends $dara.Model {
26
26
  glossary?: string;
27
27
  /**
28
28
  * @remarks
29
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can set this parameter to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
29
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can set it to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
30
30
  *
31
31
  * @example
32
32
  * auto
@@ -34,7 +34,7 @@ export declare class TextTranslateRequest extends $dara.Model {
34
34
  sourceLanguage?: string;
35
35
  /**
36
36
  * @remarks
37
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
37
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -54,7 +54,13 @@ export declare class TextTranslateRequest extends $dara.Model {
54
54
  targetLanguage?: string;
55
55
  /**
56
56
  * @remarks
57
- * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values: e-commerce-title (cross-border e-commerce product title translation), e-commerce-description (cross-border e-commerce product description translation), e-commerce-chat (cross-border e-commerce conversation translation), e-commerce-cpv (cross-border e-commerce product CPV attribute translation), novel (novel translation), game (game translation).
57
+ * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values:
58
+ * - e-commerce-title: cross-border e-commerce product title translation.
59
+ * - e-commerce-description: cross-border e-commerce product description translation.
60
+ * - e-commerce-chat: cross-border e-commerce conversation translation.
61
+ * - e-commerce-cpv: cross-border e-commerce product CPV attribute translation.
62
+ * - novel: novel translation.
63
+ * - game: game translation.
58
64
  *
59
65
  * @example
60
66
  * e-commerce-title
@@ -1 +1 @@
1
- {"version":3,"file":"TextTranslateRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IA6DnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/FD,oDA+FC"}
1
+ {"version":3,"file":"TextTranslateRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAmEnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArGD,oDAqGC"}
@@ -86,7 +86,7 @@ export declare class TextTranslateResponseBody extends $dara.Model {
86
86
  message?: string;
87
87
  /**
88
88
  * @remarks
89
- * The request ID, which uniquely identifies a single API call.
89
+ * The request ID, used to uniquely identify a request.
90
90
  *
91
91
  * @example
92
92
  * 922E43BB-EE0E-1A29-B143-BB91BB3EA6AB
@@ -10,7 +10,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
10
10
  bizName?: string;
11
11
  /**
12
12
  * @remarks
13
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which preserves HTML tags).
13
+ * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
14
14
  *
15
15
  * @example
16
16
  * text
@@ -18,7 +18,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
18
18
  formatType?: string;
19
19
  /**
20
20
  * @remarks
21
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
21
+ * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
22
22
  *
23
23
  * @example
24
24
  * glossary_1
@@ -26,7 +26,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
26
26
  glossary?: string;
27
27
  /**
28
28
  * @remarks
29
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can set this parameter to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
29
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can set it to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
30
30
  *
31
31
  * @example
32
32
  * auto
@@ -34,7 +34,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
34
34
  sourceLanguage?: string;
35
35
  /**
36
36
  * @remarks
37
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
37
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -54,7 +54,13 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
54
54
  targetLanguage?: string;
55
55
  /**
56
56
  * @remarks
57
- * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values: e-commerce-title (cross-border e-commerce product title translation), e-commerce-description (cross-border e-commerce product description translation), e-commerce-chat (cross-border e-commerce conversation translation), e-commerce-cpv (cross-border e-commerce product CPV attribute translation), novel (novel translation), game (game translation).
57
+ * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values:
58
+ * - e-commerce-title: cross-border e-commerce product title translation.
59
+ * - e-commerce-description: cross-border e-commerce product description translation.
60
+ * - e-commerce-chat: cross-border e-commerce conversation translation.
61
+ * - e-commerce-cpv: cross-border e-commerce product CPV attribute translation.
62
+ * - novel: novel translation.
63
+ * - game: game translation.
58
64
  *
59
65
  * @example
60
66
  * e-commerce-title
@@ -1 +1 @@
1
- {"version":3,"file":"TextTranslateShrinkRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IA6DzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,oBAAoB,EAAE,gBAAgB;YACtC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,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;AA5FD,gEA4FC"}
1
+ {"version":3,"file":"TextTranslateShrinkRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAmEzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,oBAAoB,EAAE,gBAAgB;YACtC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,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;AAlGD,gEAkGC"}
@@ -9,7 +9,7 @@ export declare class VideoTranslationRequest extends $dara.Model {
9
9
  capabilities?: string[];
10
10
  /**
11
11
  * @remarks
12
- * The source language. This parameter is optional. Default value: auto (automatic detection).
12
+ * The source language. This parameter is optional. Default value: auto, which indicates automatic detection.
13
13
  *
14
14
  * @example
15
15
  * zh
@@ -30,7 +30,7 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The asynchronous task submit result.
33
+ * The submit status of the asynchronous task.
34
34
  */
35
35
  data?: VideoTranslationResponseBodyData;
36
36
  /**
@@ -9,7 +9,7 @@ export declare class VideoTranslationShrinkRequest extends $dara.Model {
9
9
  capabilitiesShrink?: string;
10
10
  /**
11
11
  * @remarks
12
- * The source language. This parameter is optional. Default value: auto (automatic detection).
12
+ * The source language. This parameter is optional. Default value: auto, which indicates automatic detection.
13
13
  *
14
14
  * @example
15
15
  * zh