@keboola/api-client 20.0.0 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/API-SURFACE.md +51 -3
  2. package/README.md +124 -24
  3. package/dist/{ManagementClientAuthError-BMOhz4mx.d.ts → ManagementClientAuthError-B3PZRWBU.d.ts} +1 -1
  4. package/dist/{ManagementClientAuthError-B7mGrnGn.d.cts → ManagementClientAuthError-CJu_hpGi.d.cts} +1 -1
  5. package/dist/ai/index.cjs +4 -4
  6. package/dist/ai/index.d.cts +4 -3
  7. package/dist/ai/index.d.ts +4 -3
  8. package/dist/ai/index.js +3 -3
  9. package/dist/ai/types.d.cts +2 -2
  10. package/dist/ai/types.d.ts +2 -2
  11. package/dist/assets/index.cjs +12 -3
  12. package/dist/assets/index.cjs.map +1 -1
  13. package/dist/assets/index.d.cts +2 -1
  14. package/dist/assets/index.d.ts +2 -1
  15. package/dist/assets/index.js +11 -2
  16. package/dist/assets/index.js.map +1 -1
  17. package/dist/auth/index.cjs +22 -10
  18. package/dist/auth/index.d.cts +117 -10
  19. package/dist/auth/index.d.ts +117 -10
  20. package/dist/auth/index.js +2 -2
  21. package/dist/auth/types.d.cts +4 -8
  22. package/dist/auth/types.d.ts +4 -8
  23. package/dist/chat/index.cjs +4 -4
  24. package/dist/chat/index.d.cts +4 -8
  25. package/dist/chat/index.d.ts +4 -8
  26. package/dist/chat/index.js +3 -3
  27. package/dist/chat/suggestions.d.cts +11 -11
  28. package/dist/chat/suggestions.d.ts +11 -11
  29. package/dist/chat/types.d.cts +2 -2
  30. package/dist/chat/types.d.ts +2 -2
  31. package/dist/{chunk-SWJHENEP.cjs → chunk-22D55AHX.cjs} +180 -28
  32. package/dist/chunk-22D55AHX.cjs.map +1 -0
  33. package/dist/chunk-22E6IGXR.js +6 -0
  34. package/dist/chunk-22E6IGXR.js.map +1 -0
  35. package/dist/{chunk-7ETZQGY7.js → chunk-2BOG5U7C.js} +3 -3
  36. package/dist/{chunk-7ETZQGY7.js.map → chunk-2BOG5U7C.js.map} +1 -1
  37. package/dist/{chunk-RHLDDKX6.js → chunk-33NQB34X.js} +99 -30
  38. package/dist/chunk-33NQB34X.js.map +1 -0
  39. package/dist/{chunk-AWRMGLMT.cjs → chunk-35MODDCL.cjs} +8 -9
  40. package/dist/chunk-35MODDCL.cjs.map +1 -0
  41. package/dist/{chunk-RK2VGHJE.js → chunk-3B3GOGAL.js} +3 -3
  42. package/dist/chunk-3B3GOGAL.js.map +1 -0
  43. package/dist/{chunk-TTPJSPZA.cjs → chunk-3KEVPUSX.cjs} +10 -3
  44. package/dist/chunk-3KEVPUSX.cjs.map +1 -0
  45. package/dist/chunk-43CGBOVT.cjs +16 -0
  46. package/dist/chunk-43CGBOVT.cjs.map +1 -0
  47. package/dist/{chunk-IZWNTRMT.cjs → chunk-4GUUSO5O.cjs} +24 -7
  48. package/dist/chunk-4GUUSO5O.cjs.map +1 -0
  49. package/dist/{chunk-YUTWLJBK.js → chunk-4IEIVLYT.js} +55 -5
  50. package/dist/chunk-4IEIVLYT.js.map +1 -0
  51. package/dist/{chunk-KLVBTRLR.js → chunk-4Z5W2F6Q.js} +168 -17
  52. package/dist/chunk-4Z5W2F6Q.js.map +1 -0
  53. package/dist/{chunk-JJXTE2SL.cjs → chunk-556U6PFA.cjs} +6 -6
  54. package/dist/{chunk-JJXTE2SL.cjs.map → chunk-556U6PFA.cjs.map} +1 -1
  55. package/dist/{chunk-M3UUJIMO.js → chunk-5Z6M32UE.js} +16 -5
  56. package/dist/chunk-5Z6M32UE.js.map +1 -0
  57. package/dist/{chunk-XISA4SYM.cjs → chunk-5ZOWA7DA.cjs} +6 -6
  58. package/dist/{chunk-XISA4SYM.cjs.map → chunk-5ZOWA7DA.cjs.map} +1 -1
  59. package/dist/{chunk-6FE3CWV6.js → chunk-6LBMZAPF.js} +14 -5
  60. package/dist/chunk-6LBMZAPF.js.map +1 -0
  61. package/dist/{chunk-4H2DDEUI.cjs → chunk-BWBTNAVL.cjs} +9 -9
  62. package/dist/{chunk-4H2DDEUI.cjs.map → chunk-BWBTNAVL.cjs.map} +1 -1
  63. package/dist/{chunk-NRJTA5P3.cjs → chunk-CCC6I32C.cjs} +4 -4
  64. package/dist/{chunk-NRJTA5P3.cjs.map → chunk-CCC6I32C.cjs.map} +1 -1
  65. package/dist/{chunk-ZLW3243Q.cjs → chunk-CN5GAKRO.cjs} +6 -6
  66. package/dist/chunk-CN5GAKRO.cjs.map +1 -0
  67. package/dist/{chunk-JURD5MC3.js → chunk-DHOVQ2TW.js} +15 -16
  68. package/dist/chunk-DHOVQ2TW.js.map +1 -0
  69. package/dist/{chunk-IUN2ZSU3.cjs → chunk-DMNWPVVT.cjs} +3 -2
  70. package/dist/chunk-DMNWPVVT.cjs.map +1 -0
  71. package/dist/chunk-EWMXK3EI.cjs +8 -0
  72. package/dist/chunk-EWMXK3EI.cjs.map +1 -0
  73. package/dist/{chunk-IWIN6HKU.cjs → chunk-EYIPM2XB.cjs} +4 -4
  74. package/dist/{chunk-IWIN6HKU.cjs.map → chunk-EYIPM2XB.cjs.map} +1 -1
  75. package/dist/{chunk-HEVDH4JQ.js → chunk-F43HBNKD.js} +4 -4
  76. package/dist/{chunk-HEVDH4JQ.js.map → chunk-F43HBNKD.js.map} +1 -1
  77. package/dist/{chunk-QQJXXNUE.cjs → chunk-FDTWXXI4.cjs} +7 -7
  78. package/dist/{chunk-QQJXXNUE.cjs.map → chunk-FDTWXXI4.cjs.map} +1 -1
  79. package/dist/{chunk-CVV4HROS.cjs → chunk-FMS5PNM2.cjs} +4 -4
  80. package/dist/chunk-FMS5PNM2.cjs.map +1 -0
  81. package/dist/{chunk-ZHNOZHJG.js → chunk-FQK3YM7U.js} +3 -3
  82. package/dist/{chunk-ZHNOZHJG.js.map → chunk-FQK3YM7U.js.map} +1 -1
  83. package/dist/{chunk-BR3SBEFE.cjs → chunk-FRLSKIUI.cjs} +19 -21
  84. package/dist/chunk-FRLSKIUI.cjs.map +1 -0
  85. package/dist/{chunk-JIAMBOU7.cjs → chunk-FVJC2GJY.cjs} +19 -8
  86. package/dist/chunk-FVJC2GJY.cjs.map +1 -0
  87. package/dist/{chunk-7KMFRSYA.js → chunk-G5JMZI2L.js} +22 -5
  88. package/dist/chunk-G5JMZI2L.js.map +1 -0
  89. package/dist/{chunk-4HJUQVXR.js → chunk-HFZCZ7PZ.js} +61 -12
  90. package/dist/chunk-HFZCZ7PZ.js.map +1 -0
  91. package/dist/{chunk-4JCVPUXF.cjs → chunk-HZSZQFEO.cjs} +109 -40
  92. package/dist/chunk-HZSZQFEO.cjs.map +1 -0
  93. package/dist/{chunk-WWICQYOY.cjs → chunk-IYGHWPCR.cjs} +4 -4
  94. package/dist/{chunk-WWICQYOY.cjs.map → chunk-IYGHWPCR.cjs.map} +1 -1
  95. package/dist/{chunk-KDWIJTED.js → chunk-J2MBTBE2.js} +4 -4
  96. package/dist/{chunk-KDWIJTED.js.map → chunk-J2MBTBE2.js.map} +1 -1
  97. package/dist/{chunk-ISY2BOFY.js → chunk-JQSMJ64B.js} +4 -4
  98. package/dist/{chunk-ISY2BOFY.js.map → chunk-JQSMJ64B.js.map} +1 -1
  99. package/dist/{chunk-ANRUSNYD.cjs → chunk-K6EZ3USU.cjs} +7 -7
  100. package/dist/{chunk-ANRUSNYD.cjs.map → chunk-K6EZ3USU.cjs.map} +1 -1
  101. package/dist/{chunk-KQ2QNGRX.js → chunk-KH6BHTXN.js} +5 -6
  102. package/dist/chunk-KH6BHTXN.js.map +1 -0
  103. package/dist/chunk-KUYVBCUM.cjs +231 -0
  104. package/dist/chunk-KUYVBCUM.cjs.map +1 -0
  105. package/dist/{chunk-EKWD4ODT.cjs → chunk-KY4EYQ6I.cjs} +6 -6
  106. package/dist/{chunk-EKWD4ODT.cjs.map → chunk-KY4EYQ6I.cjs.map} +1 -1
  107. package/dist/{chunk-WJRHT346.js → chunk-L4R66Q6S.js} +4 -4
  108. package/dist/chunk-L4R66Q6S.js.map +1 -0
  109. package/dist/{chunk-K6E7LOWZ.js → chunk-L63UYWJG.js} +4 -4
  110. package/dist/{chunk-K6E7LOWZ.js.map → chunk-L63UYWJG.js.map} +1 -1
  111. package/dist/{chunk-EXNR4FGV.js → chunk-MIUULCML.js} +3 -3
  112. package/dist/{chunk-EXNR4FGV.js.map → chunk-MIUULCML.js.map} +1 -1
  113. package/dist/{chunk-V4FLCCD4.js → chunk-PEC3BYFA.js} +4 -4
  114. package/dist/{chunk-V4FLCCD4.js.map → chunk-PEC3BYFA.js.map} +1 -1
  115. package/dist/{chunk-ZAPK7HZS.js → chunk-PHP2NND7.js} +4 -4
  116. package/dist/{chunk-ZAPK7HZS.js.map → chunk-PHP2NND7.js.map} +1 -1
  117. package/dist/{chunk-STAQJVW4.cjs → chunk-Q7C2IRF2.cjs} +6 -6
  118. package/dist/{chunk-STAQJVW4.cjs.map → chunk-Q7C2IRF2.cjs.map} +1 -1
  119. package/dist/chunk-QHD4LPAQ.cjs +8 -0
  120. package/dist/chunk-QHD4LPAQ.cjs.map +1 -0
  121. package/dist/{chunk-FPWOK2CR.js → chunk-R3NW5LAB.js} +4 -4
  122. package/dist/chunk-R3NW5LAB.js.map +1 -0
  123. package/dist/{chunk-EBCZUGUX.js → chunk-SJZ66FD5.js} +4 -4
  124. package/dist/chunk-SJZ66FD5.js.map +1 -0
  125. package/dist/chunk-T526LPBK.js +6 -0
  126. package/dist/chunk-T526LPBK.js.map +1 -0
  127. package/dist/{chunk-G7VCXMQB.cjs → chunk-T7SEZMQ7.cjs} +16 -7
  128. package/dist/chunk-T7SEZMQ7.cjs.map +1 -0
  129. package/dist/{chunk-UREIP7XG.js → chunk-TCGHVOIJ.js} +4 -4
  130. package/dist/{chunk-UREIP7XG.js.map → chunk-TCGHVOIJ.js.map} +1 -1
  131. package/dist/{chunk-IBELIKBL.js → chunk-TF3JWA7J.js} +4 -4
  132. package/dist/{chunk-IBELIKBL.js.map → chunk-TF3JWA7J.js.map} +1 -1
  133. package/dist/{chunk-GENABZQ3.js → chunk-UH5JOSEE.js} +4 -4
  134. package/dist/{chunk-GENABZQ3.js.map → chunk-UH5JOSEE.js.map} +1 -1
  135. package/dist/chunk-UP5SEEYZ.js +218 -0
  136. package/dist/chunk-UP5SEEYZ.js.map +1 -0
  137. package/dist/{chunk-MLCMKHMK.cjs → chunk-VPNWX7YM.cjs} +6 -6
  138. package/dist/{chunk-MLCMKHMK.cjs.map → chunk-VPNWX7YM.cjs.map} +1 -1
  139. package/dist/{chunk-YOD5F25S.js → chunk-WJEAGAWB.js} +4 -4
  140. package/dist/{chunk-YOD5F25S.js.map → chunk-WJEAGAWB.js.map} +1 -1
  141. package/dist/{chunk-YLHZ2H7O.cjs → chunk-WZGBE4XH.cjs} +9 -9
  142. package/dist/{chunk-YLHZ2H7O.cjs.map → chunk-WZGBE4XH.cjs.map} +1 -1
  143. package/dist/chunk-X4HEWMPU.cjs +113 -0
  144. package/dist/chunk-X4HEWMPU.cjs.map +1 -0
  145. package/dist/{chunk-WFBQUWRC.js → chunk-XMC355U2.js} +10 -3
  146. package/dist/chunk-XMC355U2.js.map +1 -0
  147. package/dist/{chunk-N3GNUFMA.cjs → chunk-YEF46DYF.cjs} +65 -13
  148. package/dist/chunk-YEF46DYF.cjs.map +1 -0
  149. package/dist/{chunk-AKDJSXVJ.cjs → chunk-YQEBJG5H.cjs} +6 -6
  150. package/dist/{chunk-AKDJSXVJ.cjs.map → chunk-YQEBJG5H.cjs.map} +1 -1
  151. package/dist/{chunk-UFQVOZZ6.cjs → chunk-Z76DIRLA.cjs} +55 -5
  152. package/dist/chunk-Z76DIRLA.cjs.map +1 -0
  153. package/dist/chunk-ZDCEKJAL.js +110 -0
  154. package/dist/chunk-ZDCEKJAL.js.map +1 -0
  155. package/dist/constants/index.cjs +17 -3
  156. package/dist/constants/index.cjs.map +1 -1
  157. package/dist/constants/index.d.cts +8 -1
  158. package/dist/constants/index.d.ts +8 -1
  159. package/dist/constants/index.js +16 -2
  160. package/dist/constants/index.js.map +1 -1
  161. package/dist/{createGenericFetchClient-D4tfhW6Z.d.ts → createGenericFetchClient-B2Gp1a8f.d.ts} +1 -1
  162. package/dist/{createGenericFetchClient-CrB9cdk8.d.cts → createGenericFetchClient-DJ-oaxPj.d.cts} +1 -1
  163. package/dist/{createOpenapiFetchClient-DLA4-_yg.d.ts → createOpenapiFetchClient-BX7_szVZ.d.ts} +2 -2
  164. package/dist/{createOpenapiFetchClient-zK2SckO2.d.cts → createOpenapiFetchClient-pguVgT7R.d.cts} +2 -2
  165. package/dist/dataScience/index.cjs +5 -5
  166. package/dist/dataScience/index.d.cts +4 -9
  167. package/dist/dataScience/index.d.ts +4 -9
  168. package/dist/dataScience/index.js +3 -3
  169. package/dist/dataScience/types.d.cts +2 -2
  170. package/dist/dataScience/types.d.ts +2 -2
  171. package/dist/domain/permissions/index.cjs +23 -0
  172. package/dist/domain/permissions/index.cjs.map +1 -1
  173. package/dist/domain/permissions/index.d.cts +40 -5
  174. package/dist/domain/permissions/index.d.ts +40 -5
  175. package/dist/domain/permissions/index.js +20 -1
  176. package/dist/domain/permissions/index.js.map +1 -1
  177. package/dist/editor/index.cjs +4 -4
  178. package/dist/editor/index.d.cts +3 -3
  179. package/dist/editor/index.d.ts +3 -3
  180. package/dist/editor/index.js +3 -3
  181. package/dist/editor/types.d.cts +2 -2
  182. package/dist/editor/types.d.ts +2 -2
  183. package/dist/encryption/index.cjs +3 -3
  184. package/dist/encryption/index.d.cts +4 -4
  185. package/dist/encryption/index.d.ts +4 -4
  186. package/dist/encryption/index.js +2 -2
  187. package/dist/encryption/types.d.cts +3 -3
  188. package/dist/encryption/types.d.ts +3 -3
  189. package/dist/import/index.cjs +4 -4
  190. package/dist/import/index.d.cts +1 -1
  191. package/dist/import/index.d.ts +1 -1
  192. package/dist/import/index.js +3 -3
  193. package/dist/index.cjs +1572 -848
  194. package/dist/index.cjs.map +1 -1
  195. package/dist/index.d.cts +1830 -1101
  196. package/dist/index.d.ts +1830 -1101
  197. package/dist/index.js +1571 -881
  198. package/dist/index.js.map +1 -1
  199. package/dist/management/index.cjs +5 -5
  200. package/dist/management/index.d.cts +39 -42
  201. package/dist/management/index.d.ts +39 -42
  202. package/dist/management/index.js +3 -3
  203. package/dist/management/types.d.cts +3 -7
  204. package/dist/management/types.d.ts +3 -7
  205. package/dist/metastore/index.cjs +4 -4
  206. package/dist/metastore/index.d.cts +14 -33
  207. package/dist/metastore/index.d.ts +14 -33
  208. package/dist/metastore/index.js +3 -3
  209. package/dist/metastore/types.d.cts +2 -2
  210. package/dist/metastore/types.d.ts +2 -2
  211. package/dist/notifications/index.cjs +5 -4
  212. package/dist/notifications/index.d.cts +30 -17
  213. package/dist/notifications/index.d.ts +30 -17
  214. package/dist/notifications/index.js +4 -3
  215. package/dist/notifications/types.d.cts +2 -2
  216. package/dist/notifications/types.d.ts +2 -2
  217. package/dist/oauth/index.cjs +4 -4
  218. package/dist/oauth/index.d.cts +1 -1
  219. package/dist/oauth/index.d.ts +1 -1
  220. package/dist/oauth/index.js +3 -3
  221. package/dist/{project-Bj7A_TSe.d.ts → project-BV-vseKc.d.ts} +2 -2
  222. package/dist/{project-CX3TEH8A.d.cts → project-CbJCjkdt.d.cts} +2 -2
  223. package/dist/queryService/index.cjs +4 -4
  224. package/dist/queryService/index.d.cts +3 -3
  225. package/dist/queryService/index.d.ts +3 -3
  226. package/dist/queryService/index.js +3 -3
  227. package/dist/queryService/types.d.cts +2 -2
  228. package/dist/queryService/types.d.ts +2 -2
  229. package/dist/queue/index.cjs +5 -4
  230. package/dist/queue/index.d.cts +207 -3
  231. package/dist/queue/index.d.ts +207 -3
  232. package/dist/queue/index.js +4 -3
  233. package/dist/queue/types.d.cts +2 -2
  234. package/dist/queue/types.d.ts +2 -2
  235. package/dist/{registry-BLItWxbK.d.ts → registry-v_1krdcs.d.cts} +136 -1
  236. package/dist/{registry-BLItWxbK.d.cts → registry-v_1krdcs.d.ts} +136 -1
  237. package/dist/scheduler/index.cjs +5 -4
  238. package/dist/scheduler/index.d.cts +3 -2
  239. package/dist/scheduler/index.d.ts +3 -2
  240. package/dist/scheduler/index.js +4 -3
  241. package/dist/scheduler/types.d.cts +1 -1
  242. package/dist/scheduler/types.d.ts +1 -1
  243. package/dist/sdk/configurations/index.cjs +3 -3
  244. package/dist/sdk/configurations/index.d.cts +418 -26
  245. package/dist/sdk/configurations/index.d.ts +418 -26
  246. package/dist/sdk/configurations/index.js +2 -2
  247. package/dist/sdk/semanticLayer/index.cjs +58 -0
  248. package/dist/sdk/semanticLayer/index.cjs.map +1 -0
  249. package/dist/sdk/semanticLayer/index.d.cts +151 -0
  250. package/dist/sdk/semanticLayer/index.d.ts +151 -0
  251. package/dist/sdk/semanticLayer/index.js +5 -0
  252. package/dist/sdk/semanticLayer/index.js.map +1 -0
  253. package/dist/sdk/semanticLayer/types.cjs +4 -0
  254. package/dist/sdk/semanticLayer/types.cjs.map +1 -0
  255. package/dist/sdk/semanticLayer/types.d.cts +132 -0
  256. package/dist/sdk/semanticLayer/types.d.ts +132 -0
  257. package/dist/sdk/semanticLayer/types.js +3 -0
  258. package/dist/sdk/semanticLayer/types.js.map +1 -0
  259. package/dist/sdk/storage/index.cjs +12 -11
  260. package/dist/sdk/storage/index.d.cts +8 -8
  261. package/dist/sdk/storage/index.d.ts +8 -8
  262. package/dist/sdk/storage/index.js +2 -1
  263. package/dist/sdk/tag/index.cjs +4 -3
  264. package/dist/sdk/tag/index.d.cts +7 -7
  265. package/dist/sdk/tag/index.d.ts +7 -7
  266. package/dist/sdk/tag/index.js +3 -2
  267. package/dist/sdk/tag/types.d.cts +5 -5
  268. package/dist/sdk/tag/types.d.ts +5 -5
  269. package/dist/sdk/vault/index.cjs +8 -8
  270. package/dist/sdk/vault/index.d.cts +5 -5
  271. package/dist/sdk/vault/index.d.ts +5 -5
  272. package/dist/sdk/vault/index.js +2 -2
  273. package/dist/status/index.cjs +2 -2
  274. package/dist/status/index.d.cts +1 -1
  275. package/dist/status/index.d.ts +1 -1
  276. package/dist/status/index.js +1 -1
  277. package/dist/storage/index.cjs +12 -12
  278. package/dist/storage/index.d.cts +8 -8
  279. package/dist/storage/index.d.ts +8 -8
  280. package/dist/storage/index.js +5 -5
  281. package/dist/storage/types.d.cts +59 -6
  282. package/dist/storage/types.d.ts +59 -6
  283. package/dist/{storageClient-D1USmiC5.d.cts → storageClient-Dlu7OJgJ.d.cts} +14 -7
  284. package/dist/{storageClient-Cwr5Vl45.d.ts → storageClient-Dz4tTWOc.d.ts} +14 -7
  285. package/dist/{storageSdk-MciYsR_e.d.cts → storageSdk-DxbSjnHh.d.cts} +1 -1
  286. package/dist/{storageSdk-Um7iSJMs.d.ts → storageSdk-PRaSLkD6.d.ts} +1 -1
  287. package/dist/stream/index.cjs +4 -4
  288. package/dist/stream/index.d.cts +3 -3
  289. package/dist/stream/index.d.ts +3 -3
  290. package/dist/stream/index.js +3 -3
  291. package/dist/stream/types.d.cts +2 -2
  292. package/dist/stream/types.d.ts +2 -2
  293. package/dist/syncActions/index.cjs +4 -4
  294. package/dist/syncActions/index.d.cts +3 -3
  295. package/dist/syncActions/index.d.ts +3 -3
  296. package/dist/syncActions/index.js +3 -3
  297. package/dist/syncActions/types.d.cts +1 -10
  298. package/dist/syncActions/types.d.ts +1 -10
  299. package/dist/telemetry/index.cjs +4 -4
  300. package/dist/telemetry/index.d.cts +2 -2
  301. package/dist/telemetry/index.d.ts +2 -2
  302. package/dist/telemetry/index.js +3 -3
  303. package/dist/{types-BCPmAXOQ.d.cts → types-22LtuLPM.d.cts} +355 -108
  304. package/dist/{types-BVldT2vs.d.cts → types-B-3bBl2q.d.ts} +21 -17
  305. package/dist/{types-DHCbX2uR.d.cts → types-B3hgDuaG.d.cts} +1 -1
  306. package/dist/{types-jKnx7Tm_.d.cts → types-BbM5WDSR.d.cts} +1 -1
  307. package/dist/{types-jKnx7Tm_.d.ts → types-BbM5WDSR.d.ts} +1 -1
  308. package/dist/{types-Dv3vN7M9.d.ts → types-Bj3fLP0h.d.ts} +1 -1
  309. package/dist/{types-D3Kkh6yW.d.ts → types-BjNd012m.d.ts} +3 -545
  310. package/dist/{types-yKV1EX6f.d.ts → types-BjdcqqvT.d.ts} +10 -1
  311. package/dist/{types-ClxrZC77.d.cts → types-CJ0RgA57.d.ts} +3146 -826
  312. package/dist/{types-DFWnAftN.d.cts → types-CUzRu6Z8.d.cts} +1 -1
  313. package/dist/{types-o8eTf_G9.d.ts → types-CfIKhNMg.d.cts} +3146 -826
  314. package/dist/{types-D9cNOf-3.d.cts → types-CkQXSDqo.d.cts} +10 -1
  315. package/dist/{types-CWebeQXy.d.cts → types-CmdRXxqa.d.cts} +1 -1
  316. package/dist/{types-l_pP5J0H.d.ts → types-Cnsa5tWp.d.ts} +1 -1
  317. package/dist/{types-BxjcUj-y.d.cts → types-D6p5VsOx.d.cts} +27 -4
  318. package/dist/{types-oJnjpvPi.d.ts → types-DNEuJ-tb.d.cts} +585 -6
  319. package/dist/{types-BbeZapCu.d.ts → types-DXFcF3_c.d.ts} +2 -2
  320. package/dist/{types-GRfGXouy.d.cts → types-DgU_wy4q.d.cts} +2 -2
  321. package/dist/{types-DacFMc6L.d.ts → types-Dq5jIMye.d.ts} +27 -4
  322. package/dist/{types-0yn6OefX.d.ts → types-DqxZDbM1.d.cts} +1 -1
  323. package/dist/{types-0yn6OefX.d.cts → types-DqxZDbM1.d.ts} +1 -1
  324. package/dist/{types-BowqtZ7v.d.ts → types-Dz4Yc-Mu.d.ts} +355 -108
  325. package/dist/{types-YEfQ5pAy.d.ts → types-GecGaYgv.d.cts} +981 -171
  326. package/dist/{types-YEfQ5pAy.d.cts → types-GecGaYgv.d.ts} +981 -171
  327. package/dist/{types-CFd7q2ed.d.ts → types-PG_v0QyH.d.ts} +1 -1
  328. package/dist/{types-CS8MYc2k.d.ts → types-mQtL3f4D.d.cts} +21 -17
  329. package/dist/{types-59-LNg5i.d.cts → types-qCMu5X9I.d.ts} +585 -6
  330. package/dist/{types-CvHPHNH0.d.cts → types-y3pEpGrH.d.cts} +3 -545
  331. package/dist/{utils-DDERw8dM.d.cts → utils-CuiDsDxz.d.cts} +997 -168
  332. package/dist/{utils-C7eSJKtG.d.ts → utils-zcz60drL.d.ts} +997 -168
  333. package/dist/vault/index.cjs +4 -4
  334. package/dist/vault/index.d.cts +2 -2
  335. package/dist/vault/index.d.ts +2 -2
  336. package/dist/vault/index.js +3 -3
  337. package/dist/vault/types.d.cts +4 -10
  338. package/dist/vault/types.d.ts +4 -10
  339. package/package.json +30 -4
  340. package/surface/ai.md +2 -2
  341. package/surface/auth.md +15 -3
  342. package/surface/chat.md +1 -1
  343. package/surface/dataScience.md +5 -5
  344. package/surface/editor.md +5 -5
  345. package/surface/kaiAgent.md +4 -4
  346. package/surface/management.md +24 -4
  347. package/surface/metastore.md +10 -10
  348. package/surface/notifications.md +6 -4
  349. package/surface/queue.md +6 -1
  350. package/surface/scheduler.md +1 -0
  351. package/surface/sdk.md +21 -6
  352. package/surface/storage.md +12 -4
  353. package/surface/stream.md +7 -7
  354. package/dist/authMiddleware-BcRYj3eQ.d.cts +0 -5
  355. package/dist/authMiddleware-CirRGURb.d.ts +0 -5
  356. package/dist/chunk-4HJUQVXR.js.map +0 -1
  357. package/dist/chunk-4JCVPUXF.cjs.map +0 -1
  358. package/dist/chunk-6FE3CWV6.js.map +0 -1
  359. package/dist/chunk-7KMFRSYA.js.map +0 -1
  360. package/dist/chunk-AWRMGLMT.cjs.map +0 -1
  361. package/dist/chunk-BR3SBEFE.cjs.map +0 -1
  362. package/dist/chunk-CVV4HROS.cjs.map +0 -1
  363. package/dist/chunk-EBCZUGUX.js.map +0 -1
  364. package/dist/chunk-FPWOK2CR.js.map +0 -1
  365. package/dist/chunk-G7VCXMQB.cjs.map +0 -1
  366. package/dist/chunk-HNP33VR5.cjs +0 -16
  367. package/dist/chunk-HNP33VR5.cjs.map +0 -1
  368. package/dist/chunk-IUN2ZSU3.cjs.map +0 -1
  369. package/dist/chunk-IZWNTRMT.cjs.map +0 -1
  370. package/dist/chunk-JIAMBOU7.cjs.map +0 -1
  371. package/dist/chunk-JURD5MC3.js.map +0 -1
  372. package/dist/chunk-KLVBTRLR.js.map +0 -1
  373. package/dist/chunk-KQ2QNGRX.js.map +0 -1
  374. package/dist/chunk-M3UUJIMO.js.map +0 -1
  375. package/dist/chunk-N3GNUFMA.cjs.map +0 -1
  376. package/dist/chunk-PINOAERX.js +0 -36
  377. package/dist/chunk-PINOAERX.js.map +0 -1
  378. package/dist/chunk-RHLDDKX6.js.map +0 -1
  379. package/dist/chunk-RK2VGHJE.js.map +0 -1
  380. package/dist/chunk-SWJHENEP.cjs.map +0 -1
  381. package/dist/chunk-TTPJSPZA.cjs.map +0 -1
  382. package/dist/chunk-UFQVOZZ6.cjs.map +0 -1
  383. package/dist/chunk-WFBQUWRC.js.map +0 -1
  384. package/dist/chunk-WJRHT346.js.map +0 -1
  385. package/dist/chunk-YOPRPXER.cjs +0 -38
  386. package/dist/chunk-YOPRPXER.cjs.map +0 -1
  387. package/dist/chunk-YUTWLJBK.js.map +0 -1
  388. package/dist/chunk-ZLW3243Q.cjs.map +0 -1
  389. package/dist/schemas-CraXbXke.d.cts +0 -74
  390. package/dist/schemas-CraXbXke.d.ts +0 -74
  391. package/dist/{backends-Bofq_Nr0.d.cts → adminRoles-Cil1lavB.d.cts} +6 -6
  392. package/dist/{backends-Bofq_Nr0.d.ts → adminRoles-Cil1lavB.d.ts} +6 -6
package/dist/index.d.ts CHANGED
@@ -1,51 +1,54 @@
1
- import { c as components$9, A as AssertSamlBody, I as InitiateSamlBody, C as CreatePatBody, E as ExchangePatBody, R as RevokePatPath, a as CreateDeviceAuthorizationBody, b as ApproveDeviceAuthorizationBody, G as GetDeviceAuthorizationTokenBody, S as SudoBody, d as GetPkceTokenBody, e as RevokeSessionPath, f as RevokeTokenBody } from './types-oJnjpvPi.js';
2
- import { L as LoginInput, O as OidcInput, M as MfaCodeInput, a as MfaWebauthnInput } from './schemas-CraXbXke.js';
3
- import { D as DeletedProjectsListQuery, a as DeletedProject, b as DeletedProjectPurgeResult, M as Maintainer, c as MaintainerDetail, C as CreateMaintainerBody, U as UpdateMaintainerBody, d as MaintainerUser, A as AddMaintainerUserBody, e as CreateMaintainerInvitationBody, f as CreateMaintainerOrganizationBody, g as MetadataItem, S as SetMaintainerMetadataBody, O as OrganizationDetail, h as UpdateOrganizationBody, i as AddOrganizationUserBody, j as CreateOrganizationInvitationBody, P as Project, k as CreateOrganizationProjectBody, l as SetOrganizationMetadataBody, G as GetAllFeaturesQuery, F as Feature, m as FeatureProject, n as FeatureAdmin, o as GetProjectPath, p as CreateProjectFeaturePath, q as CreateProjectFeatureBody, R as RemoveProjectFeaturePath, r as User, L as ListProjectUsersPath, s as ListProjectInvitationsPath, t as CreateProjectInvitationPath, u as CreateProjectInvitationBody, v as DeleteProjectInvitationPath, w as AddProjectUserPath, x as AddProjectUserBody, y as RemoveProjectUserPath, z as GetProjectMetadataPath, B as ProjectMetadataItem, E as SetProjectMetadataPath, H as SetProjectMetadataBody, I as GetProjectReviewersPath, J as Reviewer, K as SetProjectReviewersPath, N as SetProjectReviewersBody, Q as UpdateProjectBody, T as MoveProjectBody, V as SetProjectDisabledBody, W as AddUserFeatureBody, X as AddUserFeaturePath, Y as RemoveUserFeaturePath } from './types-YEfQ5pAy.js';
4
- import { S as StorageToken, c as components$8, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-o8eTf_G9.js';
5
- import { StorageTableScope as StorageTable } from './domain/storageTable/index.js';
6
- import { M as MetaObject, G as GetMetaObjectsPath, a as MetaStoreListResponse, b as GetMetaObjectRevisionsPath, c as GetMetaObjectPath, d as MetaStoreObjectResponse, C as CreateMetaObjectInput, D as DeleteMetaObjectPath, U as UpdateMetaObjectInput, R as ReplaceMetaObjectInput, e as GetMetaObjectRevisionPath, f as DeleteMetaObjectRevisionPath, g as GetSchemaPath, h as components$7, i as GetVersionedSchemaPath } from './types-BowqtZ7v.js';
7
- import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-CS8MYc2k.js';
8
- import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-Dv3vN7M9.js';
1
+ import { DevBranch, ServiceId, StackInfo, Service, StackComponent, ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, UpdateBucketOwnerBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, Snapshot, SaveMetadataBody, Metadata, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, ConfigType, PartialKey, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, SaveConfigurationMetadataInput, ConfigurationMetadataItem, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, RollbackConfigurationToVersionInput, CopyConfigurationFromVersionInput, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery } from './storage/types.js';
2
+ import { P as Project } from './project-BV-vseKc.js';
3
+ import { createStorageTable } from './domain/storageTable/index.js';
4
+ import { M as MiddlewareFn, A as ApiResponse, H as HttpMethod } from './types-DqxZDbM1.js';
5
+ export { a as ApiError, c as AuthStrategy, d as BaseClientOptions } from './types-DqxZDbM1.js';
6
+ import { createAuthClient } from './auth/index.js';
7
+ import { createManagementClient } from './management/index.js';
8
+ export { isManagementClientAuthError } from './management/index.js';
9
+ import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-Dz4tTWOc.js';
10
+ export { a as concurrent } from './storageClient-Dz4tTWOc.js';
11
+ import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.js';
12
+ export { k as keboolaUID } from './keboolaUID-D1DGSbge.js';
13
+ import * as zod from 'zod';
14
+ import { z } from 'zod';
15
+ import { c as components$8, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-CJ0RgA57.js';
16
+ import { M as MetaObject, G as GetMetaObjectsPath, a as MetaStoreListResponse, b as GetMetaObjectRevisionsPath, c as GetMetaObjectPath, d as MetaStoreObjectResponse, C as CreateMetaObjectInput, D as DeleteMetaObjectPath, U as UpdateMetaObjectInput, R as ReplaceMetaObjectInput, e as GetMetaObjectRevisionPath, f as DeleteMetaObjectRevisionPath, g as GetSchemaPath, h as components$7, i as GetVersionedSchemaPath } from './types-Dz4Yc-Mu.js';
17
+ import { L as ListSubscriptionsQuery, c as components$6, S as SubscriptionId, C as CreateSubscriptionBody } from './types-B-3bBl2q.js';
18
+ import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-Bj3fLP0h.js';
9
19
  import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath as ConfigurationPath$1 } from './scheduler/types.js';
10
- import { GetCredentialsQuery, Credential, CreateCredentialBody } from './oauth/types.js';
11
- import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-jKnx7Tm_.js';
20
+ import { GetCredentialsQuery, Credential as Credential$1, CreateCredentialBody } from './oauth/types.js';
21
+ import { c as OpenapiQueryType, d as OpenapiPathType, O as OpenapiBodyType, b as OpenapiReturnType } from './types-BbM5WDSR.js';
12
22
  import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.js';
13
- import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody, d as DocsQuestionBody } from './types-D3Kkh6yW.js';
23
+ import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody, d as DocsQuestionBody } from './types-BjNd012m.js';
14
24
  import { SuggestionsRequestBody, SuggestionsApiResponse } from './chat/suggestions.js';
15
- import { G as GetHistoryQuery$1, c as components$3, a as GetChatPath$1, C as ChatRequest$1, b as GetVotesQuery$1, V as VoteRequest$1, U as UsageResponse$1, A as AgentSettings, d as UpdateAgentSettingsRequest, e as UserAgentSettings, f as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from './types-BbeZapCu.js';
16
- import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery } from './types-DacFMc6L.js';
17
- import { P as PostQueryPath, a as PostQueryBody, b as PostCancelQueryJobPath, G as GetQueryJobPath, c as components$1, d as GetQueryResultsPath, e as GetQueryResutsQuery, f as GetQueriesPath, g as GetQueriesHistoryQuery, h as GetExportResultsQuery, E as ExportResultsResponse } from './types-yKV1EX6f.js';
25
+ import { G as GetHistoryQuery$1, c as components$3, a as GetChatPath$1, C as ChatRequest$1, b as GetVotesQuery$1, V as Vote, d as VoteRequest$1, U as UsageResponse$1, A as AgentSettings, e as UpdateAgentSettingsRequest, f as UserAgentSettings, g as UpdateUserAgentSettingsRequest, T as ToolsListResponse } from './types-DXFcF3_c.js';
26
+ import { G as GetQueueJobPath, c as components$2, S as SearchJobsQuery, a as SearchAllJobsQuery, C as CreateJobBody, K as KillJobPath, b as SearchGroupedJobsQuery, O as OrchestrationRerunPlanPath } from './types-Dq5jIMye.js';
27
+ import { P as PostQueryPath, a as PostQueryBody, b as PostCancelQueryJobPath, G as GetQueryJobPath, c as components$1, d as GetQueryResultsPath, e as GetQueryResutsQuery, f as GetQueriesPath, g as GetQueriesHistoryQuery, h as GetExportResultsQuery, E as ExportResultsResponse } from './types-BjdcqqvT.js';
18
28
  import { CreateCredentialsBody, WorkspaceData } from './telemetry/types.js';
19
29
  import { PostActionsBody, EnrollMFAInput, GetDataAppPublicGitRepositoryInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetPublicGitRepositoryInput, GetGitPrivateRepositoryInput } from './syncActions/types.js';
20
- import { C as CreateSqlSessionBody, G as GetSqlSessionPath, a as GetSqlSessionsQuery, b as GetSqlSessionSchemaPath, c as GetSqlSessionSchemaQuery, d as components, P as PostSqlRunQueryPath, e as PostSqlRunQueryBody, f as PostSqlTablePreviewPath, g as PostSqlTablePreviewBody, h as GetSqlSessionTableDdlPath, i as GetSqlSessionTableDdlQuery, j as PostSqlSessionLoadPath, k as PostSqlSessionLoadBody, l as PostSqlSessionUnloadPath, m as PostSqlSessionUnloadBody } from './types-CFd7q2ed.js';
30
+ import { C as CreateSqlSessionBody, G as GetSqlSessionPath, a as GetSqlSessionsQuery, b as GetSqlSessionSchemaPath, c as GetSqlSessionSchemaQuery, d as components, P as PostSqlRunQueryPath, e as PostSqlRunQueryBody, f as PostSqlTablePreviewPath, g as PostSqlTablePreviewBody, h as GetSqlSessionTableDdlPath, i as GetSqlSessionTableDdlQuery, j as PostSqlSessionLoadPath, k as PostSqlSessionLoadBody, l as PostSqlSessionUnloadPath, m as PostSqlSessionUnloadBody } from './types-PG_v0QyH.js';
21
31
  import { EncryptQuery, ScopedSecrets } from './encryption/types.js';
22
- import { M as MiddlewareFn, c as BaseClientOptions, A as ApiResponse, H as HttpMethod } from './types-0yn6OefX.js';
23
- export { a as ApiError, d as AuthStrategy } from './types-0yn6OefX.js';
24
- import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath, k as DeleteSandboxPath } from './utils-C7eSJKtG.js';
25
- export { p as parseLogLines } from './utils-C7eSJKtG.js';
32
+ import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath, k as DeleteSandboxPath } from './utils-zcz60drL.js';
33
+ export { p as parseLogLines } from './utils-zcz60drL.js';
26
34
  import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.js';
27
- import { a as EncryptionCtx } from './types-l_pP5J0H.js';
35
+ import { a as EncryptionCtx } from './types-Cnsa5tWp.js';
36
+ import { SemanticObject, SemanticModelData, CreateSemanticObjectMeta, UpdateSemanticObjectMeta, SemanticChildObjectDataMap, SemanticChildObjectType, SemanticDatasetData, SemanticMetricData, SemanticRelationshipData, SemanticGlossaryData, SemanticConstraintData } from './sdk/semanticLayer/types.js';
28
37
  import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.js';
29
38
  import * as zod_v4_core from 'zod/v4/core';
30
- import * as zod from 'zod';
31
- import { z } from 'zod';
32
- import { ServiceId, ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, UpdateBucketOwnerBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, Snapshot, SaveMetadataBody, Metadata, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, ConfigType, PartialKey, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.js';
33
- import { R as RegisteredComponentId } from './registry-BLItWxbK.js';
34
- import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-Cwr5Vl45.js';
35
- export { a as concurrent } from './storageClient-Cwr5Vl45.js';
36
- import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.js';
37
- export { k as keboolaUID } from './keboolaUID-D1DGSbge.js';
38
- import { B as Backend } from './backends-Bofq_Nr0.js';
39
+ import { R as RegisteredComponentId } from './registry-v_1krdcs.js';
39
40
  export { FetchClientError, ServiceUnavailableError, UserError, isAbortError, isApiError, isFetchClientError } from './storage/index.js';
40
- export { c as createGenericFetchClient } from './createGenericFetchClient-D4tfhW6Z.js';
41
- export { i as isManagementClientAuthError } from './authMiddleware-CirRGURb.js';
42
- export { M as ManagementClientAuthError } from './ManagementClientAuthError-BMOhz4mx.js';
43
- export { c as createStorageSdk } from './storageSdk-Um7iSJMs.js';
41
+ export { c as createGenericFetchClient } from './createGenericFetchClient-B2Gp1a8f.js';
42
+ export { M as ManagementClientAuthError } from './ManagementClientAuthError-B3PZRWBU.js';
43
+ export { c as createStorageSdk } from './storageSdk-PRaSLkD6.js';
44
+ import './adminRoles-Cil1lavB.js';
44
45
  import 'qs';
46
+ import './types-qCMu5X9I.js';
47
+ import './createOpenapiFetchClient-BX7_szVZ.js';
48
+ import './types-GecGaYgv.js';
45
49
  import './encryption/index.js';
46
50
  import './vault/index.js';
47
51
  import './metastore/index.js';
48
- import './createOpenapiFetchClient-DLA4-_yg.js';
49
52
 
50
53
  declare const HttpHeader: {
51
54
  CONTENT_TYPE: string;
@@ -59,6 +62,396 @@ declare const HttpContentType: {
59
62
  TEXT_HTML: string;
60
63
  };
61
64
 
65
+ type BranchType = 'default' | 'dev';
66
+ type Options$2 = {
67
+ devBranches: DevBranch[];
68
+ };
69
+ declare const createDefaultBranch: ({ devBranches }: Options$2) => {
70
+ id: number;
71
+ name: string;
72
+ getType: (branchId?: string | number) => BranchType;
73
+ isDev: (branchId?: string | number) => boolean;
74
+ isDefault: (branchId?: string | number) => boolean;
75
+ };
76
+
77
+ type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
78
+ type Options$1 = {
79
+ stackInfo: StackInfo;
80
+ clientServiceUrls?: ServiceUrls;
81
+ };
82
+ declare const createStack: ({ stackInfo, clientServiceUrls }: Options$1) => {
83
+ services: Service[];
84
+ features: string[];
85
+ components: StackComponent[];
86
+ hasFeature: (...feature: string[]) => boolean;
87
+ getServiceUrl: (serviceId: ServiceId) => string | null;
88
+ hasService: (serviceId: ServiceId) => boolean;
89
+ getComponent: (componentId: string) => StackComponent | null;
90
+ hasComponent: (...componentId: string[]) => boolean;
91
+ api: string;
92
+ documentation: string;
93
+ host: string;
94
+ revision: string;
95
+ stack: string;
96
+ urlTemplates: {
97
+ orchestrationJob: string;
98
+ };
99
+ version: string;
100
+ };
101
+
102
+ declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
103
+ type ClientContext = {
104
+ /**
105
+ * The stack this client is configured against, canonical form (absolute, no trailing slash) — the
106
+ * `baseUrl` every request is built on. Distinct from `stack.host`, which is a bare hostname the
107
+ * stack reports about itself in its index response and is never used to route a request.
108
+ */
109
+ baseUrl: string;
110
+ stack: ReturnType<typeof createStack>;
111
+ defaultBranch: ReturnType<typeof createDefaultBranch>;
112
+ readonly project: Project;
113
+ readonly st: ReturnType<typeof createStorageTable>;
114
+ };
115
+
116
+ /**
117
+ * The single error the keboola client / session throws. It carries a stable `type` (the switchable
118
+ * contract) and a human-readable message derived from that type — no per-call message strings.
119
+ */
120
+ declare const KeboolaErrorType: {
121
+ readonly Unconfigured: "unconfigured";
122
+ readonly NotAuthenticated: "not-authenticated";
123
+ readonly AlreadyAuthenticated: "already-authenticated";
124
+ readonly NoStorageToken: "no-storage-token";
125
+ readonly NoManagementToken: "no-management-token";
126
+ readonly MissingProject: "missing-project";
127
+ readonly NotBearer: "not-bearer";
128
+ readonly NotReady: "not-ready";
129
+ readonly InvalidBuildTransition: "invalid-build-transition";
130
+ };
131
+ type KeboolaErrorType = (typeof KeboolaErrorType)[keyof typeof KeboolaErrorType];
132
+ declare class KeboolaError extends Error {
133
+ readonly type: KeboolaErrorType;
134
+ constructor(type: KeboolaErrorType);
135
+ }
136
+ declare const isKeboolaError: (error: unknown) => error is KeboolaError;
137
+
138
+ type StorageAdapter = {
139
+ getItem: (key: string) => string | null;
140
+ setItem: (key: string, value: string) => void;
141
+ removeItem: (key: string) => void;
142
+ };
143
+ declare const createNullStorage: () => StorageAdapter;
144
+ declare const createMemoryStorage: () => StorageAdapter;
145
+ declare const createLocalStorage: () => StorageAdapter;
146
+ declare const createSessionStorage: () => StorageAdapter;
147
+
148
+ /**
149
+ * Service clients reached through the registry — the key is the `clientName`
150
+ * the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
151
+ */
152
+ type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
153
+ /** Clients instantiated directly (not stack-discovered), keyed by their property name. */
154
+ type NonServiceClientName = 'storage' | 'management' | 'auth';
155
+ type MiddlewareTarget = ServiceClientName | NonServiceClientName;
156
+ type Middlewares = MiddlewareFn[] | ({
157
+ all?: MiddlewareFn[];
158
+ } & Partial<Record<MiddlewareTarget, MiddlewareFn[]>>);
159
+ declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn[]) => MiddlewareFn[];
160
+ type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
161
+
162
+ type KeboolaOptions = {
163
+ baseUrl?: string;
164
+ middlewares?: Middlewares;
165
+ clientServiceUrls?: ServiceUrls;
166
+ storage?: StorageAdapter;
167
+ };
168
+
169
+ declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
170
+
171
+ /** A deferred unit of async work: a no-arg function returning a value or promise. */
172
+ type TaskFn<T> = () => T | PromiseLike<T>;
173
+
174
+ /**
175
+ * Coalesces concurrent triggers onto a single, never-parallel run of `task`.
176
+ * Triggers fired while a run is busy collapse into one trailing run, and each
177
+ * resolves with the first run that started after it — so it never sees stale state.
178
+ *
179
+ * Example — A triggers, then B and C trigger while A's run is still going:
180
+ * 1. trigger A → run #1 starts
181
+ * 2. trigger B, C → run #1 busy, so they wait
182
+ * 3. run #1 done → A resolves
183
+ * 4. run #2 starts → covers B and C together (one trailing run, not two)
184
+ * 5. run #2 done → B and C resolve
185
+ *
186
+ * @returns a trigger; each call returns a promise of the task result.
187
+ * @throws The returned promise rejects with whatever `task` throws or rejects
188
+ * with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
189
+ */
190
+ declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
191
+
192
+ type CollectOptions<T> = {
193
+ fetchFrom: (offset: number, pageSize?: number, signal?: AbortSignal) => Promise<T[]>;
194
+ pageSize?: number;
195
+ limit?: number;
196
+ signal?: AbortSignal;
197
+ };
198
+ /**
199
+ * Collects items from an offset-paginated endpoint — up to `limit` of them, or all of them when
200
+ * `limit` is omitted. Calls `fetchFrom` sequentially with the offset advancing by the number of
201
+ * items received, and hands it `pageSize` so the request and the traversal agree on one value.
202
+ *
203
+ * Traversal ends on a page shorter than `pageSize`, or — when `pageSize` is omitted — only on an
204
+ * empty page. Passing it therefore saves the trailing request, at the cost of stopping early if the
205
+ * endpoint returns fewer items per page than asked for.
206
+ */
207
+ declare const collect: <T>({ fetchFrom, pageSize, limit, signal, }: CollectOptions<T>) => Promise<T[]>;
208
+
209
+ /**
210
+ * Deduplicates concurrent triggers by sharing one in-flight run of `task`.
211
+ * While a run is in flight every trigger returns that same promise; once it
212
+ * settles the next trigger starts a fresh run. (Contrast `coalesce`, which
213
+ * runs a *trailing* pass for triggers that arrive mid-run.)
214
+ *
215
+ * @returns a trigger; each call returns a promise of the task result.
216
+ * @throws The returned promise rejects with whatever `task` throws or rejects
217
+ * with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
218
+ */
219
+ declare const dedupe: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
220
+
221
+ declare const delay: (timeout: number, signal?: AbortSignal) => Promise<unknown>;
222
+
223
+ type PollResult<T> = {
224
+ data: T;
225
+ callCount: number;
226
+ };
227
+ type PollErrorType = 'PollPredicateError' | 'PollTimeoutError' | 'PollPollTimeoutError';
228
+ declare class PollException<T> extends Error {
229
+ result: PollResult<T>;
230
+ constructor(type: PollErrorType, result: PollResult<T>);
231
+ }
232
+ type Options<T> = {
233
+ pollFn: (abortSignal?: AbortSignal) => Promise<T>;
234
+ isDone: (result: T) => boolean;
235
+ isFailed?: (result: T) => boolean;
236
+ interval: number;
237
+ abortSignal?: AbortSignal;
238
+ maxAttempts?: number;
239
+ };
240
+ declare const poll: <T>({ pollFn, interval, isDone, isFailed, abortSignal, maxAttempts, }: Options<T>) => Promise<PollResult<T>>;
241
+
242
+ /**
243
+ * Executes an asynchronous callback function on an array of items in series (one at a time).
244
+ * It behaves similarly to Promise.all(), failing on the first rejected promise.
245
+ * The order of the results matches the order of the promises.
246
+ */
247
+ declare const series: <T, R>(options: Omit<ConcurrentOptions<T, R>, "concurrency">) => Promise<R[]>;
248
+
249
+ declare const generateUUID: () => `${string}-${string}-${string}-${string}-${string}`;
250
+
251
+ type Listener<T> = (value: T) => void;
252
+ type ReadableStore<T> = {
253
+ get: () => T;
254
+ subscribe: (listener: Listener<T>) => () => void;
255
+ dispose: () => void;
256
+ };
257
+ type Store<T> = ReadableStore<T> & {
258
+ set: (value: T) => void;
259
+ };
260
+ declare const createStore: <T>(initial: T) => Store<T>;
261
+ declare const shallowEqual: <T>(a: T, b: T) => boolean;
262
+ type DerivedStoreOptions<S, K, T> = {
263
+ source: ReadableStore<S>;
264
+ dependsOn: (state: S) => K;
265
+ build: (key: K) => T;
266
+ keyEquals?: (a: K, b: K) => boolean;
267
+ };
268
+ declare const createDerivedStore: <S, K, T>({ source, dependsOn, build, keyEquals, }: DerivedStoreOptions<S, K, T>) => ReadableStore<T>;
269
+ type AsyncState<T> = {
270
+ state: 'idle';
271
+ } | {
272
+ state: 'pending';
273
+ } | {
274
+ state: 'ready';
275
+ value: T;
276
+ } | {
277
+ state: 'errored';
278
+ error: unknown;
279
+ };
280
+ type SettledState<T> = Extract<AsyncState<T>, {
281
+ state: 'ready';
282
+ } | {
283
+ state: 'errored';
284
+ }>;
285
+ type DerivedAsyncStoreOptions<S, K, T> = {
286
+ source: ReadableStore<S>;
287
+ dependsOn: (state: S) => K | null;
288
+ build: (key: K, signal: AbortSignal) => Promise<T>;
289
+ keyEquals?: (a: K, b: K) => boolean;
290
+ };
291
+ declare const createDerivedAsyncStore: <S, K, T>({ source, dependsOn, build, keyEquals, }: DerivedAsyncStoreOptions<S, K, T>) => {
292
+ store: ReadableStore<AsyncState<T>>;
293
+ settled: () => Promise<SettledState<T>>;
294
+ };
295
+
296
+ /**
297
+ * Narrows `unknown` to a string-keyed object — a non-null value of `typeof 'object'`
298
+ * that is not an array. Note it does not distinguish class instances (e.g. `Date`) from
299
+ * object literals; it only rules out `null`, arrays, and primitives.
300
+ */
301
+ declare const isPlainObject: (value: unknown) => value is Record<string, unknown>;
302
+
303
+ /**
304
+ * Is `value` "deeply empty" — i.e. carries no leaf data? `null`/`undefined`, `{}`, `[]`, and
305
+ * nested structures whose every leaf is itself empty (e.g. `{ parameters: {} }`) are empty.
306
+ * Any present primitive (string, number, boolean — including `''`) counts as content.
307
+ *
308
+ * Used to skip a pointless encryption round-trip when a validated configuration has nothing
309
+ * to encrypt.
310
+ */
311
+ declare const isEmptyDeep: (value: unknown) => boolean;
312
+
313
+ /**
314
+ * Recursively merge `patch` into `base`. Plain-object values are merged key-by-key; every
315
+ * other value (primitives, arrays, or a type mismatch between the two sides) replaces the
316
+ * base value. `undefined` patch values are skipped, so a partial patch leaves untouched
317
+ * fields alone. Pure — neither argument is mutated; the result preserves `base`'s type.
318
+ */
319
+ declare const deepMerge: <T extends Record<string, unknown>>(base: T, patch: Record<string, unknown>) => T;
320
+
321
+ /**
322
+ * Merge `patch` into `base`, guided by `schema`: descend only through object schemas, merging
323
+ * key-by-key. At every non-object node — a `z.union` (e.g. Snowflake's password|keypair auth),
324
+ * an array, or a primitive — the patch REPLACES the base wholesale. That replace is what lets an
325
+ * update *delete* keys the additive `deepMerge` cannot: switching a credential union to the other
326
+ * variant drops the abandoned variant's secret, because the entire union subtree is swapped.
327
+ *
328
+ * Consequence: a union (or array) subtree is all-or-nothing — the caller must send the complete
329
+ * block, since a partial patch replaces (and so loses) the omitted siblings.
330
+ *
331
+ * Object keys present only in `base` (e.g. `storage`, `processors`, anything the schema omits) are
332
+ * preserved at every level; `undefined` patch values are skipped. Assumes `patch` is already
333
+ * schema-validated (so every object-valued patch key has a matching schema node). Pure — neither
334
+ * argument is mutated.
335
+ */
336
+ declare const schemaGuidedMerge: <T extends Record<string, unknown>>(schema: z.core.$ZodType, base: T, patch: Record<string, unknown>) => T;
337
+
338
+ type Schema<T> = {
339
+ safeParse: (value: unknown) => {
340
+ success: true;
341
+ data: T;
342
+ } | {
343
+ success: false;
344
+ };
345
+ };
346
+ type Persistor<T> = {
347
+ /** Read + validate the stored value; returns `defaultValue` when empty or corrupt. */
348
+ hydrate: () => T;
349
+ /** Serialize + write the value. */
350
+ persist: (value: T) => void;
351
+ /** Remove the stored value. */
352
+ clear: () => void;
353
+ /** Whether a value is currently persisted under the key. */
354
+ hasPersistedValue: () => boolean;
355
+ };
356
+ type PersistorOptions<T> = {
357
+ storage?: StorageAdapter;
358
+ key: string;
359
+ schema: Schema<T>;
360
+ defaultValue: T;
361
+ encode?: (value: T) => string;
362
+ decode?: (raw: string) => unknown;
363
+ };
364
+ declare const createPersistor: <T>({ storage, key, schema, defaultValue, encode, decode, }: PersistorOptions<T>) => Persistor<T>;
365
+
366
+ type TokenSet = {
367
+ accessToken: string;
368
+ refreshToken: string;
369
+ expiresIn: number;
370
+ };
371
+ type Credential = TokenSet & {
372
+ issuedAt: number;
373
+ };
374
+ type State$1 = {
375
+ status: 'anonymous';
376
+ baseUrl: string | null;
377
+ } | {
378
+ status: 'authenticated';
379
+ baseUrl: string;
380
+ credential: Credential;
381
+ } | {
382
+ status: 'scoped';
383
+ baseUrl: string;
384
+ credential: Credential;
385
+ projectId: number;
386
+ };
387
+
388
+ type SessionSnapshot$1 = {
389
+ type: 'Bearer';
390
+ config: State$1;
391
+ authReady: boolean;
392
+ managementReady: boolean;
393
+ storage: AsyncState<unknown>['state'];
394
+ };
395
+ type RestoreResult = {
396
+ status: 'empty' | 'restored' | 'expired';
397
+ };
398
+
399
+ declare const createKeboola: (options?: KeboolaOptions) => {
400
+ api: KeboolaApi;
401
+ session: {
402
+ hasPersistedValue: () => boolean;
403
+ setBaseUrl: (baseUrl: string) => void;
404
+ isStorageReady: () => boolean;
405
+ authenticate: (tokens: TokenSet) => void;
406
+ setProject: (projectId: number) => void;
407
+ setProjectAsync: (projectId: number) => Promise<void>;
408
+ /**
409
+ * Leave the current project but stay signed in — the storage build returns to `idle`, so a
410
+ * consumer gating on it falls back to its project picker. The persisted session is rewritten with
411
+ * `projectId: null` by the subscription above, so a reload lands on the picker rather than
412
+ * re-entering the project. Use `reset` to sign out instead.
413
+ */
414
+ clearProject: () => void;
415
+ reset: () => void;
416
+ /**
417
+ * Dev/test only: mark the current access token as expired so the bearer credential rotates it on
418
+ * the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
419
+ * the rotation immediately and observe the new credential.
420
+ */
421
+ debugForceRefresh: () => void;
422
+ restore: () => Promise<RestoreResult>;
423
+ subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
424
+ debug: () => SessionSnapshot$1;
425
+ };
426
+ };
427
+
428
+ type State = {
429
+ baseUrl: string | null;
430
+ sapiToken: string | null;
431
+ managementToken: string | null;
432
+ };
433
+
434
+ type SessionSnapshot = {
435
+ type: 'Sapi';
436
+ config: State;
437
+ authReady: boolean;
438
+ managementReady: boolean;
439
+ storage: AsyncState<unknown>['state'];
440
+ };
441
+
442
+ declare const createLegacyKeboola: (options?: KeboolaOptions) => {
443
+ api: KeboolaApi;
444
+ session: {
445
+ setBaseUrl: (baseUrl: string) => void;
446
+ isStorageReady: () => boolean;
447
+ authenticateStorage: (sapiToken: string) => void;
448
+ authenticateStorageAsync: (sapiToken: string) => Promise<void>;
449
+ authenticateManagement: (managementToken: string) => void;
450
+ subscribe: (listener: (snapshot: SessionSnapshot) => void) => () => void;
451
+ debug: () => SessionSnapshot;
452
+ };
453
+ };
454
+
62
455
  /**
63
456
  * This file was auto-generated by openapi-typescript.
64
457
  * Do not make direct changes to the file.
@@ -341,15 +734,27 @@ type paths = {
341
734
  path?: string;
342
735
  sqlEditorActive?: boolean;
343
736
  };
737
+ tableContext?: {
738
+ tableName: string;
739
+ tableId: string;
740
+ bucketId: string;
741
+ fileName: string;
742
+ }[];
344
743
  };
345
744
  };
346
745
  selectedChatModel?: string;
347
746
  /** @enum {string} */
348
747
  selectedVisibilityType?: 'public' | 'private';
349
748
  branchId?: number;
749
+ toolRestrictions?: {
750
+ allowedTools?: string[];
751
+ disallowedTools?: string[];
752
+ readOnlyMode?: boolean;
753
+ };
350
754
  telemetryMetadata?: {
351
755
  [key: string]: string | number | boolean;
352
756
  };
757
+ supportsApprovalRequestedEvent?: boolean;
353
758
  };
354
759
  };
355
760
  };
@@ -1040,6 +1445,11 @@ type paths = {
1040
1445
  /** @enum {string} */
1041
1446
  visibility: 'public' | 'private';
1042
1447
  branchId?: number | null;
1448
+ contextWindow?: {
1449
+ usedTokens: number;
1450
+ maxTokens: number;
1451
+ percentage: number;
1452
+ } | null;
1043
1453
  messages: {
1044
1454
  /** Format: uuid */
1045
1455
  id: string;
@@ -2603,7 +3013,7 @@ type paths = {
2603
3013
  content: {
2604
3014
  'application/json': {
2605
3015
  messagesUsed: number;
2606
- messagesLimit: number;
3016
+ messagesLimit: number | null;
2607
3017
  /** Format: date-time */
2608
3018
  resetDate: string;
2609
3019
  };
@@ -3545,175 +3955,111 @@ type paths = {
3545
3955
  patch?: never;
3546
3956
  trace?: never;
3547
3957
  };
3958
+ '/api/skills': {
3959
+ parameters: {
3960
+ query?: never;
3961
+ header?: never;
3962
+ path?: never;
3963
+ cookie?: never;
3964
+ };
3965
+ /**
3966
+ * List skills and built-in slash commands available to the agent
3967
+ * @description Returns the full set of `/`-invokable items the chat UI surfaces in its slash-command menu: built-in slash commands kai-agent itself recognises (`/plan`, `/compact`) plus every skill (first-party + vendored bundled with the sandbox, project-tagged files uploaded to Keboola Storage). Names and descriptions are normalised server-side — the UI does no merging.
3968
+ */
3969
+ get: {
3970
+ parameters: {
3971
+ query?: never;
3972
+ header?: never;
3973
+ path?: never;
3974
+ cookie?: never;
3975
+ };
3976
+ requestBody?: never;
3977
+ responses: {
3978
+ /** @description List of skills */
3979
+ 200: {
3980
+ headers: {
3981
+ [name: string]: unknown;
3982
+ };
3983
+ content: {
3984
+ 'application/json': {
3985
+ skills: {
3986
+ name: string;
3987
+ description: string | null;
3988
+ /** @enum {string} */
3989
+ source: 'first-party' | 'vendored' | 'project';
3990
+ }[];
3991
+ commands: {
3992
+ name: string;
3993
+ description: string;
3994
+ }[];
3995
+ };
3996
+ };
3997
+ };
3998
+ /** @description Unauthorized */
3999
+ 401: {
4000
+ headers: {
4001
+ [name: string]: unknown;
4002
+ };
4003
+ content: {
4004
+ 'application/json': {
4005
+ error: {
4006
+ /** @enum {string} */
4007
+ type:
4008
+ | 'bad_request'
4009
+ | 'unauthorized'
4010
+ | 'forbidden'
4011
+ | 'not_found'
4012
+ | 'conflict'
4013
+ | 'payload_too_large'
4014
+ | 'rate_limit'
4015
+ | 'offline'
4016
+ | 'bad_response'
4017
+ | 'internal';
4018
+ /** @enum {string} */
4019
+ surface: 'chat' | 'auth' | 'api' | 'stream' | 'database' | 'history' | 'vote';
4020
+ message: string;
4021
+ /** @enum {string} */
4022
+ subtype?: 'burst' | 'monthly';
4023
+ exceptionId?: string;
4024
+ };
4025
+ };
4026
+ };
4027
+ };
4028
+ };
4029
+ };
4030
+ put?: never;
4031
+ post?: never;
4032
+ delete?: never;
4033
+ options?: never;
4034
+ head?: never;
4035
+ patch?: never;
4036
+ trace?: never;
4037
+ };
3548
4038
  };
3549
4039
 
3550
- type GetHistoryQuery = OpenapiQueryType<paths['/api/history']['get']>;
3551
- type GetVotesQuery = OpenapiQueryType<paths['/api/vote']['get']>;
3552
- type GetChatPath = OpenapiPathType<paths['/api/chat/{id}']['get']>;
3553
- type ChatRequest = OpenapiBodyType<paths['/api/chat']['post']>;
3554
- type VoteRequest = OpenapiBodyType<paths['/api/vote']['patch']>;
3555
- type ApprovalBody = OpenapiBodyType<paths['/api/chat/{id}/approval']['post']>;
3556
- type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
3557
-
3558
- declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
3559
-
3560
- type TaskFn<T> = () => T;
3561
- /**
3562
- * Coalesces concurrent triggers onto a single, never-parallel run of `task`.
3563
- * Triggers fired while a run is busy collapse into one trailing run, and each
3564
- * resolves with the first run that started after it — so it never sees stale state.
3565
- *
3566
- * Example — A triggers, then B and C trigger while A's run is still going:
3567
- * 1. trigger A → run #1 starts
3568
- * 2. trigger B, C → run #1 busy, so they wait
3569
- * 3. run #1 done → A resolves
3570
- * 4. run #2 starts → covers B and C together (one trailing run, not two)
3571
- * 5. run #2 done → B and C resolve
3572
- *
3573
- * @returns a trigger; each call returns a promise of the task result.
3574
- * @throws The returned promise rejects with whatever `task` throws or rejects
3575
- * with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
3576
- */
3577
- declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
3578
-
3579
- declare const delay: (timeout: number, signal?: AbortSignal) => Promise<unknown>;
3580
-
3581
- type PollResult<T> = {
3582
- data: T;
3583
- callCount: number;
3584
- };
3585
- type PollErrorType = 'PollPredicateError' | 'PollTimeoutError' | 'PollPollTimeoutError';
3586
- declare class PollException<T> extends Error {
3587
- result: PollResult<T>;
3588
- constructor(type: PollErrorType, result: PollResult<T>);
3589
- }
3590
- type Options<T> = {
3591
- pollFn: (abortSignal?: AbortSignal) => Promise<T>;
3592
- isDone: (result: T) => boolean;
3593
- isFailed?: (result: T) => boolean;
3594
- interval: number;
3595
- abortSignal?: AbortSignal;
3596
- maxAttempts?: number;
3597
- };
3598
- declare const poll: <T>({ pollFn, interval, isDone, isFailed, abortSignal, maxAttempts, }: Options<T>) => Promise<PollResult<T>>;
3599
-
3600
- declare const generateUUID: () => `${string}-${string}-${string}-${string}-${string}`;
3601
-
3602
- /**
3603
- * Executes an asynchronous callback function on an array of items in series (one at a time).
3604
- * It behaves similarly to Promise.all(), failing on the first rejected promise.
3605
- * The order of the results matches the order of the promises.
3606
- */
3607
- declare const series: <T, R>(options: Omit<ConcurrentOptions<T, R>, "concurrency">) => Promise<R[]>;
3608
-
3609
- type Listener<T> = (value: T) => void;
3610
- type ReadableStore<T> = {
3611
- get: () => T;
3612
- subscribe: (listener: Listener<T>) => () => void;
3613
- };
3614
- type Store<T> = ReadableStore<T> & {
3615
- set: (value: T) => void;
3616
- };
3617
- declare const createStore: <T>(initial: T) => Store<T>;
3618
- declare const shallowEqual: <T>(a: T, b: T) => boolean;
3619
- type DerivedStoreOptions<S, K, T> = {
3620
- source: ReadableStore<S>;
3621
- dependsOn: (state: S) => K;
3622
- build: (key: K) => T;
3623
- keyEquals?: (a: K, b: K) => boolean;
3624
- };
3625
- declare const createDerivedStore: <S, K, T>({ source, dependsOn, build, keyEquals, }: DerivedStoreOptions<S, K, T>) => ReadableStore<T>;
3626
-
3627
- /**
3628
- * Narrows `unknown` to a string-keyed object — a non-null value of `typeof 'object'`
3629
- * that is not an array. Note it does not distinguish class instances (e.g. `Date`) from
3630
- * object literals; it only rules out `null`, arrays, and primitives.
3631
- */
3632
- declare const isPlainObject: (value: unknown) => value is Record<string, unknown>;
3633
-
3634
- /**
3635
- * Is `value` "deeply empty" — i.e. carries no leaf data? `null`/`undefined`, `{}`, `[]`, and
3636
- * nested structures whose every leaf is itself empty (e.g. `{ parameters: {} }`) are empty.
3637
- * Any present primitive (string, number, boolean — including `''`) counts as content.
3638
- *
3639
- * Used to skip a pointless encryption round-trip when a validated configuration has nothing
3640
- * to encrypt.
3641
- */
3642
- declare const isEmptyDeep: (value: unknown) => boolean;
3643
-
3644
- /**
3645
- * Recursively merge `patch` into `base`. Plain-object values are merged key-by-key; every
3646
- * other value (primitives, arrays, or a type mismatch between the two sides) replaces the
3647
- * base value. `undefined` patch values are skipped, so a partial patch leaves untouched
3648
- * fields alone. Pure — neither argument is mutated; the result preserves `base`'s type.
3649
- */
3650
- declare const deepMerge: <T extends Record<string, unknown>>(base: T, patch: Record<string, unknown>) => T;
3651
-
3652
- /**
3653
- * Merge `patch` into `base`, guided by `schema`: descend only through object schemas, merging
3654
- * key-by-key. At every non-object node — a `z.union` (e.g. Snowflake's password|keypair auth),
3655
- * an array, or a primitive — the patch REPLACES the base wholesale. That replace is what lets an
3656
- * update *delete* keys the additive `deepMerge` cannot: switching a credential union to the other
3657
- * variant drops the abandoned variant's secret, because the entire union subtree is swapped.
3658
- *
3659
- * Consequence: a union (or array) subtree is all-or-nothing — the caller must send the complete
3660
- * block, since a partial patch replaces (and so loses) the omitted siblings.
3661
- *
3662
- * Object keys present only in `base` (e.g. `storage`, `processors`, anything the schema omits) are
3663
- * preserved at every level; `undefined` patch values are skipped. Assumes `patch` is already
3664
- * schema-validated (so every object-valued patch key has a matching schema node). Pure — neither
3665
- * argument is mutated.
3666
- */
3667
- declare const schemaGuidedMerge: <T extends Record<string, unknown>>(schema: z.core.$ZodType, base: T, patch: Record<string, unknown>) => T;
3668
-
3669
- type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
4040
+ type GetHistoryQuery = OpenapiQueryType<paths['/api/history']['get']>;
4041
+ type GetVotesQuery = OpenapiQueryType<paths['/api/vote']['get']>;
4042
+ type GetChatPath = OpenapiPathType<paths['/api/chat/{id}']['get']>;
4043
+ type ChatRequest = OpenapiBodyType<paths['/api/chat']['post']>;
4044
+ type VoteRequest = OpenapiBodyType<paths['/api/vote']['patch']>;
4045
+ type ApprovalBody = OpenapiBodyType<paths['/api/chat/{id}/approval']['post']>;
4046
+ type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
3670
4047
 
3671
4048
  /**
3672
- * Service clients reached through the registry — the key is the `clientName`
3673
- * the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
4049
+ * Bearer (OAuth) project surface. Same handshake + assembly as the legacy build. The
4050
+ * `Authorization: Bearer` header + transparent refresh come from the engine-shared `authMiddleware`
4051
+ * (one instance for management + every project client). This build only adds the project-scoped
4052
+ * `X-KBC-ProjectId` header, composed *outside* the auth middleware so the header is present
4053
+ * before it clones the request for the 401 replay. Bearer has no static token header, so this
4054
+ * combined `attach` rides on every client — including the operational storage and the bootstrap reader.
3674
4055
  */
3675
- type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
3676
- /** Clients instantiated directly (not stack-discovered), keyed by their property name. */
3677
- type NonServiceClientName = 'storage' | 'management' | 'auth';
3678
- type MiddlewareTarget = ServiceClientName | NonServiceClientName;
3679
- type Middlewares = MiddlewareFn[] | ({
3680
- all?: MiddlewareFn[];
3681
- } & Partial<Record<MiddlewareTarget, MiddlewareFn[]>>);
3682
-
3683
- type ApiClientOptions = {
3684
- token: {
3685
- storageApi: string;
3686
- managementApi?: string;
3687
- };
3688
- middlewares?: Middlewares;
4056
+ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middlewareFor, clientServiceUrls, }: {
4057
+ baseUrl: string;
4058
+ authMiddleware: MiddlewareFn;
4059
+ projectId: number;
4060
+ middlewareFor: MiddlewareFor;
3689
4061
  clientServiceUrls?: ServiceUrls;
3690
- } & BaseClientOptions;
3691
- declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
3692
- declare const createLiveProject: ({ initialToken, verify, }: {
3693
- initialToken: StorageToken;
3694
- verify: () => Promise<StorageToken>;
3695
- }) => {
3696
- store: Store<{
3697
- hasFeature: (...feature: string[]) => boolean;
3698
- hasAdminFeature: (...feature: string[]) => boolean;
3699
- hasBackend: (backend: Backend) => boolean;
3700
- sapiToken: StorageToken;
3701
- }>;
3702
- getProject: () => {
3703
- hasFeature: (...feature: string[]) => boolean;
3704
- hasAdminFeature: (...feature: string[]) => boolean;
3705
- hasBackend: (backend: Backend) => boolean;
3706
- sapiToken: StorageToken;
3707
- };
3708
- subscribe: (listener: (value: {
3709
- hasFeature: (...feature: string[]) => boolean;
3710
- hasAdminFeature: (...feature: string[]) => boolean;
3711
- hasBackend: (backend: Backend) => boolean;
3712
- sapiToken: StorageToken;
3713
- }) => void) => () => void;
3714
- middleware: MiddlewareFn;
3715
- };
3716
- declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares, }: ApiClientOptions) => Promise<{
4062
+ }) => Promise<{
3717
4063
  sdk: {
3718
4064
  configuration: {
3719
4065
  getConfiguration: <ComponentId extends RegisteredComponentId>(path: ConfigurationPath<ComponentId>) => Promise<{
@@ -4593,7 +4939,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
4593
4939
  onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
4594
4940
  getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
4595
4941
  }, zod_v4_core.$strip>;
4596
- }, zod_v4_core.$strip>>)[ComponentId]>>;
4942
+ }, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
4943
+ parameters: zod.ZodObject<{
4944
+ baseUrl: zod.ZodString;
4945
+ maxRedirects: zod.ZodOptional<zod.ZodNumber>;
4946
+ }, zod_v4_core.$loose>;
4947
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
4948
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
4949
+ host: zod.ZodString;
4950
+ port: zod.ZodNumber;
4951
+ connectionType: zod.ZodEnum<{
4952
+ FTP: "FTP";
4953
+ FTPS: "FTPS";
4954
+ SFTP: "SFTP";
4955
+ }>;
4956
+ username: zod.ZodString;
4957
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
4958
+ ssh: zod.ZodOptional<zod.ZodObject<{
4959
+ enabled: zod.ZodBoolean;
4960
+ sshHost: zod.ZodOptional<zod.ZodString>;
4961
+ user: zod.ZodOptional<zod.ZodString>;
4962
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
4963
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
4964
+ keys: zod.ZodOptional<zod.ZodObject<{
4965
+ public: zod.ZodOptional<zod.ZodString>;
4966
+ '#private': zod.ZodOptional<zod.ZodString>;
4967
+ }, zod_v4_core.$strip>>;
4968
+ }, zod_v4_core.$strip>>;
4969
+ path: zod.ZodOptional<zod.ZodString>;
4970
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
4971
+ '#password': zod.ZodString;
4972
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
4973
+ }, zod_v4_core.$loose>, zod.ZodObject<{
4974
+ host: zod.ZodString;
4975
+ port: zod.ZodNumber;
4976
+ connectionType: zod.ZodEnum<{
4977
+ FTP: "FTP";
4978
+ FTPS: "FTPS";
4979
+ SFTP: "SFTP";
4980
+ }>;
4981
+ username: zod.ZodString;
4982
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
4983
+ ssh: zod.ZodOptional<zod.ZodObject<{
4984
+ enabled: zod.ZodBoolean;
4985
+ sshHost: zod.ZodOptional<zod.ZodString>;
4986
+ user: zod.ZodOptional<zod.ZodString>;
4987
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
4988
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
4989
+ keys: zod.ZodOptional<zod.ZodObject<{
4990
+ public: zod.ZodOptional<zod.ZodString>;
4991
+ '#private': zod.ZodOptional<zod.ZodString>;
4992
+ }, zod_v4_core.$strip>>;
4993
+ }, zod_v4_core.$strip>>;
4994
+ path: zod.ZodOptional<zod.ZodString>;
4995
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
4996
+ '#privateKey': zod.ZodString;
4997
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
4998
+ }, zod_v4_core.$loose>]>;
4999
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
5000
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
5001
+ host: zod.ZodString;
5002
+ port: zod.ZodNumber;
5003
+ connectionType: zod.ZodEnum<{
5004
+ FTP: "FTP";
5005
+ FTPS: "FTPS";
5006
+ SFTP: "SFTP";
5007
+ }>;
5008
+ username: zod.ZodString;
5009
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
5010
+ ssh: zod.ZodOptional<zod.ZodObject<{
5011
+ enabled: zod.ZodBoolean;
5012
+ sshHost: zod.ZodOptional<zod.ZodString>;
5013
+ user: zod.ZodOptional<zod.ZodString>;
5014
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
5015
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
5016
+ keys: zod.ZodOptional<zod.ZodObject<{
5017
+ public: zod.ZodOptional<zod.ZodString>;
5018
+ '#private': zod.ZodOptional<zod.ZodString>;
5019
+ }, zod_v4_core.$strip>>;
5020
+ }, zod_v4_core.$strip>>;
5021
+ path: zod.ZodOptional<zod.ZodString>;
5022
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
5023
+ '#password': zod.ZodString;
5024
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
5025
+ }, zod_v4_core.$loose>, zod.ZodObject<{
5026
+ host: zod.ZodString;
5027
+ port: zod.ZodNumber;
5028
+ connectionType: zod.ZodEnum<{
5029
+ FTP: "FTP";
5030
+ FTPS: "FTPS";
5031
+ SFTP: "SFTP";
5032
+ }>;
5033
+ username: zod.ZodString;
5034
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
5035
+ ssh: zod.ZodOptional<zod.ZodObject<{
5036
+ enabled: zod.ZodBoolean;
5037
+ sshHost: zod.ZodOptional<zod.ZodString>;
5038
+ user: zod.ZodOptional<zod.ZodString>;
5039
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
5040
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
5041
+ keys: zod.ZodOptional<zod.ZodObject<{
5042
+ public: zod.ZodOptional<zod.ZodString>;
5043
+ '#private': zod.ZodOptional<zod.ZodString>;
5044
+ }, zod_v4_core.$strip>>;
5045
+ }, zod_v4_core.$strip>>;
5046
+ path: zod.ZodOptional<zod.ZodString>;
5047
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
5048
+ '#privateKey': zod.ZodString;
5049
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
5050
+ }, zod_v4_core.$loose>]>;
5051
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
5052
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
5053
+ loginType: zod.ZodLiteral<"credentials">;
5054
+ accessKeyId: zod.ZodString;
5055
+ '#secretAccessKey': zod.ZodString;
5056
+ accountId: zod.ZodOptional<zod.ZodUndefined>;
5057
+ roleName: zod.ZodOptional<zod.ZodUndefined>;
5058
+ }, zod_v4_core.$loose>, zod.ZodObject<{
5059
+ loginType: zod.ZodLiteral<"role">;
5060
+ accountId: zod.ZodString;
5061
+ roleName: zod.ZodString;
5062
+ accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
5063
+ '#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
5064
+ }, zod_v4_core.$loose>]>;
5065
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
5066
+ parameters: zod.ZodObject<{
5067
+ account_name: zod.ZodString;
5068
+ '#account_key': zod.ZodString;
5069
+ container_name: zod.ZodString;
5070
+ }, zod_v4_core.$loose>;
5071
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
5072
+ parameters: zod.ZodObject<{
5073
+ account_name: zod.ZodString;
5074
+ '#account_key': zod.ZodString;
5075
+ file_system: zod.ZodString;
5076
+ }, zod_v4_core.$loose>;
5077
+ }, zod_v4_core.$loose>>)[ComponentId]>>;
4597
5078
  runnable: boolean;
4598
5079
  error: zod.ZodError<unknown> | undefined;
4599
5080
  }>;
@@ -5475,7 +5956,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
5475
5956
  onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
5476
5957
  getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
5477
5958
  }, zod_v4_core.$strip>;
5478
- }, zod_v4_core.$strip>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
5959
+ }, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
5960
+ parameters: zod.ZodObject<{
5961
+ baseUrl: zod.ZodString;
5962
+ maxRedirects: zod.ZodOptional<zod.ZodNumber>;
5963
+ }, zod_v4_core.$loose>;
5964
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
5965
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
5966
+ host: zod.ZodString;
5967
+ port: zod.ZodNumber;
5968
+ connectionType: zod.ZodEnum<{
5969
+ FTP: "FTP";
5970
+ FTPS: "FTPS";
5971
+ SFTP: "SFTP";
5972
+ }>;
5973
+ username: zod.ZodString;
5974
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
5975
+ ssh: zod.ZodOptional<zod.ZodObject<{
5976
+ enabled: zod.ZodBoolean;
5977
+ sshHost: zod.ZodOptional<zod.ZodString>;
5978
+ user: zod.ZodOptional<zod.ZodString>;
5979
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
5980
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
5981
+ keys: zod.ZodOptional<zod.ZodObject<{
5982
+ public: zod.ZodOptional<zod.ZodString>;
5983
+ '#private': zod.ZodOptional<zod.ZodString>;
5984
+ }, zod_v4_core.$strip>>;
5985
+ }, zod_v4_core.$strip>>;
5986
+ path: zod.ZodOptional<zod.ZodString>;
5987
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
5988
+ '#password': zod.ZodString;
5989
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
5990
+ }, zod_v4_core.$loose>, zod.ZodObject<{
5991
+ host: zod.ZodString;
5992
+ port: zod.ZodNumber;
5993
+ connectionType: zod.ZodEnum<{
5994
+ FTP: "FTP";
5995
+ FTPS: "FTPS";
5996
+ SFTP: "SFTP";
5997
+ }>;
5998
+ username: zod.ZodString;
5999
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
6000
+ ssh: zod.ZodOptional<zod.ZodObject<{
6001
+ enabled: zod.ZodBoolean;
6002
+ sshHost: zod.ZodOptional<zod.ZodString>;
6003
+ user: zod.ZodOptional<zod.ZodString>;
6004
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
6005
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
6006
+ keys: zod.ZodOptional<zod.ZodObject<{
6007
+ public: zod.ZodOptional<zod.ZodString>;
6008
+ '#private': zod.ZodOptional<zod.ZodString>;
6009
+ }, zod_v4_core.$strip>>;
6010
+ }, zod_v4_core.$strip>>;
6011
+ path: zod.ZodOptional<zod.ZodString>;
6012
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
6013
+ '#privateKey': zod.ZodString;
6014
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
6015
+ }, zod_v4_core.$loose>]>;
6016
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
6017
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
6018
+ host: zod.ZodString;
6019
+ port: zod.ZodNumber;
6020
+ connectionType: zod.ZodEnum<{
6021
+ FTP: "FTP";
6022
+ FTPS: "FTPS";
6023
+ SFTP: "SFTP";
6024
+ }>;
6025
+ username: zod.ZodString;
6026
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
6027
+ ssh: zod.ZodOptional<zod.ZodObject<{
6028
+ enabled: zod.ZodBoolean;
6029
+ sshHost: zod.ZodOptional<zod.ZodString>;
6030
+ user: zod.ZodOptional<zod.ZodString>;
6031
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
6032
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
6033
+ keys: zod.ZodOptional<zod.ZodObject<{
6034
+ public: zod.ZodOptional<zod.ZodString>;
6035
+ '#private': zod.ZodOptional<zod.ZodString>;
6036
+ }, zod_v4_core.$strip>>;
6037
+ }, zod_v4_core.$strip>>;
6038
+ path: zod.ZodOptional<zod.ZodString>;
6039
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
6040
+ '#password': zod.ZodString;
6041
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
6042
+ }, zod_v4_core.$loose>, zod.ZodObject<{
6043
+ host: zod.ZodString;
6044
+ port: zod.ZodNumber;
6045
+ connectionType: zod.ZodEnum<{
6046
+ FTP: "FTP";
6047
+ FTPS: "FTPS";
6048
+ SFTP: "SFTP";
6049
+ }>;
6050
+ username: zod.ZodString;
6051
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
6052
+ ssh: zod.ZodOptional<zod.ZodObject<{
6053
+ enabled: zod.ZodBoolean;
6054
+ sshHost: zod.ZodOptional<zod.ZodString>;
6055
+ user: zod.ZodOptional<zod.ZodString>;
6056
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
6057
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
6058
+ keys: zod.ZodOptional<zod.ZodObject<{
6059
+ public: zod.ZodOptional<zod.ZodString>;
6060
+ '#private': zod.ZodOptional<zod.ZodString>;
6061
+ }, zod_v4_core.$strip>>;
6062
+ }, zod_v4_core.$strip>>;
6063
+ path: zod.ZodOptional<zod.ZodString>;
6064
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
6065
+ '#privateKey': zod.ZodString;
6066
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
6067
+ }, zod_v4_core.$loose>]>;
6068
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
6069
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
6070
+ loginType: zod.ZodLiteral<"credentials">;
6071
+ accessKeyId: zod.ZodString;
6072
+ '#secretAccessKey': zod.ZodString;
6073
+ accountId: zod.ZodOptional<zod.ZodUndefined>;
6074
+ roleName: zod.ZodOptional<zod.ZodUndefined>;
6075
+ }, zod_v4_core.$loose>, zod.ZodObject<{
6076
+ loginType: zod.ZodLiteral<"role">;
6077
+ accountId: zod.ZodString;
6078
+ roleName: zod.ZodString;
6079
+ accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
6080
+ '#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
6081
+ }, zod_v4_core.$loose>]>;
6082
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
6083
+ parameters: zod.ZodObject<{
6084
+ account_name: zod.ZodString;
6085
+ '#account_key': zod.ZodString;
6086
+ container_name: zod.ZodString;
6087
+ }, zod_v4_core.$loose>;
6088
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
6089
+ parameters: zod.ZodObject<{
6090
+ account_name: zod.ZodString;
6091
+ '#account_key': zod.ZodString;
6092
+ file_system: zod.ZodString;
6093
+ }, zod_v4_core.$loose>;
6094
+ }, zod_v4_core.$loose>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
5479
6095
  parameters: zod.ZodObject<{
5480
6096
  db: zod.ZodObject<{
5481
6097
  host: zod.ZodString;
@@ -6351,7 +6967,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
6351
6967
  onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
6352
6968
  getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
6353
6969
  }, zod_v4_core.$strip>;
6354
- }, zod_v4_core.$strip>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
6970
+ }, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
6971
+ parameters: zod.ZodObject<{
6972
+ baseUrl: zod.ZodString;
6973
+ maxRedirects: zod.ZodOptional<zod.ZodNumber>;
6974
+ }, zod_v4_core.$loose>;
6975
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
6976
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
6977
+ host: zod.ZodString;
6978
+ port: zod.ZodNumber;
6979
+ connectionType: zod.ZodEnum<{
6980
+ FTP: "FTP";
6981
+ FTPS: "FTPS";
6982
+ SFTP: "SFTP";
6983
+ }>;
6984
+ username: zod.ZodString;
6985
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
6986
+ ssh: zod.ZodOptional<zod.ZodObject<{
6987
+ enabled: zod.ZodBoolean;
6988
+ sshHost: zod.ZodOptional<zod.ZodString>;
6989
+ user: zod.ZodOptional<zod.ZodString>;
6990
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
6991
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
6992
+ keys: zod.ZodOptional<zod.ZodObject<{
6993
+ public: zod.ZodOptional<zod.ZodString>;
6994
+ '#private': zod.ZodOptional<zod.ZodString>;
6995
+ }, zod_v4_core.$strip>>;
6996
+ }, zod_v4_core.$strip>>;
6997
+ path: zod.ZodOptional<zod.ZodString>;
6998
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
6999
+ '#password': zod.ZodString;
7000
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
7001
+ }, zod_v4_core.$loose>, zod.ZodObject<{
7002
+ host: zod.ZodString;
7003
+ port: zod.ZodNumber;
7004
+ connectionType: zod.ZodEnum<{
7005
+ FTP: "FTP";
7006
+ FTPS: "FTPS";
7007
+ SFTP: "SFTP";
7008
+ }>;
7009
+ username: zod.ZodString;
7010
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
7011
+ ssh: zod.ZodOptional<zod.ZodObject<{
7012
+ enabled: zod.ZodBoolean;
7013
+ sshHost: zod.ZodOptional<zod.ZodString>;
7014
+ user: zod.ZodOptional<zod.ZodString>;
7015
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
7016
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
7017
+ keys: zod.ZodOptional<zod.ZodObject<{
7018
+ public: zod.ZodOptional<zod.ZodString>;
7019
+ '#private': zod.ZodOptional<zod.ZodString>;
7020
+ }, zod_v4_core.$strip>>;
7021
+ }, zod_v4_core.$strip>>;
7022
+ path: zod.ZodOptional<zod.ZodString>;
7023
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
7024
+ '#privateKey': zod.ZodString;
7025
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
7026
+ }, zod_v4_core.$loose>]>;
7027
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
7028
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
7029
+ host: zod.ZodString;
7030
+ port: zod.ZodNumber;
7031
+ connectionType: zod.ZodEnum<{
7032
+ FTP: "FTP";
7033
+ FTPS: "FTPS";
7034
+ SFTP: "SFTP";
7035
+ }>;
7036
+ username: zod.ZodString;
7037
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
7038
+ ssh: zod.ZodOptional<zod.ZodObject<{
7039
+ enabled: zod.ZodBoolean;
7040
+ sshHost: zod.ZodOptional<zod.ZodString>;
7041
+ user: zod.ZodOptional<zod.ZodString>;
7042
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
7043
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
7044
+ keys: zod.ZodOptional<zod.ZodObject<{
7045
+ public: zod.ZodOptional<zod.ZodString>;
7046
+ '#private': zod.ZodOptional<zod.ZodString>;
7047
+ }, zod_v4_core.$strip>>;
7048
+ }, zod_v4_core.$strip>>;
7049
+ path: zod.ZodOptional<zod.ZodString>;
7050
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
7051
+ '#password': zod.ZodString;
7052
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
7053
+ }, zod_v4_core.$loose>, zod.ZodObject<{
7054
+ host: zod.ZodString;
7055
+ port: zod.ZodNumber;
7056
+ connectionType: zod.ZodEnum<{
7057
+ FTP: "FTP";
7058
+ FTPS: "FTPS";
7059
+ SFTP: "SFTP";
7060
+ }>;
7061
+ username: zod.ZodString;
7062
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
7063
+ ssh: zod.ZodOptional<zod.ZodObject<{
7064
+ enabled: zod.ZodBoolean;
7065
+ sshHost: zod.ZodOptional<zod.ZodString>;
7066
+ user: zod.ZodOptional<zod.ZodString>;
7067
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
7068
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
7069
+ keys: zod.ZodOptional<zod.ZodObject<{
7070
+ public: zod.ZodOptional<zod.ZodString>;
7071
+ '#private': zod.ZodOptional<zod.ZodString>;
7072
+ }, zod_v4_core.$strip>>;
7073
+ }, zod_v4_core.$strip>>;
7074
+ path: zod.ZodOptional<zod.ZodString>;
7075
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
7076
+ '#privateKey': zod.ZodString;
7077
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
7078
+ }, zod_v4_core.$loose>]>;
7079
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
7080
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
7081
+ loginType: zod.ZodLiteral<"credentials">;
7082
+ accessKeyId: zod.ZodString;
7083
+ '#secretAccessKey': zod.ZodString;
7084
+ accountId: zod.ZodOptional<zod.ZodUndefined>;
7085
+ roleName: zod.ZodOptional<zod.ZodUndefined>;
7086
+ }, zod_v4_core.$loose>, zod.ZodObject<{
7087
+ loginType: zod.ZodLiteral<"role">;
7088
+ accountId: zod.ZodString;
7089
+ roleName: zod.ZodString;
7090
+ accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
7091
+ '#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
7092
+ }, zod_v4_core.$loose>]>;
7093
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
7094
+ parameters: zod.ZodObject<{
7095
+ account_name: zod.ZodString;
7096
+ '#account_key': zod.ZodString;
7097
+ container_name: zod.ZodString;
7098
+ }, zod_v4_core.$loose>;
7099
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
7100
+ parameters: zod.ZodObject<{
7101
+ account_name: zod.ZodString;
7102
+ '#account_key': zod.ZodString;
7103
+ file_system: zod.ZodString;
7104
+ }, zod_v4_core.$loose>;
7105
+ }, zod_v4_core.$loose>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
6355
7106
  }) => Promise<{
6356
7107
  data: BaseComponentConfig<zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
6357
7108
  parameters: zod.ZodObject<{
@@ -7229,7 +7980,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
7229
7980
  onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
7230
7981
  getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
7231
7982
  }, zod_v4_core.$strip>;
7232
- }, zod_v4_core.$strip>>)[ComponentId]>>;
7983
+ }, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
7984
+ parameters: zod.ZodObject<{
7985
+ baseUrl: zod.ZodString;
7986
+ maxRedirects: zod.ZodOptional<zod.ZodNumber>;
7987
+ }, zod_v4_core.$loose>;
7988
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
7989
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
7990
+ host: zod.ZodString;
7991
+ port: zod.ZodNumber;
7992
+ connectionType: zod.ZodEnum<{
7993
+ FTP: "FTP";
7994
+ FTPS: "FTPS";
7995
+ SFTP: "SFTP";
7996
+ }>;
7997
+ username: zod.ZodString;
7998
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
7999
+ ssh: zod.ZodOptional<zod.ZodObject<{
8000
+ enabled: zod.ZodBoolean;
8001
+ sshHost: zod.ZodOptional<zod.ZodString>;
8002
+ user: zod.ZodOptional<zod.ZodString>;
8003
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
8004
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
8005
+ keys: zod.ZodOptional<zod.ZodObject<{
8006
+ public: zod.ZodOptional<zod.ZodString>;
8007
+ '#private': zod.ZodOptional<zod.ZodString>;
8008
+ }, zod_v4_core.$strip>>;
8009
+ }, zod_v4_core.$strip>>;
8010
+ path: zod.ZodOptional<zod.ZodString>;
8011
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
8012
+ '#password': zod.ZodString;
8013
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
8014
+ }, zod_v4_core.$loose>, zod.ZodObject<{
8015
+ host: zod.ZodString;
8016
+ port: zod.ZodNumber;
8017
+ connectionType: zod.ZodEnum<{
8018
+ FTP: "FTP";
8019
+ FTPS: "FTPS";
8020
+ SFTP: "SFTP";
8021
+ }>;
8022
+ username: zod.ZodString;
8023
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
8024
+ ssh: zod.ZodOptional<zod.ZodObject<{
8025
+ enabled: zod.ZodBoolean;
8026
+ sshHost: zod.ZodOptional<zod.ZodString>;
8027
+ user: zod.ZodOptional<zod.ZodString>;
8028
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
8029
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
8030
+ keys: zod.ZodOptional<zod.ZodObject<{
8031
+ public: zod.ZodOptional<zod.ZodString>;
8032
+ '#private': zod.ZodOptional<zod.ZodString>;
8033
+ }, zod_v4_core.$strip>>;
8034
+ }, zod_v4_core.$strip>>;
8035
+ path: zod.ZodOptional<zod.ZodString>;
8036
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
8037
+ '#privateKey': zod.ZodString;
8038
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
8039
+ }, zod_v4_core.$loose>]>;
8040
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
8041
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
8042
+ host: zod.ZodString;
8043
+ port: zod.ZodNumber;
8044
+ connectionType: zod.ZodEnum<{
8045
+ FTP: "FTP";
8046
+ FTPS: "FTPS";
8047
+ SFTP: "SFTP";
8048
+ }>;
8049
+ username: zod.ZodString;
8050
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
8051
+ ssh: zod.ZodOptional<zod.ZodObject<{
8052
+ enabled: zod.ZodBoolean;
8053
+ sshHost: zod.ZodOptional<zod.ZodString>;
8054
+ user: zod.ZodOptional<zod.ZodString>;
8055
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
8056
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
8057
+ keys: zod.ZodOptional<zod.ZodObject<{
8058
+ public: zod.ZodOptional<zod.ZodString>;
8059
+ '#private': zod.ZodOptional<zod.ZodString>;
8060
+ }, zod_v4_core.$strip>>;
8061
+ }, zod_v4_core.$strip>>;
8062
+ path: zod.ZodOptional<zod.ZodString>;
8063
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
8064
+ '#password': zod.ZodString;
8065
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
8066
+ }, zod_v4_core.$loose>, zod.ZodObject<{
8067
+ host: zod.ZodString;
8068
+ port: zod.ZodNumber;
8069
+ connectionType: zod.ZodEnum<{
8070
+ FTP: "FTP";
8071
+ FTPS: "FTPS";
8072
+ SFTP: "SFTP";
8073
+ }>;
8074
+ username: zod.ZodString;
8075
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
8076
+ ssh: zod.ZodOptional<zod.ZodObject<{
8077
+ enabled: zod.ZodBoolean;
8078
+ sshHost: zod.ZodOptional<zod.ZodString>;
8079
+ user: zod.ZodOptional<zod.ZodString>;
8080
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
8081
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
8082
+ keys: zod.ZodOptional<zod.ZodObject<{
8083
+ public: zod.ZodOptional<zod.ZodString>;
8084
+ '#private': zod.ZodOptional<zod.ZodString>;
8085
+ }, zod_v4_core.$strip>>;
8086
+ }, zod_v4_core.$strip>>;
8087
+ path: zod.ZodOptional<zod.ZodString>;
8088
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
8089
+ '#privateKey': zod.ZodString;
8090
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
8091
+ }, zod_v4_core.$loose>]>;
8092
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
8093
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
8094
+ loginType: zod.ZodLiteral<"credentials">;
8095
+ accessKeyId: zod.ZodString;
8096
+ '#secretAccessKey': zod.ZodString;
8097
+ accountId: zod.ZodOptional<zod.ZodUndefined>;
8098
+ roleName: zod.ZodOptional<zod.ZodUndefined>;
8099
+ }, zod_v4_core.$loose>, zod.ZodObject<{
8100
+ loginType: zod.ZodLiteral<"role">;
8101
+ accountId: zod.ZodString;
8102
+ roleName: zod.ZodString;
8103
+ accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
8104
+ '#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
8105
+ }, zod_v4_core.$loose>]>;
8106
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
8107
+ parameters: zod.ZodObject<{
8108
+ account_name: zod.ZodString;
8109
+ '#account_key': zod.ZodString;
8110
+ container_name: zod.ZodString;
8111
+ }, zod_v4_core.$loose>;
8112
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
8113
+ parameters: zod.ZodObject<{
8114
+ account_name: zod.ZodString;
8115
+ '#account_key': zod.ZodString;
8116
+ file_system: zod.ZodString;
8117
+ }, zod_v4_core.$loose>;
8118
+ }, zod_v4_core.$loose>>)[ComponentId]>>;
7233
8119
  runnable: boolean;
7234
8120
  error: zod.ZodError<unknown> | undefined;
7235
8121
  }>;
@@ -8111,7 +8997,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
8111
8997
  onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
8112
8998
  getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
8113
8999
  }, zod_v4_core.$strip>;
8114
- }, zod_v4_core.$strip>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
9000
+ }, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
9001
+ parameters: zod.ZodObject<{
9002
+ baseUrl: zod.ZodString;
9003
+ maxRedirects: zod.ZodOptional<zod.ZodNumber>;
9004
+ }, zod_v4_core.$loose>;
9005
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
9006
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
9007
+ host: zod.ZodString;
9008
+ port: zod.ZodNumber;
9009
+ connectionType: zod.ZodEnum<{
9010
+ FTP: "FTP";
9011
+ FTPS: "FTPS";
9012
+ SFTP: "SFTP";
9013
+ }>;
9014
+ username: zod.ZodString;
9015
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
9016
+ ssh: zod.ZodOptional<zod.ZodObject<{
9017
+ enabled: zod.ZodBoolean;
9018
+ sshHost: zod.ZodOptional<zod.ZodString>;
9019
+ user: zod.ZodOptional<zod.ZodString>;
9020
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
9021
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
9022
+ keys: zod.ZodOptional<zod.ZodObject<{
9023
+ public: zod.ZodOptional<zod.ZodString>;
9024
+ '#private': zod.ZodOptional<zod.ZodString>;
9025
+ }, zod_v4_core.$strip>>;
9026
+ }, zod_v4_core.$strip>>;
9027
+ path: zod.ZodOptional<zod.ZodString>;
9028
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
9029
+ '#password': zod.ZodString;
9030
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
9031
+ }, zod_v4_core.$loose>, zod.ZodObject<{
9032
+ host: zod.ZodString;
9033
+ port: zod.ZodNumber;
9034
+ connectionType: zod.ZodEnum<{
9035
+ FTP: "FTP";
9036
+ FTPS: "FTPS";
9037
+ SFTP: "SFTP";
9038
+ }>;
9039
+ username: zod.ZodString;
9040
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
9041
+ ssh: zod.ZodOptional<zod.ZodObject<{
9042
+ enabled: zod.ZodBoolean;
9043
+ sshHost: zod.ZodOptional<zod.ZodString>;
9044
+ user: zod.ZodOptional<zod.ZodString>;
9045
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
9046
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
9047
+ keys: zod.ZodOptional<zod.ZodObject<{
9048
+ public: zod.ZodOptional<zod.ZodString>;
9049
+ '#private': zod.ZodOptional<zod.ZodString>;
9050
+ }, zod_v4_core.$strip>>;
9051
+ }, zod_v4_core.$strip>>;
9052
+ path: zod.ZodOptional<zod.ZodString>;
9053
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
9054
+ '#privateKey': zod.ZodString;
9055
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
9056
+ }, zod_v4_core.$loose>]>;
9057
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
9058
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
9059
+ host: zod.ZodString;
9060
+ port: zod.ZodNumber;
9061
+ connectionType: zod.ZodEnum<{
9062
+ FTP: "FTP";
9063
+ FTPS: "FTPS";
9064
+ SFTP: "SFTP";
9065
+ }>;
9066
+ username: zod.ZodString;
9067
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
9068
+ ssh: zod.ZodOptional<zod.ZodObject<{
9069
+ enabled: zod.ZodBoolean;
9070
+ sshHost: zod.ZodOptional<zod.ZodString>;
9071
+ user: zod.ZodOptional<zod.ZodString>;
9072
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
9073
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
9074
+ keys: zod.ZodOptional<zod.ZodObject<{
9075
+ public: zod.ZodOptional<zod.ZodString>;
9076
+ '#private': zod.ZodOptional<zod.ZodString>;
9077
+ }, zod_v4_core.$strip>>;
9078
+ }, zod_v4_core.$strip>>;
9079
+ path: zod.ZodOptional<zod.ZodString>;
9080
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
9081
+ '#password': zod.ZodString;
9082
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
9083
+ }, zod_v4_core.$loose>, zod.ZodObject<{
9084
+ host: zod.ZodString;
9085
+ port: zod.ZodNumber;
9086
+ connectionType: zod.ZodEnum<{
9087
+ FTP: "FTP";
9088
+ FTPS: "FTPS";
9089
+ SFTP: "SFTP";
9090
+ }>;
9091
+ username: zod.ZodString;
9092
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
9093
+ ssh: zod.ZodOptional<zod.ZodObject<{
9094
+ enabled: zod.ZodBoolean;
9095
+ sshHost: zod.ZodOptional<zod.ZodString>;
9096
+ user: zod.ZodOptional<zod.ZodString>;
9097
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
9098
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
9099
+ keys: zod.ZodOptional<zod.ZodObject<{
9100
+ public: zod.ZodOptional<zod.ZodString>;
9101
+ '#private': zod.ZodOptional<zod.ZodString>;
9102
+ }, zod_v4_core.$strip>>;
9103
+ }, zod_v4_core.$strip>>;
9104
+ path: zod.ZodOptional<zod.ZodString>;
9105
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
9106
+ '#privateKey': zod.ZodString;
9107
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
9108
+ }, zod_v4_core.$loose>]>;
9109
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
9110
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
9111
+ loginType: zod.ZodLiteral<"credentials">;
9112
+ accessKeyId: zod.ZodString;
9113
+ '#secretAccessKey': zod.ZodString;
9114
+ accountId: zod.ZodOptional<zod.ZodUndefined>;
9115
+ roleName: zod.ZodOptional<zod.ZodUndefined>;
9116
+ }, zod_v4_core.$loose>, zod.ZodObject<{
9117
+ loginType: zod.ZodLiteral<"role">;
9118
+ accountId: zod.ZodString;
9119
+ roleName: zod.ZodString;
9120
+ accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
9121
+ '#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
9122
+ }, zod_v4_core.$loose>]>;
9123
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
9124
+ parameters: zod.ZodObject<{
9125
+ account_name: zod.ZodString;
9126
+ '#account_key': zod.ZodString;
9127
+ container_name: zod.ZodString;
9128
+ }, zod_v4_core.$loose>;
9129
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
9130
+ parameters: zod.ZodObject<{
9131
+ account_name: zod.ZodString;
9132
+ '#account_key': zod.ZodString;
9133
+ file_system: zod.ZodString;
9134
+ }, zod_v4_core.$loose>;
9135
+ }, zod_v4_core.$loose>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
8115
9136
  parameters: zod.ZodObject<{
8116
9137
  db: zod.ZodObject<{
8117
9138
  host: zod.ZodString;
@@ -8987,7 +10008,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
8987
10008
  onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
8988
10009
  getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
8989
10010
  }, zod_v4_core.$strip>;
8990
- }, zod_v4_core.$strip>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
10011
+ }, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
10012
+ parameters: zod.ZodObject<{
10013
+ baseUrl: zod.ZodString;
10014
+ maxRedirects: zod.ZodOptional<zod.ZodNumber>;
10015
+ }, zod_v4_core.$loose>;
10016
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
10017
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
10018
+ host: zod.ZodString;
10019
+ port: zod.ZodNumber;
10020
+ connectionType: zod.ZodEnum<{
10021
+ FTP: "FTP";
10022
+ FTPS: "FTPS";
10023
+ SFTP: "SFTP";
10024
+ }>;
10025
+ username: zod.ZodString;
10026
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
10027
+ ssh: zod.ZodOptional<zod.ZodObject<{
10028
+ enabled: zod.ZodBoolean;
10029
+ sshHost: zod.ZodOptional<zod.ZodString>;
10030
+ user: zod.ZodOptional<zod.ZodString>;
10031
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
10032
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
10033
+ keys: zod.ZodOptional<zod.ZodObject<{
10034
+ public: zod.ZodOptional<zod.ZodString>;
10035
+ '#private': zod.ZodOptional<zod.ZodString>;
10036
+ }, zod_v4_core.$strip>>;
10037
+ }, zod_v4_core.$strip>>;
10038
+ path: zod.ZodOptional<zod.ZodString>;
10039
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
10040
+ '#password': zod.ZodString;
10041
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
10042
+ }, zod_v4_core.$loose>, zod.ZodObject<{
10043
+ host: zod.ZodString;
10044
+ port: zod.ZodNumber;
10045
+ connectionType: zod.ZodEnum<{
10046
+ FTP: "FTP";
10047
+ FTPS: "FTPS";
10048
+ SFTP: "SFTP";
10049
+ }>;
10050
+ username: zod.ZodString;
10051
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
10052
+ ssh: zod.ZodOptional<zod.ZodObject<{
10053
+ enabled: zod.ZodBoolean;
10054
+ sshHost: zod.ZodOptional<zod.ZodString>;
10055
+ user: zod.ZodOptional<zod.ZodString>;
10056
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
10057
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
10058
+ keys: zod.ZodOptional<zod.ZodObject<{
10059
+ public: zod.ZodOptional<zod.ZodString>;
10060
+ '#private': zod.ZodOptional<zod.ZodString>;
10061
+ }, zod_v4_core.$strip>>;
10062
+ }, zod_v4_core.$strip>>;
10063
+ path: zod.ZodOptional<zod.ZodString>;
10064
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
10065
+ '#privateKey': zod.ZodString;
10066
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
10067
+ }, zod_v4_core.$loose>]>;
10068
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
10069
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
10070
+ host: zod.ZodString;
10071
+ port: zod.ZodNumber;
10072
+ connectionType: zod.ZodEnum<{
10073
+ FTP: "FTP";
10074
+ FTPS: "FTPS";
10075
+ SFTP: "SFTP";
10076
+ }>;
10077
+ username: zod.ZodString;
10078
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
10079
+ ssh: zod.ZodOptional<zod.ZodObject<{
10080
+ enabled: zod.ZodBoolean;
10081
+ sshHost: zod.ZodOptional<zod.ZodString>;
10082
+ user: zod.ZodOptional<zod.ZodString>;
10083
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
10084
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
10085
+ keys: zod.ZodOptional<zod.ZodObject<{
10086
+ public: zod.ZodOptional<zod.ZodString>;
10087
+ '#private': zod.ZodOptional<zod.ZodString>;
10088
+ }, zod_v4_core.$strip>>;
10089
+ }, zod_v4_core.$strip>>;
10090
+ path: zod.ZodOptional<zod.ZodString>;
10091
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
10092
+ '#password': zod.ZodString;
10093
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
10094
+ }, zod_v4_core.$loose>, zod.ZodObject<{
10095
+ host: zod.ZodString;
10096
+ port: zod.ZodNumber;
10097
+ connectionType: zod.ZodEnum<{
10098
+ FTP: "FTP";
10099
+ FTPS: "FTPS";
10100
+ SFTP: "SFTP";
10101
+ }>;
10102
+ username: zod.ZodString;
10103
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
10104
+ ssh: zod.ZodOptional<zod.ZodObject<{
10105
+ enabled: zod.ZodBoolean;
10106
+ sshHost: zod.ZodOptional<zod.ZodString>;
10107
+ user: zod.ZodOptional<zod.ZodString>;
10108
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
10109
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
10110
+ keys: zod.ZodOptional<zod.ZodObject<{
10111
+ public: zod.ZodOptional<zod.ZodString>;
10112
+ '#private': zod.ZodOptional<zod.ZodString>;
10113
+ }, zod_v4_core.$strip>>;
10114
+ }, zod_v4_core.$strip>>;
10115
+ path: zod.ZodOptional<zod.ZodString>;
10116
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
10117
+ '#privateKey': zod.ZodString;
10118
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
10119
+ }, zod_v4_core.$loose>]>;
10120
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
10121
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
10122
+ loginType: zod.ZodLiteral<"credentials">;
10123
+ accessKeyId: zod.ZodString;
10124
+ '#secretAccessKey': zod.ZodString;
10125
+ accountId: zod.ZodOptional<zod.ZodUndefined>;
10126
+ roleName: zod.ZodOptional<zod.ZodUndefined>;
10127
+ }, zod_v4_core.$loose>, zod.ZodObject<{
10128
+ loginType: zod.ZodLiteral<"role">;
10129
+ accountId: zod.ZodString;
10130
+ roleName: zod.ZodString;
10131
+ accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
10132
+ '#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
10133
+ }, zod_v4_core.$loose>]>;
10134
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
10135
+ parameters: zod.ZodObject<{
10136
+ account_name: zod.ZodString;
10137
+ '#account_key': zod.ZodString;
10138
+ container_name: zod.ZodString;
10139
+ }, zod_v4_core.$loose>;
10140
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
10141
+ parameters: zod.ZodObject<{
10142
+ account_name: zod.ZodString;
10143
+ '#account_key': zod.ZodString;
10144
+ file_system: zod.ZodString;
10145
+ }, zod_v4_core.$loose>;
10146
+ }, zod_v4_core.$loose>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
8991
10147
  } & {
8992
10148
  mode?: "replace" | "merge";
8993
10149
  }) => Promise<{
@@ -9867,7 +11023,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
9867
11023
  onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
9868
11024
  getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
9869
11025
  }, zod_v4_core.$strip>;
9870
- }, zod_v4_core.$strip>>)[ComponentId]>>;
11026
+ }, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
11027
+ parameters: zod.ZodObject<{
11028
+ baseUrl: zod.ZodString;
11029
+ maxRedirects: zod.ZodOptional<zod.ZodNumber>;
11030
+ }, zod_v4_core.$loose>;
11031
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
11032
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
11033
+ host: zod.ZodString;
11034
+ port: zod.ZodNumber;
11035
+ connectionType: zod.ZodEnum<{
11036
+ FTP: "FTP";
11037
+ FTPS: "FTPS";
11038
+ SFTP: "SFTP";
11039
+ }>;
11040
+ username: zod.ZodString;
11041
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
11042
+ ssh: zod.ZodOptional<zod.ZodObject<{
11043
+ enabled: zod.ZodBoolean;
11044
+ sshHost: zod.ZodOptional<zod.ZodString>;
11045
+ user: zod.ZodOptional<zod.ZodString>;
11046
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
11047
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
11048
+ keys: zod.ZodOptional<zod.ZodObject<{
11049
+ public: zod.ZodOptional<zod.ZodString>;
11050
+ '#private': zod.ZodOptional<zod.ZodString>;
11051
+ }, zod_v4_core.$strip>>;
11052
+ }, zod_v4_core.$strip>>;
11053
+ path: zod.ZodOptional<zod.ZodString>;
11054
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
11055
+ '#password': zod.ZodString;
11056
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
11057
+ }, zod_v4_core.$loose>, zod.ZodObject<{
11058
+ host: zod.ZodString;
11059
+ port: zod.ZodNumber;
11060
+ connectionType: zod.ZodEnum<{
11061
+ FTP: "FTP";
11062
+ FTPS: "FTPS";
11063
+ SFTP: "SFTP";
11064
+ }>;
11065
+ username: zod.ZodString;
11066
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
11067
+ ssh: zod.ZodOptional<zod.ZodObject<{
11068
+ enabled: zod.ZodBoolean;
11069
+ sshHost: zod.ZodOptional<zod.ZodString>;
11070
+ user: zod.ZodOptional<zod.ZodString>;
11071
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
11072
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
11073
+ keys: zod.ZodOptional<zod.ZodObject<{
11074
+ public: zod.ZodOptional<zod.ZodString>;
11075
+ '#private': zod.ZodOptional<zod.ZodString>;
11076
+ }, zod_v4_core.$strip>>;
11077
+ }, zod_v4_core.$strip>>;
11078
+ path: zod.ZodOptional<zod.ZodString>;
11079
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
11080
+ '#privateKey': zod.ZodString;
11081
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
11082
+ }, zod_v4_core.$loose>]>;
11083
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
11084
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
11085
+ host: zod.ZodString;
11086
+ port: zod.ZodNumber;
11087
+ connectionType: zod.ZodEnum<{
11088
+ FTP: "FTP";
11089
+ FTPS: "FTPS";
11090
+ SFTP: "SFTP";
11091
+ }>;
11092
+ username: zod.ZodString;
11093
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
11094
+ ssh: zod.ZodOptional<zod.ZodObject<{
11095
+ enabled: zod.ZodBoolean;
11096
+ sshHost: zod.ZodOptional<zod.ZodString>;
11097
+ user: zod.ZodOptional<zod.ZodString>;
11098
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
11099
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
11100
+ keys: zod.ZodOptional<zod.ZodObject<{
11101
+ public: zod.ZodOptional<zod.ZodString>;
11102
+ '#private': zod.ZodOptional<zod.ZodString>;
11103
+ }, zod_v4_core.$strip>>;
11104
+ }, zod_v4_core.$strip>>;
11105
+ path: zod.ZodOptional<zod.ZodString>;
11106
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
11107
+ '#password': zod.ZodString;
11108
+ '#privateKey': zod.ZodOptional<zod.ZodUndefined>;
11109
+ }, zod_v4_core.$loose>, zod.ZodObject<{
11110
+ host: zod.ZodString;
11111
+ port: zod.ZodNumber;
11112
+ connectionType: zod.ZodEnum<{
11113
+ FTP: "FTP";
11114
+ FTPS: "FTPS";
11115
+ SFTP: "SFTP";
11116
+ }>;
11117
+ username: zod.ZodString;
11118
+ ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
11119
+ ssh: zod.ZodOptional<zod.ZodObject<{
11120
+ enabled: zod.ZodBoolean;
11121
+ sshHost: zod.ZodOptional<zod.ZodString>;
11122
+ user: zod.ZodOptional<zod.ZodString>;
11123
+ sshPort: zod.ZodOptional<zod.ZodNumber>;
11124
+ passivePortRange: zod.ZodOptional<zod.ZodString>;
11125
+ keys: zod.ZodOptional<zod.ZodObject<{
11126
+ public: zod.ZodOptional<zod.ZodString>;
11127
+ '#private': zod.ZodOptional<zod.ZodString>;
11128
+ }, zod_v4_core.$strip>>;
11129
+ }, zod_v4_core.$strip>>;
11130
+ path: zod.ZodOptional<zod.ZodString>;
11131
+ onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
11132
+ '#privateKey': zod.ZodString;
11133
+ '#password': zod.ZodOptional<zod.ZodUndefined>;
11134
+ }, zod_v4_core.$loose>]>;
11135
+ }, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
11136
+ parameters: zod.ZodUnion<readonly [zod.ZodObject<{
11137
+ loginType: zod.ZodLiteral<"credentials">;
11138
+ accessKeyId: zod.ZodString;
11139
+ '#secretAccessKey': zod.ZodString;
11140
+ accountId: zod.ZodOptional<zod.ZodUndefined>;
11141
+ roleName: zod.ZodOptional<zod.ZodUndefined>;
11142
+ }, zod_v4_core.$loose>, zod.ZodObject<{
11143
+ loginType: zod.ZodLiteral<"role">;
11144
+ accountId: zod.ZodString;
11145
+ roleName: zod.ZodString;
11146
+ accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
11147
+ '#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
11148
+ }, zod_v4_core.$loose>]>;
11149
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
11150
+ parameters: zod.ZodObject<{
11151
+ account_name: zod.ZodString;
11152
+ '#account_key': zod.ZodString;
11153
+ container_name: zod.ZodString;
11154
+ }, zod_v4_core.$loose>;
11155
+ }, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
11156
+ parameters: zod.ZodObject<{
11157
+ account_name: zod.ZodString;
11158
+ '#account_key': zod.ZodString;
11159
+ file_system: zod.ZodString;
11160
+ }, zod_v4_core.$loose>;
11161
+ }, zod_v4_core.$loose>>)[ComponentId]>>;
9871
11162
  runnable: boolean;
9872
11163
  error: zod.ZodError<unknown> | undefined;
9873
11164
  }>;
@@ -9875,13 +11166,34 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
9875
11166
  tag: {
9876
11167
  getTags: (signal?: AbortSignal) => Promise<TagWithBindings[]>;
9877
11168
  getTagsByObjectId: (objectId: KeboolaObjectId, signal?: AbortSignal) => Promise<TagWithBindings[]>;
9878
- createTag: (data: TagData, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData, false>>;
9879
- updateTag: (tagUUID: string, data: TagData, meta?: UpdateMetaObjectMetaDataInput) => Promise<MetaObject<TagData, false>>;
11169
+ createTag: (data: TagData, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData>>;
11170
+ updateTag: (tagUUID: string, data: TagData, meta?: UpdateMetaObjectMetaDataInput) => Promise<MetaObject<TagData>>;
9880
11171
  deleteTag: (tagUUID: string) => Promise<void>;
9881
11172
  assignTags: (tagUUIDs: string[], objectId: KeboolaObjectId, meta?: CreateMetaObjectMetaDataInput) => Promise<void>;
9882
11173
  unassignTags: (tagUUIDs: string[], objectID: KeboolaObjectId) => Promise<void>;
9883
11174
  unassignAllTags: (objectID: KeboolaObjectId, signal?: AbortSignal) => Promise<void>;
9884
- createAndAssignTag: (data: TagData, objectId: KeboolaObjectId, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData, false>>;
11175
+ createAndAssignTag: (data: TagData, objectId: KeboolaObjectId, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData>>;
11176
+ };
11177
+ semanticLayer: {
11178
+ listModels: (signal?: AbortSignal) => Promise<SemanticObject<SemanticModelData>[]>;
11179
+ createModel: (data: SemanticModelData, meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
11180
+ updateModel: (modelUUID: string, data: Partial<SemanticModelData>, meta?: UpdateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
11181
+ deleteModel: (modelUUID: string) => Promise<void>;
11182
+ listModelChildren: (modelUUID: string, signal?: AbortSignal) => Promise<{
11183
+ objectType: keyof SemanticChildObjectDataMap;
11184
+ objectUUID: string;
11185
+ name: string | undefined;
11186
+ }[]>;
11187
+ listObjects: <T extends SemanticChildObjectType>(objectType: T, modelUUID: string, signal?: AbortSignal) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
11188
+ findObjectsByName: <T extends SemanticChildObjectType>(objectType: T, name: string, modelUUID: string, signal?: AbortSignal) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
11189
+ createObject: <T extends SemanticChildObjectType>(objectType: T, data: SemanticChildObjectDataMap[T], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>>;
11190
+ createObjects: <T extends SemanticChildObjectType>(objectType: T, items: SemanticChildObjectDataMap[T][], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
11191
+ createModelTree: (model: SemanticModelData, children: Partial<{ [T in SemanticChildObjectType]: Omit<SemanticChildObjectDataMap[T], "modelUUID">[]; }>, meta?: CreateSemanticObjectMeta) => Promise<{
11192
+ model: SemanticObject<SemanticModelData>;
11193
+ children: SemanticObject<SemanticDatasetData | SemanticMetricData | SemanticRelationshipData | SemanticGlossaryData | SemanticConstraintData>[];
11194
+ }>;
11195
+ updateObject: <T extends SemanticChildObjectType>(objectType: T, objectUUID: string, data: Partial<SemanticChildObjectDataMap[T]>, meta?: UpdateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>>;
11196
+ deleteObject: (objectType: SemanticChildObjectType, objectUUID: string) => Promise<void>;
9885
11197
  };
9886
11198
  storage: {
9887
11199
  createTable: (bucketId: string, body: CreateTableAsyncBody, options?: {
@@ -10843,7 +12155,6 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
10843
12155
  autoSuspendAfterSeconds?: number;
10844
12156
  autoRestartEnabled?: boolean;
10845
12157
  size?: string | null;
10846
- provisioningStrategy: "jobQueue" | "operator";
10847
12158
  hasManagedGitRepo?: boolean;
10848
12159
  }[]>;
10849
12160
  getApp: (appId: GetDataAppPath["appId"], signal?: AbortSignal) => Promise<{
@@ -10863,7 +12174,6 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
10863
12174
  autoSuspendAfterSeconds?: number;
10864
12175
  autoRestartEnabled?: boolean;
10865
12176
  size?: string | null;
10866
- provisioningStrategy: "jobQueue" | "operator";
10867
12177
  hasManagedGitRepo?: boolean;
10868
12178
  }>;
10869
12179
  createApp: (body: CreateDataAppBody, signal?: AbortSignal) => Promise<{
@@ -10883,7 +12193,6 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
10883
12193
  autoSuspendAfterSeconds?: number;
10884
12194
  autoRestartEnabled?: boolean;
10885
12195
  size?: string | null;
10886
- provisioningStrategy: "jobQueue" | "operator";
10887
12196
  hasManagedGitRepo?: boolean;
10888
12197
  }>;
10889
12198
  patchApp: (appId: PatchDataAppPath["appId"], body: PatchDataAppBody, signal?: AbortSignal) => Promise<{
@@ -10903,7 +12212,6 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
10903
12212
  autoSuspendAfterSeconds?: number;
10904
12213
  autoRestartEnabled?: boolean;
10905
12214
  size?: string | null;
10906
- provisioningStrategy: "jobQueue" | "operator";
10907
12215
  hasManagedGitRepo?: boolean;
10908
12216
  }>;
10909
12217
  deleteApp: (appId: DeleteDataAppPath["appId"], signal?: AbortSignal) => Promise<ApiResponse<never>>;
@@ -10927,7 +12235,6 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
10927
12235
  autoSuspendAfterSeconds?: number;
10928
12236
  autoRestartEnabled?: boolean;
10929
12237
  size?: string | null;
10930
- provisioningStrategy: "jobQueue" | "operator";
10931
12238
  hasManagedGitRepo?: boolean;
10932
12239
  }>;
10933
12240
  getRuntimes: (signal?: AbortSignal) => Promise<{
@@ -11395,42 +12702,242 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
11395
12702
  previousJobId?: string | null;
11396
12703
  onlyOrchestrationTaskIds?: string[] | null;
11397
12704
  }[]>;
11398
- };
11399
- chat: {
11400
- getHistory: (params?: GetHistoryQuery$1) => Promise<{
11401
- chats: components$3["schemas"]["Chat"][];
11402
- hasMore: boolean;
11403
- }>;
11404
- getChat: (chatId: GetChatPath$1["id"], signal?: AbortSignal) => Promise<{
11405
- id: string;
11406
- title: string;
11407
- userId: string;
11408
- createdAt: string;
11409
- lastMessageAt: string;
11410
- visibility: "public" | "private";
11411
- branchId?: number | null;
11412
- contextWindow?: {
11413
- usedTokens: number;
11414
- maxTokens: number;
11415
- percentage: number;
11416
- } | null;
11417
- messages: components$3["schemas"]["Message"][];
11418
- }>;
11419
- deleteChat: (chatId: string) => Promise<{
12705
+ searchAllJobs: (query: SearchAllJobsQuery, signal?: AbortSignal) => Promise<{
11420
12706
  id: string;
11421
- title: string;
11422
- userId: string;
11423
- createdAt: string;
11424
- lastMessageAt: string;
11425
- visibility: "public" | "private";
11426
- branchId?: number | null;
11427
- }>;
11428
- createChat: (request: ChatRequest$1) => Promise<Response>;
11429
- getVotes: (chatId: GetVotesQuery$1["chatId"]) => Promise<{
11430
- chatId: string;
11431
- messageId: string;
11432
- isUpvoted: boolean;
11433
- }[]>;
12707
+ runId: string;
12708
+ branchId?: string;
12709
+ project: {
12710
+ id: string;
12711
+ };
12712
+ token: {
12713
+ id?: string;
12714
+ description?: string;
12715
+ };
12716
+ status: components$2["schemas"]["JobStatus"];
12717
+ desiredStatus?: "processing" | "terminating" | null;
12718
+ component: string;
12719
+ mode: "run" | "debug";
12720
+ tag?: string | null;
12721
+ config?: string | null;
12722
+ configRow?: string | null;
12723
+ configData?: Record<string, never> | null;
12724
+ result?: {
12725
+ images?: {
12726
+ digests?: string[];
12727
+ id?: string;
12728
+ }[];
12729
+ configVersion?: number;
12730
+ message?: string;
12731
+ } | null;
12732
+ createdTime: string;
12733
+ startTime?: string | null;
12734
+ endTime?: string | null;
12735
+ delayedStartTime?: string | null;
12736
+ durationSeconds?: number | null;
12737
+ isFinished: boolean;
12738
+ url: string;
12739
+ variableValuesId?: string | null;
12740
+ variableValuesData?: {
12741
+ values?: {
12742
+ name?: string;
12743
+ value?: string;
12744
+ }[];
12745
+ } | null;
12746
+ backend?: {
12747
+ type?: string;
12748
+ containerType?: string;
12749
+ context?: string;
12750
+ } | null;
12751
+ metrics?: {
12752
+ storage?: {
12753
+ inputTablesBytesSum?: number;
12754
+ outputTablesBytesSum?: number;
12755
+ };
12756
+ backend?: {
12757
+ type?: string;
12758
+ containerType?: string;
12759
+ context?: string;
12760
+ };
12761
+ } | null;
12762
+ type?: components$2["schemas"]["JobType"];
12763
+ orchestrationTaskId?: string | null;
12764
+ previousJobId?: string | null;
12765
+ onlyOrchestrationTaskIds?: string[] | null;
12766
+ }[]>;
12767
+ createJob: (body: CreateJobBody, signal?: AbortSignal) => Promise<{
12768
+ id: string;
12769
+ runId: string;
12770
+ branchId?: string;
12771
+ project: {
12772
+ id: string;
12773
+ };
12774
+ token: {
12775
+ id?: string;
12776
+ description?: string;
12777
+ };
12778
+ status: components$2["schemas"]["JobStatus"];
12779
+ desiredStatus?: "processing" | "terminating" | null;
12780
+ component: string;
12781
+ mode: "run" | "debug";
12782
+ tag?: string | null;
12783
+ config?: string | null;
12784
+ configRow?: string | null;
12785
+ configData?: Record<string, never> | null;
12786
+ result?: {
12787
+ images?: {
12788
+ digests?: string[];
12789
+ id?: string;
12790
+ }[];
12791
+ configVersion?: number;
12792
+ message?: string;
12793
+ } | null;
12794
+ createdTime: string;
12795
+ startTime?: string | null;
12796
+ endTime?: string | null;
12797
+ delayedStartTime?: string | null;
12798
+ durationSeconds?: number | null;
12799
+ isFinished: boolean;
12800
+ url: string;
12801
+ variableValuesId?: string | null;
12802
+ variableValuesData?: {
12803
+ values?: {
12804
+ name?: string;
12805
+ value?: string;
12806
+ }[];
12807
+ } | null;
12808
+ backend?: {
12809
+ type?: string;
12810
+ containerType?: string;
12811
+ context?: string;
12812
+ } | null;
12813
+ metrics?: {
12814
+ storage?: {
12815
+ inputTablesBytesSum?: number;
12816
+ outputTablesBytesSum?: number;
12817
+ };
12818
+ backend?: {
12819
+ type?: string;
12820
+ containerType?: string;
12821
+ context?: string;
12822
+ };
12823
+ } | null;
12824
+ type?: components$2["schemas"]["JobType"];
12825
+ orchestrationTaskId?: string | null;
12826
+ previousJobId?: string | null;
12827
+ onlyOrchestrationTaskIds?: string[] | null;
12828
+ }>;
12829
+ killJob: (jobId: KillJobPath["jobId"], signal?: AbortSignal) => Promise<{
12830
+ id: string;
12831
+ runId: string;
12832
+ branchId?: string;
12833
+ project: {
12834
+ id: string;
12835
+ };
12836
+ token: {
12837
+ id?: string;
12838
+ description?: string;
12839
+ };
12840
+ status: components$2["schemas"]["JobStatus"];
12841
+ desiredStatus?: "processing" | "terminating" | null;
12842
+ component: string;
12843
+ mode: "run" | "debug";
12844
+ tag?: string | null;
12845
+ config?: string | null;
12846
+ configRow?: string | null;
12847
+ configData?: Record<string, never> | null;
12848
+ result?: {
12849
+ images?: {
12850
+ digests?: string[];
12851
+ id?: string;
12852
+ }[];
12853
+ configVersion?: number;
12854
+ message?: string;
12855
+ } | null;
12856
+ createdTime: string;
12857
+ startTime?: string | null;
12858
+ endTime?: string | null;
12859
+ delayedStartTime?: string | null;
12860
+ durationSeconds?: number | null;
12861
+ isFinished: boolean;
12862
+ url: string;
12863
+ variableValuesId?: string | null;
12864
+ variableValuesData?: {
12865
+ values?: {
12866
+ name?: string;
12867
+ value?: string;
12868
+ }[];
12869
+ } | null;
12870
+ backend?: {
12871
+ type?: string;
12872
+ containerType?: string;
12873
+ context?: string;
12874
+ } | null;
12875
+ metrics?: {
12876
+ storage?: {
12877
+ inputTablesBytesSum?: number;
12878
+ outputTablesBytesSum?: number;
12879
+ };
12880
+ backend?: {
12881
+ type?: string;
12882
+ containerType?: string;
12883
+ context?: string;
12884
+ };
12885
+ } | null;
12886
+ type?: components$2["schemas"]["JobType"];
12887
+ orchestrationTaskId?: string | null;
12888
+ previousJobId?: string | null;
12889
+ onlyOrchestrationTaskIds?: string[] | null;
12890
+ }>;
12891
+ searchGroupedJobs: (query: SearchGroupedJobsQuery, signal?: AbortSignal) => Promise<{
12892
+ group?: {
12893
+ [key: string]: string;
12894
+ };
12895
+ jobs?: components$2["schemas"]["Job"][];
12896
+ }[]>;
12897
+ getOrchestrationRerunPlan: (jobId: OrchestrationRerunPlanPath["jobId"], signal?: AbortSignal) => Promise<{
12898
+ jobId?: string;
12899
+ configId?: string | null;
12900
+ matchedTasks?: {
12901
+ taskId?: string;
12902
+ matched?: boolean;
12903
+ jobId?: string | null;
12904
+ componentId?: string | null;
12905
+ configId?: string | null;
12906
+ status?: components$2["schemas"]["JobStatus"] & unknown;
12907
+ }[];
12908
+ }>;
12909
+ };
12910
+ chat: {
12911
+ getHistory: (params?: GetHistoryQuery$1) => Promise<{
12912
+ chats: components$3["schemas"]["Chat"][];
12913
+ hasMore: boolean;
12914
+ }>;
12915
+ getChat: (chatId: GetChatPath$1["id"], signal?: AbortSignal) => Promise<{
12916
+ id: string;
12917
+ title: string;
12918
+ userId: string;
12919
+ createdAt: string;
12920
+ lastMessageAt: string;
12921
+ visibility: "public" | "private";
12922
+ branchId?: number | null;
12923
+ contextWindow?: {
12924
+ usedTokens: number;
12925
+ maxTokens: number;
12926
+ percentage: number;
12927
+ } | null;
12928
+ messages: components$3["schemas"]["Message"][];
12929
+ }>;
12930
+ deleteChat: (chatId: string) => Promise<{
12931
+ id: string;
12932
+ title: string;
12933
+ userId: string;
12934
+ createdAt: string;
12935
+ lastMessageAt: string;
12936
+ visibility: "public" | "private";
12937
+ branchId?: number | null;
12938
+ }>;
12939
+ createChat: (request: ChatRequest$1) => Promise<Response>;
12940
+ getVotes: (chatId: GetVotesQuery$1["chatId"]) => Promise<Vote[]>;
11434
12941
  submitVote: (params: VoteRequest$1) => Promise<void>;
11435
12942
  getUsage: (signal?: AbortSignal) => Promise<UsageResponse$1>;
11436
12943
  getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
@@ -11483,6 +12990,7 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
11483
12990
  rootConfigurationExamples: Record<string, never>[] | null;
11484
12991
  rowConfigurationExamples: Record<string, never>[] | null;
11485
12992
  componentFlags: string[] | null;
12993
+ synchronousActions?: string[] | null;
11486
12994
  }>;
11487
12995
  };
11488
12996
  import: {
@@ -11509,6 +13017,11 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
11509
13017
  lastMessageAt: string;
11510
13018
  visibility: "public" | "private";
11511
13019
  branchId?: number | null;
13020
+ contextWindow?: {
13021
+ usedTokens: number;
13022
+ maxTokens: number;
13023
+ percentage: number;
13024
+ } | null;
11512
13025
  messages: {
11513
13026
  id: string;
11514
13027
  role: "user" | "assistant";
@@ -11636,7 +13149,7 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
11636
13149
  skills: {
11637
13150
  name: string;
11638
13151
  description: string | null;
11639
- source: "first-party" | "vendored" | "project";
13152
+ source: "project" | "first-party" | "vendored";
11640
13153
  }[];
11641
13154
  commands: {
11642
13155
  name: string;
@@ -11663,9 +13176,9 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
11663
13176
  chatStreamUrl: string;
11664
13177
  };
11665
13178
  oauth: {
11666
- getCredentials: (query?: GetCredentialsQuery, signal?: AbortSignal) => Promise<Credential[]>;
11667
- getCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<Credential>;
11668
- createCredential: (componentId: string, body: CreateCredentialBody, signal?: AbortSignal) => Promise<Credential>;
13179
+ getCredentials: (query?: GetCredentialsQuery, signal?: AbortSignal) => Promise<Credential$1[]>;
13180
+ getCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<Credential$1>;
13181
+ createCredential: (componentId: string, body: CreateCredentialBody, signal?: AbortSignal) => Promise<Credential$1>;
11669
13182
  deleteCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<void>;
11670
13183
  };
11671
13184
  scheduler: {
@@ -11735,6 +13248,7 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
11735
13248
  deleteSchedule: (scheduleId: SchedulePath["scheduleId"], signal?: AbortSignal) => Promise<void>;
11736
13249
  refreshScheduleToken: (scheduleId: SchedulePath["scheduleId"], signal?: AbortSignal) => Promise<void>;
11737
13250
  deleteSchedulesForConfiguration: (configurationId: ConfigurationPath$1["configurationId"], signal?: AbortSignal) => Promise<void>;
13251
+ deleteSchedulesForConfigurations: (configurationIds: ConfigurationPath$1["configurationId"][], signal?: AbortSignal) => Promise<void>;
11738
13252
  };
11739
13253
  stream: {
11740
13254
  getSources: (branchId: string, query?: PaginationQuery, signal?: AbortSignal) => Promise<{
@@ -12079,126 +13593,86 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
12079
13593
  };
12080
13594
  notifications: {
12081
13595
  getSubscriptions: (query?: ListSubscriptionsQuery, signal?: AbortSignal) => Promise<({
12082
- id?: components$6["schemas"]["NumericString"];
13596
+ id: components$6["schemas"]["NumericString"];
12083
13597
  } & {
12084
13598
  event: components$6["schemas"]["EventName"];
12085
13599
  expiresAt?: string;
12086
- projectId: string;
12087
13600
  filters?: {
12088
- field?: string;
12089
- value?: string | number | boolean;
13601
+ field: string;
13602
+ value: string | number | boolean;
13603
+ operator?: "==" | ">=";
12090
13604
  }[];
12091
13605
  recipient: components$6["schemas"]["RecipientChannel_Email"] | components$6["schemas"]["RecipientChannel_Webhook"];
12092
13606
  })[]>;
12093
- getSubscription: (subscriptionId: GetSubscriptionPath["subscriptionId"], signal?: AbortSignal) => Promise<{
12094
- id?: components$6["schemas"]["NumericString"];
13607
+ getSubscription: (subscriptionId: SubscriptionId, signal?: AbortSignal) => Promise<{
13608
+ id: components$6["schemas"]["NumericString"];
12095
13609
  } & {
12096
13610
  event: components$6["schemas"]["EventName"];
12097
13611
  expiresAt?: string;
12098
- projectId: string;
12099
13612
  filters?: {
12100
- field?: string;
12101
- value?: string | number | boolean;
13613
+ field: string;
13614
+ value: string | number | boolean;
13615
+ operator?: "==" | ">=";
12102
13616
  }[];
12103
13617
  recipient: components$6["schemas"]["RecipientChannel_Email"] | components$6["schemas"]["RecipientChannel_Webhook"];
12104
13618
  }>;
12105
13619
  createSubscription: (body: CreateSubscriptionBody, signal?: AbortSignal) => Promise<{
12106
- id?: components$6["schemas"]["NumericString"];
13620
+ id: components$6["schemas"]["NumericString"];
12107
13621
  } & {
12108
13622
  event: components$6["schemas"]["EventName"];
12109
13623
  expiresAt?: string;
12110
- projectId: string;
12111
13624
  filters?: {
12112
- field?: string;
12113
- value?: string | number | boolean;
13625
+ field: string;
13626
+ value: string | number | boolean;
13627
+ operator?: "==" | ">=";
12114
13628
  }[];
12115
13629
  recipient: components$6["schemas"]["RecipientChannel_Email"] | components$6["schemas"]["RecipientChannel_Webhook"];
12116
13630
  }>;
12117
- deleteSubscription: (subscriptionId: DeleteSubscriptionPath["subscriptionId"], signal?: AbortSignal) => Promise<void>;
13631
+ createSubscriptions: (bodies: CreateSubscriptionBody[], signal?: AbortSignal) => Promise<({
13632
+ id: components$6["schemas"]["NumericString"];
13633
+ } & {
13634
+ event: components$6["schemas"]["EventName"];
13635
+ expiresAt?: string;
13636
+ filters?: {
13637
+ field: string;
13638
+ value: string | number | boolean;
13639
+ operator?: "==" | ">=";
13640
+ }[];
13641
+ recipient: components$6["schemas"]["RecipientChannel_Email"] | components$6["schemas"]["RecipientChannel_Webhook"];
13642
+ })[]>;
13643
+ deleteSubscription: (subscriptionId: SubscriptionId, signal?: AbortSignal) => Promise<void>;
13644
+ deleteSubscriptions: (subscriptionIds: SubscriptionId[], signal?: AbortSignal) => Promise<void>;
12118
13645
  };
12119
13646
  metastore: {
12120
13647
  healthCheck: (signal?: AbortSignal) => Promise<{
12121
- service?: string;
12122
- status?: string;
12123
- timestamp?: string;
12124
- version?: string;
13648
+ [key: string]: string;
12125
13649
  }>;
12126
13650
  repository: {
12127
- getMetaObjects: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData, TDataOptional>>;
12128
- getMetaObjectRevisions: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectRevisionsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData, TDataOptional>>;
12129
- getMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
12130
- createMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
13651
+ getMetaObjects: <TData extends Record<string, unknown>>(input: GetMetaObjectsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
13652
+ getMetaObjectRevisions: <TData extends Record<string, unknown>>(input: GetMetaObjectRevisionsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
13653
+ getMetaObject: <TData extends Record<string, unknown>>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData>>;
13654
+ createMetaObject: <TData extends Record<string, unknown>>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
12131
13655
  deleteMetaObject: (input: DeleteMetaObjectPath) => Promise<never>;
12132
- updateMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, UUID, data, ...body }: UpdateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
12133
- replaceMetaObject: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>({ objectType, UUID, data, ...body }: ReplaceMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
12134
- getMetaObjectRevision: <TData extends Record<string, unknown>, TDataOptional extends boolean = false>(input: GetMetaObjectRevisionPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData, TDataOptional>>;
13656
+ updateMetaObject: <TData extends Record<string, unknown>>({ objectType, UUID, data, ...body }: UpdateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
13657
+ replaceMetaObject: <TData extends Record<string, unknown>>({ objectType, UUID, data, ...body }: ReplaceMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
13658
+ getMetaObjectRevision: <TData extends Record<string, unknown>>(input: GetMetaObjectRevisionPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData>>;
12135
13659
  deleteMetaObjectRevision: (input: DeleteMetaObjectRevisionPath) => Promise<never>;
12136
13660
  };
12137
13661
  schema: {
12138
13662
  getSchema: (input: GetSchemaPath, signal?: AbortSignal) => Promise<{
12139
- createdAt?: string;
12140
- createdBy?: components$7["schemas"]["models.JSONData"];
12141
- description?: string;
12142
- id?: string;
12143
- isDefault?: boolean;
12144
- objectType?: string;
12145
- schema?: components$7["schemas"]["models.JSONData"];
12146
- updatedAt?: string;
12147
- version?: string;
13663
+ versions?: components$7["schemas"]["models.SchemaInfo"][];
12148
13664
  }>;
12149
13665
  getVersionedSchema: (input: GetVersionedSchemaPath, signal?: AbortSignal) => Promise<{
12150
- createdAt?: string;
12151
- createdBy?: components$7["schemas"]["models.JSONData"];
12152
- description?: string;
12153
- id?: string;
12154
- isDefault?: boolean;
12155
- objectType?: string;
12156
- schema?: components$7["schemas"]["models.JSONData"];
12157
- updatedAt?: string;
12158
- version?: string;
13666
+ [key: string]: unknown;
12159
13667
  }>;
12160
13668
  };
12161
13669
  };
12162
- context: {
12163
- stack: {
12164
- services: Service[];
12165
- features: string[];
12166
- components: StackComponent[];
12167
- hasFeature: (...feature: string[]) => boolean;
12168
- getServiceUrl: (serviceId: ServiceId) => string | null;
12169
- hasService: (serviceId: ServiceId) => boolean;
12170
- getComponent: (componentId: string) => StackComponent | null;
12171
- hasComponent: (...componentId: string[]) => boolean;
12172
- api: string;
12173
- documentation: string;
12174
- host: string;
12175
- revision: string;
12176
- stack: string;
12177
- urlTemplates: {
12178
- orchestrationJob: string;
12179
- };
12180
- version: string;
12181
- };
12182
- defaultBranch: {
12183
- id: number;
12184
- name: string;
12185
- getType: (branchId?: string | number) => "default" | "dev";
12186
- isDev: (branchId?: string | number) => boolean;
12187
- isDefault: (branchId?: string | number) => boolean;
12188
- };
12189
- readonly project: {
12190
- hasFeature: (...feature: string[]) => boolean;
12191
- hasAdminFeature: (...feature: string[]) => boolean;
12192
- hasBackend: (backend: Backend) => boolean;
12193
- sapiToken: StorageToken;
12194
- };
12195
- readonly st: StorageTable;
12196
- serviceMeta: {
12197
- clientName: string;
12198
- serviceId: ServiceId;
12199
- isAvailable: boolean;
12200
- }[];
12201
- };
13670
+ context: ClientContext;
13671
+ serviceMeta: {
13672
+ clientName: string;
13673
+ serviceId: ServiceId;
13674
+ isAvailable: boolean;
13675
+ }[];
12202
13676
  storage: {
12203
13677
  buckets: {
12204
13678
  getBuckets: (branchId: string, query?: GetBucketsQuery, signal?: AbortSignal) => Promise<Bucket[]>;
@@ -13440,7 +14914,7 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
13440
14914
  startTime?: string | null;
13441
14915
  endTime?: string | null;
13442
14916
  runId: string;
13443
- results?: components$8["schemas"]["BucketListingUpdateJobResponse"] | components$8["schemas"]["BucketListingCreateJobResult"] | components$8["schemas"]["BucketListingDeleteResponse"] | components$8["schemas"]["RefreshJobResponse"] | components$8["schemas"]["FileDeleteResponse"] | components$8["schemas"]["TableSnapshotCreateJobResult"] | components$8["schemas"]["TableSwapResult"] | components$8["schemas"]["TableCreateResponse"] | components$8["schemas"]["TableExportJobResponse"];
14917
+ results?: components$8["schemas"]["BucketListingUpdateJobResponse"] | components$8["schemas"]["BucketListingCreateJobResult"] | components$8["schemas"]["BucketListingDeleteResponse"] | components$8["schemas"]["BucketDeleteResponse"] | components$8["schemas"]["RefreshJobResponse"] | components$8["schemas"]["FileDeleteResponse"] | components$8["schemas"]["TableSnapshotCreateJobResult"] | components$8["schemas"]["TableExportAsyncJobResponse"] | components$8["schemas"]["PrimaryKeyDeleteJobResult"] | components$8["schemas"]["TableSwapResult"] | components$8["schemas"]["TableCreateResponse"] | components$8["schemas"]["TableExportJobResponse"];
13444
14918
  creatorToken: {
13445
14919
  id?: string;
13446
14920
  description?: string;
@@ -13489,6 +14963,8 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
13489
14963
  configIds: string[];
13490
14964
  }) => Promise<void>;
13491
14965
  getConfigurations: <T extends ConfigType = "unknown">({ componentId, branchId }: GetConfigurationsPath, signal?: AbortSignal) => Promise<ComponentConfig<T>[]>;
14966
+ restoreConfiguration: ({ branchId, componentId, configId, }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
14967
+ resetConfigurationToDefault: ({ branchId, componentId, configId, }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
13492
14968
  createConfigurationRow: ({ branchId, componentId, configId, ...body }: PartialKey<CreateConfigurationRowInput, "branchId">) => Promise<Row>;
13493
14969
  createConfigurationRows: ({ branchId, componentId, configId, data, }: PartialKey<CreateConfigurationRowsInput, "branchId">, options?: {
13494
14970
  middlewares: MiddlewareFn$1<CreateConfigurationRowBody, Row>[];
@@ -13551,9 +15027,14 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
13551
15027
  })>;
13552
15028
  getConfigurationWorkspaces: ({ componentId, branchId, configId, }: ConfigurationPath) => Promise<Workspace[]>;
13553
15029
  };
15030
+ configurationMetadata: {
15031
+ saveConfigurationMetadata: ({ branchId, componentId, configId, ...body }: SaveConfigurationMetadataInput) => Promise<ConfigurationMetadataItem[]>;
15032
+ };
13554
15033
  configurationVersions: {
13555
- listConfigurationVersions: ({ branchId, componentId, configId }: ConfigurationVersionPath, signal?: AbortSignal) => Promise<ConfigurationVersion[]>;
15034
+ getConfigurationVersions: ({ branchId, componentId, configId }: ConfigurationVersionPath, signal?: AbortSignal) => Promise<ConfigurationVersion[]>;
13556
15035
  getConfigurationVersion: ({ branchId, componentId, configId, versionId }: ConfigurationVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationVersionDetail>;
15036
+ rollbackConfigurationToVersion: ({ branchId, componentId, configId, versionId, }: RollbackConfigurationToVersionInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
15037
+ copyConfigurationFromVersion: ({ branchId, componentId, configId, versionId, ...body }: CopyConfigurationFromVersionInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
13557
15038
  };
13558
15039
  tokens: {
13559
15040
  verify: (signal?: AbortSignal) => Promise<StorageToken>;
@@ -13680,770 +15161,18 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
13680
15161
  };
13681
15162
  getStackInfo: (query?: GetStackInfoQuery, signal?: AbortSignal) => Promise<StackInfo>;
13682
15163
  };
13683
- management: {
13684
- currentUser: {
13685
- getMaintainerInvitations: (signal?: AbortSignal) => Promise<{
13686
- id: number;
13687
- created: string;
13688
- maintainer: {
13689
- id?: number;
13690
- name?: string;
13691
- };
13692
- creator: {
13693
- id?: number;
13694
- name?: string;
13695
- email?: string;
13696
- };
13697
- }[]>;
13698
- getMaintainerInvitation: (id: number, signal?: AbortSignal) => Promise<{
13699
- id: number;
13700
- created: string;
13701
- maintainer: {
13702
- id?: number;
13703
- name?: string;
13704
- };
13705
- creator: {
13706
- id?: number;
13707
- name?: string;
13708
- email?: string;
13709
- };
13710
- }>;
13711
- acceptMaintainerInvitation: (id: number) => Promise<void>;
13712
- rejectMaintainerInvitation: (id: number) => Promise<void>;
13713
- getOrganizationInvitations: (signal?: AbortSignal) => Promise<{
13714
- id: number;
13715
- created: string;
13716
- organization: {
13717
- id?: number;
13718
- name?: string;
13719
- };
13720
- creator: {
13721
- id?: number;
13722
- name?: string;
13723
- email?: string;
13724
- };
13725
- }[]>;
13726
- getOrganizationInvitation: (id: number, signal?: AbortSignal) => Promise<{
13727
- id: number;
13728
- created: string;
13729
- organization: {
13730
- id?: number;
13731
- name?: string;
13732
- };
13733
- creator: {
13734
- id?: number;
13735
- name?: string;
13736
- email?: string;
13737
- };
13738
- }>;
13739
- acceptOrganizationInvitation: (id: number) => Promise<void>;
13740
- rejectOrganizationInvitation: (id: number) => Promise<void>;
13741
- getProjectInvitations: (signal?: AbortSignal) => Promise<{
13742
- id: number;
13743
- created: string;
13744
- expires?: string | null;
13745
- reason?: string | null;
13746
- role?: string | null;
13747
- project: {
13748
- id?: number;
13749
- name?: string;
13750
- };
13751
- creator: {
13752
- id?: number;
13753
- name?: string;
13754
- email?: string;
13755
- };
13756
- }[]>;
13757
- getProjectInvitation: (id: number, signal?: AbortSignal) => Promise<{
13758
- id: number;
13759
- created: string;
13760
- expires?: string | null;
13761
- reason?: string | null;
13762
- role?: string | null;
13763
- project: {
13764
- id?: number;
13765
- name?: string;
13766
- };
13767
- creator: {
13768
- id?: number;
13769
- name?: string;
13770
- email?: string;
13771
- };
13772
- }>;
13773
- acceptProjectInvitation: (id: number) => Promise<void>;
13774
- rejectProjectInvitation: (id: number) => Promise<void>;
13775
- getProjectJoinRequests: (signal?: AbortSignal) => Promise<{
13776
- id: number;
13777
- created: string;
13778
- expires?: string | null;
13779
- reason?: string | null;
13780
- project: {
13781
- id?: number;
13782
- name?: string;
13783
- };
13784
- }[]>;
13785
- deleteProjectJoinRequest: (id: number) => Promise<void>;
13786
- };
13787
- deletedProjects: {
13788
- getDeletedProjects: (query?: DeletedProjectsListQuery, signal?: AbortSignal) => Promise<DeletedProject[]>;
13789
- getDeletedProject: (projectId: number, signal?: AbortSignal) => Promise<DeletedProject>;
13790
- restoreDeletedProject: (projectId: number) => Promise<void>;
13791
- purgeDeletedProject: (projectId: number, ignoreBackendErrors?: boolean) => Promise<DeletedProjectPurgeResult>;
13792
- };
13793
- maintainers: {
13794
- getMaintainers: (signal?: AbortSignal) => Promise<Maintainer[]>;
13795
- getMaintainer: (maintainerId: number, signal?: AbortSignal) => Promise<MaintainerDetail>;
13796
- createMaintainer: (body: CreateMaintainerBody) => Promise<{
13797
- id: number;
13798
- name: string;
13799
- created: string;
13800
- defaultConnectionMysqlId?: number | null;
13801
- defaultConnectionSnowflakeId?: number | null;
13802
- defaultConnectionSynapseId?: number | null;
13803
- defaultConnectionExasolId?: number | null;
13804
- defaultConnectionBigqueryId?: number | null;
13805
- defaultConnectionTeradataId?: number | null;
13806
- defaultFileStorageId?: number | null;
13807
- zendeskUrl?: string | null;
13808
- organizations: {
13809
- id?: number;
13810
- name?: string;
13811
- }[];
13812
- }>;
13813
- updateMaintainer: ({ maintainerId, ...body }: {
13814
- maintainerId: number;
13815
- } & UpdateMaintainerBody) => Promise<{
13816
- id: number;
13817
- name: string;
13818
- created: string;
13819
- defaultConnectionMysqlId?: number | null;
13820
- defaultConnectionSnowflakeId?: number | null;
13821
- defaultConnectionSynapseId?: number | null;
13822
- defaultConnectionExasolId?: number | null;
13823
- defaultConnectionBigqueryId?: number | null;
13824
- defaultConnectionTeradataId?: number | null;
13825
- defaultFileStorageId?: number | null;
13826
- zendeskUrl?: string | null;
13827
- organizations: {
13828
- id?: number;
13829
- name?: string;
13830
- }[];
13831
- }>;
13832
- deleteMaintainer: (maintainerId: number) => Promise<void>;
13833
- getMaintainerUsers: (maintainerId: number, signal?: AbortSignal) => Promise<MaintainerUser[]>;
13834
- addMaintainerUser: ({ maintainerId, ...body }: {
13835
- maintainerId: number;
13836
- } & AddMaintainerUserBody) => Promise<{
13837
- id: number;
13838
- name: string;
13839
- email: string;
13840
- mfaEnabled: boolean;
13841
- features: string[];
13842
- canAccessLogs: boolean;
13843
- isSuperAdmin: boolean;
13844
- }>;
13845
- removeMaintainerUser: ({ maintainerId, adminId, }: {
13846
- maintainerId: number;
13847
- adminId: number;
13848
- }) => Promise<void>;
13849
- getMaintainerInvitations: (maintainerId: number, signal?: AbortSignal) => Promise<{
13850
- id: number;
13851
- created?: string | null;
13852
- user: {
13853
- id?: number;
13854
- name?: string;
13855
- email?: string;
13856
- };
13857
- creator: {
13858
- id?: number;
13859
- name?: string;
13860
- email?: string;
13861
- };
13862
- }[]>;
13863
- getMaintainerInvitation: ({ maintainerId, invitationId }: {
13864
- maintainerId: number;
13865
- invitationId: number;
13866
- }, signal?: AbortSignal) => Promise<{
13867
- id: number;
13868
- created?: string | null;
13869
- user: {
13870
- id?: number;
13871
- name?: string;
13872
- email?: string;
13873
- };
13874
- creator: {
13875
- id?: number;
13876
- name?: string;
13877
- email?: string;
13878
- };
13879
- }>;
13880
- createMaintainerInvitation: ({ maintainerId, ...body }: {
13881
- maintainerId: number;
13882
- } & CreateMaintainerInvitationBody) => Promise<{
13883
- id: number;
13884
- created?: string | null;
13885
- user: {
13886
- id?: number;
13887
- name?: string;
13888
- email?: string;
13889
- };
13890
- creator: {
13891
- id?: number;
13892
- name?: string;
13893
- email?: string;
13894
- };
13895
- }>;
13896
- deleteMaintainerInvitation: ({ maintainerId, invitationId, }: {
13897
- maintainerId: number;
13898
- invitationId: number;
13899
- }) => Promise<void>;
13900
- createMaintainerOrganization: ({ maintainerId, ...body }: {
13901
- maintainerId: number;
13902
- } & CreateMaintainerOrganizationBody) => Promise<{
13903
- id: number;
13904
- name: string;
13905
- created: string;
13906
- allowAutoJoin: boolean;
13907
- crmId?: string | null;
13908
- activityCenterProjectId?: number | null;
13909
- mfaRequired: boolean;
13910
- }>;
13911
- getMaintainerMetadata: (maintainerId: number, signal?: AbortSignal) => Promise<MetadataItem[]>;
13912
- setMaintainerMetadata: ({ maintainerId, ...body }: {
13913
- maintainerId: number;
13914
- } & SetMaintainerMetadataBody) => Promise<MetadataItem[]>;
13915
- deleteMaintainerMetadata: ({ maintainerId, metadataId, }: {
13916
- maintainerId: number;
13917
- metadataId: number;
13918
- }) => Promise<void>;
13919
- };
13920
- organizations: {
13921
- getOrganizations: (signal?: AbortSignal) => Promise<{
13922
- id: number;
13923
- name: string;
13924
- created: string;
13925
- allowAutoJoin: boolean;
13926
- crmId: string;
13927
- activityCenterProjectId?: number | null;
13928
- mfaRequired: boolean;
13929
- maintainer: {
13930
- id?: number;
13931
- name?: string;
13932
- created?: string;
13933
- defaultConnectionMysqlId?: number | null;
13934
- defaultConnectionSnowflakeId?: number | null;
13935
- defaultConnectionSynapseId?: number | null;
13936
- defaultConnectionExasolId?: number | null;
13937
- defaultConnectionBigqueryId?: number | null;
13938
- defaultConnectionTeradataId?: number | null;
13939
- defaultFileStorageId?: number | null;
13940
- zendeskUrl?: string | null;
13941
- };
13942
- }[]>;
13943
- getOrganization: (organizationId: number, signal?: AbortSignal) => Promise<OrganizationDetail>;
13944
- updateOrganization: ({ organizationId, ...body }: {
13945
- organizationId: number;
13946
- } & UpdateOrganizationBody) => Promise<{
13947
- id: number;
13948
- name: string;
13949
- created: string;
13950
- allowAutoJoin: boolean;
13951
- crmId?: string | null;
13952
- activityCenterProjectId?: number | null;
13953
- mfaRequired: boolean;
13954
- } & {
13955
- projects: {
13956
- id: number;
13957
- name: string;
13958
- created: string;
13959
- }[];
13960
- }>;
13961
- deleteOrganization: (organizationId: number) => Promise<void>;
13962
- forceMfa: (organizationId: number) => Promise<{
13963
- id: number;
13964
- name: string;
13965
- created: string;
13966
- allowAutoJoin: boolean;
13967
- crmId?: string | null;
13968
- activityCenterProjectId?: number | null;
13969
- mfaRequired: boolean;
13970
- } & {
13971
- projects: {
13972
- id: number;
13973
- name: string;
13974
- created: string;
13975
- }[];
13976
- }>;
13977
- joinOrganization: (organizationId: number) => Promise<void>;
13978
- getOrganizationUsers: (organizationId: number, signal?: AbortSignal) => Promise<{
13979
- id: number;
13980
- name: string;
13981
- email: string;
13982
- mfaEnabled: boolean;
13983
- features: string[];
13984
- canAccessLogs: boolean;
13985
- isSuperAdmin: boolean;
13986
- }[]>;
13987
- addOrganizationUser: ({ organizationId, ...body }: {
13988
- organizationId: number;
13989
- } & AddOrganizationUserBody) => Promise<{
13990
- id: number;
13991
- name: string;
13992
- email: string;
13993
- mfaEnabled: boolean;
13994
- features: string[];
13995
- canAccessLogs: boolean;
13996
- isSuperAdmin: boolean;
13997
- }>;
13998
- removeOrganizationUser: ({ organizationId, userId, }: {
13999
- organizationId: number;
14000
- userId: number;
14001
- }) => Promise<void>;
14002
- getOrganizationProjectsUsers: (organizationId: number, signal?: AbortSignal) => Promise<{
14003
- id: number;
14004
- name: string;
14005
- email: string;
14006
- mfaEnabled: boolean;
14007
- features: string[];
14008
- canAccessLogs: boolean;
14009
- isSuperAdmin: boolean;
14010
- }[]>;
14011
- getOrganizationInvitations: (organizationId: number, signal?: AbortSignal) => Promise<{
14012
- id: number;
14013
- created?: string | null;
14014
- user: {
14015
- id?: number;
14016
- name?: string;
14017
- email?: string;
14018
- };
14019
- creator: {
14020
- id?: number;
14021
- name?: string;
14022
- email?: string;
14023
- };
14024
- }[]>;
14025
- getOrganizationInvitation: ({ organizationId, invitationId }: {
14026
- organizationId: number;
14027
- invitationId: number;
14028
- }, signal?: AbortSignal) => Promise<{
14029
- id: number;
14030
- created?: string | null;
14031
- user: {
14032
- id?: number;
14033
- name?: string;
14034
- email?: string;
14035
- };
14036
- creator: {
14037
- id?: number;
14038
- name?: string;
14039
- email?: string;
14040
- };
14041
- }>;
14042
- createOrganizationInvitation: ({ organizationId, ...body }: {
14043
- organizationId: number;
14044
- } & CreateOrganizationInvitationBody) => Promise<{
14045
- id: number;
14046
- created?: string | null;
14047
- user: {
14048
- id?: number;
14049
- name?: string;
14050
- email?: string;
14051
- };
14052
- creator: {
14053
- id?: number;
14054
- name?: string;
14055
- email?: string;
14056
- };
14057
- }>;
14058
- deleteOrganizationInvitation: ({ organizationId, invitationId, }: {
14059
- organizationId: number;
14060
- invitationId: number;
14061
- }) => Promise<void>;
14062
- getOrganizationProjects: (organizationId: number, signal?: AbortSignal) => Promise<Project[]>;
14063
- createOrganizationProject: ({ organizationId, ...body }: {
14064
- organizationId: number;
14065
- } & CreateOrganizationProjectBody) => Promise<{
14066
- id: number;
14067
- name: string;
14068
- type: string;
14069
- region: string;
14070
- created?: string | null;
14071
- expires?: string | null;
14072
- features: string[];
14073
- dataSizeBytes: number;
14074
- rowsCount: number;
14075
- hasMysql: boolean;
14076
- hasSynapse: boolean;
14077
- hasSnowflake: boolean;
14078
- hasExasol: boolean;
14079
- hasTeradata: boolean;
14080
- hasBigquery: boolean;
14081
- defaultBackend: string;
14082
- hasTryModeOn: string;
14083
- limits: {
14084
- [key: string]: {
14085
- name?: string;
14086
- value?: number;
14087
- };
14088
- };
14089
- metrics: {
14090
- [key: string]: {
14091
- name?: string;
14092
- value?: number;
14093
- };
14094
- };
14095
- isDisabled: boolean;
14096
- billedMonthlyPrice?: number | null;
14097
- dataRetentionTimeInDays: number;
14098
- isBYODB: boolean;
14099
- assignedBackends: string[];
14100
- fileStorageProvider?: string | null;
14101
- payAsYouGo?: {
14102
- purchasedCredits?: number;
14103
- } | null;
14104
- disabled?: {
14105
- reason?: string;
14106
- estimatedEndTime?: string | null;
14107
- } | null;
14108
- } & {
14109
- fileStorage?: Record<string, never>;
14110
- backends?: Record<string, never>;
14111
- }>;
14112
- getOrganizationMetadata: (organizationId: number, signal?: AbortSignal) => Promise<MetadataItem[]>;
14113
- setOrganizationMetadata: ({ organizationId, ...body }: {
14114
- organizationId: number;
14115
- } & SetOrganizationMetadataBody) => Promise<MetadataItem[]>;
14116
- deleteOrganizationMetadata: ({ organizationId, metadataId, }: {
14117
- organizationId: number;
14118
- metadataId: number;
14119
- }) => Promise<void>;
14120
- };
14121
- features: {
14122
- getAllFeatures: (query: GetAllFeaturesQuery, signal?: AbortSignal) => Promise<Feature[]>;
14123
- getFeature: (featureId: number, signal?: AbortSignal) => Promise<Feature>;
14124
- getFeatureProjects: (featureId: number, signal?: AbortSignal) => Promise<FeatureProject[]>;
14125
- getFeatureAdmins: (featureId: number, signal?: AbortSignal) => Promise<FeatureAdmin[]>;
14126
- };
14127
- projects: {
14128
- getProject: (projectId: GetProjectPath["projectId"], signal?: AbortSignal) => Promise<Project>;
14129
- addProjectFeature: ({ projectId, feature, }: CreateProjectFeaturePath & CreateProjectFeatureBody) => Promise<Project>;
14130
- removeProjectFeature: (path: RemoveProjectFeaturePath) => Promise<null>;
14131
- changeProjectUserRole: ({ projectId, userId, role, }: {
14132
- projectId: number;
14133
- userId: number;
14134
- role: User["role"];
14135
- }) => Promise<User>;
14136
- getProjectUsers: (projectId: ListProjectUsersPath["projectId"], signal?: AbortSignal) => Promise<User[]>;
14137
- getProjectInvitations: (projectId: ListProjectInvitationsPath["projectId"], signal?: AbortSignal) => Promise<{
14138
- id: number;
14139
- created?: string | null;
14140
- expires?: string | null;
14141
- reason?: string | null;
14142
- role?: string | null;
14143
- user: {
14144
- id?: number;
14145
- name?: string;
14146
- email?: string;
14147
- };
14148
- creator: {
14149
- id?: number;
14150
- name?: string;
14151
- email?: string;
14152
- };
14153
- }[]>;
14154
- createProjectInvitation: ({ projectId, ...body }: CreateProjectInvitationPath & CreateProjectInvitationBody) => Promise<{
14155
- id: number;
14156
- created?: string | null;
14157
- expires?: string | null;
14158
- reason?: string | null;
14159
- role?: string | null;
14160
- user: {
14161
- id?: number;
14162
- name?: string;
14163
- email?: string;
14164
- };
14165
- creator: {
14166
- id?: number;
14167
- name?: string;
14168
- email?: string;
14169
- };
14170
- }>;
14171
- deleteProjectInvitation: ({ projectId, invitationId, }: DeleteProjectInvitationPath) => Promise<null>;
14172
- addProjectUser: ({ projectId, ...body }: AddProjectUserPath & AddProjectUserBody) => Promise<User>;
14173
- removeProjectUser: ({ projectId, idOrEmail }: RemoveProjectUserPath) => Promise<null>;
14174
- getProjectMetadata: (projectId: GetProjectMetadataPath["projectId"], signal?: AbortSignal) => Promise<ProjectMetadataItem[]>;
14175
- setProjectMetadata: ({ projectId, provider, metadata, }: SetProjectMetadataPath & SetProjectMetadataBody) => Promise<ProjectMetadataItem[]>;
14176
- getProjectReviewers: (projectId: GetProjectReviewersPath["projectId"], signal?: AbortSignal) => Promise<Reviewer[]>;
14177
- setProjectReviewers: ({ projectId, adminIds, }: SetProjectReviewersPath & SetProjectReviewersBody) => Promise<void>;
14178
- updateProject: ({ projectId, ...body }: {
14179
- projectId: number;
14180
- } & UpdateProjectBody) => Promise<Project>;
14181
- deleteProject: (projectId: number) => Promise<null>;
14182
- moveProject: ({ projectId, organizationId, }: {
14183
- projectId: number;
14184
- } & MoveProjectBody) => Promise<Project>;
14185
- setProjectDisabled: ({ projectId, ...body }: {
14186
- projectId: number;
14187
- } & SetProjectDisabledBody) => Promise<Project>;
14188
- };
14189
- storageBackends: {
14190
- getStorageBackend: (id: number, signal?: AbortSignal) => Promise<{
14191
- id: number;
14192
- host?: string | null;
14193
- backend: string;
14194
- region: string;
14195
- owner: string;
14196
- technicalOwner: string;
14197
- username?: string | null;
14198
- stats: {
14199
- projectsCount?: number;
14200
- bucketsCount?: number;
14201
- dataSizeGB?: number;
14202
- rowsCount?: number;
14203
- };
14204
- created: string;
14205
- creator: {
14206
- id?: number | null;
14207
- name?: string | null;
14208
- };
14209
- warehouse?: string | null;
14210
- database?: string | null;
14211
- useSynapseManagedIdentity?: boolean | null;
14212
- saml2Configuration?: {
14213
- idpEntityId?: string;
14214
- spEntityId?: string;
14215
- spAcsUrl?: string;
14216
- publicKey?: string;
14217
- } | null;
14218
- useDynamicBackends: boolean;
14219
- useSso?: boolean | null;
14220
- isSsoEnabled?: boolean | null;
14221
- isSsoConfigured?: boolean | null;
14222
- technicalOwnerContactEmails: string[];
14223
- }>;
14224
- };
14225
- users: {
14226
- addUserAdminFeature: ({ feature, userIdOrMail }: AddUserFeatureBody & AddUserFeaturePath, signal?: AbortSignal) => Promise<User>;
14227
- removeUserAdminFeature: ({ userIdOrMail, feature }: RemoveUserFeaturePath, signal?: AbortSignal) => Promise<User>;
14228
- };
14229
- verifyToken: (signal?: AbortSignal) => Promise<{
14230
- id: number;
14231
- description: string;
14232
- created: string;
14233
- lastUsed: string | null;
14234
- expires: string | null;
14235
- isSessionToken: boolean;
14236
- isExpired: boolean;
14237
- isDisabled: boolean;
14238
- scopes: string[];
14239
- type: string;
14240
- creator: {
14241
- id: number;
14242
- name: string;
14243
- };
14244
- user?: {
14245
- id: number;
14246
- name: string;
14247
- email: string;
14248
- mfaEnabled: boolean;
14249
- features: string[];
14250
- canAccessLogs: boolean;
14251
- isSuperAdmin: boolean;
14252
- } | null;
14253
- }>;
14254
- };
14255
- auth: {
14256
- login: {
14257
- withPassword: (input: LoginInput, signal?: AbortSignal) => Promise<{
14258
- mfaRequired: false;
14259
- accessToken: string;
14260
- refreshToken: string;
14261
- tokenType: string;
14262
- expiresIn: number;
14263
- sessionId: string;
14264
- user: {
14265
- id: number;
14266
- email: string;
14267
- name: string;
14268
- };
14269
- } | {
14270
- mfaRequired: true;
14271
- mfaType: string;
14272
- mfaToken: string;
14273
- expiresIn: number;
14274
- allowedMethods: string[];
14275
- webauthn: Record<string, unknown> | null;
14276
- }>;
14277
- withOidc: (input: OidcInput, signal?: AbortSignal) => Promise<{
14278
- mfaRequired: false;
14279
- accessToken: string;
14280
- refreshToken: string;
14281
- tokenType: string;
14282
- expiresIn: number;
14283
- sessionId: string;
14284
- user: {
14285
- id: number;
14286
- email: string;
14287
- name: string;
14288
- };
14289
- } | {
14290
- mfaRequired: true;
14291
- mfaType: string;
14292
- mfaToken: string;
14293
- expiresIn: number;
14294
- allowedMethods: string[];
14295
- webauthn: Record<string, unknown> | null;
14296
- }>;
14297
- };
14298
- mfa: {
14299
- verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
14300
- accessToken: string;
14301
- refreshToken: string;
14302
- tokenType: string;
14303
- expiresIn: number;
14304
- sessionId: string;
14305
- user: components$9["schemas"]["UserLoggedInResponse"];
14306
- }>;
14307
- verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
14308
- accessToken: string;
14309
- refreshToken: string;
14310
- tokenType: string;
14311
- expiresIn: number;
14312
- sessionId: string;
14313
- user: components$9["schemas"]["UserLoggedInResponse"];
14314
- }>;
14315
- regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
14316
- codes: string[];
14317
- }>;
14318
- };
14319
- saml: {
14320
- assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
14321
- accessToken: string;
14322
- refreshToken: string;
14323
- tokenType: string;
14324
- expiresIn: number;
14325
- sessionId: string;
14326
- user: components$9["schemas"]["UserLoggedInResponse"];
14327
- } | {
14328
- mfaRequired: boolean;
14329
- mfaType: string;
14330
- mfaToken: string;
14331
- expiresIn: number;
14332
- allowedMethods: string[];
14333
- webauthn: Record<string, never> | null;
14334
- }>;
14335
- initiate: (body?: InitiateSamlBody, signal?: AbortSignal) => Promise<{
14336
- ssoUrl: string;
14337
- requestHandle: string;
14338
- expiresIn: number;
14339
- }>;
14340
- };
14341
- pat: {
14342
- create: (body: CreatePatBody, signal?: AbortSignal) => Promise<{
14343
- accessToken: string;
14344
- tokenType: string;
14345
- expiresIn: number;
14346
- pat: components$9["schemas"]["PatItemResponse"];
14347
- }>;
14348
- exchange: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
14349
- accessToken: string;
14350
- tokenType: string;
14351
- expiresIn: number;
14352
- scope: Record<string, never>;
14353
- readOnly: boolean;
14354
- parentTokenId: string;
14355
- parentTokenType: "session" | "pat";
14356
- expiresAt: string;
14357
- pat: components$9["schemas"]["PatItemResponse"];
14358
- }>;
14359
- revoke: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
14360
- getAll: (signal?: AbortSignal) => Promise<{
14361
- items: components$9["schemas"]["PatItemResponse"][];
14362
- }>;
14363
- };
14364
- device: {
14365
- create: (body: CreateDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
14366
- deviceCode: string;
14367
- userCode: string;
14368
- verificationUri: string;
14369
- verificationUriComplete: string;
14370
- expiresIn: number;
14371
- interval: number;
14372
- }>;
14373
- approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
14374
- status: "approved" | "denied";
14375
- idempotent: boolean;
14376
- decision: components$9["schemas"]["DeviceApprovalDecision"];
14377
- }>;
14378
- getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
14379
- accessToken: string;
14380
- refreshToken: string;
14381
- tokenType: string;
14382
- expiresIn: number;
14383
- sessionId: string;
14384
- user: components$9["schemas"]["UserLoggedInResponse"];
14385
- }>;
14386
- };
14387
- sudo: {
14388
- verify: (body: SudoBody, signal?: AbortSignal) => Promise<{
14389
- sudoVerified: boolean;
14390
- sudoExpiresAt: string;
14391
- sudoTimeoutSeconds: number;
14392
- }>;
14393
- challenge: (signal?: AbortSignal) => Promise<{
14394
- challengeToken: string;
14395
- options: Record<string, never>;
14396
- expiresIn: number;
14397
- }>;
14398
- };
14399
- pkce: {
14400
- getToken: (body: GetPkceTokenBody, signal?: AbortSignal) => Promise<{
14401
- accessToken: string;
14402
- refreshToken: string;
14403
- tokenType: string;
14404
- expiresIn: number;
14405
- sessionId: string;
14406
- user: components$9["schemas"]["UserLoggedInResponse"];
14407
- }>;
14408
- };
14409
- session: {
14410
- getAll: (signal?: AbortSignal) => Promise<{
14411
- sessions?: components$9["schemas"]["SessionItemResponse"][];
14412
- }>;
14413
- revoke: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
14414
- revokeAll: (signal?: AbortSignal) => Promise<void>;
14415
- };
14416
- token: {
14417
- refresh: (refreshToken: string, signal?: AbortSignal) => Promise<{
14418
- accessToken: string;
14419
- refreshToken: string;
14420
- tokenType: string;
14421
- expiresIn: number;
14422
- sessionId: string;
14423
- user: components$9["schemas"]["UserLoggedInResponse"];
14424
- }>;
14425
- introspect: (token?: string, signal?: AbortSignal) => Promise<{
14426
- sessionId: string;
14427
- user: components$9["schemas"]["UserLoggedInResponse"];
14428
- grantType: string;
14429
- sudoVerified: boolean;
14430
- createdAt: string;
14431
- expiresAt: string;
14432
- lastUsedAt?: string | null;
14433
- lastUsedIp?: string | null;
14434
- userAgent?: string | null;
14435
- projects: components$9["schemas"]["ProjectAccessItem"][];
14436
- }>;
14437
- revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
14438
- };
14439
- };
14440
15164
  }>;
14441
- type Clients = Awaited<ReturnType<typeof createClients>>;
14442
- type ClientContext = Clients['context'];
14443
- type ApiClient = {
14444
- init: (options: ApiClientOptions) => Promise<void>;
14445
- } & Clients;
14446
- declare const createApiClient: () => ApiClient;
15165
+
15166
+ type ProjectClients = Awaited<ReturnType<typeof createProjectClients>>;
15167
+ type KeboolaApi = ProjectClients & {
15168
+ auth: ReturnType<typeof createAuthClient>;
15169
+ management: ReturnType<typeof createManagementClient>;
15170
+ };
15171
+
15172
+ /** The bearer (OAuth) session surface, derived from the factory's return. */
15173
+ type BearerSession = ReturnType<typeof createKeboola>['session'];
15174
+ /** The legacy (SAPI) session surface, derived from the factory's return. */
15175
+ type LegacySession = ReturnType<typeof createLegacyKeboola>['session'];
14447
15176
 
14448
15177
  type RequestLog = {
14449
15178
  url: string;
@@ -14493,4 +15222,4 @@ declare const KeboolaHttpHeader: {
14493
15222
  readonly PROJECT_ID: "X-KBC-ProjectId";
14494
15223
  };
14495
15224
 
14496
- export { type ApiClient, type ApiClientOptions, type ClientContext, ConcurrentOptions, HttpContentType, HttpHeader, KeboolaHttpHeader, KeboolaObjectId, type Log, type LogLevel, type Logger, type LoggingOptions, MiddlewareFn, PollException, type ReadableStore, type RequestLog, type ResponseLog, type RetryOptions, type Store, assert, coalesce, createApiClient, createDerivedStore, createLiveProject, createLoggingMiddleware, createRetryMiddleware, createStore, deepMerge, delay, generateUUID, isEmptyDeep, isPlainObject, isStorageTokenMutatingRequest, poll, schemaGuidedMerge, series, shallowEqual };
15225
+ export { type AsyncState, type BearerSession, type ClientContext, type CollectOptions, ConcurrentOptions, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, type LegacySession, type Log, type LogLevel, type Logger, type LoggingOptions, MiddlewareFn, type Persistor, PollException, type ReadableStore, type RequestLog, type ResponseLog, type RetryOptions, type StorageAdapter, type Store, type TaskFn, assert, coalesce, collect, createDerivedAsyncStore, createDerivedStore, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createRetryMiddleware, createSessionStorage, createStore, dedupe, deepMerge, delay, generateUUID, isEmptyDeep, isKeboolaError, isPlainObject, isStorageTokenMutatingRequest, poll, schemaGuidedMerge, series, shallowEqual };