kb-cloud-client-typescript 2.2.29 → 2.3.0-alpha.100

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 (1072) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/aiagent-api.d.ts +1143 -0
  6. package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/aiagent-api.js +1214 -0
  8. package/dist/adminapi/apis/aiagent-api.js.map +1 -0
  9. package/dist/adminapi/apis/cluster-api.d.ts +163 -2
  10. package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/cluster-api.js +170 -5
  12. package/dist/adminapi/apis/cluster-api.js.map +1 -1
  13. package/dist/adminapi/apis/cluster-log-api.d.ts +1242 -131
  14. package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/cluster-log-api.js +882 -15
  16. package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
  17. package/dist/adminapi/apis/dms-api.d.ts +2868 -458
  18. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/dms-api.js +2673 -321
  20. package/dist/adminapi/apis/dms-api.js.map +1 -1
  21. package/dist/adminapi/apis/engine-api.d.ts +399 -0
  22. package/dist/adminapi/apis/engine-api.d.ts.map +1 -1
  23. package/dist/adminapi/apis/engine-api.js +442 -0
  24. package/dist/adminapi/apis/engine-api.js.map +1 -1
  25. package/dist/adminapi/apis/parameter-template-api.d.ts +80 -0
  26. package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
  27. package/dist/adminapi/apis/parameter-template-api.js +83 -0
  28. package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
  29. package/dist/adminapi/apis/shared-api.d.ts +1664 -282
  30. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  31. package/dist/adminapi/apis/shared-api.js +1197 -64
  32. package/dist/adminapi/apis/shared-api.js.map +1 -1
  33. package/dist/adminapi/models/ai-agent-conversation-list.d.ts +26 -0
  34. package/dist/adminapi/models/ai-agent-conversation-list.d.ts.map +1 -0
  35. package/dist/adminapi/models/ai-agent-conversation-list.js +16 -0
  36. package/dist/adminapi/models/ai-agent-conversation-list.js.map +1 -0
  37. package/dist/adminapi/models/ai-agent-conversation-status.d.ts +25 -0
  38. package/dist/adminapi/models/ai-agent-conversation-status.d.ts.map +1 -0
  39. package/dist/adminapi/models/{inspection-supported-engines.js → ai-agent-conversation-status.js} +9 -13
  40. package/dist/adminapi/models/ai-agent-conversation-status.js.map +1 -0
  41. package/dist/adminapi/models/ai-agent-conversation.d.ts +76 -0
  42. package/dist/adminapi/models/ai-agent-conversation.d.ts.map +1 -0
  43. package/dist/adminapi/models/ai-agent-conversation.js +16 -0
  44. package/dist/adminapi/models/ai-agent-conversation.js.map +1 -0
  45. package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts +37 -0
  46. package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts.map +1 -0
  47. package/dist/adminapi/models/ai-agent-create-conversation-request.js +16 -0
  48. package/dist/adminapi/models/ai-agent-create-conversation-request.js.map +1 -0
  49. package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
  50. package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
  51. package/dist/adminapi/models/ai-agent-delete-conversation-response.js +16 -0
  52. package/dist/adminapi/models/ai-agent-delete-conversation-response.js.map +1 -0
  53. package/dist/adminapi/models/ai-agent-event-type.d.ts +35 -0
  54. package/dist/adminapi/models/ai-agent-event-type.d.ts.map +1 -0
  55. package/dist/adminapi/models/ai-agent-event-type.js +39 -0
  56. package/dist/adminapi/models/ai-agent-event-type.js.map +1 -0
  57. package/dist/adminapi/models/ai-agent-event.d.ts +70 -0
  58. package/dist/adminapi/models/ai-agent-event.d.ts.map +1 -0
  59. package/dist/adminapi/models/ai-agent-event.js +16 -0
  60. package/dist/adminapi/models/ai-agent-event.js.map +1 -0
  61. package/dist/adminapi/models/ai-agent-message-list.d.ts +26 -0
  62. package/dist/adminapi/models/ai-agent-message-list.d.ts.map +1 -0
  63. package/dist/adminapi/models/ai-agent-message-list.js +16 -0
  64. package/dist/adminapi/models/ai-agent-message-list.js.map +1 -0
  65. package/dist/adminapi/models/ai-agent-message-part-type.d.ts +24 -0
  66. package/dist/adminapi/models/ai-agent-message-part-type.d.ts.map +1 -0
  67. package/dist/adminapi/models/ai-agent-message-part-type.js +28 -0
  68. package/dist/adminapi/models/ai-agent-message-part-type.js.map +1 -0
  69. package/dist/adminapi/models/ai-agent-message-part.d.ts +46 -0
  70. package/dist/adminapi/models/ai-agent-message-part.d.ts.map +1 -0
  71. package/dist/adminapi/models/ai-agent-message-part.js +16 -0
  72. package/dist/adminapi/models/ai-agent-message-part.js.map +1 -0
  73. package/dist/adminapi/models/ai-agent-message-role.d.ts +23 -0
  74. package/dist/adminapi/models/ai-agent-message-role.d.ts.map +1 -0
  75. package/dist/adminapi/models/ai-agent-message-role.js +27 -0
  76. package/dist/adminapi/models/ai-agent-message-role.js.map +1 -0
  77. package/dist/adminapi/models/ai-agent-message.d.ts +64 -0
  78. package/dist/adminapi/models/ai-agent-message.d.ts.map +1 -0
  79. package/dist/adminapi/models/ai-agent-message.js +16 -0
  80. package/dist/adminapi/models/ai-agent-message.js.map +1 -0
  81. package/dist/adminapi/models/ai-agent-object-ref.d.ts +31 -0
  82. package/dist/adminapi/models/ai-agent-object-ref.d.ts.map +1 -0
  83. package/dist/adminapi/models/ai-agent-object-ref.js +16 -0
  84. package/dist/adminapi/models/ai-agent-object-ref.js.map +1 -0
  85. package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts +25 -0
  86. package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
  87. package/dist/adminapi/models/ai-agent-runtime-status-code.js +29 -0
  88. package/dist/adminapi/models/ai-agent-runtime-status-code.js.map +1 -0
  89. package/dist/adminapi/models/ai-agent-runtime-status.d.ts +45 -0
  90. package/dist/adminapi/models/ai-agent-runtime-status.d.ts.map +1 -0
  91. package/dist/adminapi/models/ai-agent-runtime-status.js +16 -0
  92. package/dist/adminapi/models/ai-agent-runtime-status.js.map +1 -0
  93. package/dist/adminapi/models/ai-agent-scope.d.ts +44 -0
  94. package/dist/adminapi/models/ai-agent-scope.d.ts.map +1 -0
  95. package/dist/adminapi/models/ai-agent-scope.js +16 -0
  96. package/dist/adminapi/models/ai-agent-scope.js.map +1 -0
  97. package/dist/adminapi/models/ai-agent-send-message-request.d.ts +32 -0
  98. package/dist/adminapi/models/ai-agent-send-message-request.d.ts.map +1 -0
  99. package/dist/adminapi/models/ai-agent-send-message-request.js +16 -0
  100. package/dist/adminapi/models/ai-agent-send-message-request.js.map +1 -0
  101. package/dist/adminapi/models/ai-agent-send-message-response.d.ts +44 -0
  102. package/dist/adminapi/models/ai-agent-send-message-response.d.ts.map +1 -0
  103. package/dist/adminapi/models/ai-agent-send-message-response.js +16 -0
  104. package/dist/adminapi/models/ai-agent-send-message-response.js.map +1 -0
  105. package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
  106. package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
  107. package/dist/adminapi/models/ai-agent-stop-conversation-response.js +16 -0
  108. package/dist/adminapi/models/ai-agent-stop-conversation-response.js.map +1 -0
  109. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.d.ts +25 -0
  110. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
  111. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.js +16 -0
  112. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
  113. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
  114. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
  115. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.js +16 -0
  116. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
  117. package/dist/adminapi/models/ai-agent-tool-confirmation-status.d.ts +24 -0
  118. package/dist/adminapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
  119. package/dist/adminapi/models/ai-agent-tool-confirmation-status.js +28 -0
  120. package/dist/adminapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
  121. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +26 -0
  122. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
  123. package/dist/adminapi/models/ai-agent-turn-action-list.js +16 -0
  124. package/dist/adminapi/models/ai-agent-turn-action-list.js.map +1 -0
  125. package/dist/adminapi/models/ai-agent-turn-action.d.ts +106 -0
  126. package/dist/adminapi/models/ai-agent-turn-action.d.ts.map +1 -0
  127. package/dist/adminapi/models/ai-agent-turn-action.js +16 -0
  128. package/dist/adminapi/models/ai-agent-turn-action.js.map +1 -0
  129. package/dist/adminapi/models/ai-agent-turn-status.d.ts +25 -0
  130. package/dist/adminapi/models/ai-agent-turn-status.d.ts.map +1 -0
  131. package/dist/adminapi/models/ai-agent-turn-status.js +29 -0
  132. package/dist/adminapi/models/ai-agent-turn-status.js.map +1 -0
  133. package/dist/adminapi/models/bench-option.d.ts +6 -0
  134. package/dist/adminapi/models/bench-option.d.ts.map +1 -1
  135. package/dist/adminapi/models/cluster-execution-log-item.d.ts +7 -0
  136. package/dist/adminapi/models/cluster-execution-log-item.d.ts.map +1 -1
  137. package/dist/adminapi/models/cluster-log-hits-item.d.ts +6 -0
  138. package/dist/adminapi/models/cluster-log-hits-item.d.ts.map +1 -1
  139. package/dist/adminapi/models/cluster-slow-log-database-distribution.d.ts +31 -0
  140. package/dist/adminapi/models/cluster-slow-log-database-distribution.d.ts.map +1 -0
  141. package/dist/adminapi/models/cluster-slow-log-database-distribution.js +16 -0
  142. package/dist/adminapi/models/cluster-slow-log-database-distribution.js.map +1 -0
  143. package/dist/adminapi/models/cluster-slow-log-detail.d.ts +55 -0
  144. package/dist/adminapi/models/cluster-slow-log-detail.d.ts.map +1 -0
  145. package/dist/adminapi/models/cluster-slow-log-detail.js +16 -0
  146. package/dist/adminapi/models/cluster-slow-log-detail.js.map +1 -0
  147. package/dist/adminapi/models/cluster-slow-log-explain-response.d.ts +75 -0
  148. package/dist/adminapi/models/cluster-slow-log-explain-response.d.ts.map +1 -0
  149. package/dist/adminapi/models/cluster-slow-log-explain-response.js +16 -0
  150. package/dist/adminapi/models/cluster-slow-log-explain-response.js.map +1 -0
  151. package/dist/adminapi/models/cluster-slow-log-stats.d.ts +7 -0
  152. package/dist/adminapi/models/cluster-slow-log-stats.d.ts.map +1 -1
  153. package/dist/adminapi/models/cluster-slow-log-template-list.d.ts +26 -0
  154. package/dist/adminapi/models/cluster-slow-log-template-list.d.ts.map +1 -0
  155. package/dist/adminapi/models/cluster-slow-log-template-list.js +16 -0
  156. package/dist/adminapi/models/cluster-slow-log-template-list.js.map +1 -0
  157. package/dist/adminapi/models/cluster-slow-log-template.d.ts +133 -0
  158. package/dist/adminapi/models/cluster-slow-log-template.d.ts.map +1 -0
  159. package/dist/adminapi/models/cluster-slow-log-template.js +16 -0
  160. package/dist/adminapi/models/cluster-slow-log-template.js.map +1 -0
  161. package/dist/adminapi/models/database-option.d.ts +6 -0
  162. package/dist/adminapi/models/database-option.d.ts.map +1 -1
  163. package/dist/adminapi/models/database-parameter-item.d.ts +6 -0
  164. package/dist/adminapi/models/database-parameter-item.d.ts.map +1 -1
  165. package/dist/adminapi/models/database-parameter-list-item.d.ts +6 -0
  166. package/dist/adminapi/models/database-parameter-list-item.d.ts.map +1 -1
  167. package/dist/adminapi/models/dms-option.d.ts +0 -6
  168. package/dist/adminapi/models/dms-option.d.ts.map +1 -1
  169. package/dist/adminapi/models/dms-query-history.d.ts +10 -4
  170. package/dist/adminapi/models/dms-query-history.d.ts.map +1 -1
  171. package/dist/adminapi/models/engine-network-mode-options-inner.d.ts +38 -0
  172. package/dist/adminapi/models/engine-network-mode-options-inner.d.ts.map +1 -0
  173. package/dist/adminapi/models/engine-network-mode-options-inner.js +16 -0
  174. package/dist/adminapi/models/engine-network-mode-options-inner.js.map +1 -0
  175. package/dist/adminapi/models/engine-network-mode-supported.d.ts +34 -0
  176. package/dist/adminapi/models/engine-network-mode-supported.d.ts.map +1 -0
  177. package/dist/adminapi/models/engine-network-mode-supported.js +16 -0
  178. package/dist/adminapi/models/engine-network-mode-supported.js.map +1 -0
  179. package/dist/adminapi/models/engine-option.d.ts +7 -0
  180. package/dist/adminapi/models/engine-option.d.ts.map +1 -1
  181. package/dist/adminapi/models/environment-engine-option-create.d.ts +37 -0
  182. package/dist/adminapi/models/environment-engine-option-create.d.ts.map +1 -0
  183. package/dist/adminapi/models/environment-engine-option-create.js +16 -0
  184. package/dist/adminapi/models/environment-engine-option-create.js.map +1 -0
  185. package/dist/adminapi/models/environment-engine-option-update.d.ts +25 -0
  186. package/dist/adminapi/models/environment-engine-option-update.d.ts.map +1 -0
  187. package/dist/adminapi/models/environment-engine-option-update.js +16 -0
  188. package/dist/adminapi/models/environment-engine-option-update.js.map +1 -0
  189. package/dist/adminapi/models/environment-engine-option.d.ts +67 -0
  190. package/dist/adminapi/models/environment-engine-option.d.ts.map +1 -0
  191. package/dist/adminapi/models/environment-engine-option.js +16 -0
  192. package/dist/adminapi/models/environment-engine-option.js.map +1 -0
  193. package/dist/adminapi/models/index.d.ts +77 -1
  194. package/dist/adminapi/models/index.d.ts.map +1 -1
  195. package/dist/adminapi/models/index.js +77 -1
  196. package/dist/adminapi/models/index.js.map +1 -1
  197. package/dist/adminapi/models/inspection-task.d.ts +2 -3
  198. package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
  199. package/dist/adminapi/models/instance-resource-stats.d.ts +6 -0
  200. package/dist/adminapi/models/instance-resource-stats.d.ts.map +1 -1
  201. package/dist/adminapi/models/llm.d.ts +1 -1
  202. package/dist/adminapi/models/log-option.d.ts +6 -0
  203. package/dist/adminapi/models/log-option.d.ts.map +1 -1
  204. package/dist/adminapi/models/mongo-aggregate-request.d.ts +37 -0
  205. package/dist/adminapi/models/mongo-aggregate-request.d.ts.map +1 -0
  206. package/dist/adminapi/models/mongo-aggregate-request.js +16 -0
  207. package/dist/adminapi/models/mongo-aggregate-request.js.map +1 -0
  208. package/dist/adminapi/models/mongo-collection-capabilities.d.ts +49 -0
  209. package/dist/adminapi/models/mongo-collection-capabilities.d.ts.map +1 -0
  210. package/dist/adminapi/models/mongo-collection-capabilities.js +16 -0
  211. package/dist/adminapi/models/mongo-collection-capabilities.js.map +1 -0
  212. package/dist/adminapi/models/mongo-collection-info.d.ts +50 -0
  213. package/dist/adminapi/models/mongo-collection-info.d.ts.map +1 -0
  214. package/dist/adminapi/models/mongo-collection-info.js +16 -0
  215. package/dist/adminapi/models/mongo-collection-info.js.map +1 -0
  216. package/dist/adminapi/models/mongo-collection-stats.d.ts +62 -0
  217. package/dist/adminapi/models/mongo-collection-stats.d.ts.map +1 -0
  218. package/dist/adminapi/models/mongo-collection-stats.js +16 -0
  219. package/dist/adminapi/models/mongo-collection-stats.js.map +1 -0
  220. package/dist/adminapi/models/mongo-create-collection-options.d.ts +61 -0
  221. package/dist/adminapi/models/mongo-create-collection-options.d.ts.map +1 -0
  222. package/dist/adminapi/models/mongo-create-collection-options.js +16 -0
  223. package/dist/adminapi/models/mongo-create-collection-options.js.map +1 -0
  224. package/dist/adminapi/models/mongo-create-collection-request.d.ts +26 -0
  225. package/dist/adminapi/models/mongo-create-collection-request.d.ts.map +1 -0
  226. package/dist/adminapi/models/mongo-create-collection-request.js +16 -0
  227. package/dist/adminapi/models/mongo-create-collection-request.js.map +1 -0
  228. package/dist/adminapi/models/mongo-create-index-request.d.ts +32 -0
  229. package/dist/adminapi/models/mongo-create-index-request.d.ts.map +1 -0
  230. package/dist/adminapi/models/mongo-create-index-request.js +16 -0
  231. package/dist/adminapi/models/mongo-create-index-request.js.map +1 -0
  232. package/dist/adminapi/models/mongo-create-view-request.d.ts +43 -0
  233. package/dist/adminapi/models/mongo-create-view-request.d.ts.map +1 -0
  234. package/dist/adminapi/models/mongo-create-view-request.js +16 -0
  235. package/dist/adminapi/models/mongo-create-view-request.js.map +1 -0
  236. package/dist/adminapi/models/mongo-database-info.d.ts +49 -0
  237. package/dist/adminapi/models/mongo-database-info.d.ts.map +1 -0
  238. package/dist/adminapi/models/mongo-database-info.js +16 -0
  239. package/dist/adminapi/models/mongo-database-info.js.map +1 -0
  240. package/dist/adminapi/models/mongo-delete-request.d.ts +31 -0
  241. package/dist/adminapi/models/mongo-delete-request.d.ts.map +1 -0
  242. package/dist/adminapi/models/mongo-delete-request.js +16 -0
  243. package/dist/adminapi/models/mongo-delete-request.js.map +1 -0
  244. package/dist/adminapi/models/mongo-explain-request.d.ts +67 -0
  245. package/dist/adminapi/models/mongo-explain-request.d.ts.map +1 -0
  246. package/dist/adminapi/models/mongo-explain-request.js +16 -0
  247. package/dist/adminapi/models/mongo-explain-request.js.map +1 -0
  248. package/dist/adminapi/models/mongo-explain-response.d.ts +31 -0
  249. package/dist/adminapi/models/mongo-explain-response.d.ts.map +1 -0
  250. package/dist/adminapi/models/mongo-explain-response.js +16 -0
  251. package/dist/adminapi/models/mongo-explain-response.js.map +1 -0
  252. package/dist/adminapi/models/mongo-find-request.d.ts +61 -0
  253. package/dist/adminapi/models/mongo-find-request.d.ts.map +1 -0
  254. package/dist/adminapi/models/mongo-find-request.js +16 -0
  255. package/dist/adminapi/models/mongo-find-request.js.map +1 -0
  256. package/dist/adminapi/models/mongo-find-response.d.ts +43 -0
  257. package/dist/adminapi/models/mongo-find-response.d.ts.map +1 -0
  258. package/dist/adminapi/models/mongo-find-response.js +16 -0
  259. package/dist/adminapi/models/mongo-find-response.js.map +1 -0
  260. package/dist/adminapi/models/mongo-index-info.d.ts +67 -0
  261. package/dist/adminapi/models/mongo-index-info.d.ts.map +1 -0
  262. package/dist/adminapi/models/mongo-index-info.js +16 -0
  263. package/dist/adminapi/models/mongo-index-info.js.map +1 -0
  264. package/dist/adminapi/models/mongo-index-options.d.ts +37 -0
  265. package/dist/adminapi/models/mongo-index-options.d.ts.map +1 -0
  266. package/dist/adminapi/models/mongo-index-options.js +16 -0
  267. package/dist/adminapi/models/mongo-index-options.js.map +1 -0
  268. package/dist/adminapi/models/mongo-insert-request.d.ts +31 -0
  269. package/dist/adminapi/models/mongo-insert-request.d.ts.map +1 -0
  270. package/dist/adminapi/models/mongo-insert-request.js +16 -0
  271. package/dist/adminapi/models/mongo-insert-request.js.map +1 -0
  272. package/dist/adminapi/models/mongo-replace-request.d.ts +37 -0
  273. package/dist/adminapi/models/mongo-replace-request.d.ts.map +1 -0
  274. package/dist/adminapi/models/mongo-replace-request.js +16 -0
  275. package/dist/adminapi/models/mongo-replace-request.js.map +1 -0
  276. package/dist/adminapi/models/mongo-schema-analysis.d.ts +38 -0
  277. package/dist/adminapi/models/mongo-schema-analysis.d.ts.map +1 -0
  278. package/dist/adminapi/models/mongo-schema-analysis.js +16 -0
  279. package/dist/adminapi/models/mongo-schema-analysis.js.map +1 -0
  280. package/dist/adminapi/models/mongo-schema-field.d.ts +37 -0
  281. package/dist/adminapi/models/mongo-schema-field.d.ts.map +1 -0
  282. package/dist/adminapi/models/mongo-schema-field.js +16 -0
  283. package/dist/adminapi/models/mongo-schema-field.js.map +1 -0
  284. package/dist/adminapi/models/mongo-set-validation-request.d.ts +37 -0
  285. package/dist/adminapi/models/mongo-set-validation-request.d.ts.map +1 -0
  286. package/dist/adminapi/models/mongo-set-validation-request.js +16 -0
  287. package/dist/adminapi/models/mongo-set-validation-request.js.map +1 -0
  288. package/dist/adminapi/models/mongo-shell-completion-item.d.ts +25 -0
  289. package/dist/adminapi/models/mongo-shell-completion-item.d.ts.map +1 -0
  290. package/dist/adminapi/models/mongo-shell-completion-item.js +16 -0
  291. package/dist/adminapi/models/mongo-shell-completion-item.js.map +1 -0
  292. package/dist/adminapi/models/mongo-shell-completions-request.d.ts +25 -0
  293. package/dist/adminapi/models/mongo-shell-completions-request.d.ts.map +1 -0
  294. package/dist/adminapi/models/mongo-shell-completions-request.js +16 -0
  295. package/dist/adminapi/models/mongo-shell-completions-request.js.map +1 -0
  296. package/dist/adminapi/models/mongo-shell-completions-response.d.ts +26 -0
  297. package/dist/adminapi/models/mongo-shell-completions-response.d.ts.map +1 -0
  298. package/dist/adminapi/models/mongo-shell-completions-response.js +16 -0
  299. package/dist/adminapi/models/mongo-shell-completions-response.js.map +1 -0
  300. package/dist/adminapi/models/mongo-shell-create-session-request.d.ts +25 -0
  301. package/dist/adminapi/models/mongo-shell-create-session-request.d.ts.map +1 -0
  302. package/dist/adminapi/models/mongo-shell-create-session-request.js +16 -0
  303. package/dist/adminapi/models/mongo-shell-create-session-request.js.map +1 -0
  304. package/dist/adminapi/models/mongo-shell-evaluate-request.d.ts +37 -0
  305. package/dist/adminapi/models/mongo-shell-evaluate-request.d.ts.map +1 -0
  306. package/dist/adminapi/models/mongo-shell-evaluate-request.js +16 -0
  307. package/dist/adminapi/models/mongo-shell-evaluate-request.js.map +1 -0
  308. package/dist/adminapi/models/mongo-shell-evaluate-response.d.ts +44 -0
  309. package/dist/adminapi/models/mongo-shell-evaluate-response.d.ts.map +1 -0
  310. package/dist/adminapi/models/mongo-shell-evaluate-response.js +16 -0
  311. package/dist/adminapi/models/mongo-shell-evaluate-response.js.map +1 -0
  312. package/dist/adminapi/models/mongo-shell-interrupt-response.d.ts +25 -0
  313. package/dist/adminapi/models/mongo-shell-interrupt-response.d.ts.map +1 -0
  314. package/dist/adminapi/models/mongo-shell-interrupt-response.js +16 -0
  315. package/dist/adminapi/models/mongo-shell-interrupt-response.js.map +1 -0
  316. package/dist/adminapi/models/mongo-shell-prompt-response.d.ts +25 -0
  317. package/dist/adminapi/models/mongo-shell-prompt-response.d.ts.map +1 -0
  318. package/dist/adminapi/models/mongo-shell-prompt-response.js +16 -0
  319. package/dist/adminapi/models/mongo-shell-prompt-response.js.map +1 -0
  320. package/dist/adminapi/models/mongo-shell-result.d.ts +37 -0
  321. package/dist/adminapi/models/mongo-shell-result.d.ts.map +1 -0
  322. package/dist/adminapi/models/mongo-shell-result.js +16 -0
  323. package/dist/adminapi/models/mongo-shell-result.js.map +1 -0
  324. package/dist/adminapi/models/mongo-shell-session.d.ts +49 -0
  325. package/dist/adminapi/models/mongo-shell-session.d.ts.map +1 -0
  326. package/dist/adminapi/models/mongo-shell-session.js +16 -0
  327. package/dist/adminapi/models/mongo-shell-session.js.map +1 -0
  328. package/dist/adminapi/models/mongo-update-request.d.ts +43 -0
  329. package/dist/adminapi/models/mongo-update-request.d.ts.map +1 -0
  330. package/dist/adminapi/models/mongo-update-request.js +16 -0
  331. package/dist/adminapi/models/mongo-update-request.js.map +1 -0
  332. package/dist/adminapi/models/mongo-validation-info.d.ts +37 -0
  333. package/dist/adminapi/models/mongo-validation-info.d.ts.map +1 -0
  334. package/dist/adminapi/models/mongo-validation-info.js +16 -0
  335. package/dist/adminapi/models/mongo-validation-info.js.map +1 -0
  336. package/dist/adminapi/models/mongo-write-response.d.ts +31 -0
  337. package/dist/adminapi/models/mongo-write-response.d.ts.map +1 -0
  338. package/dist/adminapi/models/mongo-write-response.js +16 -0
  339. package/dist/adminapi/models/mongo-write-response.js.map +1 -0
  340. package/dist/adminapi/models/mongo-write-result.d.ts +55 -0
  341. package/dist/adminapi/models/mongo-write-result.d.ts.map +1 -0
  342. package/dist/adminapi/models/mongo-write-result.js +16 -0
  343. package/dist/adminapi/models/mongo-write-result.js.map +1 -0
  344. package/dist/adminapi/models/parameter-template-diff-item.d.ts +43 -0
  345. package/dist/adminapi/models/parameter-template-diff-item.d.ts.map +1 -0
  346. package/dist/adminapi/models/parameter-template-diff-item.js +16 -0
  347. package/dist/adminapi/models/parameter-template-diff-item.js.map +1 -0
  348. package/dist/adminapi/models/parameter-template-diff.d.ts +26 -0
  349. package/dist/adminapi/models/parameter-template-diff.d.ts.map +1 -0
  350. package/dist/adminapi/models/parameter-template-diff.js +16 -0
  351. package/dist/adminapi/models/parameter-template-diff.js.map +1 -0
  352. package/dist/adminapi/models/storage-create.d.ts +0 -6
  353. package/dist/adminapi/models/storage-create.d.ts.map +1 -1
  354. package/dist/adminapi/models/storage-update.d.ts +0 -6
  355. package/dist/adminapi/models/storage-update.d.ts.map +1 -1
  356. package/dist/adminapi/models/storage.d.ts +0 -6
  357. package/dist/adminapi/models/storage.d.ts.map +1 -1
  358. package/dist/adminapi/models/tde-option.d.ts +32 -0
  359. package/dist/adminapi/models/tde-option.d.ts.map +1 -0
  360. package/dist/adminapi/models/tde-option.js +16 -0
  361. package/dist/adminapi/models/tde-option.js.map +1 -0
  362. package/dist/adminapi/models/tde-parameter-option.d.ts +49 -0
  363. package/dist/adminapi/models/tde-parameter-option.d.ts.map +1 -0
  364. package/dist/adminapi/models/tde-parameter-option.js +16 -0
  365. package/dist/adminapi/models/tde-parameter-option.js.map +1 -0
  366. package/dist/adminapi/models/tde-request.d.ts +31 -0
  367. package/dist/adminapi/models/tde-request.d.ts.map +1 -0
  368. package/dist/adminapi/models/tde-request.js +16 -0
  369. package/dist/adminapi/models/tde-request.js.map +1 -0
  370. package/dist/adminapi/models/tde-response.d.ts +31 -0
  371. package/dist/adminapi/models/tde-response.d.ts.map +1 -0
  372. package/dist/adminapi/models/tde-response.js +16 -0
  373. package/dist/adminapi/models/tde-response.js.map +1 -0
  374. package/dist/adminapi/models/tde-status.d.ts +33 -0
  375. package/dist/adminapi/models/tde-status.d.ts.map +1 -0
  376. package/dist/adminapi/models/tde-status.js +16 -0
  377. package/dist/adminapi/models/tde-status.js.map +1 -0
  378. package/dist/internalapi/models/storage-create.d.ts +0 -6
  379. package/dist/internalapi/models/storage-create.d.ts.map +1 -1
  380. package/dist/internalapi/models/storage.d.ts +0 -6
  381. package/dist/internalapi/models/storage.d.ts.map +1 -1
  382. package/dist/openapi/api.d.ts +1 -0
  383. package/dist/openapi/api.d.ts.map +1 -1
  384. package/dist/openapi/api.js +1 -0
  385. package/dist/openapi/api.js.map +1 -1
  386. package/dist/openapi/apis/aiagent-api.d.ts +1143 -0
  387. package/dist/openapi/apis/aiagent-api.d.ts.map +1 -0
  388. package/dist/openapi/apis/aiagent-api.js +1214 -0
  389. package/dist/openapi/apis/aiagent-api.js.map +1 -0
  390. package/dist/openapi/apis/benchmark-api.d.ts +64 -0
  391. package/dist/openapi/apis/benchmark-api.d.ts.map +1 -1
  392. package/dist/openapi/apis/benchmark-api.js +72 -0
  393. package/dist/openapi/apis/benchmark-api.js.map +1 -1
  394. package/dist/openapi/apis/cluster-api.d.ts +163 -2
  395. package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
  396. package/dist/openapi/apis/cluster-api.js +170 -5
  397. package/dist/openapi/apis/cluster-api.js.map +1 -1
  398. package/dist/openapi/apis/cluster-log-api.d.ts +1146 -35
  399. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  400. package/dist/openapi/apis/cluster-log-api.js +882 -15
  401. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  402. package/dist/openapi/apis/data-replication-api.d.ts +440 -0
  403. package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
  404. package/dist/openapi/apis/data-replication-api.js +464 -0
  405. package/dist/openapi/apis/data-replication-api.js.map +1 -1
  406. package/dist/openapi/apis/dms-api.d.ts +2868 -458
  407. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  408. package/dist/openapi/apis/dms-api.js +2673 -321
  409. package/dist/openapi/apis/dms-api.js.map +1 -1
  410. package/dist/openapi/apis/engine-api.d.ts +72 -0
  411. package/dist/openapi/apis/engine-api.d.ts.map +1 -1
  412. package/dist/openapi/apis/engine-api.js +80 -0
  413. package/dist/openapi/apis/engine-api.js.map +1 -1
  414. package/dist/openapi/apis/parameter-template-api.d.ts +80 -0
  415. package/dist/openapi/apis/parameter-template-api.d.ts.map +1 -1
  416. package/dist/openapi/apis/parameter-template-api.js +81 -0
  417. package/dist/openapi/apis/parameter-template-api.js.map +1 -1
  418. package/dist/openapi/apis/shared-api.d.ts +1570 -188
  419. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  420. package/dist/openapi/apis/shared-api.js +1195 -62
  421. package/dist/openapi/apis/shared-api.js.map +1 -1
  422. package/dist/openapi/models/ai-agent-conversation-list.d.ts +26 -0
  423. package/dist/openapi/models/ai-agent-conversation-list.d.ts.map +1 -0
  424. package/dist/openapi/models/ai-agent-conversation-list.js +16 -0
  425. package/dist/openapi/models/ai-agent-conversation-list.js.map +1 -0
  426. package/dist/openapi/models/ai-agent-conversation-status.d.ts +25 -0
  427. package/dist/openapi/models/ai-agent-conversation-status.d.ts.map +1 -0
  428. package/dist/openapi/models/ai-agent-conversation-status.js +29 -0
  429. package/dist/openapi/models/ai-agent-conversation-status.js.map +1 -0
  430. package/dist/openapi/models/ai-agent-conversation.d.ts +76 -0
  431. package/dist/openapi/models/ai-agent-conversation.d.ts.map +1 -0
  432. package/dist/openapi/models/ai-agent-conversation.js +16 -0
  433. package/dist/openapi/models/ai-agent-conversation.js.map +1 -0
  434. package/dist/openapi/models/ai-agent-create-conversation-request.d.ts +37 -0
  435. package/dist/openapi/models/ai-agent-create-conversation-request.d.ts.map +1 -0
  436. package/dist/openapi/models/ai-agent-create-conversation-request.js +16 -0
  437. package/dist/openapi/models/ai-agent-create-conversation-request.js.map +1 -0
  438. package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
  439. package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
  440. package/dist/openapi/models/ai-agent-delete-conversation-response.js +16 -0
  441. package/dist/openapi/models/ai-agent-delete-conversation-response.js.map +1 -0
  442. package/dist/openapi/models/ai-agent-event-type.d.ts +35 -0
  443. package/dist/openapi/models/ai-agent-event-type.d.ts.map +1 -0
  444. package/dist/openapi/models/ai-agent-event-type.js +39 -0
  445. package/dist/openapi/models/ai-agent-event-type.js.map +1 -0
  446. package/dist/openapi/models/ai-agent-event.d.ts +70 -0
  447. package/dist/openapi/models/ai-agent-event.d.ts.map +1 -0
  448. package/dist/openapi/models/ai-agent-event.js +16 -0
  449. package/dist/openapi/models/ai-agent-event.js.map +1 -0
  450. package/dist/openapi/models/ai-agent-message-list.d.ts +26 -0
  451. package/dist/openapi/models/ai-agent-message-list.d.ts.map +1 -0
  452. package/dist/openapi/models/ai-agent-message-list.js +16 -0
  453. package/dist/openapi/models/ai-agent-message-list.js.map +1 -0
  454. package/dist/openapi/models/ai-agent-message-part-type.d.ts +24 -0
  455. package/dist/openapi/models/ai-agent-message-part-type.d.ts.map +1 -0
  456. package/dist/openapi/models/ai-agent-message-part-type.js +28 -0
  457. package/dist/openapi/models/ai-agent-message-part-type.js.map +1 -0
  458. package/dist/openapi/models/ai-agent-message-part.d.ts +46 -0
  459. package/dist/openapi/models/ai-agent-message-part.d.ts.map +1 -0
  460. package/dist/openapi/models/ai-agent-message-part.js +16 -0
  461. package/dist/openapi/models/ai-agent-message-part.js.map +1 -0
  462. package/dist/openapi/models/{pgbench-step.d.ts → ai-agent-message-role.d.ts} +7 -8
  463. package/dist/openapi/models/ai-agent-message-role.d.ts.map +1 -0
  464. package/dist/openapi/models/{pgbench-step.js → ai-agent-message-role.js} +7 -8
  465. package/dist/openapi/models/ai-agent-message-role.js.map +1 -0
  466. package/dist/openapi/models/ai-agent-message.d.ts +64 -0
  467. package/dist/openapi/models/ai-agent-message.d.ts.map +1 -0
  468. package/dist/openapi/models/ai-agent-message.js +16 -0
  469. package/dist/openapi/models/ai-agent-message.js.map +1 -0
  470. package/dist/openapi/models/ai-agent-object-ref.d.ts +31 -0
  471. package/dist/openapi/models/ai-agent-object-ref.d.ts.map +1 -0
  472. package/dist/openapi/models/ai-agent-object-ref.js +16 -0
  473. package/dist/openapi/models/ai-agent-object-ref.js.map +1 -0
  474. package/dist/openapi/models/ai-agent-runtime-status-code.d.ts +25 -0
  475. package/dist/openapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
  476. package/dist/openapi/models/ai-agent-runtime-status-code.js +29 -0
  477. package/dist/openapi/models/ai-agent-runtime-status-code.js.map +1 -0
  478. package/dist/openapi/models/ai-agent-runtime-status.d.ts +45 -0
  479. package/dist/openapi/models/ai-agent-runtime-status.d.ts.map +1 -0
  480. package/dist/openapi/models/ai-agent-runtime-status.js +16 -0
  481. package/dist/openapi/models/ai-agent-runtime-status.js.map +1 -0
  482. package/dist/openapi/models/ai-agent-scope.d.ts +44 -0
  483. package/dist/openapi/models/ai-agent-scope.d.ts.map +1 -0
  484. package/dist/openapi/models/ai-agent-scope.js +16 -0
  485. package/dist/openapi/models/ai-agent-scope.js.map +1 -0
  486. package/dist/openapi/models/ai-agent-send-message-request.d.ts +32 -0
  487. package/dist/openapi/models/ai-agent-send-message-request.d.ts.map +1 -0
  488. package/dist/openapi/models/ai-agent-send-message-request.js +16 -0
  489. package/dist/openapi/models/ai-agent-send-message-request.js.map +1 -0
  490. package/dist/openapi/models/ai-agent-send-message-response.d.ts +44 -0
  491. package/dist/openapi/models/ai-agent-send-message-response.d.ts.map +1 -0
  492. package/dist/openapi/models/ai-agent-send-message-response.js +16 -0
  493. package/dist/openapi/models/ai-agent-send-message-response.js.map +1 -0
  494. package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
  495. package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
  496. package/dist/openapi/models/ai-agent-stop-conversation-response.js +16 -0
  497. package/dist/openapi/models/ai-agent-stop-conversation-response.js.map +1 -0
  498. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts +25 -0
  499. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
  500. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js +16 -0
  501. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
  502. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
  503. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
  504. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js +16 -0
  505. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
  506. package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts +24 -0
  507. package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
  508. package/dist/openapi/models/ai-agent-tool-confirmation-status.js +28 -0
  509. package/dist/openapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
  510. package/dist/openapi/models/ai-agent-turn-action-list.d.ts +26 -0
  511. package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
  512. package/dist/openapi/models/ai-agent-turn-action-list.js +16 -0
  513. package/dist/openapi/models/ai-agent-turn-action-list.js.map +1 -0
  514. package/dist/openapi/models/ai-agent-turn-action.d.ts +106 -0
  515. package/dist/openapi/models/ai-agent-turn-action.d.ts.map +1 -0
  516. package/dist/openapi/models/ai-agent-turn-action.js +16 -0
  517. package/dist/openapi/models/ai-agent-turn-action.js.map +1 -0
  518. package/dist/openapi/models/ai-agent-turn-status.d.ts +25 -0
  519. package/dist/openapi/models/ai-agent-turn-status.d.ts.map +1 -0
  520. package/dist/openapi/models/ai-agent-turn-status.js +29 -0
  521. package/dist/openapi/models/ai-agent-turn-status.js.map +1 -0
  522. package/dist/openapi/models/bench-option.d.ts +6 -0
  523. package/dist/openapi/models/bench-option.d.ts.map +1 -1
  524. package/dist/openapi/models/{ycsb-step.d.ts → benchmark-step.d.ts} +3 -3
  525. package/dist/openapi/models/benchmark-step.d.ts.map +1 -0
  526. package/dist/openapi/models/{ycsb-step.js → benchmark-step.js} +3 -3
  527. package/dist/openapi/models/benchmark-step.js.map +1 -0
  528. package/dist/openapi/models/benchmark-type.d.ts +1 -0
  529. package/dist/openapi/models/benchmark-type.d.ts.map +1 -1
  530. package/dist/openapi/models/benchmark-type.js +2 -1
  531. package/dist/openapi/models/benchmark-type.js.map +1 -1
  532. package/dist/openapi/models/cluster-execution-log-item.d.ts +7 -0
  533. package/dist/openapi/models/cluster-execution-log-item.d.ts.map +1 -1
  534. package/dist/openapi/models/cluster-log-hits-item.d.ts +6 -0
  535. package/dist/openapi/models/cluster-log-hits-item.d.ts.map +1 -1
  536. package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts +31 -0
  537. package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts.map +1 -0
  538. package/dist/openapi/models/cluster-slow-log-database-distribution.js +16 -0
  539. package/dist/openapi/models/cluster-slow-log-database-distribution.js.map +1 -0
  540. package/dist/openapi/models/cluster-slow-log-detail.d.ts +55 -0
  541. package/dist/openapi/models/cluster-slow-log-detail.d.ts.map +1 -0
  542. package/dist/openapi/models/cluster-slow-log-detail.js +16 -0
  543. package/dist/openapi/models/cluster-slow-log-detail.js.map +1 -0
  544. package/dist/openapi/models/cluster-slow-log-explain-response.d.ts +75 -0
  545. package/dist/openapi/models/cluster-slow-log-explain-response.d.ts.map +1 -0
  546. package/dist/openapi/models/cluster-slow-log-explain-response.js +16 -0
  547. package/dist/openapi/models/cluster-slow-log-explain-response.js.map +1 -0
  548. package/dist/openapi/models/cluster-slow-log-stats.d.ts +7 -0
  549. package/dist/openapi/models/cluster-slow-log-stats.d.ts.map +1 -1
  550. package/dist/openapi/models/cluster-slow-log-template-list.d.ts +26 -0
  551. package/dist/openapi/models/cluster-slow-log-template-list.d.ts.map +1 -0
  552. package/dist/openapi/models/cluster-slow-log-template-list.js +16 -0
  553. package/dist/openapi/models/cluster-slow-log-template-list.js.map +1 -0
  554. package/dist/openapi/models/cluster-slow-log-template.d.ts +133 -0
  555. package/dist/openapi/models/cluster-slow-log-template.d.ts.map +1 -0
  556. package/dist/openapi/models/cluster-slow-log-template.js +16 -0
  557. package/dist/openapi/models/cluster-slow-log-template.js.map +1 -0
  558. package/dist/openapi/models/data-check-create.d.ts +64 -0
  559. package/dist/openapi/models/data-check-create.d.ts.map +1 -0
  560. package/dist/openapi/models/data-check-create.js +16 -0
  561. package/dist/openapi/models/data-check-create.js.map +1 -0
  562. package/dist/openapi/models/data-check-detail-item.d.ts +94 -0
  563. package/dist/openapi/models/data-check-detail-item.d.ts.map +1 -0
  564. package/dist/openapi/models/data-check-detail-item.js +16 -0
  565. package/dist/openapi/models/data-check-detail-item.js.map +1 -0
  566. package/dist/openapi/models/{tpcc-step.d.ts → data-check-detail-type.d.ts} +6 -8
  567. package/dist/openapi/models/data-check-detail-type.d.ts.map +1 -0
  568. package/dist/openapi/models/{tpcc-step.js → data-check-detail-type.js} +6 -8
  569. package/dist/openapi/models/data-check-detail-type.js.map +1 -0
  570. package/dist/openapi/models/data-check-details.d.ts +33 -0
  571. package/dist/openapi/models/data-check-details.d.ts.map +1 -0
  572. package/dist/openapi/models/data-check-details.js +16 -0
  573. package/dist/openapi/models/data-check-details.js.map +1 -0
  574. package/dist/openapi/models/data-check-diff-value.d.ts +43 -0
  575. package/dist/openapi/models/data-check-diff-value.d.ts.map +1 -0
  576. package/dist/openapi/models/data-check-diff-value.js +16 -0
  577. package/dist/openapi/models/data-check-diff-value.js.map +1 -0
  578. package/dist/openapi/models/data-check-item.d.ts +101 -0
  579. package/dist/openapi/models/data-check-item.d.ts.map +1 -0
  580. package/dist/openapi/models/data-check-item.js +16 -0
  581. package/dist/openapi/models/data-check-item.js.map +1 -0
  582. package/dist/openapi/models/data-check-list-item.d.ts +101 -0
  583. package/dist/openapi/models/data-check-list-item.d.ts.map +1 -0
  584. package/dist/openapi/models/data-check-list-item.js +16 -0
  585. package/dist/openapi/models/data-check-list-item.js.map +1 -0
  586. package/dist/openapi/models/data-check-list-summary.d.ts +49 -0
  587. package/dist/openapi/models/data-check-list-summary.d.ts.map +1 -0
  588. package/dist/openapi/models/data-check-list-summary.js +16 -0
  589. package/dist/openapi/models/data-check-list-summary.js.map +1 -0
  590. package/dist/openapi/models/data-check-response.d.ts +37 -0
  591. package/dist/openapi/models/data-check-response.d.ts.map +1 -0
  592. package/dist/openapi/models/data-check-response.js +16 -0
  593. package/dist/openapi/models/data-check-response.js.map +1 -0
  594. package/dist/openapi/models/data-check-status.d.ts +23 -0
  595. package/dist/openapi/models/data-check-status.d.ts.map +1 -0
  596. package/dist/openapi/models/{sysbench-step.js → data-check-status.js} +7 -8
  597. package/dist/openapi/models/data-check-status.js.map +1 -0
  598. package/dist/openapi/models/data-check-summary.d.ts +56 -0
  599. package/dist/openapi/models/data-check-summary.d.ts.map +1 -0
  600. package/dist/openapi/models/data-check-summary.js +16 -0
  601. package/dist/openapi/models/data-check-summary.js.map +1 -0
  602. package/dist/openapi/models/data-check-table-summary.d.ts +67 -0
  603. package/dist/openapi/models/data-check-table-summary.d.ts.map +1 -0
  604. package/dist/openapi/models/data-check-table-summary.js +16 -0
  605. package/dist/openapi/models/data-check-table-summary.js.map +1 -0
  606. package/dist/openapi/models/data-check-type.d.ts +22 -0
  607. package/dist/openapi/models/data-check-type.d.ts.map +1 -0
  608. package/dist/openapi/models/data-check-type.js +26 -0
  609. package/dist/openapi/models/data-check-type.js.map +1 -0
  610. package/dist/openapi/models/database-option.d.ts +6 -0
  611. package/dist/openapi/models/database-option.d.ts.map +1 -1
  612. package/dist/openapi/models/dms-option.d.ts +0 -6
  613. package/dist/openapi/models/dms-option.d.ts.map +1 -1
  614. package/dist/openapi/models/dms-query-history.d.ts +10 -4
  615. package/dist/openapi/models/dms-query-history.d.ts.map +1 -1
  616. package/dist/openapi/models/engine-network-mode-supported.d.ts +34 -0
  617. package/dist/openapi/models/engine-network-mode-supported.d.ts.map +1 -0
  618. package/dist/openapi/models/engine-network-mode-supported.js +16 -0
  619. package/dist/openapi/models/engine-network-mode-supported.js.map +1 -0
  620. package/dist/openapi/models/engine-option.d.ts +7 -0
  621. package/dist/openapi/models/engine-option.d.ts.map +1 -1
  622. package/dist/openapi/models/{inspection-supported-engines.d.ts → esrally-data-profile.d.ts} +15 -13
  623. package/dist/openapi/models/esrally-data-profile.d.ts.map +1 -0
  624. package/dist/openapi/models/{inspection-supported-engines.js → esrally-data-profile.js} +15 -13
  625. package/dist/openapi/models/esrally-data-profile.js.map +1 -0
  626. package/dist/openapi/models/esrally-on-error.d.ts +22 -0
  627. package/dist/openapi/models/esrally-on-error.d.ts.map +1 -0
  628. package/dist/openapi/models/esrally-on-error.js +26 -0
  629. package/dist/openapi/models/esrally-on-error.js.map +1 -0
  630. package/dist/openapi/models/esrally-telemetry.d.ts +31 -0
  631. package/dist/openapi/models/esrally-telemetry.d.ts.map +1 -0
  632. package/dist/openapi/models/esrally-telemetry.js +35 -0
  633. package/dist/openapi/models/esrally-telemetry.js.map +1 -0
  634. package/dist/openapi/models/{sysbench-step.d.ts → esrally-workload.d.ts} +7 -7
  635. package/dist/openapi/models/esrally-workload.d.ts.map +1 -0
  636. package/dist/openapi/models/esrally-workload.js +28 -0
  637. package/dist/openapi/models/esrally-workload.js.map +1 -0
  638. package/dist/openapi/models/esrally.d.ts +120 -0
  639. package/dist/openapi/models/esrally.d.ts.map +1 -0
  640. package/dist/openapi/models/esrally.js +16 -0
  641. package/dist/openapi/models/esrally.js.map +1 -0
  642. package/dist/openapi/models/index.d.ts +92 -5
  643. package/dist/openapi/models/index.d.ts.map +1 -1
  644. package/dist/openapi/models/index.js +92 -5
  645. package/dist/openapi/models/index.js.map +1 -1
  646. package/dist/openapi/models/inspection-task.d.ts +2 -3
  647. package/dist/openapi/models/inspection-task.d.ts.map +1 -1
  648. package/dist/openapi/models/llm.d.ts +1 -1
  649. package/dist/openapi/models/log-option.d.ts +6 -0
  650. package/dist/openapi/models/log-option.d.ts.map +1 -1
  651. package/dist/openapi/models/mongo-aggregate-request.d.ts +37 -0
  652. package/dist/openapi/models/mongo-aggregate-request.d.ts.map +1 -0
  653. package/dist/openapi/models/mongo-aggregate-request.js +16 -0
  654. package/dist/openapi/models/mongo-aggregate-request.js.map +1 -0
  655. package/dist/openapi/models/mongo-collection-capabilities.d.ts +49 -0
  656. package/dist/openapi/models/mongo-collection-capabilities.d.ts.map +1 -0
  657. package/dist/openapi/models/mongo-collection-capabilities.js +16 -0
  658. package/dist/openapi/models/mongo-collection-capabilities.js.map +1 -0
  659. package/dist/openapi/models/mongo-collection-info.d.ts +50 -0
  660. package/dist/openapi/models/mongo-collection-info.d.ts.map +1 -0
  661. package/dist/openapi/models/mongo-collection-info.js +16 -0
  662. package/dist/openapi/models/mongo-collection-info.js.map +1 -0
  663. package/dist/openapi/models/mongo-collection-stats.d.ts +62 -0
  664. package/dist/openapi/models/mongo-collection-stats.d.ts.map +1 -0
  665. package/dist/openapi/models/mongo-collection-stats.js +16 -0
  666. package/dist/openapi/models/mongo-collection-stats.js.map +1 -0
  667. package/dist/openapi/models/mongo-create-collection-options.d.ts +61 -0
  668. package/dist/openapi/models/mongo-create-collection-options.d.ts.map +1 -0
  669. package/dist/openapi/models/mongo-create-collection-options.js +16 -0
  670. package/dist/openapi/models/mongo-create-collection-options.js.map +1 -0
  671. package/dist/openapi/models/mongo-create-collection-request.d.ts +26 -0
  672. package/dist/openapi/models/mongo-create-collection-request.d.ts.map +1 -0
  673. package/dist/openapi/models/mongo-create-collection-request.js +16 -0
  674. package/dist/openapi/models/mongo-create-collection-request.js.map +1 -0
  675. package/dist/openapi/models/mongo-create-index-request.d.ts +32 -0
  676. package/dist/openapi/models/mongo-create-index-request.d.ts.map +1 -0
  677. package/dist/openapi/models/mongo-create-index-request.js +16 -0
  678. package/dist/openapi/models/mongo-create-index-request.js.map +1 -0
  679. package/dist/openapi/models/mongo-create-view-request.d.ts +43 -0
  680. package/dist/openapi/models/mongo-create-view-request.d.ts.map +1 -0
  681. package/dist/openapi/models/mongo-create-view-request.js +16 -0
  682. package/dist/openapi/models/mongo-create-view-request.js.map +1 -0
  683. package/dist/openapi/models/mongo-database-info.d.ts +49 -0
  684. package/dist/openapi/models/mongo-database-info.d.ts.map +1 -0
  685. package/dist/openapi/models/mongo-database-info.js +16 -0
  686. package/dist/openapi/models/mongo-database-info.js.map +1 -0
  687. package/dist/openapi/models/mongo-delete-request.d.ts +31 -0
  688. package/dist/openapi/models/mongo-delete-request.d.ts.map +1 -0
  689. package/dist/openapi/models/mongo-delete-request.js +16 -0
  690. package/dist/openapi/models/mongo-delete-request.js.map +1 -0
  691. package/dist/openapi/models/mongo-explain-request.d.ts +67 -0
  692. package/dist/openapi/models/mongo-explain-request.d.ts.map +1 -0
  693. package/dist/openapi/models/mongo-explain-request.js +16 -0
  694. package/dist/openapi/models/mongo-explain-request.js.map +1 -0
  695. package/dist/openapi/models/mongo-explain-response.d.ts +31 -0
  696. package/dist/openapi/models/mongo-explain-response.d.ts.map +1 -0
  697. package/dist/openapi/models/mongo-explain-response.js +16 -0
  698. package/dist/openapi/models/mongo-explain-response.js.map +1 -0
  699. package/dist/openapi/models/mongo-find-request.d.ts +61 -0
  700. package/dist/openapi/models/mongo-find-request.d.ts.map +1 -0
  701. package/dist/openapi/models/mongo-find-request.js +16 -0
  702. package/dist/openapi/models/mongo-find-request.js.map +1 -0
  703. package/dist/openapi/models/mongo-find-response.d.ts +43 -0
  704. package/dist/openapi/models/mongo-find-response.d.ts.map +1 -0
  705. package/dist/openapi/models/mongo-find-response.js +16 -0
  706. package/dist/openapi/models/mongo-find-response.js.map +1 -0
  707. package/dist/openapi/models/mongo-index-info.d.ts +67 -0
  708. package/dist/openapi/models/mongo-index-info.d.ts.map +1 -0
  709. package/dist/openapi/models/mongo-index-info.js +16 -0
  710. package/dist/openapi/models/mongo-index-info.js.map +1 -0
  711. package/dist/openapi/models/mongo-index-options.d.ts +37 -0
  712. package/dist/openapi/models/mongo-index-options.d.ts.map +1 -0
  713. package/dist/openapi/models/mongo-index-options.js +16 -0
  714. package/dist/openapi/models/mongo-index-options.js.map +1 -0
  715. package/dist/openapi/models/mongo-insert-request.d.ts +31 -0
  716. package/dist/openapi/models/mongo-insert-request.d.ts.map +1 -0
  717. package/dist/openapi/models/mongo-insert-request.js +16 -0
  718. package/dist/openapi/models/mongo-insert-request.js.map +1 -0
  719. package/dist/openapi/models/mongo-replace-request.d.ts +37 -0
  720. package/dist/openapi/models/mongo-replace-request.d.ts.map +1 -0
  721. package/dist/openapi/models/mongo-replace-request.js +16 -0
  722. package/dist/openapi/models/mongo-replace-request.js.map +1 -0
  723. package/dist/openapi/models/mongo-schema-analysis.d.ts +38 -0
  724. package/dist/openapi/models/mongo-schema-analysis.d.ts.map +1 -0
  725. package/dist/openapi/models/mongo-schema-analysis.js +16 -0
  726. package/dist/openapi/models/mongo-schema-analysis.js.map +1 -0
  727. package/dist/openapi/models/mongo-schema-field.d.ts +37 -0
  728. package/dist/openapi/models/mongo-schema-field.d.ts.map +1 -0
  729. package/dist/openapi/models/mongo-schema-field.js +16 -0
  730. package/dist/openapi/models/mongo-schema-field.js.map +1 -0
  731. package/dist/openapi/models/mongo-set-validation-request.d.ts +37 -0
  732. package/dist/openapi/models/mongo-set-validation-request.d.ts.map +1 -0
  733. package/dist/openapi/models/mongo-set-validation-request.js +16 -0
  734. package/dist/openapi/models/mongo-set-validation-request.js.map +1 -0
  735. package/dist/openapi/models/mongo-shell-completion-item.d.ts +25 -0
  736. package/dist/openapi/models/mongo-shell-completion-item.d.ts.map +1 -0
  737. package/dist/openapi/models/mongo-shell-completion-item.js +16 -0
  738. package/dist/openapi/models/mongo-shell-completion-item.js.map +1 -0
  739. package/dist/openapi/models/mongo-shell-completions-request.d.ts +25 -0
  740. package/dist/openapi/models/mongo-shell-completions-request.d.ts.map +1 -0
  741. package/dist/openapi/models/mongo-shell-completions-request.js +16 -0
  742. package/dist/openapi/models/mongo-shell-completions-request.js.map +1 -0
  743. package/dist/openapi/models/mongo-shell-completions-response.d.ts +26 -0
  744. package/dist/openapi/models/mongo-shell-completions-response.d.ts.map +1 -0
  745. package/dist/openapi/models/mongo-shell-completions-response.js +16 -0
  746. package/dist/openapi/models/mongo-shell-completions-response.js.map +1 -0
  747. package/dist/openapi/models/mongo-shell-create-session-request.d.ts +25 -0
  748. package/dist/openapi/models/mongo-shell-create-session-request.d.ts.map +1 -0
  749. package/dist/openapi/models/mongo-shell-create-session-request.js +16 -0
  750. package/dist/openapi/models/mongo-shell-create-session-request.js.map +1 -0
  751. package/dist/openapi/models/mongo-shell-evaluate-request.d.ts +37 -0
  752. package/dist/openapi/models/mongo-shell-evaluate-request.d.ts.map +1 -0
  753. package/dist/openapi/models/mongo-shell-evaluate-request.js +16 -0
  754. package/dist/openapi/models/mongo-shell-evaluate-request.js.map +1 -0
  755. package/dist/openapi/models/mongo-shell-evaluate-response.d.ts +44 -0
  756. package/dist/openapi/models/mongo-shell-evaluate-response.d.ts.map +1 -0
  757. package/dist/openapi/models/mongo-shell-evaluate-response.js +16 -0
  758. package/dist/openapi/models/mongo-shell-evaluate-response.js.map +1 -0
  759. package/dist/openapi/models/mongo-shell-interrupt-response.d.ts +25 -0
  760. package/dist/openapi/models/mongo-shell-interrupt-response.d.ts.map +1 -0
  761. package/dist/openapi/models/mongo-shell-interrupt-response.js +16 -0
  762. package/dist/openapi/models/mongo-shell-interrupt-response.js.map +1 -0
  763. package/dist/openapi/models/mongo-shell-prompt-response.d.ts +25 -0
  764. package/dist/openapi/models/mongo-shell-prompt-response.d.ts.map +1 -0
  765. package/dist/openapi/models/mongo-shell-prompt-response.js +16 -0
  766. package/dist/openapi/models/mongo-shell-prompt-response.js.map +1 -0
  767. package/dist/openapi/models/mongo-shell-result.d.ts +37 -0
  768. package/dist/openapi/models/mongo-shell-result.d.ts.map +1 -0
  769. package/dist/openapi/models/mongo-shell-result.js +16 -0
  770. package/dist/openapi/models/mongo-shell-result.js.map +1 -0
  771. package/dist/openapi/models/mongo-shell-session.d.ts +49 -0
  772. package/dist/openapi/models/mongo-shell-session.d.ts.map +1 -0
  773. package/dist/openapi/models/mongo-shell-session.js +16 -0
  774. package/dist/openapi/models/mongo-shell-session.js.map +1 -0
  775. package/dist/openapi/models/mongo-update-request.d.ts +43 -0
  776. package/dist/openapi/models/mongo-update-request.d.ts.map +1 -0
  777. package/dist/openapi/models/mongo-update-request.js +16 -0
  778. package/dist/openapi/models/mongo-update-request.js.map +1 -0
  779. package/dist/openapi/models/mongo-validation-info.d.ts +37 -0
  780. package/dist/openapi/models/mongo-validation-info.d.ts.map +1 -0
  781. package/dist/openapi/models/mongo-validation-info.js +16 -0
  782. package/dist/openapi/models/mongo-validation-info.js.map +1 -0
  783. package/dist/openapi/models/mongo-write-response.d.ts +31 -0
  784. package/dist/openapi/models/mongo-write-response.d.ts.map +1 -0
  785. package/dist/openapi/models/mongo-write-response.js +16 -0
  786. package/dist/openapi/models/mongo-write-response.js.map +1 -0
  787. package/dist/openapi/models/mongo-write-result.d.ts +55 -0
  788. package/dist/openapi/models/mongo-write-result.d.ts.map +1 -0
  789. package/dist/openapi/models/mongo-write-result.js +16 -0
  790. package/dist/openapi/models/mongo-write-result.js.map +1 -0
  791. package/dist/openapi/models/parameter-template-diff-item.d.ts +43 -0
  792. package/dist/openapi/models/parameter-template-diff-item.d.ts.map +1 -0
  793. package/dist/openapi/models/parameter-template-diff-item.js +16 -0
  794. package/dist/openapi/models/parameter-template-diff-item.js.map +1 -0
  795. package/dist/openapi/models/parameter-template-diff.d.ts +26 -0
  796. package/dist/openapi/models/parameter-template-diff.d.ts.map +1 -0
  797. package/dist/openapi/models/parameter-template-diff.js +16 -0
  798. package/dist/openapi/models/parameter-template-diff.js.map +1 -0
  799. package/dist/openapi/models/pgbench.d.ts +3 -3
  800. package/dist/openapi/models/pgbench.d.ts.map +1 -1
  801. package/dist/openapi/models/storage.d.ts +0 -6
  802. package/dist/openapi/models/storage.d.ts.map +1 -1
  803. package/dist/openapi/models/sysbench.d.ts +3 -3
  804. package/dist/openapi/models/sysbench.d.ts.map +1 -1
  805. package/dist/openapi/models/tde-option.d.ts +32 -0
  806. package/dist/openapi/models/tde-option.d.ts.map +1 -0
  807. package/dist/openapi/models/tde-option.js +16 -0
  808. package/dist/openapi/models/tde-option.js.map +1 -0
  809. package/dist/openapi/models/tde-parameter-option.d.ts +49 -0
  810. package/dist/openapi/models/tde-parameter-option.d.ts.map +1 -0
  811. package/dist/openapi/models/tde-parameter-option.js +16 -0
  812. package/dist/openapi/models/tde-parameter-option.js.map +1 -0
  813. package/dist/openapi/models/tde-request.d.ts +31 -0
  814. package/dist/openapi/models/tde-request.d.ts.map +1 -0
  815. package/dist/openapi/models/tde-request.js +16 -0
  816. package/dist/openapi/models/tde-request.js.map +1 -0
  817. package/dist/openapi/models/tde-response.d.ts +31 -0
  818. package/dist/openapi/models/tde-response.d.ts.map +1 -0
  819. package/dist/openapi/models/tde-response.js +16 -0
  820. package/dist/openapi/models/tde-response.js.map +1 -0
  821. package/dist/openapi/models/tde-status.d.ts +33 -0
  822. package/dist/openapi/models/tde-status.d.ts.map +1 -0
  823. package/dist/openapi/models/tde-status.js +16 -0
  824. package/dist/openapi/models/tde-status.js.map +1 -0
  825. package/dist/openapi/models/tpcc.d.ts +3 -3
  826. package/dist/openapi/models/tpcc.d.ts.map +1 -1
  827. package/dist/openapi/models/ycsb.d.ts +3 -3
  828. package/dist/openapi/models/ycsb.d.ts.map +1 -1
  829. package/package.json +1 -1
  830. package/src/adminapi/.openapi-generator/FILES +78 -1
  831. package/src/adminapi/api.ts +1 -0
  832. package/src/adminapi/apis/aiagent-api.ts +1935 -0
  833. package/src/adminapi/apis/cluster-api.ts +282 -5
  834. package/src/adminapi/apis/cluster-log-api.ts +2062 -213
  835. package/src/adminapi/apis/dms-api.ts +4961 -937
  836. package/src/adminapi/apis/engine-api.ts +694 -0
  837. package/src/adminapi/apis/parameter-template-api.ts +139 -0
  838. package/src/adminapi/apis/shared-api.ts +3597 -1288
  839. package/src/adminapi/models/ai-agent-conversation-list.ts +33 -0
  840. package/src/adminapi/models/{inspection-supported-engines.ts → ai-agent-conversation-status.ts} +8 -12
  841. package/src/adminapi/models/ai-agent-conversation.ts +89 -0
  842. package/src/adminapi/models/ai-agent-create-conversation-request.ts +42 -0
  843. package/src/adminapi/models/ai-agent-delete-conversation-response.ts +36 -0
  844. package/src/adminapi/models/ai-agent-event-type.ts +44 -0
  845. package/src/adminapi/models/ai-agent-event.ts +77 -0
  846. package/src/adminapi/models/ai-agent-message-list.ts +33 -0
  847. package/src/adminapi/models/ai-agent-message-part-type.ts +33 -0
  848. package/src/adminapi/models/ai-agent-message-part.ts +53 -0
  849. package/src/adminapi/models/ai-agent-message-role.ts +32 -0
  850. package/src/adminapi/models/ai-agent-message.ts +77 -0
  851. package/src/adminapi/models/ai-agent-object-ref.ts +36 -0
  852. package/src/adminapi/models/ai-agent-runtime-status-code.ts +34 -0
  853. package/src/adminapi/models/ai-agent-runtime-status.ts +56 -0
  854. package/src/adminapi/models/ai-agent-scope.ts +51 -0
  855. package/src/adminapi/models/ai-agent-send-message-request.ts +39 -0
  856. package/src/adminapi/models/ai-agent-send-message-response.ts +53 -0
  857. package/src/adminapi/models/ai-agent-stop-conversation-response.ts +41 -0
  858. package/src/adminapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
  859. package/src/adminapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
  860. package/src/adminapi/models/ai-agent-tool-confirmation-status.ts +33 -0
  861. package/src/adminapi/models/ai-agent-turn-action-list.ts +33 -0
  862. package/src/adminapi/models/ai-agent-turn-action.ts +113 -0
  863. package/src/adminapi/models/ai-agent-turn-status.ts +34 -0
  864. package/src/adminapi/models/bench-option.ts +6 -0
  865. package/src/adminapi/models/cluster-execution-log-item.ts +9 -0
  866. package/src/adminapi/models/cluster-log-hits-item.ts +6 -0
  867. package/src/adminapi/models/cluster-slow-log-database-distribution.ts +36 -0
  868. package/src/adminapi/models/cluster-slow-log-detail.ts +60 -0
  869. package/src/adminapi/models/cluster-slow-log-explain-response.ts +84 -0
  870. package/src/adminapi/models/cluster-slow-log-stats.ts +9 -0
  871. package/src/adminapi/models/cluster-slow-log-template-list.ts +33 -0
  872. package/src/adminapi/models/cluster-slow-log-template.ts +138 -0
  873. package/src/adminapi/models/database-option.ts +6 -0
  874. package/src/adminapi/models/database-parameter-item.ts +6 -0
  875. package/src/adminapi/models/database-parameter-list-item.ts +6 -0
  876. package/src/adminapi/models/dms-option.ts +0 -6
  877. package/src/adminapi/models/dms-query-history.ts +10 -4
  878. package/src/adminapi/models/engine-network-mode-options-inner.ts +45 -0
  879. package/src/adminapi/models/engine-network-mode-supported.ts +39 -0
  880. package/src/adminapi/models/engine-option.ts +9 -0
  881. package/src/adminapi/models/environment-engine-option-create.ts +42 -0
  882. package/src/adminapi/models/environment-engine-option-update.ts +30 -0
  883. package/src/adminapi/models/environment-engine-option.ts +72 -0
  884. package/src/adminapi/models/index.ts +77 -1
  885. package/src/adminapi/models/inspection-task.ts +2 -7
  886. package/src/adminapi/models/instance-resource-stats.ts +6 -0
  887. package/src/adminapi/models/llm.ts +1 -1
  888. package/src/adminapi/models/log-option.ts +6 -0
  889. package/src/adminapi/models/mongo-aggregate-request.ts +42 -0
  890. package/src/adminapi/models/mongo-collection-capabilities.ts +54 -0
  891. package/src/adminapi/models/mongo-collection-info.ts +57 -0
  892. package/src/adminapi/models/mongo-collection-stats.ts +69 -0
  893. package/src/adminapi/models/mongo-create-collection-options.ts +66 -0
  894. package/src/adminapi/models/mongo-create-collection-request.ts +33 -0
  895. package/src/adminapi/models/mongo-create-index-request.ts +39 -0
  896. package/src/adminapi/models/mongo-create-view-request.ts +48 -0
  897. package/src/adminapi/models/mongo-database-info.ts +54 -0
  898. package/src/adminapi/models/mongo-delete-request.ts +36 -0
  899. package/src/adminapi/models/mongo-explain-request.ts +72 -0
  900. package/src/adminapi/models/mongo-explain-response.ts +36 -0
  901. package/src/adminapi/models/mongo-find-request.ts +66 -0
  902. package/src/adminapi/models/mongo-find-response.ts +48 -0
  903. package/src/adminapi/models/mongo-index-info.ts +72 -0
  904. package/src/adminapi/models/mongo-index-options.ts +42 -0
  905. package/src/adminapi/models/mongo-insert-request.ts +36 -0
  906. package/src/adminapi/models/mongo-replace-request.ts +42 -0
  907. package/src/adminapi/models/mongo-schema-analysis.ts +45 -0
  908. package/src/adminapi/models/mongo-schema-field.ts +42 -0
  909. package/src/adminapi/models/mongo-set-validation-request.ts +42 -0
  910. package/src/adminapi/models/mongo-shell-completion-item.ts +30 -0
  911. package/src/adminapi/models/mongo-shell-completions-request.ts +30 -0
  912. package/src/adminapi/models/mongo-shell-completions-response.ts +33 -0
  913. package/src/adminapi/models/mongo-shell-create-session-request.ts +30 -0
  914. package/src/adminapi/models/mongo-shell-evaluate-request.ts +42 -0
  915. package/src/adminapi/models/mongo-shell-evaluate-response.ts +51 -0
  916. package/src/adminapi/models/mongo-shell-interrupt-response.ts +30 -0
  917. package/src/adminapi/models/mongo-shell-prompt-response.ts +30 -0
  918. package/src/adminapi/models/mongo-shell-result.ts +42 -0
  919. package/src/adminapi/models/mongo-shell-session.ts +54 -0
  920. package/src/adminapi/models/mongo-update-request.ts +48 -0
  921. package/src/adminapi/models/mongo-validation-info.ts +42 -0
  922. package/src/adminapi/models/mongo-write-response.ts +36 -0
  923. package/src/adminapi/models/mongo-write-result.ts +60 -0
  924. package/src/adminapi/models/parameter-template-diff-item.ts +48 -0
  925. package/src/adminapi/models/parameter-template-diff.ts +33 -0
  926. package/src/adminapi/models/storage-create.ts +0 -6
  927. package/src/adminapi/models/storage-update.ts +0 -6
  928. package/src/adminapi/models/storage.ts +0 -6
  929. package/src/adminapi/models/tde-option.ts +39 -0
  930. package/src/adminapi/models/tde-parameter-option.ts +54 -0
  931. package/src/adminapi/models/tde-request.ts +36 -0
  932. package/src/adminapi/models/tde-response.ts +36 -0
  933. package/src/adminapi/models/tde-status.ts +36 -0
  934. package/src/adminapi.yaml +4250 -169
  935. package/src/internalapi/models/storage-create.ts +0 -6
  936. package/src/internalapi/models/storage.ts +0 -6
  937. package/src/internalapi.yaml +0 -8
  938. package/src/openapi/.openapi-generator/FILES +93 -5
  939. package/src/openapi/api.ts +1 -0
  940. package/src/openapi/apis/aiagent-api.ts +1935 -0
  941. package/src/openapi/apis/benchmark-api.ts +112 -0
  942. package/src/openapi/apis/cluster-api.ts +282 -5
  943. package/src/openapi/apis/cluster-log-api.ts +2127 -278
  944. package/src/openapi/apis/data-replication-api.ts +756 -0
  945. package/src/openapi/apis/dms-api.ts +4961 -937
  946. package/src/openapi/apis/engine-api.ts +128 -0
  947. package/src/openapi/apis/parameter-template-api.ts +136 -0
  948. package/src/openapi/apis/shared-api.ts +2705 -396
  949. package/src/openapi/models/ai-agent-conversation-list.ts +33 -0
  950. package/src/openapi/models/ai-agent-conversation-status.ts +34 -0
  951. package/src/openapi/models/ai-agent-conversation.ts +89 -0
  952. package/src/openapi/models/ai-agent-create-conversation-request.ts +42 -0
  953. package/src/openapi/models/ai-agent-delete-conversation-response.ts +36 -0
  954. package/src/openapi/models/ai-agent-event-type.ts +44 -0
  955. package/src/openapi/models/ai-agent-event.ts +77 -0
  956. package/src/openapi/models/ai-agent-message-list.ts +33 -0
  957. package/src/openapi/models/ai-agent-message-part-type.ts +33 -0
  958. package/src/openapi/models/ai-agent-message-part.ts +53 -0
  959. package/src/openapi/models/{sysbench-step.ts → ai-agent-message-role.ts} +6 -7
  960. package/src/openapi/models/ai-agent-message.ts +77 -0
  961. package/src/openapi/models/ai-agent-object-ref.ts +36 -0
  962. package/src/openapi/models/ai-agent-runtime-status-code.ts +34 -0
  963. package/src/openapi/models/ai-agent-runtime-status.ts +56 -0
  964. package/src/openapi/models/ai-agent-scope.ts +51 -0
  965. package/src/openapi/models/ai-agent-send-message-request.ts +39 -0
  966. package/src/openapi/models/ai-agent-send-message-response.ts +53 -0
  967. package/src/openapi/models/ai-agent-stop-conversation-response.ts +41 -0
  968. package/src/openapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
  969. package/src/openapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
  970. package/src/openapi/models/ai-agent-tool-confirmation-status.ts +33 -0
  971. package/src/openapi/models/ai-agent-turn-action-list.ts +33 -0
  972. package/src/openapi/models/ai-agent-turn-action.ts +113 -0
  973. package/src/openapi/models/ai-agent-turn-status.ts +34 -0
  974. package/src/openapi/models/bench-option.ts +6 -0
  975. package/src/openapi/models/{ycsb-step.ts → benchmark-step.ts} +2 -2
  976. package/src/openapi/models/benchmark-type.ts +2 -1
  977. package/src/openapi/models/cluster-execution-log-item.ts +9 -0
  978. package/src/openapi/models/cluster-log-hits-item.ts +6 -0
  979. package/src/openapi/models/cluster-slow-log-database-distribution.ts +36 -0
  980. package/src/openapi/models/cluster-slow-log-detail.ts +60 -0
  981. package/src/openapi/models/cluster-slow-log-explain-response.ts +84 -0
  982. package/src/openapi/models/cluster-slow-log-stats.ts +9 -0
  983. package/src/openapi/models/cluster-slow-log-template-list.ts +33 -0
  984. package/src/openapi/models/cluster-slow-log-template.ts +138 -0
  985. package/src/openapi/models/data-check-create.ts +77 -0
  986. package/src/openapi/models/data-check-detail-item.ts +93 -0
  987. package/src/openapi/models/{tpcc-step.ts → data-check-detail-type.ts} +5 -7
  988. package/src/openapi/models/data-check-details.ts +42 -0
  989. package/src/openapi/models/data-check-diff-value.ts +48 -0
  990. package/src/openapi/models/data-check-item.ts +116 -0
  991. package/src/openapi/models/data-check-list-item.ts +116 -0
  992. package/src/openapi/models/data-check-list-summary.ts +54 -0
  993. package/src/openapi/models/data-check-response.ts +42 -0
  994. package/src/openapi/models/{pgbench-step.ts → data-check-status.ts} +6 -7
  995. package/src/openapi/models/data-check-summary.ts +63 -0
  996. package/src/openapi/models/data-check-table-summary.ts +72 -0
  997. package/src/openapi/models/data-check-type.ts +31 -0
  998. package/src/openapi/models/database-option.ts +6 -0
  999. package/src/openapi/models/dms-option.ts +0 -6
  1000. package/src/openapi/models/dms-query-history.ts +10 -4
  1001. package/src/openapi/models/engine-network-mode-supported.ts +39 -0
  1002. package/src/openapi/models/engine-option.ts +9 -0
  1003. package/src/openapi/models/{inspection-supported-engines.ts → esrally-data-profile.ts} +14 -12
  1004. package/src/openapi/models/esrally-on-error.ts +31 -0
  1005. package/src/openapi/models/esrally-telemetry.ts +40 -0
  1006. package/src/openapi/models/esrally-workload.ts +33 -0
  1007. package/src/openapi/models/esrally.ts +137 -0
  1008. package/src/openapi/models/index.ts +92 -5
  1009. package/src/openapi/models/inspection-task.ts +2 -7
  1010. package/src/openapi/models/llm.ts +1 -1
  1011. package/src/openapi/models/log-option.ts +6 -0
  1012. package/src/openapi/models/mongo-aggregate-request.ts +42 -0
  1013. package/src/openapi/models/mongo-collection-capabilities.ts +54 -0
  1014. package/src/openapi/models/mongo-collection-info.ts +57 -0
  1015. package/src/openapi/models/mongo-collection-stats.ts +69 -0
  1016. package/src/openapi/models/mongo-create-collection-options.ts +66 -0
  1017. package/src/openapi/models/mongo-create-collection-request.ts +33 -0
  1018. package/src/openapi/models/mongo-create-index-request.ts +39 -0
  1019. package/src/openapi/models/mongo-create-view-request.ts +48 -0
  1020. package/src/openapi/models/mongo-database-info.ts +54 -0
  1021. package/src/openapi/models/mongo-delete-request.ts +36 -0
  1022. package/src/openapi/models/mongo-explain-request.ts +72 -0
  1023. package/src/openapi/models/mongo-explain-response.ts +36 -0
  1024. package/src/openapi/models/mongo-find-request.ts +66 -0
  1025. package/src/openapi/models/mongo-find-response.ts +48 -0
  1026. package/src/openapi/models/mongo-index-info.ts +72 -0
  1027. package/src/openapi/models/mongo-index-options.ts +42 -0
  1028. package/src/openapi/models/mongo-insert-request.ts +36 -0
  1029. package/src/openapi/models/mongo-replace-request.ts +42 -0
  1030. package/src/openapi/models/mongo-schema-analysis.ts +45 -0
  1031. package/src/openapi/models/mongo-schema-field.ts +42 -0
  1032. package/src/openapi/models/mongo-set-validation-request.ts +42 -0
  1033. package/src/openapi/models/mongo-shell-completion-item.ts +30 -0
  1034. package/src/openapi/models/mongo-shell-completions-request.ts +30 -0
  1035. package/src/openapi/models/mongo-shell-completions-response.ts +33 -0
  1036. package/src/openapi/models/mongo-shell-create-session-request.ts +30 -0
  1037. package/src/openapi/models/mongo-shell-evaluate-request.ts +42 -0
  1038. package/src/openapi/models/mongo-shell-evaluate-response.ts +51 -0
  1039. package/src/openapi/models/mongo-shell-interrupt-response.ts +30 -0
  1040. package/src/openapi/models/mongo-shell-prompt-response.ts +30 -0
  1041. package/src/openapi/models/mongo-shell-result.ts +42 -0
  1042. package/src/openapi/models/mongo-shell-session.ts +54 -0
  1043. package/src/openapi/models/mongo-update-request.ts +48 -0
  1044. package/src/openapi/models/mongo-validation-info.ts +42 -0
  1045. package/src/openapi/models/mongo-write-response.ts +36 -0
  1046. package/src/openapi/models/mongo-write-result.ts +60 -0
  1047. package/src/openapi/models/parameter-template-diff-item.ts +48 -0
  1048. package/src/openapi/models/parameter-template-diff.ts +33 -0
  1049. package/src/openapi/models/pgbench.ts +3 -3
  1050. package/src/openapi/models/storage.ts +0 -6
  1051. package/src/openapi/models/sysbench.ts +3 -3
  1052. package/src/openapi/models/tde-option.ts +39 -0
  1053. package/src/openapi/models/tde-parameter-option.ts +54 -0
  1054. package/src/openapi/models/tde-request.ts +36 -0
  1055. package/src/openapi/models/tde-response.ts +36 -0
  1056. package/src/openapi/models/tde-status.ts +36 -0
  1057. package/src/openapi/models/tpcc.ts +3 -3
  1058. package/src/openapi/models/ycsb.ts +4 -4
  1059. package/src/openapi.yaml +9547 -5110
  1060. package/dist/adminapi/models/inspection-supported-engines.d.ts +0 -29
  1061. package/dist/adminapi/models/inspection-supported-engines.d.ts.map +0 -1
  1062. package/dist/adminapi/models/inspection-supported-engines.js.map +0 -1
  1063. package/dist/openapi/models/inspection-supported-engines.d.ts.map +0 -1
  1064. package/dist/openapi/models/inspection-supported-engines.js.map +0 -1
  1065. package/dist/openapi/models/pgbench-step.d.ts.map +0 -1
  1066. package/dist/openapi/models/pgbench-step.js.map +0 -1
  1067. package/dist/openapi/models/sysbench-step.d.ts.map +0 -1
  1068. package/dist/openapi/models/sysbench-step.js.map +0 -1
  1069. package/dist/openapi/models/tpcc-step.d.ts.map +0 -1
  1070. package/dist/openapi/models/tpcc-step.js.map +0 -1
  1071. package/dist/openapi/models/ycsb-step.d.ts.map +0 -1
  1072. package/dist/openapi/models/ycsb-step.js.map +0 -1
@@ -32,8 +32,16 @@ import type { ClusterLogHitsResponse } from '../models';
32
32
  // @ts-ignore
33
33
  import type { ClusterRawLogResponse } from '../models';
34
34
  // @ts-ignore
35
+ import type { ClusterSlowLogExplainResponse } from '../models';
36
+ // @ts-ignore
35
37
  import type { ClusterSlowLogStats } from '../models';
36
38
  // @ts-ignore
39
+ import type { ClusterSlowLogTemplate } from '../models';
40
+ // @ts-ignore
41
+ import type { ClusterSlowLogTemplateList } from '../models';
42
+ // @ts-ignore
43
+ import type { DmsExplainRequest } from '../models';
44
+ // @ts-ignore
37
45
  import type { SortType } from '../models';
38
46
  /**
39
47
  * ClusterLogApi - axios parameter creator
@@ -212,6 +220,127 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
212
220
 
213
221
 
214
222
 
223
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
224
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
225
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
226
+
227
+ return {
228
+ url: toPathString(localVarUrlObj),
229
+ options: localVarRequestOptions,
230
+ };
231
+ },
232
+ /**
233
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
234
+ * @summary Explain cluster slow log SQL
235
+ * @param {string} orgName
236
+ * @param {string} clusterName
237
+ * @param {DmsExplainRequest} dmsExplainRequest
238
+ * @param {*} [options] Override http request option.
239
+ * @throws {RequiredError}
240
+ */
241
+ explainSlowLog: async (orgName: string, clusterName: string, dmsExplainRequest: DmsExplainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
242
+ // verify required parameter 'orgName' is not null or undefined
243
+ assertParamExists('explainSlowLog', 'orgName', orgName)
244
+ // verify required parameter 'clusterName' is not null or undefined
245
+ assertParamExists('explainSlowLog', 'clusterName', clusterName)
246
+ // verify required parameter 'dmsExplainRequest' is not null or undefined
247
+ assertParamExists('explainSlowLog', 'dmsExplainRequest', dmsExplainRequest)
248
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/explain`
249
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
250
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
251
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
252
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
253
+ let baseOptions;
254
+ if (configuration) {
255
+ baseOptions = configuration.baseOptions;
256
+ }
257
+
258
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
259
+ const localVarHeaderParameter = {} as any;
260
+ const localVarQueryParameter = {} as any;
261
+
262
+ // authentication BearerToken required
263
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
264
+
265
+
266
+
267
+ localVarHeaderParameter['Content-Type'] = 'application/json';
268
+
269
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
270
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
271
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
272
+ localVarRequestOptions.data = serializeDataIfNeeded(dmsExplainRequest, localVarRequestOptions, configuration)
273
+
274
+ return {
275
+ url: toPathString(localVarUrlObj),
276
+ options: localVarRequestOptions,
277
+ };
278
+ },
279
+ /**
280
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
281
+ * @summary Explain cluster slow log template
282
+ * @param {string} orgName
283
+ * @param {string} clusterName
284
+ * @param {string} templateId
285
+ * @param {string} startTime Start time in epoch nanoseconds.
286
+ * @param {string} endTime End time in epoch nanoseconds.
287
+ * @param {string} [componentName]
288
+ * @param {string} [instanceName]
289
+ * @param {string} [query]
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ explainSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
294
+ // verify required parameter 'orgName' is not null or undefined
295
+ assertParamExists('explainSlowLogTemplate', 'orgName', orgName)
296
+ // verify required parameter 'clusterName' is not null or undefined
297
+ assertParamExists('explainSlowLogTemplate', 'clusterName', clusterName)
298
+ // verify required parameter 'templateId' is not null or undefined
299
+ assertParamExists('explainSlowLogTemplate', 'templateId', templateId)
300
+ // verify required parameter 'startTime' is not null or undefined
301
+ assertParamExists('explainSlowLogTemplate', 'startTime', startTime)
302
+ // verify required parameter 'endTime' is not null or undefined
303
+ assertParamExists('explainSlowLogTemplate', 'endTime', endTime)
304
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/explain`
305
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
306
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
307
+ .replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
308
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
309
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
310
+ let baseOptions;
311
+ if (configuration) {
312
+ baseOptions = configuration.baseOptions;
313
+ }
314
+
315
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
316
+ const localVarHeaderParameter = {} as any;
317
+ const localVarQueryParameter = {} as any;
318
+
319
+ // authentication BearerToken required
320
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
321
+
322
+ if (startTime !== undefined) {
323
+ localVarQueryParameter['startTime'] = startTime;
324
+ }
325
+
326
+ if (endTime !== undefined) {
327
+ localVarQueryParameter['endTime'] = endTime;
328
+ }
329
+
330
+ if (componentName !== undefined) {
331
+ localVarQueryParameter['componentName'] = componentName;
332
+ }
333
+
334
+ if (instanceName !== undefined) {
335
+ localVarQueryParameter['instanceName'] = instanceName;
336
+ }
337
+
338
+ if (query !== undefined) {
339
+ localVarQueryParameter['query'] = query;
340
+ }
341
+
342
+
343
+
215
344
  setSearchParams(localVarUrlObj, localVarQueryParameter);
216
345
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
217
346
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -318,10 +447,30 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
318
447
  * @param {string} endTime End time in epoch nanoseconds.
319
448
  * @param {string} [componentName]
320
449
  * @param {string} [instanceName]
450
+ * @param {string} [query]
451
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
452
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
453
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
454
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
455
+ * @param {number} [minRowsExamined]
456
+ * @param {number} [maxRowsExamined]
457
+ * @param {number} [minRowsSent]
458
+ * @param {number} [maxRowsSent]
459
+ * @param {string} [dbName]
460
+ * @param {string} [dbNameContains]
461
+ * @param {string} [userName]
462
+ * @param {string} [userNameContains]
463
+ * @param {string} [clientIp]
464
+ * @param {string} [clientIpContains]
465
+ * @param {string} [clientIpCIDR]
466
+ * @param {string} [appName]
467
+ * @param {string} [appNameContains]
468
+ * @param {string} [templateId]
469
+ * @param {boolean} [unclassifiedOnly]
321
470
  * @param {*} [options] Override http request option.
322
471
  * @throws {RequiredError}
323
472
  */
324
- getSlowLogStats: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
473
+ getSlowLogStats: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
325
474
  // verify required parameter 'orgName' is not null or undefined
326
475
  assertParamExists('getSlowLogStats', 'orgName', orgName)
327
476
  // verify required parameter 'clusterName' is not null or undefined
@@ -363,6 +512,160 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
363
512
  localVarQueryParameter['instanceName'] = instanceName;
364
513
  }
365
514
 
515
+ if (query !== undefined) {
516
+ localVarQueryParameter['query'] = query;
517
+ }
518
+
519
+ if (minExecutionTime !== undefined) {
520
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
521
+ }
522
+
523
+ if (maxExecutionTime !== undefined) {
524
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
525
+ }
526
+
527
+ if (minLockTime !== undefined) {
528
+ localVarQueryParameter['minLockTime'] = minLockTime;
529
+ }
530
+
531
+ if (maxLockTime !== undefined) {
532
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
533
+ }
534
+
535
+ if (minRowsExamined !== undefined) {
536
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
537
+ }
538
+
539
+ if (maxRowsExamined !== undefined) {
540
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
541
+ }
542
+
543
+ if (minRowsSent !== undefined) {
544
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
545
+ }
546
+
547
+ if (maxRowsSent !== undefined) {
548
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
549
+ }
550
+
551
+ if (dbName !== undefined) {
552
+ localVarQueryParameter['dbName'] = dbName;
553
+ }
554
+
555
+ if (dbNameContains !== undefined) {
556
+ localVarQueryParameter['dbNameContains'] = dbNameContains;
557
+ }
558
+
559
+ if (userName !== undefined) {
560
+ localVarQueryParameter['userName'] = userName;
561
+ }
562
+
563
+ if (userNameContains !== undefined) {
564
+ localVarQueryParameter['userNameContains'] = userNameContains;
565
+ }
566
+
567
+ if (clientIp !== undefined) {
568
+ localVarQueryParameter['clientIp'] = clientIp;
569
+ }
570
+
571
+ if (clientIpContains !== undefined) {
572
+ localVarQueryParameter['clientIpContains'] = clientIpContains;
573
+ }
574
+
575
+ if (clientIpCIDR !== undefined) {
576
+ localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
577
+ }
578
+
579
+ if (appName !== undefined) {
580
+ localVarQueryParameter['appName'] = appName;
581
+ }
582
+
583
+ if (appNameContains !== undefined) {
584
+ localVarQueryParameter['appNameContains'] = appNameContains;
585
+ }
586
+
587
+ if (templateId !== undefined) {
588
+ localVarQueryParameter['templateId'] = templateId;
589
+ }
590
+
591
+ if (unclassifiedOnly !== undefined) {
592
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
593
+ }
594
+
595
+
596
+
597
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
598
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
599
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
600
+
601
+ return {
602
+ url: toPathString(localVarUrlObj),
603
+ options: localVarRequestOptions,
604
+ };
605
+ },
606
+ /**
607
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
608
+ * @summary Get cluster slow log template
609
+ * @param {string} orgName
610
+ * @param {string} clusterName
611
+ * @param {string} templateId
612
+ * @param {string} startTime Start time in epoch nanoseconds.
613
+ * @param {string} endTime End time in epoch nanoseconds.
614
+ * @param {string} [componentName]
615
+ * @param {string} [instanceName]
616
+ * @param {string} [query]
617
+ * @param {*} [options] Override http request option.
618
+ * @throws {RequiredError}
619
+ */
620
+ getSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
621
+ // verify required parameter 'orgName' is not null or undefined
622
+ assertParamExists('getSlowLogTemplate', 'orgName', orgName)
623
+ // verify required parameter 'clusterName' is not null or undefined
624
+ assertParamExists('getSlowLogTemplate', 'clusterName', clusterName)
625
+ // verify required parameter 'templateId' is not null or undefined
626
+ assertParamExists('getSlowLogTemplate', 'templateId', templateId)
627
+ // verify required parameter 'startTime' is not null or undefined
628
+ assertParamExists('getSlowLogTemplate', 'startTime', startTime)
629
+ // verify required parameter 'endTime' is not null or undefined
630
+ assertParamExists('getSlowLogTemplate', 'endTime', endTime)
631
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}`
632
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
633
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
634
+ .replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
635
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
636
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
637
+ let baseOptions;
638
+ if (configuration) {
639
+ baseOptions = configuration.baseOptions;
640
+ }
641
+
642
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
643
+ const localVarHeaderParameter = {} as any;
644
+ const localVarQueryParameter = {} as any;
645
+
646
+ // authentication BearerToken required
647
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
648
+
649
+ if (startTime !== undefined) {
650
+ localVarQueryParameter['startTime'] = startTime;
651
+ }
652
+
653
+ if (endTime !== undefined) {
654
+ localVarQueryParameter['endTime'] = endTime;
655
+ }
656
+
657
+ if (componentName !== undefined) {
658
+ localVarQueryParameter['componentName'] = componentName;
659
+ }
660
+
661
+ if (instanceName !== undefined) {
662
+ localVarQueryParameter['instanceName'] = instanceName;
663
+ }
664
+
665
+ if (query !== undefined) {
666
+ localVarQueryParameter['query'] = query;
667
+ }
668
+
366
669
 
367
670
 
368
671
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -546,10 +849,24 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
546
849
  * @param {string} [componentName]
547
850
  * @param {string} [instanceName]
548
851
  * @param {string} [query]
852
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
853
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
854
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
855
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
856
+ * @param {number} [minRowsExamined]
857
+ * @param {number} [maxRowsExamined]
858
+ * @param {number} [minRowsSent]
859
+ * @param {number} [maxRowsSent]
860
+ * @param {string} [dbName]
861
+ * @param {string} [userName]
862
+ * @param {string} [clientIp]
863
+ * @param {string} [appName]
864
+ * @param {string} [templateId]
865
+ * @param {boolean} [unclassifiedOnly]
549
866
  * @param {*} [options] Override http request option.
550
867
  * @throws {RequiredError}
551
868
  */
552
- queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
869
+ queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
553
870
  // verify required parameter 'orgName' is not null or undefined
554
871
  assertParamExists('queryLogHits', 'orgName', orgName)
555
872
  // verify required parameter 'clusterName' is not null or undefined
@@ -607,6 +924,62 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
607
924
  localVarQueryParameter['query'] = query;
608
925
  }
609
926
 
927
+ if (minExecutionTime !== undefined) {
928
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
929
+ }
930
+
931
+ if (maxExecutionTime !== undefined) {
932
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
933
+ }
934
+
935
+ if (minLockTime !== undefined) {
936
+ localVarQueryParameter['minLockTime'] = minLockTime;
937
+ }
938
+
939
+ if (maxLockTime !== undefined) {
940
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
941
+ }
942
+
943
+ if (minRowsExamined !== undefined) {
944
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
945
+ }
946
+
947
+ if (maxRowsExamined !== undefined) {
948
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
949
+ }
950
+
951
+ if (minRowsSent !== undefined) {
952
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
953
+ }
954
+
955
+ if (maxRowsSent !== undefined) {
956
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
957
+ }
958
+
959
+ if (dbName !== undefined) {
960
+ localVarQueryParameter['dbName'] = dbName;
961
+ }
962
+
963
+ if (userName !== undefined) {
964
+ localVarQueryParameter['userName'] = userName;
965
+ }
966
+
967
+ if (clientIp !== undefined) {
968
+ localVarQueryParameter['clientIp'] = clientIp;
969
+ }
970
+
971
+ if (appName !== undefined) {
972
+ localVarQueryParameter['appName'] = appName;
973
+ }
974
+
975
+ if (templateId !== undefined) {
976
+ localVarQueryParameter['templateId'] = templateId;
977
+ }
978
+
979
+ if (unclassifiedOnly !== undefined) {
980
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
981
+ }
982
+
610
983
 
611
984
 
612
985
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -784,10 +1157,11 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
784
1157
  };
785
1158
  },
786
1159
  /**
787
- * Query slow logs of a cluster
788
- * @summary Query cluster slow logs
1160
+ * Query slow log samples for a template
1161
+ * @summary Query cluster slow log template samples
789
1162
  * @param {string} orgName
790
1163
  * @param {string} clusterName
1164
+ * @param {string} templateId
791
1165
  * @param {string} startTime Start time in epoch nanoseconds.
792
1166
  * @param {string} endTime End time in epoch nanoseconds.
793
1167
  * @param {string} [componentName]
@@ -798,18 +1172,21 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
798
1172
  * @param {*} [options] Override http request option.
799
1173
  * @throws {RequiredError}
800
1174
  */
801
- querySlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1175
+ querySlowLogTemplateSamples: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
802
1176
  // verify required parameter 'orgName' is not null or undefined
803
- assertParamExists('querySlowLogs', 'orgName', orgName)
1177
+ assertParamExists('querySlowLogTemplateSamples', 'orgName', orgName)
804
1178
  // verify required parameter 'clusterName' is not null or undefined
805
- assertParamExists('querySlowLogs', 'clusterName', clusterName)
1179
+ assertParamExists('querySlowLogTemplateSamples', 'clusterName', clusterName)
1180
+ // verify required parameter 'templateId' is not null or undefined
1181
+ assertParamExists('querySlowLogTemplateSamples', 'templateId', templateId)
806
1182
  // verify required parameter 'startTime' is not null or undefined
807
- assertParamExists('querySlowLogs', 'startTime', startTime)
1183
+ assertParamExists('querySlowLogTemplateSamples', 'startTime', startTime)
808
1184
  // verify required parameter 'endTime' is not null or undefined
809
- assertParamExists('querySlowLogs', 'endTime', endTime)
810
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow`
1185
+ assertParamExists('querySlowLogTemplateSamples', 'endTime', endTime)
1186
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/samples`
811
1187
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
812
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1188
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1189
+ .replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
813
1190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
814
1191
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
815
1192
  let baseOptions;
@@ -863,19 +1240,9 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
863
1240
  options: localVarRequestOptions,
864
1241
  };
865
1242
  },
866
- }
867
- };
868
-
869
- /**
870
- * ClusterLogApi - functional programming interface
871
- * @export
872
- */
873
- export const ClusterLogApiFp = function(configuration?: Configuration) {
874
- const localVarAxiosParamCreator = ClusterLogApiAxiosParamCreator(configuration)
875
- return {
876
1243
  /**
877
- * Aggregate audit logs of a cluster (Victoria Logs backend only)
878
- * @summary Aggregate cluster audit logs
1244
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
1245
+ * @summary Query cluster slow log templates
879
1246
  * @param {string} orgName
880
1247
  * @param {string} clusterName
881
1248
  * @param {string} startTime Start time in epoch nanoseconds.
@@ -883,14 +1250,369 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
883
1250
  * @param {string} [componentName]
884
1251
  * @param {string} [instanceName]
885
1252
  * @param {string} [query]
886
- * @param {string} [limit]
887
- * @param {SortType} [sortType]
888
- * @param {string} [groupBy]
889
1253
  * @param {number} [topN]
1254
+ * @param {string} [sortBy] Sort templates by count or avgExecutionTime.
1255
+ * @param {SortType} [sortType]
1256
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1257
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1258
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1259
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1260
+ * @param {number} [minRowsExamined]
1261
+ * @param {number} [maxRowsExamined]
1262
+ * @param {number} [minRowsSent]
1263
+ * @param {number} [maxRowsSent]
1264
+ * @param {string} [dbName]
1265
+ * @param {string} [dbNameContains]
1266
+ * @param {string} [userName]
1267
+ * @param {string} [userNameContains]
1268
+ * @param {string} [clientIp]
1269
+ * @param {string} [clientIpContains]
1270
+ * @param {string} [clientIpCIDR]
1271
+ * @param {string} [appName]
1272
+ * @param {string} [appNameContains]
890
1273
  * @param {*} [options] Override http request option.
891
1274
  * @throws {RequiredError}
892
1275
  */
893
- async aggregateAuditLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>> {
1276
+ querySlowLogTemplates: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1277
+ // verify required parameter 'orgName' is not null or undefined
1278
+ assertParamExists('querySlowLogTemplates', 'orgName', orgName)
1279
+ // verify required parameter 'clusterName' is not null or undefined
1280
+ assertParamExists('querySlowLogTemplates', 'clusterName', clusterName)
1281
+ // verify required parameter 'startTime' is not null or undefined
1282
+ assertParamExists('querySlowLogTemplates', 'startTime', startTime)
1283
+ // verify required parameter 'endTime' is not null or undefined
1284
+ assertParamExists('querySlowLogTemplates', 'endTime', endTime)
1285
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates`
1286
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1287
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1288
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1289
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1290
+ let baseOptions;
1291
+ if (configuration) {
1292
+ baseOptions = configuration.baseOptions;
1293
+ }
1294
+
1295
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1296
+ const localVarHeaderParameter = {} as any;
1297
+ const localVarQueryParameter = {} as any;
1298
+
1299
+ // authentication BearerToken required
1300
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
1301
+
1302
+ if (startTime !== undefined) {
1303
+ localVarQueryParameter['startTime'] = startTime;
1304
+ }
1305
+
1306
+ if (endTime !== undefined) {
1307
+ localVarQueryParameter['endTime'] = endTime;
1308
+ }
1309
+
1310
+ if (componentName !== undefined) {
1311
+ localVarQueryParameter['componentName'] = componentName;
1312
+ }
1313
+
1314
+ if (instanceName !== undefined) {
1315
+ localVarQueryParameter['instanceName'] = instanceName;
1316
+ }
1317
+
1318
+ if (query !== undefined) {
1319
+ localVarQueryParameter['query'] = query;
1320
+ }
1321
+
1322
+ if (topN !== undefined) {
1323
+ localVarQueryParameter['topN'] = topN;
1324
+ }
1325
+
1326
+ if (sortBy !== undefined) {
1327
+ localVarQueryParameter['sortBy'] = sortBy;
1328
+ }
1329
+
1330
+ if (sortType !== undefined) {
1331
+ localVarQueryParameter['sortType'] = sortType;
1332
+ }
1333
+
1334
+ if (minExecutionTime !== undefined) {
1335
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
1336
+ }
1337
+
1338
+ if (maxExecutionTime !== undefined) {
1339
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
1340
+ }
1341
+
1342
+ if (minLockTime !== undefined) {
1343
+ localVarQueryParameter['minLockTime'] = minLockTime;
1344
+ }
1345
+
1346
+ if (maxLockTime !== undefined) {
1347
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
1348
+ }
1349
+
1350
+ if (minRowsExamined !== undefined) {
1351
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
1352
+ }
1353
+
1354
+ if (maxRowsExamined !== undefined) {
1355
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
1356
+ }
1357
+
1358
+ if (minRowsSent !== undefined) {
1359
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
1360
+ }
1361
+
1362
+ if (maxRowsSent !== undefined) {
1363
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
1364
+ }
1365
+
1366
+ if (dbName !== undefined) {
1367
+ localVarQueryParameter['dbName'] = dbName;
1368
+ }
1369
+
1370
+ if (dbNameContains !== undefined) {
1371
+ localVarQueryParameter['dbNameContains'] = dbNameContains;
1372
+ }
1373
+
1374
+ if (userName !== undefined) {
1375
+ localVarQueryParameter['userName'] = userName;
1376
+ }
1377
+
1378
+ if (userNameContains !== undefined) {
1379
+ localVarQueryParameter['userNameContains'] = userNameContains;
1380
+ }
1381
+
1382
+ if (clientIp !== undefined) {
1383
+ localVarQueryParameter['clientIp'] = clientIp;
1384
+ }
1385
+
1386
+ if (clientIpContains !== undefined) {
1387
+ localVarQueryParameter['clientIpContains'] = clientIpContains;
1388
+ }
1389
+
1390
+ if (clientIpCIDR !== undefined) {
1391
+ localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
1392
+ }
1393
+
1394
+ if (appName !== undefined) {
1395
+ localVarQueryParameter['appName'] = appName;
1396
+ }
1397
+
1398
+ if (appNameContains !== undefined) {
1399
+ localVarQueryParameter['appNameContains'] = appNameContains;
1400
+ }
1401
+
1402
+
1403
+
1404
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1405
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1406
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1407
+
1408
+ return {
1409
+ url: toPathString(localVarUrlObj),
1410
+ options: localVarRequestOptions,
1411
+ };
1412
+ },
1413
+ /**
1414
+ * Query slow logs of a cluster
1415
+ * @summary Query cluster slow logs
1416
+ * @param {string} orgName
1417
+ * @param {string} clusterName
1418
+ * @param {string} startTime Start time in epoch nanoseconds.
1419
+ * @param {string} endTime End time in epoch nanoseconds.
1420
+ * @param {string} [componentName]
1421
+ * @param {string} [instanceName]
1422
+ * @param {string} [query]
1423
+ * @param {string} [limit]
1424
+ * @param {SortType} [sortType]
1425
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1426
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1427
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1428
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1429
+ * @param {number} [minRowsExamined]
1430
+ * @param {number} [maxRowsExamined]
1431
+ * @param {number} [minRowsSent]
1432
+ * @param {number} [maxRowsSent]
1433
+ * @param {string} [dbName]
1434
+ * @param {string} [dbNameContains]
1435
+ * @param {string} [userName]
1436
+ * @param {string} [userNameContains]
1437
+ * @param {string} [clientIp]
1438
+ * @param {string} [clientIpContains]
1439
+ * @param {string} [clientIpCIDR]
1440
+ * @param {string} [appName]
1441
+ * @param {string} [appNameContains]
1442
+ * @param {string} [templateId]
1443
+ * @param {boolean} [unclassifiedOnly]
1444
+ * @param {*} [options] Override http request option.
1445
+ * @throws {RequiredError}
1446
+ */
1447
+ querySlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1448
+ // verify required parameter 'orgName' is not null or undefined
1449
+ assertParamExists('querySlowLogs', 'orgName', orgName)
1450
+ // verify required parameter 'clusterName' is not null or undefined
1451
+ assertParamExists('querySlowLogs', 'clusterName', clusterName)
1452
+ // verify required parameter 'startTime' is not null or undefined
1453
+ assertParamExists('querySlowLogs', 'startTime', startTime)
1454
+ // verify required parameter 'endTime' is not null or undefined
1455
+ assertParamExists('querySlowLogs', 'endTime', endTime)
1456
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow`
1457
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1458
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1459
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1460
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1461
+ let baseOptions;
1462
+ if (configuration) {
1463
+ baseOptions = configuration.baseOptions;
1464
+ }
1465
+
1466
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1467
+ const localVarHeaderParameter = {} as any;
1468
+ const localVarQueryParameter = {} as any;
1469
+
1470
+ // authentication BearerToken required
1471
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
1472
+
1473
+ if (startTime !== undefined) {
1474
+ localVarQueryParameter['startTime'] = startTime;
1475
+ }
1476
+
1477
+ if (endTime !== undefined) {
1478
+ localVarQueryParameter['endTime'] = endTime;
1479
+ }
1480
+
1481
+ if (componentName !== undefined) {
1482
+ localVarQueryParameter['componentName'] = componentName;
1483
+ }
1484
+
1485
+ if (instanceName !== undefined) {
1486
+ localVarQueryParameter['instanceName'] = instanceName;
1487
+ }
1488
+
1489
+ if (query !== undefined) {
1490
+ localVarQueryParameter['query'] = query;
1491
+ }
1492
+
1493
+ if (limit !== undefined) {
1494
+ localVarQueryParameter['limit'] = limit;
1495
+ }
1496
+
1497
+ if (sortType !== undefined) {
1498
+ localVarQueryParameter['sortType'] = sortType;
1499
+ }
1500
+
1501
+ if (minExecutionTime !== undefined) {
1502
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
1503
+ }
1504
+
1505
+ if (maxExecutionTime !== undefined) {
1506
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
1507
+ }
1508
+
1509
+ if (minLockTime !== undefined) {
1510
+ localVarQueryParameter['minLockTime'] = minLockTime;
1511
+ }
1512
+
1513
+ if (maxLockTime !== undefined) {
1514
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
1515
+ }
1516
+
1517
+ if (minRowsExamined !== undefined) {
1518
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
1519
+ }
1520
+
1521
+ if (maxRowsExamined !== undefined) {
1522
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
1523
+ }
1524
+
1525
+ if (minRowsSent !== undefined) {
1526
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
1527
+ }
1528
+
1529
+ if (maxRowsSent !== undefined) {
1530
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
1531
+ }
1532
+
1533
+ if (dbName !== undefined) {
1534
+ localVarQueryParameter['dbName'] = dbName;
1535
+ }
1536
+
1537
+ if (dbNameContains !== undefined) {
1538
+ localVarQueryParameter['dbNameContains'] = dbNameContains;
1539
+ }
1540
+
1541
+ if (userName !== undefined) {
1542
+ localVarQueryParameter['userName'] = userName;
1543
+ }
1544
+
1545
+ if (userNameContains !== undefined) {
1546
+ localVarQueryParameter['userNameContains'] = userNameContains;
1547
+ }
1548
+
1549
+ if (clientIp !== undefined) {
1550
+ localVarQueryParameter['clientIp'] = clientIp;
1551
+ }
1552
+
1553
+ if (clientIpContains !== undefined) {
1554
+ localVarQueryParameter['clientIpContains'] = clientIpContains;
1555
+ }
1556
+
1557
+ if (clientIpCIDR !== undefined) {
1558
+ localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
1559
+ }
1560
+
1561
+ if (appName !== undefined) {
1562
+ localVarQueryParameter['appName'] = appName;
1563
+ }
1564
+
1565
+ if (appNameContains !== undefined) {
1566
+ localVarQueryParameter['appNameContains'] = appNameContains;
1567
+ }
1568
+
1569
+ if (templateId !== undefined) {
1570
+ localVarQueryParameter['templateId'] = templateId;
1571
+ }
1572
+
1573
+ if (unclassifiedOnly !== undefined) {
1574
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
1575
+ }
1576
+
1577
+
1578
+
1579
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1580
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1581
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1582
+
1583
+ return {
1584
+ url: toPathString(localVarUrlObj),
1585
+ options: localVarRequestOptions,
1586
+ };
1587
+ },
1588
+ }
1589
+ };
1590
+
1591
+ /**
1592
+ * ClusterLogApi - functional programming interface
1593
+ * @export
1594
+ */
1595
+ export const ClusterLogApiFp = function(configuration?: Configuration) {
1596
+ const localVarAxiosParamCreator = ClusterLogApiAxiosParamCreator(configuration)
1597
+ return {
1598
+ /**
1599
+ * Aggregate audit logs of a cluster (Victoria Logs backend only)
1600
+ * @summary Aggregate cluster audit logs
1601
+ * @param {string} orgName
1602
+ * @param {string} clusterName
1603
+ * @param {string} startTime Start time in epoch nanoseconds.
1604
+ * @param {string} endTime End time in epoch nanoseconds.
1605
+ * @param {string} [componentName]
1606
+ * @param {string} [instanceName]
1607
+ * @param {string} [query]
1608
+ * @param {string} [limit]
1609
+ * @param {SortType} [sortType]
1610
+ * @param {string} [groupBy]
1611
+ * @param {number} [topN]
1612
+ * @param {*} [options] Override http request option.
1613
+ * @throws {RequiredError}
1614
+ */
1615
+ async aggregateAuditLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>> {
894
1616
  const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateAuditLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, groupBy, topN, options);
895
1617
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
896
1618
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.aggregateAuditLogs']?.[localVarOperationServerIndex]?.url;
@@ -920,46 +1642,121 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
920
1642
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
921
1643
  },
922
1644
  /**
923
- * Export cluster logs and return as a file download
924
- * @summary Export cluster logs
1645
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
1646
+ * @summary Explain cluster slow log SQL
925
1647
  * @param {string} orgName
926
1648
  * @param {string} clusterName
927
- * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
928
- * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
929
- * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
930
- * @param {string} [format] Export format: csv, raw, jsonl
931
- * @param {string} [query] Optional search query
932
- * @param {string} [filename] Optional log filename filter
933
- * @param {string} [componentName] Optional component name filter
934
- * @param {string} [instanceName] Optional instance name filter
935
- * @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
1649
+ * @param {DmsExplainRequest} dmsExplainRequest
936
1650
  * @param {*} [options] Override http request option.
937
1651
  * @throws {RequiredError}
938
1652
  */
939
- async exportClusterLogs(orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, maxLines?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
940
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportClusterLogs(orgName, clusterName, logType, startTime, endTime, format, query, filename, componentName, instanceName, maxLines, options);
1653
+ async explainSlowLog(orgName: string, clusterName: string, dmsExplainRequest: DmsExplainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>> {
1654
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLog(orgName, clusterName, dmsExplainRequest, options);
941
1655
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
942
- const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.exportClusterLogs']?.[localVarOperationServerIndex]?.url;
1656
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.explainSlowLog']?.[localVarOperationServerIndex]?.url;
943
1657
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
944
1658
  },
945
1659
  /**
946
- * Get statistics summary for slow logs of a cluster
947
- * @summary Get cluster slow log statistics
1660
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
1661
+ * @summary Explain cluster slow log template
948
1662
  * @param {string} orgName
949
1663
  * @param {string} clusterName
1664
+ * @param {string} templateId
950
1665
  * @param {string} startTime Start time in epoch nanoseconds.
951
1666
  * @param {string} endTime End time in epoch nanoseconds.
952
1667
  * @param {string} [componentName]
953
1668
  * @param {string} [instanceName]
1669
+ * @param {string} [query]
1670
+ * @param {*} [options] Override http request option.
1671
+ * @throws {RequiredError}
1672
+ */
1673
+ async explainSlowLogTemplate(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>> {
1674
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
1675
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1676
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.explainSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
1677
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1678
+ },
1679
+ /**
1680
+ * Export cluster logs and return as a file download
1681
+ * @summary Export cluster logs
1682
+ * @param {string} orgName
1683
+ * @param {string} clusterName
1684
+ * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
1685
+ * @param {number} [startTime] Start time in epoch nanoseconds. If omitted, exports from the earliest available log
1686
+ * @param {number} [endTime] End time in epoch nanoseconds. If omitted, exports up to the latest available log
1687
+ * @param {string} [format] Export format: csv, raw, jsonl
1688
+ * @param {string} [query] Optional search query
1689
+ * @param {string} [filename] Optional log filename filter
1690
+ * @param {string} [componentName] Optional component name filter
1691
+ * @param {string} [instanceName] Optional instance name filter
1692
+ * @param {number} [maxLines] Maximum number of lines to export. Defaults to 100000 if omitted
1693
+ * @param {*} [options] Override http request option.
1694
+ * @throws {RequiredError}
1695
+ */
1696
+ async exportClusterLogs(orgName: string, clusterName: string, logType: string, startTime?: number, endTime?: number, format?: string, query?: string, filename?: string, componentName?: string, instanceName?: string, maxLines?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
1697
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportClusterLogs(orgName, clusterName, logType, startTime, endTime, format, query, filename, componentName, instanceName, maxLines, options);
1698
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1699
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.exportClusterLogs']?.[localVarOperationServerIndex]?.url;
1700
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1701
+ },
1702
+ /**
1703
+ * Get statistics summary for slow logs of a cluster
1704
+ * @summary Get cluster slow log statistics
1705
+ * @param {string} orgName
1706
+ * @param {string} clusterName
1707
+ * @param {string} startTime Start time in epoch nanoseconds.
1708
+ * @param {string} endTime End time in epoch nanoseconds.
1709
+ * @param {string} [componentName]
1710
+ * @param {string} [instanceName]
1711
+ * @param {string} [query]
1712
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1713
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1714
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1715
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1716
+ * @param {number} [minRowsExamined]
1717
+ * @param {number} [maxRowsExamined]
1718
+ * @param {number} [minRowsSent]
1719
+ * @param {number} [maxRowsSent]
1720
+ * @param {string} [dbName]
1721
+ * @param {string} [dbNameContains]
1722
+ * @param {string} [userName]
1723
+ * @param {string} [userNameContains]
1724
+ * @param {string} [clientIp]
1725
+ * @param {string} [clientIpContains]
1726
+ * @param {string} [clientIpCIDR]
1727
+ * @param {string} [appName]
1728
+ * @param {string} [appNameContains]
1729
+ * @param {string} [templateId]
1730
+ * @param {boolean} [unclassifiedOnly]
954
1731
  * @param {*} [options] Override http request option.
955
1732
  * @throws {RequiredError}
956
1733
  */
957
- async getSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>> {
958
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogStats(orgName, clusterName, startTime, endTime, componentName, instanceName, options);
1734
+ async getSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>> {
1735
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogStats(orgName, clusterName, startTime, endTime, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, templateId, unclassifiedOnly, options);
959
1736
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
960
1737
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.getSlowLogStats']?.[localVarOperationServerIndex]?.url;
961
1738
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
962
1739
  },
1740
+ /**
1741
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
1742
+ * @summary Get cluster slow log template
1743
+ * @param {string} orgName
1744
+ * @param {string} clusterName
1745
+ * @param {string} templateId
1746
+ * @param {string} startTime Start time in epoch nanoseconds.
1747
+ * @param {string} endTime End time in epoch nanoseconds.
1748
+ * @param {string} [componentName]
1749
+ * @param {string} [instanceName]
1750
+ * @param {string} [query]
1751
+ * @param {*} [options] Override http request option.
1752
+ * @throws {RequiredError}
1753
+ */
1754
+ async getSlowLogTemplate(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogTemplate>> {
1755
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
1756
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1757
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.getSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
1758
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1759
+ },
963
1760
  /**
964
1761
  * Query audit logs of a cluster
965
1762
  * @summary Query cluster audit logs
@@ -1014,11 +1811,25 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
1014
1811
  * @param {string} [componentName]
1015
1812
  * @param {string} [instanceName]
1016
1813
  * @param {string} [query]
1814
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1815
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1816
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1817
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1818
+ * @param {number} [minRowsExamined]
1819
+ * @param {number} [maxRowsExamined]
1820
+ * @param {number} [minRowsSent]
1821
+ * @param {number} [maxRowsSent]
1822
+ * @param {string} [dbName]
1823
+ * @param {string} [userName]
1824
+ * @param {string} [clientIp]
1825
+ * @param {string} [appName]
1826
+ * @param {string} [templateId]
1827
+ * @param {boolean} [unclassifiedOnly]
1017
1828
  * @param {*} [options] Override http request option.
1018
1829
  * @throws {RequiredError}
1019
1830
  */
1020
- async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
1021
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
1831
+ async queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>> {
1832
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, userName, clientIp, appName, templateId, unclassifiedOnly, options);
1022
1833
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1023
1834
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
1024
1835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1066,6 +1877,67 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
1066
1877
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryRunningLogs']?.[localVarOperationServerIndex]?.url;
1067
1878
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1068
1879
  },
1880
+ /**
1881
+ * Query slow log samples for a template
1882
+ * @summary Query cluster slow log template samples
1883
+ * @param {string} orgName
1884
+ * @param {string} clusterName
1885
+ * @param {string} templateId
1886
+ * @param {string} startTime Start time in epoch nanoseconds.
1887
+ * @param {string} endTime End time in epoch nanoseconds.
1888
+ * @param {string} [componentName]
1889
+ * @param {string} [instanceName]
1890
+ * @param {string} [query]
1891
+ * @param {string} [limit]
1892
+ * @param {SortType} [sortType]
1893
+ * @param {*} [options] Override http request option.
1894
+ * @throws {RequiredError}
1895
+ */
1896
+ async querySlowLogTemplateSamples(orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
1897
+ const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogTemplateSamples(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, limit, sortType, options);
1898
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1899
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogTemplateSamples']?.[localVarOperationServerIndex]?.url;
1900
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1901
+ },
1902
+ /**
1903
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
1904
+ * @summary Query cluster slow log templates
1905
+ * @param {string} orgName
1906
+ * @param {string} clusterName
1907
+ * @param {string} startTime Start time in epoch nanoseconds.
1908
+ * @param {string} endTime End time in epoch nanoseconds.
1909
+ * @param {string} [componentName]
1910
+ * @param {string} [instanceName]
1911
+ * @param {string} [query]
1912
+ * @param {number} [topN]
1913
+ * @param {string} [sortBy] Sort templates by count or avgExecutionTime.
1914
+ * @param {SortType} [sortType]
1915
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1916
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1917
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1918
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1919
+ * @param {number} [minRowsExamined]
1920
+ * @param {number} [maxRowsExamined]
1921
+ * @param {number} [minRowsSent]
1922
+ * @param {number} [maxRowsSent]
1923
+ * @param {string} [dbName]
1924
+ * @param {string} [dbNameContains]
1925
+ * @param {string} [userName]
1926
+ * @param {string} [userNameContains]
1927
+ * @param {string} [clientIp]
1928
+ * @param {string} [clientIpContains]
1929
+ * @param {string} [clientIpCIDR]
1930
+ * @param {string} [appName]
1931
+ * @param {string} [appNameContains]
1932
+ * @param {*} [options] Override http request option.
1933
+ * @throws {RequiredError}
1934
+ */
1935
+ async querySlowLogTemplates(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, topN?: number, sortBy?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogTemplateList>> {
1936
+ const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogTemplates(orgName, clusterName, startTime, endTime, componentName, instanceName, query, topN, sortBy, sortType, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, options);
1937
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1938
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogTemplates']?.[localVarOperationServerIndex]?.url;
1939
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1940
+ },
1069
1941
  /**
1070
1942
  * Query slow logs of a cluster
1071
1943
  * @summary Query cluster slow logs
@@ -1078,11 +1950,30 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
1078
1950
  * @param {string} [query]
1079
1951
  * @param {string} [limit]
1080
1952
  * @param {SortType} [sortType]
1953
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1954
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1955
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1956
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1957
+ * @param {number} [minRowsExamined]
1958
+ * @param {number} [maxRowsExamined]
1959
+ * @param {number} [minRowsSent]
1960
+ * @param {number} [maxRowsSent]
1961
+ * @param {string} [dbName]
1962
+ * @param {string} [dbNameContains]
1963
+ * @param {string} [userName]
1964
+ * @param {string} [userNameContains]
1965
+ * @param {string} [clientIp]
1966
+ * @param {string} [clientIpContains]
1967
+ * @param {string} [clientIpCIDR]
1968
+ * @param {string} [appName]
1969
+ * @param {string} [appNameContains]
1970
+ * @param {string} [templateId]
1971
+ * @param {boolean} [unclassifiedOnly]
1081
1972
  * @param {*} [options] Override http request option.
1082
1973
  * @throws {RequiredError}
1083
1974
  */
1084
- async querySlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
1085
- const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, options);
1975
+ async querySlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
1976
+ const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, templateId, unclassifiedOnly, options);
1086
1977
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1087
1978
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogs']?.[localVarOperationServerIndex]?.url;
1088
1979
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1117,6 +2008,26 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
1117
2008
  aggregateSlowLogs(requestParameters: ClusterLogApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse> {
1118
2009
  return localVarFp.aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(axios, basePath));
1119
2010
  },
2011
+ /**
2012
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
2013
+ * @summary Explain cluster slow log SQL
2014
+ * @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
2015
+ * @param {*} [options] Override http request option.
2016
+ * @throws {RequiredError}
2017
+ */
2018
+ explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
2019
+ return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
2020
+ },
2021
+ /**
2022
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
2023
+ * @summary Explain cluster slow log template
2024
+ * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
2025
+ * @param {*} [options] Override http request option.
2026
+ * @throws {RequiredError}
2027
+ */
2028
+ explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
2029
+ return localVarFp.explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
2030
+ },
1120
2031
  /**
1121
2032
  * Export cluster logs and return as a file download
1122
2033
  * @summary Export cluster logs
@@ -1135,7 +2046,17 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
1135
2046
  * @throws {RequiredError}
1136
2047
  */
1137
2048
  getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats> {
1138
- return localVarFp.getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, options).then((request) => request(axios, basePath));
2049
+ return localVarFp.getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
2050
+ },
2051
+ /**
2052
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
2053
+ * @summary Get cluster slow log template
2054
+ * @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
2055
+ * @param {*} [options] Override http request option.
2056
+ * @throws {RequiredError}
2057
+ */
2058
+ getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate> {
2059
+ return localVarFp.getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
1139
2060
  },
1140
2061
  /**
1141
2062
  * Query audit logs of a cluster
@@ -1165,7 +2086,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
1165
2086
  * @throws {RequiredError}
1166
2087
  */
1167
2088
  queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
1168
- return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(axios, basePath));
2089
+ return localVarFp.queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
1169
2090
  },
1170
2091
  /**
1171
2092
  * Query pod logs of a cluster
@@ -1187,6 +2108,26 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
1187
2108
  queryRunningLogs(requestParameters: ClusterLogApiQueryRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse> {
1188
2109
  return localVarFp.queryRunningLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.filename, requestParameters.limit, requestParameters.query, requestParameters.sortType, options).then((request) => request(axios, basePath));
1189
2110
  },
2111
+ /**
2112
+ * Query slow log samples for a template
2113
+ * @summary Query cluster slow log template samples
2114
+ * @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
2115
+ * @param {*} [options] Override http request option.
2116
+ * @throws {RequiredError}
2117
+ */
2118
+ querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog> {
2119
+ return localVarFp.querySlowLogTemplateSamples(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(axios, basePath));
2120
+ },
2121
+ /**
2122
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
2123
+ * @summary Query cluster slow log templates
2124
+ * @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
2125
+ * @param {*} [options] Override http request option.
2126
+ * @throws {RequiredError}
2127
+ */
2128
+ querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplateList> {
2129
+ return localVarFp.querySlowLogTemplates(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.topN, requestParameters.sortBy, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, options).then((request) => request(axios, basePath));
2130
+ },
1190
2131
  /**
1191
2132
  * Query slow logs of a cluster
1192
2133
  * @summary Query cluster slow logs
@@ -1195,7 +2136,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
1195
2136
  * @throws {RequiredError}
1196
2137
  */
1197
2138
  querySlowLogs(requestParameters: ClusterLogApiQuerySlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog> {
1198
- return localVarFp.querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(axios, basePath));
2139
+ return localVarFp.querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
1199
2140
  },
1200
2141
  };
1201
2142
  };
@@ -1226,6 +2167,26 @@ export interface ClusterLogApiInterface {
1226
2167
  */
1227
2168
  aggregateSlowLogs(requestParameters: ClusterLogApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse>;
1228
2169
 
2170
+ /**
2171
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
2172
+ * @summary Explain cluster slow log SQL
2173
+ * @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
2174
+ * @param {*} [options] Override http request option.
2175
+ * @throws {RequiredError}
2176
+ * @memberof ClusterLogApiInterface
2177
+ */
2178
+ explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
2179
+
2180
+ /**
2181
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
2182
+ * @summary Explain cluster slow log template
2183
+ * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
2184
+ * @param {*} [options] Override http request option.
2185
+ * @throws {RequiredError}
2186
+ * @memberof ClusterLogApiInterface
2187
+ */
2188
+ explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
2189
+
1229
2190
  /**
1230
2191
  * Export cluster logs and return as a file download
1231
2192
  * @summary Export cluster logs
@@ -1246,6 +2207,16 @@ export interface ClusterLogApiInterface {
1246
2207
  */
1247
2208
  getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats>;
1248
2209
 
2210
+ /**
2211
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
2212
+ * @summary Get cluster slow log template
2213
+ * @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
2214
+ * @param {*} [options] Override http request option.
2215
+ * @throws {RequiredError}
2216
+ * @memberof ClusterLogApiInterface
2217
+ */
2218
+ getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate>;
2219
+
1249
2220
  /**
1250
2221
  * Query audit logs of a cluster
1251
2222
  * @summary Query cluster audit logs
@@ -1296,6 +2267,26 @@ export interface ClusterLogApiInterface {
1296
2267
  */
1297
2268
  queryRunningLogs(requestParameters: ClusterLogApiQueryRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
1298
2269
 
2270
+ /**
2271
+ * Query slow log samples for a template
2272
+ * @summary Query cluster slow log template samples
2273
+ * @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
2274
+ * @param {*} [options] Override http request option.
2275
+ * @throws {RequiredError}
2276
+ * @memberof ClusterLogApiInterface
2277
+ */
2278
+ querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
2279
+
2280
+ /**
2281
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
2282
+ * @summary Query cluster slow log templates
2283
+ * @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
2284
+ * @param {*} [options] Override http request option.
2285
+ * @throws {RequiredError}
2286
+ * @memberof ClusterLogApiInterface
2287
+ */
2288
+ querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplateList>;
2289
+
1299
2290
  /**
1300
2291
  * Query slow logs of a cluster
1301
2292
  * @summary Query cluster slow logs
@@ -1324,716 +2315,1514 @@ export interface ClusterLogApiAggregateAuditLogsRequest {
1324
2315
  /**
1325
2316
  *
1326
2317
  * @type {string}
1327
- * @memberof ClusterLogApiAggregateAuditLogs
2318
+ * @memberof ClusterLogApiAggregateAuditLogs
2319
+ */
2320
+ readonly clusterName: string
2321
+
2322
+ /**
2323
+ * Start time in epoch nanoseconds.
2324
+ * @type {string}
2325
+ * @memberof ClusterLogApiAggregateAuditLogs
2326
+ */
2327
+ readonly startTime: string
2328
+
2329
+ /**
2330
+ * End time in epoch nanoseconds.
2331
+ * @type {string}
2332
+ * @memberof ClusterLogApiAggregateAuditLogs
2333
+ */
2334
+ readonly endTime: string
2335
+
2336
+ /**
2337
+ *
2338
+ * @type {string}
2339
+ * @memberof ClusterLogApiAggregateAuditLogs
2340
+ */
2341
+ readonly componentName?: string
2342
+
2343
+ /**
2344
+ *
2345
+ * @type {string}
2346
+ * @memberof ClusterLogApiAggregateAuditLogs
2347
+ */
2348
+ readonly instanceName?: string
2349
+
2350
+ /**
2351
+ *
2352
+ * @type {string}
2353
+ * @memberof ClusterLogApiAggregateAuditLogs
2354
+ */
2355
+ readonly query?: string
2356
+
2357
+ /**
2358
+ *
2359
+ * @type {string}
2360
+ * @memberof ClusterLogApiAggregateAuditLogs
2361
+ */
2362
+ readonly limit?: string
2363
+
2364
+ /**
2365
+ *
2366
+ * @type {SortType}
2367
+ * @memberof ClusterLogApiAggregateAuditLogs
2368
+ */
2369
+ readonly sortType?: SortType
2370
+
2371
+ /**
2372
+ *
2373
+ * @type {string}
2374
+ * @memberof ClusterLogApiAggregateAuditLogs
2375
+ */
2376
+ readonly groupBy?: string
2377
+
2378
+ /**
2379
+ *
2380
+ * @type {number}
2381
+ * @memberof ClusterLogApiAggregateAuditLogs
2382
+ */
2383
+ readonly topN?: number
2384
+ }
2385
+
2386
+ /**
2387
+ * Request parameters for aggregateSlowLogs operation in ClusterLogApi.
2388
+ * @export
2389
+ * @interface ClusterLogApiAggregateSlowLogsRequest
2390
+ */
2391
+ export interface ClusterLogApiAggregateSlowLogsRequest {
2392
+ /**
2393
+ *
2394
+ * @type {string}
2395
+ * @memberof ClusterLogApiAggregateSlowLogs
2396
+ */
2397
+ readonly orgName: string
2398
+
2399
+ /**
2400
+ *
2401
+ * @type {string}
2402
+ * @memberof ClusterLogApiAggregateSlowLogs
2403
+ */
2404
+ readonly clusterName: string
2405
+
2406
+ /**
2407
+ * Start time in epoch nanoseconds.
2408
+ * @type {string}
2409
+ * @memberof ClusterLogApiAggregateSlowLogs
2410
+ */
2411
+ readonly startTime: string
2412
+
2413
+ /**
2414
+ * End time in epoch nanoseconds.
2415
+ * @type {string}
2416
+ * @memberof ClusterLogApiAggregateSlowLogs
2417
+ */
2418
+ readonly endTime: string
2419
+
2420
+ /**
2421
+ *
2422
+ * @type {string}
2423
+ * @memberof ClusterLogApiAggregateSlowLogs
2424
+ */
2425
+ readonly componentName?: string
2426
+
2427
+ /**
2428
+ *
2429
+ * @type {string}
2430
+ * @memberof ClusterLogApiAggregateSlowLogs
2431
+ */
2432
+ readonly instanceName?: string
2433
+
2434
+ /**
2435
+ *
2436
+ * @type {string}
2437
+ * @memberof ClusterLogApiAggregateSlowLogs
2438
+ */
2439
+ readonly query?: string
2440
+
2441
+ /**
2442
+ *
2443
+ * @type {string}
2444
+ * @memberof ClusterLogApiAggregateSlowLogs
2445
+ */
2446
+ readonly limit?: string
2447
+
2448
+ /**
2449
+ *
2450
+ * @type {SortType}
2451
+ * @memberof ClusterLogApiAggregateSlowLogs
2452
+ */
2453
+ readonly sortType?: SortType
2454
+
2455
+ /**
2456
+ *
2457
+ * @type {string}
2458
+ * @memberof ClusterLogApiAggregateSlowLogs
2459
+ */
2460
+ readonly groupBy?: string
2461
+
2462
+ /**
2463
+ *
2464
+ * @type {number}
2465
+ * @memberof ClusterLogApiAggregateSlowLogs
2466
+ */
2467
+ readonly topN?: number
2468
+ }
2469
+
2470
+ /**
2471
+ * Request parameters for explainSlowLog operation in ClusterLogApi.
2472
+ * @export
2473
+ * @interface ClusterLogApiExplainSlowLogRequest
2474
+ */
2475
+ export interface ClusterLogApiExplainSlowLogRequest {
2476
+ /**
2477
+ *
2478
+ * @type {string}
2479
+ * @memberof ClusterLogApiExplainSlowLog
2480
+ */
2481
+ readonly orgName: string
2482
+
2483
+ /**
2484
+ *
2485
+ * @type {string}
2486
+ * @memberof ClusterLogApiExplainSlowLog
2487
+ */
2488
+ readonly clusterName: string
2489
+
2490
+ /**
2491
+ *
2492
+ * @type {DmsExplainRequest}
2493
+ * @memberof ClusterLogApiExplainSlowLog
2494
+ */
2495
+ readonly dmsExplainRequest: DmsExplainRequest
2496
+ }
2497
+
2498
+ /**
2499
+ * Request parameters for explainSlowLogTemplate operation in ClusterLogApi.
2500
+ * @export
2501
+ * @interface ClusterLogApiExplainSlowLogTemplateRequest
2502
+ */
2503
+ export interface ClusterLogApiExplainSlowLogTemplateRequest {
2504
+ /**
2505
+ *
2506
+ * @type {string}
2507
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2508
+ */
2509
+ readonly orgName: string
2510
+
2511
+ /**
2512
+ *
2513
+ * @type {string}
2514
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2515
+ */
2516
+ readonly clusterName: string
2517
+
2518
+ /**
2519
+ *
2520
+ * @type {string}
2521
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2522
+ */
2523
+ readonly templateId: string
2524
+
2525
+ /**
2526
+ * Start time in epoch nanoseconds.
2527
+ * @type {string}
2528
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2529
+ */
2530
+ readonly startTime: string
2531
+
2532
+ /**
2533
+ * End time in epoch nanoseconds.
2534
+ * @type {string}
2535
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2536
+ */
2537
+ readonly endTime: string
2538
+
2539
+ /**
2540
+ *
2541
+ * @type {string}
2542
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2543
+ */
2544
+ readonly componentName?: string
2545
+
2546
+ /**
2547
+ *
2548
+ * @type {string}
2549
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2550
+ */
2551
+ readonly instanceName?: string
2552
+
2553
+ /**
2554
+ *
2555
+ * @type {string}
2556
+ * @memberof ClusterLogApiExplainSlowLogTemplate
2557
+ */
2558
+ readonly query?: string
2559
+ }
2560
+
2561
+ /**
2562
+ * Request parameters for exportClusterLogs operation in ClusterLogApi.
2563
+ * @export
2564
+ * @interface ClusterLogApiExportClusterLogsRequest
2565
+ */
2566
+ export interface ClusterLogApiExportClusterLogsRequest {
2567
+ /**
2568
+ *
2569
+ * @type {string}
2570
+ * @memberof ClusterLogApiExportClusterLogs
2571
+ */
2572
+ readonly orgName: string
2573
+
2574
+ /**
2575
+ *
2576
+ * @type {string}
2577
+ * @memberof ClusterLogApiExportClusterLogs
2578
+ */
2579
+ readonly clusterName: string
2580
+
2581
+ /**
2582
+ * Log type: runninglog, errorlog, slow, auditlog
2583
+ * @type {string}
2584
+ * @memberof ClusterLogApiExportClusterLogs
2585
+ */
2586
+ readonly logType: string
2587
+
2588
+ /**
2589
+ * Start time in epoch nanoseconds. If omitted, exports from the earliest available log
2590
+ * @type {number}
2591
+ * @memberof ClusterLogApiExportClusterLogs
2592
+ */
2593
+ readonly startTime?: number
2594
+
2595
+ /**
2596
+ * End time in epoch nanoseconds. If omitted, exports up to the latest available log
2597
+ * @type {number}
2598
+ * @memberof ClusterLogApiExportClusterLogs
2599
+ */
2600
+ readonly endTime?: number
2601
+
2602
+ /**
2603
+ * Export format: csv, raw, jsonl
2604
+ * @type {string}
2605
+ * @memberof ClusterLogApiExportClusterLogs
2606
+ */
2607
+ readonly format?: string
2608
+
2609
+ /**
2610
+ * Optional search query
2611
+ * @type {string}
2612
+ * @memberof ClusterLogApiExportClusterLogs
2613
+ */
2614
+ readonly query?: string
2615
+
2616
+ /**
2617
+ * Optional log filename filter
2618
+ * @type {string}
2619
+ * @memberof ClusterLogApiExportClusterLogs
2620
+ */
2621
+ readonly filename?: string
2622
+
2623
+ /**
2624
+ * Optional component name filter
2625
+ * @type {string}
2626
+ * @memberof ClusterLogApiExportClusterLogs
2627
+ */
2628
+ readonly componentName?: string
2629
+
2630
+ /**
2631
+ * Optional instance name filter
2632
+ * @type {string}
2633
+ * @memberof ClusterLogApiExportClusterLogs
2634
+ */
2635
+ readonly instanceName?: string
2636
+
2637
+ /**
2638
+ * Maximum number of lines to export. Defaults to 100000 if omitted
2639
+ * @type {number}
2640
+ * @memberof ClusterLogApiExportClusterLogs
2641
+ */
2642
+ readonly maxLines?: number
2643
+ }
2644
+
2645
+ /**
2646
+ * Request parameters for getSlowLogStats operation in ClusterLogApi.
2647
+ * @export
2648
+ * @interface ClusterLogApiGetSlowLogStatsRequest
2649
+ */
2650
+ export interface ClusterLogApiGetSlowLogStatsRequest {
2651
+ /**
2652
+ *
2653
+ * @type {string}
2654
+ * @memberof ClusterLogApiGetSlowLogStats
2655
+ */
2656
+ readonly orgName: string
2657
+
2658
+ /**
2659
+ *
2660
+ * @type {string}
2661
+ * @memberof ClusterLogApiGetSlowLogStats
2662
+ */
2663
+ readonly clusterName: string
2664
+
2665
+ /**
2666
+ * Start time in epoch nanoseconds.
2667
+ * @type {string}
2668
+ * @memberof ClusterLogApiGetSlowLogStats
2669
+ */
2670
+ readonly startTime: string
2671
+
2672
+ /**
2673
+ * End time in epoch nanoseconds.
2674
+ * @type {string}
2675
+ * @memberof ClusterLogApiGetSlowLogStats
2676
+ */
2677
+ readonly endTime: string
2678
+
2679
+ /**
2680
+ *
2681
+ * @type {string}
2682
+ * @memberof ClusterLogApiGetSlowLogStats
2683
+ */
2684
+ readonly componentName?: string
2685
+
2686
+ /**
2687
+ *
2688
+ * @type {string}
2689
+ * @memberof ClusterLogApiGetSlowLogStats
2690
+ */
2691
+ readonly instanceName?: string
2692
+
2693
+ /**
2694
+ *
2695
+ * @type {string}
2696
+ * @memberof ClusterLogApiGetSlowLogStats
2697
+ */
2698
+ readonly query?: string
2699
+
2700
+ /**
2701
+ * Minimum execution time in seconds. Decimal values are supported, for example 0.5.
2702
+ * @type {number}
2703
+ * @memberof ClusterLogApiGetSlowLogStats
2704
+ */
2705
+ readonly minExecutionTime?: number
2706
+
2707
+ /**
2708
+ * Maximum execution time in seconds. Decimal values are supported, for example 0.5.
2709
+ * @type {number}
2710
+ * @memberof ClusterLogApiGetSlowLogStats
2711
+ */
2712
+ readonly maxExecutionTime?: number
2713
+
2714
+ /**
2715
+ * Minimum lock time in seconds. Decimal values are supported, for example 0.001.
2716
+ * @type {number}
2717
+ * @memberof ClusterLogApiGetSlowLogStats
2718
+ */
2719
+ readonly minLockTime?: number
2720
+
2721
+ /**
2722
+ * Maximum lock time in seconds. Decimal values are supported, for example 0.001.
2723
+ * @type {number}
2724
+ * @memberof ClusterLogApiGetSlowLogStats
2725
+ */
2726
+ readonly maxLockTime?: number
2727
+
2728
+ /**
2729
+ *
2730
+ * @type {number}
2731
+ * @memberof ClusterLogApiGetSlowLogStats
2732
+ */
2733
+ readonly minRowsExamined?: number
2734
+
2735
+ /**
2736
+ *
2737
+ * @type {number}
2738
+ * @memberof ClusterLogApiGetSlowLogStats
2739
+ */
2740
+ readonly maxRowsExamined?: number
2741
+
2742
+ /**
2743
+ *
2744
+ * @type {number}
2745
+ * @memberof ClusterLogApiGetSlowLogStats
2746
+ */
2747
+ readonly minRowsSent?: number
2748
+
2749
+ /**
2750
+ *
2751
+ * @type {number}
2752
+ * @memberof ClusterLogApiGetSlowLogStats
2753
+ */
2754
+ readonly maxRowsSent?: number
2755
+
2756
+ /**
2757
+ *
2758
+ * @type {string}
2759
+ * @memberof ClusterLogApiGetSlowLogStats
2760
+ */
2761
+ readonly dbName?: string
2762
+
2763
+ /**
2764
+ *
2765
+ * @type {string}
2766
+ * @memberof ClusterLogApiGetSlowLogStats
2767
+ */
2768
+ readonly dbNameContains?: string
2769
+
2770
+ /**
2771
+ *
2772
+ * @type {string}
2773
+ * @memberof ClusterLogApiGetSlowLogStats
2774
+ */
2775
+ readonly userName?: string
2776
+
2777
+ /**
2778
+ *
2779
+ * @type {string}
2780
+ * @memberof ClusterLogApiGetSlowLogStats
2781
+ */
2782
+ readonly userNameContains?: string
2783
+
2784
+ /**
2785
+ *
2786
+ * @type {string}
2787
+ * @memberof ClusterLogApiGetSlowLogStats
2788
+ */
2789
+ readonly clientIp?: string
2790
+
2791
+ /**
2792
+ *
2793
+ * @type {string}
2794
+ * @memberof ClusterLogApiGetSlowLogStats
2795
+ */
2796
+ readonly clientIpContains?: string
2797
+
2798
+ /**
2799
+ *
2800
+ * @type {string}
2801
+ * @memberof ClusterLogApiGetSlowLogStats
2802
+ */
2803
+ readonly clientIpCIDR?: string
2804
+
2805
+ /**
2806
+ *
2807
+ * @type {string}
2808
+ * @memberof ClusterLogApiGetSlowLogStats
2809
+ */
2810
+ readonly appName?: string
2811
+
2812
+ /**
2813
+ *
2814
+ * @type {string}
2815
+ * @memberof ClusterLogApiGetSlowLogStats
2816
+ */
2817
+ readonly appNameContains?: string
2818
+
2819
+ /**
2820
+ *
2821
+ * @type {string}
2822
+ * @memberof ClusterLogApiGetSlowLogStats
2823
+ */
2824
+ readonly templateId?: string
2825
+
2826
+ /**
2827
+ *
2828
+ * @type {boolean}
2829
+ * @memberof ClusterLogApiGetSlowLogStats
2830
+ */
2831
+ readonly unclassifiedOnly?: boolean
2832
+ }
2833
+
2834
+ /**
2835
+ * Request parameters for getSlowLogTemplate operation in ClusterLogApi.
2836
+ * @export
2837
+ * @interface ClusterLogApiGetSlowLogTemplateRequest
2838
+ */
2839
+ export interface ClusterLogApiGetSlowLogTemplateRequest {
2840
+ /**
2841
+ *
2842
+ * @type {string}
2843
+ * @memberof ClusterLogApiGetSlowLogTemplate
2844
+ */
2845
+ readonly orgName: string
2846
+
2847
+ /**
2848
+ *
2849
+ * @type {string}
2850
+ * @memberof ClusterLogApiGetSlowLogTemplate
2851
+ */
2852
+ readonly clusterName: string
2853
+
2854
+ /**
2855
+ *
2856
+ * @type {string}
2857
+ * @memberof ClusterLogApiGetSlowLogTemplate
2858
+ */
2859
+ readonly templateId: string
2860
+
2861
+ /**
2862
+ * Start time in epoch nanoseconds.
2863
+ * @type {string}
2864
+ * @memberof ClusterLogApiGetSlowLogTemplate
2865
+ */
2866
+ readonly startTime: string
2867
+
2868
+ /**
2869
+ * End time in epoch nanoseconds.
2870
+ * @type {string}
2871
+ * @memberof ClusterLogApiGetSlowLogTemplate
2872
+ */
2873
+ readonly endTime: string
2874
+
2875
+ /**
2876
+ *
2877
+ * @type {string}
2878
+ * @memberof ClusterLogApiGetSlowLogTemplate
2879
+ */
2880
+ readonly componentName?: string
2881
+
2882
+ /**
2883
+ *
2884
+ * @type {string}
2885
+ * @memberof ClusterLogApiGetSlowLogTemplate
2886
+ */
2887
+ readonly instanceName?: string
2888
+
2889
+ /**
2890
+ *
2891
+ * @type {string}
2892
+ * @memberof ClusterLogApiGetSlowLogTemplate
2893
+ */
2894
+ readonly query?: string
2895
+ }
2896
+
2897
+ /**
2898
+ * Request parameters for queryAuditLogs operation in ClusterLogApi.
2899
+ * @export
2900
+ * @interface ClusterLogApiQueryAuditLogsRequest
2901
+ */
2902
+ export interface ClusterLogApiQueryAuditLogsRequest {
2903
+ /**
2904
+ *
2905
+ * @type {string}
2906
+ * @memberof ClusterLogApiQueryAuditLogs
2907
+ */
2908
+ readonly orgName: string
2909
+
2910
+ /**
2911
+ *
2912
+ * @type {string}
2913
+ * @memberof ClusterLogApiQueryAuditLogs
2914
+ */
2915
+ readonly clusterName: string
2916
+
2917
+ /**
2918
+ * Start time in epoch nanoseconds.
2919
+ * @type {string}
2920
+ * @memberof ClusterLogApiQueryAuditLogs
2921
+ */
2922
+ readonly startTime: string
2923
+
2924
+ /**
2925
+ * End time in epoch nanoseconds.
2926
+ * @type {string}
2927
+ * @memberof ClusterLogApiQueryAuditLogs
2928
+ */
2929
+ readonly endTime: string
2930
+
2931
+ /**
2932
+ *
2933
+ * @type {string}
2934
+ * @memberof ClusterLogApiQueryAuditLogs
2935
+ */
2936
+ readonly limit?: string
2937
+
2938
+ /**
2939
+ *
2940
+ * @type {string}
2941
+ * @memberof ClusterLogApiQueryAuditLogs
2942
+ */
2943
+ readonly componentName?: string
2944
+
2945
+ /**
2946
+ *
2947
+ * @type {string}
2948
+ * @memberof ClusterLogApiQueryAuditLogs
2949
+ */
2950
+ readonly instanceName?: string
2951
+
2952
+ /**
2953
+ *
2954
+ * @type {SortType}
2955
+ * @memberof ClusterLogApiQueryAuditLogs
2956
+ */
2957
+ readonly sortType?: SortType
2958
+ }
2959
+
2960
+ /**
2961
+ * Request parameters for queryErrorLogs operation in ClusterLogApi.
2962
+ * @export
2963
+ * @interface ClusterLogApiQueryErrorLogsRequest
2964
+ */
2965
+ export interface ClusterLogApiQueryErrorLogsRequest {
2966
+ /**
2967
+ *
2968
+ * @type {string}
2969
+ * @memberof ClusterLogApiQueryErrorLogs
2970
+ */
2971
+ readonly orgName: string
2972
+
2973
+ /**
2974
+ *
2975
+ * @type {string}
2976
+ * @memberof ClusterLogApiQueryErrorLogs
1328
2977
  */
1329
2978
  readonly clusterName: string
1330
2979
 
1331
2980
  /**
1332
2981
  * Start time in epoch nanoseconds.
1333
2982
  * @type {string}
1334
- * @memberof ClusterLogApiAggregateAuditLogs
2983
+ * @memberof ClusterLogApiQueryErrorLogs
1335
2984
  */
1336
2985
  readonly startTime: string
1337
2986
 
1338
2987
  /**
1339
2988
  * End time in epoch nanoseconds.
1340
2989
  * @type {string}
1341
- * @memberof ClusterLogApiAggregateAuditLogs
2990
+ * @memberof ClusterLogApiQueryErrorLogs
1342
2991
  */
1343
2992
  readonly endTime: string
1344
2993
 
1345
2994
  /**
1346
2995
  *
1347
2996
  * @type {string}
1348
- * @memberof ClusterLogApiAggregateAuditLogs
2997
+ * @memberof ClusterLogApiQueryErrorLogs
1349
2998
  */
1350
2999
  readonly componentName?: string
1351
3000
 
1352
3001
  /**
1353
3002
  *
1354
3003
  * @type {string}
1355
- * @memberof ClusterLogApiAggregateAuditLogs
3004
+ * @memberof ClusterLogApiQueryErrorLogs
1356
3005
  */
1357
3006
  readonly instanceName?: string
1358
3007
 
1359
3008
  /**
1360
3009
  *
1361
3010
  * @type {string}
1362
- * @memberof ClusterLogApiAggregateAuditLogs
3011
+ * @memberof ClusterLogApiQueryErrorLogs
1363
3012
  */
1364
- readonly query?: string
3013
+ readonly filename?: string
1365
3014
 
1366
3015
  /**
1367
3016
  *
1368
3017
  * @type {string}
1369
- * @memberof ClusterLogApiAggregateAuditLogs
1370
- */
1371
- readonly limit?: string
1372
-
1373
- /**
1374
- *
1375
- * @type {SortType}
1376
- * @memberof ClusterLogApiAggregateAuditLogs
3018
+ * @memberof ClusterLogApiQueryErrorLogs
1377
3019
  */
1378
- readonly sortType?: SortType
3020
+ readonly query?: string
1379
3021
 
1380
3022
  /**
1381
3023
  *
1382
3024
  * @type {string}
1383
- * @memberof ClusterLogApiAggregateAuditLogs
3025
+ * @memberof ClusterLogApiQueryErrorLogs
1384
3026
  */
1385
- readonly groupBy?: string
3027
+ readonly limit?: string
1386
3028
 
1387
3029
  /**
1388
3030
  *
1389
- * @type {number}
1390
- * @memberof ClusterLogApiAggregateAuditLogs
3031
+ * @type {SortType}
3032
+ * @memberof ClusterLogApiQueryErrorLogs
1391
3033
  */
1392
- readonly topN?: number
3034
+ readonly sortType?: SortType
1393
3035
  }
1394
3036
 
1395
3037
  /**
1396
- * Request parameters for aggregateSlowLogs operation in ClusterLogApi.
3038
+ * Request parameters for queryLogHits operation in ClusterLogApi.
1397
3039
  * @export
1398
- * @interface ClusterLogApiAggregateSlowLogsRequest
3040
+ * @interface ClusterLogApiQueryLogHitsRequest
1399
3041
  */
1400
- export interface ClusterLogApiAggregateSlowLogsRequest {
3042
+ export interface ClusterLogApiQueryLogHitsRequest {
1401
3043
  /**
1402
3044
  *
1403
3045
  * @type {string}
1404
- * @memberof ClusterLogApiAggregateSlowLogs
3046
+ * @memberof ClusterLogApiQueryLogHits
1405
3047
  */
1406
3048
  readonly orgName: string
1407
3049
 
1408
3050
  /**
1409
3051
  *
1410
3052
  * @type {string}
1411
- * @memberof ClusterLogApiAggregateSlowLogs
3053
+ * @memberof ClusterLogApiQueryLogHits
1412
3054
  */
1413
3055
  readonly clusterName: string
1414
3056
 
1415
3057
  /**
1416
3058
  * Start time in epoch nanoseconds.
1417
3059
  * @type {string}
1418
- * @memberof ClusterLogApiAggregateSlowLogs
3060
+ * @memberof ClusterLogApiQueryLogHits
1419
3061
  */
1420
3062
  readonly startTime: string
1421
3063
 
1422
3064
  /**
1423
3065
  * End time in epoch nanoseconds.
1424
3066
  * @type {string}
1425
- * @memberof ClusterLogApiAggregateSlowLogs
3067
+ * @memberof ClusterLogApiQueryLogHits
1426
3068
  */
1427
3069
  readonly endTime: string
1428
3070
 
3071
+ /**
3072
+ * Time bucket size, e.g. 5s, 30s, 1m, 5m, 30m, 1h
3073
+ * @type {string}
3074
+ * @memberof ClusterLogApiQueryLogHits
3075
+ */
3076
+ readonly step: string
3077
+
3078
+ /**
3079
+ * Log type: runninglog, errorlog, slow, auditlog
3080
+ * @type {string}
3081
+ * @memberof ClusterLogApiQueryLogHits
3082
+ */
3083
+ readonly logType: string
3084
+
1429
3085
  /**
1430
3086
  *
1431
3087
  * @type {string}
1432
- * @memberof ClusterLogApiAggregateSlowLogs
3088
+ * @memberof ClusterLogApiQueryLogHits
1433
3089
  */
1434
3090
  readonly componentName?: string
1435
3091
 
1436
3092
  /**
1437
3093
  *
1438
3094
  * @type {string}
1439
- * @memberof ClusterLogApiAggregateSlowLogs
3095
+ * @memberof ClusterLogApiQueryLogHits
1440
3096
  */
1441
3097
  readonly instanceName?: string
1442
3098
 
1443
3099
  /**
1444
3100
  *
1445
3101
  * @type {string}
1446
- * @memberof ClusterLogApiAggregateSlowLogs
3102
+ * @memberof ClusterLogApiQueryLogHits
1447
3103
  */
1448
3104
  readonly query?: string
1449
3105
 
3106
+ /**
3107
+ * Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
3108
+ * @type {number}
3109
+ * @memberof ClusterLogApiQueryLogHits
3110
+ */
3111
+ readonly minExecutionTime?: number
3112
+
3113
+ /**
3114
+ * Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
3115
+ * @type {number}
3116
+ * @memberof ClusterLogApiQueryLogHits
3117
+ */
3118
+ readonly maxExecutionTime?: number
3119
+
3120
+ /**
3121
+ * Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
3122
+ * @type {number}
3123
+ * @memberof ClusterLogApiQueryLogHits
3124
+ */
3125
+ readonly minLockTime?: number
3126
+
3127
+ /**
3128
+ * Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
3129
+ * @type {number}
3130
+ * @memberof ClusterLogApiQueryLogHits
3131
+ */
3132
+ readonly maxLockTime?: number
3133
+
1450
3134
  /**
1451
3135
  *
1452
- * @type {string}
1453
- * @memberof ClusterLogApiAggregateSlowLogs
3136
+ * @type {number}
3137
+ * @memberof ClusterLogApiQueryLogHits
1454
3138
  */
1455
- readonly limit?: string
3139
+ readonly minRowsExamined?: number
1456
3140
 
1457
3141
  /**
1458
3142
  *
1459
- * @type {SortType}
1460
- * @memberof ClusterLogApiAggregateSlowLogs
3143
+ * @type {number}
3144
+ * @memberof ClusterLogApiQueryLogHits
1461
3145
  */
1462
- readonly sortType?: SortType
3146
+ readonly maxRowsExamined?: number
1463
3147
 
1464
3148
  /**
1465
3149
  *
1466
- * @type {string}
1467
- * @memberof ClusterLogApiAggregateSlowLogs
3150
+ * @type {number}
3151
+ * @memberof ClusterLogApiQueryLogHits
1468
3152
  */
1469
- readonly groupBy?: string
3153
+ readonly minRowsSent?: number
1470
3154
 
1471
3155
  /**
1472
3156
  *
1473
3157
  * @type {number}
1474
- * @memberof ClusterLogApiAggregateSlowLogs
3158
+ * @memberof ClusterLogApiQueryLogHits
1475
3159
  */
1476
- readonly topN?: number
1477
- }
3160
+ readonly maxRowsSent?: number
1478
3161
 
1479
- /**
1480
- * Request parameters for exportClusterLogs operation in ClusterLogApi.
1481
- * @export
1482
- * @interface ClusterLogApiExportClusterLogsRequest
1483
- */
1484
- export interface ClusterLogApiExportClusterLogsRequest {
1485
3162
  /**
1486
3163
  *
1487
3164
  * @type {string}
1488
- * @memberof ClusterLogApiExportClusterLogs
3165
+ * @memberof ClusterLogApiQueryLogHits
1489
3166
  */
1490
- readonly orgName: string
3167
+ readonly dbName?: string
1491
3168
 
1492
3169
  /**
1493
3170
  *
1494
3171
  * @type {string}
1495
- * @memberof ClusterLogApiExportClusterLogs
3172
+ * @memberof ClusterLogApiQueryLogHits
1496
3173
  */
1497
- readonly clusterName: string
3174
+ readonly userName?: string
1498
3175
 
1499
3176
  /**
1500
- * Log type: runninglog, errorlog, slow, auditlog
3177
+ *
1501
3178
  * @type {string}
1502
- * @memberof ClusterLogApiExportClusterLogs
3179
+ * @memberof ClusterLogApiQueryLogHits
1503
3180
  */
1504
- readonly logType: string
3181
+ readonly clientIp?: string
1505
3182
 
1506
3183
  /**
1507
- * Start time in epoch nanoseconds. If omitted, exports from the earliest available log
1508
- * @type {number}
1509
- * @memberof ClusterLogApiExportClusterLogs
3184
+ *
3185
+ * @type {string}
3186
+ * @memberof ClusterLogApiQueryLogHits
1510
3187
  */
1511
- readonly startTime?: number
3188
+ readonly appName?: string
1512
3189
 
1513
3190
  /**
1514
- * End time in epoch nanoseconds. If omitted, exports up to the latest available log
1515
- * @type {number}
1516
- * @memberof ClusterLogApiExportClusterLogs
3191
+ *
3192
+ * @type {string}
3193
+ * @memberof ClusterLogApiQueryLogHits
1517
3194
  */
1518
- readonly endTime?: number
3195
+ readonly templateId?: string
1519
3196
 
1520
3197
  /**
1521
- * Export format: csv, raw, jsonl
3198
+ *
3199
+ * @type {boolean}
3200
+ * @memberof ClusterLogApiQueryLogHits
3201
+ */
3202
+ readonly unclassifiedOnly?: boolean
3203
+ }
3204
+
3205
+ /**
3206
+ * Request parameters for queryPodLogs operation in ClusterLogApi.
3207
+ * @export
3208
+ * @interface ClusterLogApiQueryPodLogsRequest
3209
+ */
3210
+ export interface ClusterLogApiQueryPodLogsRequest {
3211
+ /**
3212
+ *
1522
3213
  * @type {string}
1523
- * @memberof ClusterLogApiExportClusterLogs
3214
+ * @memberof ClusterLogApiQueryPodLogs
1524
3215
  */
1525
- readonly format?: string
3216
+ readonly orgName: string
1526
3217
 
1527
3218
  /**
1528
- * Optional search query
3219
+ *
1529
3220
  * @type {string}
1530
- * @memberof ClusterLogApiExportClusterLogs
3221
+ * @memberof ClusterLogApiQueryPodLogs
1531
3222
  */
1532
- readonly query?: string
3223
+ readonly clusterName: string
1533
3224
 
1534
3225
  /**
1535
- * Optional log filename filter
3226
+ * Start time in epoch nanoseconds.
1536
3227
  * @type {string}
1537
- * @memberof ClusterLogApiExportClusterLogs
3228
+ * @memberof ClusterLogApiQueryPodLogs
1538
3229
  */
1539
- readonly filename?: string
3230
+ readonly startTime: string
1540
3231
 
1541
3232
  /**
1542
- * Optional component name filter
3233
+ * End time in epoch nanoseconds.
1543
3234
  * @type {string}
1544
- * @memberof ClusterLogApiExportClusterLogs
3235
+ * @memberof ClusterLogApiQueryPodLogs
3236
+ */
3237
+ readonly endTime: string
3238
+
3239
+ /**
3240
+ *
3241
+ * @type {string}
3242
+ * @memberof ClusterLogApiQueryPodLogs
1545
3243
  */
1546
3244
  readonly componentName?: string
1547
3245
 
1548
3246
  /**
1549
- * Optional instance name filter
3247
+ *
1550
3248
  * @type {string}
1551
- * @memberof ClusterLogApiExportClusterLogs
3249
+ * @memberof ClusterLogApiQueryPodLogs
1552
3250
  */
1553
3251
  readonly instanceName?: string
1554
3252
 
1555
3253
  /**
1556
- * Maximum number of lines to export. Defaults to 100000 if omitted
1557
- * @type {number}
1558
- * @memberof ClusterLogApiExportClusterLogs
3254
+ *
3255
+ * @type {string}
3256
+ * @memberof ClusterLogApiQueryPodLogs
1559
3257
  */
1560
- readonly maxLines?: number
3258
+ readonly filename?: string
3259
+
3260
+ /**
3261
+ *
3262
+ * @type {string}
3263
+ * @memberof ClusterLogApiQueryPodLogs
3264
+ */
3265
+ readonly limit?: string
3266
+
3267
+ /**
3268
+ *
3269
+ * @type {SortType}
3270
+ * @memberof ClusterLogApiQueryPodLogs
3271
+ */
3272
+ readonly sortType?: SortType
1561
3273
  }
1562
3274
 
1563
3275
  /**
1564
- * Request parameters for getSlowLogStats operation in ClusterLogApi.
3276
+ * Request parameters for queryRunningLogs operation in ClusterLogApi.
1565
3277
  * @export
1566
- * @interface ClusterLogApiGetSlowLogStatsRequest
3278
+ * @interface ClusterLogApiQueryRunningLogsRequest
1567
3279
  */
1568
- export interface ClusterLogApiGetSlowLogStatsRequest {
3280
+ export interface ClusterLogApiQueryRunningLogsRequest {
1569
3281
  /**
1570
3282
  *
1571
3283
  * @type {string}
1572
- * @memberof ClusterLogApiGetSlowLogStats
3284
+ * @memberof ClusterLogApiQueryRunningLogs
1573
3285
  */
1574
3286
  readonly orgName: string
1575
3287
 
1576
3288
  /**
1577
3289
  *
1578
3290
  * @type {string}
1579
- * @memberof ClusterLogApiGetSlowLogStats
3291
+ * @memberof ClusterLogApiQueryRunningLogs
1580
3292
  */
1581
3293
  readonly clusterName: string
1582
3294
 
1583
3295
  /**
1584
3296
  * Start time in epoch nanoseconds.
1585
3297
  * @type {string}
1586
- * @memberof ClusterLogApiGetSlowLogStats
3298
+ * @memberof ClusterLogApiQueryRunningLogs
1587
3299
  */
1588
3300
  readonly startTime: string
1589
3301
 
1590
3302
  /**
1591
3303
  * End time in epoch nanoseconds.
1592
3304
  * @type {string}
1593
- * @memberof ClusterLogApiGetSlowLogStats
3305
+ * @memberof ClusterLogApiQueryRunningLogs
1594
3306
  */
1595
3307
  readonly endTime: string
1596
3308
 
1597
3309
  /**
1598
3310
  *
1599
3311
  * @type {string}
1600
- * @memberof ClusterLogApiGetSlowLogStats
3312
+ * @memberof ClusterLogApiQueryRunningLogs
1601
3313
  */
1602
3314
  readonly componentName?: string
1603
3315
 
1604
3316
  /**
1605
3317
  *
1606
3318
  * @type {string}
1607
- * @memberof ClusterLogApiGetSlowLogStats
3319
+ * @memberof ClusterLogApiQueryRunningLogs
1608
3320
  */
1609
3321
  readonly instanceName?: string
3322
+
3323
+ /**
3324
+ *
3325
+ * @type {string}
3326
+ * @memberof ClusterLogApiQueryRunningLogs
3327
+ */
3328
+ readonly filename?: string
3329
+
3330
+ /**
3331
+ *
3332
+ * @type {string}
3333
+ * @memberof ClusterLogApiQueryRunningLogs
3334
+ */
3335
+ readonly limit?: string
3336
+
3337
+ /**
3338
+ *
3339
+ * @type {string}
3340
+ * @memberof ClusterLogApiQueryRunningLogs
3341
+ */
3342
+ readonly query?: string
3343
+
3344
+ /**
3345
+ *
3346
+ * @type {SortType}
3347
+ * @memberof ClusterLogApiQueryRunningLogs
3348
+ */
3349
+ readonly sortType?: SortType
1610
3350
  }
1611
3351
 
1612
3352
  /**
1613
- * Request parameters for queryAuditLogs operation in ClusterLogApi.
3353
+ * Request parameters for querySlowLogTemplateSamples operation in ClusterLogApi.
1614
3354
  * @export
1615
- * @interface ClusterLogApiQueryAuditLogsRequest
3355
+ * @interface ClusterLogApiQuerySlowLogTemplateSamplesRequest
1616
3356
  */
1617
- export interface ClusterLogApiQueryAuditLogsRequest {
3357
+ export interface ClusterLogApiQuerySlowLogTemplateSamplesRequest {
1618
3358
  /**
1619
3359
  *
1620
3360
  * @type {string}
1621
- * @memberof ClusterLogApiQueryAuditLogs
3361
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1622
3362
  */
1623
3363
  readonly orgName: string
1624
3364
 
1625
3365
  /**
1626
3366
  *
1627
3367
  * @type {string}
1628
- * @memberof ClusterLogApiQueryAuditLogs
3368
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1629
3369
  */
1630
3370
  readonly clusterName: string
1631
3371
 
3372
+ /**
3373
+ *
3374
+ * @type {string}
3375
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
3376
+ */
3377
+ readonly templateId: string
3378
+
1632
3379
  /**
1633
3380
  * Start time in epoch nanoseconds.
1634
3381
  * @type {string}
1635
- * @memberof ClusterLogApiQueryAuditLogs
3382
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1636
3383
  */
1637
3384
  readonly startTime: string
1638
3385
 
1639
3386
  /**
1640
3387
  * End time in epoch nanoseconds.
1641
3388
  * @type {string}
1642
- * @memberof ClusterLogApiQueryAuditLogs
3389
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1643
3390
  */
1644
3391
  readonly endTime: string
1645
3392
 
1646
3393
  /**
1647
3394
  *
1648
3395
  * @type {string}
1649
- * @memberof ClusterLogApiQueryAuditLogs
3396
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1650
3397
  */
1651
- readonly limit?: string
3398
+ readonly componentName?: string
1652
3399
 
1653
3400
  /**
1654
3401
  *
1655
3402
  * @type {string}
1656
- * @memberof ClusterLogApiQueryAuditLogs
3403
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1657
3404
  */
1658
- readonly componentName?: string
3405
+ readonly instanceName?: string
1659
3406
 
1660
3407
  /**
1661
3408
  *
1662
3409
  * @type {string}
1663
- * @memberof ClusterLogApiQueryAuditLogs
3410
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1664
3411
  */
1665
- readonly instanceName?: string
3412
+ readonly query?: string
3413
+
3414
+ /**
3415
+ *
3416
+ * @type {string}
3417
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
3418
+ */
3419
+ readonly limit?: string
1666
3420
 
1667
3421
  /**
1668
3422
  *
1669
3423
  * @type {SortType}
1670
- * @memberof ClusterLogApiQueryAuditLogs
3424
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1671
3425
  */
1672
3426
  readonly sortType?: SortType
1673
3427
  }
1674
3428
 
1675
3429
  /**
1676
- * Request parameters for queryErrorLogs operation in ClusterLogApi.
3430
+ * Request parameters for querySlowLogTemplates operation in ClusterLogApi.
1677
3431
  * @export
1678
- * @interface ClusterLogApiQueryErrorLogsRequest
3432
+ * @interface ClusterLogApiQuerySlowLogTemplatesRequest
1679
3433
  */
1680
- export interface ClusterLogApiQueryErrorLogsRequest {
3434
+ export interface ClusterLogApiQuerySlowLogTemplatesRequest {
1681
3435
  /**
1682
3436
  *
1683
3437
  * @type {string}
1684
- * @memberof ClusterLogApiQueryErrorLogs
3438
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1685
3439
  */
1686
3440
  readonly orgName: string
1687
3441
 
1688
3442
  /**
1689
3443
  *
1690
3444
  * @type {string}
1691
- * @memberof ClusterLogApiQueryErrorLogs
3445
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1692
3446
  */
1693
3447
  readonly clusterName: string
1694
3448
 
1695
3449
  /**
1696
3450
  * Start time in epoch nanoseconds.
1697
3451
  * @type {string}
1698
- * @memberof ClusterLogApiQueryErrorLogs
3452
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1699
3453
  */
1700
3454
  readonly startTime: string
1701
3455
 
1702
3456
  /**
1703
3457
  * End time in epoch nanoseconds.
1704
3458
  * @type {string}
1705
- * @memberof ClusterLogApiQueryErrorLogs
3459
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1706
3460
  */
1707
3461
  readonly endTime: string
1708
3462
 
1709
3463
  /**
1710
3464
  *
1711
3465
  * @type {string}
1712
- * @memberof ClusterLogApiQueryErrorLogs
3466
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1713
3467
  */
1714
3468
  readonly componentName?: string
1715
3469
 
1716
3470
  /**
1717
3471
  *
1718
3472
  * @type {string}
1719
- * @memberof ClusterLogApiQueryErrorLogs
3473
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1720
3474
  */
1721
3475
  readonly instanceName?: string
1722
3476
 
1723
3477
  /**
1724
3478
  *
1725
3479
  * @type {string}
1726
- * @memberof ClusterLogApiQueryErrorLogs
3480
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1727
3481
  */
1728
- readonly filename?: string
3482
+ readonly query?: string
1729
3483
 
1730
3484
  /**
1731
3485
  *
1732
- * @type {string}
1733
- * @memberof ClusterLogApiQueryErrorLogs
3486
+ * @type {number}
3487
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1734
3488
  */
1735
- readonly query?: string
3489
+ readonly topN?: number
1736
3490
 
1737
3491
  /**
1738
- *
3492
+ * Sort templates by count or avgExecutionTime.
1739
3493
  * @type {string}
1740
- * @memberof ClusterLogApiQueryErrorLogs
3494
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1741
3495
  */
1742
- readonly limit?: string
3496
+ readonly sortBy?: string
1743
3497
 
1744
3498
  /**
1745
3499
  *
1746
3500
  * @type {SortType}
1747
- * @memberof ClusterLogApiQueryErrorLogs
3501
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1748
3502
  */
1749
3503
  readonly sortType?: SortType
1750
- }
1751
3504
 
1752
- /**
1753
- * Request parameters for queryLogHits operation in ClusterLogApi.
1754
- * @export
1755
- * @interface ClusterLogApiQueryLogHitsRequest
1756
- */
1757
- export interface ClusterLogApiQueryLogHitsRequest {
3505
+ /**
3506
+ * Minimum execution time in seconds. Decimal values are supported, for example 0.5.
3507
+ * @type {number}
3508
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3509
+ */
3510
+ readonly minExecutionTime?: number
3511
+
3512
+ /**
3513
+ * Maximum execution time in seconds. Decimal values are supported, for example 0.5.
3514
+ * @type {number}
3515
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3516
+ */
3517
+ readonly maxExecutionTime?: number
3518
+
3519
+ /**
3520
+ * Minimum lock time in seconds. Decimal values are supported, for example 0.001.
3521
+ * @type {number}
3522
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3523
+ */
3524
+ readonly minLockTime?: number
3525
+
3526
+ /**
3527
+ * Maximum lock time in seconds. Decimal values are supported, for example 0.001.
3528
+ * @type {number}
3529
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3530
+ */
3531
+ readonly maxLockTime?: number
3532
+
3533
+ /**
3534
+ *
3535
+ * @type {number}
3536
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3537
+ */
3538
+ readonly minRowsExamined?: number
3539
+
3540
+ /**
3541
+ *
3542
+ * @type {number}
3543
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3544
+ */
3545
+ readonly maxRowsExamined?: number
3546
+
3547
+ /**
3548
+ *
3549
+ * @type {number}
3550
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3551
+ */
3552
+ readonly minRowsSent?: number
3553
+
3554
+ /**
3555
+ *
3556
+ * @type {number}
3557
+ * @memberof ClusterLogApiQuerySlowLogTemplates
3558
+ */
3559
+ readonly maxRowsSent?: number
3560
+
1758
3561
  /**
1759
3562
  *
1760
3563
  * @type {string}
1761
- * @memberof ClusterLogApiQueryLogHits
3564
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1762
3565
  */
1763
- readonly orgName: string
3566
+ readonly dbName?: string
1764
3567
 
1765
3568
  /**
1766
3569
  *
1767
3570
  * @type {string}
1768
- * @memberof ClusterLogApiQueryLogHits
3571
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1769
3572
  */
1770
- readonly clusterName: string
3573
+ readonly dbNameContains?: string
1771
3574
 
1772
3575
  /**
1773
- * Start time in epoch nanoseconds.
3576
+ *
1774
3577
  * @type {string}
1775
- * @memberof ClusterLogApiQueryLogHits
3578
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1776
3579
  */
1777
- readonly startTime: string
3580
+ readonly userName?: string
1778
3581
 
1779
3582
  /**
1780
- * End time in epoch nanoseconds.
3583
+ *
1781
3584
  * @type {string}
1782
- * @memberof ClusterLogApiQueryLogHits
3585
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1783
3586
  */
1784
- readonly endTime: string
3587
+ readonly userNameContains?: string
1785
3588
 
1786
3589
  /**
1787
- * Time bucket size, e.g. 5s, 30s, 1m, 5m, 30m, 1h
3590
+ *
1788
3591
  * @type {string}
1789
- * @memberof ClusterLogApiQueryLogHits
3592
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1790
3593
  */
1791
- readonly step: string
3594
+ readonly clientIp?: string
1792
3595
 
1793
3596
  /**
1794
- * Log type: runninglog, errorlog, slow, auditlog
3597
+ *
1795
3598
  * @type {string}
1796
- * @memberof ClusterLogApiQueryLogHits
3599
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1797
3600
  */
1798
- readonly logType: string
3601
+ readonly clientIpContains?: string
1799
3602
 
1800
3603
  /**
1801
3604
  *
1802
3605
  * @type {string}
1803
- * @memberof ClusterLogApiQueryLogHits
3606
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1804
3607
  */
1805
- readonly componentName?: string
3608
+ readonly clientIpCIDR?: string
1806
3609
 
1807
3610
  /**
1808
3611
  *
1809
3612
  * @type {string}
1810
- * @memberof ClusterLogApiQueryLogHits
3613
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1811
3614
  */
1812
- readonly instanceName?: string
3615
+ readonly appName?: string
1813
3616
 
1814
3617
  /**
1815
3618
  *
1816
3619
  * @type {string}
1817
- * @memberof ClusterLogApiQueryLogHits
3620
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1818
3621
  */
1819
- readonly query?: string
3622
+ readonly appNameContains?: string
1820
3623
  }
1821
3624
 
1822
3625
  /**
1823
- * Request parameters for queryPodLogs operation in ClusterLogApi.
3626
+ * Request parameters for querySlowLogs operation in ClusterLogApi.
1824
3627
  * @export
1825
- * @interface ClusterLogApiQueryPodLogsRequest
3628
+ * @interface ClusterLogApiQuerySlowLogsRequest
1826
3629
  */
1827
- export interface ClusterLogApiQueryPodLogsRequest {
3630
+ export interface ClusterLogApiQuerySlowLogsRequest {
1828
3631
  /**
1829
3632
  *
1830
3633
  * @type {string}
1831
- * @memberof ClusterLogApiQueryPodLogs
3634
+ * @memberof ClusterLogApiQuerySlowLogs
1832
3635
  */
1833
3636
  readonly orgName: string
1834
3637
 
1835
3638
  /**
1836
3639
  *
1837
3640
  * @type {string}
1838
- * @memberof ClusterLogApiQueryPodLogs
3641
+ * @memberof ClusterLogApiQuerySlowLogs
1839
3642
  */
1840
3643
  readonly clusterName: string
1841
3644
 
1842
3645
  /**
1843
3646
  * Start time in epoch nanoseconds.
1844
3647
  * @type {string}
1845
- * @memberof ClusterLogApiQueryPodLogs
3648
+ * @memberof ClusterLogApiQuerySlowLogs
1846
3649
  */
1847
3650
  readonly startTime: string
1848
3651
 
1849
3652
  /**
1850
3653
  * End time in epoch nanoseconds.
1851
3654
  * @type {string}
1852
- * @memberof ClusterLogApiQueryPodLogs
3655
+ * @memberof ClusterLogApiQuerySlowLogs
1853
3656
  */
1854
3657
  readonly endTime: string
1855
3658
 
1856
3659
  /**
1857
3660
  *
1858
3661
  * @type {string}
1859
- * @memberof ClusterLogApiQueryPodLogs
3662
+ * @memberof ClusterLogApiQuerySlowLogs
1860
3663
  */
1861
3664
  readonly componentName?: string
1862
3665
 
1863
3666
  /**
1864
3667
  *
1865
3668
  * @type {string}
1866
- * @memberof ClusterLogApiQueryPodLogs
3669
+ * @memberof ClusterLogApiQuerySlowLogs
1867
3670
  */
1868
3671
  readonly instanceName?: string
1869
3672
 
1870
3673
  /**
1871
3674
  *
1872
3675
  * @type {string}
1873
- * @memberof ClusterLogApiQueryPodLogs
3676
+ * @memberof ClusterLogApiQuerySlowLogs
1874
3677
  */
1875
- readonly filename?: string
3678
+ readonly query?: string
1876
3679
 
1877
3680
  /**
1878
3681
  *
1879
3682
  * @type {string}
1880
- * @memberof ClusterLogApiQueryPodLogs
3683
+ * @memberof ClusterLogApiQuerySlowLogs
1881
3684
  */
1882
3685
  readonly limit?: string
1883
3686
 
1884
3687
  /**
1885
3688
  *
1886
3689
  * @type {SortType}
1887
- * @memberof ClusterLogApiQueryPodLogs
3690
+ * @memberof ClusterLogApiQuerySlowLogs
1888
3691
  */
1889
3692
  readonly sortType?: SortType
1890
- }
1891
3693
 
1892
- /**
1893
- * Request parameters for queryRunningLogs operation in ClusterLogApi.
1894
- * @export
1895
- * @interface ClusterLogApiQueryRunningLogsRequest
1896
- */
1897
- export interface ClusterLogApiQueryRunningLogsRequest {
1898
3694
  /**
1899
- *
1900
- * @type {string}
1901
- * @memberof ClusterLogApiQueryRunningLogs
3695
+ * Minimum execution time in seconds. Decimal values are supported, for example 0.5.
3696
+ * @type {number}
3697
+ * @memberof ClusterLogApiQuerySlowLogs
1902
3698
  */
1903
- readonly orgName: string
3699
+ readonly minExecutionTime?: number
1904
3700
 
1905
3701
  /**
1906
- *
1907
- * @type {string}
1908
- * @memberof ClusterLogApiQueryRunningLogs
3702
+ * Maximum execution time in seconds. Decimal values are supported, for example 0.5.
3703
+ * @type {number}
3704
+ * @memberof ClusterLogApiQuerySlowLogs
1909
3705
  */
1910
- readonly clusterName: string
3706
+ readonly maxExecutionTime?: number
1911
3707
 
1912
3708
  /**
1913
- * Start time in epoch nanoseconds.
1914
- * @type {string}
1915
- * @memberof ClusterLogApiQueryRunningLogs
3709
+ * Minimum lock time in seconds. Decimal values are supported, for example 0.001.
3710
+ * @type {number}
3711
+ * @memberof ClusterLogApiQuerySlowLogs
1916
3712
  */
1917
- readonly startTime: string
3713
+ readonly minLockTime?: number
1918
3714
 
1919
3715
  /**
1920
- * End time in epoch nanoseconds.
1921
- * @type {string}
1922
- * @memberof ClusterLogApiQueryRunningLogs
3716
+ * Maximum lock time in seconds. Decimal values are supported, for example 0.001.
3717
+ * @type {number}
3718
+ * @memberof ClusterLogApiQuerySlowLogs
1923
3719
  */
1924
- readonly endTime: string
3720
+ readonly maxLockTime?: number
1925
3721
 
1926
3722
  /**
1927
3723
  *
1928
- * @type {string}
1929
- * @memberof ClusterLogApiQueryRunningLogs
3724
+ * @type {number}
3725
+ * @memberof ClusterLogApiQuerySlowLogs
1930
3726
  */
1931
- readonly componentName?: string
3727
+ readonly minRowsExamined?: number
1932
3728
 
1933
3729
  /**
1934
3730
  *
1935
- * @type {string}
1936
- * @memberof ClusterLogApiQueryRunningLogs
3731
+ * @type {number}
3732
+ * @memberof ClusterLogApiQuerySlowLogs
1937
3733
  */
1938
- readonly instanceName?: string
3734
+ readonly maxRowsExamined?: number
1939
3735
 
1940
3736
  /**
1941
3737
  *
1942
- * @type {string}
1943
- * @memberof ClusterLogApiQueryRunningLogs
3738
+ * @type {number}
3739
+ * @memberof ClusterLogApiQuerySlowLogs
1944
3740
  */
1945
- readonly filename?: string
3741
+ readonly minRowsSent?: number
1946
3742
 
1947
3743
  /**
1948
3744
  *
1949
- * @type {string}
1950
- * @memberof ClusterLogApiQueryRunningLogs
3745
+ * @type {number}
3746
+ * @memberof ClusterLogApiQuerySlowLogs
1951
3747
  */
1952
- readonly limit?: string
3748
+ readonly maxRowsSent?: number
1953
3749
 
1954
3750
  /**
1955
3751
  *
1956
3752
  * @type {string}
1957
- * @memberof ClusterLogApiQueryRunningLogs
3753
+ * @memberof ClusterLogApiQuerySlowLogs
1958
3754
  */
1959
- readonly query?: string
3755
+ readonly dbName?: string
1960
3756
 
1961
3757
  /**
1962
3758
  *
1963
- * @type {SortType}
1964
- * @memberof ClusterLogApiQueryRunningLogs
3759
+ * @type {string}
3760
+ * @memberof ClusterLogApiQuerySlowLogs
1965
3761
  */
1966
- readonly sortType?: SortType
1967
- }
3762
+ readonly dbNameContains?: string
1968
3763
 
1969
- /**
1970
- * Request parameters for querySlowLogs operation in ClusterLogApi.
1971
- * @export
1972
- * @interface ClusterLogApiQuerySlowLogsRequest
1973
- */
1974
- export interface ClusterLogApiQuerySlowLogsRequest {
1975
3764
  /**
1976
3765
  *
1977
3766
  * @type {string}
1978
3767
  * @memberof ClusterLogApiQuerySlowLogs
1979
3768
  */
1980
- readonly orgName: string
3769
+ readonly userName?: string
1981
3770
 
1982
3771
  /**
1983
3772
  *
1984
3773
  * @type {string}
1985
3774
  * @memberof ClusterLogApiQuerySlowLogs
1986
3775
  */
1987
- readonly clusterName: string
3776
+ readonly userNameContains?: string
1988
3777
 
1989
3778
  /**
1990
- * Start time in epoch nanoseconds.
3779
+ *
1991
3780
  * @type {string}
1992
3781
  * @memberof ClusterLogApiQuerySlowLogs
1993
3782
  */
1994
- readonly startTime: string
3783
+ readonly clientIp?: string
1995
3784
 
1996
3785
  /**
1997
- * End time in epoch nanoseconds.
3786
+ *
1998
3787
  * @type {string}
1999
3788
  * @memberof ClusterLogApiQuerySlowLogs
2000
3789
  */
2001
- readonly endTime: string
3790
+ readonly clientIpContains?: string
2002
3791
 
2003
3792
  /**
2004
3793
  *
2005
3794
  * @type {string}
2006
3795
  * @memberof ClusterLogApiQuerySlowLogs
2007
3796
  */
2008
- readonly componentName?: string
3797
+ readonly clientIpCIDR?: string
2009
3798
 
2010
3799
  /**
2011
3800
  *
2012
3801
  * @type {string}
2013
3802
  * @memberof ClusterLogApiQuerySlowLogs
2014
3803
  */
2015
- readonly instanceName?: string
3804
+ readonly appName?: string
2016
3805
 
2017
3806
  /**
2018
3807
  *
2019
3808
  * @type {string}
2020
3809
  * @memberof ClusterLogApiQuerySlowLogs
2021
3810
  */
2022
- readonly query?: string
3811
+ readonly appNameContains?: string
2023
3812
 
2024
3813
  /**
2025
3814
  *
2026
3815
  * @type {string}
2027
3816
  * @memberof ClusterLogApiQuerySlowLogs
2028
3817
  */
2029
- readonly limit?: string
3818
+ readonly templateId?: string
2030
3819
 
2031
3820
  /**
2032
3821
  *
2033
- * @type {SortType}
3822
+ * @type {boolean}
2034
3823
  * @memberof ClusterLogApiQuerySlowLogs
2035
3824
  */
2036
- readonly sortType?: SortType
3825
+ readonly unclassifiedOnly?: boolean
2037
3826
  }
2038
3827
 
2039
3828
  /**
@@ -2067,6 +3856,30 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
2067
3856
  return ClusterLogApiFp(this.configuration).aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(this.axios, this.basePath));
2068
3857
  }
2069
3858
 
3859
+ /**
3860
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
3861
+ * @summary Explain cluster slow log SQL
3862
+ * @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
3863
+ * @param {*} [options] Override http request option.
3864
+ * @throws {RequiredError}
3865
+ * @memberof ClusterLogApi
3866
+ */
3867
+ public explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig) {
3868
+ return ClusterLogApiFp(this.configuration).explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(this.axios, this.basePath));
3869
+ }
3870
+
3871
+ /**
3872
+ * Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and PostgreSQL SELECT samples are supported.
3873
+ * @summary Explain cluster slow log template
3874
+ * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
3875
+ * @param {*} [options] Override http request option.
3876
+ * @throws {RequiredError}
3877
+ * @memberof ClusterLogApi
3878
+ */
3879
+ public explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
3880
+ return ClusterLogApiFp(this.configuration).explainSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
3881
+ }
3882
+
2070
3883
  /**
2071
3884
  * Export cluster logs and return as a file download
2072
3885
  * @summary Export cluster logs
@@ -2088,7 +3901,19 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
2088
3901
  * @memberof ClusterLogApi
2089
3902
  */
2090
3903
  public getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig) {
2091
- return ClusterLogApiFp(this.configuration).getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, options).then((request) => request(this.axios, this.basePath));
3904
+ return ClusterLogApiFp(this.configuration).getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
3905
+ }
3906
+
3907
+ /**
3908
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
3909
+ * @summary Get cluster slow log template
3910
+ * @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
3911
+ * @param {*} [options] Override http request option.
3912
+ * @throws {RequiredError}
3913
+ * @memberof ClusterLogApi
3914
+ */
3915
+ public getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
3916
+ return ClusterLogApiFp(this.configuration).getSlowLogTemplate(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
2092
3917
  }
2093
3918
 
2094
3919
  /**
@@ -2124,7 +3949,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
2124
3949
  * @memberof ClusterLogApi
2125
3950
  */
2126
3951
  public queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
2127
- return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, options).then((request) => request(this.axios, this.basePath));
3952
+ return ClusterLogApiFp(this.configuration).queryLogHits(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.step, requestParameters.logType, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.userName, requestParameters.clientIp, requestParameters.appName, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
2128
3953
  }
2129
3954
 
2130
3955
  /**
@@ -2151,6 +3976,30 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
2151
3976
  return ClusterLogApiFp(this.configuration).queryRunningLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.filename, requestParameters.limit, requestParameters.query, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
2152
3977
  }
2153
3978
 
3979
+ /**
3980
+ * Query slow log samples for a template
3981
+ * @summary Query cluster slow log template samples
3982
+ * @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
3983
+ * @param {*} [options] Override http request option.
3984
+ * @throws {RequiredError}
3985
+ * @memberof ClusterLogApi
3986
+ */
3987
+ public querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig) {
3988
+ return ClusterLogApiFp(this.configuration).querySlowLogTemplateSamples(requestParameters.orgName, requestParameters.clusterName, requestParameters.templateId, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
3989
+ }
3990
+
3991
+ /**
3992
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
3993
+ * @summary Query cluster slow log templates
3994
+ * @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
3995
+ * @param {*} [options] Override http request option.
3996
+ * @throws {RequiredError}
3997
+ * @memberof ClusterLogApi
3998
+ */
3999
+ public querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig) {
4000
+ return ClusterLogApiFp(this.configuration).querySlowLogTemplates(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.topN, requestParameters.sortBy, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, options).then((request) => request(this.axios, this.basePath));
4001
+ }
4002
+
2154
4003
  /**
2155
4004
  * Query slow logs of a cluster
2156
4005
  * @summary Query cluster slow logs
@@ -2160,7 +4009,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
2160
4009
  * @memberof ClusterLogApi
2161
4010
  */
2162
4011
  public querySlowLogs(requestParameters: ClusterLogApiQuerySlowLogsRequest, options?: RawAxiosRequestConfig) {
2163
- return ClusterLogApiFp(this.configuration).querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, options).then((request) => request(this.axios, this.basePath));
4012
+ return ClusterLogApiFp(this.configuration).querySlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
2164
4013
  }
2165
4014
  }
2166
4015