kb-cloud-client-typescript 2.2.30 → 2.3.0-alpha.101

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 (1053) 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/tde-option.d.ts +32 -0
  353. package/dist/adminapi/models/tde-option.d.ts.map +1 -0
  354. package/dist/adminapi/models/tde-option.js +16 -0
  355. package/dist/adminapi/models/tde-option.js.map +1 -0
  356. package/dist/adminapi/models/tde-parameter-option.d.ts +49 -0
  357. package/dist/adminapi/models/tde-parameter-option.d.ts.map +1 -0
  358. package/dist/adminapi/models/tde-parameter-option.js +16 -0
  359. package/dist/adminapi/models/tde-parameter-option.js.map +1 -0
  360. package/dist/adminapi/models/tde-request.d.ts +31 -0
  361. package/dist/adminapi/models/tde-request.d.ts.map +1 -0
  362. package/dist/adminapi/models/tde-request.js +16 -0
  363. package/dist/adminapi/models/tde-request.js.map +1 -0
  364. package/dist/adminapi/models/tde-response.d.ts +31 -0
  365. package/dist/adminapi/models/tde-response.d.ts.map +1 -0
  366. package/dist/adminapi/models/tde-response.js +16 -0
  367. package/dist/adminapi/models/tde-response.js.map +1 -0
  368. package/dist/adminapi/models/tde-status.d.ts +33 -0
  369. package/dist/adminapi/models/tde-status.d.ts.map +1 -0
  370. package/dist/adminapi/models/tde-status.js +16 -0
  371. package/dist/adminapi/models/tde-status.js.map +1 -0
  372. package/dist/openapi/api.d.ts +1 -0
  373. package/dist/openapi/api.d.ts.map +1 -1
  374. package/dist/openapi/api.js +1 -0
  375. package/dist/openapi/api.js.map +1 -1
  376. package/dist/openapi/apis/aiagent-api.d.ts +1143 -0
  377. package/dist/openapi/apis/aiagent-api.d.ts.map +1 -0
  378. package/dist/openapi/apis/aiagent-api.js +1214 -0
  379. package/dist/openapi/apis/aiagent-api.js.map +1 -0
  380. package/dist/openapi/apis/benchmark-api.d.ts +64 -0
  381. package/dist/openapi/apis/benchmark-api.d.ts.map +1 -1
  382. package/dist/openapi/apis/benchmark-api.js +72 -0
  383. package/dist/openapi/apis/benchmark-api.js.map +1 -1
  384. package/dist/openapi/apis/cluster-api.d.ts +163 -2
  385. package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
  386. package/dist/openapi/apis/cluster-api.js +170 -5
  387. package/dist/openapi/apis/cluster-api.js.map +1 -1
  388. package/dist/openapi/apis/cluster-log-api.d.ts +1146 -35
  389. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  390. package/dist/openapi/apis/cluster-log-api.js +882 -15
  391. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  392. package/dist/openapi/apis/data-replication-api.d.ts +440 -0
  393. package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
  394. package/dist/openapi/apis/data-replication-api.js +464 -0
  395. package/dist/openapi/apis/data-replication-api.js.map +1 -1
  396. package/dist/openapi/apis/dms-api.d.ts +2868 -458
  397. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  398. package/dist/openapi/apis/dms-api.js +2673 -321
  399. package/dist/openapi/apis/dms-api.js.map +1 -1
  400. package/dist/openapi/apis/engine-api.d.ts +72 -0
  401. package/dist/openapi/apis/engine-api.d.ts.map +1 -1
  402. package/dist/openapi/apis/engine-api.js +80 -0
  403. package/dist/openapi/apis/engine-api.js.map +1 -1
  404. package/dist/openapi/apis/parameter-template-api.d.ts +80 -0
  405. package/dist/openapi/apis/parameter-template-api.d.ts.map +1 -1
  406. package/dist/openapi/apis/parameter-template-api.js +81 -0
  407. package/dist/openapi/apis/parameter-template-api.js.map +1 -1
  408. package/dist/openapi/apis/shared-api.d.ts +1570 -188
  409. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  410. package/dist/openapi/apis/shared-api.js +1195 -62
  411. package/dist/openapi/apis/shared-api.js.map +1 -1
  412. package/dist/openapi/models/ai-agent-conversation-list.d.ts +26 -0
  413. package/dist/openapi/models/ai-agent-conversation-list.d.ts.map +1 -0
  414. package/dist/openapi/models/ai-agent-conversation-list.js +16 -0
  415. package/dist/openapi/models/ai-agent-conversation-list.js.map +1 -0
  416. package/dist/openapi/models/ai-agent-conversation-status.d.ts +25 -0
  417. package/dist/openapi/models/ai-agent-conversation-status.d.ts.map +1 -0
  418. package/dist/openapi/models/ai-agent-conversation-status.js +29 -0
  419. package/dist/openapi/models/ai-agent-conversation-status.js.map +1 -0
  420. package/dist/openapi/models/ai-agent-conversation.d.ts +76 -0
  421. package/dist/openapi/models/ai-agent-conversation.d.ts.map +1 -0
  422. package/dist/openapi/models/ai-agent-conversation.js +16 -0
  423. package/dist/openapi/models/ai-agent-conversation.js.map +1 -0
  424. package/dist/openapi/models/ai-agent-create-conversation-request.d.ts +37 -0
  425. package/dist/openapi/models/ai-agent-create-conversation-request.d.ts.map +1 -0
  426. package/dist/openapi/models/ai-agent-create-conversation-request.js +16 -0
  427. package/dist/openapi/models/ai-agent-create-conversation-request.js.map +1 -0
  428. package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
  429. package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
  430. package/dist/openapi/models/ai-agent-delete-conversation-response.js +16 -0
  431. package/dist/openapi/models/ai-agent-delete-conversation-response.js.map +1 -0
  432. package/dist/openapi/models/ai-agent-event-type.d.ts +35 -0
  433. package/dist/openapi/models/ai-agent-event-type.d.ts.map +1 -0
  434. package/dist/openapi/models/ai-agent-event-type.js +39 -0
  435. package/dist/openapi/models/ai-agent-event-type.js.map +1 -0
  436. package/dist/openapi/models/ai-agent-event.d.ts +70 -0
  437. package/dist/openapi/models/ai-agent-event.d.ts.map +1 -0
  438. package/dist/openapi/models/ai-agent-event.js +16 -0
  439. package/dist/openapi/models/ai-agent-event.js.map +1 -0
  440. package/dist/openapi/models/ai-agent-message-list.d.ts +26 -0
  441. package/dist/openapi/models/ai-agent-message-list.d.ts.map +1 -0
  442. package/dist/openapi/models/ai-agent-message-list.js +16 -0
  443. package/dist/openapi/models/ai-agent-message-list.js.map +1 -0
  444. package/dist/openapi/models/ai-agent-message-part-type.d.ts +24 -0
  445. package/dist/openapi/models/ai-agent-message-part-type.d.ts.map +1 -0
  446. package/dist/openapi/models/ai-agent-message-part-type.js +28 -0
  447. package/dist/openapi/models/ai-agent-message-part-type.js.map +1 -0
  448. package/dist/openapi/models/ai-agent-message-part.d.ts +46 -0
  449. package/dist/openapi/models/ai-agent-message-part.d.ts.map +1 -0
  450. package/dist/openapi/models/ai-agent-message-part.js +16 -0
  451. package/dist/openapi/models/ai-agent-message-part.js.map +1 -0
  452. package/dist/openapi/models/{pgbench-step.d.ts → ai-agent-message-role.d.ts} +7 -8
  453. package/dist/openapi/models/ai-agent-message-role.d.ts.map +1 -0
  454. package/dist/openapi/models/{pgbench-step.js → ai-agent-message-role.js} +7 -8
  455. package/dist/openapi/models/ai-agent-message-role.js.map +1 -0
  456. package/dist/openapi/models/ai-agent-message.d.ts +64 -0
  457. package/dist/openapi/models/ai-agent-message.d.ts.map +1 -0
  458. package/dist/openapi/models/ai-agent-message.js +16 -0
  459. package/dist/openapi/models/ai-agent-message.js.map +1 -0
  460. package/dist/openapi/models/ai-agent-object-ref.d.ts +31 -0
  461. package/dist/openapi/models/ai-agent-object-ref.d.ts.map +1 -0
  462. package/dist/openapi/models/ai-agent-object-ref.js +16 -0
  463. package/dist/openapi/models/ai-agent-object-ref.js.map +1 -0
  464. package/dist/openapi/models/ai-agent-runtime-status-code.d.ts +25 -0
  465. package/dist/openapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
  466. package/dist/openapi/models/ai-agent-runtime-status-code.js +29 -0
  467. package/dist/openapi/models/ai-agent-runtime-status-code.js.map +1 -0
  468. package/dist/openapi/models/ai-agent-runtime-status.d.ts +45 -0
  469. package/dist/openapi/models/ai-agent-runtime-status.d.ts.map +1 -0
  470. package/dist/openapi/models/ai-agent-runtime-status.js +16 -0
  471. package/dist/openapi/models/ai-agent-runtime-status.js.map +1 -0
  472. package/dist/openapi/models/ai-agent-scope.d.ts +44 -0
  473. package/dist/openapi/models/ai-agent-scope.d.ts.map +1 -0
  474. package/dist/openapi/models/ai-agent-scope.js +16 -0
  475. package/dist/openapi/models/ai-agent-scope.js.map +1 -0
  476. package/dist/openapi/models/ai-agent-send-message-request.d.ts +32 -0
  477. package/dist/openapi/models/ai-agent-send-message-request.d.ts.map +1 -0
  478. package/dist/openapi/models/ai-agent-send-message-request.js +16 -0
  479. package/dist/openapi/models/ai-agent-send-message-request.js.map +1 -0
  480. package/dist/openapi/models/ai-agent-send-message-response.d.ts +44 -0
  481. package/dist/openapi/models/ai-agent-send-message-response.d.ts.map +1 -0
  482. package/dist/openapi/models/ai-agent-send-message-response.js +16 -0
  483. package/dist/openapi/models/ai-agent-send-message-response.js.map +1 -0
  484. package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
  485. package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
  486. package/dist/openapi/models/ai-agent-stop-conversation-response.js +16 -0
  487. package/dist/openapi/models/ai-agent-stop-conversation-response.js.map +1 -0
  488. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts +25 -0
  489. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
  490. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js +16 -0
  491. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
  492. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
  493. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
  494. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js +16 -0
  495. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
  496. package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts +24 -0
  497. package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
  498. package/dist/openapi/models/ai-agent-tool-confirmation-status.js +28 -0
  499. package/dist/openapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
  500. package/dist/openapi/models/ai-agent-turn-action-list.d.ts +26 -0
  501. package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
  502. package/dist/openapi/models/ai-agent-turn-action-list.js +16 -0
  503. package/dist/openapi/models/ai-agent-turn-action-list.js.map +1 -0
  504. package/dist/openapi/models/ai-agent-turn-action.d.ts +106 -0
  505. package/dist/openapi/models/ai-agent-turn-action.d.ts.map +1 -0
  506. package/dist/openapi/models/ai-agent-turn-action.js +16 -0
  507. package/dist/openapi/models/ai-agent-turn-action.js.map +1 -0
  508. package/dist/openapi/models/ai-agent-turn-status.d.ts +25 -0
  509. package/dist/openapi/models/ai-agent-turn-status.d.ts.map +1 -0
  510. package/dist/openapi/models/ai-agent-turn-status.js +29 -0
  511. package/dist/openapi/models/ai-agent-turn-status.js.map +1 -0
  512. package/dist/openapi/models/bench-option.d.ts +6 -0
  513. package/dist/openapi/models/bench-option.d.ts.map +1 -1
  514. package/dist/openapi/models/{ycsb-step.d.ts → benchmark-step.d.ts} +3 -3
  515. package/dist/openapi/models/benchmark-step.d.ts.map +1 -0
  516. package/dist/openapi/models/{ycsb-step.js → benchmark-step.js} +3 -3
  517. package/dist/openapi/models/benchmark-step.js.map +1 -0
  518. package/dist/openapi/models/benchmark-type.d.ts +1 -0
  519. package/dist/openapi/models/benchmark-type.d.ts.map +1 -1
  520. package/dist/openapi/models/benchmark-type.js +2 -1
  521. package/dist/openapi/models/benchmark-type.js.map +1 -1
  522. package/dist/openapi/models/cluster-execution-log-item.d.ts +7 -0
  523. package/dist/openapi/models/cluster-execution-log-item.d.ts.map +1 -1
  524. package/dist/openapi/models/cluster-log-hits-item.d.ts +6 -0
  525. package/dist/openapi/models/cluster-log-hits-item.d.ts.map +1 -1
  526. package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts +31 -0
  527. package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts.map +1 -0
  528. package/dist/openapi/models/cluster-slow-log-database-distribution.js +16 -0
  529. package/dist/openapi/models/cluster-slow-log-database-distribution.js.map +1 -0
  530. package/dist/openapi/models/cluster-slow-log-detail.d.ts +55 -0
  531. package/dist/openapi/models/cluster-slow-log-detail.d.ts.map +1 -0
  532. package/dist/openapi/models/cluster-slow-log-detail.js +16 -0
  533. package/dist/openapi/models/cluster-slow-log-detail.js.map +1 -0
  534. package/dist/openapi/models/cluster-slow-log-explain-response.d.ts +75 -0
  535. package/dist/openapi/models/cluster-slow-log-explain-response.d.ts.map +1 -0
  536. package/dist/openapi/models/cluster-slow-log-explain-response.js +16 -0
  537. package/dist/openapi/models/cluster-slow-log-explain-response.js.map +1 -0
  538. package/dist/openapi/models/cluster-slow-log-stats.d.ts +7 -0
  539. package/dist/openapi/models/cluster-slow-log-stats.d.ts.map +1 -1
  540. package/dist/openapi/models/cluster-slow-log-template-list.d.ts +26 -0
  541. package/dist/openapi/models/cluster-slow-log-template-list.d.ts.map +1 -0
  542. package/dist/openapi/models/cluster-slow-log-template-list.js +16 -0
  543. package/dist/openapi/models/cluster-slow-log-template-list.js.map +1 -0
  544. package/dist/openapi/models/cluster-slow-log-template.d.ts +133 -0
  545. package/dist/openapi/models/cluster-slow-log-template.d.ts.map +1 -0
  546. package/dist/openapi/models/cluster-slow-log-template.js +16 -0
  547. package/dist/openapi/models/cluster-slow-log-template.js.map +1 -0
  548. package/dist/openapi/models/data-check-create.d.ts +64 -0
  549. package/dist/openapi/models/data-check-create.d.ts.map +1 -0
  550. package/dist/openapi/models/data-check-create.js +16 -0
  551. package/dist/openapi/models/data-check-create.js.map +1 -0
  552. package/dist/openapi/models/data-check-detail-item.d.ts +94 -0
  553. package/dist/openapi/models/data-check-detail-item.d.ts.map +1 -0
  554. package/dist/openapi/models/data-check-detail-item.js +16 -0
  555. package/dist/openapi/models/data-check-detail-item.js.map +1 -0
  556. package/dist/openapi/models/{tpcc-step.d.ts → data-check-detail-type.d.ts} +6 -8
  557. package/dist/openapi/models/data-check-detail-type.d.ts.map +1 -0
  558. package/dist/openapi/models/{tpcc-step.js → data-check-detail-type.js} +6 -8
  559. package/dist/openapi/models/data-check-detail-type.js.map +1 -0
  560. package/dist/openapi/models/data-check-details.d.ts +33 -0
  561. package/dist/openapi/models/data-check-details.d.ts.map +1 -0
  562. package/dist/openapi/models/data-check-details.js +16 -0
  563. package/dist/openapi/models/data-check-details.js.map +1 -0
  564. package/dist/openapi/models/data-check-diff-value.d.ts +43 -0
  565. package/dist/openapi/models/data-check-diff-value.d.ts.map +1 -0
  566. package/dist/openapi/models/data-check-diff-value.js +16 -0
  567. package/dist/openapi/models/data-check-diff-value.js.map +1 -0
  568. package/dist/openapi/models/data-check-item.d.ts +101 -0
  569. package/dist/openapi/models/data-check-item.d.ts.map +1 -0
  570. package/dist/openapi/models/data-check-item.js +16 -0
  571. package/dist/openapi/models/data-check-item.js.map +1 -0
  572. package/dist/openapi/models/data-check-list-item.d.ts +101 -0
  573. package/dist/openapi/models/data-check-list-item.d.ts.map +1 -0
  574. package/dist/openapi/models/data-check-list-item.js +16 -0
  575. package/dist/openapi/models/data-check-list-item.js.map +1 -0
  576. package/dist/openapi/models/data-check-list-summary.d.ts +49 -0
  577. package/dist/openapi/models/data-check-list-summary.d.ts.map +1 -0
  578. package/dist/openapi/models/data-check-list-summary.js +16 -0
  579. package/dist/openapi/models/data-check-list-summary.js.map +1 -0
  580. package/dist/openapi/models/data-check-response.d.ts +37 -0
  581. package/dist/openapi/models/data-check-response.d.ts.map +1 -0
  582. package/dist/openapi/models/data-check-response.js +16 -0
  583. package/dist/openapi/models/data-check-response.js.map +1 -0
  584. package/dist/openapi/models/data-check-status.d.ts +23 -0
  585. package/dist/openapi/models/data-check-status.d.ts.map +1 -0
  586. package/dist/openapi/models/{sysbench-step.js → data-check-status.js} +7 -8
  587. package/dist/openapi/models/data-check-status.js.map +1 -0
  588. package/dist/openapi/models/data-check-summary.d.ts +56 -0
  589. package/dist/openapi/models/data-check-summary.d.ts.map +1 -0
  590. package/dist/openapi/models/data-check-summary.js +16 -0
  591. package/dist/openapi/models/data-check-summary.js.map +1 -0
  592. package/dist/openapi/models/data-check-table-summary.d.ts +67 -0
  593. package/dist/openapi/models/data-check-table-summary.d.ts.map +1 -0
  594. package/dist/openapi/models/data-check-table-summary.js +16 -0
  595. package/dist/openapi/models/data-check-table-summary.js.map +1 -0
  596. package/dist/openapi/models/data-check-type.d.ts +22 -0
  597. package/dist/openapi/models/data-check-type.d.ts.map +1 -0
  598. package/dist/openapi/models/data-check-type.js +26 -0
  599. package/dist/openapi/models/data-check-type.js.map +1 -0
  600. package/dist/openapi/models/database-option.d.ts +6 -0
  601. package/dist/openapi/models/database-option.d.ts.map +1 -1
  602. package/dist/openapi/models/dms-option.d.ts +0 -6
  603. package/dist/openapi/models/dms-option.d.ts.map +1 -1
  604. package/dist/openapi/models/dms-query-history.d.ts +10 -4
  605. package/dist/openapi/models/dms-query-history.d.ts.map +1 -1
  606. package/dist/openapi/models/engine-network-mode-supported.d.ts +34 -0
  607. package/dist/openapi/models/engine-network-mode-supported.d.ts.map +1 -0
  608. package/dist/openapi/models/engine-network-mode-supported.js +16 -0
  609. package/dist/openapi/models/engine-network-mode-supported.js.map +1 -0
  610. package/dist/openapi/models/engine-option.d.ts +7 -0
  611. package/dist/openapi/models/engine-option.d.ts.map +1 -1
  612. package/dist/openapi/models/{inspection-supported-engines.d.ts → esrally-data-profile.d.ts} +15 -13
  613. package/dist/openapi/models/esrally-data-profile.d.ts.map +1 -0
  614. package/dist/openapi/models/{inspection-supported-engines.js → esrally-data-profile.js} +15 -13
  615. package/dist/openapi/models/esrally-data-profile.js.map +1 -0
  616. package/dist/openapi/models/esrally-on-error.d.ts +22 -0
  617. package/dist/openapi/models/esrally-on-error.d.ts.map +1 -0
  618. package/dist/openapi/models/esrally-on-error.js +26 -0
  619. package/dist/openapi/models/esrally-on-error.js.map +1 -0
  620. package/dist/openapi/models/esrally-telemetry.d.ts +31 -0
  621. package/dist/openapi/models/esrally-telemetry.d.ts.map +1 -0
  622. package/dist/openapi/models/esrally-telemetry.js +35 -0
  623. package/dist/openapi/models/esrally-telemetry.js.map +1 -0
  624. package/dist/openapi/models/{sysbench-step.d.ts → esrally-workload.d.ts} +7 -7
  625. package/dist/openapi/models/esrally-workload.d.ts.map +1 -0
  626. package/dist/openapi/models/esrally-workload.js +28 -0
  627. package/dist/openapi/models/esrally-workload.js.map +1 -0
  628. package/dist/openapi/models/esrally.d.ts +120 -0
  629. package/dist/openapi/models/esrally.d.ts.map +1 -0
  630. package/dist/openapi/models/esrally.js +16 -0
  631. package/dist/openapi/models/esrally.js.map +1 -0
  632. package/dist/openapi/models/index.d.ts +92 -5
  633. package/dist/openapi/models/index.d.ts.map +1 -1
  634. package/dist/openapi/models/index.js +92 -5
  635. package/dist/openapi/models/index.js.map +1 -1
  636. package/dist/openapi/models/inspection-task.d.ts +2 -3
  637. package/dist/openapi/models/inspection-task.d.ts.map +1 -1
  638. package/dist/openapi/models/llm.d.ts +1 -1
  639. package/dist/openapi/models/log-option.d.ts +6 -0
  640. package/dist/openapi/models/log-option.d.ts.map +1 -1
  641. package/dist/openapi/models/mongo-aggregate-request.d.ts +37 -0
  642. package/dist/openapi/models/mongo-aggregate-request.d.ts.map +1 -0
  643. package/dist/openapi/models/mongo-aggregate-request.js +16 -0
  644. package/dist/openapi/models/mongo-aggregate-request.js.map +1 -0
  645. package/dist/openapi/models/mongo-collection-capabilities.d.ts +49 -0
  646. package/dist/openapi/models/mongo-collection-capabilities.d.ts.map +1 -0
  647. package/dist/openapi/models/mongo-collection-capabilities.js +16 -0
  648. package/dist/openapi/models/mongo-collection-capabilities.js.map +1 -0
  649. package/dist/openapi/models/mongo-collection-info.d.ts +50 -0
  650. package/dist/openapi/models/mongo-collection-info.d.ts.map +1 -0
  651. package/dist/openapi/models/mongo-collection-info.js +16 -0
  652. package/dist/openapi/models/mongo-collection-info.js.map +1 -0
  653. package/dist/openapi/models/mongo-collection-stats.d.ts +62 -0
  654. package/dist/openapi/models/mongo-collection-stats.d.ts.map +1 -0
  655. package/dist/openapi/models/mongo-collection-stats.js +16 -0
  656. package/dist/openapi/models/mongo-collection-stats.js.map +1 -0
  657. package/dist/openapi/models/mongo-create-collection-options.d.ts +61 -0
  658. package/dist/openapi/models/mongo-create-collection-options.d.ts.map +1 -0
  659. package/dist/openapi/models/mongo-create-collection-options.js +16 -0
  660. package/dist/openapi/models/mongo-create-collection-options.js.map +1 -0
  661. package/dist/openapi/models/mongo-create-collection-request.d.ts +26 -0
  662. package/dist/openapi/models/mongo-create-collection-request.d.ts.map +1 -0
  663. package/dist/openapi/models/mongo-create-collection-request.js +16 -0
  664. package/dist/openapi/models/mongo-create-collection-request.js.map +1 -0
  665. package/dist/openapi/models/mongo-create-index-request.d.ts +32 -0
  666. package/dist/openapi/models/mongo-create-index-request.d.ts.map +1 -0
  667. package/dist/openapi/models/mongo-create-index-request.js +16 -0
  668. package/dist/openapi/models/mongo-create-index-request.js.map +1 -0
  669. package/dist/openapi/models/mongo-create-view-request.d.ts +43 -0
  670. package/dist/openapi/models/mongo-create-view-request.d.ts.map +1 -0
  671. package/dist/openapi/models/mongo-create-view-request.js +16 -0
  672. package/dist/openapi/models/mongo-create-view-request.js.map +1 -0
  673. package/dist/openapi/models/mongo-database-info.d.ts +49 -0
  674. package/dist/openapi/models/mongo-database-info.d.ts.map +1 -0
  675. package/dist/openapi/models/mongo-database-info.js +16 -0
  676. package/dist/openapi/models/mongo-database-info.js.map +1 -0
  677. package/dist/openapi/models/mongo-delete-request.d.ts +31 -0
  678. package/dist/openapi/models/mongo-delete-request.d.ts.map +1 -0
  679. package/dist/openapi/models/mongo-delete-request.js +16 -0
  680. package/dist/openapi/models/mongo-delete-request.js.map +1 -0
  681. package/dist/openapi/models/mongo-explain-request.d.ts +67 -0
  682. package/dist/openapi/models/mongo-explain-request.d.ts.map +1 -0
  683. package/dist/openapi/models/mongo-explain-request.js +16 -0
  684. package/dist/openapi/models/mongo-explain-request.js.map +1 -0
  685. package/dist/openapi/models/mongo-explain-response.d.ts +31 -0
  686. package/dist/openapi/models/mongo-explain-response.d.ts.map +1 -0
  687. package/dist/openapi/models/mongo-explain-response.js +16 -0
  688. package/dist/openapi/models/mongo-explain-response.js.map +1 -0
  689. package/dist/openapi/models/mongo-find-request.d.ts +61 -0
  690. package/dist/openapi/models/mongo-find-request.d.ts.map +1 -0
  691. package/dist/openapi/models/mongo-find-request.js +16 -0
  692. package/dist/openapi/models/mongo-find-request.js.map +1 -0
  693. package/dist/openapi/models/mongo-find-response.d.ts +43 -0
  694. package/dist/openapi/models/mongo-find-response.d.ts.map +1 -0
  695. package/dist/openapi/models/mongo-find-response.js +16 -0
  696. package/dist/openapi/models/mongo-find-response.js.map +1 -0
  697. package/dist/openapi/models/mongo-index-info.d.ts +67 -0
  698. package/dist/openapi/models/mongo-index-info.d.ts.map +1 -0
  699. package/dist/openapi/models/mongo-index-info.js +16 -0
  700. package/dist/openapi/models/mongo-index-info.js.map +1 -0
  701. package/dist/openapi/models/mongo-index-options.d.ts +37 -0
  702. package/dist/openapi/models/mongo-index-options.d.ts.map +1 -0
  703. package/dist/openapi/models/mongo-index-options.js +16 -0
  704. package/dist/openapi/models/mongo-index-options.js.map +1 -0
  705. package/dist/openapi/models/mongo-insert-request.d.ts +31 -0
  706. package/dist/openapi/models/mongo-insert-request.d.ts.map +1 -0
  707. package/dist/openapi/models/mongo-insert-request.js +16 -0
  708. package/dist/openapi/models/mongo-insert-request.js.map +1 -0
  709. package/dist/openapi/models/mongo-replace-request.d.ts +37 -0
  710. package/dist/openapi/models/mongo-replace-request.d.ts.map +1 -0
  711. package/dist/openapi/models/mongo-replace-request.js +16 -0
  712. package/dist/openapi/models/mongo-replace-request.js.map +1 -0
  713. package/dist/openapi/models/mongo-schema-analysis.d.ts +38 -0
  714. package/dist/openapi/models/mongo-schema-analysis.d.ts.map +1 -0
  715. package/dist/openapi/models/mongo-schema-analysis.js +16 -0
  716. package/dist/openapi/models/mongo-schema-analysis.js.map +1 -0
  717. package/dist/openapi/models/mongo-schema-field.d.ts +37 -0
  718. package/dist/openapi/models/mongo-schema-field.d.ts.map +1 -0
  719. package/dist/openapi/models/mongo-schema-field.js +16 -0
  720. package/dist/openapi/models/mongo-schema-field.js.map +1 -0
  721. package/dist/openapi/models/mongo-set-validation-request.d.ts +37 -0
  722. package/dist/openapi/models/mongo-set-validation-request.d.ts.map +1 -0
  723. package/dist/openapi/models/mongo-set-validation-request.js +16 -0
  724. package/dist/openapi/models/mongo-set-validation-request.js.map +1 -0
  725. package/dist/openapi/models/mongo-shell-completion-item.d.ts +25 -0
  726. package/dist/openapi/models/mongo-shell-completion-item.d.ts.map +1 -0
  727. package/dist/openapi/models/mongo-shell-completion-item.js +16 -0
  728. package/dist/openapi/models/mongo-shell-completion-item.js.map +1 -0
  729. package/dist/openapi/models/mongo-shell-completions-request.d.ts +25 -0
  730. package/dist/openapi/models/mongo-shell-completions-request.d.ts.map +1 -0
  731. package/dist/openapi/models/mongo-shell-completions-request.js +16 -0
  732. package/dist/openapi/models/mongo-shell-completions-request.js.map +1 -0
  733. package/dist/openapi/models/mongo-shell-completions-response.d.ts +26 -0
  734. package/dist/openapi/models/mongo-shell-completions-response.d.ts.map +1 -0
  735. package/dist/openapi/models/mongo-shell-completions-response.js +16 -0
  736. package/dist/openapi/models/mongo-shell-completions-response.js.map +1 -0
  737. package/dist/openapi/models/mongo-shell-create-session-request.d.ts +25 -0
  738. package/dist/openapi/models/mongo-shell-create-session-request.d.ts.map +1 -0
  739. package/dist/openapi/models/mongo-shell-create-session-request.js +16 -0
  740. package/dist/openapi/models/mongo-shell-create-session-request.js.map +1 -0
  741. package/dist/openapi/models/mongo-shell-evaluate-request.d.ts +37 -0
  742. package/dist/openapi/models/mongo-shell-evaluate-request.d.ts.map +1 -0
  743. package/dist/openapi/models/mongo-shell-evaluate-request.js +16 -0
  744. package/dist/openapi/models/mongo-shell-evaluate-request.js.map +1 -0
  745. package/dist/openapi/models/mongo-shell-evaluate-response.d.ts +44 -0
  746. package/dist/openapi/models/mongo-shell-evaluate-response.d.ts.map +1 -0
  747. package/dist/openapi/models/mongo-shell-evaluate-response.js +16 -0
  748. package/dist/openapi/models/mongo-shell-evaluate-response.js.map +1 -0
  749. package/dist/openapi/models/mongo-shell-interrupt-response.d.ts +25 -0
  750. package/dist/openapi/models/mongo-shell-interrupt-response.d.ts.map +1 -0
  751. package/dist/openapi/models/mongo-shell-interrupt-response.js +16 -0
  752. package/dist/openapi/models/mongo-shell-interrupt-response.js.map +1 -0
  753. package/dist/openapi/models/mongo-shell-prompt-response.d.ts +25 -0
  754. package/dist/openapi/models/mongo-shell-prompt-response.d.ts.map +1 -0
  755. package/dist/openapi/models/mongo-shell-prompt-response.js +16 -0
  756. package/dist/openapi/models/mongo-shell-prompt-response.js.map +1 -0
  757. package/dist/openapi/models/mongo-shell-result.d.ts +37 -0
  758. package/dist/openapi/models/mongo-shell-result.d.ts.map +1 -0
  759. package/dist/openapi/models/mongo-shell-result.js +16 -0
  760. package/dist/openapi/models/mongo-shell-result.js.map +1 -0
  761. package/dist/openapi/models/mongo-shell-session.d.ts +49 -0
  762. package/dist/openapi/models/mongo-shell-session.d.ts.map +1 -0
  763. package/dist/openapi/models/mongo-shell-session.js +16 -0
  764. package/dist/openapi/models/mongo-shell-session.js.map +1 -0
  765. package/dist/openapi/models/mongo-update-request.d.ts +43 -0
  766. package/dist/openapi/models/mongo-update-request.d.ts.map +1 -0
  767. package/dist/openapi/models/mongo-update-request.js +16 -0
  768. package/dist/openapi/models/mongo-update-request.js.map +1 -0
  769. package/dist/openapi/models/mongo-validation-info.d.ts +37 -0
  770. package/dist/openapi/models/mongo-validation-info.d.ts.map +1 -0
  771. package/dist/openapi/models/mongo-validation-info.js +16 -0
  772. package/dist/openapi/models/mongo-validation-info.js.map +1 -0
  773. package/dist/openapi/models/mongo-write-response.d.ts +31 -0
  774. package/dist/openapi/models/mongo-write-response.d.ts.map +1 -0
  775. package/dist/openapi/models/mongo-write-response.js +16 -0
  776. package/dist/openapi/models/mongo-write-response.js.map +1 -0
  777. package/dist/openapi/models/mongo-write-result.d.ts +55 -0
  778. package/dist/openapi/models/mongo-write-result.d.ts.map +1 -0
  779. package/dist/openapi/models/mongo-write-result.js +16 -0
  780. package/dist/openapi/models/mongo-write-result.js.map +1 -0
  781. package/dist/openapi/models/parameter-template-diff-item.d.ts +43 -0
  782. package/dist/openapi/models/parameter-template-diff-item.d.ts.map +1 -0
  783. package/dist/openapi/models/parameter-template-diff-item.js +16 -0
  784. package/dist/openapi/models/parameter-template-diff-item.js.map +1 -0
  785. package/dist/openapi/models/parameter-template-diff.d.ts +26 -0
  786. package/dist/openapi/models/parameter-template-diff.d.ts.map +1 -0
  787. package/dist/openapi/models/parameter-template-diff.js +16 -0
  788. package/dist/openapi/models/parameter-template-diff.js.map +1 -0
  789. package/dist/openapi/models/pgbench.d.ts +3 -3
  790. package/dist/openapi/models/pgbench.d.ts.map +1 -1
  791. package/dist/openapi/models/sysbench.d.ts +3 -3
  792. package/dist/openapi/models/sysbench.d.ts.map +1 -1
  793. package/dist/openapi/models/tde-option.d.ts +32 -0
  794. package/dist/openapi/models/tde-option.d.ts.map +1 -0
  795. package/dist/openapi/models/tde-option.js +16 -0
  796. package/dist/openapi/models/tde-option.js.map +1 -0
  797. package/dist/openapi/models/tde-parameter-option.d.ts +49 -0
  798. package/dist/openapi/models/tde-parameter-option.d.ts.map +1 -0
  799. package/dist/openapi/models/tde-parameter-option.js +16 -0
  800. package/dist/openapi/models/tde-parameter-option.js.map +1 -0
  801. package/dist/openapi/models/tde-request.d.ts +31 -0
  802. package/dist/openapi/models/tde-request.d.ts.map +1 -0
  803. package/dist/openapi/models/tde-request.js +16 -0
  804. package/dist/openapi/models/tde-request.js.map +1 -0
  805. package/dist/openapi/models/tde-response.d.ts +31 -0
  806. package/dist/openapi/models/tde-response.d.ts.map +1 -0
  807. package/dist/openapi/models/tde-response.js +16 -0
  808. package/dist/openapi/models/tde-response.js.map +1 -0
  809. package/dist/openapi/models/tde-status.d.ts +33 -0
  810. package/dist/openapi/models/tde-status.d.ts.map +1 -0
  811. package/dist/openapi/models/tde-status.js +16 -0
  812. package/dist/openapi/models/tde-status.js.map +1 -0
  813. package/dist/openapi/models/tpcc.d.ts +3 -3
  814. package/dist/openapi/models/tpcc.d.ts.map +1 -1
  815. package/dist/openapi/models/ycsb.d.ts +3 -3
  816. package/dist/openapi/models/ycsb.d.ts.map +1 -1
  817. package/package.json +1 -1
  818. package/src/adminapi/.openapi-generator/FILES +78 -1
  819. package/src/adminapi/api.ts +1 -0
  820. package/src/adminapi/apis/aiagent-api.ts +1935 -0
  821. package/src/adminapi/apis/cluster-api.ts +282 -5
  822. package/src/adminapi/apis/cluster-log-api.ts +2062 -213
  823. package/src/adminapi/apis/dms-api.ts +4961 -937
  824. package/src/adminapi/apis/engine-api.ts +694 -0
  825. package/src/adminapi/apis/parameter-template-api.ts +139 -0
  826. package/src/adminapi/apis/shared-api.ts +3597 -1288
  827. package/src/adminapi/models/ai-agent-conversation-list.ts +33 -0
  828. package/src/adminapi/models/{inspection-supported-engines.ts → ai-agent-conversation-status.ts} +8 -12
  829. package/src/adminapi/models/ai-agent-conversation.ts +89 -0
  830. package/src/adminapi/models/ai-agent-create-conversation-request.ts +42 -0
  831. package/src/adminapi/models/ai-agent-delete-conversation-response.ts +36 -0
  832. package/src/adminapi/models/ai-agent-event-type.ts +44 -0
  833. package/src/adminapi/models/ai-agent-event.ts +77 -0
  834. package/src/adminapi/models/ai-agent-message-list.ts +33 -0
  835. package/src/adminapi/models/ai-agent-message-part-type.ts +33 -0
  836. package/src/adminapi/models/ai-agent-message-part.ts +53 -0
  837. package/src/adminapi/models/ai-agent-message-role.ts +32 -0
  838. package/src/adminapi/models/ai-agent-message.ts +77 -0
  839. package/src/adminapi/models/ai-agent-object-ref.ts +36 -0
  840. package/src/adminapi/models/ai-agent-runtime-status-code.ts +34 -0
  841. package/src/adminapi/models/ai-agent-runtime-status.ts +56 -0
  842. package/src/adminapi/models/ai-agent-scope.ts +51 -0
  843. package/src/adminapi/models/ai-agent-send-message-request.ts +39 -0
  844. package/src/adminapi/models/ai-agent-send-message-response.ts +53 -0
  845. package/src/adminapi/models/ai-agent-stop-conversation-response.ts +41 -0
  846. package/src/adminapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
  847. package/src/adminapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
  848. package/src/adminapi/models/ai-agent-tool-confirmation-status.ts +33 -0
  849. package/src/adminapi/models/ai-agent-turn-action-list.ts +33 -0
  850. package/src/adminapi/models/ai-agent-turn-action.ts +113 -0
  851. package/src/adminapi/models/ai-agent-turn-status.ts +34 -0
  852. package/src/adminapi/models/bench-option.ts +6 -0
  853. package/src/adminapi/models/cluster-execution-log-item.ts +9 -0
  854. package/src/adminapi/models/cluster-log-hits-item.ts +6 -0
  855. package/src/adminapi/models/cluster-slow-log-database-distribution.ts +36 -0
  856. package/src/adminapi/models/cluster-slow-log-detail.ts +60 -0
  857. package/src/adminapi/models/cluster-slow-log-explain-response.ts +84 -0
  858. package/src/adminapi/models/cluster-slow-log-stats.ts +9 -0
  859. package/src/adminapi/models/cluster-slow-log-template-list.ts +33 -0
  860. package/src/adminapi/models/cluster-slow-log-template.ts +138 -0
  861. package/src/adminapi/models/database-option.ts +6 -0
  862. package/src/adminapi/models/database-parameter-item.ts +6 -0
  863. package/src/adminapi/models/database-parameter-list-item.ts +6 -0
  864. package/src/adminapi/models/dms-option.ts +0 -6
  865. package/src/adminapi/models/dms-query-history.ts +10 -4
  866. package/src/adminapi/models/engine-network-mode-options-inner.ts +45 -0
  867. package/src/adminapi/models/engine-network-mode-supported.ts +39 -0
  868. package/src/adminapi/models/engine-option.ts +9 -0
  869. package/src/adminapi/models/environment-engine-option-create.ts +42 -0
  870. package/src/adminapi/models/environment-engine-option-update.ts +30 -0
  871. package/src/adminapi/models/environment-engine-option.ts +72 -0
  872. package/src/adminapi/models/index.ts +77 -1
  873. package/src/adminapi/models/inspection-task.ts +2 -7
  874. package/src/adminapi/models/instance-resource-stats.ts +6 -0
  875. package/src/adminapi/models/llm.ts +1 -1
  876. package/src/adminapi/models/log-option.ts +6 -0
  877. package/src/adminapi/models/mongo-aggregate-request.ts +42 -0
  878. package/src/adminapi/models/mongo-collection-capabilities.ts +54 -0
  879. package/src/adminapi/models/mongo-collection-info.ts +57 -0
  880. package/src/adminapi/models/mongo-collection-stats.ts +69 -0
  881. package/src/adminapi/models/mongo-create-collection-options.ts +66 -0
  882. package/src/adminapi/models/mongo-create-collection-request.ts +33 -0
  883. package/src/adminapi/models/mongo-create-index-request.ts +39 -0
  884. package/src/adminapi/models/mongo-create-view-request.ts +48 -0
  885. package/src/adminapi/models/mongo-database-info.ts +54 -0
  886. package/src/adminapi/models/mongo-delete-request.ts +36 -0
  887. package/src/adminapi/models/mongo-explain-request.ts +72 -0
  888. package/src/adminapi/models/mongo-explain-response.ts +36 -0
  889. package/src/adminapi/models/mongo-find-request.ts +66 -0
  890. package/src/adminapi/models/mongo-find-response.ts +48 -0
  891. package/src/adminapi/models/mongo-index-info.ts +72 -0
  892. package/src/adminapi/models/mongo-index-options.ts +42 -0
  893. package/src/adminapi/models/mongo-insert-request.ts +36 -0
  894. package/src/adminapi/models/mongo-replace-request.ts +42 -0
  895. package/src/adminapi/models/mongo-schema-analysis.ts +45 -0
  896. package/src/adminapi/models/mongo-schema-field.ts +42 -0
  897. package/src/adminapi/models/mongo-set-validation-request.ts +42 -0
  898. package/src/adminapi/models/mongo-shell-completion-item.ts +30 -0
  899. package/src/adminapi/models/mongo-shell-completions-request.ts +30 -0
  900. package/src/adminapi/models/mongo-shell-completions-response.ts +33 -0
  901. package/src/adminapi/models/mongo-shell-create-session-request.ts +30 -0
  902. package/src/adminapi/models/mongo-shell-evaluate-request.ts +42 -0
  903. package/src/adminapi/models/mongo-shell-evaluate-response.ts +51 -0
  904. package/src/adminapi/models/mongo-shell-interrupt-response.ts +30 -0
  905. package/src/adminapi/models/mongo-shell-prompt-response.ts +30 -0
  906. package/src/adminapi/models/mongo-shell-result.ts +42 -0
  907. package/src/adminapi/models/mongo-shell-session.ts +54 -0
  908. package/src/adminapi/models/mongo-update-request.ts +48 -0
  909. package/src/adminapi/models/mongo-validation-info.ts +42 -0
  910. package/src/adminapi/models/mongo-write-response.ts +36 -0
  911. package/src/adminapi/models/mongo-write-result.ts +60 -0
  912. package/src/adminapi/models/parameter-template-diff-item.ts +48 -0
  913. package/src/adminapi/models/parameter-template-diff.ts +33 -0
  914. package/src/adminapi/models/tde-option.ts +39 -0
  915. package/src/adminapi/models/tde-parameter-option.ts +54 -0
  916. package/src/adminapi/models/tde-request.ts +36 -0
  917. package/src/adminapi/models/tde-response.ts +36 -0
  918. package/src/adminapi/models/tde-status.ts +36 -0
  919. package/src/adminapi.yaml +4250 -157
  920. package/src/openapi/.openapi-generator/FILES +93 -5
  921. package/src/openapi/api.ts +1 -0
  922. package/src/openapi/apis/aiagent-api.ts +1935 -0
  923. package/src/openapi/apis/benchmark-api.ts +112 -0
  924. package/src/openapi/apis/cluster-api.ts +282 -5
  925. package/src/openapi/apis/cluster-log-api.ts +2127 -278
  926. package/src/openapi/apis/data-replication-api.ts +756 -0
  927. package/src/openapi/apis/dms-api.ts +4961 -937
  928. package/src/openapi/apis/engine-api.ts +128 -0
  929. package/src/openapi/apis/parameter-template-api.ts +136 -0
  930. package/src/openapi/apis/shared-api.ts +2705 -396
  931. package/src/openapi/models/ai-agent-conversation-list.ts +33 -0
  932. package/src/openapi/models/ai-agent-conversation-status.ts +34 -0
  933. package/src/openapi/models/ai-agent-conversation.ts +89 -0
  934. package/src/openapi/models/ai-agent-create-conversation-request.ts +42 -0
  935. package/src/openapi/models/ai-agent-delete-conversation-response.ts +36 -0
  936. package/src/openapi/models/ai-agent-event-type.ts +44 -0
  937. package/src/openapi/models/ai-agent-event.ts +77 -0
  938. package/src/openapi/models/ai-agent-message-list.ts +33 -0
  939. package/src/openapi/models/ai-agent-message-part-type.ts +33 -0
  940. package/src/openapi/models/ai-agent-message-part.ts +53 -0
  941. package/src/openapi/models/{sysbench-step.ts → ai-agent-message-role.ts} +6 -7
  942. package/src/openapi/models/ai-agent-message.ts +77 -0
  943. package/src/openapi/models/ai-agent-object-ref.ts +36 -0
  944. package/src/openapi/models/ai-agent-runtime-status-code.ts +34 -0
  945. package/src/openapi/models/ai-agent-runtime-status.ts +56 -0
  946. package/src/openapi/models/ai-agent-scope.ts +51 -0
  947. package/src/openapi/models/ai-agent-send-message-request.ts +39 -0
  948. package/src/openapi/models/ai-agent-send-message-response.ts +53 -0
  949. package/src/openapi/models/ai-agent-stop-conversation-response.ts +41 -0
  950. package/src/openapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
  951. package/src/openapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
  952. package/src/openapi/models/ai-agent-tool-confirmation-status.ts +33 -0
  953. package/src/openapi/models/ai-agent-turn-action-list.ts +33 -0
  954. package/src/openapi/models/ai-agent-turn-action.ts +113 -0
  955. package/src/openapi/models/ai-agent-turn-status.ts +34 -0
  956. package/src/openapi/models/bench-option.ts +6 -0
  957. package/src/openapi/models/{ycsb-step.ts → benchmark-step.ts} +2 -2
  958. package/src/openapi/models/benchmark-type.ts +2 -1
  959. package/src/openapi/models/cluster-execution-log-item.ts +9 -0
  960. package/src/openapi/models/cluster-log-hits-item.ts +6 -0
  961. package/src/openapi/models/cluster-slow-log-database-distribution.ts +36 -0
  962. package/src/openapi/models/cluster-slow-log-detail.ts +60 -0
  963. package/src/openapi/models/cluster-slow-log-explain-response.ts +84 -0
  964. package/src/openapi/models/cluster-slow-log-stats.ts +9 -0
  965. package/src/openapi/models/cluster-slow-log-template-list.ts +33 -0
  966. package/src/openapi/models/cluster-slow-log-template.ts +138 -0
  967. package/src/openapi/models/data-check-create.ts +77 -0
  968. package/src/openapi/models/data-check-detail-item.ts +93 -0
  969. package/src/openapi/models/{tpcc-step.ts → data-check-detail-type.ts} +5 -7
  970. package/src/openapi/models/data-check-details.ts +42 -0
  971. package/src/openapi/models/data-check-diff-value.ts +48 -0
  972. package/src/openapi/models/data-check-item.ts +116 -0
  973. package/src/openapi/models/data-check-list-item.ts +116 -0
  974. package/src/openapi/models/data-check-list-summary.ts +54 -0
  975. package/src/openapi/models/data-check-response.ts +42 -0
  976. package/src/openapi/models/{pgbench-step.ts → data-check-status.ts} +6 -7
  977. package/src/openapi/models/data-check-summary.ts +63 -0
  978. package/src/openapi/models/data-check-table-summary.ts +72 -0
  979. package/src/openapi/models/data-check-type.ts +31 -0
  980. package/src/openapi/models/database-option.ts +6 -0
  981. package/src/openapi/models/dms-option.ts +0 -6
  982. package/src/openapi/models/dms-query-history.ts +10 -4
  983. package/src/openapi/models/engine-network-mode-supported.ts +39 -0
  984. package/src/openapi/models/engine-option.ts +9 -0
  985. package/src/openapi/models/{inspection-supported-engines.ts → esrally-data-profile.ts} +14 -12
  986. package/src/openapi/models/esrally-on-error.ts +31 -0
  987. package/src/openapi/models/esrally-telemetry.ts +40 -0
  988. package/src/openapi/models/esrally-workload.ts +33 -0
  989. package/src/openapi/models/esrally.ts +137 -0
  990. package/src/openapi/models/index.ts +92 -5
  991. package/src/openapi/models/inspection-task.ts +2 -7
  992. package/src/openapi/models/llm.ts +1 -1
  993. package/src/openapi/models/log-option.ts +6 -0
  994. package/src/openapi/models/mongo-aggregate-request.ts +42 -0
  995. package/src/openapi/models/mongo-collection-capabilities.ts +54 -0
  996. package/src/openapi/models/mongo-collection-info.ts +57 -0
  997. package/src/openapi/models/mongo-collection-stats.ts +69 -0
  998. package/src/openapi/models/mongo-create-collection-options.ts +66 -0
  999. package/src/openapi/models/mongo-create-collection-request.ts +33 -0
  1000. package/src/openapi/models/mongo-create-index-request.ts +39 -0
  1001. package/src/openapi/models/mongo-create-view-request.ts +48 -0
  1002. package/src/openapi/models/mongo-database-info.ts +54 -0
  1003. package/src/openapi/models/mongo-delete-request.ts +36 -0
  1004. package/src/openapi/models/mongo-explain-request.ts +72 -0
  1005. package/src/openapi/models/mongo-explain-response.ts +36 -0
  1006. package/src/openapi/models/mongo-find-request.ts +66 -0
  1007. package/src/openapi/models/mongo-find-response.ts +48 -0
  1008. package/src/openapi/models/mongo-index-info.ts +72 -0
  1009. package/src/openapi/models/mongo-index-options.ts +42 -0
  1010. package/src/openapi/models/mongo-insert-request.ts +36 -0
  1011. package/src/openapi/models/mongo-replace-request.ts +42 -0
  1012. package/src/openapi/models/mongo-schema-analysis.ts +45 -0
  1013. package/src/openapi/models/mongo-schema-field.ts +42 -0
  1014. package/src/openapi/models/mongo-set-validation-request.ts +42 -0
  1015. package/src/openapi/models/mongo-shell-completion-item.ts +30 -0
  1016. package/src/openapi/models/mongo-shell-completions-request.ts +30 -0
  1017. package/src/openapi/models/mongo-shell-completions-response.ts +33 -0
  1018. package/src/openapi/models/mongo-shell-create-session-request.ts +30 -0
  1019. package/src/openapi/models/mongo-shell-evaluate-request.ts +42 -0
  1020. package/src/openapi/models/mongo-shell-evaluate-response.ts +51 -0
  1021. package/src/openapi/models/mongo-shell-interrupt-response.ts +30 -0
  1022. package/src/openapi/models/mongo-shell-prompt-response.ts +30 -0
  1023. package/src/openapi/models/mongo-shell-result.ts +42 -0
  1024. package/src/openapi/models/mongo-shell-session.ts +54 -0
  1025. package/src/openapi/models/mongo-update-request.ts +48 -0
  1026. package/src/openapi/models/mongo-validation-info.ts +42 -0
  1027. package/src/openapi/models/mongo-write-response.ts +36 -0
  1028. package/src/openapi/models/mongo-write-result.ts +60 -0
  1029. package/src/openapi/models/parameter-template-diff-item.ts +48 -0
  1030. package/src/openapi/models/parameter-template-diff.ts +33 -0
  1031. package/src/openapi/models/pgbench.ts +3 -3
  1032. package/src/openapi/models/sysbench.ts +3 -3
  1033. package/src/openapi/models/tde-option.ts +39 -0
  1034. package/src/openapi/models/tde-parameter-option.ts +54 -0
  1035. package/src/openapi/models/tde-request.ts +36 -0
  1036. package/src/openapi/models/tde-response.ts +36 -0
  1037. package/src/openapi/models/tde-status.ts +36 -0
  1038. package/src/openapi/models/tpcc.ts +3 -3
  1039. package/src/openapi/models/ycsb.ts +4 -4
  1040. package/src/openapi.yaml +9433 -4992
  1041. package/dist/adminapi/models/inspection-supported-engines.d.ts +0 -29
  1042. package/dist/adminapi/models/inspection-supported-engines.d.ts.map +0 -1
  1043. package/dist/adminapi/models/inspection-supported-engines.js.map +0 -1
  1044. package/dist/openapi/models/inspection-supported-engines.d.ts.map +0 -1
  1045. package/dist/openapi/models/inspection-supported-engines.js.map +0 -1
  1046. package/dist/openapi/models/pgbench-step.d.ts.map +0 -1
  1047. package/dist/openapi/models/pgbench-step.js.map +0 -1
  1048. package/dist/openapi/models/sysbench-step.d.ts.map +0 -1
  1049. package/dist/openapi/models/sysbench-step.js.map +0 -1
  1050. package/dist/openapi/models/tpcc-step.d.ts.map +0 -1
  1051. package/dist/openapi/models/tpcc-step.js.map +0 -1
  1052. package/dist/openapi/models/ycsb-step.d.ts.map +0 -1
  1053. package/dist/openapi/models/ycsb-step.js.map +0 -1
@@ -30,8 +30,16 @@ import type { ClusterLogHitsResponse } from '../models';
30
30
  // @ts-ignore
31
31
  import type { ClusterRawLogResponse } from '../models';
32
32
  // @ts-ignore
33
+ import type { ClusterSlowLogExplainResponse } from '../models';
34
+ // @ts-ignore
33
35
  import type { ClusterSlowLogStats } from '../models';
34
36
  // @ts-ignore
37
+ import type { ClusterSlowLogTemplate } from '../models';
38
+ // @ts-ignore
39
+ import type { ClusterSlowLogTemplateList } from '../models';
40
+ // @ts-ignore
41
+ import type { DmsExplainRequest } from '../models';
42
+ // @ts-ignore
35
43
  import type { SortType } from '../models';
36
44
  /**
37
45
  * ClusterLogApi - axios parameter creator
@@ -39,6 +47,127 @@ import type { SortType } from '../models';
39
47
  */
40
48
  export const ClusterLogApiAxiosParamCreator = function (configuration?: Configuration) {
41
49
  return {
50
+ /**
51
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
52
+ * @summary Explain cluster slow log SQL
53
+ * @param {string} orgName
54
+ * @param {string} clusterName
55
+ * @param {DmsExplainRequest} dmsExplainRequest
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ explainSlowLog: async (orgName: string, clusterName: string, dmsExplainRequest: DmsExplainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
60
+ // verify required parameter 'orgName' is not null or undefined
61
+ assertParamExists('explainSlowLog', 'orgName', orgName)
62
+ // verify required parameter 'clusterName' is not null or undefined
63
+ assertParamExists('explainSlowLog', 'clusterName', clusterName)
64
+ // verify required parameter 'dmsExplainRequest' is not null or undefined
65
+ assertParamExists('explainSlowLog', 'dmsExplainRequest', dmsExplainRequest)
66
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/explain`
67
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
68
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
69
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
71
+ let baseOptions;
72
+ if (configuration) {
73
+ baseOptions = configuration.baseOptions;
74
+ }
75
+
76
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
77
+ const localVarHeaderParameter = {} as any;
78
+ const localVarQueryParameter = {} as any;
79
+
80
+ // authentication BearerToken required
81
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
82
+
83
+
84
+
85
+ localVarHeaderParameter['Content-Type'] = 'application/json';
86
+
87
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
88
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
89
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
90
+ localVarRequestOptions.data = serializeDataIfNeeded(dmsExplainRequest, localVarRequestOptions, configuration)
91
+
92
+ return {
93
+ url: toPathString(localVarUrlObj),
94
+ options: localVarRequestOptions,
95
+ };
96
+ },
97
+ /**
98
+ * 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.
99
+ * @summary Explain cluster slow log template
100
+ * @param {string} orgName
101
+ * @param {string} clusterName
102
+ * @param {string} templateId
103
+ * @param {string} startTime Start time in epoch nanoseconds.
104
+ * @param {string} endTime End time in epoch nanoseconds.
105
+ * @param {string} [componentName]
106
+ * @param {string} [instanceName]
107
+ * @param {string} [query]
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ explainSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
112
+ // verify required parameter 'orgName' is not null or undefined
113
+ assertParamExists('explainSlowLogTemplate', 'orgName', orgName)
114
+ // verify required parameter 'clusterName' is not null or undefined
115
+ assertParamExists('explainSlowLogTemplate', 'clusterName', clusterName)
116
+ // verify required parameter 'templateId' is not null or undefined
117
+ assertParamExists('explainSlowLogTemplate', 'templateId', templateId)
118
+ // verify required parameter 'startTime' is not null or undefined
119
+ assertParamExists('explainSlowLogTemplate', 'startTime', startTime)
120
+ // verify required parameter 'endTime' is not null or undefined
121
+ assertParamExists('explainSlowLogTemplate', 'endTime', endTime)
122
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/explain`
123
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
124
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
125
+ .replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
126
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
127
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128
+ let baseOptions;
129
+ if (configuration) {
130
+ baseOptions = configuration.baseOptions;
131
+ }
132
+
133
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
134
+ const localVarHeaderParameter = {} as any;
135
+ const localVarQueryParameter = {} as any;
136
+
137
+ // authentication BearerToken required
138
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
139
+
140
+ if (startTime !== undefined) {
141
+ localVarQueryParameter['startTime'] = startTime;
142
+ }
143
+
144
+ if (endTime !== undefined) {
145
+ localVarQueryParameter['endTime'] = endTime;
146
+ }
147
+
148
+ if (componentName !== undefined) {
149
+ localVarQueryParameter['componentName'] = componentName;
150
+ }
151
+
152
+ if (instanceName !== undefined) {
153
+ localVarQueryParameter['instanceName'] = instanceName;
154
+ }
155
+
156
+ if (query !== undefined) {
157
+ localVarQueryParameter['query'] = query;
158
+ }
159
+
160
+
161
+
162
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
163
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
164
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
165
+
166
+ return {
167
+ url: toPathString(localVarUrlObj),
168
+ options: localVarRequestOptions,
169
+ };
170
+ },
42
171
  /**
43
172
  * Get statistics summary for slow logs of a cluster
44
173
  * @summary Get cluster slow log statistics
@@ -48,10 +177,30 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
48
177
  * @param {string} endTime End time in epoch nanoseconds.
49
178
  * @param {string} [componentName]
50
179
  * @param {string} [instanceName]
180
+ * @param {string} [query]
181
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
182
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
183
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
184
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
185
+ * @param {number} [minRowsExamined]
186
+ * @param {number} [maxRowsExamined]
187
+ * @param {number} [minRowsSent]
188
+ * @param {number} [maxRowsSent]
189
+ * @param {string} [dbName]
190
+ * @param {string} [dbNameContains]
191
+ * @param {string} [userName]
192
+ * @param {string} [userNameContains]
193
+ * @param {string} [clientIp]
194
+ * @param {string} [clientIpContains]
195
+ * @param {string} [clientIpCIDR]
196
+ * @param {string} [appName]
197
+ * @param {string} [appNameContains]
198
+ * @param {string} [templateId]
199
+ * @param {boolean} [unclassifiedOnly]
51
200
  * @param {*} [options] Override http request option.
52
201
  * @throws {RequiredError}
53
202
  */
54
- getSlowLogStats: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
203
+ 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> => {
55
204
  // verify required parameter 'orgName' is not null or undefined
56
205
  assertParamExists('getSlowLogStats', 'orgName', orgName)
57
206
  // verify required parameter 'clusterName' is not null or undefined
@@ -93,6 +242,160 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
93
242
  localVarQueryParameter['instanceName'] = instanceName;
94
243
  }
95
244
 
245
+ if (query !== undefined) {
246
+ localVarQueryParameter['query'] = query;
247
+ }
248
+
249
+ if (minExecutionTime !== undefined) {
250
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
251
+ }
252
+
253
+ if (maxExecutionTime !== undefined) {
254
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
255
+ }
256
+
257
+ if (minLockTime !== undefined) {
258
+ localVarQueryParameter['minLockTime'] = minLockTime;
259
+ }
260
+
261
+ if (maxLockTime !== undefined) {
262
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
263
+ }
264
+
265
+ if (minRowsExamined !== undefined) {
266
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
267
+ }
268
+
269
+ if (maxRowsExamined !== undefined) {
270
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
271
+ }
272
+
273
+ if (minRowsSent !== undefined) {
274
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
275
+ }
276
+
277
+ if (maxRowsSent !== undefined) {
278
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
279
+ }
280
+
281
+ if (dbName !== undefined) {
282
+ localVarQueryParameter['dbName'] = dbName;
283
+ }
284
+
285
+ if (dbNameContains !== undefined) {
286
+ localVarQueryParameter['dbNameContains'] = dbNameContains;
287
+ }
288
+
289
+ if (userName !== undefined) {
290
+ localVarQueryParameter['userName'] = userName;
291
+ }
292
+
293
+ if (userNameContains !== undefined) {
294
+ localVarQueryParameter['userNameContains'] = userNameContains;
295
+ }
296
+
297
+ if (clientIp !== undefined) {
298
+ localVarQueryParameter['clientIp'] = clientIp;
299
+ }
300
+
301
+ if (clientIpContains !== undefined) {
302
+ localVarQueryParameter['clientIpContains'] = clientIpContains;
303
+ }
304
+
305
+ if (clientIpCIDR !== undefined) {
306
+ localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
307
+ }
308
+
309
+ if (appName !== undefined) {
310
+ localVarQueryParameter['appName'] = appName;
311
+ }
312
+
313
+ if (appNameContains !== undefined) {
314
+ localVarQueryParameter['appNameContains'] = appNameContains;
315
+ }
316
+
317
+ if (templateId !== undefined) {
318
+ localVarQueryParameter['templateId'] = templateId;
319
+ }
320
+
321
+ if (unclassifiedOnly !== undefined) {
322
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
323
+ }
324
+
325
+
326
+
327
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
328
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
329
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
330
+
331
+ return {
332
+ url: toPathString(localVarUrlObj),
333
+ options: localVarRequestOptions,
334
+ };
335
+ },
336
+ /**
337
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
338
+ * @summary Get cluster slow log template
339
+ * @param {string} orgName
340
+ * @param {string} clusterName
341
+ * @param {string} templateId
342
+ * @param {string} startTime Start time in epoch nanoseconds.
343
+ * @param {string} endTime End time in epoch nanoseconds.
344
+ * @param {string} [componentName]
345
+ * @param {string} [instanceName]
346
+ * @param {string} [query]
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ getSlowLogTemplate: async (orgName: string, clusterName: string, templateId: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
351
+ // verify required parameter 'orgName' is not null or undefined
352
+ assertParamExists('getSlowLogTemplate', 'orgName', orgName)
353
+ // verify required parameter 'clusterName' is not null or undefined
354
+ assertParamExists('getSlowLogTemplate', 'clusterName', clusterName)
355
+ // verify required parameter 'templateId' is not null or undefined
356
+ assertParamExists('getSlowLogTemplate', 'templateId', templateId)
357
+ // verify required parameter 'startTime' is not null or undefined
358
+ assertParamExists('getSlowLogTemplate', 'startTime', startTime)
359
+ // verify required parameter 'endTime' is not null or undefined
360
+ assertParamExists('getSlowLogTemplate', 'endTime', endTime)
361
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}`
362
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
363
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
364
+ .replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
365
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
366
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
367
+ let baseOptions;
368
+ if (configuration) {
369
+ baseOptions = configuration.baseOptions;
370
+ }
371
+
372
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
373
+ const localVarHeaderParameter = {} as any;
374
+ const localVarQueryParameter = {} as any;
375
+
376
+ // authentication BearerToken required
377
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
378
+
379
+ if (startTime !== undefined) {
380
+ localVarQueryParameter['startTime'] = startTime;
381
+ }
382
+
383
+ if (endTime !== undefined) {
384
+ localVarQueryParameter['endTime'] = endTime;
385
+ }
386
+
387
+ if (componentName !== undefined) {
388
+ localVarQueryParameter['componentName'] = componentName;
389
+ }
390
+
391
+ if (instanceName !== undefined) {
392
+ localVarQueryParameter['instanceName'] = instanceName;
393
+ }
394
+
395
+ if (query !== undefined) {
396
+ localVarQueryParameter['query'] = query;
397
+ }
398
+
96
399
 
97
400
 
98
401
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -276,10 +579,24 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
276
579
  * @param {string} [componentName]
277
580
  * @param {string} [instanceName]
278
581
  * @param {string} [query]
582
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
583
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
584
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
585
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
586
+ * @param {number} [minRowsExamined]
587
+ * @param {number} [maxRowsExamined]
588
+ * @param {number} [minRowsSent]
589
+ * @param {number} [maxRowsSent]
590
+ * @param {string} [dbName]
591
+ * @param {string} [userName]
592
+ * @param {string} [clientIp]
593
+ * @param {string} [appName]
594
+ * @param {string} [templateId]
595
+ * @param {boolean} [unclassifiedOnly]
279
596
  * @param {*} [options] Override http request option.
280
597
  * @throws {RequiredError}
281
598
  */
282
- queryLogHits: async (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
599
+ 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> => {
283
600
  // verify required parameter 'orgName' is not null or undefined
284
601
  assertParamExists('queryLogHits', 'orgName', orgName)
285
602
  // verify required parameter 'clusterName' is not null or undefined
@@ -337,6 +654,62 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
337
654
  localVarQueryParameter['query'] = query;
338
655
  }
339
656
 
657
+ if (minExecutionTime !== undefined) {
658
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
659
+ }
660
+
661
+ if (maxExecutionTime !== undefined) {
662
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
663
+ }
664
+
665
+ if (minLockTime !== undefined) {
666
+ localVarQueryParameter['minLockTime'] = minLockTime;
667
+ }
668
+
669
+ if (maxLockTime !== undefined) {
670
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
671
+ }
672
+
673
+ if (minRowsExamined !== undefined) {
674
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
675
+ }
676
+
677
+ if (maxRowsExamined !== undefined) {
678
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
679
+ }
680
+
681
+ if (minRowsSent !== undefined) {
682
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
683
+ }
684
+
685
+ if (maxRowsSent !== undefined) {
686
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
687
+ }
688
+
689
+ if (dbName !== undefined) {
690
+ localVarQueryParameter['dbName'] = dbName;
691
+ }
692
+
693
+ if (userName !== undefined) {
694
+ localVarQueryParameter['userName'] = userName;
695
+ }
696
+
697
+ if (clientIp !== undefined) {
698
+ localVarQueryParameter['clientIp'] = clientIp;
699
+ }
700
+
701
+ if (appName !== undefined) {
702
+ localVarQueryParameter['appName'] = appName;
703
+ }
704
+
705
+ if (templateId !== undefined) {
706
+ localVarQueryParameter['templateId'] = templateId;
707
+ }
708
+
709
+ if (unclassifiedOnly !== undefined) {
710
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
711
+ }
712
+
340
713
 
341
714
 
342
715
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -514,10 +887,11 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
514
887
  };
515
888
  },
516
889
  /**
517
- * Query slow logs of a cluster
518
- * @summary Query cluster slow logs
890
+ * Query slow log samples for a template
891
+ * @summary Query cluster slow log template samples
519
892
  * @param {string} orgName
520
893
  * @param {string} clusterName
894
+ * @param {string} templateId
521
895
  * @param {string} startTime Start time in epoch nanoseconds.
522
896
  * @param {string} endTime End time in epoch nanoseconds.
523
897
  * @param {string} [componentName]
@@ -528,18 +902,21 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
528
902
  * @param {*} [options] Override http request option.
529
903
  * @throws {RequiredError}
530
904
  */
531
- querySlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
905
+ 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> => {
532
906
  // verify required parameter 'orgName' is not null or undefined
533
- assertParamExists('querySlowLogs', 'orgName', orgName)
907
+ assertParamExists('querySlowLogTemplateSamples', 'orgName', orgName)
534
908
  // verify required parameter 'clusterName' is not null or undefined
535
- assertParamExists('querySlowLogs', 'clusterName', clusterName)
909
+ assertParamExists('querySlowLogTemplateSamples', 'clusterName', clusterName)
910
+ // verify required parameter 'templateId' is not null or undefined
911
+ assertParamExists('querySlowLogTemplateSamples', 'templateId', templateId)
536
912
  // verify required parameter 'startTime' is not null or undefined
537
- assertParamExists('querySlowLogs', 'startTime', startTime)
913
+ assertParamExists('querySlowLogTemplateSamples', 'startTime', startTime)
538
914
  // verify required parameter 'endTime' is not null or undefined
539
- assertParamExists('querySlowLogs', 'endTime', endTime)
540
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow`
915
+ assertParamExists('querySlowLogTemplateSamples', 'endTime', endTime)
916
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/samples`
541
917
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
542
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
918
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
919
+ .replace(`{${"templateId"}}`, encodeURIComponent(String(templateId)));
543
920
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
544
921
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
545
922
  let baseOptions;
@@ -593,140 +970,635 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
593
970
  options: localVarRequestOptions,
594
971
  };
595
972
  },
596
- }
597
- };
598
-
599
- /**
600
- * ClusterLogApi - functional programming interface
601
- * @export
602
- */
603
- export const ClusterLogApiFp = function(configuration?: Configuration) {
604
- const localVarAxiosParamCreator = ClusterLogApiAxiosParamCreator(configuration)
605
- return {
606
973
  /**
607
- * Get statistics summary for slow logs of a cluster
608
- * @summary Get cluster slow log statistics
974
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
975
+ * @summary Query cluster slow log templates
609
976
  * @param {string} orgName
610
977
  * @param {string} clusterName
611
978
  * @param {string} startTime Start time in epoch nanoseconds.
612
979
  * @param {string} endTime End time in epoch nanoseconds.
613
980
  * @param {string} [componentName]
614
981
  * @param {string} [instanceName]
982
+ * @param {string} [query]
983
+ * @param {number} [topN]
984
+ * @param {string} [sortBy] Sort templates by count or avgExecutionTime.
985
+ * @param {SortType} [sortType]
986
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
987
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
988
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
989
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
990
+ * @param {number} [minRowsExamined]
991
+ * @param {number} [maxRowsExamined]
992
+ * @param {number} [minRowsSent]
993
+ * @param {number} [maxRowsSent]
994
+ * @param {string} [dbName]
995
+ * @param {string} [dbNameContains]
996
+ * @param {string} [userName]
997
+ * @param {string} [userNameContains]
998
+ * @param {string} [clientIp]
999
+ * @param {string} [clientIpContains]
1000
+ * @param {string} [clientIpCIDR]
1001
+ * @param {string} [appName]
1002
+ * @param {string} [appNameContains]
615
1003
  * @param {*} [options] Override http request option.
616
1004
  * @throws {RequiredError}
617
1005
  */
618
- async getSlowLogStats(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogStats>> {
619
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogStats(orgName, clusterName, startTime, endTime, componentName, instanceName, options);
620
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
621
- const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.getSlowLogStats']?.[localVarOperationServerIndex]?.url;
622
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1006
+ 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> => {
1007
+ // verify required parameter 'orgName' is not null or undefined
1008
+ assertParamExists('querySlowLogTemplates', 'orgName', orgName)
1009
+ // verify required parameter 'clusterName' is not null or undefined
1010
+ assertParamExists('querySlowLogTemplates', 'clusterName', clusterName)
1011
+ // verify required parameter 'startTime' is not null or undefined
1012
+ assertParamExists('querySlowLogTemplates', 'startTime', startTime)
1013
+ // verify required parameter 'endTime' is not null or undefined
1014
+ assertParamExists('querySlowLogTemplates', 'endTime', endTime)
1015
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates`
1016
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1017
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1018
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1019
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1020
+ let baseOptions;
1021
+ if (configuration) {
1022
+ baseOptions = configuration.baseOptions;
1023
+ }
1024
+
1025
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1026
+ const localVarHeaderParameter = {} as any;
1027
+ const localVarQueryParameter = {} as any;
1028
+
1029
+ // authentication BearerToken required
1030
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
1031
+
1032
+ if (startTime !== undefined) {
1033
+ localVarQueryParameter['startTime'] = startTime;
1034
+ }
1035
+
1036
+ if (endTime !== undefined) {
1037
+ localVarQueryParameter['endTime'] = endTime;
1038
+ }
1039
+
1040
+ if (componentName !== undefined) {
1041
+ localVarQueryParameter['componentName'] = componentName;
1042
+ }
1043
+
1044
+ if (instanceName !== undefined) {
1045
+ localVarQueryParameter['instanceName'] = instanceName;
1046
+ }
1047
+
1048
+ if (query !== undefined) {
1049
+ localVarQueryParameter['query'] = query;
1050
+ }
1051
+
1052
+ if (topN !== undefined) {
1053
+ localVarQueryParameter['topN'] = topN;
1054
+ }
1055
+
1056
+ if (sortBy !== undefined) {
1057
+ localVarQueryParameter['sortBy'] = sortBy;
1058
+ }
1059
+
1060
+ if (sortType !== undefined) {
1061
+ localVarQueryParameter['sortType'] = sortType;
1062
+ }
1063
+
1064
+ if (minExecutionTime !== undefined) {
1065
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
1066
+ }
1067
+
1068
+ if (maxExecutionTime !== undefined) {
1069
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
1070
+ }
1071
+
1072
+ if (minLockTime !== undefined) {
1073
+ localVarQueryParameter['minLockTime'] = minLockTime;
1074
+ }
1075
+
1076
+ if (maxLockTime !== undefined) {
1077
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
1078
+ }
1079
+
1080
+ if (minRowsExamined !== undefined) {
1081
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
1082
+ }
1083
+
1084
+ if (maxRowsExamined !== undefined) {
1085
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
1086
+ }
1087
+
1088
+ if (minRowsSent !== undefined) {
1089
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
1090
+ }
1091
+
1092
+ if (maxRowsSent !== undefined) {
1093
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
1094
+ }
1095
+
1096
+ if (dbName !== undefined) {
1097
+ localVarQueryParameter['dbName'] = dbName;
1098
+ }
1099
+
1100
+ if (dbNameContains !== undefined) {
1101
+ localVarQueryParameter['dbNameContains'] = dbNameContains;
1102
+ }
1103
+
1104
+ if (userName !== undefined) {
1105
+ localVarQueryParameter['userName'] = userName;
1106
+ }
1107
+
1108
+ if (userNameContains !== undefined) {
1109
+ localVarQueryParameter['userNameContains'] = userNameContains;
1110
+ }
1111
+
1112
+ if (clientIp !== undefined) {
1113
+ localVarQueryParameter['clientIp'] = clientIp;
1114
+ }
1115
+
1116
+ if (clientIpContains !== undefined) {
1117
+ localVarQueryParameter['clientIpContains'] = clientIpContains;
1118
+ }
1119
+
1120
+ if (clientIpCIDR !== undefined) {
1121
+ localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
1122
+ }
1123
+
1124
+ if (appName !== undefined) {
1125
+ localVarQueryParameter['appName'] = appName;
1126
+ }
1127
+
1128
+ if (appNameContains !== undefined) {
1129
+ localVarQueryParameter['appNameContains'] = appNameContains;
1130
+ }
1131
+
1132
+
1133
+
1134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1136
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1137
+
1138
+ return {
1139
+ url: toPathString(localVarUrlObj),
1140
+ options: localVarRequestOptions,
1141
+ };
623
1142
  },
624
1143
  /**
625
- * Query audit logs of a cluster
626
- * @summary Query cluster audit logs
1144
+ * Query slow logs of a cluster
1145
+ * @summary Query cluster slow logs
627
1146
  * @param {string} orgName
628
1147
  * @param {string} clusterName
629
1148
  * @param {string} startTime Start time in epoch nanoseconds.
630
1149
  * @param {string} endTime End time in epoch nanoseconds.
631
- * @param {string} [limit]
632
1150
  * @param {string} [componentName]
633
1151
  * @param {string} [instanceName]
1152
+ * @param {string} [query]
1153
+ * @param {string} [limit]
634
1154
  * @param {SortType} [sortType]
1155
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1156
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1157
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1158
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1159
+ * @param {number} [minRowsExamined]
1160
+ * @param {number} [maxRowsExamined]
1161
+ * @param {number} [minRowsSent]
1162
+ * @param {number} [maxRowsSent]
1163
+ * @param {string} [dbName]
1164
+ * @param {string} [dbNameContains]
1165
+ * @param {string} [userName]
1166
+ * @param {string} [userNameContains]
1167
+ * @param {string} [clientIp]
1168
+ * @param {string} [clientIpContains]
1169
+ * @param {string} [clientIpCIDR]
1170
+ * @param {string} [appName]
1171
+ * @param {string} [appNameContains]
1172
+ * @param {string} [templateId]
1173
+ * @param {boolean} [unclassifiedOnly]
635
1174
  * @param {*} [options] Override http request option.
636
1175
  * @throws {RequiredError}
637
1176
  */
638
- async queryAuditLogs(orgName: string, clusterName: string, startTime: string, endTime: string, limit?: string, componentName?: string, instanceName?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
639
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryAuditLogs(orgName, clusterName, startTime, endTime, limit, componentName, instanceName, sortType, options);
1177
+ 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> => {
1178
+ // verify required parameter 'orgName' is not null or undefined
1179
+ assertParamExists('querySlowLogs', 'orgName', orgName)
1180
+ // verify required parameter 'clusterName' is not null or undefined
1181
+ assertParamExists('querySlowLogs', 'clusterName', clusterName)
1182
+ // verify required parameter 'startTime' is not null or undefined
1183
+ assertParamExists('querySlowLogs', 'startTime', startTime)
1184
+ // verify required parameter 'endTime' is not null or undefined
1185
+ assertParamExists('querySlowLogs', 'endTime', endTime)
1186
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow`
1187
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1188
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1189
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1190
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1191
+ let baseOptions;
1192
+ if (configuration) {
1193
+ baseOptions = configuration.baseOptions;
1194
+ }
1195
+
1196
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1197
+ const localVarHeaderParameter = {} as any;
1198
+ const localVarQueryParameter = {} as any;
1199
+
1200
+ // authentication BearerToken required
1201
+ await setApiKeyToObject(localVarHeaderParameter, "authorization", configuration)
1202
+
1203
+ if (startTime !== undefined) {
1204
+ localVarQueryParameter['startTime'] = startTime;
1205
+ }
1206
+
1207
+ if (endTime !== undefined) {
1208
+ localVarQueryParameter['endTime'] = endTime;
1209
+ }
1210
+
1211
+ if (componentName !== undefined) {
1212
+ localVarQueryParameter['componentName'] = componentName;
1213
+ }
1214
+
1215
+ if (instanceName !== undefined) {
1216
+ localVarQueryParameter['instanceName'] = instanceName;
1217
+ }
1218
+
1219
+ if (query !== undefined) {
1220
+ localVarQueryParameter['query'] = query;
1221
+ }
1222
+
1223
+ if (limit !== undefined) {
1224
+ localVarQueryParameter['limit'] = limit;
1225
+ }
1226
+
1227
+ if (sortType !== undefined) {
1228
+ localVarQueryParameter['sortType'] = sortType;
1229
+ }
1230
+
1231
+ if (minExecutionTime !== undefined) {
1232
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
1233
+ }
1234
+
1235
+ if (maxExecutionTime !== undefined) {
1236
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
1237
+ }
1238
+
1239
+ if (minLockTime !== undefined) {
1240
+ localVarQueryParameter['minLockTime'] = minLockTime;
1241
+ }
1242
+
1243
+ if (maxLockTime !== undefined) {
1244
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
1245
+ }
1246
+
1247
+ if (minRowsExamined !== undefined) {
1248
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
1249
+ }
1250
+
1251
+ if (maxRowsExamined !== undefined) {
1252
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
1253
+ }
1254
+
1255
+ if (minRowsSent !== undefined) {
1256
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
1257
+ }
1258
+
1259
+ if (maxRowsSent !== undefined) {
1260
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
1261
+ }
1262
+
1263
+ if (dbName !== undefined) {
1264
+ localVarQueryParameter['dbName'] = dbName;
1265
+ }
1266
+
1267
+ if (dbNameContains !== undefined) {
1268
+ localVarQueryParameter['dbNameContains'] = dbNameContains;
1269
+ }
1270
+
1271
+ if (userName !== undefined) {
1272
+ localVarQueryParameter['userName'] = userName;
1273
+ }
1274
+
1275
+ if (userNameContains !== undefined) {
1276
+ localVarQueryParameter['userNameContains'] = userNameContains;
1277
+ }
1278
+
1279
+ if (clientIp !== undefined) {
1280
+ localVarQueryParameter['clientIp'] = clientIp;
1281
+ }
1282
+
1283
+ if (clientIpContains !== undefined) {
1284
+ localVarQueryParameter['clientIpContains'] = clientIpContains;
1285
+ }
1286
+
1287
+ if (clientIpCIDR !== undefined) {
1288
+ localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
1289
+ }
1290
+
1291
+ if (appName !== undefined) {
1292
+ localVarQueryParameter['appName'] = appName;
1293
+ }
1294
+
1295
+ if (appNameContains !== undefined) {
1296
+ localVarQueryParameter['appNameContains'] = appNameContains;
1297
+ }
1298
+
1299
+ if (templateId !== undefined) {
1300
+ localVarQueryParameter['templateId'] = templateId;
1301
+ }
1302
+
1303
+ if (unclassifiedOnly !== undefined) {
1304
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
1305
+ }
1306
+
1307
+
1308
+
1309
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1310
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1311
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1312
+
1313
+ return {
1314
+ url: toPathString(localVarUrlObj),
1315
+ options: localVarRequestOptions,
1316
+ };
1317
+ },
1318
+ }
1319
+ };
1320
+
1321
+ /**
1322
+ * ClusterLogApi - functional programming interface
1323
+ * @export
1324
+ */
1325
+ export const ClusterLogApiFp = function(configuration?: Configuration) {
1326
+ const localVarAxiosParamCreator = ClusterLogApiAxiosParamCreator(configuration)
1327
+ return {
1328
+ /**
1329
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
1330
+ * @summary Explain cluster slow log SQL
1331
+ * @param {string} orgName
1332
+ * @param {string} clusterName
1333
+ * @param {DmsExplainRequest} dmsExplainRequest
1334
+ * @param {*} [options] Override http request option.
1335
+ * @throws {RequiredError}
1336
+ */
1337
+ async explainSlowLog(orgName: string, clusterName: string, dmsExplainRequest: DmsExplainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterSlowLogExplainResponse>> {
1338
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLog(orgName, clusterName, dmsExplainRequest, options);
640
1339
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
641
- const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryAuditLogs']?.[localVarOperationServerIndex]?.url;
1340
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.explainSlowLog']?.[localVarOperationServerIndex]?.url;
642
1341
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
643
1342
  },
644
1343
  /**
645
- * Query error logs of a cluster
646
- * @summary Query cluster error logs
1344
+ * 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.
1345
+ * @summary Explain cluster slow log template
647
1346
  * @param {string} orgName
648
1347
  * @param {string} clusterName
1348
+ * @param {string} templateId
649
1349
  * @param {string} startTime Start time in epoch nanoseconds.
650
1350
  * @param {string} endTime End time in epoch nanoseconds.
651
1351
  * @param {string} [componentName]
652
1352
  * @param {string} [instanceName]
653
- * @param {string} [filename]
654
1353
  * @param {string} [query]
655
- * @param {string} [limit]
656
- * @param {SortType} [sortType]
657
1354
  * @param {*} [options] Override http request option.
658
1355
  * @throws {RequiredError}
659
1356
  */
660
- async queryErrorLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>> {
661
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryErrorLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, filename, query, limit, sortType, options);
1357
+ 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>> {
1358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.explainSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
662
1359
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
663
- const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryErrorLogs']?.[localVarOperationServerIndex]?.url;
1360
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.explainSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
664
1361
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
665
1362
  },
666
1363
  /**
667
- * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
668
- * @summary Query log hits histogram
1364
+ * Get statistics summary for slow logs of a cluster
1365
+ * @summary Get cluster slow log statistics
669
1366
  * @param {string} orgName
670
1367
  * @param {string} clusterName
671
1368
  * @param {string} startTime Start time in epoch nanoseconds.
672
1369
  * @param {string} endTime End time in epoch nanoseconds.
673
- * @param {string} step Time bucket size, e.g. 5s, 30s, 1m, 5m, 30m, 1h
674
- * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
675
1370
  * @param {string} [componentName]
676
1371
  * @param {string} [instanceName]
677
1372
  * @param {string} [query]
1373
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1374
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1375
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1376
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1377
+ * @param {number} [minRowsExamined]
1378
+ * @param {number} [maxRowsExamined]
1379
+ * @param {number} [minRowsSent]
1380
+ * @param {number} [maxRowsSent]
1381
+ * @param {string} [dbName]
1382
+ * @param {string} [dbNameContains]
1383
+ * @param {string} [userName]
1384
+ * @param {string} [userNameContains]
1385
+ * @param {string} [clientIp]
1386
+ * @param {string} [clientIpContains]
1387
+ * @param {string} [clientIpCIDR]
1388
+ * @param {string} [appName]
1389
+ * @param {string} [appNameContains]
1390
+ * @param {string} [templateId]
1391
+ * @param {boolean} [unclassifiedOnly]
678
1392
  * @param {*} [options] Override http request option.
679
1393
  * @throws {RequiredError}
680
1394
  */
681
- 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>> {
682
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryLogHits(orgName, clusterName, startTime, endTime, step, logType, componentName, instanceName, query, options);
1395
+ 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>> {
1396
+ 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);
683
1397
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
684
- const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
1398
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.getSlowLogStats']?.[localVarOperationServerIndex]?.url;
685
1399
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
686
1400
  },
687
1401
  /**
688
- * Query pod logs of a cluster
689
- * @summary Query cluster pod logs
1402
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
1403
+ * @summary Get cluster slow log template
690
1404
  * @param {string} orgName
691
1405
  * @param {string} clusterName
1406
+ * @param {string} templateId
692
1407
  * @param {string} startTime Start time in epoch nanoseconds.
693
1408
  * @param {string} endTime End time in epoch nanoseconds.
694
1409
  * @param {string} [componentName]
695
1410
  * @param {string} [instanceName]
696
- * @param {string} [filename]
697
- * @param {string} [limit]
698
- * @param {SortType} [sortType]
1411
+ * @param {string} [query]
699
1412
  * @param {*} [options] Override http request option.
700
1413
  * @throws {RequiredError}
701
1414
  */
702
- async queryPodLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>> {
703
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryPodLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, filename, limit, sortType, options);
1415
+ 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>> {
1416
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSlowLogTemplate(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, options);
704
1417
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
705
- const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryPodLogs']?.[localVarOperationServerIndex]?.url;
1418
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.getSlowLogTemplate']?.[localVarOperationServerIndex]?.url;
706
1419
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
707
1420
  },
708
1421
  /**
709
- * Query running logs of a cluster
710
- * @summary Query cluster running logs
1422
+ * Query audit logs of a cluster
1423
+ * @summary Query cluster audit logs
711
1424
  * @param {string} orgName
712
1425
  * @param {string} clusterName
713
1426
  * @param {string} startTime Start time in epoch nanoseconds.
714
1427
  * @param {string} endTime End time in epoch nanoseconds.
1428
+ * @param {string} [limit]
715
1429
  * @param {string} [componentName]
716
1430
  * @param {string} [instanceName]
717
- * @param {string} [filename]
718
- * @param {string} [limit]
719
- * @param {string} [query]
720
1431
  * @param {SortType} [sortType]
721
1432
  * @param {*} [options] Override http request option.
722
1433
  * @throws {RequiredError}
723
1434
  */
724
- async queryRunningLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, query?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>> {
725
- const localVarAxiosArgs = await localVarAxiosParamCreator.queryRunningLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, filename, limit, query, sortType, options);
726
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1435
+ async queryAuditLogs(orgName: string, clusterName: string, startTime: string, endTime: string, limit?: string, componentName?: string, instanceName?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLog>> {
1436
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryAuditLogs(orgName, clusterName, startTime, endTime, limit, componentName, instanceName, sortType, options);
1437
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1438
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryAuditLogs']?.[localVarOperationServerIndex]?.url;
1439
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1440
+ },
1441
+ /**
1442
+ * Query error logs of a cluster
1443
+ * @summary Query cluster error logs
1444
+ * @param {string} orgName
1445
+ * @param {string} clusterName
1446
+ * @param {string} startTime Start time in epoch nanoseconds.
1447
+ * @param {string} endTime End time in epoch nanoseconds.
1448
+ * @param {string} [componentName]
1449
+ * @param {string} [instanceName]
1450
+ * @param {string} [filename]
1451
+ * @param {string} [query]
1452
+ * @param {string} [limit]
1453
+ * @param {SortType} [sortType]
1454
+ * @param {*} [options] Override http request option.
1455
+ * @throws {RequiredError}
1456
+ */
1457
+ async queryErrorLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, query?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>> {
1458
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryErrorLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, filename, query, limit, sortType, options);
1459
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1460
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryErrorLogs']?.[localVarOperationServerIndex]?.url;
1461
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1462
+ },
1463
+ /**
1464
+ * Query log hits histogram for time-bucketed log counts (VictoriaLogs only)
1465
+ * @summary Query log hits histogram
1466
+ * @param {string} orgName
1467
+ * @param {string} clusterName
1468
+ * @param {string} startTime Start time in epoch nanoseconds.
1469
+ * @param {string} endTime End time in epoch nanoseconds.
1470
+ * @param {string} step Time bucket size, e.g. 5s, 30s, 1m, 5m, 30m, 1h
1471
+ * @param {string} logType Log type: runninglog, errorlog, slow, auditlog
1472
+ * @param {string} [componentName]
1473
+ * @param {string} [instanceName]
1474
+ * @param {string} [query]
1475
+ * @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1476
+ * @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
1477
+ * @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1478
+ * @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
1479
+ * @param {number} [minRowsExamined]
1480
+ * @param {number} [maxRowsExamined]
1481
+ * @param {number} [minRowsSent]
1482
+ * @param {number} [maxRowsSent]
1483
+ * @param {string} [dbName]
1484
+ * @param {string} [userName]
1485
+ * @param {string} [clientIp]
1486
+ * @param {string} [appName]
1487
+ * @param {string} [templateId]
1488
+ * @param {boolean} [unclassifiedOnly]
1489
+ * @param {*} [options] Override http request option.
1490
+ * @throws {RequiredError}
1491
+ */
1492
+ 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>> {
1493
+ 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);
1494
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1495
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryLogHits']?.[localVarOperationServerIndex]?.url;
1496
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1497
+ },
1498
+ /**
1499
+ * Query pod logs of a cluster
1500
+ * @summary Query cluster pod logs
1501
+ * @param {string} orgName
1502
+ * @param {string} clusterName
1503
+ * @param {string} startTime Start time in epoch nanoseconds.
1504
+ * @param {string} endTime End time in epoch nanoseconds.
1505
+ * @param {string} [componentName]
1506
+ * @param {string} [instanceName]
1507
+ * @param {string} [filename]
1508
+ * @param {string} [limit]
1509
+ * @param {SortType} [sortType]
1510
+ * @param {*} [options] Override http request option.
1511
+ * @throws {RequiredError}
1512
+ */
1513
+ async queryPodLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>> {
1514
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryPodLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, filename, limit, sortType, options);
1515
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1516
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryPodLogs']?.[localVarOperationServerIndex]?.url;
1517
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1518
+ },
1519
+ /**
1520
+ * Query running logs of a cluster
1521
+ * @summary Query cluster running logs
1522
+ * @param {string} orgName
1523
+ * @param {string} clusterName
1524
+ * @param {string} startTime Start time in epoch nanoseconds.
1525
+ * @param {string} endTime End time in epoch nanoseconds.
1526
+ * @param {string} [componentName]
1527
+ * @param {string} [instanceName]
1528
+ * @param {string} [filename]
1529
+ * @param {string} [limit]
1530
+ * @param {string} [query]
1531
+ * @param {SortType} [sortType]
1532
+ * @param {*} [options] Override http request option.
1533
+ * @throws {RequiredError}
1534
+ */
1535
+ async queryRunningLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, filename?: string, limit?: string, query?: string, sortType?: SortType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRawLogResponse>> {
1536
+ const localVarAxiosArgs = await localVarAxiosParamCreator.queryRunningLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, filename, limit, query, sortType, options);
1537
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
727
1538
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.queryRunningLogs']?.[localVarOperationServerIndex]?.url;
728
1539
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
729
1540
  },
1541
+ /**
1542
+ * Query slow log samples for a template
1543
+ * @summary Query cluster slow log template samples
1544
+ * @param {string} orgName
1545
+ * @param {string} clusterName
1546
+ * @param {string} templateId
1547
+ * @param {string} startTime Start time in epoch nanoseconds.
1548
+ * @param {string} endTime End time in epoch nanoseconds.
1549
+ * @param {string} [componentName]
1550
+ * @param {string} [instanceName]
1551
+ * @param {string} [query]
1552
+ * @param {string} [limit]
1553
+ * @param {SortType} [sortType]
1554
+ * @param {*} [options] Override http request option.
1555
+ * @throws {RequiredError}
1556
+ */
1557
+ 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>> {
1558
+ const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogTemplateSamples(orgName, clusterName, templateId, startTime, endTime, componentName, instanceName, query, limit, sortType, options);
1559
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1560
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogTemplateSamples']?.[localVarOperationServerIndex]?.url;
1561
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1562
+ },
1563
+ /**
1564
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
1565
+ * @summary Query cluster slow log templates
1566
+ * @param {string} orgName
1567
+ * @param {string} clusterName
1568
+ * @param {string} startTime Start time in epoch nanoseconds.
1569
+ * @param {string} endTime End time in epoch nanoseconds.
1570
+ * @param {string} [componentName]
1571
+ * @param {string} [instanceName]
1572
+ * @param {string} [query]
1573
+ * @param {number} [topN]
1574
+ * @param {string} [sortBy] Sort templates by count or avgExecutionTime.
1575
+ * @param {SortType} [sortType]
1576
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1577
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1578
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1579
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1580
+ * @param {number} [minRowsExamined]
1581
+ * @param {number} [maxRowsExamined]
1582
+ * @param {number} [minRowsSent]
1583
+ * @param {number} [maxRowsSent]
1584
+ * @param {string} [dbName]
1585
+ * @param {string} [dbNameContains]
1586
+ * @param {string} [userName]
1587
+ * @param {string} [userNameContains]
1588
+ * @param {string} [clientIp]
1589
+ * @param {string} [clientIpContains]
1590
+ * @param {string} [clientIpCIDR]
1591
+ * @param {string} [appName]
1592
+ * @param {string} [appNameContains]
1593
+ * @param {*} [options] Override http request option.
1594
+ * @throws {RequiredError}
1595
+ */
1596
+ 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>> {
1597
+ 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);
1598
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1599
+ const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogTemplates']?.[localVarOperationServerIndex]?.url;
1600
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1601
+ },
730
1602
  /**
731
1603
  * Query slow logs of a cluster
732
1604
  * @summary Query cluster slow logs
@@ -739,11 +1611,30 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
739
1611
  * @param {string} [query]
740
1612
  * @param {string} [limit]
741
1613
  * @param {SortType} [sortType]
1614
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
1615
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
1616
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
1617
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
1618
+ * @param {number} [minRowsExamined]
1619
+ * @param {number} [maxRowsExamined]
1620
+ * @param {number} [minRowsSent]
1621
+ * @param {number} [maxRowsSent]
1622
+ * @param {string} [dbName]
1623
+ * @param {string} [dbNameContains]
1624
+ * @param {string} [userName]
1625
+ * @param {string} [userNameContains]
1626
+ * @param {string} [clientIp]
1627
+ * @param {string} [clientIpContains]
1628
+ * @param {string} [clientIpCIDR]
1629
+ * @param {string} [appName]
1630
+ * @param {string} [appNameContains]
1631
+ * @param {string} [templateId]
1632
+ * @param {boolean} [unclassifiedOnly]
742
1633
  * @param {*} [options] Override http request option.
743
1634
  * @throws {RequiredError}
744
1635
  */
745
- 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>> {
746
- const localVarAxiosArgs = await localVarAxiosParamCreator.querySlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, options);
1636
+ 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>> {
1637
+ 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);
747
1638
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
748
1639
  const localVarOperationServerBasePath = operationServerMap['ClusterLogApi.querySlowLogs']?.[localVarOperationServerIndex]?.url;
749
1640
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -758,6 +1649,26 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
758
1649
  export const ClusterLogApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
759
1650
  const localVarFp = ClusterLogApiFp(configuration)
760
1651
  return {
1652
+ /**
1653
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
1654
+ * @summary Explain cluster slow log SQL
1655
+ * @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
1656
+ * @param {*} [options] Override http request option.
1657
+ * @throws {RequiredError}
1658
+ */
1659
+ explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
1660
+ return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
1661
+ },
1662
+ /**
1663
+ * 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.
1664
+ * @summary Explain cluster slow log template
1665
+ * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
1666
+ * @param {*} [options] Override http request option.
1667
+ * @throws {RequiredError}
1668
+ */
1669
+ explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse> {
1670
+ 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));
1671
+ },
761
1672
  /**
762
1673
  * Get statistics summary for slow logs of a cluster
763
1674
  * @summary Get cluster slow log statistics
@@ -766,7 +1677,17 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
766
1677
  * @throws {RequiredError}
767
1678
  */
768
1679
  getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats> {
769
- return localVarFp.getSlowLogStats(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, options).then((request) => request(axios, basePath));
1680
+ 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));
1681
+ },
1682
+ /**
1683
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
1684
+ * @summary Get cluster slow log template
1685
+ * @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
1686
+ * @param {*} [options] Override http request option.
1687
+ * @throws {RequiredError}
1688
+ */
1689
+ getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate> {
1690
+ 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));
770
1691
  },
771
1692
  /**
772
1693
  * Query audit logs of a cluster
@@ -796,7 +1717,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
796
1717
  * @throws {RequiredError}
797
1718
  */
798
1719
  queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogHitsResponse> {
799
- 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));
1720
+ 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));
800
1721
  },
801
1722
  /**
802
1723
  * Query pod logs of a cluster
@@ -818,6 +1739,26 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
818
1739
  queryRunningLogs(requestParameters: ClusterLogApiQueryRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse> {
819
1740
  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));
820
1741
  },
1742
+ /**
1743
+ * Query slow log samples for a template
1744
+ * @summary Query cluster slow log template samples
1745
+ * @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
1746
+ * @param {*} [options] Override http request option.
1747
+ * @throws {RequiredError}
1748
+ */
1749
+ querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog> {
1750
+ 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));
1751
+ },
1752
+ /**
1753
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
1754
+ * @summary Query cluster slow log templates
1755
+ * @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
1756
+ * @param {*} [options] Override http request option.
1757
+ * @throws {RequiredError}
1758
+ */
1759
+ querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplateList> {
1760
+ 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));
1761
+ },
821
1762
  /**
822
1763
  * Query slow logs of a cluster
823
1764
  * @summary Query cluster slow logs
@@ -826,7 +1767,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
826
1767
  * @throws {RequiredError}
827
1768
  */
828
1769
  querySlowLogs(requestParameters: ClusterLogApiQuerySlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog> {
829
- 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));
1770
+ 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));
830
1771
  },
831
1772
  };
832
1773
  };
@@ -837,6 +1778,26 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
837
1778
  * @interface ClusterLogApi
838
1779
  */
839
1780
  export interface ClusterLogApiInterface {
1781
+ /**
1782
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
1783
+ * @summary Explain cluster slow log SQL
1784
+ * @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
1785
+ * @param {*} [options] Override http request option.
1786
+ * @throws {RequiredError}
1787
+ * @memberof ClusterLogApiInterface
1788
+ */
1789
+ explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
1790
+
1791
+ /**
1792
+ * 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.
1793
+ * @summary Explain cluster slow log template
1794
+ * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
1795
+ * @param {*} [options] Override http request option.
1796
+ * @throws {RequiredError}
1797
+ * @memberof ClusterLogApiInterface
1798
+ */
1799
+ explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
1800
+
840
1801
  /**
841
1802
  * Get statistics summary for slow logs of a cluster
842
1803
  * @summary Get cluster slow log statistics
@@ -847,6 +1808,16 @@ export interface ClusterLogApiInterface {
847
1808
  */
848
1809
  getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogStats>;
849
1810
 
1811
+ /**
1812
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
1813
+ * @summary Get cluster slow log template
1814
+ * @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
1815
+ * @param {*} [options] Override http request option.
1816
+ * @throws {RequiredError}
1817
+ * @memberof ClusterLogApiInterface
1818
+ */
1819
+ getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplate>;
1820
+
850
1821
  /**
851
1822
  * Query audit logs of a cluster
852
1823
  * @summary Query cluster audit logs
@@ -897,6 +1868,26 @@ export interface ClusterLogApiInterface {
897
1868
  */
898
1869
  queryRunningLogs(requestParameters: ClusterLogApiQueryRunningLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRawLogResponse>;
899
1870
 
1871
+ /**
1872
+ * Query slow log samples for a template
1873
+ * @summary Query cluster slow log template samples
1874
+ * @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
1875
+ * @param {*} [options] Override http request option.
1876
+ * @throws {RequiredError}
1877
+ * @memberof ClusterLogApiInterface
1878
+ */
1879
+ querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLog>;
1880
+
1881
+ /**
1882
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
1883
+ * @summary Query cluster slow log templates
1884
+ * @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
1885
+ * @param {*} [options] Override http request option.
1886
+ * @throws {RequiredError}
1887
+ * @memberof ClusterLogApiInterface
1888
+ */
1889
+ querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogTemplateList>;
1890
+
900
1891
  /**
901
1892
  * Query slow logs of a cluster
902
1893
  * @summary Query cluster slow logs
@@ -909,6 +1900,97 @@ export interface ClusterLogApiInterface {
909
1900
 
910
1901
  }
911
1902
 
1903
+ /**
1904
+ * Request parameters for explainSlowLog operation in ClusterLogApi.
1905
+ * @export
1906
+ * @interface ClusterLogApiExplainSlowLogRequest
1907
+ */
1908
+ export interface ClusterLogApiExplainSlowLogRequest {
1909
+ /**
1910
+ *
1911
+ * @type {string}
1912
+ * @memberof ClusterLogApiExplainSlowLog
1913
+ */
1914
+ readonly orgName: string
1915
+
1916
+ /**
1917
+ *
1918
+ * @type {string}
1919
+ * @memberof ClusterLogApiExplainSlowLog
1920
+ */
1921
+ readonly clusterName: string
1922
+
1923
+ /**
1924
+ *
1925
+ * @type {DmsExplainRequest}
1926
+ * @memberof ClusterLogApiExplainSlowLog
1927
+ */
1928
+ readonly dmsExplainRequest: DmsExplainRequest
1929
+ }
1930
+
1931
+ /**
1932
+ * Request parameters for explainSlowLogTemplate operation in ClusterLogApi.
1933
+ * @export
1934
+ * @interface ClusterLogApiExplainSlowLogTemplateRequest
1935
+ */
1936
+ export interface ClusterLogApiExplainSlowLogTemplateRequest {
1937
+ /**
1938
+ *
1939
+ * @type {string}
1940
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1941
+ */
1942
+ readonly orgName: string
1943
+
1944
+ /**
1945
+ *
1946
+ * @type {string}
1947
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1948
+ */
1949
+ readonly clusterName: string
1950
+
1951
+ /**
1952
+ *
1953
+ * @type {string}
1954
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1955
+ */
1956
+ readonly templateId: string
1957
+
1958
+ /**
1959
+ * Start time in epoch nanoseconds.
1960
+ * @type {string}
1961
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1962
+ */
1963
+ readonly startTime: string
1964
+
1965
+ /**
1966
+ * End time in epoch nanoseconds.
1967
+ * @type {string}
1968
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1969
+ */
1970
+ readonly endTime: string
1971
+
1972
+ /**
1973
+ *
1974
+ * @type {string}
1975
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1976
+ */
1977
+ readonly componentName?: string
1978
+
1979
+ /**
1980
+ *
1981
+ * @type {string}
1982
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1983
+ */
1984
+ readonly instanceName?: string
1985
+
1986
+ /**
1987
+ *
1988
+ * @type {string}
1989
+ * @memberof ClusterLogApiExplainSlowLogTemplate
1990
+ */
1991
+ readonly query?: string
1992
+ }
1993
+
912
1994
  /**
913
1995
  * Request parameters for getSlowLogStats operation in ClusterLogApi.
914
1996
  * @export
@@ -939,450 +2021,1157 @@ export interface ClusterLogApiGetSlowLogStatsRequest {
939
2021
  /**
940
2022
  * End time in epoch nanoseconds.
941
2023
  * @type {string}
942
- * @memberof ClusterLogApiGetSlowLogStats
2024
+ * @memberof ClusterLogApiGetSlowLogStats
2025
+ */
2026
+ readonly endTime: string
2027
+
2028
+ /**
2029
+ *
2030
+ * @type {string}
2031
+ * @memberof ClusterLogApiGetSlowLogStats
2032
+ */
2033
+ readonly componentName?: string
2034
+
2035
+ /**
2036
+ *
2037
+ * @type {string}
2038
+ * @memberof ClusterLogApiGetSlowLogStats
2039
+ */
2040
+ readonly instanceName?: string
2041
+
2042
+ /**
2043
+ *
2044
+ * @type {string}
2045
+ * @memberof ClusterLogApiGetSlowLogStats
2046
+ */
2047
+ readonly query?: string
2048
+
2049
+ /**
2050
+ * Minimum execution time in seconds. Decimal values are supported, for example 0.5.
2051
+ * @type {number}
2052
+ * @memberof ClusterLogApiGetSlowLogStats
2053
+ */
2054
+ readonly minExecutionTime?: number
2055
+
2056
+ /**
2057
+ * Maximum execution time in seconds. Decimal values are supported, for example 0.5.
2058
+ * @type {number}
2059
+ * @memberof ClusterLogApiGetSlowLogStats
2060
+ */
2061
+ readonly maxExecutionTime?: number
2062
+
2063
+ /**
2064
+ * Minimum lock time in seconds. Decimal values are supported, for example 0.001.
2065
+ * @type {number}
2066
+ * @memberof ClusterLogApiGetSlowLogStats
2067
+ */
2068
+ readonly minLockTime?: number
2069
+
2070
+ /**
2071
+ * Maximum lock time in seconds. Decimal values are supported, for example 0.001.
2072
+ * @type {number}
2073
+ * @memberof ClusterLogApiGetSlowLogStats
2074
+ */
2075
+ readonly maxLockTime?: number
2076
+
2077
+ /**
2078
+ *
2079
+ * @type {number}
2080
+ * @memberof ClusterLogApiGetSlowLogStats
2081
+ */
2082
+ readonly minRowsExamined?: number
2083
+
2084
+ /**
2085
+ *
2086
+ * @type {number}
2087
+ * @memberof ClusterLogApiGetSlowLogStats
2088
+ */
2089
+ readonly maxRowsExamined?: number
2090
+
2091
+ /**
2092
+ *
2093
+ * @type {number}
2094
+ * @memberof ClusterLogApiGetSlowLogStats
2095
+ */
2096
+ readonly minRowsSent?: number
2097
+
2098
+ /**
2099
+ *
2100
+ * @type {number}
2101
+ * @memberof ClusterLogApiGetSlowLogStats
2102
+ */
2103
+ readonly maxRowsSent?: number
2104
+
2105
+ /**
2106
+ *
2107
+ * @type {string}
2108
+ * @memberof ClusterLogApiGetSlowLogStats
2109
+ */
2110
+ readonly dbName?: string
2111
+
2112
+ /**
2113
+ *
2114
+ * @type {string}
2115
+ * @memberof ClusterLogApiGetSlowLogStats
2116
+ */
2117
+ readonly dbNameContains?: string
2118
+
2119
+ /**
2120
+ *
2121
+ * @type {string}
2122
+ * @memberof ClusterLogApiGetSlowLogStats
2123
+ */
2124
+ readonly userName?: string
2125
+
2126
+ /**
2127
+ *
2128
+ * @type {string}
2129
+ * @memberof ClusterLogApiGetSlowLogStats
2130
+ */
2131
+ readonly userNameContains?: string
2132
+
2133
+ /**
2134
+ *
2135
+ * @type {string}
2136
+ * @memberof ClusterLogApiGetSlowLogStats
2137
+ */
2138
+ readonly clientIp?: string
2139
+
2140
+ /**
2141
+ *
2142
+ * @type {string}
2143
+ * @memberof ClusterLogApiGetSlowLogStats
2144
+ */
2145
+ readonly clientIpContains?: string
2146
+
2147
+ /**
2148
+ *
2149
+ * @type {string}
2150
+ * @memberof ClusterLogApiGetSlowLogStats
2151
+ */
2152
+ readonly clientIpCIDR?: string
2153
+
2154
+ /**
2155
+ *
2156
+ * @type {string}
2157
+ * @memberof ClusterLogApiGetSlowLogStats
2158
+ */
2159
+ readonly appName?: string
2160
+
2161
+ /**
2162
+ *
2163
+ * @type {string}
2164
+ * @memberof ClusterLogApiGetSlowLogStats
2165
+ */
2166
+ readonly appNameContains?: string
2167
+
2168
+ /**
2169
+ *
2170
+ * @type {string}
2171
+ * @memberof ClusterLogApiGetSlowLogStats
2172
+ */
2173
+ readonly templateId?: string
2174
+
2175
+ /**
2176
+ *
2177
+ * @type {boolean}
2178
+ * @memberof ClusterLogApiGetSlowLogStats
2179
+ */
2180
+ readonly unclassifiedOnly?: boolean
2181
+ }
2182
+
2183
+ /**
2184
+ * Request parameters for getSlowLogTemplate operation in ClusterLogApi.
2185
+ * @export
2186
+ * @interface ClusterLogApiGetSlowLogTemplateRequest
2187
+ */
2188
+ export interface ClusterLogApiGetSlowLogTemplateRequest {
2189
+ /**
2190
+ *
2191
+ * @type {string}
2192
+ * @memberof ClusterLogApiGetSlowLogTemplate
2193
+ */
2194
+ readonly orgName: string
2195
+
2196
+ /**
2197
+ *
2198
+ * @type {string}
2199
+ * @memberof ClusterLogApiGetSlowLogTemplate
2200
+ */
2201
+ readonly clusterName: string
2202
+
2203
+ /**
2204
+ *
2205
+ * @type {string}
2206
+ * @memberof ClusterLogApiGetSlowLogTemplate
2207
+ */
2208
+ readonly templateId: string
2209
+
2210
+ /**
2211
+ * Start time in epoch nanoseconds.
2212
+ * @type {string}
2213
+ * @memberof ClusterLogApiGetSlowLogTemplate
2214
+ */
2215
+ readonly startTime: string
2216
+
2217
+ /**
2218
+ * End time in epoch nanoseconds.
2219
+ * @type {string}
2220
+ * @memberof ClusterLogApiGetSlowLogTemplate
2221
+ */
2222
+ readonly endTime: string
2223
+
2224
+ /**
2225
+ *
2226
+ * @type {string}
2227
+ * @memberof ClusterLogApiGetSlowLogTemplate
2228
+ */
2229
+ readonly componentName?: string
2230
+
2231
+ /**
2232
+ *
2233
+ * @type {string}
2234
+ * @memberof ClusterLogApiGetSlowLogTemplate
2235
+ */
2236
+ readonly instanceName?: string
2237
+
2238
+ /**
2239
+ *
2240
+ * @type {string}
2241
+ * @memberof ClusterLogApiGetSlowLogTemplate
2242
+ */
2243
+ readonly query?: string
2244
+ }
2245
+
2246
+ /**
2247
+ * Request parameters for queryAuditLogs operation in ClusterLogApi.
2248
+ * @export
2249
+ * @interface ClusterLogApiQueryAuditLogsRequest
2250
+ */
2251
+ export interface ClusterLogApiQueryAuditLogsRequest {
2252
+ /**
2253
+ *
2254
+ * @type {string}
2255
+ * @memberof ClusterLogApiQueryAuditLogs
2256
+ */
2257
+ readonly orgName: string
2258
+
2259
+ /**
2260
+ *
2261
+ * @type {string}
2262
+ * @memberof ClusterLogApiQueryAuditLogs
2263
+ */
2264
+ readonly clusterName: string
2265
+
2266
+ /**
2267
+ * Start time in epoch nanoseconds.
2268
+ * @type {string}
2269
+ * @memberof ClusterLogApiQueryAuditLogs
2270
+ */
2271
+ readonly startTime: string
2272
+
2273
+ /**
2274
+ * End time in epoch nanoseconds.
2275
+ * @type {string}
2276
+ * @memberof ClusterLogApiQueryAuditLogs
2277
+ */
2278
+ readonly endTime: string
2279
+
2280
+ /**
2281
+ *
2282
+ * @type {string}
2283
+ * @memberof ClusterLogApiQueryAuditLogs
2284
+ */
2285
+ readonly limit?: string
2286
+
2287
+ /**
2288
+ *
2289
+ * @type {string}
2290
+ * @memberof ClusterLogApiQueryAuditLogs
2291
+ */
2292
+ readonly componentName?: string
2293
+
2294
+ /**
2295
+ *
2296
+ * @type {string}
2297
+ * @memberof ClusterLogApiQueryAuditLogs
2298
+ */
2299
+ readonly instanceName?: string
2300
+
2301
+ /**
2302
+ *
2303
+ * @type {SortType}
2304
+ * @memberof ClusterLogApiQueryAuditLogs
2305
+ */
2306
+ readonly sortType?: SortType
2307
+ }
2308
+
2309
+ /**
2310
+ * Request parameters for queryErrorLogs operation in ClusterLogApi.
2311
+ * @export
2312
+ * @interface ClusterLogApiQueryErrorLogsRequest
2313
+ */
2314
+ export interface ClusterLogApiQueryErrorLogsRequest {
2315
+ /**
2316
+ *
2317
+ * @type {string}
2318
+ * @memberof ClusterLogApiQueryErrorLogs
2319
+ */
2320
+ readonly orgName: string
2321
+
2322
+ /**
2323
+ *
2324
+ * @type {string}
2325
+ * @memberof ClusterLogApiQueryErrorLogs
2326
+ */
2327
+ readonly clusterName: string
2328
+
2329
+ /**
2330
+ * Start time in epoch nanoseconds.
2331
+ * @type {string}
2332
+ * @memberof ClusterLogApiQueryErrorLogs
2333
+ */
2334
+ readonly startTime: string
2335
+
2336
+ /**
2337
+ * End time in epoch nanoseconds.
2338
+ * @type {string}
2339
+ * @memberof ClusterLogApiQueryErrorLogs
2340
+ */
2341
+ readonly endTime: string
2342
+
2343
+ /**
2344
+ *
2345
+ * @type {string}
2346
+ * @memberof ClusterLogApiQueryErrorLogs
2347
+ */
2348
+ readonly componentName?: string
2349
+
2350
+ /**
2351
+ *
2352
+ * @type {string}
2353
+ * @memberof ClusterLogApiQueryErrorLogs
2354
+ */
2355
+ readonly instanceName?: string
2356
+
2357
+ /**
2358
+ *
2359
+ * @type {string}
2360
+ * @memberof ClusterLogApiQueryErrorLogs
2361
+ */
2362
+ readonly filename?: string
2363
+
2364
+ /**
2365
+ *
2366
+ * @type {string}
2367
+ * @memberof ClusterLogApiQueryErrorLogs
2368
+ */
2369
+ readonly query?: string
2370
+
2371
+ /**
2372
+ *
2373
+ * @type {string}
2374
+ * @memberof ClusterLogApiQueryErrorLogs
2375
+ */
2376
+ readonly limit?: string
2377
+
2378
+ /**
2379
+ *
2380
+ * @type {SortType}
2381
+ * @memberof ClusterLogApiQueryErrorLogs
2382
+ */
2383
+ readonly sortType?: SortType
2384
+ }
2385
+
2386
+ /**
2387
+ * Request parameters for queryLogHits operation in ClusterLogApi.
2388
+ * @export
2389
+ * @interface ClusterLogApiQueryLogHitsRequest
2390
+ */
2391
+ export interface ClusterLogApiQueryLogHitsRequest {
2392
+ /**
2393
+ *
2394
+ * @type {string}
2395
+ * @memberof ClusterLogApiQueryLogHits
2396
+ */
2397
+ readonly orgName: string
2398
+
2399
+ /**
2400
+ *
2401
+ * @type {string}
2402
+ * @memberof ClusterLogApiQueryLogHits
2403
+ */
2404
+ readonly clusterName: string
2405
+
2406
+ /**
2407
+ * Start time in epoch nanoseconds.
2408
+ * @type {string}
2409
+ * @memberof ClusterLogApiQueryLogHits
2410
+ */
2411
+ readonly startTime: string
2412
+
2413
+ /**
2414
+ * End time in epoch nanoseconds.
2415
+ * @type {string}
2416
+ * @memberof ClusterLogApiQueryLogHits
2417
+ */
2418
+ readonly endTime: string
2419
+
2420
+ /**
2421
+ * Time bucket size, e.g. 5s, 30s, 1m, 5m, 30m, 1h
2422
+ * @type {string}
2423
+ * @memberof ClusterLogApiQueryLogHits
2424
+ */
2425
+ readonly step: string
2426
+
2427
+ /**
2428
+ * Log type: runninglog, errorlog, slow, auditlog
2429
+ * @type {string}
2430
+ * @memberof ClusterLogApiQueryLogHits
2431
+ */
2432
+ readonly logType: string
2433
+
2434
+ /**
2435
+ *
2436
+ * @type {string}
2437
+ * @memberof ClusterLogApiQueryLogHits
2438
+ */
2439
+ readonly componentName?: string
2440
+
2441
+ /**
2442
+ *
2443
+ * @type {string}
2444
+ * @memberof ClusterLogApiQueryLogHits
2445
+ */
2446
+ readonly instanceName?: string
2447
+
2448
+ /**
2449
+ *
2450
+ * @type {string}
2451
+ * @memberof ClusterLogApiQueryLogHits
2452
+ */
2453
+ readonly query?: string
2454
+
2455
+ /**
2456
+ * Minimum slow log execution time in seconds. Only applies when logType&#x3D;slow.
2457
+ * @type {number}
2458
+ * @memberof ClusterLogApiQueryLogHits
2459
+ */
2460
+ readonly minExecutionTime?: number
2461
+
2462
+ /**
2463
+ * Maximum slow log execution time in seconds. Only applies when logType&#x3D;slow.
2464
+ * @type {number}
2465
+ * @memberof ClusterLogApiQueryLogHits
2466
+ */
2467
+ readonly maxExecutionTime?: number
2468
+
2469
+ /**
2470
+ * Minimum slow log lock time in seconds. Only applies when logType&#x3D;slow.
2471
+ * @type {number}
2472
+ * @memberof ClusterLogApiQueryLogHits
2473
+ */
2474
+ readonly minLockTime?: number
2475
+
2476
+ /**
2477
+ * Maximum slow log lock time in seconds. Only applies when logType&#x3D;slow.
2478
+ * @type {number}
2479
+ * @memberof ClusterLogApiQueryLogHits
2480
+ */
2481
+ readonly maxLockTime?: number
2482
+
2483
+ /**
2484
+ *
2485
+ * @type {number}
2486
+ * @memberof ClusterLogApiQueryLogHits
2487
+ */
2488
+ readonly minRowsExamined?: number
2489
+
2490
+ /**
2491
+ *
2492
+ * @type {number}
2493
+ * @memberof ClusterLogApiQueryLogHits
2494
+ */
2495
+ readonly maxRowsExamined?: number
2496
+
2497
+ /**
2498
+ *
2499
+ * @type {number}
2500
+ * @memberof ClusterLogApiQueryLogHits
2501
+ */
2502
+ readonly minRowsSent?: number
2503
+
2504
+ /**
2505
+ *
2506
+ * @type {number}
2507
+ * @memberof ClusterLogApiQueryLogHits
2508
+ */
2509
+ readonly maxRowsSent?: number
2510
+
2511
+ /**
2512
+ *
2513
+ * @type {string}
2514
+ * @memberof ClusterLogApiQueryLogHits
2515
+ */
2516
+ readonly dbName?: string
2517
+
2518
+ /**
2519
+ *
2520
+ * @type {string}
2521
+ * @memberof ClusterLogApiQueryLogHits
2522
+ */
2523
+ readonly userName?: string
2524
+
2525
+ /**
2526
+ *
2527
+ * @type {string}
2528
+ * @memberof ClusterLogApiQueryLogHits
2529
+ */
2530
+ readonly clientIp?: string
2531
+
2532
+ /**
2533
+ *
2534
+ * @type {string}
2535
+ * @memberof ClusterLogApiQueryLogHits
2536
+ */
2537
+ readonly appName?: string
2538
+
2539
+ /**
2540
+ *
2541
+ * @type {string}
2542
+ * @memberof ClusterLogApiQueryLogHits
2543
+ */
2544
+ readonly templateId?: string
2545
+
2546
+ /**
2547
+ *
2548
+ * @type {boolean}
2549
+ * @memberof ClusterLogApiQueryLogHits
2550
+ */
2551
+ readonly unclassifiedOnly?: boolean
2552
+ }
2553
+
2554
+ /**
2555
+ * Request parameters for queryPodLogs operation in ClusterLogApi.
2556
+ * @export
2557
+ * @interface ClusterLogApiQueryPodLogsRequest
2558
+ */
2559
+ export interface ClusterLogApiQueryPodLogsRequest {
2560
+ /**
2561
+ *
2562
+ * @type {string}
2563
+ * @memberof ClusterLogApiQueryPodLogs
2564
+ */
2565
+ readonly orgName: string
2566
+
2567
+ /**
2568
+ *
2569
+ * @type {string}
2570
+ * @memberof ClusterLogApiQueryPodLogs
2571
+ */
2572
+ readonly clusterName: string
2573
+
2574
+ /**
2575
+ * Start time in epoch nanoseconds.
2576
+ * @type {string}
2577
+ * @memberof ClusterLogApiQueryPodLogs
2578
+ */
2579
+ readonly startTime: string
2580
+
2581
+ /**
2582
+ * End time in epoch nanoseconds.
2583
+ * @type {string}
2584
+ * @memberof ClusterLogApiQueryPodLogs
2585
+ */
2586
+ readonly endTime: string
2587
+
2588
+ /**
2589
+ *
2590
+ * @type {string}
2591
+ * @memberof ClusterLogApiQueryPodLogs
2592
+ */
2593
+ readonly componentName?: string
2594
+
2595
+ /**
2596
+ *
2597
+ * @type {string}
2598
+ * @memberof ClusterLogApiQueryPodLogs
2599
+ */
2600
+ readonly instanceName?: string
2601
+
2602
+ /**
2603
+ *
2604
+ * @type {string}
2605
+ * @memberof ClusterLogApiQueryPodLogs
2606
+ */
2607
+ readonly filename?: string
2608
+
2609
+ /**
2610
+ *
2611
+ * @type {string}
2612
+ * @memberof ClusterLogApiQueryPodLogs
2613
+ */
2614
+ readonly limit?: string
2615
+
2616
+ /**
2617
+ *
2618
+ * @type {SortType}
2619
+ * @memberof ClusterLogApiQueryPodLogs
2620
+ */
2621
+ readonly sortType?: SortType
2622
+ }
2623
+
2624
+ /**
2625
+ * Request parameters for queryRunningLogs operation in ClusterLogApi.
2626
+ * @export
2627
+ * @interface ClusterLogApiQueryRunningLogsRequest
2628
+ */
2629
+ export interface ClusterLogApiQueryRunningLogsRequest {
2630
+ /**
2631
+ *
2632
+ * @type {string}
2633
+ * @memberof ClusterLogApiQueryRunningLogs
2634
+ */
2635
+ readonly orgName: string
2636
+
2637
+ /**
2638
+ *
2639
+ * @type {string}
2640
+ * @memberof ClusterLogApiQueryRunningLogs
2641
+ */
2642
+ readonly clusterName: string
2643
+
2644
+ /**
2645
+ * Start time in epoch nanoseconds.
2646
+ * @type {string}
2647
+ * @memberof ClusterLogApiQueryRunningLogs
2648
+ */
2649
+ readonly startTime: string
2650
+
2651
+ /**
2652
+ * End time in epoch nanoseconds.
2653
+ * @type {string}
2654
+ * @memberof ClusterLogApiQueryRunningLogs
2655
+ */
2656
+ readonly endTime: string
2657
+
2658
+ /**
2659
+ *
2660
+ * @type {string}
2661
+ * @memberof ClusterLogApiQueryRunningLogs
2662
+ */
2663
+ readonly componentName?: string
2664
+
2665
+ /**
2666
+ *
2667
+ * @type {string}
2668
+ * @memberof ClusterLogApiQueryRunningLogs
2669
+ */
2670
+ readonly instanceName?: string
2671
+
2672
+ /**
2673
+ *
2674
+ * @type {string}
2675
+ * @memberof ClusterLogApiQueryRunningLogs
2676
+ */
2677
+ readonly filename?: string
2678
+
2679
+ /**
2680
+ *
2681
+ * @type {string}
2682
+ * @memberof ClusterLogApiQueryRunningLogs
943
2683
  */
944
- readonly endTime: string
2684
+ readonly limit?: string
945
2685
 
946
2686
  /**
947
2687
  *
948
2688
  * @type {string}
949
- * @memberof ClusterLogApiGetSlowLogStats
2689
+ * @memberof ClusterLogApiQueryRunningLogs
950
2690
  */
951
- readonly componentName?: string
2691
+ readonly query?: string
952
2692
 
953
2693
  /**
954
2694
  *
955
- * @type {string}
956
- * @memberof ClusterLogApiGetSlowLogStats
2695
+ * @type {SortType}
2696
+ * @memberof ClusterLogApiQueryRunningLogs
957
2697
  */
958
- readonly instanceName?: string
2698
+ readonly sortType?: SortType
959
2699
  }
960
2700
 
961
2701
  /**
962
- * Request parameters for queryAuditLogs operation in ClusterLogApi.
2702
+ * Request parameters for querySlowLogTemplateSamples operation in ClusterLogApi.
963
2703
  * @export
964
- * @interface ClusterLogApiQueryAuditLogsRequest
2704
+ * @interface ClusterLogApiQuerySlowLogTemplateSamplesRequest
965
2705
  */
966
- export interface ClusterLogApiQueryAuditLogsRequest {
2706
+ export interface ClusterLogApiQuerySlowLogTemplateSamplesRequest {
967
2707
  /**
968
2708
  *
969
2709
  * @type {string}
970
- * @memberof ClusterLogApiQueryAuditLogs
2710
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
971
2711
  */
972
2712
  readonly orgName: string
973
2713
 
974
2714
  /**
975
2715
  *
976
2716
  * @type {string}
977
- * @memberof ClusterLogApiQueryAuditLogs
2717
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
978
2718
  */
979
2719
  readonly clusterName: string
980
2720
 
2721
+ /**
2722
+ *
2723
+ * @type {string}
2724
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
2725
+ */
2726
+ readonly templateId: string
2727
+
981
2728
  /**
982
2729
  * Start time in epoch nanoseconds.
983
2730
  * @type {string}
984
- * @memberof ClusterLogApiQueryAuditLogs
2731
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
985
2732
  */
986
2733
  readonly startTime: string
987
2734
 
988
2735
  /**
989
2736
  * End time in epoch nanoseconds.
990
2737
  * @type {string}
991
- * @memberof ClusterLogApiQueryAuditLogs
2738
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
992
2739
  */
993
2740
  readonly endTime: string
994
2741
 
995
2742
  /**
996
2743
  *
997
2744
  * @type {string}
998
- * @memberof ClusterLogApiQueryAuditLogs
2745
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
999
2746
  */
1000
- readonly limit?: string
2747
+ readonly componentName?: string
1001
2748
 
1002
2749
  /**
1003
2750
  *
1004
2751
  * @type {string}
1005
- * @memberof ClusterLogApiQueryAuditLogs
2752
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1006
2753
  */
1007
- readonly componentName?: string
2754
+ readonly instanceName?: string
1008
2755
 
1009
2756
  /**
1010
2757
  *
1011
2758
  * @type {string}
1012
- * @memberof ClusterLogApiQueryAuditLogs
2759
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1013
2760
  */
1014
- readonly instanceName?: string
2761
+ readonly query?: string
2762
+
2763
+ /**
2764
+ *
2765
+ * @type {string}
2766
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
2767
+ */
2768
+ readonly limit?: string
1015
2769
 
1016
2770
  /**
1017
2771
  *
1018
2772
  * @type {SortType}
1019
- * @memberof ClusterLogApiQueryAuditLogs
2773
+ * @memberof ClusterLogApiQuerySlowLogTemplateSamples
1020
2774
  */
1021
2775
  readonly sortType?: SortType
1022
2776
  }
1023
2777
 
1024
2778
  /**
1025
- * Request parameters for queryErrorLogs operation in ClusterLogApi.
2779
+ * Request parameters for querySlowLogTemplates operation in ClusterLogApi.
1026
2780
  * @export
1027
- * @interface ClusterLogApiQueryErrorLogsRequest
2781
+ * @interface ClusterLogApiQuerySlowLogTemplatesRequest
1028
2782
  */
1029
- export interface ClusterLogApiQueryErrorLogsRequest {
2783
+ export interface ClusterLogApiQuerySlowLogTemplatesRequest {
1030
2784
  /**
1031
2785
  *
1032
2786
  * @type {string}
1033
- * @memberof ClusterLogApiQueryErrorLogs
2787
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1034
2788
  */
1035
2789
  readonly orgName: string
1036
2790
 
1037
2791
  /**
1038
2792
  *
1039
2793
  * @type {string}
1040
- * @memberof ClusterLogApiQueryErrorLogs
2794
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1041
2795
  */
1042
2796
  readonly clusterName: string
1043
2797
 
1044
2798
  /**
1045
2799
  * Start time in epoch nanoseconds.
1046
2800
  * @type {string}
1047
- * @memberof ClusterLogApiQueryErrorLogs
2801
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1048
2802
  */
1049
2803
  readonly startTime: string
1050
2804
 
1051
2805
  /**
1052
2806
  * End time in epoch nanoseconds.
1053
2807
  * @type {string}
1054
- * @memberof ClusterLogApiQueryErrorLogs
2808
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1055
2809
  */
1056
2810
  readonly endTime: string
1057
2811
 
1058
2812
  /**
1059
2813
  *
1060
2814
  * @type {string}
1061
- * @memberof ClusterLogApiQueryErrorLogs
2815
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1062
2816
  */
1063
2817
  readonly componentName?: string
1064
2818
 
1065
2819
  /**
1066
2820
  *
1067
2821
  * @type {string}
1068
- * @memberof ClusterLogApiQueryErrorLogs
2822
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1069
2823
  */
1070
2824
  readonly instanceName?: string
1071
2825
 
1072
2826
  /**
1073
2827
  *
1074
2828
  * @type {string}
1075
- * @memberof ClusterLogApiQueryErrorLogs
2829
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1076
2830
  */
1077
- readonly filename?: string
2831
+ readonly query?: string
1078
2832
 
1079
2833
  /**
1080
2834
  *
1081
- * @type {string}
1082
- * @memberof ClusterLogApiQueryErrorLogs
2835
+ * @type {number}
2836
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1083
2837
  */
1084
- readonly query?: string
2838
+ readonly topN?: number
1085
2839
 
1086
2840
  /**
1087
- *
2841
+ * Sort templates by count or avgExecutionTime.
1088
2842
  * @type {string}
1089
- * @memberof ClusterLogApiQueryErrorLogs
2843
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1090
2844
  */
1091
- readonly limit?: string
2845
+ readonly sortBy?: string
1092
2846
 
1093
2847
  /**
1094
2848
  *
1095
2849
  * @type {SortType}
1096
- * @memberof ClusterLogApiQueryErrorLogs
2850
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1097
2851
  */
1098
2852
  readonly sortType?: SortType
1099
- }
1100
2853
 
1101
- /**
1102
- * Request parameters for queryLogHits operation in ClusterLogApi.
1103
- * @export
1104
- * @interface ClusterLogApiQueryLogHitsRequest
1105
- */
1106
- export interface ClusterLogApiQueryLogHitsRequest {
2854
+ /**
2855
+ * Minimum execution time in seconds. Decimal values are supported, for example 0.5.
2856
+ * @type {number}
2857
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2858
+ */
2859
+ readonly minExecutionTime?: number
2860
+
2861
+ /**
2862
+ * Maximum execution time in seconds. Decimal values are supported, for example 0.5.
2863
+ * @type {number}
2864
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2865
+ */
2866
+ readonly maxExecutionTime?: number
2867
+
2868
+ /**
2869
+ * Minimum lock time in seconds. Decimal values are supported, for example 0.001.
2870
+ * @type {number}
2871
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2872
+ */
2873
+ readonly minLockTime?: number
2874
+
2875
+ /**
2876
+ * Maximum lock time in seconds. Decimal values are supported, for example 0.001.
2877
+ * @type {number}
2878
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2879
+ */
2880
+ readonly maxLockTime?: number
2881
+
2882
+ /**
2883
+ *
2884
+ * @type {number}
2885
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2886
+ */
2887
+ readonly minRowsExamined?: number
2888
+
2889
+ /**
2890
+ *
2891
+ * @type {number}
2892
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2893
+ */
2894
+ readonly maxRowsExamined?: number
2895
+
2896
+ /**
2897
+ *
2898
+ * @type {number}
2899
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2900
+ */
2901
+ readonly minRowsSent?: number
2902
+
2903
+ /**
2904
+ *
2905
+ * @type {number}
2906
+ * @memberof ClusterLogApiQuerySlowLogTemplates
2907
+ */
2908
+ readonly maxRowsSent?: number
2909
+
1107
2910
  /**
1108
2911
  *
1109
2912
  * @type {string}
1110
- * @memberof ClusterLogApiQueryLogHits
2913
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1111
2914
  */
1112
- readonly orgName: string
2915
+ readonly dbName?: string
1113
2916
 
1114
2917
  /**
1115
2918
  *
1116
2919
  * @type {string}
1117
- * @memberof ClusterLogApiQueryLogHits
2920
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1118
2921
  */
1119
- readonly clusterName: string
2922
+ readonly dbNameContains?: string
1120
2923
 
1121
2924
  /**
1122
- * Start time in epoch nanoseconds.
2925
+ *
1123
2926
  * @type {string}
1124
- * @memberof ClusterLogApiQueryLogHits
2927
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1125
2928
  */
1126
- readonly startTime: string
2929
+ readonly userName?: string
1127
2930
 
1128
2931
  /**
1129
- * End time in epoch nanoseconds.
2932
+ *
1130
2933
  * @type {string}
1131
- * @memberof ClusterLogApiQueryLogHits
2934
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1132
2935
  */
1133
- readonly endTime: string
2936
+ readonly userNameContains?: string
1134
2937
 
1135
2938
  /**
1136
- * Time bucket size, e.g. 5s, 30s, 1m, 5m, 30m, 1h
2939
+ *
1137
2940
  * @type {string}
1138
- * @memberof ClusterLogApiQueryLogHits
2941
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1139
2942
  */
1140
- readonly step: string
2943
+ readonly clientIp?: string
1141
2944
 
1142
2945
  /**
1143
- * Log type: runninglog, errorlog, slow, auditlog
2946
+ *
1144
2947
  * @type {string}
1145
- * @memberof ClusterLogApiQueryLogHits
2948
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1146
2949
  */
1147
- readonly logType: string
2950
+ readonly clientIpContains?: string
1148
2951
 
1149
2952
  /**
1150
2953
  *
1151
2954
  * @type {string}
1152
- * @memberof ClusterLogApiQueryLogHits
2955
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1153
2956
  */
1154
- readonly componentName?: string
2957
+ readonly clientIpCIDR?: string
1155
2958
 
1156
2959
  /**
1157
2960
  *
1158
2961
  * @type {string}
1159
- * @memberof ClusterLogApiQueryLogHits
2962
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1160
2963
  */
1161
- readonly instanceName?: string
2964
+ readonly appName?: string
1162
2965
 
1163
2966
  /**
1164
2967
  *
1165
2968
  * @type {string}
1166
- * @memberof ClusterLogApiQueryLogHits
2969
+ * @memberof ClusterLogApiQuerySlowLogTemplates
1167
2970
  */
1168
- readonly query?: string
2971
+ readonly appNameContains?: string
1169
2972
  }
1170
2973
 
1171
2974
  /**
1172
- * Request parameters for queryPodLogs operation in ClusterLogApi.
2975
+ * Request parameters for querySlowLogs operation in ClusterLogApi.
1173
2976
  * @export
1174
- * @interface ClusterLogApiQueryPodLogsRequest
2977
+ * @interface ClusterLogApiQuerySlowLogsRequest
1175
2978
  */
1176
- export interface ClusterLogApiQueryPodLogsRequest {
2979
+ export interface ClusterLogApiQuerySlowLogsRequest {
1177
2980
  /**
1178
2981
  *
1179
2982
  * @type {string}
1180
- * @memberof ClusterLogApiQueryPodLogs
2983
+ * @memberof ClusterLogApiQuerySlowLogs
1181
2984
  */
1182
2985
  readonly orgName: string
1183
2986
 
1184
2987
  /**
1185
2988
  *
1186
2989
  * @type {string}
1187
- * @memberof ClusterLogApiQueryPodLogs
2990
+ * @memberof ClusterLogApiQuerySlowLogs
1188
2991
  */
1189
2992
  readonly clusterName: string
1190
2993
 
1191
2994
  /**
1192
2995
  * Start time in epoch nanoseconds.
1193
2996
  * @type {string}
1194
- * @memberof ClusterLogApiQueryPodLogs
2997
+ * @memberof ClusterLogApiQuerySlowLogs
1195
2998
  */
1196
2999
  readonly startTime: string
1197
3000
 
1198
3001
  /**
1199
3002
  * End time in epoch nanoseconds.
1200
3003
  * @type {string}
1201
- * @memberof ClusterLogApiQueryPodLogs
3004
+ * @memberof ClusterLogApiQuerySlowLogs
1202
3005
  */
1203
3006
  readonly endTime: string
1204
3007
 
1205
3008
  /**
1206
3009
  *
1207
3010
  * @type {string}
1208
- * @memberof ClusterLogApiQueryPodLogs
3011
+ * @memberof ClusterLogApiQuerySlowLogs
1209
3012
  */
1210
3013
  readonly componentName?: string
1211
3014
 
1212
3015
  /**
1213
3016
  *
1214
3017
  * @type {string}
1215
- * @memberof ClusterLogApiQueryPodLogs
3018
+ * @memberof ClusterLogApiQuerySlowLogs
1216
3019
  */
1217
3020
  readonly instanceName?: string
1218
3021
 
1219
3022
  /**
1220
3023
  *
1221
3024
  * @type {string}
1222
- * @memberof ClusterLogApiQueryPodLogs
3025
+ * @memberof ClusterLogApiQuerySlowLogs
1223
3026
  */
1224
- readonly filename?: string
3027
+ readonly query?: string
1225
3028
 
1226
3029
  /**
1227
3030
  *
1228
3031
  * @type {string}
1229
- * @memberof ClusterLogApiQueryPodLogs
3032
+ * @memberof ClusterLogApiQuerySlowLogs
1230
3033
  */
1231
3034
  readonly limit?: string
1232
3035
 
1233
3036
  /**
1234
3037
  *
1235
3038
  * @type {SortType}
1236
- * @memberof ClusterLogApiQueryPodLogs
3039
+ * @memberof ClusterLogApiQuerySlowLogs
1237
3040
  */
1238
3041
  readonly sortType?: SortType
1239
- }
1240
3042
 
1241
- /**
1242
- * Request parameters for queryRunningLogs operation in ClusterLogApi.
1243
- * @export
1244
- * @interface ClusterLogApiQueryRunningLogsRequest
1245
- */
1246
- export interface ClusterLogApiQueryRunningLogsRequest {
1247
3043
  /**
1248
- *
1249
- * @type {string}
1250
- * @memberof ClusterLogApiQueryRunningLogs
3044
+ * Minimum execution time in seconds. Decimal values are supported, for example 0.5.
3045
+ * @type {number}
3046
+ * @memberof ClusterLogApiQuerySlowLogs
1251
3047
  */
1252
- readonly orgName: string
3048
+ readonly minExecutionTime?: number
1253
3049
 
1254
3050
  /**
1255
- *
1256
- * @type {string}
1257
- * @memberof ClusterLogApiQueryRunningLogs
3051
+ * Maximum execution time in seconds. Decimal values are supported, for example 0.5.
3052
+ * @type {number}
3053
+ * @memberof ClusterLogApiQuerySlowLogs
1258
3054
  */
1259
- readonly clusterName: string
3055
+ readonly maxExecutionTime?: number
1260
3056
 
1261
3057
  /**
1262
- * Start time in epoch nanoseconds.
1263
- * @type {string}
1264
- * @memberof ClusterLogApiQueryRunningLogs
3058
+ * Minimum lock time in seconds. Decimal values are supported, for example 0.001.
3059
+ * @type {number}
3060
+ * @memberof ClusterLogApiQuerySlowLogs
1265
3061
  */
1266
- readonly startTime: string
3062
+ readonly minLockTime?: number
1267
3063
 
1268
3064
  /**
1269
- * End time in epoch nanoseconds.
1270
- * @type {string}
1271
- * @memberof ClusterLogApiQueryRunningLogs
3065
+ * Maximum lock time in seconds. Decimal values are supported, for example 0.001.
3066
+ * @type {number}
3067
+ * @memberof ClusterLogApiQuerySlowLogs
1272
3068
  */
1273
- readonly endTime: string
3069
+ readonly maxLockTime?: number
1274
3070
 
1275
3071
  /**
1276
3072
  *
1277
- * @type {string}
1278
- * @memberof ClusterLogApiQueryRunningLogs
3073
+ * @type {number}
3074
+ * @memberof ClusterLogApiQuerySlowLogs
1279
3075
  */
1280
- readonly componentName?: string
3076
+ readonly minRowsExamined?: number
1281
3077
 
1282
3078
  /**
1283
3079
  *
1284
- * @type {string}
1285
- * @memberof ClusterLogApiQueryRunningLogs
3080
+ * @type {number}
3081
+ * @memberof ClusterLogApiQuerySlowLogs
1286
3082
  */
1287
- readonly instanceName?: string
3083
+ readonly maxRowsExamined?: number
1288
3084
 
1289
3085
  /**
1290
3086
  *
1291
- * @type {string}
1292
- * @memberof ClusterLogApiQueryRunningLogs
3087
+ * @type {number}
3088
+ * @memberof ClusterLogApiQuerySlowLogs
1293
3089
  */
1294
- readonly filename?: string
3090
+ readonly minRowsSent?: number
1295
3091
 
1296
3092
  /**
1297
3093
  *
1298
- * @type {string}
1299
- * @memberof ClusterLogApiQueryRunningLogs
3094
+ * @type {number}
3095
+ * @memberof ClusterLogApiQuerySlowLogs
1300
3096
  */
1301
- readonly limit?: string
3097
+ readonly maxRowsSent?: number
1302
3098
 
1303
3099
  /**
1304
3100
  *
1305
3101
  * @type {string}
1306
- * @memberof ClusterLogApiQueryRunningLogs
3102
+ * @memberof ClusterLogApiQuerySlowLogs
1307
3103
  */
1308
- readonly query?: string
3104
+ readonly dbName?: string
1309
3105
 
1310
3106
  /**
1311
3107
  *
1312
- * @type {SortType}
1313
- * @memberof ClusterLogApiQueryRunningLogs
3108
+ * @type {string}
3109
+ * @memberof ClusterLogApiQuerySlowLogs
1314
3110
  */
1315
- readonly sortType?: SortType
1316
- }
3111
+ readonly dbNameContains?: string
1317
3112
 
1318
- /**
1319
- * Request parameters for querySlowLogs operation in ClusterLogApi.
1320
- * @export
1321
- * @interface ClusterLogApiQuerySlowLogsRequest
1322
- */
1323
- export interface ClusterLogApiQuerySlowLogsRequest {
1324
3113
  /**
1325
3114
  *
1326
3115
  * @type {string}
1327
3116
  * @memberof ClusterLogApiQuerySlowLogs
1328
3117
  */
1329
- readonly orgName: string
3118
+ readonly userName?: string
1330
3119
 
1331
3120
  /**
1332
3121
  *
1333
3122
  * @type {string}
1334
3123
  * @memberof ClusterLogApiQuerySlowLogs
1335
3124
  */
1336
- readonly clusterName: string
3125
+ readonly userNameContains?: string
1337
3126
 
1338
3127
  /**
1339
- * Start time in epoch nanoseconds.
3128
+ *
1340
3129
  * @type {string}
1341
3130
  * @memberof ClusterLogApiQuerySlowLogs
1342
3131
  */
1343
- readonly startTime: string
3132
+ readonly clientIp?: string
1344
3133
 
1345
3134
  /**
1346
- * End time in epoch nanoseconds.
3135
+ *
1347
3136
  * @type {string}
1348
3137
  * @memberof ClusterLogApiQuerySlowLogs
1349
3138
  */
1350
- readonly endTime: string
3139
+ readonly clientIpContains?: string
1351
3140
 
1352
3141
  /**
1353
3142
  *
1354
3143
  * @type {string}
1355
3144
  * @memberof ClusterLogApiQuerySlowLogs
1356
3145
  */
1357
- readonly componentName?: string
3146
+ readonly clientIpCIDR?: string
1358
3147
 
1359
3148
  /**
1360
3149
  *
1361
3150
  * @type {string}
1362
3151
  * @memberof ClusterLogApiQuerySlowLogs
1363
3152
  */
1364
- readonly instanceName?: string
3153
+ readonly appName?: string
1365
3154
 
1366
3155
  /**
1367
3156
  *
1368
3157
  * @type {string}
1369
3158
  * @memberof ClusterLogApiQuerySlowLogs
1370
3159
  */
1371
- readonly query?: string
3160
+ readonly appNameContains?: string
1372
3161
 
1373
3162
  /**
1374
3163
  *
1375
3164
  * @type {string}
1376
3165
  * @memberof ClusterLogApiQuerySlowLogs
1377
3166
  */
1378
- readonly limit?: string
3167
+ readonly templateId?: string
1379
3168
 
1380
3169
  /**
1381
3170
  *
1382
- * @type {SortType}
3171
+ * @type {boolean}
1383
3172
  * @memberof ClusterLogApiQuerySlowLogs
1384
3173
  */
1385
- readonly sortType?: SortType
3174
+ readonly unclassifiedOnly?: boolean
1386
3175
  }
1387
3176
 
1388
3177
  /**
@@ -1392,6 +3181,30 @@ export interface ClusterLogApiQuerySlowLogsRequest {
1392
3181
  * @extends {BaseAPI}
1393
3182
  */
1394
3183
  export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
3184
+ /**
3185
+ * Explain a concrete SQL from a slow log using the cluster default datasource.
3186
+ * @summary Explain cluster slow log SQL
3187
+ * @param {ClusterLogApiExplainSlowLogRequest} requestParameters Request parameters.
3188
+ * @param {*} [options] Override http request option.
3189
+ * @throws {RequiredError}
3190
+ * @memberof ClusterLogApi
3191
+ */
3192
+ public explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig) {
3193
+ return ClusterLogApiFp(this.configuration).explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(this.axios, this.basePath));
3194
+ }
3195
+
3196
+ /**
3197
+ * 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.
3198
+ * @summary Explain cluster slow log template
3199
+ * @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
3200
+ * @param {*} [options] Override http request option.
3201
+ * @throws {RequiredError}
3202
+ * @memberof ClusterLogApi
3203
+ */
3204
+ public explainSlowLogTemplate(requestParameters: ClusterLogApiExplainSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
3205
+ 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));
3206
+ }
3207
+
1395
3208
  /**
1396
3209
  * Get statistics summary for slow logs of a cluster
1397
3210
  * @summary Get cluster slow log statistics
@@ -1401,7 +3214,19 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
1401
3214
  * @memberof ClusterLogApi
1402
3215
  */
1403
3216
  public getSlowLogStats(requestParameters: ClusterLogApiGetSlowLogStatsRequest, options?: RawAxiosRequestConfig) {
1404
- 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));
3217
+ 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));
3218
+ }
3219
+
3220
+ /**
3221
+ * Get a slow log template of a cluster (VictoriaLogs backend only)
3222
+ * @summary Get cluster slow log template
3223
+ * @param {ClusterLogApiGetSlowLogTemplateRequest} requestParameters Request parameters.
3224
+ * @param {*} [options] Override http request option.
3225
+ * @throws {RequiredError}
3226
+ * @memberof ClusterLogApi
3227
+ */
3228
+ public getSlowLogTemplate(requestParameters: ClusterLogApiGetSlowLogTemplateRequest, options?: RawAxiosRequestConfig) {
3229
+ 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));
1405
3230
  }
1406
3231
 
1407
3232
  /**
@@ -1437,7 +3262,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
1437
3262
  * @memberof ClusterLogApi
1438
3263
  */
1439
3264
  public queryLogHits(requestParameters: ClusterLogApiQueryLogHitsRequest, options?: RawAxiosRequestConfig) {
1440
- 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));
3265
+ 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));
1441
3266
  }
1442
3267
 
1443
3268
  /**
@@ -1464,6 +3289,30 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
1464
3289
  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));
1465
3290
  }
1466
3291
 
3292
+ /**
3293
+ * Query slow log samples for a template
3294
+ * @summary Query cluster slow log template samples
3295
+ * @param {ClusterLogApiQuerySlowLogTemplateSamplesRequest} requestParameters Request parameters.
3296
+ * @param {*} [options] Override http request option.
3297
+ * @throws {RequiredError}
3298
+ * @memberof ClusterLogApi
3299
+ */
3300
+ public querySlowLogTemplateSamples(requestParameters: ClusterLogApiQuerySlowLogTemplateSamplesRequest, options?: RawAxiosRequestConfig) {
3301
+ 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));
3302
+ }
3303
+
3304
+ /**
3305
+ * Query slow log templates of a cluster (VictoriaLogs backend only)
3306
+ * @summary Query cluster slow log templates
3307
+ * @param {ClusterLogApiQuerySlowLogTemplatesRequest} requestParameters Request parameters.
3308
+ * @param {*} [options] Override http request option.
3309
+ * @throws {RequiredError}
3310
+ * @memberof ClusterLogApi
3311
+ */
3312
+ public querySlowLogTemplates(requestParameters: ClusterLogApiQuerySlowLogTemplatesRequest, options?: RawAxiosRequestConfig) {
3313
+ 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));
3314
+ }
3315
+
1467
3316
  /**
1468
3317
  * Query slow logs of a cluster
1469
3318
  * @summary Query cluster slow logs
@@ -1473,7 +3322,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
1473
3322
  * @memberof ClusterLogApi
1474
3323
  */
1475
3324
  public querySlowLogs(requestParameters: ClusterLogApiQuerySlowLogsRequest, options?: RawAxiosRequestConfig) {
1476
- 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));
3325
+ 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));
1477
3326
  }
1478
3327
  }
1479
3328