@alicloud/eventbridge20200401 6.5.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/dist/client.d.ts +321 -6
  2. package/dist/client.js +1050 -216
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AgentBridgeRuntime.d.ts +77 -0
  5. package/dist/models/AgentBridgeRuntime.js +72 -0
  6. package/dist/models/AgentBridgeRuntime.js.map +1 -0
  7. package/dist/models/CreateEventStreamingRequest.d.ts +240 -119
  8. package/dist/models/CreateEventStreamingRequest.js +11 -0
  9. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  10. package/dist/models/CreateEventStreamingResponseBody.d.ts +3 -1
  11. package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
  12. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +6 -6
  13. package/dist/models/DeleteNamespaceRequest.d.ts +3 -3
  14. package/dist/models/DeleteNamespaceResponseBody.d.ts +4 -4
  15. package/dist/models/ExecutionResult.d.ts +9 -6
  16. package/dist/models/ExecutionResult.js.map +1 -1
  17. package/dist/models/GetEventStreamingRequest.d.ts +1 -1
  18. package/dist/models/GetEventStreamingResponseBody.d.ts +277 -154
  19. package/dist/models/GetEventStreamingResponseBody.js +6 -0
  20. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  21. package/dist/models/GetLumaCatalogRequest.d.ts +33 -0
  22. package/dist/models/GetLumaCatalogRequest.js +60 -0
  23. package/dist/models/GetLumaCatalogRequest.js.map +1 -0
  24. package/dist/models/GetLumaCatalogResponse.d.ts +19 -0
  25. package/dist/models/GetLumaCatalogResponse.js +69 -0
  26. package/dist/models/GetLumaCatalogResponse.js.map +1 -0
  27. package/dist/models/GetLumaCatalogResponseBody.d.ts +51 -0
  28. package/dist/models/GetLumaCatalogResponseBody.js +70 -0
  29. package/dist/models/GetLumaCatalogResponseBody.js.map +1 -0
  30. package/dist/models/GetLumaChunkRequest.d.ts +73 -0
  31. package/dist/models/GetLumaChunkRequest.js +68 -0
  32. package/dist/models/GetLumaChunkRequest.js.map +1 -0
  33. package/dist/models/GetLumaChunkResponse.d.ts +19 -0
  34. package/dist/models/GetLumaChunkResponse.js +69 -0
  35. package/dist/models/GetLumaChunkResponse.js.map +1 -0
  36. package/dist/models/GetLumaChunkResponseBody.d.ts +51 -0
  37. package/dist/models/GetLumaChunkResponseBody.js +70 -0
  38. package/dist/models/GetLumaChunkResponseBody.js.map +1 -0
  39. package/dist/models/GetLumaDocumentDownloadUrlRequest.d.ts +75 -0
  40. package/dist/models/GetLumaDocumentDownloadUrlRequest.js +68 -0
  41. package/dist/models/GetLumaDocumentDownloadUrlRequest.js.map +1 -0
  42. package/dist/models/GetLumaDocumentDownloadUrlResponse.d.ts +19 -0
  43. package/dist/models/GetLumaDocumentDownloadUrlResponse.js +69 -0
  44. package/dist/models/GetLumaDocumentDownloadUrlResponse.js.map +1 -0
  45. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.d.ts +78 -0
  46. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js +90 -0
  47. package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js.map +1 -0
  48. package/dist/models/GetLumaDocumentRequest.d.ts +63 -0
  49. package/dist/models/GetLumaDocumentRequest.js +66 -0
  50. package/dist/models/GetLumaDocumentRequest.js.map +1 -0
  51. package/dist/models/GetLumaDocumentResponse.d.ts +19 -0
  52. package/dist/models/GetLumaDocumentResponse.js +69 -0
  53. package/dist/models/GetLumaDocumentResponse.js.map +1 -0
  54. package/dist/models/GetLumaDocumentResponseBody.d.ts +51 -0
  55. package/dist/models/GetLumaDocumentResponseBody.js +70 -0
  56. package/dist/models/GetLumaDocumentResponseBody.js.map +1 -0
  57. package/dist/models/GetLumaKnowledgeBaseRequest.d.ts +53 -0
  58. package/dist/models/GetLumaKnowledgeBaseRequest.js +64 -0
  59. package/dist/models/GetLumaKnowledgeBaseRequest.js.map +1 -0
  60. package/dist/models/GetLumaKnowledgeBaseResponse.d.ts +19 -0
  61. package/dist/models/GetLumaKnowledgeBaseResponse.js +69 -0
  62. package/dist/models/GetLumaKnowledgeBaseResponse.js.map +1 -0
  63. package/dist/models/GetLumaKnowledgeBaseResponseBody.d.ts +51 -0
  64. package/dist/models/GetLumaKnowledgeBaseResponseBody.js +70 -0
  65. package/dist/models/GetLumaKnowledgeBaseResponseBody.js.map +1 -0
  66. package/dist/models/GetLumaNamespaceRequest.d.ts +43 -0
  67. package/dist/models/GetLumaNamespaceRequest.js +62 -0
  68. package/dist/models/GetLumaNamespaceRequest.js.map +1 -0
  69. package/dist/models/GetLumaNamespaceResponse.d.ts +19 -0
  70. package/dist/models/GetLumaNamespaceResponse.js +69 -0
  71. package/dist/models/GetLumaNamespaceResponse.js.map +1 -0
  72. package/dist/models/GetLumaNamespaceResponseBody.d.ts +51 -0
  73. package/dist/models/GetLumaNamespaceResponseBody.js +70 -0
  74. package/dist/models/GetLumaNamespaceResponseBody.js.map +1 -0
  75. package/dist/models/GetLumaTableRequest.d.ts +53 -0
  76. package/dist/models/GetLumaTableRequest.js +64 -0
  77. package/dist/models/GetLumaTableRequest.js.map +1 -0
  78. package/dist/models/GetLumaTableResponse.d.ts +19 -0
  79. package/dist/models/GetLumaTableResponse.js +69 -0
  80. package/dist/models/GetLumaTableResponse.js.map +1 -0
  81. package/dist/models/GetLumaTableResponseBody.d.ts +51 -0
  82. package/dist/models/GetLumaTableResponseBody.js +70 -0
  83. package/dist/models/GetLumaTableResponseBody.js.map +1 -0
  84. package/dist/models/KnowledgeBase.d.ts +281 -0
  85. package/dist/models/KnowledgeBase.js +176 -0
  86. package/dist/models/KnowledgeBase.js.map +1 -0
  87. package/dist/models/KnowledgeBaseChunk.d.ts +93 -0
  88. package/dist/models/KnowledgeBaseChunk.js +76 -0
  89. package/dist/models/KnowledgeBaseChunk.js.map +1 -0
  90. package/dist/models/KnowledgeBaseDocument.d.ts +249 -0
  91. package/dist/models/KnowledgeBaseDocument.js +164 -0
  92. package/dist/models/KnowledgeBaseDocument.js.map +1 -0
  93. package/dist/models/KnowledgeBaseSearchChunk.d.ts +118 -0
  94. package/dist/models/KnowledgeBaseSearchChunk.js +100 -0
  95. package/dist/models/KnowledgeBaseSearchChunk.js.map +1 -0
  96. package/dist/models/ListEventStreamingsRequest.d.ts +3 -3
  97. package/dist/models/ListEventStreamingsResponseBody.d.ts +171 -166
  98. package/dist/models/ListEventStreamingsResponseBody.js +6 -0
  99. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  100. package/dist/models/ListLumaCatalogsRequest.d.ts +23 -0
  101. package/dist/models/ListLumaCatalogsRequest.js +58 -0
  102. package/dist/models/ListLumaCatalogsRequest.js.map +1 -0
  103. package/dist/models/ListLumaCatalogsResponse.d.ts +19 -0
  104. package/dist/models/ListLumaCatalogsResponse.js +69 -0
  105. package/dist/models/ListLumaCatalogsResponse.js.map +1 -0
  106. package/dist/models/ListLumaCatalogsResponseBody.d.ts +71 -0
  107. package/dist/models/ListLumaCatalogsResponseBody.js +92 -0
  108. package/dist/models/ListLumaCatalogsResponseBody.js.map +1 -0
  109. package/dist/models/ListLumaChunksRequest.d.ts +93 -0
  110. package/dist/models/ListLumaChunksRequest.js +74 -0
  111. package/dist/models/ListLumaChunksRequest.js.map +1 -0
  112. package/dist/models/ListLumaChunksResponse.d.ts +19 -0
  113. package/dist/models/ListLumaChunksResponse.js +69 -0
  114. package/dist/models/ListLumaChunksResponse.js.map +1 -0
  115. package/dist/models/ListLumaChunksResponseBody.d.ts +87 -0
  116. package/dist/models/ListLumaChunksResponseBody.js +96 -0
  117. package/dist/models/ListLumaChunksResponseBody.js.map +1 -0
  118. package/dist/models/ListLumaDocumentsRequest.d.ts +85 -0
  119. package/dist/models/ListLumaDocumentsRequest.js +72 -0
  120. package/dist/models/ListLumaDocumentsRequest.js.map +1 -0
  121. package/dist/models/ListLumaDocumentsResponse.d.ts +19 -0
  122. package/dist/models/ListLumaDocumentsResponse.js +69 -0
  123. package/dist/models/ListLumaDocumentsResponse.js.map +1 -0
  124. package/dist/models/ListLumaDocumentsResponseBody.d.ts +87 -0
  125. package/dist/models/ListLumaDocumentsResponseBody.js +96 -0
  126. package/dist/models/ListLumaDocumentsResponseBody.js.map +1 -0
  127. package/dist/models/ListLumaKnowledgeBasesRequest.d.ts +43 -0
  128. package/dist/models/ListLumaKnowledgeBasesRequest.js +62 -0
  129. package/dist/models/ListLumaKnowledgeBasesRequest.js.map +1 -0
  130. package/dist/models/ListLumaKnowledgeBasesResponse.d.ts +19 -0
  131. package/dist/models/ListLumaKnowledgeBasesResponse.js +69 -0
  132. package/dist/models/ListLumaKnowledgeBasesResponse.js.map +1 -0
  133. package/dist/models/ListLumaKnowledgeBasesResponseBody.d.ts +71 -0
  134. package/dist/models/ListLumaKnowledgeBasesResponseBody.js +92 -0
  135. package/dist/models/ListLumaKnowledgeBasesResponseBody.js.map +1 -0
  136. package/dist/models/ListLumaNamespacesRequest.d.ts +33 -0
  137. package/dist/models/ListLumaNamespacesRequest.js +60 -0
  138. package/dist/models/ListLumaNamespacesRequest.js.map +1 -0
  139. package/dist/models/ListLumaNamespacesResponse.d.ts +19 -0
  140. package/dist/models/ListLumaNamespacesResponse.js +69 -0
  141. package/dist/models/ListLumaNamespacesResponse.js.map +1 -0
  142. package/dist/models/ListLumaNamespacesResponseBody.d.ts +71 -0
  143. package/dist/models/ListLumaNamespacesResponseBody.js +92 -0
  144. package/dist/models/ListLumaNamespacesResponseBody.js.map +1 -0
  145. package/dist/models/ListLumaTablesRequest.d.ts +43 -0
  146. package/dist/models/ListLumaTablesRequest.js +62 -0
  147. package/dist/models/ListLumaTablesRequest.js.map +1 -0
  148. package/dist/models/ListLumaTablesResponse.d.ts +19 -0
  149. package/dist/models/ListLumaTablesResponse.js +69 -0
  150. package/dist/models/ListLumaTablesResponse.js.map +1 -0
  151. package/dist/models/ListLumaTablesResponseBody.d.ts +71 -0
  152. package/dist/models/ListLumaTablesResponseBody.js +92 -0
  153. package/dist/models/ListLumaTablesResponseBody.js.map +1 -0
  154. package/dist/models/LumaTable.d.ts +138 -0
  155. package/dist/models/LumaTable.js +122 -0
  156. package/dist/models/LumaTable.js.map +1 -0
  157. package/dist/models/MetadataSchemaField.d.ts +49 -0
  158. package/dist/models/MetadataSchemaField.js +64 -0
  159. package/dist/models/MetadataSchemaField.js.map +1 -0
  160. package/dist/models/PollAskResultResponseBody.d.ts +4 -4
  161. package/dist/models/QueryAskLumaLogRequest.d.ts +2 -2
  162. package/dist/models/QueryLumaWithSqlrequest.d.ts +41 -0
  163. package/dist/models/QueryLumaWithSqlrequest.js +62 -0
  164. package/dist/models/QueryLumaWithSqlrequest.js.map +1 -0
  165. package/dist/models/QueryLumaWithSqlresponse.d.ts +19 -0
  166. package/dist/models/QueryLumaWithSqlresponse.js +69 -0
  167. package/dist/models/QueryLumaWithSqlresponse.js.map +1 -0
  168. package/dist/models/QueryLumaWithSqlresponseBody.d.ts +51 -0
  169. package/dist/models/QueryLumaWithSqlresponseBody.js +70 -0
  170. package/dist/models/QueryLumaWithSqlresponseBody.js.map +1 -0
  171. package/dist/models/SchemaColumn.d.ts +2 -2
  172. package/dist/models/SearchLumaKnowledgeBaseRequest.d.ts +95 -0
  173. package/dist/models/SearchLumaKnowledgeBaseRequest.js +74 -0
  174. package/dist/models/SearchLumaKnowledgeBaseRequest.js.map +1 -0
  175. package/dist/models/SearchLumaKnowledgeBaseResponse.d.ts +19 -0
  176. package/dist/models/SearchLumaKnowledgeBaseResponse.js +69 -0
  177. package/dist/models/SearchLumaKnowledgeBaseResponse.js.map +1 -0
  178. package/dist/models/SearchLumaKnowledgeBaseResponseBody.d.ts +79 -0
  179. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js +94 -0
  180. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js.map +1 -0
  181. package/dist/models/SinkKnowledgeBaseParameters.d.ts +37 -0
  182. package/dist/models/SinkKnowledgeBaseParameters.js +62 -0
  183. package/dist/models/SinkKnowledgeBaseParameters.js.map +1 -0
  184. package/dist/models/SourceFeiShuDocsParameters.d.ts +28 -0
  185. package/dist/models/SourceFeiShuDocsParameters.js.map +1 -1
  186. package/dist/models/UpdateEventStreamingRequest.d.ts +302 -161
  187. package/dist/models/UpdateEventStreamingRequest.js +11 -0
  188. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  189. package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -4
  190. package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
  191. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +4 -4
  192. package/dist/models/model.d.ts +70 -0
  193. package/dist/models/model.js +164 -22
  194. package/dist/models/model.js.map +1 -1
  195. package/package.json +1 -1
  196. package/src/client.ts +1149 -217
  197. package/src/models/AgentBridgeRuntime.ts +104 -0
  198. package/src/models/CreateEventStreamingRequest.ts +250 -119
  199. package/src/models/CreateEventStreamingResponseBody.ts +3 -1
  200. package/src/models/CreateEventStreamingShrinkRequest.ts +6 -6
  201. package/src/models/DeleteNamespaceRequest.ts +3 -3
  202. package/src/models/DeleteNamespaceResponseBody.ts +4 -4
  203. package/src/models/ExecutionResult.ts +9 -6
  204. package/src/models/GetEventStreamingRequest.ts +1 -1
  205. package/src/models/GetEventStreamingResponseBody.ts +282 -154
  206. package/src/models/GetLumaCatalogRequest.ts +48 -0
  207. package/src/models/GetLumaCatalogResponse.ts +40 -0
  208. package/src/models/GetLumaCatalogResponseBody.ts +75 -0
  209. package/src/models/GetLumaChunkRequest.ts +96 -0
  210. package/src/models/GetLumaChunkResponse.ts +40 -0
  211. package/src/models/GetLumaChunkResponseBody.ts +75 -0
  212. package/src/models/GetLumaDocumentDownloadUrlRequest.ts +98 -0
  213. package/src/models/GetLumaDocumentDownloadUrlResponse.ts +40 -0
  214. package/src/models/GetLumaDocumentDownloadUrlResponseBody.ts +114 -0
  215. package/src/models/GetLumaDocumentRequest.ts +84 -0
  216. package/src/models/GetLumaDocumentResponse.ts +40 -0
  217. package/src/models/GetLumaDocumentResponseBody.ts +75 -0
  218. package/src/models/GetLumaKnowledgeBaseRequest.ts +72 -0
  219. package/src/models/GetLumaKnowledgeBaseResponse.ts +40 -0
  220. package/src/models/GetLumaKnowledgeBaseResponseBody.ts +75 -0
  221. package/src/models/GetLumaNamespaceRequest.ts +60 -0
  222. package/src/models/GetLumaNamespaceResponse.ts +40 -0
  223. package/src/models/GetLumaNamespaceResponseBody.ts +75 -0
  224. package/src/models/GetLumaTableRequest.ts +72 -0
  225. package/src/models/GetLumaTableResponse.ts +40 -0
  226. package/src/models/GetLumaTableResponseBody.ts +75 -0
  227. package/src/models/KnowledgeBase.ts +384 -0
  228. package/src/models/KnowledgeBaseChunk.ts +124 -0
  229. package/src/models/KnowledgeBaseDocument.ts +341 -0
  230. package/src/models/KnowledgeBaseSearchChunk.ts +164 -0
  231. package/src/models/ListEventStreamingsRequest.ts +3 -3
  232. package/src/models/ListEventStreamingsResponseBody.ts +177 -167
  233. package/src/models/ListLumaCatalogsRequest.ts +36 -0
  234. package/src/models/ListLumaCatalogsResponse.ts +40 -0
  235. package/src/models/ListLumaCatalogsResponseBody.ts +108 -0
  236. package/src/models/ListLumaChunksRequest.ts +122 -0
  237. package/src/models/ListLumaChunksResponse.ts +40 -0
  238. package/src/models/ListLumaChunksResponseBody.ts +128 -0
  239. package/src/models/ListLumaDocumentsRequest.ts +112 -0
  240. package/src/models/ListLumaDocumentsResponse.ts +40 -0
  241. package/src/models/ListLumaDocumentsResponseBody.ts +128 -0
  242. package/src/models/ListLumaKnowledgeBasesRequest.ts +60 -0
  243. package/src/models/ListLumaKnowledgeBasesResponse.ts +40 -0
  244. package/src/models/ListLumaKnowledgeBasesResponseBody.ts +108 -0
  245. package/src/models/ListLumaNamespacesRequest.ts +48 -0
  246. package/src/models/ListLumaNamespacesResponse.ts +40 -0
  247. package/src/models/ListLumaNamespacesResponseBody.ts +108 -0
  248. package/src/models/ListLumaTablesRequest.ts +60 -0
  249. package/src/models/ListLumaTablesResponse.ts +40 -0
  250. package/src/models/ListLumaTablesResponseBody.ts +108 -0
  251. package/src/models/LumaTable.ts +197 -0
  252. package/src/models/MetadataSchemaField.ts +68 -0
  253. package/src/models/PollAskResultResponseBody.ts +4 -4
  254. package/src/models/QueryAskLumaLogRequest.ts +2 -2
  255. package/src/models/QueryLumaWithSqlrequest.ts +58 -0
  256. package/src/models/QueryLumaWithSqlresponse.ts +40 -0
  257. package/src/models/QueryLumaWithSqlresponseBody.ts +75 -0
  258. package/src/models/SchemaColumn.ts +2 -2
  259. package/src/models/SearchLumaKnowledgeBaseRequest.ts +124 -0
  260. package/src/models/SearchLumaKnowledgeBaseResponse.ts +40 -0
  261. package/src/models/SearchLumaKnowledgeBaseResponseBody.ts +118 -0
  262. package/src/models/SinkKnowledgeBaseParameters.ts +54 -0
  263. package/src/models/SourceFeiShuDocsParameters.ts +28 -0
  264. package/src/models/UpdateEventStreamingRequest.ts +312 -161
  265. package/src/models/UpdateEventStreamingResponseBody.ts +2 -4
  266. package/src/models/UpdateEventStreamingShrinkRequest.ts +4 -4
  267. package/src/models/model.ts +70 -0
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLumaCatalogRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the Agent.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * my_agent
14
+ */
15
+ agentName?: string;
16
+ /**
17
+ * @remarks
18
+ * The name of the data catalog bound to the Agent. You can call ListLumaCatalogs to obtain the name.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * my_catalog
24
+ */
25
+ name?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ agentName: 'AgentName',
29
+ name: 'Name',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ agentName: 'string',
36
+ name: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetLumaCatalogResponseBody } from "./GetLumaCatalogResponseBody";
4
+
5
+
6
+ export class GetLumaCatalogResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetLumaCatalogResponseBody;
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: GetLumaCatalogResponseBody,
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,75 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { Catalog } from "./Catalog";
4
+
5
+
6
+ export class GetLumaCatalogResponseBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The response code. A value of Success indicates a successful call. A specific error code is returned if the call fails.
10
+ *
11
+ * @example
12
+ * Success
13
+ */
14
+ code?: string;
15
+ /**
16
+ * @remarks
17
+ * The details of the data catalog bound to the Agent.
18
+ */
19
+ data?: Catalog;
20
+ /**
21
+ * @remarks
22
+ * The message returned by the operation. The value is Operation success when the call succeeds, or a specific error description when the call fails.
23
+ *
24
+ * @example
25
+ * Operation success
26
+ */
27
+ message?: string;
28
+ /**
29
+ * @remarks
30
+ * The unique identifier of the request, used for troubleshooting and ticket submission.
31
+ *
32
+ * @example
33
+ * 34AD682D-5B91-5773-8132-AA38C130****
34
+ */
35
+ requestId?: string;
36
+ /**
37
+ * @remarks
38
+ * Indicates whether the call was successful. A value of true indicates success.
39
+ *
40
+ * @example
41
+ * true
42
+ */
43
+ success?: boolean;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ code: 'Code',
47
+ data: 'Data',
48
+ message: 'Message',
49
+ requestId: 'RequestId',
50
+ success: 'Success',
51
+ };
52
+ }
53
+
54
+ static types(): { [key: string]: any } {
55
+ return {
56
+ code: 'string',
57
+ data: Catalog,
58
+ message: 'string',
59
+ requestId: 'string',
60
+ success: 'boolean',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ if(this.data && typeof (this.data as any).validate === 'function') {
66
+ (this.data as any).validate();
67
+ }
68
+ super.validate();
69
+ }
70
+
71
+ constructor(map?: { [key: string]: any }) {
72
+ super(map);
73
+ }
74
+ }
75
+
@@ -0,0 +1,96 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLumaChunkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the Agent.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * my_agent
14
+ */
15
+ agentName?: string;
16
+ /**
17
+ * @remarks
18
+ * The name of the data catalog bound to the Agent. You can call ListLumaCatalogs to obtain this value.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * my_catalog
24
+ */
25
+ catalog?: string;
26
+ /**
27
+ * @remarks
28
+ * The sequence number of the text chunk within the document, starting from 0. You can call ListLumaChunks to obtain this value.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * 0
34
+ */
35
+ chunkSeq?: number;
36
+ /**
37
+ * @remarks
38
+ * The unique identifier of the document. You can call ListLumaDocuments to obtain this value.
39
+ *
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * doc-a1b2c3d4
44
+ */
45
+ documentId?: string;
46
+ /**
47
+ * @remarks
48
+ * The name of the knowledge base bound to the Agent. You can call ListLumaKnowledgeBases to obtain this value.
49
+ *
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * my-knowledge-base
54
+ */
55
+ knowledgeBaseName?: string;
56
+ /**
57
+ * @remarks
58
+ * The name of the namespace bound to the Agent. You can call ListLumaNamespaces to obtain this value.
59
+ *
60
+ * This parameter is required.
61
+ *
62
+ * @example
63
+ * my_namespace
64
+ */
65
+ namespace?: string;
66
+ static names(): { [key: string]: string } {
67
+ return {
68
+ agentName: 'AgentName',
69
+ catalog: 'Catalog',
70
+ chunkSeq: 'ChunkSeq',
71
+ documentId: 'DocumentId',
72
+ knowledgeBaseName: 'KnowledgeBaseName',
73
+ namespace: 'Namespace',
74
+ };
75
+ }
76
+
77
+ static types(): { [key: string]: any } {
78
+ return {
79
+ agentName: 'string',
80
+ catalog: 'string',
81
+ chunkSeq: 'number',
82
+ documentId: 'string',
83
+ knowledgeBaseName: 'string',
84
+ namespace: 'string',
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ super.validate();
90
+ }
91
+
92
+ constructor(map?: { [key: string]: any }) {
93
+ super(map);
94
+ }
95
+ }
96
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetLumaChunkResponseBody } from "./GetLumaChunkResponseBody";
4
+
5
+
6
+ export class GetLumaChunkResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetLumaChunkResponseBody;
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: GetLumaChunkResponseBody,
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,75 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { KnowledgeBaseChunk } from "./KnowledgeBaseChunk";
4
+
5
+
6
+ export class GetLumaChunkResponseBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The response code of the operation. A value of Success indicates that the call succeeds. Otherwise, a specific error code is returned.
10
+ *
11
+ * @example
12
+ * Success
13
+ */
14
+ code?: string;
15
+ /**
16
+ * @remarks
17
+ * The chunk details, including the body content and position.
18
+ */
19
+ data?: KnowledgeBaseChunk;
20
+ /**
21
+ * @remarks
22
+ * The message returned by the operation. The value is Operation success if the call succeeds, or a specific error description if the call fails.
23
+ *
24
+ * @example
25
+ * Operation success
26
+ */
27
+ message?: string;
28
+ /**
29
+ * @remarks
30
+ * The unique identifier of the request, used for troubleshooting and ticket submission.
31
+ *
32
+ * @example
33
+ * 34AD682D-5B91-5773-8132-AA38C130****
34
+ */
35
+ requestId?: string;
36
+ /**
37
+ * @remarks
38
+ * Indicates whether the call was successful. A value of true indicates success.
39
+ *
40
+ * @example
41
+ * true
42
+ */
43
+ success?: boolean;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ code: 'Code',
47
+ data: 'Data',
48
+ message: 'Message',
49
+ requestId: 'RequestId',
50
+ success: 'Success',
51
+ };
52
+ }
53
+
54
+ static types(): { [key: string]: any } {
55
+ return {
56
+ code: 'string',
57
+ data: KnowledgeBaseChunk,
58
+ message: 'string',
59
+ requestId: 'string',
60
+ success: 'boolean',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ if(this.data && typeof (this.data as any).validate === 'function') {
66
+ (this.data as any).validate();
67
+ }
68
+ super.validate();
69
+ }
70
+
71
+ constructor(map?: { [key: string]: any }) {
72
+ super(map);
73
+ }
74
+ }
75
+
@@ -0,0 +1,98 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLumaDocumentDownloadUrlRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the Agent.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * my_agent
14
+ */
15
+ agentName?: string;
16
+ /**
17
+ * @remarks
18
+ * The name of the data catalog bound to the Agent. You can call ListLumaCatalogs to obtain this value.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * my_catalog
24
+ */
25
+ catalog?: string;
26
+ /**
27
+ * @remarks
28
+ * The unique identifier of the document. You can call ListLumaDocuments to obtain this value.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * doc-a1b2c3d4
34
+ */
35
+ documentId?: string;
36
+ /**
37
+ * @remarks
38
+ * The name of the knowledge base bound to the Agent. You can call ListLumaKnowledgeBases to obtain this value.
39
+ *
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * my-knowledge-base
44
+ */
45
+ knowledgeBaseName?: string;
46
+ /**
47
+ * @remarks
48
+ * The name of the namespace bound to the Agent. You can call ListLumaNamespaces to obtain this value.
49
+ *
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * my_namespace
54
+ */
55
+ namespace?: string;
56
+ /**
57
+ * @remarks
58
+ * Valid values:
59
+ * - public: public network.
60
+ * - vpc: internal network.
61
+ *
62
+ * Default value: public.
63
+ *
64
+ * @example
65
+ * public
66
+ */
67
+ networkType?: string;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ agentName: 'AgentName',
71
+ catalog: 'Catalog',
72
+ documentId: 'DocumentId',
73
+ knowledgeBaseName: 'KnowledgeBaseName',
74
+ namespace: 'Namespace',
75
+ networkType: 'NetworkType',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ agentName: 'string',
82
+ catalog: 'string',
83
+ documentId: 'string',
84
+ knowledgeBaseName: 'string',
85
+ namespace: 'string',
86
+ networkType: 'string',
87
+ };
88
+ }
89
+
90
+ validate() {
91
+ super.validate();
92
+ }
93
+
94
+ constructor(map?: { [key: string]: any }) {
95
+ super(map);
96
+ }
97
+ }
98
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetLumaDocumentDownloadUrlResponseBody } from "./GetLumaDocumentDownloadUrlResponseBody";
4
+
5
+
6
+ export class GetLumaDocumentDownloadUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetLumaDocumentDownloadUrlResponseBody;
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: GetLumaDocumentDownloadUrlResponseBody,
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,114 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLumaDocumentDownloadUrlResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The pre-signed download URL for the original document. The URL is valid for a limited period of time.
9
+ *
10
+ * @example
11
+ * https://my-bucket.oss-cn-hangzhou.aliyuncs.com/kb/doc-bp1xxxxxxxxxxxx?Expires=1788000000&Signature=xxxx
12
+ */
13
+ downloadUrl?: string;
14
+ /**
15
+ * @remarks
16
+ * The expiration time of the download URL in UTC.
17
+ *
18
+ * @example
19
+ * 2026-08-24T12:00:00Z
20
+ */
21
+ expireAt?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ downloadUrl: 'DownloadUrl',
25
+ expireAt: 'ExpireAt',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ downloadUrl: 'string',
32
+ expireAt: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class GetLumaDocumentDownloadUrlResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The response code. A value of Success indicates that the call succeeds. If the call fails, a specific error code is returned.
49
+ *
50
+ * @example
51
+ * Success
52
+ */
53
+ code?: string;
54
+ /**
55
+ * @remarks
56
+ * The pre-signed download URL information for the original document.
57
+ */
58
+ data?: GetLumaDocumentDownloadUrlResponseBodyData;
59
+ /**
60
+ * @remarks
61
+ * The message returned by the operation. The value is Operation success if the call succeeds, or a specific error description if the call fails.
62
+ *
63
+ * @example
64
+ * Operation success
65
+ */
66
+ message?: string;
67
+ /**
68
+ * @remarks
69
+ * The unique identifier of the request. Use this ID for troubleshooting or when submitting a ticket.
70
+ *
71
+ * @example
72
+ * 34AD682D-5B91-5773-8132-AA38C130****
73
+ */
74
+ requestId?: string;
75
+ /**
76
+ * @remarks
77
+ * Indicates whether the call is successful. A value of true indicates that the call succeeds.
78
+ *
79
+ * @example
80
+ * true
81
+ */
82
+ success?: boolean;
83
+ static names(): { [key: string]: string } {
84
+ return {
85
+ code: 'Code',
86
+ data: 'Data',
87
+ message: 'Message',
88
+ requestId: 'RequestId',
89
+ success: 'Success',
90
+ };
91
+ }
92
+
93
+ static types(): { [key: string]: any } {
94
+ return {
95
+ code: 'string',
96
+ data: GetLumaDocumentDownloadUrlResponseBodyData,
97
+ message: 'string',
98
+ requestId: 'string',
99
+ success: 'boolean',
100
+ };
101
+ }
102
+
103
+ validate() {
104
+ if(this.data && typeof (this.data as any).validate === 'function') {
105
+ (this.data as any).validate();
106
+ }
107
+ super.validate();
108
+ }
109
+
110
+ constructor(map?: { [key: string]: any }) {
111
+ super(map);
112
+ }
113
+ }
114
+
@@ -0,0 +1,84 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLumaDocumentRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the Agent.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * my_agent
14
+ */
15
+ agentName?: string;
16
+ /**
17
+ * @remarks
18
+ * The name of the data catalog bound to the Agent. You can call ListLumaCatalogs to obtain this value.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * my_catalog
24
+ */
25
+ catalog?: string;
26
+ /**
27
+ * @remarks
28
+ * The unique identifier of the document. You can call ListLumaDocuments to obtain this value.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * doc-a1b2c3d4
34
+ */
35
+ documentId?: string;
36
+ /**
37
+ * @remarks
38
+ * The name of the knowledge base bound to the Agent. You can call ListLumaKnowledgeBases to obtain this value.
39
+ *
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * my-knowledge-base
44
+ */
45
+ knowledgeBaseName?: string;
46
+ /**
47
+ * @remarks
48
+ * The name of the namespace bound to the Agent. You can call ListLumaNamespaces to obtain this value.
49
+ *
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * my_namespace
54
+ */
55
+ namespace?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ agentName: 'AgentName',
59
+ catalog: 'Catalog',
60
+ documentId: 'DocumentId',
61
+ knowledgeBaseName: 'KnowledgeBaseName',
62
+ namespace: 'Namespace',
63
+ };
64
+ }
65
+
66
+ static types(): { [key: string]: any } {
67
+ return {
68
+ agentName: 'string',
69
+ catalog: 'string',
70
+ documentId: 'string',
71
+ knowledgeBaseName: 'string',
72
+ namespace: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+