@alicloud/aidge20260428 5.8.0 → 5.10.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 +1534 -313
- package/dist/client.js +2648 -749
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
- package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
- package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
- package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/AiTryOnRequest.d.ts +4 -4
- package/dist/models/AiTryOnResponseBody.d.ts +10 -10
- package/dist/models/AiTryOnResponseBody.js +0 -2
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.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/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/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 +11 -7
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
- 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/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 +2 -10
- package/dist/models/PetHealthAnalysisRequest.js.map +1 -1
- package/dist/models/PetHealthAnalysisResponseBody.d.ts +0 -19
- package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -1
- package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +2 -10
- package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -1
- package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.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 +84 -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 +70 -0
- package/dist/models/TextTranslateAsyncResponseBody.js +88 -0
- package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +84 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js +72 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +10 -10
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +10 -10
- package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
- 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 +4 -4
- 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 +115 -0
- package/dist/models/model.js +237 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2810 -786
- package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
- package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
- package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
- package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/AiTryOnRequest.ts +4 -4
- package/src/models/AiTryOnResponseBody.ts +10 -10
- package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
- package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
- package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -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/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/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 +11 -7
- package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
- package/src/models/MerchandisePlacementDetectionLiteRequest.ts +36 -0
- package/src/models/MerchandisePlacementDetectionLiteResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +367 -0
- 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 +2 -10
- package/src/models/PetHealthAnalysisResponseBody.ts +0 -19
- package/src/models/PetHealthAnalysisShrinkRequest.ts +2 -10
- package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
- package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
- package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -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 +114 -0
- package/src/models/TextTranslateAsyncResponse.ts +40 -0
- package/src/models/TextTranslateAsyncResponseBody.ts +104 -0
- package/src/models/TextTranslateAsyncShrinkRequest.ts +111 -0
- package/src/models/TextTranslateRequest.ts +10 -10
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +10 -10
- package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
- package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
- package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
- 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 +4 -4
- package/src/models/VideoTranslationShrinkRequest.ts +44 -6
- package/src/models/model.ts +115 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The bounding box coordinates in the format of `[top-left x, top-left y, bottom-right x, bottom-right y]`. Valid values: 0 to 1000. The left value must be less than the right value, and the top value must be less than the bottom value.
|
|
9
|
+
*/
|
|
10
|
+
bbox2d?: number[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The target category. For valid values, see the following table.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* milk_powder
|
|
17
|
+
*/
|
|
18
|
+
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The confirmed short name or text of up to 24 characters. If the text is unclear, an empty string is returned.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* Milk powder
|
|
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 MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGrounding extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The coverage. Valid values:
|
|
59
|
+
* - complete: The relevant visible targets are complete.
|
|
60
|
+
* - partial: Only some targets are valid or recognizable.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* complete
|
|
64
|
+
*/
|
|
65
|
+
coverage?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The list of regions.
|
|
69
|
+
*/
|
|
70
|
+
regions?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGroundingRegions[];
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
coverage: 'Coverage',
|
|
74
|
+
regions: 'Regions',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
coverage: 'string',
|
|
81
|
+
regions: { 'type': 'array', 'itemType': MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGroundingRegions },
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
if(Array.isArray(this.regions)) {
|
|
87
|
+
$dara.Model.validateArray(this.regions);
|
|
88
|
+
}
|
|
89
|
+
super.validate();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
constructor(map?: { [key: string]: any }) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult extends $dara.Model {
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The localization information.
|
|
101
|
+
*/
|
|
102
|
+
grounding?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGrounding;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* Specifies whether the image is recaptured.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* true
|
|
109
|
+
*/
|
|
110
|
+
isFake?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The detection type. The value is fixed to canBottom.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* canBottom
|
|
117
|
+
*/
|
|
118
|
+
type?: string;
|
|
119
|
+
static names(): { [key: string]: string } {
|
|
120
|
+
return {
|
|
121
|
+
grounding: 'Grounding',
|
|
122
|
+
isFake: 'IsFake',
|
|
123
|
+
type: 'Type',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
static types(): { [key: string]: any } {
|
|
128
|
+
return {
|
|
129
|
+
grounding: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResultGrounding,
|
|
130
|
+
isFake: 'boolean',
|
|
131
|
+
type: 'string',
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
validate() {
|
|
136
|
+
if(this.grounding && typeof (this.grounding as any).validate === 'function') {
|
|
137
|
+
(this.grounding as any).validate();
|
|
138
|
+
}
|
|
139
|
+
super.validate();
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
constructor(map?: { [key: string]: any }) {
|
|
143
|
+
super(map);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export class MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData extends $dara.Model {
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The details of the recapture detection result.
|
|
151
|
+
*/
|
|
152
|
+
result?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult;
|
|
153
|
+
/**
|
|
154
|
+
* @remarks
|
|
155
|
+
* The usage information. If the call is successful, the value is `{"ProcessingCount":1}`. If the call fails, an empty object is returned.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* {"ProcessingCount":1}
|
|
159
|
+
*/
|
|
160
|
+
usageMap?: { [key: string]: number };
|
|
161
|
+
static names(): { [key: string]: string } {
|
|
162
|
+
return {
|
|
163
|
+
result: 'Result',
|
|
164
|
+
usageMap: 'UsageMap',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
static types(): { [key: string]: any } {
|
|
169
|
+
return {
|
|
170
|
+
result: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyDataResult,
|
|
171
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
validate() {
|
|
176
|
+
if(this.result && typeof (this.result as any).validate === 'function') {
|
|
177
|
+
(this.result as any).validate();
|
|
178
|
+
}
|
|
179
|
+
if(this.usageMap) {
|
|
180
|
+
$dara.Model.validateMap(this.usageMap);
|
|
181
|
+
}
|
|
182
|
+
super.validate();
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
constructor(map?: { [key: string]: any }) {
|
|
186
|
+
super(map);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export class MilkPowderCanBottomCodeRephotographyDetectionResponseBody extends $dara.Model {
|
|
191
|
+
/**
|
|
192
|
+
* @remarks
|
|
193
|
+
* The error code.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
* success
|
|
197
|
+
*/
|
|
198
|
+
code?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @remarks
|
|
201
|
+
* The recapture detection result.
|
|
202
|
+
*/
|
|
203
|
+
data?: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The response message or failure description.
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* Success
|
|
210
|
+
*/
|
|
211
|
+
message?: string;
|
|
212
|
+
/**
|
|
213
|
+
* @remarks
|
|
214
|
+
* The request ID.
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
218
|
+
*/
|
|
219
|
+
requestId?: string;
|
|
220
|
+
/**
|
|
221
|
+
* @remarks
|
|
222
|
+
* Specifies whether the call is successful. A valid business conclusion does not mean that the review is passed.
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* True
|
|
226
|
+
*/
|
|
227
|
+
success?: boolean;
|
|
228
|
+
static names(): { [key: string]: string } {
|
|
229
|
+
return {
|
|
230
|
+
code: 'Code',
|
|
231
|
+
data: 'Data',
|
|
232
|
+
message: 'Message',
|
|
233
|
+
requestId: 'RequestId',
|
|
234
|
+
success: 'Success',
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
static types(): { [key: string]: any } {
|
|
239
|
+
return {
|
|
240
|
+
code: 'string',
|
|
241
|
+
data: MilkPowderCanBottomCodeRephotographyDetectionResponseBodyData,
|
|
242
|
+
message: 'string',
|
|
243
|
+
requestId: 'string',
|
|
244
|
+
success: 'boolean',
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
validate() {
|
|
249
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
250
|
+
(this.data as any).validate();
|
|
251
|
+
}
|
|
252
|
+
super.validate();
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
constructor(map?: { [key: string]: any }) {
|
|
256
|
+
super(map);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
@@ -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 MilkPowderCartonCodeRephotographyDetectionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The HTTP(S) URL of the image to be analyzed.
|
|
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 { MilkPowderCartonCodeRephotographyDetectionResponseBody } from "./MilkPowderCartonCodeRephotographyDetectionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class MilkPowderCartonCodeRephotographyDetectionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: MilkPowderCartonCodeRephotographyDetectionResponseBody;
|
|
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: MilkPowderCartonCodeRephotographyDetectionResponseBody,
|
|
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,292 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The coordinates of the bounding box in the `[top-left x, top-left y, bottom-right x, bottom-right y]` format. The value range is 0 to 1000. The left value must be less than the right value, and the top value must be less than the bottom value.
|
|
9
|
+
*/
|
|
10
|
+
bbox2d?: number[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The category of the target. For enumerated values, see the following table.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* milk_powder
|
|
17
|
+
*/
|
|
18
|
+
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The confirmed short name or text, which contains up to 24 characters. This field is an empty string if the text is unclear.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* Milk powder
|
|
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 MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The coverage of the grounding. Valid values:
|
|
59
|
+
* - `complete`: The relevant visible targets are complete.
|
|
60
|
+
* - `partial`: Only some targets are valid or recognizable.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* complete
|
|
64
|
+
*/
|
|
65
|
+
coverage?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The array of targets, which contains up to 12 items. This array can be empty if no relevant targets are found.
|
|
69
|
+
*/
|
|
70
|
+
regions?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions[];
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
coverage: 'Coverage',
|
|
74
|
+
regions: 'Regions',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
coverage: 'string',
|
|
81
|
+
regions: { 'type': 'array', 'itemType': MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions },
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
if(Array.isArray(this.regions)) {
|
|
87
|
+
$dara.Model.validateArray(this.regions);
|
|
88
|
+
}
|
|
89
|
+
super.validate();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
constructor(map?: { [key: string]: any }) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult extends $dara.Model {
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The supplementary element grounding results.
|
|
101
|
+
*/
|
|
102
|
+
grounding?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* Indicates whether the image is recaptured.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* true
|
|
109
|
+
*/
|
|
110
|
+
isFake?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* Indicates whether the image is suspected to be recaptured.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* true
|
|
117
|
+
*/
|
|
118
|
+
isSuspect?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The recapture status. Valid values:
|
|
122
|
+
* - `0`: Non-recapture.
|
|
123
|
+
* - `1`: Recapture.
|
|
124
|
+
* - `2`: Suspected recapture.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* 1
|
|
128
|
+
*/
|
|
129
|
+
photoStatus?: number;
|
|
130
|
+
/**
|
|
131
|
+
* @remarks
|
|
132
|
+
* The confidence score for recapture detection.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* 0.89
|
|
136
|
+
*/
|
|
137
|
+
score?: number;
|
|
138
|
+
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* The detection type. The value is fixed to `boxCode`.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* boxCode
|
|
144
|
+
*/
|
|
145
|
+
type?: string;
|
|
146
|
+
static names(): { [key: string]: string } {
|
|
147
|
+
return {
|
|
148
|
+
grounding: 'Grounding',
|
|
149
|
+
isFake: 'IsFake',
|
|
150
|
+
isSuspect: 'IsSuspect',
|
|
151
|
+
photoStatus: 'PhotoStatus',
|
|
152
|
+
score: 'Score',
|
|
153
|
+
type: 'Type',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static types(): { [key: string]: any } {
|
|
158
|
+
return {
|
|
159
|
+
grounding: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding,
|
|
160
|
+
isFake: 'boolean',
|
|
161
|
+
isSuspect: 'boolean',
|
|
162
|
+
photoStatus: 'number',
|
|
163
|
+
score: 'number',
|
|
164
|
+
type: 'string',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
validate() {
|
|
169
|
+
if(this.grounding && typeof (this.grounding as any).validate === 'function') {
|
|
170
|
+
(this.grounding as any).validate();
|
|
171
|
+
}
|
|
172
|
+
super.validate();
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
constructor(map?: { [key: string]: any }) {
|
|
176
|
+
super(map);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export class MilkPowderCartonCodeRephotographyDetectionResponseBodyData extends $dara.Model {
|
|
181
|
+
/**
|
|
182
|
+
* @remarks
|
|
183
|
+
* The details of the recapture detection result.
|
|
184
|
+
*/
|
|
185
|
+
result?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult;
|
|
186
|
+
/**
|
|
187
|
+
* @remarks
|
|
188
|
+
* The usage information. The value is `{"ProcessingCount":1}` if the call is successful, or an empty object if the call fails.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* {"ProcessingCount":1}
|
|
192
|
+
*/
|
|
193
|
+
usageMap?: { [key: string]: number };
|
|
194
|
+
static names(): { [key: string]: string } {
|
|
195
|
+
return {
|
|
196
|
+
result: 'Result',
|
|
197
|
+
usageMap: 'UsageMap',
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
static types(): { [key: string]: any } {
|
|
202
|
+
return {
|
|
203
|
+
result: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult,
|
|
204
|
+
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
validate() {
|
|
209
|
+
if(this.result && typeof (this.result as any).validate === 'function') {
|
|
210
|
+
(this.result as any).validate();
|
|
211
|
+
}
|
|
212
|
+
if(this.usageMap) {
|
|
213
|
+
$dara.Model.validateMap(this.usageMap);
|
|
214
|
+
}
|
|
215
|
+
super.validate();
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
constructor(map?: { [key: string]: any }) {
|
|
219
|
+
super(map);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export class MilkPowderCartonCodeRephotographyDetectionResponseBody extends $dara.Model {
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* The error code.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* success
|
|
230
|
+
*/
|
|
231
|
+
code?: string;
|
|
232
|
+
/**
|
|
233
|
+
* @remarks
|
|
234
|
+
* The recapture detection result.
|
|
235
|
+
*/
|
|
236
|
+
data?: MilkPowderCartonCodeRephotographyDetectionResponseBodyData;
|
|
237
|
+
/**
|
|
238
|
+
* @remarks
|
|
239
|
+
* The returned message or failure description.
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* Success
|
|
243
|
+
*/
|
|
244
|
+
message?: string;
|
|
245
|
+
/**
|
|
246
|
+
* @remarks
|
|
247
|
+
* The request ID.
|
|
248
|
+
*
|
|
249
|
+
* @example
|
|
250
|
+
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
251
|
+
*/
|
|
252
|
+
requestId?: string;
|
|
253
|
+
/**
|
|
254
|
+
* @remarks
|
|
255
|
+
* Indicates whether the call is successful.
|
|
256
|
+
*
|
|
257
|
+
* @example
|
|
258
|
+
* True
|
|
259
|
+
*/
|
|
260
|
+
success?: boolean;
|
|
261
|
+
static names(): { [key: string]: string } {
|
|
262
|
+
return {
|
|
263
|
+
code: 'Code',
|
|
264
|
+
data: 'Data',
|
|
265
|
+
message: 'Message',
|
|
266
|
+
requestId: 'RequestId',
|
|
267
|
+
success: 'Success',
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
static types(): { [key: string]: any } {
|
|
272
|
+
return {
|
|
273
|
+
code: 'string',
|
|
274
|
+
data: MilkPowderCartonCodeRephotographyDetectionResponseBodyData,
|
|
275
|
+
message: 'string',
|
|
276
|
+
requestId: 'string',
|
|
277
|
+
success: 'boolean',
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
validate() {
|
|
282
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
283
|
+
(this.data as any).validate();
|
|
284
|
+
}
|
|
285
|
+
super.validate();
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
constructor(map?: { [key: string]: any }) {
|
|
289
|
+
super(map);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
@@ -5,25 +5,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class PetHealthAnalysisRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The list of HTTPS URLs of images to analyze. At least one accessible image must be provided.
|
|
9
|
-
*
|
|
10
8
|
* This parameter is required.
|
|
11
9
|
*/
|
|
12
10
|
imageUrl?: string[];
|
|
13
11
|
/**
|
|
14
|
-
* @remarks
|
|
15
|
-
* The system prompt used to specify the response role or requirements. The value must comply with JSON string escaping rules.
|
|
16
|
-
*
|
|
17
12
|
* @example
|
|
18
|
-
*
|
|
13
|
+
* 你是一名专业的宠物医生
|
|
19
14
|
*/
|
|
20
15
|
systemPrompt?: string;
|
|
21
16
|
/**
|
|
22
|
-
* @remarks
|
|
23
|
-
* The custom analysis requirement. If not specified or set to an empty string, excrement analysis is performed by default. The value must comply with JSON string escaping rules.
|
|
24
|
-
*
|
|
25
17
|
* @example
|
|
26
|
-
*
|
|
18
|
+
* 请分析这只宠物的健康状况
|
|
27
19
|
*/
|
|
28
20
|
userPrompt?: string;
|
|
29
21
|
static names(): { [key: string]: string } {
|
|
@@ -4,9 +4,6 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class PetHealthAnalysisResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The asynchronous task ID used for QueryAsyncTaskResult queries.
|
|
9
|
-
*
|
|
10
7
|
* @example
|
|
11
8
|
* task_778fa8bd21804828a5d147050e30edac
|
|
12
9
|
*/
|
|
@@ -34,38 +31,22 @@ export class PetHealthAnalysisResponseBodyData extends $dara.Model {
|
|
|
34
31
|
|
|
35
32
|
export class PetHealthAnalysisResponseBody extends $dara.Model {
|
|
36
33
|
/**
|
|
37
|
-
* @remarks
|
|
38
|
-
* The error code.
|
|
39
|
-
*
|
|
40
34
|
* @example
|
|
41
35
|
* success
|
|
42
36
|
*/
|
|
43
37
|
code?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @remarks
|
|
46
|
-
* The asynchronous task submit status.
|
|
47
|
-
*/
|
|
48
38
|
data?: PetHealthAnalysisResponseBodyData;
|
|
49
39
|
/**
|
|
50
|
-
* @remarks
|
|
51
|
-
* The response message or failure description.
|
|
52
|
-
*
|
|
53
40
|
* @example
|
|
54
41
|
* Task submitted
|
|
55
42
|
*/
|
|
56
43
|
message?: string;
|
|
57
44
|
/**
|
|
58
|
-
* @remarks
|
|
59
|
-
* The request ID.
|
|
60
|
-
*
|
|
61
45
|
* @example
|
|
62
46
|
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
63
47
|
*/
|
|
64
48
|
requestId?: string;
|
|
65
49
|
/**
|
|
66
|
-
* @remarks
|
|
67
|
-
* Indicates whether the call is successful.
|
|
68
|
-
*
|
|
69
50
|
* @example
|
|
70
51
|
* True
|
|
71
52
|
*/
|