@alicloud/aidge20260428 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +437 -422
- package/dist/client.js +479 -422
- package/dist/client.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +1 -1
- package/dist/models/AssetOptimizeProRequest.d.ts +5 -5
- package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryMatchRequest.d.ts +7 -7
- package/dist/models/CategoryMatchResponseBody.d.ts +8 -8
- package/dist/models/DiduiAreaDeductionRequest.d.ts +2 -2
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +4 -4
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +12 -12
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +2 -2
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +1 -1
- package/dist/models/ImageMattingRequest.d.ts +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +2 -3
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageRemovalProRequest.d.ts +2 -2
- package/dist/models/ImageRemovalProResponseBody.d.ts +3 -3
- package/dist/models/ImageRemoveRequest.d.ts +9 -9
- package/dist/models/ImageRemoveResponseBody.d.ts +2 -2
- package/dist/models/ImageRemoveShrinkRequest.d.ts +9 -9
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationProRequest.d.ts +6 -6
- package/dist/models/ImageTranslationProResponseBody.d.ts +14 -14
- package/dist/models/ImageTranslationStandardRequest.d.ts +2 -2
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +7 -7
- package/dist/models/LanguageDetectRequest.d.ts +2 -2
- package/dist/models/LanguageDetectResponseBody.d.ts +3 -3
- package/dist/models/MaterialInspectionRequest.d.ts +5 -5
- package/dist/models/MaterialInspectionResponseBody.d.ts +6 -11
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +5 -5
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +9 -9
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +1 -1
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +4 -4
- package/dist/models/PrepaidTextTranslateRequest.d.ts +3 -3
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +6 -6
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +3 -3
- package/dist/models/ProductHotspotDetectionResponseBody.d.ts +2 -2
- package/dist/models/SizeChartDetectResponseBody.d.ts +3 -4
- package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
- package/dist/models/SubmitProductMatchRequest.d.ts +77 -0
- package/dist/models/SubmitProductMatchRequest.js +70 -0
- package/dist/models/SubmitProductMatchRequest.js.map +1 -0
- package/dist/models/SubmitProductMatchResponse.d.ts +19 -0
- package/dist/models/SubmitProductMatchResponse.js +69 -0
- package/dist/models/SubmitProductMatchResponse.js.map +1 -0
- package/dist/models/SubmitProductMatchResponseBody.d.ts +80 -0
- package/dist/models/SubmitProductMatchResponseBody.js +90 -0
- package/dist/models/SubmitProductMatchResponseBody.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +4 -13
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +4 -13
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +1 -1
- package/dist/models/VisionFlowRequest.d.ts +15 -15
- package/dist/models/VisionFlowResponseBody.d.ts +1 -1
- package/dist/models/VisionFlowShrinkRequest.d.ts +15 -15
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +11 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +488 -422
- package/src/models/AssetOptimizeLiteRequest.ts +2 -2
- package/src/models/AssetOptimizeLiteResponseBody.ts +1 -1
- package/src/models/AssetOptimizeProRequest.ts +5 -5
- package/src/models/AssetOptimizeProResponseBody.ts +4 -4
- package/src/models/AssetOptimizeProShrinkRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchResponseBody.ts +5 -5
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +5 -5
- package/src/models/CategoryMatchRequest.ts +7 -7
- package/src/models/CategoryMatchResponseBody.ts +8 -8
- package/src/models/DiduiAreaDeductionRequest.ts +2 -2
- package/src/models/DiduiAreaDeductionResponseBody.ts +4 -4
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +12 -12
- package/src/models/EcomVideoRecreationResponseBody.ts +2 -2
- package/src/models/EcomVideoRecreationShrinkRequest.ts +1 -1
- package/src/models/ImageMattingRequest.ts +1 -1
- package/src/models/ImageMattingResponseBody.ts +2 -3
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +5 -5
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageRemovalProRequest.ts +2 -2
- package/src/models/ImageRemovalProResponseBody.ts +3 -3
- package/src/models/ImageRemoveRequest.ts +9 -9
- package/src/models/ImageRemoveResponseBody.ts +2 -2
- package/src/models/ImageRemoveShrinkRequest.ts +9 -9
- package/src/models/ImageTranslationPlusResponseBody.ts +3 -3
- package/src/models/ImageTranslationProRequest.ts +6 -6
- package/src/models/ImageTranslationProResponseBody.ts +14 -14
- package/src/models/ImageTranslationStandardRequest.ts +2 -2
- package/src/models/ImageTranslationStandardResponseBody.ts +7 -7
- package/src/models/LanguageDetectRequest.ts +2 -2
- package/src/models/LanguageDetectResponseBody.ts +3 -3
- package/src/models/MaterialInspectionRequest.ts +5 -5
- package/src/models/MaterialInspectionResponseBody.ts +6 -11
- package/src/models/MerchandisePlacementDetectionRequest.ts +5 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +9 -9
- package/src/models/PackageWeightSizeCheckRequest.ts +1 -1
- package/src/models/PackageWeightSizeCheckResponseBody.ts +4 -4
- package/src/models/PrepaidTextTranslateRequest.ts +3 -3
- package/src/models/PrepaidTextTranslateResponseBody.ts +6 -6
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +3 -3
- package/src/models/ProductHotspotDetectionResponseBody.ts +2 -2
- package/src/models/SizeChartDetectResponseBody.ts +3 -4
- package/src/models/SubmitProductMatchRequest.ts +102 -0
- package/src/models/SubmitProductMatchResponse.ts +40 -0
- package/src/models/SubmitProductMatchResponseBody.ts +116 -0
- package/src/models/TextTranslateRequest.ts +4 -13
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +4 -13
- package/src/models/VideoTranslationRequest.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +1 -1
- package/src/models/VisionFlowRequest.ts +15 -15
- package/src/models/VisionFlowResponseBody.ts +1 -1
- package/src/models/VisionFlowShrinkRequest.ts +15 -15
- package/src/models/model.ts +4 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class PrepaidTextTranslateResponseBodyDataTranslations extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The number of characters in the source text.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 11
|
|
@@ -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 input
|
|
46
|
+
* The usage information, including the number of input characters.
|
|
47
47
|
*/
|
|
48
48
|
usageMap?: {
|
|
49
49
|
[key: string]: number;
|
|
@@ -62,7 +62,7 @@ export declare class PrepaidTextTranslateResponseBodyData extends $dara.Model {
|
|
|
62
62
|
export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The response code.
|
|
65
|
+
* The response code. The value "success" is returned for successful calls.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* success
|
|
@@ -75,7 +75,7 @@ export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
75
75
|
data?: PrepaidTextTranslateResponseBodyData;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The error message.
|
|
78
|
+
* The error message. The value "Success" is returned for successful calls. For exceptions, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* Success
|
|
@@ -83,7 +83,7 @@ export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
83
83
|
message?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The request ID, used to identify a
|
|
86
|
+
* The request ID, used to uniquely identify a request.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -91,7 +91,7 @@ export declare class PrepaidTextTranslateResponseBody extends $dara.Model {
|
|
|
91
91
|
requestId?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* Indicates whether the call is successful. true indicates success. false indicates failure.
|
|
94
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* True
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class PrepaidTextTranslateShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or an invalid value is passed, the general translation
|
|
5
|
+
* The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or an invalid value is passed, the general translation policy is used by default.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* Alibaba-商品
|
|
@@ -10,7 +10,7 @@ export declare class PrepaidTextTranslateShrinkRequest extends $dara.Model {
|
|
|
10
10
|
bizName?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The format type of the source text. This parameter is optional.
|
|
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
|
|
@@ -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
|
|
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).
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* e-commerce-title
|
|
@@ -46,7 +46,7 @@ export declare class ProductHotspotDetectionResponseBodyDataProductsBoxes extend
|
|
|
46
46
|
export declare class ProductHotspotDetectionResponseBodyDataProducts extends $dara.Model {
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The bounding boxes of the product instances.
|
|
49
|
+
* The bounding boxes of the detected product instances.
|
|
50
50
|
*/
|
|
51
51
|
boxes?: ProductHotspotDetectionResponseBodyDataProductsBoxes[];
|
|
52
52
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class ProductHotspotDetectionResponseBodyDataProducts extends $da
|
|
|
79
79
|
export declare class ProductHotspotDetectionResponseBodyData extends $dara.Model {
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The list of
|
|
82
|
+
* The list of detected products and their bounding boxes.
|
|
83
83
|
*/
|
|
84
84
|
products?: ProductHotspotDetectionResponseBodyDataProducts[];
|
|
85
85
|
/**
|
|
@@ -10,7 +10,7 @@ export declare class SizeChartDetectResponseBodyData extends $dara.Model {
|
|
|
10
10
|
isSizeChart?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The usage information. The key is the usage name
|
|
13
|
+
* The usage information. The key is the usage name and the value is the count.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* {"ProcessedImageCount":1}
|
|
@@ -61,9 +61,8 @@ export declare class SizeChartDetectResponseBody extends $dara.Model {
|
|
|
61
61
|
requestId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Indicates whether the call
|
|
65
|
-
*
|
|
66
|
-
* - true: The call is successful.
|
|
64
|
+
* Indicates whether the call was successful. Valid values:
|
|
65
|
+
* - true: The call was successful.
|
|
67
66
|
* - false: The call failed.
|
|
68
67
|
*
|
|
69
68
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizeChartDetectResponseBody.js","sourceRoot":"","sources":["../../src/models/SizeChartDetectResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;SACxE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzCD,0EAyCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"SizeChartDetectResponseBody.js","sourceRoot":"","sources":["../../src/models/SizeChartDetectResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;SACxE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzCD,0EAyCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAwC1D,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,+BAA+B;YACrC,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;AAtED,kEAsEC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class SubmitProductMatchRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The product brand. If this value is not specified, the system attempts to extract the brand from the shop name.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* FILA
|
|
9
|
+
*/
|
|
10
|
+
brandName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The Miaojie product category. Currently used for extension and auditing purposes.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* Children\\"s Shoes
|
|
17
|
+
*/
|
|
18
|
+
category?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The HTTP or HTTPS URL of the product main image.
|
|
22
|
+
*
|
|
23
|
+
* This parameter is required.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* https://example.com/items/228516909/main.jpg
|
|
27
|
+
*/
|
|
28
|
+
imageUrl?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The Miaojie product ID.
|
|
32
|
+
*
|
|
33
|
+
* This parameter is required.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 228516909
|
|
37
|
+
*/
|
|
38
|
+
itemId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The HTTP or HTTPS URL of the product detail page.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* https://example.com/items/228516909
|
|
45
|
+
*/
|
|
46
|
+
productUrl?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The shop name. This value is also used as the extraction source when the brand name is missing.
|
|
50
|
+
*
|
|
51
|
+
* This parameter is required.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* FILA斐乐官方旗舰店
|
|
55
|
+
*/
|
|
56
|
+
shopName?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The product title.
|
|
60
|
+
*
|
|
61
|
+
* This parameter is required.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* FILA Kids Training Shoes
|
|
65
|
+
*/
|
|
66
|
+
title?: string;
|
|
67
|
+
static names(): {
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
};
|
|
70
|
+
static types(): {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
validate(): void;
|
|
74
|
+
constructor(map?: {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.SubmitProductMatchRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class SubmitProductMatchRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
brandName: 'BrandName',
|
|
43
|
+
category: 'Category',
|
|
44
|
+
imageUrl: 'ImageUrl',
|
|
45
|
+
itemId: 'ItemId',
|
|
46
|
+
productUrl: 'ProductUrl',
|
|
47
|
+
shopName: 'ShopName',
|
|
48
|
+
title: 'Title',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static types() {
|
|
52
|
+
return {
|
|
53
|
+
brandName: 'string',
|
|
54
|
+
category: 'string',
|
|
55
|
+
imageUrl: 'string',
|
|
56
|
+
itemId: 'string',
|
|
57
|
+
productUrl: 'string',
|
|
58
|
+
shopName: 'string',
|
|
59
|
+
title: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
constructor(map) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.SubmitProductMatchRequest = SubmitProductMatchRequest;
|
|
70
|
+
//# sourceMappingURL=SubmitProductMatchRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmitProductMatchRequest.js","sourceRoot":"","sources":["../../src/models/SubmitProductMatchRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAiExD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;SAChB,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;AAhGD,8DAgGC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { SubmitProductMatchResponseBody } from "./SubmitProductMatchResponseBody";
|
|
3
|
+
export declare class SubmitProductMatchResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: SubmitProductMatchResponseBody;
|
|
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.SubmitProductMatchResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const SubmitProductMatchResponseBody_1 = require("./SubmitProductMatchResponseBody");
|
|
40
|
+
class SubmitProductMatchResponse 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: SubmitProductMatchResponseBody_1.SubmitProductMatchResponseBody,
|
|
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.SubmitProductMatchResponse = SubmitProductMatchResponse;
|
|
69
|
+
//# sourceMappingURL=SubmitProductMatchResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmitProductMatchResponse.js","sourceRoot":"","sources":["../../src/models/SubmitProductMatchResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qFAAkF;AAGlF,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAIzD,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,+DAA8B;SACrC,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,gEAiCC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class SubmitProductMatchResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The task acceptance time in ISO 8601 UTC format.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* 2026-08-20T09:30:00Z
|
|
9
|
+
*/
|
|
10
|
+
submittedAt?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The asynchronous task ID used for QueryAsyncTaskResult queries.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* b7ea15cb609f47b7999d2d68dfbf3c90
|
|
17
|
+
*/
|
|
18
|
+
taskId?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export declare class SubmitProductMatchResponseBody extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 200
|
|
37
|
+
*/
|
|
38
|
+
code?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The submit result of the matching product identification asynchronous task.
|
|
42
|
+
*/
|
|
43
|
+
data?: SubmitProductMatchResponseBodyData;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* OK
|
|
50
|
+
*/
|
|
51
|
+
message?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Id of the request
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
58
|
+
*/
|
|
59
|
+
requestId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Indicates whether the call is successful. Valid values:
|
|
63
|
+
* - true: The call is successful.
|
|
64
|
+
* - false: The call failed.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* True
|
|
68
|
+
*/
|
|
69
|
+
success?: boolean;
|
|
70
|
+
static names(): {
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
};
|
|
73
|
+
static types(): {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
};
|
|
76
|
+
validate(): void;
|
|
77
|
+
constructor(map?: {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
});
|
|
80
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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.SubmitProductMatchResponseBody = exports.SubmitProductMatchResponseBodyData = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class SubmitProductMatchResponseBodyData extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
submittedAt: 'SubmittedAt',
|
|
43
|
+
taskId: 'TaskId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
submittedAt: 'string',
|
|
49
|
+
taskId: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.SubmitProductMatchResponseBodyData = SubmitProductMatchResponseBodyData;
|
|
60
|
+
class SubmitProductMatchResponseBody extends $dara.Model {
|
|
61
|
+
static names() {
|
|
62
|
+
return {
|
|
63
|
+
code: 'Code',
|
|
64
|
+
data: 'Data',
|
|
65
|
+
message: 'Message',
|
|
66
|
+
requestId: 'RequestId',
|
|
67
|
+
success: 'Success',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static types() {
|
|
71
|
+
return {
|
|
72
|
+
code: 'string',
|
|
73
|
+
data: SubmitProductMatchResponseBodyData,
|
|
74
|
+
message: 'string',
|
|
75
|
+
requestId: 'string',
|
|
76
|
+
success: 'boolean',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
validate() {
|
|
80
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
81
|
+
this.data.validate();
|
|
82
|
+
}
|
|
83
|
+
super.validate();
|
|
84
|
+
}
|
|
85
|
+
constructor(map) {
|
|
86
|
+
super(map);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.SubmitProductMatchResponseBody = SubmitProductMatchResponseBody;
|
|
90
|
+
//# sourceMappingURL=SubmitProductMatchResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmitProductMatchResponseBody.js","sourceRoot":"","sources":["../../src/models/SubmitProductMatchResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAiBjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,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;AAtCD,gFAsCC;AAED,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAwC7D,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,kCAAkC;YACxC,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;AAtED,wEAsEC"}
|
|
@@ -2,9 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class TextTranslateRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* This field represents your identity and facilitates communication for various issues.
|
|
6
|
-
* ● If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat.
|
|
7
|
-
* ● If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
|
|
5
|
+
* This field represents your identity and facilitates communication for various issues. If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
|
|
8
6
|
*
|
|
9
7
|
* @example
|
|
10
8
|
* MyCompany-Chat
|
|
@@ -28,7 +26,7 @@ export declare class TextTranslateRequest extends $dara.Model {
|
|
|
28
26
|
glossary?: string;
|
|
29
27
|
/**
|
|
30
28
|
* @remarks
|
|
31
|
-
* 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
|
|
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).
|
|
32
30
|
*
|
|
33
31
|
* @example
|
|
34
32
|
* auto
|
|
@@ -46,7 +44,7 @@ export declare class TextTranslateRequest extends $dara.Model {
|
|
|
46
44
|
sourceTextList?: string[];
|
|
47
45
|
/**
|
|
48
46
|
* @remarks
|
|
49
|
-
* The target language code. This parameter is required. For supported language
|
|
47
|
+
* 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).
|
|
50
48
|
*
|
|
51
49
|
* This parameter is required.
|
|
52
50
|
*
|
|
@@ -56,14 +54,7 @@ export declare class TextTranslateRequest extends $dara.Model {
|
|
|
56
54
|
targetLanguage?: string;
|
|
57
55
|
/**
|
|
58
56
|
* @remarks
|
|
59
|
-
* 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.
|
|
60
|
-
* Valid values:
|
|
61
|
-
* ● e-commerce-title: cross-border e-commerce product title translation
|
|
62
|
-
* ● e-commerce-description: cross-border e-commerce product description translation
|
|
63
|
-
* ● e-commerce-chat: cross-border e-commerce conversation translation
|
|
64
|
-
* ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
|
|
65
|
-
* ● novel: novel translation
|
|
66
|
-
* ● 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: 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).
|
|
67
58
|
*
|
|
68
59
|
* @example
|
|
69
60
|
* 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;
|
|
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"}
|
|
@@ -78,7 +78,7 @@ export declare class TextTranslateResponseBody extends $dara.Model {
|
|
|
78
78
|
data?: TextTranslateResponseBodyData;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The error message. The value "Success" is returned for successful calls. For
|
|
81
|
+
* The error message. The value "Success" is returned for successful calls. For failed calls, a specific error message is returned, such as "The parameters contain sensitive information. Try other input."
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* Success
|
|
@@ -2,9 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class TextTranslateShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* This field represents your identity and facilitates communication for various issues.
|
|
6
|
-
* ● If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat.
|
|
7
|
-
* ● If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
|
|
5
|
+
* This field represents your identity and facilitates communication for various issues. If you are an Alibaba internal organization, specify a value based on your actual scenario, such as BU name-product or BU name-chat. If you are an external Alibaba partner, specify the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
|
|
8
6
|
*
|
|
9
7
|
* @example
|
|
10
8
|
* MyCompany-Chat
|
|
@@ -28,7 +26,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
|
|
|
28
26
|
glossary?: string;
|
|
29
27
|
/**
|
|
30
28
|
* @remarks
|
|
31
|
-
* 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
|
|
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).
|
|
32
30
|
*
|
|
33
31
|
* @example
|
|
34
32
|
* auto
|
|
@@ -46,7 +44,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
|
|
|
46
44
|
sourceTextListShrink?: string;
|
|
47
45
|
/**
|
|
48
46
|
* @remarks
|
|
49
|
-
* The target language code. This parameter is required. For supported language
|
|
47
|
+
* 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).
|
|
50
48
|
*
|
|
51
49
|
* This parameter is required.
|
|
52
50
|
*
|
|
@@ -56,14 +54,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
|
|
|
56
54
|
targetLanguage?: string;
|
|
57
55
|
/**
|
|
58
56
|
* @remarks
|
|
59
|
-
* 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.
|
|
60
|
-
* Valid values:
|
|
61
|
-
* ● e-commerce-title: cross-border e-commerce product title translation
|
|
62
|
-
* ● e-commerce-description: cross-border e-commerce product description translation
|
|
63
|
-
* ● e-commerce-chat: cross-border e-commerce conversation translation
|
|
64
|
-
* ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
|
|
65
|
-
* ● novel: novel translation
|
|
66
|
-
* ● 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: 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).
|
|
67
58
|
*
|
|
68
59
|
* @example
|
|
69
60
|
* e-commerce-title
|