kb-cloud-client-typescript 2.3.0-alpha.124 → 2.3.0-alpha.125

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 (325) hide show
  1. package/dist/adminapi/apis/dms-api.d.ts +1106 -6
  2. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/dms-api.js +1175 -44
  4. package/dist/adminapi/apis/dms-api.js.map +1 -1
  5. package/dist/adminapi/models/index.d.ts +30 -0
  6. package/dist/adminapi/models/index.d.ts.map +1 -1
  7. package/dist/adminapi/models/index.js +30 -0
  8. package/dist/adminapi/models/index.js.map +1 -1
  9. package/dist/adminapi/models/redis-aclcontext.d.ts +49 -0
  10. package/dist/adminapi/models/redis-aclcontext.d.ts.map +1 -0
  11. package/dist/adminapi/models/redis-aclcontext.js +16 -0
  12. package/dist/adminapi/models/redis-aclcontext.js.map +1 -0
  13. package/dist/adminapi/models/redis-capability.d.ts +31 -0
  14. package/dist/adminapi/models/redis-capability.d.ts.map +1 -0
  15. package/dist/adminapi/models/redis-capability.js +16 -0
  16. package/dist/adminapi/models/redis-capability.js.map +1 -0
  17. package/dist/adminapi/models/redis-cluster-node.d.ts +49 -0
  18. package/dist/adminapi/models/redis-cluster-node.d.ts.map +1 -0
  19. package/dist/adminapi/models/redis-cluster-node.js +16 -0
  20. package/dist/adminapi/models/redis-cluster-node.js.map +1 -0
  21. package/dist/adminapi/models/redis-cluster-slot.d.ts +43 -0
  22. package/dist/adminapi/models/redis-cluster-slot.d.ts.map +1 -0
  23. package/dist/adminapi/models/redis-cluster-slot.js +16 -0
  24. package/dist/adminapi/models/redis-cluster-slot.js.map +1 -0
  25. package/dist/adminapi/models/redis-cluster-state.d.ts +50 -0
  26. package/dist/adminapi/models/redis-cluster-state.d.ts.map +1 -0
  27. package/dist/adminapi/models/redis-cluster-state.js +16 -0
  28. package/dist/adminapi/models/redis-cluster-state.js.map +1 -0
  29. package/dist/adminapi/models/redis-cluster-topology.d.ts +45 -0
  30. package/dist/adminapi/models/redis-cluster-topology.d.ts.map +1 -0
  31. package/dist/adminapi/models/redis-cluster-topology.js +16 -0
  32. package/dist/adminapi/models/redis-cluster-topology.js.map +1 -0
  33. package/dist/adminapi/models/redis-dangerous-operation-request.d.ts +25 -0
  34. package/dist/adminapi/models/redis-dangerous-operation-request.d.ts.map +1 -0
  35. package/dist/adminapi/models/redis-dangerous-operation-request.js +16 -0
  36. package/dist/adminapi/models/redis-dangerous-operation-request.js.map +1 -0
  37. package/dist/adminapi/models/redis-data-capabilities.d.ts +74 -0
  38. package/dist/adminapi/models/redis-data-capabilities.d.ts.map +1 -0
  39. package/dist/adminapi/models/redis-data-capabilities.js +16 -0
  40. package/dist/adminapi/models/redis-data-capabilities.js.map +1 -0
  41. package/dist/adminapi/models/redis-data-context.d.ts +70 -0
  42. package/dist/adminapi/models/redis-data-context.d.ts.map +1 -0
  43. package/dist/adminapi/models/redis-data-context.js +16 -0
  44. package/dist/adminapi/models/redis-data-context.js.map +1 -0
  45. package/dist/adminapi/models/redis-info-response.d.ts +45 -0
  46. package/dist/adminapi/models/redis-info-response.d.ts.map +1 -0
  47. package/dist/adminapi/models/redis-info-response.js +16 -0
  48. package/dist/adminapi/models/redis-info-response.js.map +1 -0
  49. package/dist/adminapi/models/redis-key-detail-request.d.ts +55 -0
  50. package/dist/adminapi/models/redis-key-detail-request.d.ts.map +1 -0
  51. package/dist/adminapi/models/redis-key-detail-request.js +16 -0
  52. package/dist/adminapi/models/redis-key-detail-request.js.map +1 -0
  53. package/dist/adminapi/models/redis-key-detail.d.ts +39 -0
  54. package/dist/adminapi/models/redis-key-detail.d.ts.map +1 -0
  55. package/dist/adminapi/models/redis-key-detail.js +16 -0
  56. package/dist/adminapi/models/redis-key-detail.js.map +1 -0
  57. package/dist/adminapi/models/redis-key-mutate-request.d.ts +51 -0
  58. package/dist/adminapi/models/redis-key-mutate-request.d.ts.map +1 -0
  59. package/dist/adminapi/models/redis-key-mutate-request.js +16 -0
  60. package/dist/adminapi/models/redis-key-mutate-request.js.map +1 -0
  61. package/dist/adminapi/models/redis-key-mutate-response.d.ts +40 -0
  62. package/dist/adminapi/models/redis-key-mutate-response.d.ts.map +1 -0
  63. package/dist/adminapi/models/redis-key-mutate-response.js +16 -0
  64. package/dist/adminapi/models/redis-key-mutate-response.js.map +1 -0
  65. package/dist/adminapi/models/redis-key-summary-list.d.ts +38 -0
  66. package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -0
  67. package/dist/adminapi/models/redis-key-summary-list.js +16 -0
  68. package/dist/adminapi/models/redis-key-summary-list.js.map +1 -0
  69. package/dist/adminapi/models/redis-key-summary.d.ts +73 -0
  70. package/dist/adminapi/models/redis-key-summary.d.ts.map +1 -0
  71. package/dist/adminapi/models/redis-key-summary.js +16 -0
  72. package/dist/adminapi/models/redis-key-summary.js.map +1 -0
  73. package/dist/adminapi/models/redis-key-value-item.d.ts +65 -0
  74. package/dist/adminapi/models/redis-key-value-item.d.ts.map +1 -0
  75. package/dist/adminapi/models/redis-key-value-item.js +16 -0
  76. package/dist/adminapi/models/redis-key-value-item.js.map +1 -0
  77. package/dist/adminapi/models/redis-key-value.d.ts +68 -0
  78. package/dist/adminapi/models/redis-key-value.d.ts.map +1 -0
  79. package/dist/adminapi/models/redis-key-value.js +16 -0
  80. package/dist/adminapi/models/redis-key-value.js.map +1 -0
  81. package/dist/adminapi/models/redis-operation-guard.d.ts +43 -0
  82. package/dist/adminapi/models/redis-operation-guard.d.ts.map +1 -0
  83. package/dist/adminapi/models/redis-operation-guard.js +16 -0
  84. package/dist/adminapi/models/redis-operation-guard.js.map +1 -0
  85. package/dist/adminapi/models/redis-operation-status.d.ts +23 -0
  86. package/dist/adminapi/models/redis-operation-status.d.ts.map +1 -0
  87. package/dist/adminapi/models/redis-operation-status.js +27 -0
  88. package/dist/adminapi/models/redis-operation-status.js.map +1 -0
  89. package/dist/adminapi/models/redis-operation-summary.d.ts +51 -0
  90. package/dist/adminapi/models/redis-operation-summary.d.ts.map +1 -0
  91. package/dist/adminapi/models/redis-operation-summary.js +16 -0
  92. package/dist/adminapi/models/redis-operation-summary.js.map +1 -0
  93. package/dist/adminapi/models/redis-pub-sub-message-list.d.ts +32 -0
  94. package/dist/adminapi/models/redis-pub-sub-message-list.d.ts.map +1 -0
  95. package/dist/adminapi/models/redis-pub-sub-message-list.js +16 -0
  96. package/dist/adminapi/models/redis-pub-sub-message-list.js.map +1 -0
  97. package/dist/adminapi/models/redis-pub-sub-message.d.ts +43 -0
  98. package/dist/adminapi/models/redis-pub-sub-message.d.ts.map +1 -0
  99. package/dist/adminapi/models/redis-pub-sub-message.js +16 -0
  100. package/dist/adminapi/models/redis-pub-sub-message.js.map +1 -0
  101. package/dist/adminapi/models/redis-pub-sub-publish-request.d.ts +31 -0
  102. package/dist/adminapi/models/redis-pub-sub-publish-request.d.ts.map +1 -0
  103. package/dist/adminapi/models/redis-pub-sub-publish-request.js +16 -0
  104. package/dist/adminapi/models/redis-pub-sub-publish-request.js.map +1 -0
  105. package/dist/adminapi/models/redis-pub-sub-session-create-request.d.ts +31 -0
  106. package/dist/adminapi/models/redis-pub-sub-session-create-request.d.ts.map +1 -0
  107. package/dist/adminapi/models/redis-pub-sub-session-create-request.js +16 -0
  108. package/dist/adminapi/models/redis-pub-sub-session-create-request.js.map +1 -0
  109. package/dist/adminapi/models/redis-pub-sub-session.d.ts +43 -0
  110. package/dist/adminapi/models/redis-pub-sub-session.d.ts.map +1 -0
  111. package/dist/adminapi/models/redis-pub-sub-session.js +16 -0
  112. package/dist/adminapi/models/redis-pub-sub-session.js.map +1 -0
  113. package/dist/adminapi/models/redis-slow-log-entry.d.ts +61 -0
  114. package/dist/adminapi/models/redis-slow-log-entry.d.ts.map +1 -0
  115. package/dist/adminapi/models/redis-slow-log-entry.js +16 -0
  116. package/dist/adminapi/models/redis-slow-log-entry.js.map +1 -0
  117. package/dist/adminapi/models/redis-slow-log-list.d.ts +26 -0
  118. package/dist/adminapi/models/redis-slow-log-list.d.ts.map +1 -0
  119. package/dist/adminapi/models/redis-slow-log-list.js +16 -0
  120. package/dist/adminapi/models/redis-slow-log-list.js.map +1 -0
  121. package/dist/adminapi/models/redis-workbench-execute-request.d.ts +31 -0
  122. package/dist/adminapi/models/redis-workbench-execute-request.d.ts.map +1 -0
  123. package/dist/adminapi/models/redis-workbench-execute-request.js +16 -0
  124. package/dist/adminapi/models/redis-workbench-execute-request.js.map +1 -0
  125. package/dist/adminapi/models/redis-workbench-execute-response.d.ts +59 -0
  126. package/dist/adminapi/models/redis-workbench-execute-response.d.ts.map +1 -0
  127. package/dist/adminapi/models/redis-workbench-execute-response.js +16 -0
  128. package/dist/adminapi/models/redis-workbench-execute-response.js.map +1 -0
  129. package/dist/openapi/apis/dms-api.d.ts +1106 -6
  130. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  131. package/dist/openapi/apis/dms-api.js +1175 -44
  132. package/dist/openapi/apis/dms-api.js.map +1 -1
  133. package/dist/openapi/models/index.d.ts +30 -0
  134. package/dist/openapi/models/index.d.ts.map +1 -1
  135. package/dist/openapi/models/index.js +30 -0
  136. package/dist/openapi/models/index.js.map +1 -1
  137. package/dist/openapi/models/redis-aclcontext.d.ts +49 -0
  138. package/dist/openapi/models/redis-aclcontext.d.ts.map +1 -0
  139. package/dist/openapi/models/redis-aclcontext.js +16 -0
  140. package/dist/openapi/models/redis-aclcontext.js.map +1 -0
  141. package/dist/openapi/models/redis-capability.d.ts +31 -0
  142. package/dist/openapi/models/redis-capability.d.ts.map +1 -0
  143. package/dist/openapi/models/redis-capability.js +16 -0
  144. package/dist/openapi/models/redis-capability.js.map +1 -0
  145. package/dist/openapi/models/redis-cluster-node.d.ts +49 -0
  146. package/dist/openapi/models/redis-cluster-node.d.ts.map +1 -0
  147. package/dist/openapi/models/redis-cluster-node.js +16 -0
  148. package/dist/openapi/models/redis-cluster-node.js.map +1 -0
  149. package/dist/openapi/models/redis-cluster-slot.d.ts +43 -0
  150. package/dist/openapi/models/redis-cluster-slot.d.ts.map +1 -0
  151. package/dist/openapi/models/redis-cluster-slot.js +16 -0
  152. package/dist/openapi/models/redis-cluster-slot.js.map +1 -0
  153. package/dist/openapi/models/redis-cluster-state.d.ts +50 -0
  154. package/dist/openapi/models/redis-cluster-state.d.ts.map +1 -0
  155. package/dist/openapi/models/redis-cluster-state.js +16 -0
  156. package/dist/openapi/models/redis-cluster-state.js.map +1 -0
  157. package/dist/openapi/models/redis-cluster-topology.d.ts +45 -0
  158. package/dist/openapi/models/redis-cluster-topology.d.ts.map +1 -0
  159. package/dist/openapi/models/redis-cluster-topology.js +16 -0
  160. package/dist/openapi/models/redis-cluster-topology.js.map +1 -0
  161. package/dist/openapi/models/redis-dangerous-operation-request.d.ts +25 -0
  162. package/dist/openapi/models/redis-dangerous-operation-request.d.ts.map +1 -0
  163. package/dist/openapi/models/redis-dangerous-operation-request.js +16 -0
  164. package/dist/openapi/models/redis-dangerous-operation-request.js.map +1 -0
  165. package/dist/openapi/models/redis-data-capabilities.d.ts +74 -0
  166. package/dist/openapi/models/redis-data-capabilities.d.ts.map +1 -0
  167. package/dist/openapi/models/redis-data-capabilities.js +16 -0
  168. package/dist/openapi/models/redis-data-capabilities.js.map +1 -0
  169. package/dist/openapi/models/redis-data-context.d.ts +70 -0
  170. package/dist/openapi/models/redis-data-context.d.ts.map +1 -0
  171. package/dist/openapi/models/redis-data-context.js +16 -0
  172. package/dist/openapi/models/redis-data-context.js.map +1 -0
  173. package/dist/openapi/models/redis-info-response.d.ts +45 -0
  174. package/dist/openapi/models/redis-info-response.d.ts.map +1 -0
  175. package/dist/openapi/models/redis-info-response.js +16 -0
  176. package/dist/openapi/models/redis-info-response.js.map +1 -0
  177. package/dist/openapi/models/redis-key-detail-request.d.ts +55 -0
  178. package/dist/openapi/models/redis-key-detail-request.d.ts.map +1 -0
  179. package/dist/openapi/models/redis-key-detail-request.js +16 -0
  180. package/dist/openapi/models/redis-key-detail-request.js.map +1 -0
  181. package/dist/openapi/models/redis-key-detail.d.ts +39 -0
  182. package/dist/openapi/models/redis-key-detail.d.ts.map +1 -0
  183. package/dist/openapi/models/redis-key-detail.js +16 -0
  184. package/dist/openapi/models/redis-key-detail.js.map +1 -0
  185. package/dist/openapi/models/redis-key-mutate-request.d.ts +51 -0
  186. package/dist/openapi/models/redis-key-mutate-request.d.ts.map +1 -0
  187. package/dist/openapi/models/redis-key-mutate-request.js +16 -0
  188. package/dist/openapi/models/redis-key-mutate-request.js.map +1 -0
  189. package/dist/openapi/models/redis-key-mutate-response.d.ts +40 -0
  190. package/dist/openapi/models/redis-key-mutate-response.d.ts.map +1 -0
  191. package/dist/openapi/models/redis-key-mutate-response.js +16 -0
  192. package/dist/openapi/models/redis-key-mutate-response.js.map +1 -0
  193. package/dist/openapi/models/redis-key-summary-list.d.ts +38 -0
  194. package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -0
  195. package/dist/openapi/models/redis-key-summary-list.js +16 -0
  196. package/dist/openapi/models/redis-key-summary-list.js.map +1 -0
  197. package/dist/openapi/models/redis-key-summary.d.ts +73 -0
  198. package/dist/openapi/models/redis-key-summary.d.ts.map +1 -0
  199. package/dist/openapi/models/redis-key-summary.js +16 -0
  200. package/dist/openapi/models/redis-key-summary.js.map +1 -0
  201. package/dist/openapi/models/redis-key-value-item.d.ts +65 -0
  202. package/dist/openapi/models/redis-key-value-item.d.ts.map +1 -0
  203. package/dist/openapi/models/redis-key-value-item.js +16 -0
  204. package/dist/openapi/models/redis-key-value-item.js.map +1 -0
  205. package/dist/openapi/models/redis-key-value.d.ts +68 -0
  206. package/dist/openapi/models/redis-key-value.d.ts.map +1 -0
  207. package/dist/openapi/models/redis-key-value.js +16 -0
  208. package/dist/openapi/models/redis-key-value.js.map +1 -0
  209. package/dist/openapi/models/redis-operation-guard.d.ts +43 -0
  210. package/dist/openapi/models/redis-operation-guard.d.ts.map +1 -0
  211. package/dist/openapi/models/redis-operation-guard.js +16 -0
  212. package/dist/openapi/models/redis-operation-guard.js.map +1 -0
  213. package/dist/openapi/models/redis-operation-status.d.ts +23 -0
  214. package/dist/openapi/models/redis-operation-status.d.ts.map +1 -0
  215. package/dist/openapi/models/redis-operation-status.js +27 -0
  216. package/dist/openapi/models/redis-operation-status.js.map +1 -0
  217. package/dist/openapi/models/redis-operation-summary.d.ts +51 -0
  218. package/dist/openapi/models/redis-operation-summary.d.ts.map +1 -0
  219. package/dist/openapi/models/redis-operation-summary.js +16 -0
  220. package/dist/openapi/models/redis-operation-summary.js.map +1 -0
  221. package/dist/openapi/models/redis-pub-sub-message-list.d.ts +32 -0
  222. package/dist/openapi/models/redis-pub-sub-message-list.d.ts.map +1 -0
  223. package/dist/openapi/models/redis-pub-sub-message-list.js +16 -0
  224. package/dist/openapi/models/redis-pub-sub-message-list.js.map +1 -0
  225. package/dist/openapi/models/redis-pub-sub-message.d.ts +43 -0
  226. package/dist/openapi/models/redis-pub-sub-message.d.ts.map +1 -0
  227. package/dist/openapi/models/redis-pub-sub-message.js +16 -0
  228. package/dist/openapi/models/redis-pub-sub-message.js.map +1 -0
  229. package/dist/openapi/models/redis-pub-sub-publish-request.d.ts +31 -0
  230. package/dist/openapi/models/redis-pub-sub-publish-request.d.ts.map +1 -0
  231. package/dist/openapi/models/redis-pub-sub-publish-request.js +16 -0
  232. package/dist/openapi/models/redis-pub-sub-publish-request.js.map +1 -0
  233. package/dist/openapi/models/redis-pub-sub-session-create-request.d.ts +31 -0
  234. package/dist/openapi/models/redis-pub-sub-session-create-request.d.ts.map +1 -0
  235. package/dist/openapi/models/redis-pub-sub-session-create-request.js +16 -0
  236. package/dist/openapi/models/redis-pub-sub-session-create-request.js.map +1 -0
  237. package/dist/openapi/models/redis-pub-sub-session.d.ts +43 -0
  238. package/dist/openapi/models/redis-pub-sub-session.d.ts.map +1 -0
  239. package/dist/openapi/models/redis-pub-sub-session.js +16 -0
  240. package/dist/openapi/models/redis-pub-sub-session.js.map +1 -0
  241. package/dist/openapi/models/redis-slow-log-entry.d.ts +61 -0
  242. package/dist/openapi/models/redis-slow-log-entry.d.ts.map +1 -0
  243. package/dist/openapi/models/redis-slow-log-entry.js +16 -0
  244. package/dist/openapi/models/redis-slow-log-entry.js.map +1 -0
  245. package/dist/openapi/models/redis-slow-log-list.d.ts +26 -0
  246. package/dist/openapi/models/redis-slow-log-list.d.ts.map +1 -0
  247. package/dist/openapi/models/redis-slow-log-list.js +16 -0
  248. package/dist/openapi/models/redis-slow-log-list.js.map +1 -0
  249. package/dist/openapi/models/redis-workbench-execute-request.d.ts +31 -0
  250. package/dist/openapi/models/redis-workbench-execute-request.d.ts.map +1 -0
  251. package/dist/openapi/models/redis-workbench-execute-request.js +16 -0
  252. package/dist/openapi/models/redis-workbench-execute-request.js.map +1 -0
  253. package/dist/openapi/models/redis-workbench-execute-response.d.ts +59 -0
  254. package/dist/openapi/models/redis-workbench-execute-response.d.ts.map +1 -0
  255. package/dist/openapi/models/redis-workbench-execute-response.js +16 -0
  256. package/dist/openapi/models/redis-workbench-execute-response.js.map +1 -0
  257. package/package.json +1 -1
  258. package/src/adminapi/.openapi-generator/FILES +30 -0
  259. package/src/adminapi/apis/dms-api.ts +2020 -112
  260. package/src/adminapi/models/index.ts +30 -0
  261. package/src/adminapi/models/redis-aclcontext.ts +54 -0
  262. package/src/adminapi/models/redis-capability.ts +36 -0
  263. package/src/adminapi/models/redis-cluster-node.ts +54 -0
  264. package/src/adminapi/models/redis-cluster-slot.ts +48 -0
  265. package/src/adminapi/models/redis-cluster-state.ts +57 -0
  266. package/src/adminapi/models/redis-cluster-topology.ts +54 -0
  267. package/src/adminapi/models/redis-dangerous-operation-request.ts +30 -0
  268. package/src/adminapi/models/redis-data-capabilities.ts +81 -0
  269. package/src/adminapi/models/redis-data-context.ts +81 -0
  270. package/src/adminapi/models/redis-info-response.ts +48 -0
  271. package/src/adminapi/models/redis-key-detail-request.ts +60 -0
  272. package/src/adminapi/models/redis-key-detail.ts +48 -0
  273. package/src/adminapi/models/redis-key-mutate-request.ts +54 -0
  274. package/src/adminapi/models/redis-key-mutate-response.ts +51 -0
  275. package/src/adminapi/models/redis-key-summary-list.ts +45 -0
  276. package/src/adminapi/models/redis-key-summary.ts +78 -0
  277. package/src/adminapi/models/redis-key-value-item.ts +66 -0
  278. package/src/adminapi/models/redis-key-value.ts +75 -0
  279. package/src/adminapi/models/redis-operation-guard.ts +48 -0
  280. package/src/adminapi/models/redis-operation-status.ts +32 -0
  281. package/src/adminapi/models/redis-operation-summary.ts +62 -0
  282. package/src/adminapi/models/redis-pub-sub-message-list.ts +39 -0
  283. package/src/adminapi/models/redis-pub-sub-message.ts +48 -0
  284. package/src/adminapi/models/redis-pub-sub-publish-request.ts +36 -0
  285. package/src/adminapi/models/redis-pub-sub-session-create-request.ts +36 -0
  286. package/src/adminapi/models/redis-pub-sub-session.ts +48 -0
  287. package/src/adminapi/models/redis-slow-log-entry.ts +66 -0
  288. package/src/adminapi/models/redis-slow-log-list.ts +33 -0
  289. package/src/adminapi/models/redis-workbench-execute-request.ts +36 -0
  290. package/src/adminapi/models/redis-workbench-execute-response.ts +68 -0
  291. package/src/adminapi.yaml +2409 -1457
  292. package/src/openapi/.openapi-generator/FILES +30 -0
  293. package/src/openapi/apis/dms-api.ts +2020 -112
  294. package/src/openapi/models/index.ts +30 -0
  295. package/src/openapi/models/redis-aclcontext.ts +54 -0
  296. package/src/openapi/models/redis-capability.ts +36 -0
  297. package/src/openapi/models/redis-cluster-node.ts +54 -0
  298. package/src/openapi/models/redis-cluster-slot.ts +48 -0
  299. package/src/openapi/models/redis-cluster-state.ts +57 -0
  300. package/src/openapi/models/redis-cluster-topology.ts +54 -0
  301. package/src/openapi/models/redis-dangerous-operation-request.ts +30 -0
  302. package/src/openapi/models/redis-data-capabilities.ts +81 -0
  303. package/src/openapi/models/redis-data-context.ts +81 -0
  304. package/src/openapi/models/redis-info-response.ts +48 -0
  305. package/src/openapi/models/redis-key-detail-request.ts +60 -0
  306. package/src/openapi/models/redis-key-detail.ts +48 -0
  307. package/src/openapi/models/redis-key-mutate-request.ts +54 -0
  308. package/src/openapi/models/redis-key-mutate-response.ts +51 -0
  309. package/src/openapi/models/redis-key-summary-list.ts +45 -0
  310. package/src/openapi/models/redis-key-summary.ts +78 -0
  311. package/src/openapi/models/redis-key-value-item.ts +66 -0
  312. package/src/openapi/models/redis-key-value.ts +75 -0
  313. package/src/openapi/models/redis-operation-guard.ts +48 -0
  314. package/src/openapi/models/redis-operation-status.ts +32 -0
  315. package/src/openapi/models/redis-operation-summary.ts +62 -0
  316. package/src/openapi/models/redis-pub-sub-message-list.ts +39 -0
  317. package/src/openapi/models/redis-pub-sub-message.ts +48 -0
  318. package/src/openapi/models/redis-pub-sub-publish-request.ts +36 -0
  319. package/src/openapi/models/redis-pub-sub-session-create-request.ts +36 -0
  320. package/src/openapi/models/redis-pub-sub-session.ts +48 -0
  321. package/src/openapi/models/redis-slow-log-entry.ts +66 -0
  322. package/src/openapi/models/redis-slow-log-list.ts +33 -0
  323. package/src/openapi/models/redis-workbench-execute-request.ts +36 -0
  324. package/src/openapi/models/redis-workbench-execute-response.ts +68 -0
  325. package/src/openapi.yaml +7299 -6347
@@ -76,6 +76,52 @@ const DmsApiAxiosParamCreator = function (configuration) {
76
76
  options: localVarRequestOptions,
77
77
  };
78
78
  },
79
+ /**
80
+ *
81
+ * @summary close a Redis Pub/Sub polling session
82
+ * @param {string} orgName
83
+ * @param {string} clusterName
84
+ * @param {string} id
85
+ * @param {string} sessionId
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ closeRedisPubSubSession: async (orgName, clusterName, id, sessionId, options = {}) => {
90
+ // verify required parameter 'orgName' is not null or undefined
91
+ (0, common_1.assertParamExists)('closeRedisPubSubSession', 'orgName', orgName);
92
+ // verify required parameter 'clusterName' is not null or undefined
93
+ (0, common_1.assertParamExists)('closeRedisPubSubSession', 'clusterName', clusterName);
94
+ // verify required parameter 'id' is not null or undefined
95
+ (0, common_1.assertParamExists)('closeRedisPubSubSession', 'id', id);
96
+ // verify required parameter 'sessionId' is not null or undefined
97
+ (0, common_1.assertParamExists)('closeRedisPubSubSession', 'sessionId', sessionId);
98
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/sessions/{sessionId}`
99
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
100
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
101
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
102
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
103
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
104
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
105
+ let baseOptions;
106
+ if (configuration) {
107
+ baseOptions = configuration.baseOptions;
108
+ }
109
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
110
+ const localVarHeaderParameter = {};
111
+ const localVarQueryParameter = {};
112
+ // authentication BearerToken required
113
+ // http bearer authentication required
114
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
115
+ // authentication DigestAuth required
116
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
117
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
118
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
119
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
120
+ return {
121
+ url: (0, common_1.toPathString)(localVarUrlObj),
122
+ options: localVarRequestOptions,
123
+ };
124
+ },
79
125
  /**
80
126
  *
81
127
  * @summary close the session for the cluster
@@ -166,6 +212,53 @@ const DmsApiAxiosParamCreator = function (configuration) {
166
212
  options: localVarRequestOptions,
167
213
  };
168
214
  },
215
+ /**
216
+ *
217
+ * @summary create a Redis Pub/Sub polling session
218
+ * @param {string} orgName
219
+ * @param {string} clusterName
220
+ * @param {string} id
221
+ * @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ createRedisPubSubSession: async (orgName, clusterName, id, redisPubSubSessionCreateRequest, options = {}) => {
226
+ // verify required parameter 'orgName' is not null or undefined
227
+ (0, common_1.assertParamExists)('createRedisPubSubSession', 'orgName', orgName);
228
+ // verify required parameter 'clusterName' is not null or undefined
229
+ (0, common_1.assertParamExists)('createRedisPubSubSession', 'clusterName', clusterName);
230
+ // verify required parameter 'id' is not null or undefined
231
+ (0, common_1.assertParamExists)('createRedisPubSubSession', 'id', id);
232
+ // verify required parameter 'redisPubSubSessionCreateRequest' is not null or undefined
233
+ (0, common_1.assertParamExists)('createRedisPubSubSession', 'redisPubSubSessionCreateRequest', redisPubSubSessionCreateRequest);
234
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/sessions`
235
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
236
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
237
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
238
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
239
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
240
+ let baseOptions;
241
+ if (configuration) {
242
+ baseOptions = configuration.baseOptions;
243
+ }
244
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
245
+ const localVarHeaderParameter = {};
246
+ const localVarQueryParameter = {};
247
+ // authentication BearerToken required
248
+ // http bearer authentication required
249
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
250
+ // authentication DigestAuth required
251
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
253
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
255
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
256
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(redisPubSubSessionCreateRequest, localVarRequestOptions, configuration);
257
+ return {
258
+ url: (0, common_1.toPathString)(localVarUrlObj),
259
+ options: localVarRequestOptions,
260
+ };
261
+ },
169
262
  /**
170
263
  *
171
264
  * @summary Data Export
@@ -437,6 +530,53 @@ const DmsApiAxiosParamCreator = function (configuration) {
437
530
  options: localVarRequestOptions,
438
531
  };
439
532
  },
533
+ /**
534
+ * Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
535
+ * @summary execute a Redis Workbench command
536
+ * @param {string} orgName
537
+ * @param {string} clusterName
538
+ * @param {string} id
539
+ * @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ executeRedisWorkbenchCommand: async (orgName, clusterName, id, redisWorkbenchExecuteRequest, options = {}) => {
544
+ // verify required parameter 'orgName' is not null or undefined
545
+ (0, common_1.assertParamExists)('executeRedisWorkbenchCommand', 'orgName', orgName);
546
+ // verify required parameter 'clusterName' is not null or undefined
547
+ (0, common_1.assertParamExists)('executeRedisWorkbenchCommand', 'clusterName', clusterName);
548
+ // verify required parameter 'id' is not null or undefined
549
+ (0, common_1.assertParamExists)('executeRedisWorkbenchCommand', 'id', id);
550
+ // verify required parameter 'redisWorkbenchExecuteRequest' is not null or undefined
551
+ (0, common_1.assertParamExists)('executeRedisWorkbenchCommand', 'redisWorkbenchExecuteRequest', redisWorkbenchExecuteRequest);
552
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/workbench/execute`
553
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
554
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
555
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
556
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
557
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
558
+ let baseOptions;
559
+ if (configuration) {
560
+ baseOptions = configuration.baseOptions;
561
+ }
562
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
563
+ const localVarHeaderParameter = {};
564
+ const localVarQueryParameter = {};
565
+ // authentication BearerToken required
566
+ // http bearer authentication required
567
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
568
+ // authentication DigestAuth required
569
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
570
+ localVarHeaderParameter['Content-Type'] = 'application/json';
571
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
572
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
573
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
574
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(redisWorkbenchExecuteRequest, localVarRequestOptions, configuration);
575
+ return {
576
+ url: (0, common_1.toPathString)(localVarUrlObj),
577
+ options: localVarRequestOptions,
578
+ };
579
+ },
440
580
  /**
441
581
  *
442
582
  * @summary support ddl and dml operations
@@ -674,6 +814,187 @@ const DmsApiAxiosParamCreator = function (configuration) {
674
814
  options: localVarRequestOptions,
675
815
  };
676
816
  },
817
+ /**
818
+ *
819
+ * @summary get Redis Cluster topology
820
+ * @param {string} orgName
821
+ * @param {string} clusterName
822
+ * @param {string} id
823
+ * @param {*} [options] Override http request option.
824
+ * @throws {RequiredError}
825
+ */
826
+ getRedisClusterTopology: async (orgName, clusterName, id, options = {}) => {
827
+ // verify required parameter 'orgName' is not null or undefined
828
+ (0, common_1.assertParamExists)('getRedisClusterTopology', 'orgName', orgName);
829
+ // verify required parameter 'clusterName' is not null or undefined
830
+ (0, common_1.assertParamExists)('getRedisClusterTopology', 'clusterName', clusterName);
831
+ // verify required parameter 'id' is not null or undefined
832
+ (0, common_1.assertParamExists)('getRedisClusterTopology', 'id', id);
833
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/cluster/topology`
834
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
835
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
836
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
837
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
838
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
839
+ let baseOptions;
840
+ if (configuration) {
841
+ baseOptions = configuration.baseOptions;
842
+ }
843
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
844
+ const localVarHeaderParameter = {};
845
+ const localVarQueryParameter = {};
846
+ // authentication BearerToken required
847
+ // http bearer authentication required
848
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
849
+ // authentication DigestAuth required
850
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
851
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
852
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
853
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
854
+ return {
855
+ url: (0, common_1.toPathString)(localVarUrlObj),
856
+ options: localVarRequestOptions,
857
+ };
858
+ },
859
+ /**
860
+ *
861
+ * @summary get Redis datasource data-management context
862
+ * @param {string} orgName
863
+ * @param {string} clusterName
864
+ * @param {string} id
865
+ * @param {*} [options] Override http request option.
866
+ * @throws {RequiredError}
867
+ */
868
+ getRedisContext: async (orgName, clusterName, id, options = {}) => {
869
+ // verify required parameter 'orgName' is not null or undefined
870
+ (0, common_1.assertParamExists)('getRedisContext', 'orgName', orgName);
871
+ // verify required parameter 'clusterName' is not null or undefined
872
+ (0, common_1.assertParamExists)('getRedisContext', 'clusterName', clusterName);
873
+ // verify required parameter 'id' is not null or undefined
874
+ (0, common_1.assertParamExists)('getRedisContext', 'id', id);
875
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/context`
876
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
877
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
878
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
879
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
880
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
881
+ let baseOptions;
882
+ if (configuration) {
883
+ baseOptions = configuration.baseOptions;
884
+ }
885
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
886
+ const localVarHeaderParameter = {};
887
+ const localVarQueryParameter = {};
888
+ // authentication BearerToken required
889
+ // http bearer authentication required
890
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
891
+ // authentication DigestAuth required
892
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
893
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
894
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
895
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
896
+ return {
897
+ url: (0, common_1.toPathString)(localVarUrlObj),
898
+ options: localVarRequestOptions,
899
+ };
900
+ },
901
+ /**
902
+ *
903
+ * @summary get Redis INFO output by section
904
+ * @param {string} orgName
905
+ * @param {string} clusterName
906
+ * @param {string} id
907
+ * @param {string} [section]
908
+ * @param {string} [nodeId]
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ */
912
+ getRedisInfo: async (orgName, clusterName, id, section, nodeId, options = {}) => {
913
+ // verify required parameter 'orgName' is not null or undefined
914
+ (0, common_1.assertParamExists)('getRedisInfo', 'orgName', orgName);
915
+ // verify required parameter 'clusterName' is not null or undefined
916
+ (0, common_1.assertParamExists)('getRedisInfo', 'clusterName', clusterName);
917
+ // verify required parameter 'id' is not null or undefined
918
+ (0, common_1.assertParamExists)('getRedisInfo', 'id', id);
919
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/info`
920
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
921
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
922
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
923
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
924
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
925
+ let baseOptions;
926
+ if (configuration) {
927
+ baseOptions = configuration.baseOptions;
928
+ }
929
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
930
+ const localVarHeaderParameter = {};
931
+ const localVarQueryParameter = {};
932
+ // authentication BearerToken required
933
+ // http bearer authentication required
934
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
935
+ // authentication DigestAuth required
936
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
937
+ if (section !== undefined) {
938
+ localVarQueryParameter['section'] = section;
939
+ }
940
+ if (nodeId !== undefined) {
941
+ localVarQueryParameter['nodeId'] = nodeId;
942
+ }
943
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
944
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
945
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
946
+ return {
947
+ url: (0, common_1.toPathString)(localVarUrlObj),
948
+ options: localVarRequestOptions,
949
+ };
950
+ },
951
+ /**
952
+ *
953
+ * @summary get Redis key detail
954
+ * @param {string} orgName
955
+ * @param {string} clusterName
956
+ * @param {string} id
957
+ * @param {RedisKeyDetailRequest} redisKeyDetailRequest
958
+ * @param {*} [options] Override http request option.
959
+ * @throws {RequiredError}
960
+ */
961
+ getRedisKeyDetail: async (orgName, clusterName, id, redisKeyDetailRequest, options = {}) => {
962
+ // verify required parameter 'orgName' is not null or undefined
963
+ (0, common_1.assertParamExists)('getRedisKeyDetail', 'orgName', orgName);
964
+ // verify required parameter 'clusterName' is not null or undefined
965
+ (0, common_1.assertParamExists)('getRedisKeyDetail', 'clusterName', clusterName);
966
+ // verify required parameter 'id' is not null or undefined
967
+ (0, common_1.assertParamExists)('getRedisKeyDetail', 'id', id);
968
+ // verify required parameter 'redisKeyDetailRequest' is not null or undefined
969
+ (0, common_1.assertParamExists)('getRedisKeyDetail', 'redisKeyDetailRequest', redisKeyDetailRequest);
970
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/key/detail`
971
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
972
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
973
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
974
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
975
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
976
+ let baseOptions;
977
+ if (configuration) {
978
+ baseOptions = configuration.baseOptions;
979
+ }
980
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
981
+ const localVarHeaderParameter = {};
982
+ const localVarQueryParameter = {};
983
+ // authentication BearerToken required
984
+ // http bearer authentication required
985
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
986
+ // authentication DigestAuth required
987
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
988
+ localVarHeaderParameter['Content-Type'] = 'application/json';
989
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
990
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
991
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
992
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(redisKeyDetailRequest, localVarRequestOptions, configuration);
993
+ return {
994
+ url: (0, common_1.toPathString)(localVarUrlObj),
995
+ options: localVarRequestOptions,
996
+ };
997
+ },
677
998
  /**
678
999
  *
679
1000
  * @summary list all databases or schema of the cluster
@@ -1097,8 +1418,153 @@ const DmsApiAxiosParamCreator = function (configuration) {
1097
1418
  const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}`
1098
1419
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1099
1420
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1100
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1101
- .replace(`{${"schema"}}`, encodeURIComponent(String(schema)));
1421
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1422
+ .replace(`{${"schema"}}`, encodeURIComponent(String(schema)));
1423
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1424
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1425
+ let baseOptions;
1426
+ if (configuration) {
1427
+ baseOptions = configuration.baseOptions;
1428
+ }
1429
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1430
+ const localVarHeaderParameter = {};
1431
+ const localVarQueryParameter = {};
1432
+ // authentication BearerToken required
1433
+ // http bearer authentication required
1434
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1435
+ // authentication DigestAuth required
1436
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1437
+ if (database !== undefined) {
1438
+ localVarQueryParameter['database'] = database;
1439
+ }
1440
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1441
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1442
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1443
+ return {
1444
+ url: (0, common_1.toPathString)(localVarUrlObj),
1445
+ options: localVarRequestOptions,
1446
+ };
1447
+ },
1448
+ /**
1449
+ *
1450
+ * @summary list cluster parameters
1451
+ * @param {string} orgName name of the Org
1452
+ * @param {string} clusterName name of the cluster
1453
+ * @param {string} tenantId
1454
+ * @param {string} mode
1455
+ * @param {*} [options] Override http request option.
1456
+ * @throws {RequiredError}
1457
+ */
1458
+ listParameters: async (orgName, clusterName, tenantId, mode, options = {}) => {
1459
+ // verify required parameter 'orgName' is not null or undefined
1460
+ (0, common_1.assertParamExists)('listParameters', 'orgName', orgName);
1461
+ // verify required parameter 'clusterName' is not null or undefined
1462
+ (0, common_1.assertParamExists)('listParameters', 'clusterName', clusterName);
1463
+ // verify required parameter 'tenantId' is not null or undefined
1464
+ (0, common_1.assertParamExists)('listParameters', 'tenantId', tenantId);
1465
+ // verify required parameter 'mode' is not null or undefined
1466
+ (0, common_1.assertParamExists)('listParameters', 'mode', mode);
1467
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameters`
1468
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1469
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1470
+ .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
1471
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1472
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1473
+ let baseOptions;
1474
+ if (configuration) {
1475
+ baseOptions = configuration.baseOptions;
1476
+ }
1477
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1478
+ const localVarHeaderParameter = {};
1479
+ const localVarQueryParameter = {};
1480
+ // authentication BearerToken required
1481
+ // http bearer authentication required
1482
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1483
+ // authentication DigestAuth required
1484
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1485
+ if (mode !== undefined) {
1486
+ localVarQueryParameter['mode'] = mode;
1487
+ }
1488
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1489
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1490
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1491
+ return {
1492
+ url: (0, common_1.toPathString)(localVarUrlObj),
1493
+ options: localVarRequestOptions,
1494
+ };
1495
+ },
1496
+ /**
1497
+ *
1498
+ * @summary list the query History
1499
+ * @param {string} orgName name of the Org
1500
+ * @param {string} clusterName name of the cluster
1501
+ * @param {string} id id of the datasource
1502
+ * @param {number} [limit] maximum history records to return, default and max 100
1503
+ * @param {*} [options] Override http request option.
1504
+ * @throws {RequiredError}
1505
+ */
1506
+ listQueryHistory: async (orgName, clusterName, id, limit, options = {}) => {
1507
+ // verify required parameter 'orgName' is not null or undefined
1508
+ (0, common_1.assertParamExists)('listQueryHistory', 'orgName', orgName);
1509
+ // verify required parameter 'clusterName' is not null or undefined
1510
+ (0, common_1.assertParamExists)('listQueryHistory', 'clusterName', clusterName);
1511
+ // verify required parameter 'id' is not null or undefined
1512
+ (0, common_1.assertParamExists)('listQueryHistory', 'id', id);
1513
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/history`
1514
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1515
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1516
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1517
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1518
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1519
+ let baseOptions;
1520
+ if (configuration) {
1521
+ baseOptions = configuration.baseOptions;
1522
+ }
1523
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1524
+ const localVarHeaderParameter = {};
1525
+ const localVarQueryParameter = {};
1526
+ // authentication BearerToken required
1527
+ // http bearer authentication required
1528
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1529
+ // authentication DigestAuth required
1530
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1531
+ if (limit !== undefined) {
1532
+ localVarQueryParameter['limit'] = limit;
1533
+ }
1534
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1535
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1536
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1537
+ return {
1538
+ url: (0, common_1.toPathString)(localVarUrlObj),
1539
+ options: localVarRequestOptions,
1540
+ };
1541
+ },
1542
+ /**
1543
+ *
1544
+ * @summary list Redis key summaries by SCAN cursor
1545
+ * @param {string} orgName
1546
+ * @param {string} clusterName
1547
+ * @param {string} id
1548
+ * @param {string} [cursor]
1549
+ * @param {number} [limit]
1550
+ * @param {string} [pattern]
1551
+ * @param {string} [type]
1552
+ * @param {string} [separator]
1553
+ * @param {string} [nodeId]
1554
+ * @param {*} [options] Override http request option.
1555
+ * @throws {RequiredError}
1556
+ */
1557
+ listRedisKeys: async (orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options = {}) => {
1558
+ // verify required parameter 'orgName' is not null or undefined
1559
+ (0, common_1.assertParamExists)('listRedisKeys', 'orgName', orgName);
1560
+ // verify required parameter 'clusterName' is not null or undefined
1561
+ (0, common_1.assertParamExists)('listRedisKeys', 'clusterName', clusterName);
1562
+ // verify required parameter 'id' is not null or undefined
1563
+ (0, common_1.assertParamExists)('listRedisKeys', 'id', id);
1564
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/keys`
1565
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1566
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1567
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1102
1568
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1103
1569
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1104
1570
  let baseOptions;
@@ -1113,8 +1579,23 @@ const DmsApiAxiosParamCreator = function (configuration) {
1113
1579
  await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1114
1580
  // authentication DigestAuth required
1115
1581
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1116
- if (database !== undefined) {
1117
- localVarQueryParameter['database'] = database;
1582
+ if (cursor !== undefined) {
1583
+ localVarQueryParameter['cursor'] = cursor;
1584
+ }
1585
+ if (limit !== undefined) {
1586
+ localVarQueryParameter['limit'] = limit;
1587
+ }
1588
+ if (pattern !== undefined) {
1589
+ localVarQueryParameter['pattern'] = pattern;
1590
+ }
1591
+ if (type !== undefined) {
1592
+ localVarQueryParameter['type'] = type;
1593
+ }
1594
+ if (separator !== undefined) {
1595
+ localVarQueryParameter['separator'] = separator;
1596
+ }
1597
+ if (nodeId !== undefined) {
1598
+ localVarQueryParameter['nodeId'] = nodeId;
1118
1599
  }
1119
1600
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1120
1601
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1126,27 +1607,30 @@ const DmsApiAxiosParamCreator = function (configuration) {
1126
1607
  },
1127
1608
  /**
1128
1609
  *
1129
- * @summary list cluster parameters
1130
- * @param {string} orgName name of the Org
1131
- * @param {string} clusterName name of the cluster
1132
- * @param {string} tenantId
1133
- * @param {string} mode
1610
+ * @summary list messages from a Redis Pub/Sub polling session
1611
+ * @param {string} orgName
1612
+ * @param {string} clusterName
1613
+ * @param {string} id
1614
+ * @param {string} sessionId
1615
+ * @param {string} [cursor]
1616
+ * @param {number} [limit]
1134
1617
  * @param {*} [options] Override http request option.
1135
1618
  * @throws {RequiredError}
1136
1619
  */
1137
- listParameters: async (orgName, clusterName, tenantId, mode, options = {}) => {
1620
+ listRedisPubSubMessages: async (orgName, clusterName, id, sessionId, cursor, limit, options = {}) => {
1138
1621
  // verify required parameter 'orgName' is not null or undefined
1139
- (0, common_1.assertParamExists)('listParameters', 'orgName', orgName);
1622
+ (0, common_1.assertParamExists)('listRedisPubSubMessages', 'orgName', orgName);
1140
1623
  // verify required parameter 'clusterName' is not null or undefined
1141
- (0, common_1.assertParamExists)('listParameters', 'clusterName', clusterName);
1142
- // verify required parameter 'tenantId' is not null or undefined
1143
- (0, common_1.assertParamExists)('listParameters', 'tenantId', tenantId);
1144
- // verify required parameter 'mode' is not null or undefined
1145
- (0, common_1.assertParamExists)('listParameters', 'mode', mode);
1146
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameters`
1624
+ (0, common_1.assertParamExists)('listRedisPubSubMessages', 'clusterName', clusterName);
1625
+ // verify required parameter 'id' is not null or undefined
1626
+ (0, common_1.assertParamExists)('listRedisPubSubMessages', 'id', id);
1627
+ // verify required parameter 'sessionId' is not null or undefined
1628
+ (0, common_1.assertParamExists)('listRedisPubSubMessages', 'sessionId', sessionId);
1629
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/sessions/{sessionId}/messages`
1147
1630
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1148
1631
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1149
- .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
1632
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1633
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
1150
1634
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1151
1635
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1152
1636
  let baseOptions;
@@ -1161,8 +1645,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
1161
1645
  await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1162
1646
  // authentication DigestAuth required
1163
1647
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1164
- if (mode !== undefined) {
1165
- localVarQueryParameter['mode'] = mode;
1648
+ if (cursor !== undefined) {
1649
+ localVarQueryParameter['cursor'] = cursor;
1650
+ }
1651
+ if (limit !== undefined) {
1652
+ localVarQueryParameter['limit'] = limit;
1166
1653
  }
1167
1654
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1168
1655
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1174,22 +1661,23 @@ const DmsApiAxiosParamCreator = function (configuration) {
1174
1661
  },
1175
1662
  /**
1176
1663
  *
1177
- * @summary list the query History
1178
- * @param {string} orgName name of the Org
1179
- * @param {string} clusterName name of the cluster
1180
- * @param {string} id id of the datasource
1181
- * @param {number} [limit] maximum history records to return, default and max 100
1664
+ * @summary list Redis slow log entries
1665
+ * @param {string} orgName
1666
+ * @param {string} clusterName
1667
+ * @param {string} id
1668
+ * @param {number} [limit]
1669
+ * @param {string} [nodeId]
1182
1670
  * @param {*} [options] Override http request option.
1183
1671
  * @throws {RequiredError}
1184
1672
  */
1185
- listQueryHistory: async (orgName, clusterName, id, limit, options = {}) => {
1673
+ listRedisSlowLog: async (orgName, clusterName, id, limit, nodeId, options = {}) => {
1186
1674
  // verify required parameter 'orgName' is not null or undefined
1187
- (0, common_1.assertParamExists)('listQueryHistory', 'orgName', orgName);
1675
+ (0, common_1.assertParamExists)('listRedisSlowLog', 'orgName', orgName);
1188
1676
  // verify required parameter 'clusterName' is not null or undefined
1189
- (0, common_1.assertParamExists)('listQueryHistory', 'clusterName', clusterName);
1677
+ (0, common_1.assertParamExists)('listRedisSlowLog', 'clusterName', clusterName);
1190
1678
  // verify required parameter 'id' is not null or undefined
1191
- (0, common_1.assertParamExists)('listQueryHistory', 'id', id);
1192
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/history`
1679
+ (0, common_1.assertParamExists)('listRedisSlowLog', 'id', id);
1680
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/slowlog`
1193
1681
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1194
1682
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1195
1683
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
@@ -1210,6 +1698,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
1210
1698
  if (limit !== undefined) {
1211
1699
  localVarQueryParameter['limit'] = limit;
1212
1700
  }
1701
+ if (nodeId !== undefined) {
1702
+ localVarQueryParameter['nodeId'] = nodeId;
1703
+ }
1213
1704
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1214
1705
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1215
1706
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2345,6 +2836,100 @@ const DmsApiAxiosParamCreator = function (configuration) {
2345
2836
  options: localVarRequestOptions,
2346
2837
  };
2347
2838
  },
2839
+ /**
2840
+ *
2841
+ * @summary mutate Redis key data or metadata
2842
+ * @param {string} orgName
2843
+ * @param {string} clusterName
2844
+ * @param {string} id
2845
+ * @param {RedisKeyMutateRequest} redisKeyMutateRequest
2846
+ * @param {*} [options] Override http request option.
2847
+ * @throws {RequiredError}
2848
+ */
2849
+ mutateRedisKey: async (orgName, clusterName, id, redisKeyMutateRequest, options = {}) => {
2850
+ // verify required parameter 'orgName' is not null or undefined
2851
+ (0, common_1.assertParamExists)('mutateRedisKey', 'orgName', orgName);
2852
+ // verify required parameter 'clusterName' is not null or undefined
2853
+ (0, common_1.assertParamExists)('mutateRedisKey', 'clusterName', clusterName);
2854
+ // verify required parameter 'id' is not null or undefined
2855
+ (0, common_1.assertParamExists)('mutateRedisKey', 'id', id);
2856
+ // verify required parameter 'redisKeyMutateRequest' is not null or undefined
2857
+ (0, common_1.assertParamExists)('mutateRedisKey', 'redisKeyMutateRequest', redisKeyMutateRequest);
2858
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/key/mutate`
2859
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2860
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2861
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2862
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2863
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2864
+ let baseOptions;
2865
+ if (configuration) {
2866
+ baseOptions = configuration.baseOptions;
2867
+ }
2868
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2869
+ const localVarHeaderParameter = {};
2870
+ const localVarQueryParameter = {};
2871
+ // authentication BearerToken required
2872
+ // http bearer authentication required
2873
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2874
+ // authentication DigestAuth required
2875
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2876
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2877
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2878
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2879
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2880
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(redisKeyMutateRequest, localVarRequestOptions, configuration);
2881
+ return {
2882
+ url: (0, common_1.toPathString)(localVarUrlObj),
2883
+ options: localVarRequestOptions,
2884
+ };
2885
+ },
2886
+ /**
2887
+ *
2888
+ * @summary publish a Redis Pub/Sub message
2889
+ * @param {string} orgName
2890
+ * @param {string} clusterName
2891
+ * @param {string} id
2892
+ * @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
2893
+ * @param {*} [options] Override http request option.
2894
+ * @throws {RequiredError}
2895
+ */
2896
+ publishRedisMessage: async (orgName, clusterName, id, redisPubSubPublishRequest, options = {}) => {
2897
+ // verify required parameter 'orgName' is not null or undefined
2898
+ (0, common_1.assertParamExists)('publishRedisMessage', 'orgName', orgName);
2899
+ // verify required parameter 'clusterName' is not null or undefined
2900
+ (0, common_1.assertParamExists)('publishRedisMessage', 'clusterName', clusterName);
2901
+ // verify required parameter 'id' is not null or undefined
2902
+ (0, common_1.assertParamExists)('publishRedisMessage', 'id', id);
2903
+ // verify required parameter 'redisPubSubPublishRequest' is not null or undefined
2904
+ (0, common_1.assertParamExists)('publishRedisMessage', 'redisPubSubPublishRequest', redisPubSubPublishRequest);
2905
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/pubsub/publish`
2906
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2907
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2908
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2909
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2910
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2911
+ let baseOptions;
2912
+ if (configuration) {
2913
+ baseOptions = configuration.baseOptions;
2914
+ }
2915
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2916
+ const localVarHeaderParameter = {};
2917
+ const localVarQueryParameter = {};
2918
+ // authentication BearerToken required
2919
+ // http bearer authentication required
2920
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2921
+ // authentication DigestAuth required
2922
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2923
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2924
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2925
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2926
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2927
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(redisPubSubPublishRequest, localVarRequestOptions, configuration);
2928
+ return {
2929
+ url: (0, common_1.toPathString)(localVarUrlObj),
2930
+ options: localVarRequestOptions,
2931
+ };
2932
+ },
2348
2933
  /**
2349
2934
  *
2350
2935
  * @summary create a SQL query
@@ -2392,6 +2977,51 @@ const DmsApiAxiosParamCreator = function (configuration) {
2392
2977
  options: localVarRequestOptions,
2393
2978
  };
2394
2979
  },
2980
+ /**
2981
+ *
2982
+ * @summary reset Redis slow log
2983
+ * @param {string} orgName
2984
+ * @param {string} clusterName
2985
+ * @param {string} id
2986
+ * @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
2987
+ * @param {*} [options] Override http request option.
2988
+ * @throws {RequiredError}
2989
+ */
2990
+ resetRedisSlowLog: async (orgName, clusterName, id, redisDangerousOperationRequest, options = {}) => {
2991
+ // verify required parameter 'orgName' is not null or undefined
2992
+ (0, common_1.assertParamExists)('resetRedisSlowLog', 'orgName', orgName);
2993
+ // verify required parameter 'clusterName' is not null or undefined
2994
+ (0, common_1.assertParamExists)('resetRedisSlowLog', 'clusterName', clusterName);
2995
+ // verify required parameter 'id' is not null or undefined
2996
+ (0, common_1.assertParamExists)('resetRedisSlowLog', 'id', id);
2997
+ const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/slowlog/reset`
2998
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2999
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3000
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3001
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3002
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3003
+ let baseOptions;
3004
+ if (configuration) {
3005
+ baseOptions = configuration.baseOptions;
3006
+ }
3007
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3008
+ const localVarHeaderParameter = {};
3009
+ const localVarQueryParameter = {};
3010
+ // authentication BearerToken required
3011
+ // http bearer authentication required
3012
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3013
+ // authentication DigestAuth required
3014
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3015
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3016
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3017
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3018
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3019
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(redisDangerousOperationRequest, localVarRequestOptions, configuration);
3020
+ return {
3021
+ url: (0, common_1.toPathString)(localVarUrlObj),
3022
+ options: localVarRequestOptions,
3023
+ };
3024
+ },
2395
3025
  /**
2396
3026
  *
2397
3027
  * @summary read data of table or view
@@ -2645,6 +3275,23 @@ const DmsApiFp = function (configuration) {
2645
3275
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2646
3276
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2647
3277
  },
3278
+ /**
3279
+ *
3280
+ * @summary close a Redis Pub/Sub polling session
3281
+ * @param {string} orgName
3282
+ * @param {string} clusterName
3283
+ * @param {string} id
3284
+ * @param {string} sessionId
3285
+ * @param {*} [options] Override http request option.
3286
+ * @throws {RequiredError}
3287
+ */
3288
+ async closeRedisPubSubSession(orgName, clusterName, id, sessionId, options) {
3289
+ var _a, _b, _c;
3290
+ const localVarAxiosArgs = await localVarAxiosParamCreator.closeRedisPubSubSession(orgName, clusterName, id, sessionId, options);
3291
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3292
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.closeRedisPubSubSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3293
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3294
+ },
2648
3295
  /**
2649
3296
  *
2650
3297
  * @summary close the session for the cluster
@@ -2679,6 +3326,23 @@ const DmsApiFp = function (configuration) {
2679
3326
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.createDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2680
3327
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2681
3328
  },
3329
+ /**
3330
+ *
3331
+ * @summary create a Redis Pub/Sub polling session
3332
+ * @param {string} orgName
3333
+ * @param {string} clusterName
3334
+ * @param {string} id
3335
+ * @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
3336
+ * @param {*} [options] Override http request option.
3337
+ * @throws {RequiredError}
3338
+ */
3339
+ async createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, options) {
3340
+ var _a, _b, _c;
3341
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, options);
3342
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3343
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.createRedisPubSubSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3344
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3345
+ },
2682
3346
  /**
2683
3347
  *
2684
3348
  * @summary Data Export
@@ -2780,6 +3444,23 @@ const DmsApiFp = function (configuration) {
2780
3444
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.enableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2781
3445
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2782
3446
  },
3447
+ /**
3448
+ * Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
3449
+ * @summary execute a Redis Workbench command
3450
+ * @param {string} orgName
3451
+ * @param {string} clusterName
3452
+ * @param {string} id
3453
+ * @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
3454
+ * @param {*} [options] Override http request option.
3455
+ * @throws {RequiredError}
3456
+ */
3457
+ async executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, options) {
3458
+ var _a, _b, _c;
3459
+ const localVarAxiosArgs = await localVarAxiosParamCreator.executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, options);
3460
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3461
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.executeRedisWorkbenchCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3462
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3463
+ },
2783
3464
  /**
2784
3465
  *
2785
3466
  * @summary support ddl and dml operations
@@ -2840,31 +3521,98 @@ const DmsApiFp = function (configuration) {
2840
3521
  * @param {*} [options] Override http request option.
2841
3522
  * @throws {RequiredError}
2842
3523
  */
2843
- async getMongoCollection(orgName, clusterName, id, db, col, options) {
3524
+ async getMongoCollection(orgName, clusterName, id, db, col, options) {
3525
+ var _a, _b, _c;
3526
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMongoCollection(orgName, clusterName, id, db, col, options);
3527
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3528
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getMongoCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3529
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3530
+ },
3531
+ /**
3532
+ *
3533
+ * @summary get the detail object info
3534
+ * @param {string} orgName name of the Org
3535
+ * @param {string} clusterName name of the cluster
3536
+ * @param {string} id id of the datasource
3537
+ * @param {string} schema schema or database name
3538
+ * @param {string} type object type
3539
+ * @param {string} objectName object name
3540
+ * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
3541
+ * @param {*} [options] Override http request option.
3542
+ * @throws {RequiredError}
3543
+ */
3544
+ async getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options) {
3545
+ var _a, _b, _c;
3546
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options);
3547
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3548
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getObjectInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3549
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3550
+ },
3551
+ /**
3552
+ *
3553
+ * @summary get Redis Cluster topology
3554
+ * @param {string} orgName
3555
+ * @param {string} clusterName
3556
+ * @param {string} id
3557
+ * @param {*} [options] Override http request option.
3558
+ * @throws {RequiredError}
3559
+ */
3560
+ async getRedisClusterTopology(orgName, clusterName, id, options) {
3561
+ var _a, _b, _c;
3562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisClusterTopology(orgName, clusterName, id, options);
3563
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3564
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisClusterTopology']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3565
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3566
+ },
3567
+ /**
3568
+ *
3569
+ * @summary get Redis datasource data-management context
3570
+ * @param {string} orgName
3571
+ * @param {string} clusterName
3572
+ * @param {string} id
3573
+ * @param {*} [options] Override http request option.
3574
+ * @throws {RequiredError}
3575
+ */
3576
+ async getRedisContext(orgName, clusterName, id, options) {
3577
+ var _a, _b, _c;
3578
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisContext(orgName, clusterName, id, options);
3579
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3580
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisContext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3581
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3582
+ },
3583
+ /**
3584
+ *
3585
+ * @summary get Redis INFO output by section
3586
+ * @param {string} orgName
3587
+ * @param {string} clusterName
3588
+ * @param {string} id
3589
+ * @param {string} [section]
3590
+ * @param {string} [nodeId]
3591
+ * @param {*} [options] Override http request option.
3592
+ * @throws {RequiredError}
3593
+ */
3594
+ async getRedisInfo(orgName, clusterName, id, section, nodeId, options) {
2844
3595
  var _a, _b, _c;
2845
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMongoCollection(orgName, clusterName, id, db, col, options);
3596
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisInfo(orgName, clusterName, id, section, nodeId, options);
2846
3597
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2847
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getMongoCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3598
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2848
3599
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2849
3600
  },
2850
3601
  /**
2851
3602
  *
2852
- * @summary get the detail object info
2853
- * @param {string} orgName name of the Org
2854
- * @param {string} clusterName name of the cluster
2855
- * @param {string} id id of the datasource
2856
- * @param {string} schema schema or database name
2857
- * @param {string} type object type
2858
- * @param {string} objectName object name
2859
- * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
3603
+ * @summary get Redis key detail
3604
+ * @param {string} orgName
3605
+ * @param {string} clusterName
3606
+ * @param {string} id
3607
+ * @param {RedisKeyDetailRequest} redisKeyDetailRequest
2860
3608
  * @param {*} [options] Override http request option.
2861
3609
  * @throws {RequiredError}
2862
3610
  */
2863
- async getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options) {
3611
+ async getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, options) {
2864
3612
  var _a, _b, _c;
2865
- const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options);
3613
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, options);
2866
3614
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2867
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getObjectInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3615
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisKeyDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2868
3616
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2869
3617
  },
2870
3618
  /**
@@ -3068,6 +3816,65 @@ const DmsApiFp = function (configuration) {
3068
3816
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listQueryHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3069
3817
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3070
3818
  },
3819
+ /**
3820
+ *
3821
+ * @summary list Redis key summaries by SCAN cursor
3822
+ * @param {string} orgName
3823
+ * @param {string} clusterName
3824
+ * @param {string} id
3825
+ * @param {string} [cursor]
3826
+ * @param {number} [limit]
3827
+ * @param {string} [pattern]
3828
+ * @param {string} [type]
3829
+ * @param {string} [separator]
3830
+ * @param {string} [nodeId]
3831
+ * @param {*} [options] Override http request option.
3832
+ * @throws {RequiredError}
3833
+ */
3834
+ async listRedisKeys(orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options) {
3835
+ var _a, _b, _c;
3836
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisKeys(orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options);
3837
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3838
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listRedisKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3839
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3840
+ },
3841
+ /**
3842
+ *
3843
+ * @summary list messages from a Redis Pub/Sub polling session
3844
+ * @param {string} orgName
3845
+ * @param {string} clusterName
3846
+ * @param {string} id
3847
+ * @param {string} sessionId
3848
+ * @param {string} [cursor]
3849
+ * @param {number} [limit]
3850
+ * @param {*} [options] Override http request option.
3851
+ * @throws {RequiredError}
3852
+ */
3853
+ async listRedisPubSubMessages(orgName, clusterName, id, sessionId, cursor, limit, options) {
3854
+ var _a, _b, _c;
3855
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisPubSubMessages(orgName, clusterName, id, sessionId, cursor, limit, options);
3856
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3857
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listRedisPubSubMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3858
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3859
+ },
3860
+ /**
3861
+ *
3862
+ * @summary list Redis slow log entries
3863
+ * @param {string} orgName
3864
+ * @param {string} clusterName
3865
+ * @param {string} id
3866
+ * @param {number} [limit]
3867
+ * @param {string} [nodeId]
3868
+ * @param {*} [options] Override http request option.
3869
+ * @throws {RequiredError}
3870
+ */
3871
+ async listRedisSlowLog(orgName, clusterName, id, limit, nodeId, options) {
3872
+ var _a, _b, _c;
3873
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisSlowLog(orgName, clusterName, id, limit, nodeId, options);
3874
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3875
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listRedisSlowLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3876
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3877
+ },
3071
3878
  /**
3072
3879
  *
3073
3880
  * @summary list all session for the cluster
@@ -3469,6 +4276,40 @@ const DmsApiFp = function (configuration) {
3469
4276
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3470
4277
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3471
4278
  },
4279
+ /**
4280
+ *
4281
+ * @summary mutate Redis key data or metadata
4282
+ * @param {string} orgName
4283
+ * @param {string} clusterName
4284
+ * @param {string} id
4285
+ * @param {RedisKeyMutateRequest} redisKeyMutateRequest
4286
+ * @param {*} [options] Override http request option.
4287
+ * @throws {RequiredError}
4288
+ */
4289
+ async mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, options) {
4290
+ var _a, _b, _c;
4291
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, options);
4292
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4293
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mutateRedisKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4294
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4295
+ },
4296
+ /**
4297
+ *
4298
+ * @summary publish a Redis Pub/Sub message
4299
+ * @param {string} orgName
4300
+ * @param {string} clusterName
4301
+ * @param {string} id
4302
+ * @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
4303
+ * @param {*} [options] Override http request option.
4304
+ * @throws {RequiredError}
4305
+ */
4306
+ async publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, options) {
4307
+ var _a, _b, _c;
4308
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, options);
4309
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4310
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.publishRedisMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4311
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4312
+ },
3472
4313
  /**
3473
4314
  *
3474
4315
  * @summary create a SQL query
@@ -3486,6 +4327,23 @@ const DmsApiFp = function (configuration) {
3486
4327
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.query']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3487
4328
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3488
4329
  },
4330
+ /**
4331
+ *
4332
+ * @summary reset Redis slow log
4333
+ * @param {string} orgName
4334
+ * @param {string} clusterName
4335
+ * @param {string} id
4336
+ * @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
4337
+ * @param {*} [options] Override http request option.
4338
+ * @throws {RequiredError}
4339
+ */
4340
+ async resetRedisSlowLog(orgName, clusterName, id, redisDangerousOperationRequest, options) {
4341
+ var _a, _b, _c;
4342
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetRedisSlowLog(orgName, clusterName, id, redisDangerousOperationRequest, options);
4343
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4344
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.resetRedisSlowLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4345
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4346
+ },
3489
4347
  /**
3490
4348
  *
3491
4349
  * @summary read data of table or view
@@ -3589,6 +4447,16 @@ const DmsApiFactory = function (configuration, basePath, axios) {
3589
4447
  alterParameter(requestParameters, options) {
3590
4448
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
3591
4449
  },
4450
+ /**
4451
+ *
4452
+ * @summary close a Redis Pub/Sub polling session
4453
+ * @param {DmsApiCloseRedisPubSubSessionRequest} requestParameters Request parameters.
4454
+ * @param {*} [options] Override http request option.
4455
+ * @throws {RequiredError}
4456
+ */
4457
+ closeRedisPubSubSession(requestParameters, options) {
4458
+ return localVarFp.closeRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, options).then((request) => request(axios, basePath));
4459
+ },
3592
4460
  /**
3593
4461
  *
3594
4462
  * @summary close the session for the cluster
@@ -3610,6 +4478,16 @@ const DmsApiFactory = function (configuration, basePath, axios) {
3610
4478
  createDataSourceV2(requestParameters, options) {
3611
4479
  return localVarFp.createDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.datasource, options).then((request) => request(axios, basePath));
3612
4480
  },
4481
+ /**
4482
+ *
4483
+ * @summary create a Redis Pub/Sub polling session
4484
+ * @param {DmsApiCreateRedisPubSubSessionRequest} requestParameters Request parameters.
4485
+ * @param {*} [options] Override http request option.
4486
+ * @throws {RequiredError}
4487
+ */
4488
+ createRedisPubSubSession(requestParameters, options) {
4489
+ return localVarFp.createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(axios, basePath));
4490
+ },
3613
4491
  /**
3614
4492
  *
3615
4493
  * @summary Data Export
@@ -3670,6 +4548,16 @@ const DmsApiFactory = function (configuration, basePath, axios) {
3670
4548
  enableConsole(requestParameters, options) {
3671
4549
  return localVarFp.enableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.dMSConsoleEnableOpt, options).then((request) => request(axios, basePath));
3672
4550
  },
4551
+ /**
4552
+ * Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
4553
+ * @summary execute a Redis Workbench command
4554
+ * @param {DmsApiExecuteRedisWorkbenchCommandRequest} requestParameters Request parameters.
4555
+ * @param {*} [options] Override http request option.
4556
+ * @throws {RequiredError}
4557
+ */
4558
+ executeRedisWorkbenchCommand(requestParameters, options) {
4559
+ return localVarFp.executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(axios, basePath));
4560
+ },
3673
4561
  /**
3674
4562
  *
3675
4563
  * @summary support ddl and dml operations
@@ -3720,6 +4608,46 @@ const DmsApiFactory = function (configuration, basePath, axios) {
3720
4608
  getObjectInfo(requestParameters, options) {
3721
4609
  return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(axios, basePath));
3722
4610
  },
4611
+ /**
4612
+ *
4613
+ * @summary get Redis Cluster topology
4614
+ * @param {DmsApiGetRedisClusterTopologyRequest} requestParameters Request parameters.
4615
+ * @param {*} [options] Override http request option.
4616
+ * @throws {RequiredError}
4617
+ */
4618
+ getRedisClusterTopology(requestParameters, options) {
4619
+ return localVarFp.getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
4620
+ },
4621
+ /**
4622
+ *
4623
+ * @summary get Redis datasource data-management context
4624
+ * @param {DmsApiGetRedisContextRequest} requestParameters Request parameters.
4625
+ * @param {*} [options] Override http request option.
4626
+ * @throws {RequiredError}
4627
+ */
4628
+ getRedisContext(requestParameters, options) {
4629
+ return localVarFp.getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
4630
+ },
4631
+ /**
4632
+ *
4633
+ * @summary get Redis INFO output by section
4634
+ * @param {DmsApiGetRedisInfoRequest} requestParameters Request parameters.
4635
+ * @param {*} [options] Override http request option.
4636
+ * @throws {RequiredError}
4637
+ */
4638
+ getRedisInfo(requestParameters, options) {
4639
+ return localVarFp.getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(axios, basePath));
4640
+ },
4641
+ /**
4642
+ *
4643
+ * @summary get Redis key detail
4644
+ * @param {DmsApiGetRedisKeyDetailRequest} requestParameters Request parameters.
4645
+ * @param {*} [options] Override http request option.
4646
+ * @throws {RequiredError}
4647
+ */
4648
+ getRedisKeyDetail(requestParameters, options) {
4649
+ return localVarFp.getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(axios, basePath));
4650
+ },
3723
4651
  /**
3724
4652
  *
3725
4653
  * @summary list all databases or schema of the cluster
@@ -3840,6 +4768,36 @@ const DmsApiFactory = function (configuration, basePath, axios) {
3840
4768
  listQueryHistory(requestParameters, options) {
3841
4769
  return localVarFp.listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(axios, basePath));
3842
4770
  },
4771
+ /**
4772
+ *
4773
+ * @summary list Redis key summaries by SCAN cursor
4774
+ * @param {DmsApiListRedisKeysRequest} requestParameters Request parameters.
4775
+ * @param {*} [options] Override http request option.
4776
+ * @throws {RequiredError}
4777
+ */
4778
+ listRedisKeys(requestParameters, options) {
4779
+ return localVarFp.listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(axios, basePath));
4780
+ },
4781
+ /**
4782
+ *
4783
+ * @summary list messages from a Redis Pub/Sub polling session
4784
+ * @param {DmsApiListRedisPubSubMessagesRequest} requestParameters Request parameters.
4785
+ * @param {*} [options] Override http request option.
4786
+ * @throws {RequiredError}
4787
+ */
4788
+ listRedisPubSubMessages(requestParameters, options) {
4789
+ return localVarFp.listRedisPubSubMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, requestParameters.cursor, requestParameters.limit, options).then((request) => request(axios, basePath));
4790
+ },
4791
+ /**
4792
+ *
4793
+ * @summary list Redis slow log entries
4794
+ * @param {DmsApiListRedisSlowLogRequest} requestParameters Request parameters.
4795
+ * @param {*} [options] Override http request option.
4796
+ * @throws {RequiredError}
4797
+ */
4798
+ listRedisSlowLog(requestParameters, options) {
4799
+ return localVarFp.listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(axios, basePath));
4800
+ },
3843
4801
  /**
3844
4802
  *
3845
4803
  * @summary list all session for the cluster
@@ -4061,6 +5019,26 @@ const DmsApiFactory = function (configuration, basePath, axios) {
4061
5019
  mongoUpdate(requestParameters, options) {
4062
5020
  return localVarFp.mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(axios, basePath));
4063
5021
  },
5022
+ /**
5023
+ *
5024
+ * @summary mutate Redis key data or metadata
5025
+ * @param {DmsApiMutateRedisKeyRequest} requestParameters Request parameters.
5026
+ * @param {*} [options] Override http request option.
5027
+ * @throws {RequiredError}
5028
+ */
5029
+ mutateRedisKey(requestParameters, options) {
5030
+ return localVarFp.mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(axios, basePath));
5031
+ },
5032
+ /**
5033
+ *
5034
+ * @summary publish a Redis Pub/Sub message
5035
+ * @param {DmsApiPublishRedisMessageRequest} requestParameters Request parameters.
5036
+ * @param {*} [options] Override http request option.
5037
+ * @throws {RequiredError}
5038
+ */
5039
+ publishRedisMessage(requestParameters, options) {
5040
+ return localVarFp.publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(axios, basePath));
5041
+ },
4064
5042
  /**
4065
5043
  *
4066
5044
  * @summary create a SQL query
@@ -4071,6 +5049,16 @@ const DmsApiFactory = function (configuration, basePath, axios) {
4071
5049
  query(requestParameters, options) {
4072
5050
  return localVarFp.query(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsQueryRequest, options).then((request) => request(axios, basePath));
4073
5051
  },
5052
+ /**
5053
+ *
5054
+ * @summary reset Redis slow log
5055
+ * @param {DmsApiResetRedisSlowLogRequest} requestParameters Request parameters.
5056
+ * @param {*} [options] Override http request option.
5057
+ * @throws {RequiredError}
5058
+ */
5059
+ resetRedisSlowLog(requestParameters, options) {
5060
+ return localVarFp.resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(axios, basePath));
5061
+ },
4074
5062
  /**
4075
5063
  *
4076
5064
  * @summary read data of table or view
@@ -4142,6 +5130,17 @@ class DmsApi extends base_1.BaseAPI {
4142
5130
  alterParameter(requestParameters, options) {
4143
5131
  return (0, exports.DmsApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
4144
5132
  }
5133
+ /**
5134
+ *
5135
+ * @summary close a Redis Pub/Sub polling session
5136
+ * @param {DmsApiCloseRedisPubSubSessionRequest} requestParameters Request parameters.
5137
+ * @param {*} [options] Override http request option.
5138
+ * @throws {RequiredError}
5139
+ * @memberof DmsApi
5140
+ */
5141
+ closeRedisPubSubSession(requestParameters, options) {
5142
+ return (0, exports.DmsApiFp)(this.configuration).closeRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
5143
+ }
4145
5144
  /**
4146
5145
  *
4147
5146
  * @summary close the session for the cluster
@@ -4165,6 +5164,17 @@ class DmsApi extends base_1.BaseAPI {
4165
5164
  createDataSourceV2(requestParameters, options) {
4166
5165
  return (0, exports.DmsApiFp)(this.configuration).createDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.datasource, options).then((request) => request(this.axios, this.basePath));
4167
5166
  }
5167
+ /**
5168
+ *
5169
+ * @summary create a Redis Pub/Sub polling session
5170
+ * @param {DmsApiCreateRedisPubSubSessionRequest} requestParameters Request parameters.
5171
+ * @param {*} [options] Override http request option.
5172
+ * @throws {RequiredError}
5173
+ * @memberof DmsApi
5174
+ */
5175
+ createRedisPubSubSession(requestParameters, options) {
5176
+ return (0, exports.DmsApiFp)(this.configuration).createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(this.axios, this.basePath));
5177
+ }
4168
5178
  /**
4169
5179
  *
4170
5180
  * @summary Data Export
@@ -4231,6 +5241,17 @@ class DmsApi extends base_1.BaseAPI {
4231
5241
  enableConsole(requestParameters, options) {
4232
5242
  return (0, exports.DmsApiFp)(this.configuration).enableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.dMSConsoleEnableOpt, options).then((request) => request(this.axios, this.basePath));
4233
5243
  }
5244
+ /**
5245
+ * Executes a Redis command for the current datasource context. Follow-up implementation should record command history in datasource query_history with engine=redis; no Redis-specific history API is introduced by this contract.
5246
+ * @summary execute a Redis Workbench command
5247
+ * @param {DmsApiExecuteRedisWorkbenchCommandRequest} requestParameters Request parameters.
5248
+ * @param {*} [options] Override http request option.
5249
+ * @throws {RequiredError}
5250
+ * @memberof DmsApi
5251
+ */
5252
+ executeRedisWorkbenchCommand(requestParameters, options) {
5253
+ return (0, exports.DmsApiFp)(this.configuration).executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(this.axios, this.basePath));
5254
+ }
4234
5255
  /**
4235
5256
  *
4236
5257
  * @summary support ddl and dml operations
@@ -4286,6 +5307,50 @@ class DmsApi extends base_1.BaseAPI {
4286
5307
  getObjectInfo(requestParameters, options) {
4287
5308
  return (0, exports.DmsApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
4288
5309
  }
5310
+ /**
5311
+ *
5312
+ * @summary get Redis Cluster topology
5313
+ * @param {DmsApiGetRedisClusterTopologyRequest} requestParameters Request parameters.
5314
+ * @param {*} [options] Override http request option.
5315
+ * @throws {RequiredError}
5316
+ * @memberof DmsApi
5317
+ */
5318
+ getRedisClusterTopology(requestParameters, options) {
5319
+ return (0, exports.DmsApiFp)(this.configuration).getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5320
+ }
5321
+ /**
5322
+ *
5323
+ * @summary get Redis datasource data-management context
5324
+ * @param {DmsApiGetRedisContextRequest} requestParameters Request parameters.
5325
+ * @param {*} [options] Override http request option.
5326
+ * @throws {RequiredError}
5327
+ * @memberof DmsApi
5328
+ */
5329
+ getRedisContext(requestParameters, options) {
5330
+ return (0, exports.DmsApiFp)(this.configuration).getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5331
+ }
5332
+ /**
5333
+ *
5334
+ * @summary get Redis INFO output by section
5335
+ * @param {DmsApiGetRedisInfoRequest} requestParameters Request parameters.
5336
+ * @param {*} [options] Override http request option.
5337
+ * @throws {RequiredError}
5338
+ * @memberof DmsApi
5339
+ */
5340
+ getRedisInfo(requestParameters, options) {
5341
+ return (0, exports.DmsApiFp)(this.configuration).getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
5342
+ }
5343
+ /**
5344
+ *
5345
+ * @summary get Redis key detail
5346
+ * @param {DmsApiGetRedisKeyDetailRequest} requestParameters Request parameters.
5347
+ * @param {*} [options] Override http request option.
5348
+ * @throws {RequiredError}
5349
+ * @memberof DmsApi
5350
+ */
5351
+ getRedisKeyDetail(requestParameters, options) {
5352
+ return (0, exports.DmsApiFp)(this.configuration).getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(this.axios, this.basePath));
5353
+ }
4289
5354
  /**
4290
5355
  *
4291
5356
  * @summary list all databases or schema of the cluster
@@ -4418,6 +5483,39 @@ class DmsApi extends base_1.BaseAPI {
4418
5483
  listQueryHistory(requestParameters, options) {
4419
5484
  return (0, exports.DmsApiFp)(this.configuration).listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
4420
5485
  }
5486
+ /**
5487
+ *
5488
+ * @summary list Redis key summaries by SCAN cursor
5489
+ * @param {DmsApiListRedisKeysRequest} requestParameters Request parameters.
5490
+ * @param {*} [options] Override http request option.
5491
+ * @throws {RequiredError}
5492
+ * @memberof DmsApi
5493
+ */
5494
+ listRedisKeys(requestParameters, options) {
5495
+ return (0, exports.DmsApiFp)(this.configuration).listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
5496
+ }
5497
+ /**
5498
+ *
5499
+ * @summary list messages from a Redis Pub/Sub polling session
5500
+ * @param {DmsApiListRedisPubSubMessagesRequest} requestParameters Request parameters.
5501
+ * @param {*} [options] Override http request option.
5502
+ * @throws {RequiredError}
5503
+ * @memberof DmsApi
5504
+ */
5505
+ listRedisPubSubMessages(requestParameters, options) {
5506
+ return (0, exports.DmsApiFp)(this.configuration).listRedisPubSubMessages(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionId, requestParameters.cursor, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
5507
+ }
5508
+ /**
5509
+ *
5510
+ * @summary list Redis slow log entries
5511
+ * @param {DmsApiListRedisSlowLogRequest} requestParameters Request parameters.
5512
+ * @param {*} [options] Override http request option.
5513
+ * @throws {RequiredError}
5514
+ * @memberof DmsApi
5515
+ */
5516
+ listRedisSlowLog(requestParameters, options) {
5517
+ return (0, exports.DmsApiFp)(this.configuration).listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
5518
+ }
4421
5519
  /**
4422
5520
  *
4423
5521
  * @summary list all session for the cluster
@@ -4661,6 +5759,28 @@ class DmsApi extends base_1.BaseAPI {
4661
5759
  mongoUpdate(requestParameters, options) {
4662
5760
  return (0, exports.DmsApiFp)(this.configuration).mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(this.axios, this.basePath));
4663
5761
  }
5762
+ /**
5763
+ *
5764
+ * @summary mutate Redis key data or metadata
5765
+ * @param {DmsApiMutateRedisKeyRequest} requestParameters Request parameters.
5766
+ * @param {*} [options] Override http request option.
5767
+ * @throws {RequiredError}
5768
+ * @memberof DmsApi
5769
+ */
5770
+ mutateRedisKey(requestParameters, options) {
5771
+ return (0, exports.DmsApiFp)(this.configuration).mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(this.axios, this.basePath));
5772
+ }
5773
+ /**
5774
+ *
5775
+ * @summary publish a Redis Pub/Sub message
5776
+ * @param {DmsApiPublishRedisMessageRequest} requestParameters Request parameters.
5777
+ * @param {*} [options] Override http request option.
5778
+ * @throws {RequiredError}
5779
+ * @memberof DmsApi
5780
+ */
5781
+ publishRedisMessage(requestParameters, options) {
5782
+ return (0, exports.DmsApiFp)(this.configuration).publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(this.axios, this.basePath));
5783
+ }
4664
5784
  /**
4665
5785
  *
4666
5786
  * @summary create a SQL query
@@ -4672,6 +5792,17 @@ class DmsApi extends base_1.BaseAPI {
4672
5792
  query(requestParameters, options) {
4673
5793
  return (0, exports.DmsApiFp)(this.configuration).query(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsQueryRequest, options).then((request) => request(this.axios, this.basePath));
4674
5794
  }
5795
+ /**
5796
+ *
5797
+ * @summary reset Redis slow log
5798
+ * @param {DmsApiResetRedisSlowLogRequest} requestParameters Request parameters.
5799
+ * @param {*} [options] Override http request option.
5800
+ * @throws {RequiredError}
5801
+ * @memberof DmsApi
5802
+ */
5803
+ resetRedisSlowLog(requestParameters, options) {
5804
+ return (0, exports.DmsApiFp)(this.configuration).resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(this.axios, this.basePath));
5805
+ }
4675
5806
  /**
4676
5807
  *
4677
5808
  * @summary read data of table or view