@alicloud/aidge20260428 5.7.1 → 5.9.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 +1593 -286
- package/dist/client.js +2362 -401
- package/dist/client.js.map +1 -1
- package/dist/models/DiduiAreaDeductionProRequest.d.ts +33 -0
- package/dist/models/DiduiAreaDeductionProRequest.js +60 -0
- package/dist/models/DiduiAreaDeductionProRequest.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponse.d.ts +19 -0
- package/dist/models/DiduiAreaDeductionProResponse.js +69 -0
- package/dist/models/DiduiAreaDeductionProResponse.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +70 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js +88 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js.map +1 -0
- package/dist/models/DocumentTranslateRequest.d.ts +4 -4
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +24 -16
- package/dist/models/EcomVideoRecreationRequest.js +2 -0
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +5 -5
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
- package/dist/models/GeneralRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js +58 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js +69 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +170 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js +172 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/ImageMattingAsyncRequest.d.ts +59 -0
- package/dist/models/ImageMattingAsyncRequest.js +66 -0
- package/dist/models/ImageMattingAsyncRequest.js.map +1 -0
- package/dist/models/ImageMattingAsyncResponse.d.ts +19 -0
- package/dist/models/ImageMattingAsyncResponse.js +69 -0
- package/dist/models/ImageMattingAsyncResponse.js.map +1 -0
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +72 -0
- package/dist/models/ImageMattingAsyncResponseBody.js +88 -0
- package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +101 -0
- package/dist/models/ImageRecognitionAsyncRequest.js +78 -0
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncResponse.d.ts +19 -0
- package/dist/models/ImageRecognitionAsyncResponse.js +69 -0
- package/dist/models/ImageRecognitionAsyncResponse.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +72 -0
- package/dist/models/ImageRecognitionAsyncResponseBody.js +88 -0
- package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +101 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js +72 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -0
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +23 -0
- package/dist/models/ImageRemovalProAsyncRequest.js +58 -0
- package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -0
- package/dist/models/ImageRemovalProAsyncResponse.d.ts +19 -0
- package/dist/models/ImageRemovalProAsyncResponse.js +69 -0
- package/dist/models/ImageRemovalProAsyncResponse.js.map +1 -0
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageRemovalProAsyncResponseBody.js +88 -0
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRemoveAsyncRequest.d.ts +59 -0
- package/dist/models/ImageRemoveAsyncRequest.js +82 -0
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -0
- package/dist/models/ImageRemoveAsyncResponse.d.ts +19 -0
- package/dist/models/ImageRemoveAsyncResponse.js +69 -0
- package/dist/models/ImageRemoveAsyncResponse.js.map +1 -0
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageRemoveAsyncResponseBody.js +88 -0
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +59 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js +70 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +78 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js +70 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -0
- package/dist/models/ImageTranslationPlusAsyncResponse.d.ts +19 -0
- package/dist/models/ImageTranslationPlusAsyncResponse.js +69 -0
- package/dist/models/ImageTranslationPlusAsyncResponse.js.map +1 -0
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageTranslationPlusAsyncResponseBody.js +88 -0
- package/dist/models/ImageTranslationPlusAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +78 -0
- package/dist/models/ImageTranslationProAsyncRequest.js +70 -0
- package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -0
- package/dist/models/ImageTranslationProAsyncResponse.d.ts +19 -0
- package/dist/models/ImageTranslationProAsyncResponse.js +69 -0
- package/dist/models/ImageTranslationProAsyncResponse.js.map +1 -0
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageTranslationProAsyncResponseBody.js +88 -0
- package/dist/models/ImageTranslationProAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationProRequest.d.ts +12 -8
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +4 -2
- package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +75 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js +70 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -0
- package/dist/models/ImageTranslationStandardAsyncResponse.d.ts +19 -0
- package/dist/models/ImageTranslationStandardAsyncResponse.js +69 -0
- package/dist/models/ImageTranslationStandardAsyncResponse.js.map +1 -0
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageTranslationStandardAsyncResponseBody.js +88 -0
- package/dist/models/ImageTranslationStandardAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationStandardRequest.d.ts +13 -9
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionLiteRequest.d.ts +23 -0
- package/dist/models/MerchandisePlacementDetectionLiteRequest.js +58 -0
- package/dist/models/MerchandisePlacementDetectionLiteRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +239 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js +229 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +39 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js +62 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +118 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js +124 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +12 -5
- package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +7 -7
- package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +23 -0
- package/dist/models/MerchandisePriceTagDetectionRequest.js +58 -0
- package/dist/models/MerchandisePriceTagDetectionRequest.js.map +1 -0
- package/dist/models/MerchandisePriceTagDetectionResponse.d.ts +19 -0
- package/dist/models/MerchandisePriceTagDetectionResponse.js +69 -0
- package/dist/models/MerchandisePriceTagDetectionResponse.js.map +1 -0
- package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +258 -0
- package/dist/models/MerchandisePriceTagDetectionResponseBody.js +230 -0
- package/dist/models/MerchandisePriceTagDetectionResponseBody.js.map +1 -0
- package/dist/models/MerchandiseSceneDetectionRequest.d.ts +23 -0
- package/dist/models/MerchandiseSceneDetectionRequest.js +58 -0
- package/dist/models/MerchandiseSceneDetectionRequest.js.map +1 -0
- package/dist/models/MerchandiseSceneDetectionResponse.d.ts +19 -0
- package/dist/models/MerchandiseSceneDetectionResponse.js +69 -0
- package/dist/models/MerchandiseSceneDetectionResponse.js.map +1 -0
- package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +263 -0
- package/dist/models/MerchandiseSceneDetectionResponseBody.js +235 -0
- package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js +58 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js +69 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +170 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js +172 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js +58 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js +69 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +197 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js +178 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/PetHealthAnalysisRequest.d.ts +28 -0
- package/dist/models/PetHealthAnalysisRequest.js +65 -0
- package/dist/models/PetHealthAnalysisRequest.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponse.d.ts +19 -0
- package/dist/models/PetHealthAnalysisResponse.js +69 -0
- package/dist/models/PetHealthAnalysisResponse.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponseBody.d.ts +51 -0
- package/dist/models/PetHealthAnalysisResponseBody.js +88 -0
- package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +28 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js +62 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +36 -0
- package/dist/models/SizeChartExtractAsyncRequest.js +65 -0
- package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncResponse.d.ts +19 -0
- package/dist/models/SizeChartExtractAsyncResponse.js +69 -0
- package/dist/models/SizeChartExtractAsyncResponse.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +70 -0
- package/dist/models/SizeChartExtractAsyncResponseBody.js +88 -0
- package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +36 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js +62 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -0
- package/dist/models/StorefrontSceneRecognitionRequest.d.ts +23 -0
- package/dist/models/StorefrontSceneRecognitionRequest.js +58 -0
- package/dist/models/StorefrontSceneRecognitionRequest.js.map +1 -0
- package/dist/models/StorefrontSceneRecognitionResponse.d.ts +19 -0
- package/dist/models/StorefrontSceneRecognitionResponse.js +69 -0
- package/dist/models/StorefrontSceneRecognitionResponse.js.map +1 -0
- package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +190 -0
- package/dist/models/StorefrontSceneRecognitionResponseBody.js +199 -0
- package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -0
- package/dist/models/TextTranslateAsyncRequest.d.ts +56 -0
- package/dist/models/TextTranslateAsyncRequest.js +75 -0
- package/dist/models/TextTranslateAsyncRequest.js.map +1 -0
- package/dist/models/TextTranslateAsyncResponse.d.ts +19 -0
- package/dist/models/TextTranslateAsyncResponse.js +69 -0
- package/dist/models/TextTranslateAsyncResponse.js.map +1 -0
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +51 -0
- package/dist/models/TextTranslateAsyncResponseBody.js +88 -0
- package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +56 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js +72 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +13 -13
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +13 -13
- package/dist/models/VideoGenerationRequest.d.ts +21 -12
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
- package/dist/models/VideoTranslationRequest.d.ts +36 -6
- package/dist/models/VideoTranslationRequest.js +8 -0
- package/dist/models/VideoTranslationRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +5 -5
- package/dist/models/VideoTranslationShrinkRequest.d.ts +36 -6
- package/dist/models/VideoTranslationShrinkRequest.js +8 -0
- package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +110 -0
- package/dist/models/model.js +226 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2660 -580
- package/src/models/DiduiAreaDeductionProRequest.ts +48 -0
- package/src/models/DiduiAreaDeductionProResponse.ts +40 -0
- package/src/models/DiduiAreaDeductionProResponseBody.ts +104 -0
- package/src/models/DocumentTranslateRequest.ts +4 -4
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +26 -16
- package/src/models/EcomVideoRecreationResponseBody.ts +5 -5
- package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
- package/src/models/GeneralRephotographyDetectionRequest.ts +36 -0
- package/src/models/GeneralRephotographyDetectionResponse.ts +40 -0
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +259 -0
- package/src/models/ImageMattingAsyncRequest.ts +80 -0
- package/src/models/ImageMattingAsyncResponse.ts +40 -0
- package/src/models/ImageMattingAsyncResponseBody.ts +106 -0
- package/src/models/ImageRecognitionAsyncRequest.ts +134 -0
- package/src/models/ImageRecognitionAsyncResponse.ts +40 -0
- package/src/models/ImageRecognitionAsyncResponseBody.ts +106 -0
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +128 -0
- package/src/models/ImageRemovalProAsyncRequest.ts +36 -0
- package/src/models/ImageRemovalProAsyncResponse.ts +40 -0
- package/src/models/ImageRemovalProAsyncResponseBody.ts +104 -0
- package/src/models/ImageRemoveAsyncRequest.ts +96 -0
- package/src/models/ImageRemoveAsyncResponse.ts +40 -0
- package/src/models/ImageRemoveAsyncResponseBody.ts +104 -0
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +84 -0
- package/src/models/ImageTranslationPlusAsyncRequest.ts +103 -0
- package/src/models/ImageTranslationPlusAsyncResponse.ts +40 -0
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +104 -0
- package/src/models/ImageTranslationPlusResponseBody.ts +1 -1
- package/src/models/ImageTranslationProAsyncRequest.ts +103 -0
- package/src/models/ImageTranslationProAsyncResponse.ts +40 -0
- package/src/models/ImageTranslationProAsyncResponseBody.ts +104 -0
- package/src/models/ImageTranslationProRequest.ts +12 -8
- package/src/models/ImageTranslationProResponseBody.ts +4 -2
- package/src/models/ImageTranslationStandardAsyncRequest.ts +100 -0
- package/src/models/ImageTranslationStandardAsyncResponse.ts +40 -0
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +104 -0
- package/src/models/ImageTranslationStandardRequest.ts +13 -9
- package/src/models/MerchandisePlacementDetectionLiteRequest.ts +36 -0
- package/src/models/MerchandisePlacementDetectionLiteResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +367 -0
- package/src/models/MerchandisePlacementDetectionProRequest.ts +56 -0
- package/src/models/MerchandisePlacementDetectionProResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionProResponseBody.ts +177 -0
- package/src/models/MerchandisePlacementDetectionRequest.ts +12 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +7 -7
- package/src/models/MerchandisePriceTagDetectionRequest.ts +36 -0
- package/src/models/MerchandisePriceTagDetectionResponse.ts +40 -0
- package/src/models/MerchandisePriceTagDetectionResponseBody.ts +387 -0
- package/src/models/MerchandiseSceneDetectionRequest.ts +36 -0
- package/src/models/MerchandiseSceneDetectionResponse.ts +40 -0
- package/src/models/MerchandiseSceneDetectionResponseBody.ts +397 -0
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.ts +36 -0
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.ts +40 -0
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +259 -0
- package/src/models/MilkPowderCartonCodeRephotographyDetectionRequest.ts +36 -0
- package/src/models/MilkPowderCartonCodeRephotographyDetectionResponse.ts +40 -0
- package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +292 -0
- package/src/models/PetHealthAnalysisRequest.ts +48 -0
- package/src/models/PetHealthAnalysisResponse.ts +40 -0
- package/src/models/PetHealthAnalysisResponseBody.ts +85 -0
- package/src/models/PetHealthAnalysisShrinkRequest.ts +45 -0
- package/src/models/SizeChartExtractAsyncRequest.ts +56 -0
- package/src/models/SizeChartExtractAsyncResponse.ts +40 -0
- package/src/models/SizeChartExtractAsyncResponseBody.ts +104 -0
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +53 -0
- package/src/models/StorefrontSceneRecognitionRequest.ts +36 -0
- package/src/models/StorefrontSceneRecognitionResponse.ts +40 -0
- package/src/models/StorefrontSceneRecognitionResponseBody.ts +297 -0
- package/src/models/TextTranslateAsyncRequest.ts +86 -0
- package/src/models/TextTranslateAsyncResponse.ts +40 -0
- package/src/models/TextTranslateAsyncResponseBody.ts +85 -0
- package/src/models/TextTranslateAsyncShrinkRequest.ts +83 -0
- package/src/models/TextTranslateRequest.ts +13 -13
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +13 -13
- package/src/models/VideoGenerationRequest.ts +21 -12
- package/src/models/VideoGenerationResponseBody.ts +5 -5
- package/src/models/VideoTranslationRequest.ts +44 -6
- package/src/models/VideoTranslationResponseBody.ts +5 -5
- package/src/models/VideoTranslationShrinkRequest.ts +44 -6
- package/src/models/model.ts +110 -0
|
@@ -55,7 +55,7 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTop1 extends $dara
|
|
|
55
55
|
export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The recall rank
|
|
58
|
+
* The recall rank.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 1
|
|
@@ -115,15 +115,15 @@ export class MerchandisePlacementDetectionResponseBodyDataDataTopk extends $dara
|
|
|
115
115
|
export class MerchandisePlacementDetectionResponseBodyDataData extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The position coordinates
|
|
118
|
+
* The detection box position coordinates in the format [x1,y1,x2,y2].
|
|
119
119
|
*/
|
|
120
120
|
bbox?: number[];
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The failure reason for
|
|
123
|
+
* The failure reason for a single detection box. The value is null if the detection is successful.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
|
-
* "
|
|
126
|
+
* "embedding failed"
|
|
127
127
|
*/
|
|
128
128
|
error?: string;
|
|
129
129
|
/**
|
|
@@ -193,7 +193,7 @@ export class MerchandisePlacementDetectionResponseBodyData extends $dara.Model {
|
|
|
193
193
|
boxCount?: number;
|
|
194
194
|
/**
|
|
195
195
|
* @remarks
|
|
196
|
-
* The list of
|
|
196
|
+
* The list of retrieval details for each detection box.
|
|
197
197
|
*/
|
|
198
198
|
data?: MerchandisePlacementDetectionResponseBodyDataData[];
|
|
199
199
|
/**
|
|
@@ -238,7 +238,7 @@ export class MerchandisePlacementDetectionResponseBodyData extends $dara.Model {
|
|
|
238
238
|
export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
|
|
239
239
|
/**
|
|
240
240
|
* @remarks
|
|
241
|
-
* The error code. This parameter is not returned
|
|
241
|
+
* The error code. This parameter is not returned for successful calls.
|
|
242
242
|
*
|
|
243
243
|
* @example
|
|
244
244
|
* 200
|
|
@@ -251,7 +251,7 @@ export class MerchandisePlacementDetectionResponseBody extends $dara.Model {
|
|
|
251
251
|
data?: MerchandisePlacementDetectionResponseBodyData;
|
|
252
252
|
/**
|
|
253
253
|
* @remarks
|
|
254
|
-
* The error message. This parameter is not returned
|
|
254
|
+
* The error message. This parameter is not returned for successful calls.
|
|
255
255
|
*
|
|
256
256
|
* @example
|
|
257
257
|
* OK
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MerchandisePriceTagDetectionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The HTTP(S) URL of the image to be detected.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* https://example.com/image.jpg
|
|
14
|
+
*/
|
|
15
|
+
imageUrl?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
imageUrl: 'ImageUrl',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
imageUrl: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { MerchandisePriceTagDetectionResponseBody } from "./MerchandisePriceTagDetectionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class MerchandisePriceTagDetectionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: MerchandisePriceTagDetectionResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: MerchandisePriceTagDetectionResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MerchandisePriceTagDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The bounding box coordinates.
|
|
9
|
+
*/
|
|
10
|
+
bbox2d?: number[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The label.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* price_tag
|
|
17
|
+
*/
|
|
18
|
+
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The recognized text.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 5.50
|
|
25
|
+
*/
|
|
26
|
+
text?: string;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
bbox2d: 'Bbox2d',
|
|
30
|
+
label: 'Label',
|
|
31
|
+
text: 'Text',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
bbox2d: { 'type': 'array', 'itemType': 'number' },
|
|
38
|
+
label: 'string',
|
|
39
|
+
text: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
if(Array.isArray(this.bbox2d)) {
|
|
45
|
+
$dara.Model.validateArray(this.bbox2d);
|
|
46
|
+
}
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class MerchandisePriceTagDetectionResponseBodyDataResultGrounding extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The coverage.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* complete
|
|
62
|
+
*/
|
|
63
|
+
coverage?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The region list.
|
|
67
|
+
*/
|
|
68
|
+
regions?: MerchandisePriceTagDetectionResponseBodyDataResultGroundingRegions[];
|
|
69
|
+
static names(): { [key: string]: string } {
|
|
70
|
+
return {
|
|
71
|
+
coverage: 'Coverage',
|
|
72
|
+
regions: 'Regions',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
coverage: 'string',
|
|
79
|
+
regions: { 'type': 'array', 'itemType': MerchandisePriceTagDetectionResponseBodyDataResultGroundingRegions },
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
validate() {
|
|
84
|
+
if(Array.isArray(this.regions)) {
|
|
85
|
+
$dara.Model.validateArray(this.regions);
|
|
86
|
+
}
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTagsLocation extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The bottom boundary of the detection box.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* 369
|
|
102
|
+
*/
|
|
103
|
+
bottom?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The left boundary of the detection box.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 796
|
|
110
|
+
*/
|
|
111
|
+
left?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The right boundary of the detection box.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* 820
|
|
118
|
+
*/
|
|
119
|
+
right?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The top boundary of the detection box.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* 338
|
|
126
|
+
*/
|
|
127
|
+
top?: string;
|
|
128
|
+
static names(): { [key: string]: string } {
|
|
129
|
+
return {
|
|
130
|
+
bottom: 'Bottom',
|
|
131
|
+
left: 'Left',
|
|
132
|
+
right: 'Right',
|
|
133
|
+
top: 'top',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static types(): { [key: string]: any } {
|
|
138
|
+
return {
|
|
139
|
+
bottom: 'string',
|
|
140
|
+
left: 'string',
|
|
141
|
+
right: 'string',
|
|
142
|
+
top: 'string',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
validate() {
|
|
147
|
+
super.validate();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
constructor(map?: { [key: string]: any }) {
|
|
151
|
+
super(map);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export class MerchandisePriceTagDetectionResponseBodyDataResultPriceTags extends $dara.Model {
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The location.
|
|
159
|
+
*/
|
|
160
|
+
location?: MerchandisePriceTagDetectionResponseBodyDataResultPriceTagsLocation;
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* The original price.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* 6
|
|
167
|
+
*/
|
|
168
|
+
originalPrice?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @remarks
|
|
171
|
+
* The selling price, retained as a string to avoid being parsed as a reserved word or reserved character.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* 5.50
|
|
175
|
+
*/
|
|
176
|
+
price?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* The associated product code.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* 001
|
|
183
|
+
*/
|
|
184
|
+
skuCode?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* The associated product name.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* sku_test
|
|
191
|
+
*/
|
|
192
|
+
skuName?: string;
|
|
193
|
+
static names(): { [key: string]: string } {
|
|
194
|
+
return {
|
|
195
|
+
location: 'Location',
|
|
196
|
+
originalPrice: 'OriginalPrice',
|
|
197
|
+
price: 'Price',
|
|
198
|
+
skuCode: 'SkuCode',
|
|
199
|
+
skuName: 'SkuName',
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
static types(): { [key: string]: any } {
|
|
204
|
+
return {
|
|
205
|
+
location: MerchandisePriceTagDetectionResponseBodyDataResultPriceTagsLocation,
|
|
206
|
+
originalPrice: 'string',
|
|
207
|
+
price: 'string',
|
|
208
|
+
skuCode: 'string',
|
|
209
|
+
skuName: 'string',
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
validate() {
|
|
214
|
+
if(this.location && typeof (this.location as any).validate === 'function') {
|
|
215
|
+
(this.location as any).validate();
|
|
216
|
+
}
|
|
217
|
+
super.validate();
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
constructor(map?: { [key: string]: any }) {
|
|
221
|
+
super(map);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export class MerchandisePriceTagDetectionResponseBodyDataResult extends $dara.Model {
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* The localization information.
|
|
229
|
+
*/
|
|
230
|
+
grounding?: MerchandisePriceTagDetectionResponseBodyDataResultGrounding;
|
|
231
|
+
/**
|
|
232
|
+
* @remarks
|
|
233
|
+
* The price tag list. This can be an empty array if no price tags are recognized under normal conditions.
|
|
234
|
+
*/
|
|
235
|
+
priceTags?: MerchandisePriceTagDetectionResponseBodyDataResultPriceTags[];
|
|
236
|
+
/**
|
|
237
|
+
* @remarks
|
|
238
|
+
* The value is fixed to priceTag.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* priceTag
|
|
242
|
+
*/
|
|
243
|
+
type?: string;
|
|
244
|
+
static names(): { [key: string]: string } {
|
|
245
|
+
return {
|
|
246
|
+
grounding: 'Grounding',
|
|
247
|
+
priceTags: 'PriceTags',
|
|
248
|
+
type: 'Type',
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
static types(): { [key: string]: any } {
|
|
253
|
+
return {
|
|
254
|
+
grounding: MerchandisePriceTagDetectionResponseBodyDataResultGrounding,
|
|
255
|
+
priceTags: { 'type': 'array', 'itemType': MerchandisePriceTagDetectionResponseBodyDataResultPriceTags },
|
|
256
|
+
type: 'string',
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
validate() {
|
|
261
|
+
if(this.grounding && typeof (this.grounding as any).validate === 'function') {
|
|
262
|
+
(this.grounding as any).validate();
|
|
263
|
+
}
|
|
264
|
+
if(Array.isArray(this.priceTags)) {
|
|
265
|
+
$dara.Model.validateArray(this.priceTags);
|
|
266
|
+
}
|
|
267
|
+
super.validate();
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
constructor(map?: { [key: string]: any }) {
|
|
271
|
+
super(map);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export class MerchandisePriceTagDetectionResponseBodyData extends $dara.Model {
|
|
276
|
+
/**
|
|
277
|
+
* @remarks
|
|
278
|
+
* The detection and recognition result details.
|
|
279
|
+
*/
|
|
280
|
+
result?: MerchandisePriceTagDetectionResponseBodyDataResult;
|
|
281
|
+
/**
|
|
282
|
+
* @remarks
|
|
283
|
+
* The usage information.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* {"ProcessingCount":1}
|
|
287
|
+
*/
|
|
288
|
+
usageMap?: { [key: string]: number };
|
|
289
|
+
static names(): { [key: string]: string } {
|
|
290
|
+
return {
|
|
291
|
+
result: 'Result',
|
|
292
|
+
usageMap: 'UsageMap',
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
static types(): { [key: string]: any } {
|
|
297
|
+
return {
|
|
298
|
+
result: MerchandisePriceTagDetectionResponseBodyDataResult,
|
|
299
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
validate() {
|
|
304
|
+
if(this.result && typeof (this.result as any).validate === 'function') {
|
|
305
|
+
(this.result as any).validate();
|
|
306
|
+
}
|
|
307
|
+
if(this.usageMap) {
|
|
308
|
+
$dara.Model.validateMap(this.usageMap);
|
|
309
|
+
}
|
|
310
|
+
super.validate();
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
constructor(map?: { [key: string]: any }) {
|
|
314
|
+
super(map);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export class MerchandisePriceTagDetectionResponseBody extends $dara.Model {
|
|
319
|
+
/**
|
|
320
|
+
* @remarks
|
|
321
|
+
* The error code.
|
|
322
|
+
*
|
|
323
|
+
* @example
|
|
324
|
+
* success
|
|
325
|
+
*/
|
|
326
|
+
code?: string;
|
|
327
|
+
/**
|
|
328
|
+
* @remarks
|
|
329
|
+
* The scenario recognition result.
|
|
330
|
+
*/
|
|
331
|
+
data?: MerchandisePriceTagDetectionResponseBodyData;
|
|
332
|
+
/**
|
|
333
|
+
* @remarks
|
|
334
|
+
* The return message or failure description.
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* Success
|
|
338
|
+
*/
|
|
339
|
+
message?: string;
|
|
340
|
+
/**
|
|
341
|
+
* @remarks
|
|
342
|
+
* The request ID.
|
|
343
|
+
*
|
|
344
|
+
* @example
|
|
345
|
+
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
346
|
+
*/
|
|
347
|
+
requestId?: string;
|
|
348
|
+
/**
|
|
349
|
+
* @remarks
|
|
350
|
+
* Indicates whether the call is successful.
|
|
351
|
+
*
|
|
352
|
+
* @example
|
|
353
|
+
* True
|
|
354
|
+
*/
|
|
355
|
+
success?: boolean;
|
|
356
|
+
static names(): { [key: string]: string } {
|
|
357
|
+
return {
|
|
358
|
+
code: 'Code',
|
|
359
|
+
data: 'Data',
|
|
360
|
+
message: 'Message',
|
|
361
|
+
requestId: 'RequestId',
|
|
362
|
+
success: 'Success',
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
static types(): { [key: string]: any } {
|
|
367
|
+
return {
|
|
368
|
+
code: 'string',
|
|
369
|
+
data: MerchandisePriceTagDetectionResponseBodyData,
|
|
370
|
+
message: 'string',
|
|
371
|
+
requestId: 'string',
|
|
372
|
+
success: 'boolean',
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
validate() {
|
|
377
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
378
|
+
(this.data as any).validate();
|
|
379
|
+
}
|
|
380
|
+
super.validate();
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
constructor(map?: { [key: string]: any }) {
|
|
384
|
+
super(map);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MerchandiseSceneDetectionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The HTTP(S) URL of the display image to be detected.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* https://example.com/image.jpg
|
|
14
|
+
*/
|
|
15
|
+
imageUrl?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
imageUrl: 'ImageUrl',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
imageUrl: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { MerchandiseSceneDetectionResponseBody } from "./MerchandiseSceneDetectionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class MerchandiseSceneDetectionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: MerchandiseSceneDetectionResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: MerchandiseSceneDetectionResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|