@alicloud/aidge20260428 5.9.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.
Files changed (94) hide show
  1. package/dist/client.d.ts +160 -100
  2. package/dist/client.js +300 -100
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
  5. package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
  6. package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
  7. package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
  8. package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
  9. package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
  10. package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
  11. package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
  12. package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
  13. package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
  14. package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
  15. package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
  16. package/dist/models/AiTryOnRequest.d.ts +4 -4
  17. package/dist/models/AiTryOnResponseBody.d.ts +10 -10
  18. package/dist/models/AiTryOnResponseBody.js +0 -2
  19. package/dist/models/AiTryOnResponseBody.js.map +1 -1
  20. package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
  21. package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
  22. package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
  23. package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
  24. package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
  25. package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
  26. package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
  27. package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
  28. package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
  29. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
  30. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
  31. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js.map +1 -0
  32. package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
  33. package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
  34. package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
  35. package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
  36. package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
  37. package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
  38. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
  39. package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
  40. package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
  41. package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
  42. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
  43. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js.map +1 -0
  44. package/dist/models/TextTranslateAsyncRequest.d.ts +28 -0
  45. package/dist/models/TextTranslateAsyncRequest.js.map +1 -1
  46. package/dist/models/TextTranslateAsyncResponseBody.d.ts +19 -0
  47. package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -1
  48. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +28 -0
  49. package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -1
  50. package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
  51. package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
  52. package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
  53. package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
  54. package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
  55. package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
  56. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
  57. package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
  58. package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
  59. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
  60. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
  61. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
  62. package/dist/models/VideoTranslationRequest.d.ts +6 -6
  63. package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
  64. package/dist/models/VideoTranslationShrinkRequest.d.ts +6 -6
  65. package/dist/models/model.d.ts +26 -0
  66. package/dist/models/model.js +59 -6
  67. package/dist/models/model.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/client.ts +324 -100
  70. package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
  71. package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
  72. package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
  73. package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
  74. package/src/models/AiTryOnRequest.ts +4 -4
  75. package/src/models/AiTryOnResponseBody.ts +10 -10
  76. package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
  77. package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
  78. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
  79. package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -0
  80. package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
  81. package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
  82. package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
  83. package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -0
  84. package/src/models/TextTranslateAsyncRequest.ts +28 -0
  85. package/src/models/TextTranslateAsyncResponseBody.ts +19 -0
  86. package/src/models/TextTranslateAsyncShrinkRequest.ts +28 -0
  87. package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
  88. package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
  89. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
  90. package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
  91. package/src/models/VideoTranslationRequest.ts +6 -6
  92. package/src/models/VideoTranslationResponseBody.ts +4 -4
  93. package/src/models/VideoTranslationShrinkRequest.ts +6 -6
  94. package/src/models/model.ts +26 -0
@@ -0,0 +1,206 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateDisplayKnowledgeResponseBodyDataResults extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The error code for the failure.
6
+ *
7
+ * @example
8
+ * success
9
+ */
10
+ errorCode?: string;
11
+ /**
12
+ * @remarks
13
+ * The cause of the failure.
14
+ *
15
+ * @example
16
+ * Success
17
+ */
18
+ errorMessage?: string;
19
+ /**
20
+ * @remarks
21
+ * The index in the original request array.
22
+ *
23
+ * @example
24
+ * 1
25
+ */
26
+ index?: number;
27
+ /**
28
+ * @remarks
29
+ * The record ID.
30
+ *
31
+ * @example
32
+ * 32238
33
+ */
34
+ recordId?: number;
35
+ /**
36
+ * @remarks
37
+ * The effective SKU ID.
38
+ *
39
+ * @example
40
+ * sku-001
41
+ */
42
+ skuId?: string;
43
+ /**
44
+ * @remarks
45
+ * The record status.
46
+ *
47
+ * @example
48
+ * UPDATING
49
+ */
50
+ status?: string;
51
+ /**
52
+ * @remarks
53
+ * Indicates whether the record is accepted.
54
+ *
55
+ * @example
56
+ * True
57
+ */
58
+ success?: boolean;
59
+ static names(): {
60
+ [key: string]: string;
61
+ };
62
+ static types(): {
63
+ [key: string]: any;
64
+ };
65
+ validate(): void;
66
+ constructor(map?: {
67
+ [key: string]: any;
68
+ });
69
+ }
70
+ export declare class UpdateDisplayKnowledgeResponseBodyData extends $dara.Model {
71
+ /**
72
+ * @remarks
73
+ * The number of accepted records.
74
+ *
75
+ * @example
76
+ * 10
77
+ */
78
+ acceptedCount?: number;
79
+ /**
80
+ * @remarks
81
+ * The business error code.
82
+ *
83
+ * @example
84
+ * success
85
+ */
86
+ errorCode?: string;
87
+ /**
88
+ * @remarks
89
+ * The business error message.
90
+ *
91
+ * @example
92
+ * success
93
+ */
94
+ errorMessage?: string;
95
+ /**
96
+ * @remarks
97
+ * The number of failed records.
98
+ *
99
+ * @example
100
+ * 0
101
+ */
102
+ failedCount?: number;
103
+ /**
104
+ * @remarks
105
+ * The knowledge base status.
106
+ *
107
+ * @example
108
+ * UPDATING
109
+ */
110
+ knowledgeBaseStatus?: string;
111
+ /**
112
+ * @remarks
113
+ * The knowledge base ID.
114
+ *
115
+ * @example
116
+ * rag_001
117
+ */
118
+ ragId?: string;
119
+ /**
120
+ * @remarks
121
+ * The processing results for each record.
122
+ */
123
+ results?: UpdateDisplayKnowledgeResponseBodyDataResults[];
124
+ /**
125
+ * @remarks
126
+ * Indicates whether the business processing is successful.
127
+ *
128
+ * @example
129
+ * True
130
+ */
131
+ success?: boolean;
132
+ /**
133
+ * @remarks
134
+ * The asynchronous task ID. This parameter is empty for synchronous API operations.
135
+ *
136
+ * @example
137
+ * ed9d8504-6141-9fbb-8345-4fa36433483f
138
+ */
139
+ taskId?: string;
140
+ /**
141
+ * @remarks
142
+ * The usage information. This parameter is empty for free API operations.
143
+ */
144
+ usageMap?: {
145
+ [key: string]: number;
146
+ };
147
+ static names(): {
148
+ [key: string]: string;
149
+ };
150
+ static types(): {
151
+ [key: string]: any;
152
+ };
153
+ validate(): void;
154
+ constructor(map?: {
155
+ [key: string]: any;
156
+ });
157
+ }
158
+ export declare class UpdateDisplayKnowledgeResponseBody extends $dara.Model {
159
+ /**
160
+ * @remarks
161
+ * The error code.
162
+ *
163
+ * @example
164
+ * success
165
+ */
166
+ code?: string;
167
+ /**
168
+ * @remarks
169
+ * The update result of the display knowledge base content.
170
+ */
171
+ data?: UpdateDisplayKnowledgeResponseBodyData;
172
+ /**
173
+ * @remarks
174
+ * The response message or failure description.
175
+ *
176
+ * @example
177
+ * success
178
+ */
179
+ message?: string;
180
+ /**
181
+ * @remarks
182
+ * The request ID.
183
+ *
184
+ * @example
185
+ * 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
186
+ */
187
+ requestId?: string;
188
+ /**
189
+ * @remarks
190
+ * Indicates whether the call is successful.
191
+ *
192
+ * @example
193
+ * True
194
+ */
195
+ success?: boolean;
196
+ static names(): {
197
+ [key: string]: string;
198
+ };
199
+ static types(): {
200
+ [key: string]: any;
201
+ };
202
+ validate(): void;
203
+ constructor(map?: {
204
+ [key: string]: any;
205
+ });
206
+ }
@@ -0,0 +1,143 @@
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.UpdateDisplayKnowledgeResponseBody = exports.UpdateDisplayKnowledgeResponseBodyData = exports.UpdateDisplayKnowledgeResponseBodyDataResults = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateDisplayKnowledgeResponseBodyDataResults extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ errorCode: 'ErrorCode',
43
+ errorMessage: 'ErrorMessage',
44
+ index: 'Index',
45
+ recordId: 'RecordId',
46
+ skuId: 'SkuId',
47
+ status: 'Status',
48
+ success: 'Success',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ errorCode: 'string',
54
+ errorMessage: 'string',
55
+ index: 'number',
56
+ recordId: 'number',
57
+ skuId: 'string',
58
+ status: 'string',
59
+ success: 'boolean',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.UpdateDisplayKnowledgeResponseBodyDataResults = UpdateDisplayKnowledgeResponseBodyDataResults;
70
+ class UpdateDisplayKnowledgeResponseBodyData extends $dara.Model {
71
+ static names() {
72
+ return {
73
+ acceptedCount: 'AcceptedCount',
74
+ errorCode: 'ErrorCode',
75
+ errorMessage: 'ErrorMessage',
76
+ failedCount: 'FailedCount',
77
+ knowledgeBaseStatus: 'KnowledgeBaseStatus',
78
+ ragId: 'RagId',
79
+ results: 'Results',
80
+ success: 'Success',
81
+ taskId: 'TaskId',
82
+ usageMap: 'UsageMap',
83
+ };
84
+ }
85
+ static types() {
86
+ return {
87
+ acceptedCount: 'number',
88
+ errorCode: 'string',
89
+ errorMessage: 'string',
90
+ failedCount: 'number',
91
+ knowledgeBaseStatus: 'string',
92
+ ragId: 'string',
93
+ results: { 'type': 'array', 'itemType': UpdateDisplayKnowledgeResponseBodyDataResults },
94
+ success: 'boolean',
95
+ taskId: 'string',
96
+ usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
97
+ };
98
+ }
99
+ validate() {
100
+ if (Array.isArray(this.results)) {
101
+ $dara.Model.validateArray(this.results);
102
+ }
103
+ if (this.usageMap) {
104
+ $dara.Model.validateMap(this.usageMap);
105
+ }
106
+ super.validate();
107
+ }
108
+ constructor(map) {
109
+ super(map);
110
+ }
111
+ }
112
+ exports.UpdateDisplayKnowledgeResponseBodyData = UpdateDisplayKnowledgeResponseBodyData;
113
+ class UpdateDisplayKnowledgeResponseBody extends $dara.Model {
114
+ static names() {
115
+ return {
116
+ code: 'Code',
117
+ data: 'Data',
118
+ message: 'Message',
119
+ requestId: 'RequestId',
120
+ success: 'Success',
121
+ };
122
+ }
123
+ static types() {
124
+ return {
125
+ code: 'string',
126
+ data: UpdateDisplayKnowledgeResponseBodyData,
127
+ message: 'string',
128
+ requestId: 'string',
129
+ success: 'boolean',
130
+ };
131
+ }
132
+ validate() {
133
+ if (this.data && typeof this.data.validate === 'function') {
134
+ this.data.validate();
135
+ }
136
+ super.validate();
137
+ }
138
+ constructor(map) {
139
+ super(map);
140
+ }
141
+ }
142
+ exports.UpdateDisplayKnowledgeResponseBody = UpdateDisplayKnowledgeResponseBody;
143
+ //# sourceMappingURL=UpdateDisplayKnowledgeResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateDisplayKnowledgeResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateDisplayKnowledgeResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAyD5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YACh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remarks
5
+ * The knowledge base ID.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * rag_xxx
11
+ */
12
+ ragId?: string;
13
+ /**
14
+ * @remarks
15
+ * The records to update. A maximum of 500 records can be specified.
16
+ *
17
+ * This parameter is required.
18
+ */
19
+ recordsShrink?: string;
20
+ static names(): {
21
+ [key: string]: string;
22
+ };
23
+ static types(): {
24
+ [key: string]: any;
25
+ };
26
+ validate(): void;
27
+ constructor(map?: {
28
+ [key: string]: any;
29
+ });
30
+ }
@@ -0,0 +1,60 @@
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.UpdateDisplayKnowledgeShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateDisplayKnowledgeShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ ragId: 'RagId',
43
+ recordsShrink: 'Records',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ ragId: 'string',
49
+ recordsShrink: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.UpdateDisplayKnowledgeShrinkRequest = UpdateDisplayKnowledgeShrinkRequest;
60
+ //# sourceMappingURL=UpdateDisplayKnowledgeShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateDisplayKnowledgeShrinkRequest.js","sourceRoot":"","sources":["../../src/models/UpdateDisplayKnowledgeShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAkBlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,aAAa,EAAE,SAAS;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,aAAa,EAAE,QAAQ;SACxB,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;AAvCD,kFAuCC"}
@@ -2,14 +2,14 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class VideoTranslationRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of translation features. Valid values: speech and visual. You can select both. At least one feature is required. Duplicate values are not accepted.
5
+ * The list of translation features. Valid values: `speech` and `visual`. You can select both. At least one feature must be specified. Duplicate values are not allowed.
6
6
  *
7
7
  * This parameter is required.
8
8
  */
9
9
  capabilities?: string[];
10
10
  /**
11
11
  * @remarks
12
- * Specifies whether to enable the quality check for on-screen text processing. Default value: false. The quality check is enabled when visual is included and this parameter is explicitly set to true. If only speech is selected, this parameter is ignored, no quality check is performed, no quality check fields are returned, and no errors are reported due to this parameter. Enabling the quality check may increase the waiting time. Do not enable it unless necessary.
12
+ * Specifies whether to enable the quality check for on-screen text processing. Default value: `false`. The quality check is enabled only when `visual` is included and this parameter is explicitly set to `true`. If only `speech` is selected, this parameter is ignored. No quality check is performed, no quality check fields are returned, and no errors are reported due to this parameter. Enabling the quality check may increase the waiting time. Do not enable it unless necessary.
13
13
  *
14
14
  * @example
15
15
  * true
@@ -17,7 +17,7 @@ export declare class VideoTranslationRequest extends $dara.Model {
17
17
  enableQualityCheck?: boolean;
18
18
  /**
19
19
  * @remarks
20
- * Specifies whether to only erase the source language text in the video frames without translating it. This parameter is valid only when visual is included. Valid values: true (erases only) and false (translates the on-screen text). Default value: false.
20
+ * Specifies whether to only erase the source language text on the screen without translating it. This parameter is valid only when `visual` is included. Valid values: `true` (only erases the text) and `false` (translates the on-screen text). Default value: `false`.
21
21
  *
22
22
  * @example
23
23
  * true
@@ -25,7 +25,7 @@ export declare class VideoTranslationRequest extends $dara.Model {
25
25
  eraseOnly?: boolean;
26
26
  /**
27
27
  * @remarks
28
- * Specifies whether to erase brand logos. This parameter is valid only when visual is included. Valid values: true (erases brand logos) and false (retains logos). Default value: false. This parameter is independent of eraseOnly.
28
+ * Specifies whether to remove the brand logo. This parameter is valid only when `visual` is included. Valid values: `true` (removes the brand logo) and `false` (retains the logo). Default value: `false`. This parameter is independent of `EraseOnly`.
29
29
  *
30
30
  * @example
31
31
  * true
@@ -41,7 +41,7 @@ export declare class VideoTranslationRequest extends $dara.Model {
41
41
  sourceLanguage?: string;
42
42
  /**
43
43
  * @remarks
44
- * The subtitle processing mode. This parameter is valid only when speech is included. Valid values: erase (erases only the original subtitles) and replace (erases the original subtitles and adds new subtitles). If this parameter is omitted, the original subtitles are not processed and no new subtitles are added.
44
+ * The subtitle processing mode. This parameter is valid only when `speech` is included. Valid values: `erase` (removes only the original subtitles) and `replace` (removes the original subtitles and adds new subtitles). If this parameter is omitted, the original subtitles are not processed and no new subtitles are added.
45
45
  *
46
46
  * @example
47
47
  * erase
@@ -57,7 +57,7 @@ export declare class VideoTranslationRequest extends $dara.Model {
57
57
  targetLanguage?: string;
58
58
  /**
59
59
  * @remarks
60
- * The URL of the video. Supported formats: MP4 and MOV. Maximum size: 200 MB.
60
+ * The video URL. Supported formats: MP4 and MOV. Maximum size: 200 MB.
61
61
  *
62
62
  * This parameter is required.
63
63
  *
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class VideoTranslationResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the asynchronous task, which is used for subsequent queries.
5
+ * The ID of the asynchronous task. You can use this ID for subsequent queries.
6
6
  *
7
7
  * @example
8
8
  * 0ea3b66e88a543658520c994f08896a0
@@ -30,12 +30,12 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The submission result of the asynchronous task.
33
+ * The result of the asynchronous task submission.
34
34
  */
35
35
  data?: VideoTranslationResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The description message.
38
+ * The description.
39
39
  *
40
40
  * @example
41
41
  * Translation processing
@@ -51,7 +51,7 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values: true (successful) and false (failed).
54
+ * Indicates whether the call is successful. Valid values: `true` (successful) and `false` (failed).
55
55
  *
56
56
  * @example
57
57
  * True
@@ -2,14 +2,14 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class VideoTranslationShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of translation features. Valid values: speech and visual. You can select both. At least one feature is required. Duplicate values are not accepted.
5
+ * The list of translation features. Valid values: `speech` and `visual`. You can select both. At least one feature must be specified. Duplicate values are not allowed.
6
6
  *
7
7
  * This parameter is required.
8
8
  */
9
9
  capabilitiesShrink?: string;
10
10
  /**
11
11
  * @remarks
12
- * Specifies whether to enable the quality check for on-screen text processing. Default value: false. The quality check is enabled when visual is included and this parameter is explicitly set to true. If only speech is selected, this parameter is ignored, no quality check is performed, no quality check fields are returned, and no errors are reported due to this parameter. Enabling the quality check may increase the waiting time. Do not enable it unless necessary.
12
+ * Specifies whether to enable the quality check for on-screen text processing. Default value: `false`. The quality check is enabled only when `visual` is included and this parameter is explicitly set to `true`. If only `speech` is selected, this parameter is ignored. No quality check is performed, no quality check fields are returned, and no errors are reported due to this parameter. Enabling the quality check may increase the waiting time. Do not enable it unless necessary.
13
13
  *
14
14
  * @example
15
15
  * true
@@ -17,7 +17,7 @@ export declare class VideoTranslationShrinkRequest extends $dara.Model {
17
17
  enableQualityCheck?: boolean;
18
18
  /**
19
19
  * @remarks
20
- * Specifies whether to only erase the source language text in the video frames without translating it. This parameter is valid only when visual is included. Valid values: true (erases only) and false (translates the on-screen text). Default value: false.
20
+ * Specifies whether to only erase the source language text on the screen without translating it. This parameter is valid only when `visual` is included. Valid values: `true` (only erases the text) and `false` (translates the on-screen text). Default value: `false`.
21
21
  *
22
22
  * @example
23
23
  * true
@@ -25,7 +25,7 @@ export declare class VideoTranslationShrinkRequest extends $dara.Model {
25
25
  eraseOnly?: boolean;
26
26
  /**
27
27
  * @remarks
28
- * Specifies whether to erase brand logos. This parameter is valid only when visual is included. Valid values: true (erases brand logos) and false (retains logos). Default value: false. This parameter is independent of eraseOnly.
28
+ * Specifies whether to remove the brand logo. This parameter is valid only when `visual` is included. Valid values: `true` (removes the brand logo) and `false` (retains the logo). Default value: `false`. This parameter is independent of `EraseOnly`.
29
29
  *
30
30
  * @example
31
31
  * true
@@ -41,7 +41,7 @@ export declare class VideoTranslationShrinkRequest extends $dara.Model {
41
41
  sourceLanguage?: string;
42
42
  /**
43
43
  * @remarks
44
- * The subtitle processing mode. This parameter is valid only when speech is included. Valid values: erase (erases only the original subtitles) and replace (erases the original subtitles and adds new subtitles). If this parameter is omitted, the original subtitles are not processed and no new subtitles are added.
44
+ * The subtitle processing mode. This parameter is valid only when `speech` is included. Valid values: `erase` (removes only the original subtitles) and `replace` (removes the original subtitles and adds new subtitles). If this parameter is omitted, the original subtitles are not processed and no new subtitles are added.
45
45
  *
46
46
  * @example
47
47
  * erase
@@ -57,7 +57,7 @@ export declare class VideoTranslationShrinkRequest extends $dara.Model {
57
57
  targetLanguage?: string;
58
58
  /**
59
59
  * @remarks
60
- * The URL of the video. Supported formats: MP4 and MOV. Maximum size: 200 MB.
60
+ * The video URL. Supported formats: MP4 and MOV. Maximum size: 200 MB.
61
61
  *
62
62
  * This parameter is required.
63
63
  *
@@ -1,3 +1,6 @@
1
+ export { AddDisplayKnowledgeRequestRecords } from './AddDisplayKnowledgeRequest';
2
+ export { AddDisplayKnowledgeResponseBodyDataResults } from './AddDisplayKnowledgeResponseBody';
3
+ export { AddDisplayKnowledgeResponseBodyData } from './AddDisplayKnowledgeResponseBody';
1
4
  export { AiTryOnResponseBodyDataUsageMap } from './AiTryOnResponseBody';
2
5
  export { AiTryOnResponseBodyData } from './AiTryOnResponseBody';
3
6
  export { AssetOptimizeLiteResponseBodyData } from './AssetOptimizeLiteResponseBody';
@@ -6,6 +9,8 @@ export { CategoryAttributeMatchResponseBodyDataAttributes } from './CategoryAttr
6
9
  export { CategoryAttributeMatchResponseBodyDataUsageMap } from './CategoryAttributeMatchResponseBody';
7
10
  export { CategoryAttributeMatchResponseBodyData } from './CategoryAttributeMatchResponseBody';
8
11
  export { CategoryMatchResponseBodyData } from './CategoryMatchResponseBody';
12
+ export { DeleteDisplayKnowledgeResponseBodyDataResults } from './DeleteDisplayKnowledgeResponseBody';
13
+ export { DeleteDisplayKnowledgeResponseBodyData } from './DeleteDisplayKnowledgeResponseBody';
9
14
  export { DiduiAreaDeductionRequestProductsBoxes } from './DiduiAreaDeductionRequest';
10
15
  export { DiduiAreaDeductionRequestProducts } from './DiduiAreaDeductionRequest';
11
16
  export { DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel } from './DiduiAreaDeductionResponseBody';
@@ -95,6 +100,8 @@ export { ProductHotspotDetectionResponseBodyDataProductsBoxes } from './ProductH
95
100
  export { ProductHotspotDetectionResponseBodyDataProducts } from './ProductHotspotDetectionResponseBody';
96
101
  export { ProductHotspotDetectionResponseBodyData } from './ProductHotspotDetectionResponseBody';
97
102
  export { QueryAsyncTaskResultResponseBodyData } from './QueryAsyncTaskResultResponseBody';
103
+ export { QueryDisplayKnowledgeResponseBodyDataRecords } from './QueryDisplayKnowledgeResponseBody';
104
+ export { QueryDisplayKnowledgeResponseBodyData } from './QueryDisplayKnowledgeResponseBody';
98
105
  export { SizeChartDetectResponseBodyData } from './SizeChartDetectResponseBody';
99
106
  export { SizeChartExtractResponseBodyData } from './SizeChartExtractResponseBody';
100
107
  export { SizeChartExtractAsyncResponseBodyData } from './SizeChartExtractAsyncResponseBody';
@@ -108,6 +115,9 @@ export { TextCorrectResponseBodyData } from './TextCorrectResponseBody';
108
115
  export { TextTranslateResponseBodyDataTranslations } from './TextTranslateResponseBody';
109
116
  export { TextTranslateResponseBodyData } from './TextTranslateResponseBody';
110
117
  export { TextTranslateAsyncResponseBodyData } from './TextTranslateAsyncResponseBody';
118
+ export { UpdateDisplayKnowledgeRequestRecords } from './UpdateDisplayKnowledgeRequest';
119
+ export { UpdateDisplayKnowledgeResponseBodyDataResults } from './UpdateDisplayKnowledgeResponseBody';
120
+ export { UpdateDisplayKnowledgeResponseBodyData } from './UpdateDisplayKnowledgeResponseBody';
111
121
  export { VideoGenerationRequestInputAssetBindings } from './VideoGenerationRequest';
112
122
  export { VideoGenerationRequestInput } from './VideoGenerationRequest';
113
123
  export { VideoGenerationRequestIntent } from './VideoGenerationRequest';
@@ -116,6 +126,10 @@ export { VideoGenerationResponseBodyData } from './VideoGenerationResponseBody';
116
126
  export { VideoTranslationResponseBodyData } from './VideoTranslationResponseBody';
117
127
  export { VirtualTryOnResponseBodyData } from './VirtualTryOnResponseBody';
118
128
  export { VisionFlowResponseBodyData } from './VisionFlowResponseBody';
129
+ export { AddDisplayKnowledgeRequest } from './AddDisplayKnowledgeRequest';
130
+ export { AddDisplayKnowledgeShrinkRequest } from './AddDisplayKnowledgeShrinkRequest';
131
+ export { AddDisplayKnowledgeResponseBody } from './AddDisplayKnowledgeResponseBody';
132
+ export { AddDisplayKnowledgeResponse } from './AddDisplayKnowledgeResponse';
119
133
  export { AiTryOnRequest } from './AiTryOnRequest';
120
134
  export { AiTryOnResponseBody } from './AiTryOnResponseBody';
121
135
  export { AiTryOnResponse } from './AiTryOnResponse';
@@ -133,6 +147,10 @@ export { CategoryAttributeMatchResponse } from './CategoryAttributeMatchResponse
133
147
  export { CategoryMatchRequest } from './CategoryMatchRequest';
134
148
  export { CategoryMatchResponseBody } from './CategoryMatchResponseBody';
135
149
  export { CategoryMatchResponse } from './CategoryMatchResponse';
150
+ export { DeleteDisplayKnowledgeRequest } from './DeleteDisplayKnowledgeRequest';
151
+ export { DeleteDisplayKnowledgeShrinkRequest } from './DeleteDisplayKnowledgeShrinkRequest';
152
+ export { DeleteDisplayKnowledgeResponseBody } from './DeleteDisplayKnowledgeResponseBody';
153
+ export { DeleteDisplayKnowledgeResponse } from './DeleteDisplayKnowledgeResponse';
136
154
  export { DiduiAreaDeductionRequest } from './DiduiAreaDeductionRequest';
137
155
  export { DiduiAreaDeductionShrinkRequest } from './DiduiAreaDeductionShrinkRequest';
138
156
  export { DiduiAreaDeductionResponseBody } from './DiduiAreaDeductionResponseBody';
@@ -244,6 +262,10 @@ export { ProductHotspotDetectionResponse } from './ProductHotspotDetectionRespon
244
262
  export { QueryAsyncTaskResultRequest } from './QueryAsyncTaskResultRequest';
245
263
  export { QueryAsyncTaskResultResponseBody } from './QueryAsyncTaskResultResponseBody';
246
264
  export { QueryAsyncTaskResultResponse } from './QueryAsyncTaskResultResponse';
265
+ export { QueryDisplayKnowledgeRequest } from './QueryDisplayKnowledgeRequest';
266
+ export { QueryDisplayKnowledgeShrinkRequest } from './QueryDisplayKnowledgeShrinkRequest';
267
+ export { QueryDisplayKnowledgeResponseBody } from './QueryDisplayKnowledgeResponseBody';
268
+ export { QueryDisplayKnowledgeResponse } from './QueryDisplayKnowledgeResponse';
247
269
  export { SizeChartDetectRequest } from './SizeChartDetectRequest';
248
270
  export { SizeChartDetectResponseBody } from './SizeChartDetectResponseBody';
249
271
  export { SizeChartDetectResponse } from './SizeChartDetectResponse';
@@ -272,6 +294,10 @@ export { TextTranslateAsyncRequest } from './TextTranslateAsyncRequest';
272
294
  export { TextTranslateAsyncShrinkRequest } from './TextTranslateAsyncShrinkRequest';
273
295
  export { TextTranslateAsyncResponseBody } from './TextTranslateAsyncResponseBody';
274
296
  export { TextTranslateAsyncResponse } from './TextTranslateAsyncResponse';
297
+ export { UpdateDisplayKnowledgeRequest } from './UpdateDisplayKnowledgeRequest';
298
+ export { UpdateDisplayKnowledgeShrinkRequest } from './UpdateDisplayKnowledgeShrinkRequest';
299
+ export { UpdateDisplayKnowledgeResponseBody } from './UpdateDisplayKnowledgeResponseBody';
300
+ export { UpdateDisplayKnowledgeResponse } from './UpdateDisplayKnowledgeResponse';
275
301
  export { VideoGenerationRequest } from './VideoGenerationRequest';
276
302
  export { VideoGenerationShrinkRequest } from './VideoGenerationShrinkRequest';
277
303
  export { VideoGenerationResponseBody } from './VideoGenerationResponseBody';