@alicloud/aidge20260428 5.7.1 → 5.8.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.
Files changed (80) hide show
  1. package/dist/client.d.ts +222 -76
  2. package/dist/client.js +338 -76
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DiduiAreaDeductionProRequest.d.ts +33 -0
  5. package/dist/models/DiduiAreaDeductionProRequest.js +60 -0
  6. package/dist/models/DiduiAreaDeductionProRequest.js.map +1 -0
  7. package/dist/models/DiduiAreaDeductionProResponse.d.ts +19 -0
  8. package/dist/models/DiduiAreaDeductionProResponse.js +69 -0
  9. package/dist/models/DiduiAreaDeductionProResponse.js.map +1 -0
  10. package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +70 -0
  11. package/dist/models/DiduiAreaDeductionProResponseBody.js +88 -0
  12. package/dist/models/DiduiAreaDeductionProResponseBody.js.map +1 -0
  13. package/dist/models/GeneralRephotographyDetectionRequest.d.ts +23 -0
  14. package/dist/models/GeneralRephotographyDetectionRequest.js +58 -0
  15. package/dist/models/GeneralRephotographyDetectionRequest.js.map +1 -0
  16. package/dist/models/GeneralRephotographyDetectionResponse.d.ts +19 -0
  17. package/dist/models/GeneralRephotographyDetectionResponse.js +69 -0
  18. package/dist/models/GeneralRephotographyDetectionResponse.js.map +1 -0
  19. package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +170 -0
  20. package/dist/models/GeneralRephotographyDetectionResponseBody.js +172 -0
  21. package/dist/models/GeneralRephotographyDetectionResponseBody.js.map +1 -0
  22. package/dist/models/ImageTranslationPlusResponseBody.d.ts +1 -1
  23. package/dist/models/ImageTranslationProRequest.d.ts +3 -3
  24. package/dist/models/ImageTranslationStandardRequest.d.ts +10 -10
  25. package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
  26. package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +39 -0
  27. package/dist/models/MerchandisePlacementDetectionProRequest.js +62 -0
  28. package/dist/models/MerchandisePlacementDetectionProRequest.js.map +1 -0
  29. package/dist/models/MerchandisePlacementDetectionProResponse.d.ts +19 -0
  30. package/dist/models/MerchandisePlacementDetectionProResponse.js +69 -0
  31. package/dist/models/MerchandisePlacementDetectionProResponse.js.map +1 -0
  32. package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +118 -0
  33. package/dist/models/MerchandisePlacementDetectionProResponseBody.js +124 -0
  34. package/dist/models/MerchandisePlacementDetectionProResponseBody.js.map +1 -0
  35. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +12 -5
  36. package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
  37. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +7 -7
  38. package/dist/models/PetHealthAnalysisRequest.d.ts +36 -0
  39. package/dist/models/PetHealthAnalysisRequest.js +65 -0
  40. package/dist/models/PetHealthAnalysisRequest.js.map +1 -0
  41. package/dist/models/PetHealthAnalysisResponse.d.ts +19 -0
  42. package/dist/models/PetHealthAnalysisResponse.js +69 -0
  43. package/dist/models/PetHealthAnalysisResponse.js.map +1 -0
  44. package/dist/models/PetHealthAnalysisResponseBody.d.ts +70 -0
  45. package/dist/models/PetHealthAnalysisResponseBody.js +88 -0
  46. package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -0
  47. package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +36 -0
  48. package/dist/models/PetHealthAnalysisShrinkRequest.js +62 -0
  49. package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -0
  50. package/dist/models/TextTranslateRequest.d.ts +6 -6
  51. package/dist/models/TextTranslateResponseBody.d.ts +1 -1
  52. package/dist/models/TextTranslateShrinkRequest.d.ts +6 -6
  53. package/dist/models/model.d.ts +21 -0
  54. package/dist/models/model.js +46 -4
  55. package/dist/models/model.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/client.ts +356 -76
  58. package/src/models/DiduiAreaDeductionProRequest.ts +48 -0
  59. package/src/models/DiduiAreaDeductionProResponse.ts +40 -0
  60. package/src/models/DiduiAreaDeductionProResponseBody.ts +104 -0
  61. package/src/models/GeneralRephotographyDetectionRequest.ts +36 -0
  62. package/src/models/GeneralRephotographyDetectionResponse.ts +40 -0
  63. package/src/models/GeneralRephotographyDetectionResponseBody.ts +259 -0
  64. package/src/models/ImageTranslationPlusResponseBody.ts +1 -1
  65. package/src/models/ImageTranslationProRequest.ts +3 -3
  66. package/src/models/ImageTranslationStandardRequest.ts +10 -10
  67. package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
  68. package/src/models/MerchandisePlacementDetectionProRequest.ts +56 -0
  69. package/src/models/MerchandisePlacementDetectionProResponse.ts +40 -0
  70. package/src/models/MerchandisePlacementDetectionProResponseBody.ts +177 -0
  71. package/src/models/MerchandisePlacementDetectionRequest.ts +12 -5
  72. package/src/models/MerchandisePlacementDetectionResponseBody.ts +7 -7
  73. package/src/models/PetHealthAnalysisRequest.ts +56 -0
  74. package/src/models/PetHealthAnalysisResponse.ts +40 -0
  75. package/src/models/PetHealthAnalysisResponseBody.ts +104 -0
  76. package/src/models/PetHealthAnalysisShrinkRequest.ts +53 -0
  77. package/src/models/TextTranslateRequest.ts +6 -6
  78. package/src/models/TextTranslateResponseBody.ts +1 -1
  79. package/src/models/TextTranslateShrinkRequest.ts +6 -6
  80. package/src/models/model.ts +21 -0
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.PetHealthAnalysisRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class PetHealthAnalysisRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ imageUrl: 'ImageUrl',
43
+ systemPrompt: 'SystemPrompt',
44
+ userPrompt: 'UserPrompt',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ imageUrl: { 'type': 'array', 'itemType': 'string' },
50
+ systemPrompt: 'string',
51
+ userPrompt: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ if (Array.isArray(this.imageUrl)) {
56
+ $dara.Model.validateArray(this.imageUrl);
57
+ }
58
+ super.validate();
59
+ }
60
+ constructor(map) {
61
+ super(map);
62
+ }
63
+ }
64
+ exports.PetHealthAnalysisRequest = PetHealthAnalysisRequest;
65
+ //# sourceMappingURL=PetHealthAnalysisRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PetHealthAnalysisRequest.js","sourceRoot":"","sources":["../../src/models/PetHealthAnalysisRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAwBvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACnD,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlDD,4DAkDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { PetHealthAnalysisResponseBody } from "./PetHealthAnalysisResponseBody";
3
+ export declare class PetHealthAnalysisResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: PetHealthAnalysisResponseBody;
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.PetHealthAnalysisResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const PetHealthAnalysisResponseBody_1 = require("./PetHealthAnalysisResponseBody");
40
+ class PetHealthAnalysisResponse 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: PetHealthAnalysisResponseBody_1.PetHealthAnalysisResponseBody,
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.PetHealthAnalysisResponse = PetHealthAnalysisResponse;
69
+ //# sourceMappingURL=PetHealthAnalysisResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PetHealthAnalysisResponse.js","sourceRoot":"","sources":["../../src/models/PetHealthAnalysisResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,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,6DAA6B;SACpC,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,8DAiCC"}
@@ -0,0 +1,70 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class PetHealthAnalysisResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The asynchronous task ID used for QueryAsyncTaskResult queries.
6
+ *
7
+ * @example
8
+ * task_778fa8bd21804828a5d147050e30edac
9
+ */
10
+ taskId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
22
+ export declare class PetHealthAnalysisResponseBody extends $dara.Model {
23
+ /**
24
+ * @remarks
25
+ * The error code.
26
+ *
27
+ * @example
28
+ * success
29
+ */
30
+ code?: string;
31
+ /**
32
+ * @remarks
33
+ * The asynchronous task submit status.
34
+ */
35
+ data?: PetHealthAnalysisResponseBodyData;
36
+ /**
37
+ * @remarks
38
+ * The response message or failure description.
39
+ *
40
+ * @example
41
+ * Task submitted
42
+ */
43
+ message?: string;
44
+ /**
45
+ * @remarks
46
+ * The request ID.
47
+ *
48
+ * @example
49
+ * 70CBEFDF-BB17-1EB3-8A21-569F3124738F
50
+ */
51
+ requestId?: string;
52
+ /**
53
+ * @remarks
54
+ * Indicates whether the call is successful.
55
+ *
56
+ * @example
57
+ * True
58
+ */
59
+ success?: boolean;
60
+ static names(): {
61
+ [key: string]: string;
62
+ };
63
+ static types(): {
64
+ [key: string]: any;
65
+ };
66
+ validate(): void;
67
+ constructor(map?: {
68
+ [key: string]: any;
69
+ });
70
+ }
@@ -0,0 +1,88 @@
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.PetHealthAnalysisResponseBody = exports.PetHealthAnalysisResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class PetHealthAnalysisResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ taskId: 'TaskId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ taskId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.PetHealthAnalysisResponseBodyData = PetHealthAnalysisResponseBodyData;
58
+ class PetHealthAnalysisResponseBody extends $dara.Model {
59
+ static names() {
60
+ return {
61
+ code: 'Code',
62
+ data: 'Data',
63
+ message: 'Message',
64
+ requestId: 'RequestId',
65
+ success: 'Success',
66
+ };
67
+ }
68
+ static types() {
69
+ return {
70
+ code: 'string',
71
+ data: PetHealthAnalysisResponseBodyData,
72
+ message: 'string',
73
+ requestId: 'string',
74
+ success: 'boolean',
75
+ };
76
+ }
77
+ validate() {
78
+ if (this.data && typeof this.data.validate === 'function') {
79
+ this.data.validate();
80
+ }
81
+ super.validate();
82
+ }
83
+ constructor(map) {
84
+ super(map);
85
+ }
86
+ }
87
+ exports.PetHealthAnalysisResponseBody = PetHealthAnalysisResponseBody;
88
+ //# sourceMappingURL=PetHealthAnalysisResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PetHealthAnalysisResponseBody.js","sourceRoot":"","sources":["../../src/models/PetHealthAnalysisResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAShE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,8EA4BC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAsC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,iCAAiC;YACvC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,sEAoEC"}
@@ -0,0 +1,36 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class PetHealthAnalysisShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The list of HTTPS URLs of images to analyze. At least one accessible image must be provided.
6
+ *
7
+ * This parameter is required.
8
+ */
9
+ imageUrlShrink?: string;
10
+ /**
11
+ * @remarks
12
+ * The system prompt used to specify the response role or requirements. The value must comply with JSON string escaping rules.
13
+ *
14
+ * @example
15
+ * You are a professional veterinarian
16
+ */
17
+ systemPrompt?: string;
18
+ /**
19
+ * @remarks
20
+ * 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.
21
+ *
22
+ * @example
23
+ * Please analyze the health condition of this pet
24
+ */
25
+ userPrompt?: string;
26
+ static names(): {
27
+ [key: string]: string;
28
+ };
29
+ static types(): {
30
+ [key: string]: any;
31
+ };
32
+ validate(): void;
33
+ constructor(map?: {
34
+ [key: string]: any;
35
+ });
36
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.PetHealthAnalysisShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class PetHealthAnalysisShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ imageUrlShrink: 'ImageUrl',
43
+ systemPrompt: 'SystemPrompt',
44
+ userPrompt: 'UserPrompt',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ imageUrlShrink: 'string',
50
+ systemPrompt: 'string',
51
+ userPrompt: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.PetHealthAnalysisShrinkRequest = PetHealthAnalysisShrinkRequest;
62
+ //# sourceMappingURL=PetHealthAnalysisShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PetHealthAnalysisShrinkRequest.js","sourceRoot":"","sources":["../../src/models/PetHealthAnalysisShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAwB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,UAAU;YAC1B,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/CD,wEA+CC"}
@@ -2,7 +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. 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.
5
+ * This field represents your identity and facilitates subsequent communication on 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.
6
6
  *
7
7
  * @example
8
8
  * MyCompany-Chat
@@ -10,7 +10,7 @@ export declare class TextTranslateRequest extends $dara.Model {
10
10
  bizName?: string;
11
11
  /**
12
12
  * @remarks
13
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
13
+ * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which preserves HTML tags).
14
14
  *
15
15
  * @example
16
16
  * text
@@ -18,7 +18,7 @@ export declare class TextTranslateRequest extends $dara.Model {
18
18
  formatType?: string;
19
19
  /**
20
20
  * @remarks
21
- * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
21
+ * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the provided glossary ID is empty, the translation results are not modified.
22
22
  *
23
23
  * @example
24
24
  * glossary_1
@@ -26,7 +26,7 @@ export declare class TextTranslateRequest extends $dara.Model {
26
26
  glossary?: string;
27
27
  /**
28
28
  * @remarks
29
- * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can set it to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
29
+ * The source language code. This parameter is optional. If you do not specify this parameter, the source 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).
30
30
  *
31
31
  * @example
32
32
  * auto
@@ -34,7 +34,7 @@ export declare class TextTranslateRequest extends $dara.Model {
34
34
  sourceLanguage?: string;
35
35
  /**
36
36
  * @remarks
37
- * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
37
+ * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -54,7 +54,7 @@ export declare class TextTranslateRequest extends $dara.Model {
54
54
  targetLanguage?: string;
55
55
  /**
56
56
  * @remarks
57
- * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values:
57
+ * The business scenario identifier. You can pass in only one of the following values. After you specify this parameter, the translation engine invokes the terminology library and style strategy for the corresponding industry to produce translations that better fit the industry. If this field is not specified or is specified incorrectly, the general translation strategy is used. Valid values:
58
58
  * - e-commerce-title: cross-border e-commerce product title translation.
59
59
  * - e-commerce-description: cross-border e-commerce product description translation.
60
60
  * - e-commerce-chat: cross-border e-commerce conversation translation.
@@ -86,7 +86,7 @@ export declare class TextTranslateResponseBody extends $dara.Model {
86
86
  message?: string;
87
87
  /**
88
88
  * @remarks
89
- * The request ID, used to uniquely identify a request.
89
+ * The request ID, which uniquely identifies a single request.
90
90
  *
91
91
  * @example
92
92
  * 922E43BB-EE0E-1A29-B143-BB91BB3EA6AB
@@ -2,7 +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. 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.
5
+ * This field represents your identity and facilitates subsequent communication on 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.
6
6
  *
7
7
  * @example
8
8
  * MyCompany-Chat
@@ -10,7 +10,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
10
10
  bizName?: string;
11
11
  /**
12
12
  * @remarks
13
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
13
+ * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format, which preserves HTML tags).
14
14
  *
15
15
  * @example
16
16
  * text
@@ -18,7 +18,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
18
18
  formatType?: string;
19
19
  /**
20
20
  * @remarks
21
- * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
21
+ * The intervention glossary ID. This parameter is optional. You must create the glossary separately in the console and provide its ID. If the provided glossary ID is empty, the translation results are not modified.
22
22
  *
23
23
  * @example
24
24
  * glossary_1
@@ -26,7 +26,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
26
26
  glossary?: string;
27
27
  /**
28
28
  * @remarks
29
- * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can set it to auto for language detection. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
29
+ * The source language code. This parameter is optional. If you do not specify this parameter, the source 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).
30
30
  *
31
31
  * @example
32
32
  * auto
@@ -34,7 +34,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
34
34
  sourceLanguage?: string;
35
35
  /**
36
36
  * @remarks
37
- * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
37
+ * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -54,7 +54,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
54
54
  targetLanguage?: string;
55
55
  /**
56
56
  * @remarks
57
- * The business scenario identifier. You can pass in only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used. Valid values:
57
+ * The business scenario identifier. You can pass in only one of the following values. After you specify this parameter, the translation engine invokes the terminology library and style strategy for the corresponding industry to produce translations that better fit the industry. If this field is not specified or is specified incorrectly, the general translation strategy is used. Valid values:
58
58
  * - e-commerce-title: cross-border e-commerce product title translation.
59
59
  * - e-commerce-description: cross-border e-commerce product description translation.
60
60
  * - e-commerce-chat: cross-border e-commerce conversation translation.
@@ -11,11 +11,16 @@ export { DiduiAreaDeductionRequestProducts } from './DiduiAreaDeductionRequest';
11
11
  export { DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel } from './DiduiAreaDeductionResponseBody';
12
12
  export { DiduiAreaDeductionResponseBodyDataResult } from './DiduiAreaDeductionResponseBody';
13
13
  export { DiduiAreaDeductionResponseBodyData } from './DiduiAreaDeductionResponseBody';
14
+ export { DiduiAreaDeductionProResponseBodyData } from './DiduiAreaDeductionProResponseBody';
14
15
  export { DocumentTranslateResponseBodyData } from './DocumentTranslateResponseBody';
15
16
  export { EcomVideoRecreationRequestInputProductInfo } from './EcomVideoRecreationRequest';
16
17
  export { EcomVideoRecreationRequestInput } from './EcomVideoRecreationRequest';
17
18
  export { EcomVideoRecreationRequestOutput } from './EcomVideoRecreationRequest';
18
19
  export { EcomVideoRecreationResponseBodyData } from './EcomVideoRecreationResponseBody';
20
+ export { GeneralRephotographyDetectionResponseBodyDataResultGroundingRegions } from './GeneralRephotographyDetectionResponseBody';
21
+ export { GeneralRephotographyDetectionResponseBodyDataResultGrounding } from './GeneralRephotographyDetectionResponseBody';
22
+ export { GeneralRephotographyDetectionResponseBodyDataResult } from './GeneralRephotographyDetectionResponseBody';
23
+ export { GeneralRephotographyDetectionResponseBodyData } from './GeneralRephotographyDetectionResponseBody';
19
24
  export { ImageCroppingResponseBodyData } from './ImageCroppingResponseBody';
20
25
  export { ImageMattingResponseBodyData } from './ImageMattingResponseBody';
21
26
  export { ImageRecognitionResponseBodyData } from './ImageRecognitionResponseBody';
@@ -47,7 +52,10 @@ export { MerchandisePlacementDetectionResponseBodyDataDataTop1 } from './Merchan
47
52
  export { MerchandisePlacementDetectionResponseBodyDataDataTopk } from './MerchandisePlacementDetectionResponseBody';
48
53
  export { MerchandisePlacementDetectionResponseBodyDataData } from './MerchandisePlacementDetectionResponseBody';
49
54
  export { MerchandisePlacementDetectionResponseBodyData } from './MerchandisePlacementDetectionResponseBody';
55
+ export { MerchandisePlacementDetectionProResponseBodyDataData } from './MerchandisePlacementDetectionProResponseBody';
56
+ export { MerchandisePlacementDetectionProResponseBodyData } from './MerchandisePlacementDetectionProResponseBody';
50
57
  export { PackageWeightSizeCheckResponseBodyData } from './PackageWeightSizeCheckResponseBody';
58
+ export { PetHealthAnalysisResponseBodyData } from './PetHealthAnalysisResponseBody';
51
59
  export { PrepaidTextTranslateResponseBodyDataTranslations } from './PrepaidTextTranslateResponseBody';
52
60
  export { PrepaidTextTranslateResponseBodyData } from './PrepaidTextTranslateResponseBody';
53
61
  export { ProductHotspotDetectionResponseBodyDataProductsBoxes } from './ProductHotspotDetectionResponseBody';
@@ -89,6 +97,9 @@ export { DiduiAreaDeductionRequest } from './DiduiAreaDeductionRequest';
89
97
  export { DiduiAreaDeductionShrinkRequest } from './DiduiAreaDeductionShrinkRequest';
90
98
  export { DiduiAreaDeductionResponseBody } from './DiduiAreaDeductionResponseBody';
91
99
  export { DiduiAreaDeductionResponse } from './DiduiAreaDeductionResponse';
100
+ export { DiduiAreaDeductionProRequest } from './DiduiAreaDeductionProRequest';
101
+ export { DiduiAreaDeductionProResponseBody } from './DiduiAreaDeductionProResponseBody';
102
+ export { DiduiAreaDeductionProResponse } from './DiduiAreaDeductionProResponse';
92
103
  export { DocumentTranslateRequest } from './DocumentTranslateRequest';
93
104
  export { DocumentTranslateResponseBody } from './DocumentTranslateResponseBody';
94
105
  export { DocumentTranslateResponse } from './DocumentTranslateResponse';
@@ -96,6 +107,9 @@ export { EcomVideoRecreationRequest } from './EcomVideoRecreationRequest';
96
107
  export { EcomVideoRecreationShrinkRequest } from './EcomVideoRecreationShrinkRequest';
97
108
  export { EcomVideoRecreationResponseBody } from './EcomVideoRecreationResponseBody';
98
109
  export { EcomVideoRecreationResponse } from './EcomVideoRecreationResponse';
110
+ export { GeneralRephotographyDetectionRequest } from './GeneralRephotographyDetectionRequest';
111
+ export { GeneralRephotographyDetectionResponseBody } from './GeneralRephotographyDetectionResponseBody';
112
+ export { GeneralRephotographyDetectionResponse } from './GeneralRephotographyDetectionResponse';
99
113
  export { ImageCroppingRequest } from './ImageCroppingRequest';
100
114
  export { ImageCroppingResponseBody } from './ImageCroppingResponseBody';
101
115
  export { ImageCroppingResponse } from './ImageCroppingResponse';
@@ -131,9 +145,16 @@ export { MaterialInspectionResponse } from './MaterialInspectionResponse';
131
145
  export { MerchandisePlacementDetectionRequest } from './MerchandisePlacementDetectionRequest';
132
146
  export { MerchandisePlacementDetectionResponseBody } from './MerchandisePlacementDetectionResponseBody';
133
147
  export { MerchandisePlacementDetectionResponse } from './MerchandisePlacementDetectionResponse';
148
+ export { MerchandisePlacementDetectionProRequest } from './MerchandisePlacementDetectionProRequest';
149
+ export { MerchandisePlacementDetectionProResponseBody } from './MerchandisePlacementDetectionProResponseBody';
150
+ export { MerchandisePlacementDetectionProResponse } from './MerchandisePlacementDetectionProResponse';
134
151
  export { PackageWeightSizeCheckRequest } from './PackageWeightSizeCheckRequest';
135
152
  export { PackageWeightSizeCheckResponseBody } from './PackageWeightSizeCheckResponseBody';
136
153
  export { PackageWeightSizeCheckResponse } from './PackageWeightSizeCheckResponse';
154
+ export { PetHealthAnalysisRequest } from './PetHealthAnalysisRequest';
155
+ export { PetHealthAnalysisShrinkRequest } from './PetHealthAnalysisShrinkRequest';
156
+ export { PetHealthAnalysisResponseBody } from './PetHealthAnalysisResponseBody';
157
+ export { PetHealthAnalysisResponse } from './PetHealthAnalysisResponse';
137
158
  export { PrepaidTextTranslateRequest } from './PrepaidTextTranslateRequest';
138
159
  export { PrepaidTextTranslateShrinkRequest } from './PrepaidTextTranslateShrinkRequest';
139
160
  export { PrepaidTextTranslateResponseBody } from './PrepaidTextTranslateResponseBody';