@alicloud/eventbridge20200401 6.4.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 (283) hide show
  1. package/dist/client.d.ts +342 -6
  2. package/dist/client.js +1101 -214
  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/PutEventsRequest.d.ts +118 -0
  162. package/dist/models/PutEventsRequest.js +98 -0
  163. package/dist/models/PutEventsRequest.js.map +1 -0
  164. package/dist/models/PutEventsResponse.d.ts +19 -0
  165. package/dist/models/PutEventsResponse.js +69 -0
  166. package/dist/models/PutEventsResponse.js.map +1 -0
  167. package/dist/models/PutEventsResponseBody.d.ts +119 -0
  168. package/dist/models/PutEventsResponseBody.js +118 -0
  169. package/dist/models/PutEventsResponseBody.js.map +1 -0
  170. package/dist/models/PutEventsShrinkRequest.d.ts +28 -0
  171. package/dist/models/PutEventsShrinkRequest.js +60 -0
  172. package/dist/models/PutEventsShrinkRequest.js.map +1 -0
  173. package/dist/models/QueryAskLumaLogRequest.d.ts +2 -2
  174. package/dist/models/QueryLumaWithSqlrequest.d.ts +41 -0
  175. package/dist/models/QueryLumaWithSqlrequest.js +62 -0
  176. package/dist/models/QueryLumaWithSqlrequest.js.map +1 -0
  177. package/dist/models/QueryLumaWithSqlresponse.d.ts +19 -0
  178. package/dist/models/QueryLumaWithSqlresponse.js +69 -0
  179. package/dist/models/QueryLumaWithSqlresponse.js.map +1 -0
  180. package/dist/models/QueryLumaWithSqlresponseBody.d.ts +51 -0
  181. package/dist/models/QueryLumaWithSqlresponseBody.js +70 -0
  182. package/dist/models/QueryLumaWithSqlresponseBody.js.map +1 -0
  183. package/dist/models/SchemaColumn.d.ts +2 -2
  184. package/dist/models/SearchLumaKnowledgeBaseRequest.d.ts +95 -0
  185. package/dist/models/SearchLumaKnowledgeBaseRequest.js +74 -0
  186. package/dist/models/SearchLumaKnowledgeBaseRequest.js.map +1 -0
  187. package/dist/models/SearchLumaKnowledgeBaseResponse.d.ts +19 -0
  188. package/dist/models/SearchLumaKnowledgeBaseResponse.js +69 -0
  189. package/dist/models/SearchLumaKnowledgeBaseResponse.js.map +1 -0
  190. package/dist/models/SearchLumaKnowledgeBaseResponseBody.d.ts +79 -0
  191. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js +94 -0
  192. package/dist/models/SearchLumaKnowledgeBaseResponseBody.js.map +1 -0
  193. package/dist/models/SinkKnowledgeBaseParameters.d.ts +37 -0
  194. package/dist/models/SinkKnowledgeBaseParameters.js +62 -0
  195. package/dist/models/SinkKnowledgeBaseParameters.js.map +1 -0
  196. package/dist/models/SourceFeiShuDocsParameters.d.ts +28 -0
  197. package/dist/models/SourceFeiShuDocsParameters.js.map +1 -1
  198. package/dist/models/UpdateEventStreamingRequest.d.ts +302 -161
  199. package/dist/models/UpdateEventStreamingRequest.js +11 -0
  200. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  201. package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -4
  202. package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
  203. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +4 -4
  204. package/dist/models/model.d.ts +77 -0
  205. package/dist/models/model.js +178 -22
  206. package/dist/models/model.js.map +1 -1
  207. package/package.json +1 -1
  208. package/src/client.ts +1206 -216
  209. package/src/models/AgentBridgeRuntime.ts +104 -0
  210. package/src/models/CreateEventStreamingRequest.ts +250 -119
  211. package/src/models/CreateEventStreamingResponseBody.ts +3 -1
  212. package/src/models/CreateEventStreamingShrinkRequest.ts +6 -6
  213. package/src/models/DeleteNamespaceRequest.ts +3 -3
  214. package/src/models/DeleteNamespaceResponseBody.ts +4 -4
  215. package/src/models/ExecutionResult.ts +9 -6
  216. package/src/models/GetEventStreamingRequest.ts +1 -1
  217. package/src/models/GetEventStreamingResponseBody.ts +282 -154
  218. package/src/models/GetLumaCatalogRequest.ts +48 -0
  219. package/src/models/GetLumaCatalogResponse.ts +40 -0
  220. package/src/models/GetLumaCatalogResponseBody.ts +75 -0
  221. package/src/models/GetLumaChunkRequest.ts +96 -0
  222. package/src/models/GetLumaChunkResponse.ts +40 -0
  223. package/src/models/GetLumaChunkResponseBody.ts +75 -0
  224. package/src/models/GetLumaDocumentDownloadUrlRequest.ts +98 -0
  225. package/src/models/GetLumaDocumentDownloadUrlResponse.ts +40 -0
  226. package/src/models/GetLumaDocumentDownloadUrlResponseBody.ts +114 -0
  227. package/src/models/GetLumaDocumentRequest.ts +84 -0
  228. package/src/models/GetLumaDocumentResponse.ts +40 -0
  229. package/src/models/GetLumaDocumentResponseBody.ts +75 -0
  230. package/src/models/GetLumaKnowledgeBaseRequest.ts +72 -0
  231. package/src/models/GetLumaKnowledgeBaseResponse.ts +40 -0
  232. package/src/models/GetLumaKnowledgeBaseResponseBody.ts +75 -0
  233. package/src/models/GetLumaNamespaceRequest.ts +60 -0
  234. package/src/models/GetLumaNamespaceResponse.ts +40 -0
  235. package/src/models/GetLumaNamespaceResponseBody.ts +75 -0
  236. package/src/models/GetLumaTableRequest.ts +72 -0
  237. package/src/models/GetLumaTableResponse.ts +40 -0
  238. package/src/models/GetLumaTableResponseBody.ts +75 -0
  239. package/src/models/KnowledgeBase.ts +384 -0
  240. package/src/models/KnowledgeBaseChunk.ts +124 -0
  241. package/src/models/KnowledgeBaseDocument.ts +341 -0
  242. package/src/models/KnowledgeBaseSearchChunk.ts +164 -0
  243. package/src/models/ListEventStreamingsRequest.ts +3 -3
  244. package/src/models/ListEventStreamingsResponseBody.ts +177 -167
  245. package/src/models/ListLumaCatalogsRequest.ts +36 -0
  246. package/src/models/ListLumaCatalogsResponse.ts +40 -0
  247. package/src/models/ListLumaCatalogsResponseBody.ts +108 -0
  248. package/src/models/ListLumaChunksRequest.ts +122 -0
  249. package/src/models/ListLumaChunksResponse.ts +40 -0
  250. package/src/models/ListLumaChunksResponseBody.ts +128 -0
  251. package/src/models/ListLumaDocumentsRequest.ts +112 -0
  252. package/src/models/ListLumaDocumentsResponse.ts +40 -0
  253. package/src/models/ListLumaDocumentsResponseBody.ts +128 -0
  254. package/src/models/ListLumaKnowledgeBasesRequest.ts +60 -0
  255. package/src/models/ListLumaKnowledgeBasesResponse.ts +40 -0
  256. package/src/models/ListLumaKnowledgeBasesResponseBody.ts +108 -0
  257. package/src/models/ListLumaNamespacesRequest.ts +48 -0
  258. package/src/models/ListLumaNamespacesResponse.ts +40 -0
  259. package/src/models/ListLumaNamespacesResponseBody.ts +108 -0
  260. package/src/models/ListLumaTablesRequest.ts +60 -0
  261. package/src/models/ListLumaTablesResponse.ts +40 -0
  262. package/src/models/ListLumaTablesResponseBody.ts +108 -0
  263. package/src/models/LumaTable.ts +197 -0
  264. package/src/models/MetadataSchemaField.ts +68 -0
  265. package/src/models/PollAskResultResponseBody.ts +4 -4
  266. package/src/models/PutEventsRequest.ts +162 -0
  267. package/src/models/PutEventsResponse.ts +40 -0
  268. package/src/models/PutEventsResponseBody.ts +174 -0
  269. package/src/models/PutEventsShrinkRequest.ts +43 -0
  270. package/src/models/QueryAskLumaLogRequest.ts +2 -2
  271. package/src/models/QueryLumaWithSqlrequest.ts +58 -0
  272. package/src/models/QueryLumaWithSqlresponse.ts +40 -0
  273. package/src/models/QueryLumaWithSqlresponseBody.ts +75 -0
  274. package/src/models/SchemaColumn.ts +2 -2
  275. package/src/models/SearchLumaKnowledgeBaseRequest.ts +124 -0
  276. package/src/models/SearchLumaKnowledgeBaseResponse.ts +40 -0
  277. package/src/models/SearchLumaKnowledgeBaseResponseBody.ts +118 -0
  278. package/src/models/SinkKnowledgeBaseParameters.ts +54 -0
  279. package/src/models/SourceFeiShuDocsParameters.ts +28 -0
  280. package/src/models/UpdateEventStreamingRequest.ts +312 -161
  281. package/src/models/UpdateEventStreamingResponseBody.ts +2 -4
  282. package/src/models/UpdateEventStreamingShrinkRequest.ts +4 -4
  283. package/src/models/model.ts +77 -0
@@ -0,0 +1,174 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class PutEventsResponseBodyDataEntryList extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The error code.
9
+ *
10
+ * @example
11
+ * Success indicates success. Other values indicate exceptions
12
+ */
13
+ errorCode?: string;
14
+ /**
15
+ * @remarks
16
+ * The detailed error description.
17
+ *
18
+ * @example
19
+ * triggerPicture failed
20
+ */
21
+ errorMessage?: string;
22
+ /**
23
+ * @remarks
24
+ * The event ID.
25
+ *
26
+ * @example
27
+ * 4c8b7500-2aea-4f5a-b7dd-9d9dd986c07d
28
+ */
29
+ eventId?: string;
30
+ /**
31
+ * @remarks
32
+ * The trace ID, which is used to query the exact call information.
33
+ *
34
+ * @example
35
+ * 4E17C677F5357FB23D1A7FF964CD1999
36
+ */
37
+ traceId?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ errorCode: 'ErrorCode',
41
+ errorMessage: 'ErrorMessage',
42
+ eventId: 'EventId',
43
+ traceId: 'TraceId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ errorCode: 'string',
50
+ errorMessage: 'string',
51
+ eventId: 'string',
52
+ traceId: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class PutEventsResponseBodyData extends $dara.Model {
66
+ /**
67
+ * @remarks
68
+ * The collection of event sending results.
69
+ */
70
+ entryList?: PutEventsResponseBodyDataEntryList[];
71
+ /**
72
+ * @remarks
73
+ * The number of events that failed to be sent.
74
+ *
75
+ * @example
76
+ * 2
77
+ */
78
+ failedEntryCount?: number;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ entryList: 'EntryList',
82
+ failedEntryCount: 'FailedEntryCount',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ entryList: { 'type': 'array', 'itemType': PutEventsResponseBodyDataEntryList },
89
+ failedEntryCount: 'number',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ if(Array.isArray(this.entryList)) {
95
+ $dara.Model.validateArray(this.entryList);
96
+ }
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
105
+ export class PutEventsResponseBody extends $dara.Model {
106
+ /**
107
+ * @remarks
108
+ * The status code. A value of 200 indicates success.
109
+ *
110
+ * @example
111
+ * 200
112
+ */
113
+ code?: string;
114
+ /**
115
+ * @remarks
116
+ * The returned data.
117
+ */
118
+ data?: PutEventsResponseBodyData;
119
+ /**
120
+ * @remarks
121
+ * The error message.
122
+ *
123
+ * @example
124
+ * EventBusNotExist
125
+ */
126
+ message?: string;
127
+ /**
128
+ * @remarks
129
+ * The unique identifier that Alibaba Cloud generated for the request.
130
+ *
131
+ * @example
132
+ * 2BC1857D-E633-5E79-B2C2-43EF5F7730D8
133
+ */
134
+ requestId?: string;
135
+ /**
136
+ * @remarks
137
+ * Indicates whether the operation was successful. Valid values: true: The operation was successful. false: The operation failed.
138
+ *
139
+ * @example
140
+ * true
141
+ */
142
+ success?: boolean;
143
+ static names(): { [key: string]: string } {
144
+ return {
145
+ code: 'Code',
146
+ data: 'Data',
147
+ message: 'Message',
148
+ requestId: 'RequestId',
149
+ success: 'Success',
150
+ };
151
+ }
152
+
153
+ static types(): { [key: string]: any } {
154
+ return {
155
+ code: 'string',
156
+ data: PutEventsResponseBodyData,
157
+ message: 'string',
158
+ requestId: 'string',
159
+ success: 'boolean',
160
+ };
161
+ }
162
+
163
+ validate() {
164
+ if(this.data && typeof (this.data as any).validate === 'function') {
165
+ (this.data as any).validate();
166
+ }
167
+ super.validate();
168
+ }
169
+
170
+ constructor(map?: { [key: string]: any }) {
171
+ super(map);
172
+ }
173
+ }
174
+
@@ -0,0 +1,43 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class PutEventsShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the event bus.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * my-bus
14
+ */
15
+ eventBusName?: string;
16
+ /**
17
+ * @remarks
18
+ * The list of events.
19
+ */
20
+ eventListShrink?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ eventBusName: 'EventBusName',
24
+ eventListShrink: 'EventList',
25
+ };
26
+ }
27
+
28
+ static types(): { [key: string]: any } {
29
+ return {
30
+ eventBusName: 'string',
31
+ eventListShrink: 'string',
32
+ };
33
+ }
34
+
35
+ validate() {
36
+ super.validate();
37
+ }
38
+
39
+ constructor(map?: { [key: string]: any }) {
40
+ super(map);
41
+ }
42
+ }
43
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class QueryAskLumaLogRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The cursor. Set this parameter to the messageId of the last entry on the previous page.
8
+ * The cursor for pagination. Set this parameter to the messageId of the last entry on the previous page.
9
9
  *
10
10
  * @example
11
11
  * eyJ0cyI6MTcxN...
@@ -13,7 +13,7 @@ export class QueryAskLumaLogRequest extends $dara.Model {
13
13
  after?: string;
14
14
  /**
15
15
  * @remarks
16
- * The agent name. If this parameter is left empty, all agents are queried.
16
+ * The agent name. If this parameter is not specified, all agent call logs are queried.
17
17
  *
18
18
  * @example
19
19
  * demo-luma-agent
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryLumaWithSQLRequest 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
+ * Rows exceeding this limit are truncated. The IsTruncated field in the response indicates whether truncation occurred.
19
+ *
20
+ * @example
21
+ * 100
22
+ */
23
+ maxRows?: number;
24
+ /**
25
+ * @remarks
26
+ * Only query statements are supported.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * SELECT * FROM my_table LIMIT 10
32
+ */
33
+ sql?: string;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ agentName: 'AgentName',
37
+ maxRows: 'MaxRows',
38
+ sql: 'Sql',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ agentName: 'string',
45
+ maxRows: 'number',
46
+ sql: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryLumaWithSQLResponseBody } from "./QueryLumaWithSqlresponseBody";
4
+
5
+
6
+ export class QueryLumaWithSQLResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryLumaWithSQLResponseBody;
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: QueryLumaWithSQLResponseBody,
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 { ExecutionResult } from "./ExecutionResult";
4
+
5
+
6
+ export class QueryLumaWithSQLResponseBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The response code of the operation. A value of Success indicates that the call succeeded. Otherwise, a specific error code is returned.
10
+ *
11
+ * @example
12
+ * Success
13
+ */
14
+ code?: string;
15
+ /**
16
+ * @remarks
17
+ * The execution result of the SQL query, including column definitions and row data.
18
+ */
19
+ data?: ExecutionResult;
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. Use this ID for troubleshooting and when submitting a ticket.
31
+ *
32
+ * @example
33
+ * 34AD682D-5B91-5773-8132-AA38C130****
34
+ */
35
+ requestId?: string;
36
+ /**
37
+ * @remarks
38
+ * Indicates whether the call is 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: ExecutionResult,
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
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SchemaColumn extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Column name
8
+ * The column name.
9
9
  *
10
10
  * @example
11
11
  * name
@@ -13,7 +13,7 @@ export class SchemaColumn extends $dara.Model {
13
13
  name?: string;
14
14
  /**
15
15
  * @remarks
16
- * Column type
16
+ * The column type.
17
17
  *
18
18
  * @example
19
19
  * VARCHAR
@@ -0,0 +1,124 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SearchLumaKnowledgeBaseRequest 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 catalog name.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * my_catalog
24
+ */
25
+ catalog?: string;
26
+ /**
27
+ * @remarks
28
+ * The name of the knowledge base bound to the Agent. You can call ListLumaKnowledgeBases to obtain the knowledge base name.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * my-knowledge-base
34
+ */
35
+ knowledgeBaseName?: string;
36
+ /**
37
+ * @remarks
38
+ * A JSON string that filters the retrieval scope based on document metadata. For available fields, refer to the MetadataSchema of the knowledge base.
39
+ *
40
+ * @example
41
+ * {"category":"faq"}
42
+ */
43
+ metadataFilter?: string;
44
+ /**
45
+ * @remarks
46
+ * Valid values: vector (AISearch), keyword (keyword match), hybrid (hybrid search). If not specified, the retrieve configuration of the knowledge base is used.
47
+ *
48
+ * @example
49
+ * hybrid
50
+ */
51
+ mode?: string;
52
+ /**
53
+ * @remarks
54
+ * The name of the namespace bound to the Agent. You can call ListLumaNamespaces to obtain the namespace name.
55
+ *
56
+ * This parameter is required.
57
+ *
58
+ * @example
59
+ * my_namespace
60
+ */
61
+ namespace?: string;
62
+ /**
63
+ * @remarks
64
+ * The natural language query for retrieval.
65
+ *
66
+ * This parameter is required.
67
+ *
68
+ * @example
69
+ * How to configure event rules
70
+ */
71
+ query?: string;
72
+ /**
73
+ * @remarks
74
+ * Specifies whether to enable reranking for the retrieved results. Reranking improves accuracy but increases latency. If not specified, the retrieval configuration of the knowledge base is used.
75
+ *
76
+ * @example
77
+ * true
78
+ */
79
+ rerank?: boolean;
80
+ /**
81
+ * @remarks
82
+ * Valid values: 1 to 100. If not specified, the retrieval configuration of the knowledge base is used.
83
+ *
84
+ * @example
85
+ * 5
86
+ */
87
+ topK?: number;
88
+ static names(): { [key: string]: string } {
89
+ return {
90
+ agentName: 'AgentName',
91
+ catalog: 'Catalog',
92
+ knowledgeBaseName: 'KnowledgeBaseName',
93
+ metadataFilter: 'MetadataFilter',
94
+ mode: 'Mode',
95
+ namespace: 'Namespace',
96
+ query: 'Query',
97
+ rerank: 'Rerank',
98
+ topK: 'TopK',
99
+ };
100
+ }
101
+
102
+ static types(): { [key: string]: any } {
103
+ return {
104
+ agentName: 'string',
105
+ catalog: 'string',
106
+ knowledgeBaseName: 'string',
107
+ metadataFilter: 'string',
108
+ mode: 'string',
109
+ namespace: 'string',
110
+ query: 'string',
111
+ rerank: 'boolean',
112
+ topK: 'number',
113
+ };
114
+ }
115
+
116
+ validate() {
117
+ super.validate();
118
+ }
119
+
120
+ constructor(map?: { [key: string]: any }) {
121
+ super(map);
122
+ }
123
+ }
124
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SearchLumaKnowledgeBaseResponseBody } from "./SearchLumaKnowledgeBaseResponseBody";
4
+
5
+
6
+ export class SearchLumaKnowledgeBaseResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SearchLumaKnowledgeBaseResponseBody;
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: SearchLumaKnowledgeBaseResponseBody,
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,118 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { KnowledgeBaseSearchChunk } from "./KnowledgeBaseSearchChunk";
4
+
5
+
6
+ export class SearchLumaKnowledgeBaseResponseBodyData extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The list of matched text chunks, sorted by relevance.
10
+ *
11
+ * @example
12
+ * [{"DocumentId":"doc-bp1xxxxxxxxxxxx","ChunkSeq":3,"Content":"EventBridge supports event routing"}]
13
+ */
14
+ chunks?: KnowledgeBaseSearchChunk[];
15
+ /**
16
+ * @remarks
17
+ * The time spent on the retrieval, in milliseconds.
18
+ *
19
+ * @example
20
+ * 1200
21
+ */
22
+ timeSpent?: number;
23
+ static names(): { [key: string]: string } {
24
+ return {
25
+ chunks: 'Chunks',
26
+ timeSpent: 'TimeSpent',
27
+ };
28
+ }
29
+
30
+ static types(): { [key: string]: any } {
31
+ return {
32
+ chunks: { 'type': 'array', 'itemType': KnowledgeBaseSearchChunk },
33
+ timeSpent: 'number',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ if(Array.isArray(this.chunks)) {
39
+ $dara.Model.validateArray(this.chunks);
40
+ }
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
49
+ export class SearchLumaKnowledgeBaseResponseBody extends $dara.Model {
50
+ /**
51
+ * @remarks
52
+ * The response code. A value of Success indicates a successful call. If the call fails, a specific error code is returned.
53
+ *
54
+ * @example
55
+ * Success
56
+ */
57
+ code?: string;
58
+ /**
59
+ * @remarks
60
+ * The retrieval result from the knowledge base bound to the Agent.
61
+ */
62
+ data?: SearchLumaKnowledgeBaseResponseBodyData;
63
+ /**
64
+ * @remarks
65
+ * The message returned by the operation. The value is Operation success if the call succeeds, or a specific error description if the call fails.
66
+ *
67
+ * @example
68
+ * Operation success
69
+ */
70
+ message?: string;
71
+ /**
72
+ * @remarks
73
+ * The unique identifier of the request, used for troubleshooting and ticket feedback.
74
+ *
75
+ * @example
76
+ * 34AD682D-5B91-5773-8132-AA38C130****
77
+ */
78
+ requestId?: string;
79
+ /**
80
+ * @remarks
81
+ * Indicates whether the call was successful. A value of true indicates success.
82
+ *
83
+ * @example
84
+ * true
85
+ */
86
+ success?: boolean;
87
+ static names(): { [key: string]: string } {
88
+ return {
89
+ code: 'Code',
90
+ data: 'Data',
91
+ message: 'Message',
92
+ requestId: 'RequestId',
93
+ success: 'Success',
94
+ };
95
+ }
96
+
97
+ static types(): { [key: string]: any } {
98
+ return {
99
+ code: 'string',
100
+ data: SearchLumaKnowledgeBaseResponseBodyData,
101
+ message: 'string',
102
+ requestId: 'string',
103
+ success: 'boolean',
104
+ };
105
+ }
106
+
107
+ validate() {
108
+ if(this.data && typeof (this.data as any).validate === 'function') {
109
+ (this.data as any).validate();
110
+ }
111
+ super.validate();
112
+ }
113
+
114
+ constructor(map?: { [key: string]: any }) {
115
+ super(map);
116
+ }
117
+ }
118
+