@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
@@ -4,6 +4,38 @@
4
4
  */
5
5
 
6
6
  type paths = {
7
+ '/manage/users': {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ /**
15
+ * List users
16
+ * @description Returns all users (admins), each with their assigned features, MFA/super-admin state, and
17
+ * membership counts (organizations, projects, maintainers).
18
+ *
19
+ * Listing is allowed only for a super admin or a user with feature `can-manage-users`.
20
+ *
21
+ * #### Filtering
22
+ *
23
+ * * *q* - fulltext filter matched against the user name or email
24
+ *
25
+ * #### Pagination
26
+ *
27
+ * * *limit* - number of returned users; default value: 20
28
+ * * *offset* - pagination offset
29
+ */
30
+ get: operations['get_/manage/users::UserListAction'];
31
+ put?: never;
32
+ post?: never;
33
+ delete?: never;
34
+ options?: never;
35
+ head?: never;
36
+ patch?: never;
37
+ trace?: never;
38
+ };
7
39
  '/manage/commands': {
8
40
  parameters: {
9
41
  query?: never;
@@ -615,6 +647,26 @@ type paths = {
615
647
  patch?: never;
616
648
  trace?: never;
617
649
  };
650
+ '/manage/internal/auth-bridge/exchange-oauth-token': {
651
+ parameters: {
652
+ query?: never;
653
+ header?: never;
654
+ path?: never;
655
+ cookie?: never;
656
+ };
657
+ get?: never;
658
+ put?: never;
659
+ /**
660
+ * Exchange a league OAuth token for a programmatic session (auth bridge)
661
+ * @description Validates a league OAuth `claudai` subject token and exchanges it for a project-pinned, Manage-less programmatic session. Used by the hosted Keboola MCP server via its Kubernetes-authenticated auth-bridge proxy.
662
+ */
663
+ post: operations['post_/manage/internal/auth-bridge/exchange-oauth-token::AuthBridgeOAuthExchangeAction'];
664
+ delete?: never;
665
+ options?: never;
666
+ head?: never;
667
+ patch?: never;
668
+ trace?: never;
669
+ };
618
670
  '/manage/internal/auth-bridge/resolve-storage-token': {
619
671
  parameters: {
620
672
  query?: never;
@@ -1868,7 +1920,7 @@ type paths = {
1868
1920
  put?: never;
1869
1921
  /**
1870
1922
  * Set project limits
1871
- * @description Changing project limits is allowed only for a super admin.
1923
+ * @description Super admins may set any project limit. Admins with the "can-manage-project-limits" feature may set only a whitelisted subset of limits.
1872
1924
  */
1873
1925
  post: operations['post_/manage/projects/{projectId}/limits::ProjectSetLimitsAction'];
1874
1926
  delete?: never;
@@ -1993,31 +2045,6 @@ type paths = {
1993
2045
  patch?: never;
1994
2046
  trace?: never;
1995
2047
  };
1996
- '/manage/storage-backend': {
1997
- parameters: {
1998
- query?: never;
1999
- header?: never;
2000
- path?: never;
2001
- cookie?: never;
2002
- };
2003
- /**
2004
- * List backends
2005
- * @description Returns the list of registered storage backends (Snowflake, BigQuery).
2006
- */
2007
- get: operations['get_/manage/storage-backend::StorageBackendListAction'];
2008
- put?: never;
2009
- /**
2010
- * Create storage backend credentials
2011
- * @deprecated
2012
- * @description **Deprecated.** Generic storage-backend create endpoint. Use the backend-specific endpoints instead — `POST /manage/storage-backend/snowflake` or `POST /manage/storage-backend/bigquery`.
2013
- */
2014
- post: operations['post_/manage/storage-backend::StorageBackendCreateAction'];
2015
- delete?: never;
2016
- options?: never;
2017
- head?: never;
2018
- patch?: never;
2019
- trace?: never;
2020
- };
2021
2048
  '/manage/storage-backend/bigquery': {
2022
2049
  parameters: {
2023
2050
  query?: never;
@@ -2069,6 +2096,66 @@ type paths = {
2069
2096
  patch: operations['patch_/manage/storage-backend/{id}::StorageBackendUpdateAction'];
2070
2097
  trace?: never;
2071
2098
  };
2099
+ '/manage/storage-backend': {
2100
+ parameters: {
2101
+ query?: never;
2102
+ header?: never;
2103
+ path?: never;
2104
+ cookie?: never;
2105
+ };
2106
+ /**
2107
+ * List backends
2108
+ * @description Returns the list of registered storage backends (Snowflake, BigQuery).
2109
+ */
2110
+ get: operations['get_/manage/storage-backend::StorageBackendListAction'];
2111
+ put?: never;
2112
+ post?: never;
2113
+ delete?: never;
2114
+ options?: never;
2115
+ head?: never;
2116
+ patch?: never;
2117
+ trace?: never;
2118
+ };
2119
+ '/manage/storage-backend/{id}/maintainers': {
2120
+ parameters: {
2121
+ query?: never;
2122
+ header?: never;
2123
+ path?: never;
2124
+ cookie?: never;
2125
+ };
2126
+ /**
2127
+ * List backend maintainers
2128
+ * @description Returns the maintainers that have the storage backend identified by its numeric ID configured as one of their default backend connections.
2129
+ */
2130
+ get: operations['get_/manage/storage-backend/{id}/maintainers::StorageBackendMaintainerListAction'];
2131
+ put?: never;
2132
+ post?: never;
2133
+ delete?: never;
2134
+ options?: never;
2135
+ head?: never;
2136
+ patch?: never;
2137
+ trace?: never;
2138
+ };
2139
+ '/manage/storage-backend/{id}/projects': {
2140
+ parameters: {
2141
+ query?: never;
2142
+ header?: never;
2143
+ path?: never;
2144
+ cookie?: never;
2145
+ };
2146
+ /**
2147
+ * List backend projects
2148
+ * @description Returns the projects assigned to the storage backend identified by its numeric ID. Synapse-assigned projects are not counted (deprecated backend, intentionally excluded).
2149
+ */
2150
+ get: operations['get_/manage/storage-backend/{id}/projects::StorageBackendProjectListAction'];
2151
+ put?: never;
2152
+ post?: never;
2153
+ delete?: never;
2154
+ options?: never;
2155
+ head?: never;
2156
+ patch?: never;
2157
+ trace?: never;
2158
+ };
2072
2159
  '/manage/storage-backend/{id}/bigquery': {
2073
2160
  parameters: {
2074
2161
  query?: never;
@@ -2274,6 +2361,50 @@ type paths = {
2274
2361
  patch?: never;
2275
2362
  trace?: never;
2276
2363
  };
2364
+ '/manage/users/{id}/super-admin': {
2365
+ parameters: {
2366
+ query?: never;
2367
+ header?: never;
2368
+ path?: never;
2369
+ cookie?: never;
2370
+ };
2371
+ get?: never;
2372
+ put?: never;
2373
+ /**
2374
+ * Grant super admin privilege to User
2375
+ * @description Grants super admin privileges to the specified user. Requires the target user to already have
2376
+ * multi-factor authentication enabled — there is no way to override this precondition over the API
2377
+ * (use the `manage:user:set-super-admin --force-no-mfa` CLI command instead).
2378
+ *
2379
+ * Only a super admin may grant this privilege; having the `can-manage-users` feature is not enough.
2380
+ */
2381
+ post: operations['post_/manage/users/{id}/super-admin::UserGrantSuperAdminAction'];
2382
+ delete?: never;
2383
+ options?: never;
2384
+ head?: never;
2385
+ patch?: never;
2386
+ trace?: never;
2387
+ };
2388
+ '/manage/users/{id}/maintainers': {
2389
+ parameters: {
2390
+ query?: never;
2391
+ header?: never;
2392
+ path?: never;
2393
+ cookie?: never;
2394
+ };
2395
+ /**
2396
+ * List user's maintainers
2397
+ * @description Returns the maintainers the user is a member of.
2398
+ */
2399
+ get: operations['get_/manage/users/{id}/maintainers::UserListMaintainersAction'];
2400
+ put?: never;
2401
+ post?: never;
2402
+ delete?: never;
2403
+ options?: never;
2404
+ head?: never;
2405
+ patch?: never;
2406
+ trace?: never;
2407
+ };
2277
2408
  '/manage/users/{idOrEmail}/metadata': {
2278
2409
  parameters: {
2279
2410
  query?: never;
@@ -2305,6 +2436,46 @@ type paths = {
2305
2436
  patch?: never;
2306
2437
  trace?: never;
2307
2438
  };
2439
+ '/manage/users/{id}/organizations': {
2440
+ parameters: {
2441
+ query?: never;
2442
+ header?: never;
2443
+ path?: never;
2444
+ cookie?: never;
2445
+ };
2446
+ /**
2447
+ * List user's organizations
2448
+ * @description Returns the organizations the user is a member of, each with the membership creation date, who invited the user (if known), and the organization's maintainer.
2449
+ */
2450
+ get: operations['get_/manage/users/{id}/organizations::UserListOrganizationsAction'];
2451
+ put?: never;
2452
+ post?: never;
2453
+ delete?: never;
2454
+ options?: never;
2455
+ head?: never;
2456
+ patch?: never;
2457
+ trace?: never;
2458
+ };
2459
+ '/manage/users/{id}/projects': {
2460
+ parameters: {
2461
+ query?: never;
2462
+ header?: never;
2463
+ path?: never;
2464
+ cookie?: never;
2465
+ };
2466
+ /**
2467
+ * List user's projects
2468
+ * @description Returns the projects the user is a member of, including role, membership status, expiration, creation date, reason, and who invited the user (if known).
2469
+ */
2470
+ get: operations['get_/manage/users/{id}/projects::UserListProjectsAction'];
2471
+ put?: never;
2472
+ post?: never;
2473
+ delete?: never;
2474
+ options?: never;
2475
+ head?: never;
2476
+ patch?: never;
2477
+ trace?: never;
2478
+ };
2308
2479
  '/manage/users/{idOrEmail}/features/{featureName}': {
2309
2480
  parameters: {
2310
2481
  query?: never;
@@ -2372,6 +2543,14 @@ type paths = {
2372
2543
  };
2373
2544
  type components = {
2374
2545
  schemas: {
2546
+ UserListRequest: {
2547
+ /** @description Fulltext filter matched against the user name or email (substring, case-insensitive). */
2548
+ q?: string | null;
2549
+ /** @description Maximum number of users to return. Default value: 20. */
2550
+ limit?: number | null;
2551
+ /** @description Pagination offset. Default value: 0. */
2552
+ offset?: number | null;
2553
+ };
2375
2554
  /** @description CLI command enqueue request payload. */
2376
2555
  EnqueueCommandRequest: {
2377
2556
  /**
@@ -2778,11 +2957,6 @@ type components = {
2778
2957
  defaultFileStorageId?: number | null;
2779
2958
  };
2780
2959
  SamlConfigCompleteSetupRequest: {
2781
- /**
2782
- * @description One-time setup token from initial configuration
2783
- * @example a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6
2784
- */
2785
- setupToken: string;
2786
2960
  /**
2787
2961
  * @description Identity Provider entity ID
2788
2962
  * @example http://www.okta.com/exk123456
@@ -2821,6 +2995,12 @@ type components = {
2821
2995
  designAdminEmail?: string | null;
2822
2996
  /** @description Email domains this IdP is allowed to assert (at least one). A login is denied unless the asserted email's domain is in this list. Domains are globally unique across SAML configurations. */
2823
2997
  permittedEmailDomains: string[];
2998
+ /**
2999
+ * @description Membership restriction mode (optional, defaults to "none"). With "permittedDomains", membership in the maintainer and its organizations and projects is restricted to the permitted email domains.
3000
+ * @example permittedDomains
3001
+ * @enum {string|null}
3002
+ */
3003
+ membershipRestriction?: 'none' | 'permittedDomains' | null;
2824
3004
  };
2825
3005
  SamlConfigCreateRequest: {
2826
3006
  /**
@@ -2838,6 +3018,12 @@ type components = {
2838
3018
  * @example SAML SSO for Acme employees using Okta
2839
3019
  */
2840
3020
  description?: string | null;
3021
+ /**
3022
+ * @description Membership restriction mode (optional, defaults to "none"). With "permittedDomains", membership in the maintainer and its organizations and projects is restricted to the permitted email domains once the config is active.
3023
+ * @example permittedDomains
3024
+ * @enum {string|null}
3025
+ */
3026
+ membershipRestriction?: 'none' | 'permittedDomains' | null;
2841
3027
  };
2842
3028
  SamlConfigUpdateRequest: {
2843
3029
  name?: string | null;
@@ -2863,6 +3049,11 @@ type components = {
2863
3049
  loginUrlParams?: Record<string, never> | null;
2864
3050
  /** @description Replace the allowed email domains (at least one). Omit to leave unchanged. */
2865
3051
  permittedEmailDomains?: string[] | null;
3052
+ /**
3053
+ * @description Membership restriction mode. With "permittedDomains", membership in the maintainer and its organizations and projects is restricted to the permitted email domains. Omit to leave unchanged.
3054
+ * @enum {string|null}
3055
+ */
3056
+ membershipRestriction?: 'none' | 'permittedDomains' | null;
2866
3057
  };
2867
3058
  OrganizationMetadataRequest: {
2868
3059
  /**
@@ -3046,18 +3237,19 @@ type components = {
3046
3237
  */
3047
3238
  bqExternalSharingRoleName?: string | null;
3048
3239
  };
3049
- /** @description Partial update of a storage backend; at least one of `username`, `password`, `useDynamicBackends`, `owner`, `technicalOwner` or `technicalOwnerContactEmails` must be supplied. Individual attributes are optional on their own. */
3240
+ StorageBackendProjectListRequest: {
3241
+ /** @description Maximum number of projects to return. Default value: 100. */
3242
+ limit?: number | null;
3243
+ /** @description Pagination offset. Default value: 0. */
3244
+ offset?: number | null;
3245
+ };
3246
+ /** @description Partial update of a storage backend; at least one of `username`, `useDynamicBackends`, `owner`, `technicalOwner` or `technicalOwnerContactEmails` must be supplied. Individual attributes are optional on their own. */
3050
3247
  StorageBackendUpdateRequest: {
3051
3248
  /**
3052
3249
  * @description Backend username.
3053
3250
  * @example keboola
3054
3251
  */
3055
3252
  username?: string | null;
3056
- /**
3057
- * @description Backend password.
3058
- * @example 1234
3059
- */
3060
- password?: string | null;
3061
3253
  /**
3062
3254
  * @description Only for backends supporting dynamic sizing (Snowflake). When enabled, new projects get dynamic backends assigned automatically.
3063
3255
  * @example false
@@ -3152,6 +3344,60 @@ type components = {
3152
3344
  /** @description Identifier of the project to top up. Must be a positive integer. */
3153
3345
  idProject: number;
3154
3346
  };
3347
+ UserListResponse: {
3348
+ /**
3349
+ * @description User identifier.
3350
+ * @example 2
3351
+ */
3352
+ id: number;
3353
+ /**
3354
+ * @description User full name.
3355
+ * @example Martin
3356
+ */
3357
+ name: string;
3358
+ /**
3359
+ * @description User email address.
3360
+ * @example martin@keboola.com
3361
+ */
3362
+ email: string;
3363
+ /**
3364
+ * @description Whether MFA is enabled for the user.
3365
+ * @example true
3366
+ */
3367
+ mfaEnabled: boolean;
3368
+ /**
3369
+ * @description List of assigned features.
3370
+ * @example [
3371
+ * "inline-manual"
3372
+ * ]
3373
+ */
3374
+ features: string[];
3375
+ /**
3376
+ * @description Whether the user can access logs.
3377
+ * @example true
3378
+ */
3379
+ canAccessLogs: boolean;
3380
+ /**
3381
+ * @description Whether the user has super admin privileges.
3382
+ * @example true
3383
+ */
3384
+ isSuperAdmin: boolean;
3385
+ /**
3386
+ * @description Number of organizations the user is a member of.
3387
+ * @example 2
3388
+ */
3389
+ organizationsCount: number;
3390
+ /**
3391
+ * @description Number of projects the user is a member of.
3392
+ * @example 5
3393
+ */
3394
+ projectsCount: number;
3395
+ /**
3396
+ * @description Number of maintainers the user is a member of.
3397
+ * @example 1
3398
+ */
3399
+ maintainersCount: number;
3400
+ }[];
3155
3401
  EnqueueCommandResponse: {
3156
3402
  /**
3157
3403
  * @description Identifier of the enqueued command execution; this ID is appended to all logs produced by the command.
@@ -3426,6 +3672,17 @@ type components = {
3426
3672
  deletedTime: string;
3427
3673
  /** Format: date-time */
3428
3674
  purgedTime?: string | null;
3675
+ /** @description Organization the project belongs to. */
3676
+ organization: {
3677
+ id?: number;
3678
+ name?: string;
3679
+ /** Format: date-time */
3680
+ created?: string;
3681
+ allowAutoJoin?: boolean;
3682
+ crmId?: string | null;
3683
+ activityCenterProjectId?: number | null;
3684
+ mfaRequired?: boolean;
3685
+ };
3429
3686
  };
3430
3687
  DeletedProjectsListResponse: components['schemas']['DeletedProjectResponse'][];
3431
3688
  /**
@@ -3656,10 +3913,28 @@ type components = {
3656
3913
  name?: string;
3657
3914
  };
3658
3915
  };
3659
- TokenVerifyResponse: {
3660
- id: string;
3661
- /** @description Optional provided only in specific cases. */
3662
- token: string;
3916
+ UserLoggedInResponse: {
3917
+ id: number;
3918
+ email: string;
3919
+ name: string;
3920
+ };
3921
+ CliTokenResponse: {
3922
+ /** @description Opaque bearer access token for API authentication. */
3923
+ accessToken: string;
3924
+ /** @description Refresh token for obtaining new access tokens. */
3925
+ refreshToken: string;
3926
+ /** @description Token type. Always "Bearer". */
3927
+ tokenType: string;
3928
+ /** @description Access token lifetime in seconds. */
3929
+ expiresIn: number;
3930
+ /** @description Unique session identifier. */
3931
+ sessionId: string;
3932
+ user: components['schemas']['UserLoggedInResponse'];
3933
+ };
3934
+ TokenVerifyResponse: {
3935
+ id: string;
3936
+ /** @description Optional provided only in specific cases. */
3937
+ token: string;
3663
3938
  /** Format: date-time */
3664
3939
  created: string;
3665
3940
  /** Format: date-time */
@@ -4611,6 +4886,26 @@ type components = {
4611
4886
  /** @description SAML2 public key for security integration (only present when SSO is enabled) */
4612
4887
  securityIntegrationKey?: string | null;
4613
4888
  };
4889
+ StorageBackendBigqueryResponse: {
4890
+ /** @description Root credentials identifier. */
4891
+ id: number;
4892
+ /** @description Storage backend type. Always "bigquery" for this response. */
4893
+ backend: string;
4894
+ /** @description Backend region. */
4895
+ region: string;
4896
+ /** @description Associated GCP account owner (e.g. keboola, client-<name>). */
4897
+ owner: string;
4898
+ /** @description Technical owner who manages the account. One of: keboola, internal, kbdb, byodb. */
4899
+ technicalOwner: string;
4900
+ /** @description Contact emails of the technical owner. */
4901
+ technicalOwnerContactEmails: string[];
4902
+ /** @description GCP service account credentials in JSON form. */
4903
+ credentials?: Record<string, never> | null;
4904
+ /** @description GCP folder identifier under which projects are created. */
4905
+ folderId?: string | null;
4906
+ /** @description Name of the custom IAM role pre-configured for Analytics Hub external bucket sharing. When set, the bucket sharing setup guide surfaces this role name to the user. When null, the guide falls back to recommending the built-in roles/analyticshub.listingAdmin role. */
4907
+ bqExternalSharingRoleName?: string | null;
4908
+ };
4614
4909
  StorageBackendDetailResponse: {
4615
4910
  /** @description Root credentials identifier. */
4616
4911
  id: number;
@@ -4673,28 +4968,43 @@ type components = {
4673
4968
  isSsoConfigured?: boolean | null;
4674
4969
  /** @description Array of technical owner contact emails for SAML2 certificate rotation notifications. */
4675
4970
  technicalOwnerContactEmails: string[];
4971
+ /** @description Number of projects assigned to this backend, unlike stats.projectsCount which only counts projects with data (buckets) on it. Synapse-assigned projects are not counted (deprecated backend, intentionally excluded). */
4972
+ assignedProjectsCount: number;
4973
+ /** @description Number of maintainers with this backend as a default connection. */
4974
+ assignedMaintainersCount: number;
4975
+ /** @description Detail endpoint only (absent on the list endpoint). Backend internal login type, e.g. default, snowflake-service-keypair, snowflake-person-keypair. */
4976
+ loginType: string;
4977
+ /**
4978
+ * Format: date-time
4979
+ * @description Detail endpoint only (absent on the list endpoint). Most recent enabledAt of an active Snowflake RSA key-pair certificate; null for password-based backends.
4980
+ */
4981
+ keyPairLastRotatedAt?: string | null;
4676
4982
  };
4677
4983
  StorageBackendListResponse: components['schemas']['StorageBackendDetailResponse'][];
4678
- StorageBackendBigqueryResponse: {
4679
- /** @description Root credentials identifier. */
4984
+ StorageBackendMaintainerListResponse: {
4985
+ /**
4986
+ * @description Maintainer identifier.
4987
+ * @example 1
4988
+ */
4680
4989
  id: number;
4681
- /** @description Storage backend type. Always "bigquery" for this response. */
4682
- backend: string;
4683
- /** @description Backend region. */
4684
- region: string;
4685
- /** @description Associated GCP account owner (e.g. keboola, client-<name>). */
4686
- owner: string;
4687
- /** @description Technical owner who manages the account. One of: keboola, internal, kbdb, byodb. */
4688
- technicalOwner: string;
4689
- /** @description Contact emails of the technical owner. */
4690
- technicalOwnerContactEmails: string[];
4691
- /** @description GCP service account credentials in JSON form. */
4692
- credentials?: Record<string, never> | null;
4693
- /** @description GCP folder identifier under which projects are created. */
4694
- folderId?: string | null;
4695
- /** @description Name of the custom IAM role pre-configured for Analytics Hub external bucket sharing. When set, the bucket sharing setup guide surfaces this role name to the user. When null, the guide falls back to recommending the built-in roles/analyticshub.listingAdmin role. */
4696
- bqExternalSharingRoleName?: string | null;
4697
- };
4990
+ /**
4991
+ * @description Maintainer name.
4992
+ * @example Test maintainer
4993
+ */
4994
+ name: string;
4995
+ }[];
4996
+ StorageBackendProjectListResponse: {
4997
+ /**
4998
+ * @description Project identifier.
4999
+ * @example 771
5000
+ */
5001
+ id: number;
5002
+ /**
5003
+ * @description Project name.
5004
+ * @example Test project
5005
+ */
5006
+ name: string;
5007
+ }[];
4698
5008
  /**
4699
5009
  * @example {
4700
5010
  * "id": 13702,
@@ -4844,6 +5154,73 @@ type components = {
4844
5154
  commitSha?: string | null;
4845
5155
  };
4846
5156
  };
5157
+ UserListMaintainersResponse: {
5158
+ maintainer: {
5159
+ /** @example 123 */
5160
+ id: number;
5161
+ /** @example Keboola CZ */
5162
+ name: string | null;
5163
+ };
5164
+ }[];
5165
+ UserListOrganizationsResponse: {
5166
+ organization: {
5167
+ /** @example 1 */
5168
+ id: number;
5169
+ /** @example Keboola Tests */
5170
+ name: string;
5171
+ };
5172
+ /**
5173
+ * Format: date-time
5174
+ * @example 2014-11-11T08:40:51+0000
5175
+ */
5176
+ created: string | null;
5177
+ invitedBy: {
5178
+ /** @example 1 */
5179
+ id: number;
5180
+ /** @example Martin */
5181
+ name: string;
5182
+ /** @example martin@keboola.com */
5183
+ email: string;
5184
+ } | null;
5185
+ maintainer: {
5186
+ /** @example 123 */
5187
+ id: number;
5188
+ /** @example Keboola CZ */
5189
+ name: string | null;
5190
+ };
5191
+ }[];
5192
+ UserListProjectsResponse: {
5193
+ project: {
5194
+ /** @example 4088 */
5195
+ id: number;
5196
+ /** @example Test project */
5197
+ name: string;
5198
+ };
5199
+ /** @example admin */
5200
+ role: string;
5201
+ /** @example active */
5202
+ status: string;
5203
+ /**
5204
+ * Format: date-time
5205
+ * @example null
5206
+ */
5207
+ expires: string | null;
5208
+ /**
5209
+ * Format: date-time
5210
+ * @example 2016-02-29T08:01:13+0000
5211
+ */
5212
+ created: string | null;
5213
+ /** @example */
5214
+ reason: string;
5215
+ invitedBy: {
5216
+ /** @example 1 */
5217
+ id: number;
5218
+ /** @example Martin */
5219
+ name: string;
5220
+ /** @example martin@keboola.com */
5221
+ email: string;
5222
+ } | null;
5223
+ }[];
4847
5224
  TryTopUpRequest2: {
4848
5225
  /** @description Identifier of the project to top up. Must be a positive integer. */
4849
5226
  idProject: number;
@@ -4857,6 +5234,47 @@ type components = {
4857
5234
  pathItems: never;
4858
5235
  };
4859
5236
  type operations = {
5237
+ 'get_/manage/users::UserListAction': {
5238
+ parameters: {
5239
+ query?: {
5240
+ /** @description Fulltext filter matched against the user name or email (substring, case-insensitive). */
5241
+ q?: string | null;
5242
+ /** @description Maximum number of users to return. Default value: 20. */
5243
+ limit?: number | null;
5244
+ /** @description Pagination offset. Default value: 0. */
5245
+ offset?: number | null;
5246
+ };
5247
+ header?: never;
5248
+ path?: never;
5249
+ cookie?: never;
5250
+ };
5251
+ requestBody?: never;
5252
+ responses: {
5253
+ /** @description List of users. */
5254
+ 200: {
5255
+ headers: {
5256
+ [name: string]: unknown;
5257
+ };
5258
+ content: {
5259
+ 'application/json': components['schemas']['UserListResponse'];
5260
+ };
5261
+ };
5262
+ /** @description Returned when the Manage token is missing or invalid. */
5263
+ 401: {
5264
+ headers: {
5265
+ [name: string]: unknown;
5266
+ };
5267
+ content?: never;
5268
+ };
5269
+ /** @description Returned when the current admin cannot list users. */
5270
+ 403: {
5271
+ headers: {
5272
+ [name: string]: unknown;
5273
+ };
5274
+ content?: never;
5275
+ };
5276
+ };
5277
+ };
4860
5278
  'post_/manage/commands::CommandEnqueueAction': {
4861
5279
  parameters: {
4862
5280
  query?: never;
@@ -5759,7 +6177,13 @@ type operations = {
5759
6177
  * "isDeleted": true,
5760
6178
  * "deletedTime": "2018-02-11T14:25:15+0100",
5761
6179
  * "purgedTime": null,
5762
- * "isBYODB": false
6180
+ * "isBYODB": false,
6181
+ * "organization": {
6182
+ * "id": 1,
6183
+ * "name": "Keboola Tests",
6184
+ * "created": "",
6185
+ * "allowAutoJoin": true
6186
+ * }
5763
6187
  * }
5764
6188
  */
5765
6189
  'application/json': components['schemas']['DeletedProjectResponse'];
@@ -6111,7 +6535,7 @@ type operations = {
6111
6535
  };
6112
6536
  content?: never;
6113
6537
  };
6114
- /** @description Returned when the current admin is not a super admin. */
6538
+ /** @description Returned when the current admin is neither a super admin nor holds the can-manage-features feature. */
6115
6539
  403: {
6116
6540
  headers: {
6117
6541
  [name: string]: unknown;
@@ -6455,7 +6879,7 @@ type operations = {
6455
6879
  };
6456
6880
  content?: never;
6457
6881
  };
6458
- /** @description Returned when the current admin is not a super admin. */
6882
+ /** @description Returned when the current admin is neither a super admin nor holds the can-manage-features feature. */
6459
6883
  403: {
6460
6884
  headers: {
6461
6885
  [name: string]: unknown;
@@ -7161,6 +7585,43 @@ type operations = {
7161
7585
  };
7162
7586
  };
7163
7587
  };
7588
+ 'post_/manage/internal/auth-bridge/exchange-oauth-token::AuthBridgeOAuthExchangeAction': {
7589
+ parameters: {
7590
+ query?: never;
7591
+ header: {
7592
+ /** @description League OAuth `claudai` access token to exchange. */
7593
+ 'X-Subject-Token': string;
7594
+ };
7595
+ path?: never;
7596
+ cookie?: never;
7597
+ };
7598
+ requestBody?: never;
7599
+ responses: {
7600
+ /** @description Programmatic session issued. */
7601
+ 200: {
7602
+ headers: {
7603
+ [name: string]: unknown;
7604
+ };
7605
+ content: {
7606
+ 'application/json': components['schemas']['CliTokenResponse'];
7607
+ };
7608
+ };
7609
+ /** @description Returned when the subject token is missing, invalid, or not bound to an active admin. */
7610
+ 401: {
7611
+ headers: {
7612
+ [name: string]: unknown;
7613
+ };
7614
+ content?: never;
7615
+ };
7616
+ /** @description Returned when the caller is not Kubernetes-authenticated or the token lacks the required scope. */
7617
+ 403: {
7618
+ headers: {
7619
+ [name: string]: unknown;
7620
+ };
7621
+ content?: never;
7622
+ };
7623
+ };
7624
+ };
7164
7625
  'post_/manage/internal/auth-bridge/resolve-storage-token::AuthBridgeStorageTokenResolveAction': {
7165
7626
  parameters: {
7166
7627
  query?: never;
@@ -8305,12 +8766,20 @@ type operations = {
8305
8766
  customerSlug?: string;
8306
8767
  name?: string;
8307
8768
  isActive?: boolean;
8769
+ /** @enum {string} */
8770
+ membershipRestriction?: 'none' | 'permittedDomains';
8308
8771
  message?: string;
8309
8772
  loginUrl?: string;
8773
+ /** @description Present when membershipRestriction is permittedDomains and organizations under the maintainer still allow Auto Join. */
8774
+ warnings?: {
8775
+ code?: string;
8776
+ message?: string;
8777
+ organizationIds?: number[];
8778
+ }[];
8310
8779
  };
8311
8780
  };
8312
8781
  };
8313
- /** @description Invalid or expired setup token, or invalid request data */
8782
+ /** @description Invalid request data */
8314
8783
  400: {
8315
8784
  headers: {
8316
8785
  [name: string]: unknown;
@@ -8332,6 +8801,17 @@ type operations = {
8332
8801
  };
8333
8802
  };
8334
8803
  };
8804
+ /** @description SAML configuration is already active */
8805
+ 409: {
8806
+ headers: {
8807
+ [name: string]: unknown;
8808
+ };
8809
+ content: {
8810
+ 'application/json': {
8811
+ error?: string;
8812
+ };
8813
+ };
8814
+ };
8335
8815
  };
8336
8816
  };
8337
8817
  'get_/manage/maintainers/{maintainerId}/saml::SamlConfigListAction': {
@@ -8404,9 +8884,6 @@ type operations = {
8404
8884
  customerSlug?: string;
8405
8885
  name?: string;
8406
8886
  isActive?: boolean;
8407
- setupToken?: string;
8408
- /** Format: date-time */
8409
- setupTokenExpiresAt?: string;
8410
8887
  spConfiguration?: {
8411
8888
  entityId?: string;
8412
8889
  acsUrl?: string;
@@ -8555,7 +9032,15 @@ type operations = {
8555
9032
  id?: number;
8556
9033
  maintainerId?: number;
8557
9034
  customerSlug?: string;
9035
+ /** @enum {string} */
9036
+ membershipRestriction?: 'none' | 'permittedDomains';
8558
9037
  message?: string;
9038
+ /** @description Present when membershipRestriction is permittedDomains and organizations under the maintainer still allow Auto Join. */
9039
+ warnings?: {
9040
+ code?: string;
9041
+ message?: string;
9042
+ organizationIds?: number[];
9043
+ }[];
8559
9044
  };
8560
9045
  };
8561
9046
  };
@@ -10178,6 +10663,13 @@ type operations = {
10178
10663
  };
10179
10664
  content?: never;
10180
10665
  };
10666
+ /** @description Returned when the token does not have permission to list project templates. */
10667
+ 403: {
10668
+ headers: {
10669
+ [name: string]: unknown;
10670
+ };
10671
+ content?: never;
10672
+ };
10181
10673
  };
10182
10674
  };
10183
10675
  'delete_/manage/project-templates/{templateId}/features/{featureName}::ProjectTemplateRemoveFeatureAction': {
@@ -12521,7 +13013,7 @@ type operations = {
12521
13013
  };
12522
13014
  content?: never;
12523
13015
  };
12524
- /** @description Returned when the token does not have permission to set project limits (super admin only). */
13016
+ /** @description Returned when the token cannot set project limits, or a non-super-admin attempts to set a limit outside the managed whitelist. */
12525
13017
  403: {
12526
13018
  headers: {
12527
13019
  [name: string]: unknown;
@@ -12779,22 +13271,46 @@ type operations = {
12779
13271
  };
12780
13272
  };
12781
13273
  };
12782
- 'get_/manage/storage-backend::StorageBackendListAction': {
13274
+ 'post_/manage/storage-backend/bigquery::StorageBackendCreateBigqueryAction': {
12783
13275
  parameters: {
12784
13276
  query?: never;
12785
13277
  header?: never;
12786
13278
  path?: never;
12787
13279
  cookie?: never;
12788
13280
  };
12789
- requestBody?: never;
13281
+ requestBody: {
13282
+ content: {
13283
+ 'application/json': components['schemas']['StorageBackendCreateBigqueryRequest'];
13284
+ };
13285
+ };
12790
13286
  responses: {
12791
- /** @description Storage backend credentials list. */
13287
+ /** @description BigQuery storage backend credentials created. */
12792
13288
  200: {
12793
13289
  headers: {
12794
13290
  [name: string]: unknown;
12795
13291
  };
12796
13292
  content: {
12797
- 'application/json': components['schemas']['StorageBackendListResponse'];
13293
+ /**
13294
+ * @example {
13295
+ * "id": 12,
13296
+ * "region": "us-east-1",
13297
+ * "backend": "bigquery",
13298
+ * "credentials": {
13299
+ * "type": "service_account",
13300
+ * "project_id": "123456789",
13301
+ * "private_key_id": "xxx",
13302
+ * "client_email": "something@else.iam.gserviceaccount.com",
13303
+ * "client_id": "123456789",
13304
+ * "auth_uri": "https://accounts.google.com/o/oauth2/auth",
13305
+ * "token_uri": "https://oauth2.googleapis.com/token",
13306
+ * "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
13307
+ * "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/something"
13308
+ * },
13309
+ * "folderId": 123,
13310
+ * "bqExternalSharingRoleName": "roles/custom.analyticsHubListingAdmin"
13311
+ * }
13312
+ */
13313
+ 'application/json': components['schemas']['StorageBackendBigqueryResponse'];
12798
13314
  };
12799
13315
  };
12800
13316
  /** @description Returned when the Manage token is missing or invalid. */
@@ -12811,35 +13327,55 @@ type operations = {
12811
13327
  };
12812
13328
  content?: never;
12813
13329
  };
13330
+ /** @description Returned when the BigQuery backend cannot be assigned (validation of GCP project / folder fails). */
13331
+ 422: {
13332
+ headers: {
13333
+ [name: string]: unknown;
13334
+ };
13335
+ content?: never;
13336
+ };
12814
13337
  };
12815
13338
  };
12816
- 'post_/manage/storage-backend::StorageBackendCreateAction': {
13339
+ 'get_/manage/storage-backend/{id}::StorageBackendDetailAction': {
12817
13340
  parameters: {
12818
13341
  query?: never;
12819
13342
  header?: never;
12820
- path?: never;
13343
+ path: {
13344
+ /**
13345
+ * @description Backend ID.
13346
+ * @example 123
13347
+ */
13348
+ id: number;
13349
+ };
12821
13350
  cookie?: never;
12822
13351
  };
12823
13352
  requestBody?: never;
12824
13353
  responses: {
12825
- /** @description Storage backend credentials created. */
13354
+ /** @description Storage backend credentials detail. */
12826
13355
  200: {
12827
13356
  headers: {
12828
13357
  [name: string]: unknown;
12829
13358
  };
12830
13359
  content: {
12831
- 'application/json': components['schemas']['StorageBackendResponse'];
13360
+ 'application/json': components['schemas']['StorageBackendDetailResponse'];
12832
13361
  };
12833
13362
  };
12834
- /** @description Returned when the backend is not supported or connection test fails. */
12835
- 400: {
13363
+ /** @description Returned when the Manage token is missing or invalid. */
13364
+ 401: {
12836
13365
  headers: {
12837
13366
  [name: string]: unknown;
12838
13367
  };
12839
13368
  content?: never;
12840
13369
  };
12841
- /** @description Returned when support for the backend was discontinued. */
12842
- 409: {
13370
+ /** @description Returned when the current admin is not a super admin. */
13371
+ 403: {
13372
+ headers: {
13373
+ [name: string]: unknown;
13374
+ };
13375
+ content?: never;
13376
+ };
13377
+ /** @description Returned when the storage backend with the given ID does not exist. */
13378
+ 404: {
12843
13379
  headers: {
12844
13380
  [name: string]: unknown;
12845
13381
  };
@@ -12847,47 +13383,34 @@ type operations = {
12847
13383
  };
12848
13384
  };
12849
13385
  };
12850
- 'post_/manage/storage-backend/bigquery::StorageBackendCreateBigqueryAction': {
13386
+ 'delete_/manage/storage-backend/{id}::StorageBackendDeleteAction': {
12851
13387
  parameters: {
12852
13388
  query?: never;
12853
13389
  header?: never;
12854
- path?: never;
12855
- cookie?: never;
12856
- };
12857
- requestBody: {
12858
- content: {
12859
- 'application/json': components['schemas']['StorageBackendCreateBigqueryRequest'];
13390
+ path: {
13391
+ /**
13392
+ * @description Id of storage backend.
13393
+ * @example 123
13394
+ */
13395
+ id: number;
12860
13396
  };
13397
+ cookie?: never;
12861
13398
  };
13399
+ requestBody?: never;
12862
13400
  responses: {
12863
- /** @description BigQuery storage backend credentials created. */
12864
- 200: {
13401
+ /** @description Storage backend deleted. */
13402
+ 204: {
12865
13403
  headers: {
12866
13404
  [name: string]: unknown;
12867
13405
  };
12868
- content: {
12869
- /**
12870
- * @example {
12871
- * "id": 12,
12872
- * "region": "us-east-1",
12873
- * "backend": "bigquery",
12874
- * "credentials": {
12875
- * "type": "service_account",
12876
- * "project_id": "123456789",
12877
- * "private_key_id": "xxx",
12878
- * "client_email": "something@else.iam.gserviceaccount.com",
12879
- * "client_id": "123456789",
12880
- * "auth_uri": "https://accounts.google.com/o/oauth2/auth",
12881
- * "token_uri": "https://oauth2.googleapis.com/token",
12882
- * "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
12883
- * "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/something"
12884
- * },
12885
- * "folderId": 123,
12886
- * "bqExternalSharingRoleName": "roles/custom.analyticsHubListingAdmin"
12887
- * }
12888
- */
12889
- 'application/json': components['schemas']['StorageBackendBigqueryResponse'];
13406
+ content?: never;
13407
+ };
13408
+ /** @description Returned when the storage backend is still in use by projects or workspaces. */
13409
+ 400: {
13410
+ headers: {
13411
+ [name: string]: unknown;
12890
13412
  };
13413
+ content?: never;
12891
13414
  };
12892
13415
  /** @description Returned when the Manage token is missing or invalid. */
12893
13416
  401: {
@@ -12903,8 +13426,8 @@ type operations = {
12903
13426
  };
12904
13427
  content?: never;
12905
13428
  };
12906
- /** @description Returned when the BigQuery backend cannot be assigned (validation of GCP project / folder fails). */
12907
- 422: {
13429
+ /** @description Returned when the storage backend with the given ID does not exist. */
13430
+ 404: {
12908
13431
  headers: {
12909
13432
  [name: string]: unknown;
12910
13433
  };
@@ -12912,7 +13435,7 @@ type operations = {
12912
13435
  };
12913
13436
  };
12914
13437
  };
12915
- 'get_/manage/storage-backend/{id}::StorageBackendDetailAction': {
13438
+ 'patch_/manage/storage-backend/{id}::StorageBackendUpdateAction': {
12916
13439
  parameters: {
12917
13440
  query?: never;
12918
13441
  header?: never;
@@ -12925,17 +13448,39 @@ type operations = {
12925
13448
  };
12926
13449
  cookie?: never;
12927
13450
  };
12928
- requestBody?: never;
13451
+ requestBody: {
13452
+ content: {
13453
+ 'application/json': components['schemas']['StorageBackendUpdateRequest'];
13454
+ };
13455
+ };
12929
13456
  responses: {
12930
- /** @description Storage backend credentials detail. */
13457
+ /** @description Storage backend credentials updated. */
12931
13458
  200: {
12932
13459
  headers: {
12933
13460
  [name: string]: unknown;
12934
13461
  };
12935
13462
  content: {
12936
- 'application/json': components['schemas']['StorageBackendDetailResponse'];
13463
+ /**
13464
+ * @example {
13465
+ * "id": 123,
13466
+ * "host": "sapi-37-demo.snowflakecomputing.com",
13467
+ * "backend": "snowflake",
13468
+ * "region": "us-east-1",
13469
+ * "technicalOwnerContactEmails": [
13470
+ * "devel@keboola.com"
13471
+ * ]
13472
+ * }
13473
+ */
13474
+ 'application/json': components['schemas']['StorageBackendResponse'];
12937
13475
  };
12938
13476
  };
13477
+ /** @description Returned when the backend connection test fails or the request payload is invalid. */
13478
+ 400: {
13479
+ headers: {
13480
+ [name: string]: unknown;
13481
+ };
13482
+ content?: never;
13483
+ };
12939
13484
  /** @description Returned when the Manage token is missing or invalid. */
12940
13485
  401: {
12941
13486
  headers: {
@@ -12959,35 +13504,64 @@ type operations = {
12959
13504
  };
12960
13505
  };
12961
13506
  };
12962
- 'delete_/manage/storage-backend/{id}::StorageBackendDeleteAction': {
13507
+ 'get_/manage/storage-backend::StorageBackendListAction': {
12963
13508
  parameters: {
12964
13509
  query?: never;
12965
13510
  header?: never;
12966
- path: {
12967
- /**
12968
- * @description Id of storage backend.
12969
- * @example 123
12970
- */
12971
- id: number;
12972
- };
13511
+ path?: never;
12973
13512
  cookie?: never;
12974
13513
  };
12975
13514
  requestBody?: never;
12976
13515
  responses: {
12977
- /** @description Storage backend deleted. */
12978
- 204: {
13516
+ /** @description Storage backend credentials list. */
13517
+ 200: {
13518
+ headers: {
13519
+ [name: string]: unknown;
13520
+ };
13521
+ content: {
13522
+ 'application/json': components['schemas']['StorageBackendListResponse'];
13523
+ };
13524
+ };
13525
+ /** @description Returned when the Manage token is missing or invalid. */
13526
+ 401: {
12979
13527
  headers: {
12980
13528
  [name: string]: unknown;
12981
13529
  };
12982
13530
  content?: never;
12983
13531
  };
12984
- /** @description Returned when the storage backend is still in use by projects or workspaces. */
12985
- 400: {
13532
+ /** @description Returned when the current admin is not a super admin. */
13533
+ 403: {
12986
13534
  headers: {
12987
13535
  [name: string]: unknown;
12988
13536
  };
12989
13537
  content?: never;
12990
13538
  };
13539
+ };
13540
+ };
13541
+ 'get_/manage/storage-backend/{id}/maintainers::StorageBackendMaintainerListAction': {
13542
+ parameters: {
13543
+ query?: never;
13544
+ header?: never;
13545
+ path: {
13546
+ /**
13547
+ * @description Backend ID.
13548
+ * @example 1
13549
+ */
13550
+ id: number;
13551
+ };
13552
+ cookie?: never;
13553
+ };
13554
+ requestBody?: never;
13555
+ responses: {
13556
+ /** @description List of maintainers with the backend set as a default connection. */
13557
+ 200: {
13558
+ headers: {
13559
+ [name: string]: unknown;
13560
+ };
13561
+ content: {
13562
+ 'application/json': components['schemas']['StorageBackendMaintainerListResponse'];
13563
+ };
13564
+ };
12991
13565
  /** @description Returned when the Manage token is missing or invalid. */
12992
13566
  401: {
12993
13567
  headers: {
@@ -13011,52 +13585,41 @@ type operations = {
13011
13585
  };
13012
13586
  };
13013
13587
  };
13014
- 'patch_/manage/storage-backend/{id}::StorageBackendUpdateAction': {
13588
+ 'get_/manage/storage-backend/{id}/projects::StorageBackendProjectListAction': {
13015
13589
  parameters: {
13016
- query?: never;
13590
+ query?: {
13591
+ /**
13592
+ * @description Maximum number of projects to return. Default value: 100.
13593
+ * @example 100
13594
+ */
13595
+ limit?: number;
13596
+ /**
13597
+ * @description Pagination offset. Default value: 0.
13598
+ * @example 0
13599
+ */
13600
+ offset?: number;
13601
+ };
13017
13602
  header?: never;
13018
13603
  path: {
13019
13604
  /**
13020
13605
  * @description Backend ID.
13021
- * @example 123
13606
+ * @example 1
13022
13607
  */
13023
13608
  id: number;
13024
13609
  };
13025
13610
  cookie?: never;
13026
13611
  };
13027
- requestBody: {
13028
- content: {
13029
- 'application/json': components['schemas']['StorageBackendUpdateRequest'];
13030
- };
13031
- };
13612
+ requestBody?: never;
13032
13613
  responses: {
13033
- /** @description Storage backend credentials updated. */
13614
+ /** @description List of projects assigned to the backend. */
13034
13615
  200: {
13035
13616
  headers: {
13036
13617
  [name: string]: unknown;
13037
13618
  };
13038
13619
  content: {
13039
- /**
13040
- * @example {
13041
- * "id": 123,
13042
- * "host": "sapi-37-demo.snowflakecomputing.com",
13043
- * "backend": "snowflake",
13044
- * "region": "us-east-1",
13045
- * "technicalOwnerContactEmails": [
13046
- * "devel@keboola.com"
13047
- * ]
13048
- * }
13049
- */
13050
- 'application/json': components['schemas']['StorageBackendResponse'];
13620
+ 'application/json': components['schemas']['StorageBackendProjectListResponse'];
13051
13621
  };
13052
13622
  };
13053
- /** @description Returned when the backend connection test fails or the request payload is invalid. */
13054
- 400: {
13055
- headers: {
13056
- [name: string]: unknown;
13057
- };
13058
- content?: never;
13059
- };
13060
13623
  /** @description Returned when the Manage token is missing or invalid. */
13061
13624
  401: {
13062
13625
  headers: {
@@ -13695,6 +14258,120 @@ type operations = {
13695
14258
  };
13696
14259
  };
13697
14260
  };
14261
+ 'post_/manage/users/{id}/super-admin::UserGrantSuperAdminAction': {
14262
+ parameters: {
14263
+ query?: never;
14264
+ header?: never;
14265
+ path: {
14266
+ /**
14267
+ * @description User identifier.
14268
+ * @example 2
14269
+ */
14270
+ id: number;
14271
+ };
14272
+ cookie?: never;
14273
+ };
14274
+ requestBody?: never;
14275
+ responses: {
14276
+ /** @description Updated user detail. */
14277
+ 200: {
14278
+ headers: {
14279
+ [name: string]: unknown;
14280
+ };
14281
+ content: {
14282
+ /**
14283
+ * @example {
14284
+ * "id": 2,
14285
+ * "name": "Martin",
14286
+ * "email": "martin@keboola.com",
14287
+ * "features": [
14288
+ * "inline-manual"
14289
+ * ],
14290
+ * "mfaEnabled": true,
14291
+ * "canAccessLogs": true,
14292
+ * "isSuperAdmin": true
14293
+ * }
14294
+ */
14295
+ 'application/json': components['schemas']['UserResponse'];
14296
+ };
14297
+ };
14298
+ /** @description Returned when the Manage token is missing or invalid. */
14299
+ 401: {
14300
+ headers: {
14301
+ [name: string]: unknown;
14302
+ };
14303
+ content?: never;
14304
+ };
14305
+ /** @description Returned when the current admin is not a super admin. */
14306
+ 403: {
14307
+ headers: {
14308
+ [name: string]: unknown;
14309
+ };
14310
+ content?: never;
14311
+ };
14312
+ /** @description Returned when the user does not exist. */
14313
+ 404: {
14314
+ headers: {
14315
+ [name: string]: unknown;
14316
+ };
14317
+ content?: never;
14318
+ };
14319
+ /** @description Returned when the target user does not have MFA enabled. */
14320
+ 422: {
14321
+ headers: {
14322
+ [name: string]: unknown;
14323
+ };
14324
+ content?: never;
14325
+ };
14326
+ };
14327
+ };
14328
+ 'get_/manage/users/{id}/maintainers::UserListMaintainersAction': {
14329
+ parameters: {
14330
+ query?: never;
14331
+ header?: never;
14332
+ path: {
14333
+ /**
14334
+ * @description User identifier.
14335
+ * @example 2
14336
+ */
14337
+ id: number;
14338
+ };
14339
+ cookie?: never;
14340
+ };
14341
+ requestBody?: never;
14342
+ responses: {
14343
+ /** @description List of the user's maintainers. */
14344
+ 200: {
14345
+ headers: {
14346
+ [name: string]: unknown;
14347
+ };
14348
+ content: {
14349
+ 'application/json': components['schemas']['UserListMaintainersResponse'];
14350
+ };
14351
+ };
14352
+ /** @description Returned when the Manage token is missing or invalid. */
14353
+ 401: {
14354
+ headers: {
14355
+ [name: string]: unknown;
14356
+ };
14357
+ content?: never;
14358
+ };
14359
+ /** @description Returned when the current admin cannot access this user. */
14360
+ 403: {
14361
+ headers: {
14362
+ [name: string]: unknown;
14363
+ };
14364
+ content?: never;
14365
+ };
14366
+ /** @description Returned when the user does not exist. */
14367
+ 404: {
14368
+ headers: {
14369
+ [name: string]: unknown;
14370
+ };
14371
+ content?: never;
14372
+ };
14373
+ };
14374
+ };
13698
14375
  'get_/manage/users/{idOrEmail}/metadata::UserListMetadataAction': {
13699
14376
  parameters: {
13700
14377
  query?: never;
@@ -13896,6 +14573,100 @@ type operations = {
13896
14573
  };
13897
14574
  };
13898
14575
  };
14576
+ 'get_/manage/users/{id}/organizations::UserListOrganizationsAction': {
14577
+ parameters: {
14578
+ query?: never;
14579
+ header?: never;
14580
+ path: {
14581
+ /**
14582
+ * @description User identifier.
14583
+ * @example 2
14584
+ */
14585
+ id: number;
14586
+ };
14587
+ cookie?: never;
14588
+ };
14589
+ requestBody?: never;
14590
+ responses: {
14591
+ /** @description List of the user's organizations. */
14592
+ 200: {
14593
+ headers: {
14594
+ [name: string]: unknown;
14595
+ };
14596
+ content: {
14597
+ 'application/json': components['schemas']['UserListOrganizationsResponse'];
14598
+ };
14599
+ };
14600
+ /** @description Returned when the Manage token is missing or invalid. */
14601
+ 401: {
14602
+ headers: {
14603
+ [name: string]: unknown;
14604
+ };
14605
+ content?: never;
14606
+ };
14607
+ /** @description Returned when the current admin cannot access this user. */
14608
+ 403: {
14609
+ headers: {
14610
+ [name: string]: unknown;
14611
+ };
14612
+ content?: never;
14613
+ };
14614
+ /** @description Returned when the user does not exist. */
14615
+ 404: {
14616
+ headers: {
14617
+ [name: string]: unknown;
14618
+ };
14619
+ content?: never;
14620
+ };
14621
+ };
14622
+ };
14623
+ 'get_/manage/users/{id}/projects::UserListProjectsAction': {
14624
+ parameters: {
14625
+ query?: never;
14626
+ header?: never;
14627
+ path: {
14628
+ /**
14629
+ * @description User identifier.
14630
+ * @example 2
14631
+ */
14632
+ id: number;
14633
+ };
14634
+ cookie?: never;
14635
+ };
14636
+ requestBody?: never;
14637
+ responses: {
14638
+ /** @description List of the user's projects. */
14639
+ 200: {
14640
+ headers: {
14641
+ [name: string]: unknown;
14642
+ };
14643
+ content: {
14644
+ 'application/json': components['schemas']['UserListProjectsResponse'];
14645
+ };
14646
+ };
14647
+ /** @description Returned when the Manage token is missing or invalid. */
14648
+ 401: {
14649
+ headers: {
14650
+ [name: string]: unknown;
14651
+ };
14652
+ content?: never;
14653
+ };
14654
+ /** @description Returned when the current admin cannot access this user. */
14655
+ 403: {
14656
+ headers: {
14657
+ [name: string]: unknown;
14658
+ };
14659
+ content?: never;
14660
+ };
14661
+ /** @description Returned when the user does not exist. */
14662
+ 404: {
14663
+ headers: {
14664
+ [name: string]: unknown;
14665
+ };
14666
+ content?: never;
14667
+ };
14668
+ };
14669
+ };
13899
14670
  'delete_/manage/users/{idOrEmail}/features/{featureName}::UserRemoveFeatureAction': {
13900
14671
  parameters: {
13901
14672
  query?: never;
@@ -14081,19 +14852,10 @@ type operations = {
14081
14852
  };
14082
14853
 
14083
14854
  /** A single deleted project as returned by `GET /manage/deleted-projects` or
14084
- * `GET /manage/deleted-projects/{projectId}`.
14085
- *
14086
- * The live API always returns the owning `organization`, but the generated
14087
- * `DeletedProjectResponse` schema omits it — overlaid here via intersection (live > generated schema).
14088
- * It is `optional` because the typed source (the generated schema) does not guarantee it; consumers
14089
- * access it defensively until the backend OpenAPI is regenerated. Minimal shape (id + name) = all the
14090
- * UI consumes. See docs/prototype-specs/m7-api-discrepancy-report.md. */
14091
- type DeletedProject = components['schemas']['DeletedProjectResponse'] & {
14092
- organization?: {
14093
- id: number;
14094
- name: string;
14095
- };
14096
- };
14855
+ * `GET /manage/deleted-projects/{projectId}`. The generated schema models the owning `organization`
14856
+ * (added to the backend OpenAPI by keboola/connection#7794), so no overlay is needed; note its
14857
+ * `id`/`name` members are optional in the spec, so consumers access them defensively. */
14858
+ type DeletedProject = components['schemas']['DeletedProjectResponse'];
14097
14859
  /** Query parameters accepted by `GET /manage/deleted-projects`. */
14098
14860
  type DeletedProjectsListQuery = components['schemas']['DeletedProjectsListRequest'];
14099
14861
  /** The enqueued-command response returned by `POST /manage/deleted-projects/{id}/purge`. */
@@ -14123,6 +14885,15 @@ type GetAllFeaturesQuery = {
14123
14885
  type?: FeatureType;
14124
14886
  };
14125
14887
 
14888
+ type FileStorageS3 = components['schemas']['FileStorageS3Response'];
14889
+ type FileStorageAbs = components['schemas']['FileStorageAbsResponse'];
14890
+ type FileStorageGcs = Omit<components['schemas']['FileStorageGcsResponse'], 'gcsCredentials'> & {
14891
+ gcsCredentials: Record<string, unknown>;
14892
+ };
14893
+ /** Union of all registered file storages across providers, as returned by the
14894
+ * `GET /manage/file-storage-{s3,abs,gcs}` list endpoints. */
14895
+ type FileStorage = FileStorageS3 | FileStorageAbs | FileStorageGcs;
14896
+
14126
14897
  type UpdateOrganizationBody = paths['/manage/organizations/{id}']['patch']['requestBody']['content']['application/json'] & {
14127
14898
  mfaRequired?: boolean;
14128
14899
  crmId?: string | null;
@@ -14204,6 +14975,8 @@ type MetadataItem = {
14204
14975
 
14205
14976
  /** Body for PUT /manage/projects/{projectId} — derived from the generated schema. */
14206
14977
  type UpdateProjectBody = components['schemas']['ProjectUpdateRequest'];
14978
+ /** Item of GET /manage/project-templates. */
14979
+ type ProjectTemplate = components['schemas']['ProjectTemplateResponse'];
14207
14980
  /** Body for POST /manage/projects/{projectId}/organizations. */
14208
14981
  type MoveProjectBody = paths['/manage/projects/{projectId}/organizations']['post']['requestBody']['content']['application/json'];
14209
14982
  /** Body for POST /manage/projects/{projectId}/disabled — no schema entry; hand-written per live API.
@@ -14216,6 +14989,14 @@ type SetProjectDisabledBody = {
14216
14989
  } | {
14217
14990
  isDisabled: false;
14218
14991
  };
14992
+ /** Body for `POST /manage/projects/{projectId}/limits`. Super admins may set any limit; admins
14993
+ * holding the `can-manage-project-limits` feature may set only the whitelisted subset. */
14994
+ type SetProjectLimitsBody = {
14995
+ limits: {
14996
+ name: string;
14997
+ value: number;
14998
+ }[];
14999
+ };
14219
15000
  type GetProjectPath = {
14220
15001
  projectId: number | string;
14221
15002
  };
@@ -14369,6 +15150,29 @@ type Project = {
14369
15150
  usersCount?: number;
14370
15151
  };
14371
15152
 
15153
+ /** A storage backend's full detail as returned by `GET /manage/storage-backend/{id}` — id, owner,
15154
+ * technical owner, host/URL, stats, creator and backend-kind-specific fields.
15155
+ *
15156
+ * `assignedProjectsCount` / `assignedMaintainersCount` / `loginType` are required in the generated
15157
+ * schema but weakened to optional here (live behavior > generated schema): the list endpoint
15158
+ * (`GET /manage/storage-backend`) reuses this schema while `loginType` (like
15159
+ * `keyPairLastRotatedAt`) is detail-only per the generated JSDoc, and during the pre-deploy window
15160
+ * a stack that hasn't shipped the M9.1 connection change omits all of them. Consumers access them
15161
+ * defensively; drop the overlay if the backend ever splits the list/detail response schemas. */
15162
+ type StorageBackend = Omit<components['schemas']['StorageBackendDetailResponse'], 'assignedProjectsCount' | 'assignedMaintainersCount' | 'loginType'> & {
15163
+ assignedProjectsCount?: number;
15164
+ assignedMaintainersCount?: number;
15165
+ loginType?: string;
15166
+ };
15167
+ /** A project assigned to a storage backend, as returned by
15168
+ * `GET /manage/storage-backend/{id}/projects`. */
15169
+ type StorageBackendProject = components['schemas']['StorageBackendProjectListResponse'][number];
15170
+ /** A maintainer assigned to a storage backend, as returned by
15171
+ * `GET /manage/storage-backend/{id}/maintainers`. */
15172
+ type StorageBackendMaintainer = components['schemas']['StorageBackendMaintainerListResponse'][number];
15173
+ /** Query parameters accepted by `GET /manage/storage-backend/{id}/projects`. */
15174
+ type GetStorageBackendProjectsQuery = NonNullable<operations['get_/manage/storage-backend/{id}/projects::StorageBackendProjectListAction']['parameters']['query']>;
15175
+
14372
15176
  type AddUserFeaturePath = {
14373
15177
  userIdOrMail: string;
14374
15178
  };
@@ -14390,5 +15194,11 @@ type User = {
14390
15194
  isSuperAdmin: boolean;
14391
15195
  canApproveMergeRequests: boolean;
14392
15196
  };
15197
+ type UserDetail = components['schemas']['UserResponse'];
15198
+ type UserListItem = components['schemas']['UserListResponse'][number];
15199
+ type UserOrganizationMembership = components['schemas']['UserListOrganizationsResponse'][number];
15200
+ type UserProjectMembership = components['schemas']['UserListProjectsResponse'][number];
15201
+ type UserMaintainerMembership = components['schemas']['UserListMaintainersResponse'][number];
15202
+ type GetUsersQuery = NonNullable<operations['get_/manage/users::UserListAction']['parameters']['query']>;
14393
15203
 
14394
- export type { FeatureType as $, AddMaintainerUserBody as A, ProjectMetadataItem as B, CreateMaintainerBody as C, DeletedProjectsListQuery as D, SetProjectMetadataPath as E, Feature as F, GetAllFeaturesQuery as G, SetProjectMetadataBody as H, GetProjectReviewersPath as I, Reviewer as J, SetProjectReviewersPath as K, ListProjectUsersPath as L, Maintainer as M, SetProjectReviewersBody as N, OrganizationDetail as O, Project as P, UpdateProjectBody as Q, RemoveProjectFeaturePath as R, SetMaintainerMetadataBody as S, MoveProjectBody as T, UpdateMaintainerBody as U, SetProjectDisabledBody as V, AddUserFeatureBody as W, AddUserFeaturePath as X, RemoveUserFeaturePath as Y, components as Z, AdminUser as _, DeletedProject as a, MaintainerInvitationDetail as a0, Organization as a1, OrganizationInvitationDetail as a2, OrganizationListItem as a3, OrganizationMaintainer as a4, OrganizationProject as a5, ProjectInvitableRole as a6, ProjectInvitationDetail as a7, ProjectMetadataInput as a8, DeletedProjectPurgeResult as b, MaintainerDetail as c, MaintainerUser as d, CreateMaintainerInvitationBody as e, CreateMaintainerOrganizationBody as f, MetadataItem as g, UpdateOrganizationBody as h, AddOrganizationUserBody as i, CreateOrganizationInvitationBody as j, CreateOrganizationProjectBody as k, SetOrganizationMetadataBody as l, FeatureProject as m, FeatureAdmin as n, GetProjectPath as o, CreateProjectFeaturePath as p, CreateProjectFeatureBody as q, User as r, ListProjectInvitationsPath as s, CreateProjectInvitationPath as t, CreateProjectInvitationBody as u, DeleteProjectInvitationPath as v, AddProjectUserPath as w, AddProjectUserBody as x, RemoveProjectUserPath as y, GetProjectMetadataPath as z };
15204
+ export type { ProjectMetadataItem as $, AddMaintainerUserBody as A, GetProjectPath as B, CreateMaintainerBody as C, DeleteProjectInvitationPath as D, GetProjectReviewersPath as E, Feature as F, GetAllFeaturesQuery as G, GetStorageBackendProjectsQuery as H, GetUsersQuery as I, ListProjectUsersPath as J, MaintainerDetail as K, ListProjectInvitationsPath as L, Maintainer as M, MaintainerInvitationDetail as N, MaintainerUser as O, MetadataItem as P, MoveProjectBody as Q, Organization as R, OrganizationDetail as S, OrganizationInvitationDetail as T, OrganizationListItem as U, OrganizationMaintainer as V, OrganizationProject as W, Project as X, ProjectInvitableRole as Y, ProjectInvitationDetail as Z, ProjectMetadataInput as _, AddOrganizationUserBody as a, ProjectTemplate as a0, RemoveProjectFeaturePath as a1, RemoveProjectUserPath as a2, RemoveUserFeaturePath as a3, Reviewer as a4, SetMaintainerMetadataBody as a5, SetOrganizationMetadataBody as a6, SetProjectDisabledBody as a7, SetProjectLimitsBody as a8, SetProjectMetadataBody as a9, SetProjectMetadataPath as aa, SetProjectReviewersBody as ab, SetProjectReviewersPath as ac, StorageBackend as ad, StorageBackendMaintainer as ae, StorageBackendProject as af, UpdateMaintainerBody as ag, UpdateOrganizationBody as ah, UpdateProjectBody as ai, User as aj, UserDetail as ak, UserListItem as al, UserMaintainerMembership as am, UserOrganizationMembership as an, UserProjectMembership as ao, AddProjectUserBody as b, components as c, AddProjectUserPath as d, AddUserFeatureBody as e, AddUserFeaturePath as f, AdminUser as g, CreateMaintainerInvitationBody as h, CreateMaintainerOrganizationBody as i, CreateOrganizationInvitationBody as j, CreateOrganizationProjectBody as k, CreateProjectFeatureBody as l, CreateProjectFeaturePath as m, CreateProjectInvitationBody as n, CreateProjectInvitationPath as o, DeletedProject as p, DeletedProjectPurgeResult as q, DeletedProjectsListQuery as r, FeatureAdmin as s, FeatureProject as t, FeatureType as u, FileStorage as v, FileStorageAbs as w, FileStorageGcs as x, FileStorageS3 as y, GetProjectMetadataPath as z };