@keboola/api-client 20.0.0 → 21.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 (306) hide show
  1. package/API-SURFACE.md +26 -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 +3 -3
  6. package/dist/ai/index.d.cts +1 -1
  7. package/dist/ai/index.d.ts +1 -1
  8. package/dist/ai/index.js +2 -2
  9. package/dist/assets/index.d.cts +1 -1
  10. package/dist/assets/index.d.ts +1 -1
  11. package/dist/auth/index.cjs +9 -9
  12. package/dist/auth/index.d.cts +81 -9
  13. package/dist/auth/index.d.ts +81 -9
  14. package/dist/auth/index.js +1 -1
  15. package/dist/auth/types.d.cts +2 -2
  16. package/dist/auth/types.d.ts +2 -2
  17. package/dist/chat/index.cjs +3 -3
  18. package/dist/chat/index.d.cts +1 -1
  19. package/dist/chat/index.d.ts +1 -1
  20. package/dist/chat/index.js +2 -2
  21. package/dist/chat/suggestions.d.cts +11 -11
  22. package/dist/chat/suggestions.d.ts +11 -11
  23. package/dist/{chunk-7ETZQGY7.js → chunk-2BOG5U7C.js} +3 -3
  24. package/dist/{chunk-7ETZQGY7.js.map → chunk-2BOG5U7C.js.map} +1 -1
  25. package/dist/{chunk-YLHZ2H7O.cjs → chunk-3GTRQFWA.cjs} +4 -4
  26. package/dist/{chunk-YLHZ2H7O.cjs.map → chunk-3GTRQFWA.cjs.map} +1 -1
  27. package/dist/{chunk-TTPJSPZA.cjs → chunk-3KEVPUSX.cjs} +10 -3
  28. package/dist/chunk-3KEVPUSX.cjs.map +1 -0
  29. package/dist/chunk-4HBUVR57.cjs +155 -0
  30. package/dist/chunk-4HBUVR57.cjs.map +1 -0
  31. package/dist/{chunk-YUTWLJBK.js → chunk-4IEIVLYT.js} +55 -5
  32. package/dist/chunk-4IEIVLYT.js.map +1 -0
  33. package/dist/{chunk-HEVDH4JQ.js → chunk-4WX5W7YU.js} +3 -3
  34. package/dist/{chunk-HEVDH4JQ.js.map → chunk-4WX5W7YU.js.map} +1 -1
  35. package/dist/{chunk-7KMFRSYA.js → chunk-5FDQYOJD.js} +3 -3
  36. package/dist/{chunk-7KMFRSYA.js.map → chunk-5FDQYOJD.js.map} +1 -1
  37. package/dist/{chunk-KQ2QNGRX.js → chunk-6BYHD5DG.js} +4 -4
  38. package/dist/chunk-6BYHD5DG.js.map +1 -0
  39. package/dist/{chunk-WJRHT346.js → chunk-6JXSO3AR.js} +3 -3
  40. package/dist/chunk-6JXSO3AR.js.map +1 -0
  41. package/dist/{chunk-4H2DDEUI.cjs → chunk-AFIQYB2O.cjs} +4 -4
  42. package/dist/{chunk-4H2DDEUI.cjs.map → chunk-AFIQYB2O.cjs.map} +1 -1
  43. package/dist/{chunk-IZWNTRMT.cjs → chunk-C5R6ITYD.cjs} +4 -4
  44. package/dist/{chunk-IZWNTRMT.cjs.map → chunk-C5R6ITYD.cjs.map} +1 -1
  45. package/dist/{chunk-AWRMGLMT.cjs → chunk-CBVGOANJ.cjs} +4 -4
  46. package/dist/chunk-CBVGOANJ.cjs.map +1 -0
  47. package/dist/{chunk-KDWIJTED.js → chunk-CWD66KRM.js} +3 -3
  48. package/dist/{chunk-KDWIJTED.js.map → chunk-CWD66KRM.js.map} +1 -1
  49. package/dist/{chunk-XISA4SYM.cjs → chunk-DAAHTUXU.cjs} +4 -4
  50. package/dist/{chunk-XISA4SYM.cjs.map → chunk-DAAHTUXU.cjs.map} +1 -1
  51. package/dist/{chunk-JIAMBOU7.cjs → chunk-DAS5UQN6.cjs} +4 -4
  52. package/dist/{chunk-JIAMBOU7.cjs.map → chunk-DAS5UQN6.cjs.map} +1 -1
  53. package/dist/{chunk-JURD5MC3.js → chunk-DHOVQ2TW.js} +15 -16
  54. package/dist/chunk-DHOVQ2TW.js.map +1 -0
  55. package/dist/{chunk-ISY2BOFY.js → chunk-DJ5LXAG3.js} +3 -3
  56. package/dist/{chunk-ISY2BOFY.js.map → chunk-DJ5LXAG3.js.map} +1 -1
  57. package/dist/chunk-EWMXK3EI.cjs +8 -0
  58. package/dist/chunk-EWMXK3EI.cjs.map +1 -0
  59. package/dist/{chunk-IWIN6HKU.cjs → chunk-EYIPM2XB.cjs} +4 -4
  60. package/dist/{chunk-IWIN6HKU.cjs.map → chunk-EYIPM2XB.cjs.map} +1 -1
  61. package/dist/{chunk-G7VCXMQB.cjs → chunk-FDISA5KO.cjs} +4 -4
  62. package/dist/{chunk-G7VCXMQB.cjs.map → chunk-FDISA5KO.cjs.map} +1 -1
  63. package/dist/{chunk-CVV4HROS.cjs → chunk-FMS5PNM2.cjs} +4 -4
  64. package/dist/chunk-FMS5PNM2.cjs.map +1 -0
  65. package/dist/{chunk-BR3SBEFE.cjs → chunk-FRLSKIUI.cjs} +19 -21
  66. package/dist/chunk-FRLSKIUI.cjs.map +1 -0
  67. package/dist/{chunk-MLCMKHMK.cjs → chunk-HHULC5GT.cjs} +4 -4
  68. package/dist/{chunk-MLCMKHMK.cjs.map → chunk-HHULC5GT.cjs.map} +1 -1
  69. package/dist/{chunk-STAQJVW4.cjs → chunk-HJQYMALV.cjs} +4 -4
  70. package/dist/{chunk-STAQJVW4.cjs.map → chunk-HJQYMALV.cjs.map} +1 -1
  71. package/dist/{chunk-QQJXXNUE.cjs → chunk-HUNYAVJJ.cjs} +4 -4
  72. package/dist/{chunk-QQJXXNUE.cjs.map → chunk-HUNYAVJJ.cjs.map} +1 -1
  73. package/dist/{chunk-6FE3CWV6.js → chunk-IWNJ47CV.js} +3 -3
  74. package/dist/{chunk-6FE3CWV6.js.map → chunk-IWNJ47CV.js.map} +1 -1
  75. package/dist/{chunk-4HJUQVXR.js → chunk-KF5EI2IB.js} +6 -7
  76. package/dist/chunk-KF5EI2IB.js.map +1 -0
  77. package/dist/{chunk-FPWOK2CR.js → chunk-LFLFNQMQ.js} +3 -3
  78. package/dist/chunk-LFLFNQMQ.js.map +1 -0
  79. package/dist/{chunk-ZLW3243Q.cjs → chunk-LGWRJM5X.cjs} +4 -4
  80. package/dist/chunk-LGWRJM5X.cjs.map +1 -0
  81. package/dist/chunk-M2LJZXVR.js +152 -0
  82. package/dist/chunk-M2LJZXVR.js.map +1 -0
  83. package/dist/{chunk-V4FLCCD4.js → chunk-MUC6XWII.js} +3 -3
  84. package/dist/{chunk-V4FLCCD4.js.map → chunk-MUC6XWII.js.map} +1 -1
  85. package/dist/{chunk-RHLDDKX6.js → chunk-NV3P6XBU.js} +98 -29
  86. package/dist/chunk-NV3P6XBU.js.map +1 -0
  87. package/dist/{chunk-YOPRPXER.cjs → chunk-NZN6OX4H.cjs} +4 -4
  88. package/dist/{chunk-YOPRPXER.cjs.map → chunk-NZN6OX4H.cjs.map} +1 -1
  89. package/dist/{chunk-EKWD4ODT.cjs → chunk-OZMUKLXN.cjs} +4 -4
  90. package/dist/{chunk-EKWD4ODT.cjs.map → chunk-OZMUKLXN.cjs.map} +1 -1
  91. package/dist/{chunk-K6E7LOWZ.js → chunk-P6OWDUN7.js} +3 -3
  92. package/dist/{chunk-K6E7LOWZ.js.map → chunk-P6OWDUN7.js.map} +1 -1
  93. package/dist/{chunk-PINOAERX.js → chunk-QNDU44PQ.js} +3 -3
  94. package/dist/{chunk-PINOAERX.js.map → chunk-QNDU44PQ.js.map} +1 -1
  95. package/dist/{chunk-KLVBTRLR.js → chunk-R2FAPJMZ.js} +84 -12
  96. package/dist/chunk-R2FAPJMZ.js.map +1 -0
  97. package/dist/{chunk-AKDJSXVJ.cjs → chunk-RTQEMQIC.cjs} +4 -4
  98. package/dist/{chunk-AKDJSXVJ.cjs.map → chunk-RTQEMQIC.cjs.map} +1 -1
  99. package/dist/{chunk-4JCVPUXF.cjs → chunk-S5XEXK36.cjs} +104 -35
  100. package/dist/chunk-S5XEXK36.cjs.map +1 -0
  101. package/dist/{chunk-JJXTE2SL.cjs → chunk-SB7AVZQU.cjs} +4 -4
  102. package/dist/{chunk-JJXTE2SL.cjs.map → chunk-SB7AVZQU.cjs.map} +1 -1
  103. package/dist/{chunk-EBCZUGUX.js → chunk-SJZ66FD5.js} +4 -4
  104. package/dist/chunk-SJZ66FD5.js.map +1 -0
  105. package/dist/chunk-T526LPBK.js +6 -0
  106. package/dist/chunk-T526LPBK.js.map +1 -0
  107. package/dist/{chunk-M3UUJIMO.js → chunk-U7CANHDD.js} +3 -3
  108. package/dist/{chunk-M3UUJIMO.js.map → chunk-U7CANHDD.js.map} +1 -1
  109. package/dist/{chunk-HNP33VR5.cjs → chunk-UQWVZTEA.cjs} +3 -3
  110. package/dist/chunk-UQWVZTEA.cjs.map +1 -0
  111. package/dist/{chunk-YOD5F25S.js → chunk-V6QQZLEU.js} +3 -3
  112. package/dist/{chunk-YOD5F25S.js.map → chunk-V6QQZLEU.js.map} +1 -1
  113. package/dist/{chunk-GENABZQ3.js → chunk-VTC3FL4B.js} +3 -3
  114. package/dist/{chunk-GENABZQ3.js.map → chunk-VTC3FL4B.js.map} +1 -1
  115. package/dist/{chunk-IBELIKBL.js → chunk-WXGYFLFX.js} +3 -3
  116. package/dist/{chunk-IBELIKBL.js.map → chunk-WXGYFLFX.js.map} +1 -1
  117. package/dist/{chunk-ANRUSNYD.cjs → chunk-X6BQTEIT.cjs} +4 -4
  118. package/dist/{chunk-ANRUSNYD.cjs.map → chunk-X6BQTEIT.cjs.map} +1 -1
  119. package/dist/{chunk-WFBQUWRC.js → chunk-XMC355U2.js} +10 -3
  120. package/dist/chunk-XMC355U2.js.map +1 -0
  121. package/dist/{chunk-N3GNUFMA.cjs → chunk-XPQBE77T.cjs} +6 -7
  122. package/dist/chunk-XPQBE77T.cjs.map +1 -0
  123. package/dist/{chunk-SWJHENEP.cjs → chunk-YHMW7CZF.cjs} +84 -11
  124. package/dist/chunk-YHMW7CZF.cjs.map +1 -0
  125. package/dist/{chunk-UREIP7XG.js → chunk-YVC4NGW2.js} +3 -3
  126. package/dist/{chunk-UREIP7XG.js.map → chunk-YVC4NGW2.js.map} +1 -1
  127. package/dist/{chunk-UFQVOZZ6.cjs → chunk-Z76DIRLA.cjs} +55 -5
  128. package/dist/chunk-Z76DIRLA.cjs.map +1 -0
  129. package/dist/{chunk-ZAPK7HZS.js → chunk-ZCODWFCC.js} +3 -3
  130. package/dist/{chunk-ZAPK7HZS.js.map → chunk-ZCODWFCC.js.map} +1 -1
  131. package/dist/constants/index.cjs +2 -2
  132. package/dist/constants/index.d.cts +7 -1
  133. package/dist/constants/index.d.ts +7 -1
  134. package/dist/constants/index.js +1 -1
  135. package/dist/{createGenericFetchClient-D4tfhW6Z.d.ts → createGenericFetchClient-B2Gp1a8f.d.ts} +1 -1
  136. package/dist/{createGenericFetchClient-CrB9cdk8.d.cts → createGenericFetchClient-DJ-oaxPj.d.cts} +1 -1
  137. package/dist/{createOpenapiFetchClient-DLA4-_yg.d.ts → createOpenapiFetchClient-BMaILWyq.d.ts} +1 -1
  138. package/dist/{createOpenapiFetchClient-zK2SckO2.d.cts → createOpenapiFetchClient-DQL2ZYNb.d.cts} +1 -1
  139. package/dist/dataScience/index.cjs +4 -4
  140. package/dist/dataScience/index.d.cts +1 -1
  141. package/dist/dataScience/index.d.ts +1 -1
  142. package/dist/dataScience/index.js +2 -2
  143. package/dist/domain/permissions/index.d.cts +3 -3
  144. package/dist/domain/permissions/index.d.ts +3 -3
  145. package/dist/editor/index.cjs +3 -3
  146. package/dist/editor/index.d.cts +1 -1
  147. package/dist/editor/index.d.ts +1 -1
  148. package/dist/editor/index.js +2 -2
  149. package/dist/encryption/index.d.cts +3 -3
  150. package/dist/encryption/index.d.ts +3 -3
  151. package/dist/encryption/types.d.cts +2 -2
  152. package/dist/encryption/types.d.ts +2 -2
  153. package/dist/import/index.cjs +3 -3
  154. package/dist/import/index.d.cts +1 -1
  155. package/dist/import/index.d.ts +1 -1
  156. package/dist/import/index.js +2 -2
  157. package/dist/index.cjs +1586 -893
  158. package/dist/index.cjs.map +1 -1
  159. package/dist/index.d.cts +1410 -1029
  160. package/dist/index.d.ts +1410 -1029
  161. package/dist/index.js +1540 -878
  162. package/dist/index.js.map +1 -1
  163. package/dist/management/index.cjs +3 -3
  164. package/dist/management/index.d.cts +29 -41
  165. package/dist/management/index.d.ts +29 -41
  166. package/dist/management/index.js +1 -1
  167. package/dist/management/types.d.cts +3 -7
  168. package/dist/management/types.d.ts +3 -7
  169. package/dist/metastore/index.cjs +3 -3
  170. package/dist/metastore/index.d.cts +13 -32
  171. package/dist/metastore/index.d.ts +13 -32
  172. package/dist/metastore/index.js +2 -2
  173. package/dist/metastore/types.d.cts +1 -1
  174. package/dist/metastore/types.d.ts +1 -1
  175. package/dist/notifications/index.cjs +3 -3
  176. package/dist/notifications/index.d.cts +1 -1
  177. package/dist/notifications/index.d.ts +1 -1
  178. package/dist/notifications/index.js +2 -2
  179. package/dist/oauth/index.cjs +3 -3
  180. package/dist/oauth/index.d.cts +1 -1
  181. package/dist/oauth/index.d.ts +1 -1
  182. package/dist/oauth/index.js +2 -2
  183. package/dist/{project-Bj7A_TSe.d.ts → project-BpTHlKfO.d.ts} +2 -2
  184. package/dist/{project-CX3TEH8A.d.cts → project-DEFMKeAm.d.cts} +2 -2
  185. package/dist/queryService/index.cjs +3 -3
  186. package/dist/queryService/index.d.cts +1 -1
  187. package/dist/queryService/index.d.ts +1 -1
  188. package/dist/queryService/index.js +2 -2
  189. package/dist/queue/index.cjs +3 -3
  190. package/dist/queue/index.d.cts +1 -1
  191. package/dist/queue/index.d.ts +1 -1
  192. package/dist/queue/index.js +2 -2
  193. package/dist/{registry-BLItWxbK.d.ts → registry-v_1krdcs.d.cts} +136 -1
  194. package/dist/{registry-BLItWxbK.d.cts → registry-v_1krdcs.d.ts} +136 -1
  195. package/dist/scheduler/index.cjs +3 -3
  196. package/dist/scheduler/index.d.cts +1 -1
  197. package/dist/scheduler/index.d.ts +1 -1
  198. package/dist/scheduler/index.js +2 -2
  199. package/dist/sdk/configurations/index.cjs +3 -3
  200. package/dist/sdk/configurations/index.d.cts +417 -25
  201. package/dist/sdk/configurations/index.d.ts +417 -25
  202. package/dist/sdk/configurations/index.js +2 -2
  203. package/dist/sdk/semanticLayer/index.cjs +18 -0
  204. package/dist/sdk/semanticLayer/index.cjs.map +1 -0
  205. package/dist/sdk/semanticLayer/index.d.cts +36 -0
  206. package/dist/sdk/semanticLayer/index.d.ts +36 -0
  207. package/dist/sdk/semanticLayer/index.js +5 -0
  208. package/dist/sdk/semanticLayer/index.js.map +1 -0
  209. package/dist/sdk/semanticLayer/types.cjs +4 -0
  210. package/dist/sdk/semanticLayer/types.cjs.map +1 -0
  211. package/dist/sdk/semanticLayer/types.d.cts +132 -0
  212. package/dist/sdk/semanticLayer/types.d.ts +132 -0
  213. package/dist/sdk/semanticLayer/types.js +3 -0
  214. package/dist/sdk/semanticLayer/types.js.map +1 -0
  215. package/dist/sdk/storage/index.cjs +11 -11
  216. package/dist/sdk/storage/index.d.cts +7 -7
  217. package/dist/sdk/storage/index.d.ts +7 -7
  218. package/dist/sdk/storage/index.js +1 -1
  219. package/dist/sdk/tag/index.cjs +4 -3
  220. package/dist/sdk/tag/index.d.cts +6 -6
  221. package/dist/sdk/tag/index.d.ts +6 -6
  222. package/dist/sdk/tag/index.js +3 -2
  223. package/dist/sdk/tag/types.d.cts +4 -4
  224. package/dist/sdk/tag/types.d.ts +4 -4
  225. package/dist/sdk/vault/index.cjs +8 -8
  226. package/dist/sdk/vault/index.d.cts +4 -4
  227. package/dist/sdk/vault/index.d.ts +4 -4
  228. package/dist/sdk/vault/index.js +2 -2
  229. package/dist/status/index.d.cts +1 -1
  230. package/dist/status/index.d.ts +1 -1
  231. package/dist/storage/index.cjs +5 -5
  232. package/dist/storage/index.d.cts +7 -7
  233. package/dist/storage/index.d.ts +7 -7
  234. package/dist/storage/index.js +3 -3
  235. package/dist/storage/types.d.cts +58 -5
  236. package/dist/storage/types.d.ts +58 -5
  237. package/dist/{storageClient-Cwr5Vl45.d.ts → storageClient-BONJnuhr.d.ts} +14 -7
  238. package/dist/{storageClient-D1USmiC5.d.cts → storageClient-BxgbulPW.d.cts} +14 -7
  239. package/dist/{storageSdk-Um7iSJMs.d.ts → storageSdk-CUnp67LN.d.ts} +1 -1
  240. package/dist/{storageSdk-MciYsR_e.d.cts → storageSdk-uCojVKkr.d.cts} +1 -1
  241. package/dist/stream/index.cjs +3 -3
  242. package/dist/stream/index.d.cts +1 -1
  243. package/dist/stream/index.d.ts +1 -1
  244. package/dist/stream/index.js +2 -2
  245. package/dist/syncActions/index.cjs +3 -3
  246. package/dist/syncActions/index.d.cts +2 -2
  247. package/dist/syncActions/index.d.ts +2 -2
  248. package/dist/syncActions/index.js +2 -2
  249. package/dist/telemetry/index.cjs +3 -3
  250. package/dist/telemetry/index.d.cts +2 -2
  251. package/dist/telemetry/index.d.ts +2 -2
  252. package/dist/telemetry/index.js +2 -2
  253. package/dist/{types-ClxrZC77.d.cts → types-B9SJ0cIc.d.cts} +2677 -813
  254. package/dist/{types-l_pP5J0H.d.ts → types-BM3xJvzM.d.ts} +1 -1
  255. package/dist/{types-59-LNg5i.d.cts → types-BjcRP8q1.d.cts} +1 -1
  256. package/dist/{types-o8eTf_G9.d.ts → types-BogOtZre.d.ts} +2677 -813
  257. package/dist/{types-DHCbX2uR.d.cts → types-C6gjiVpQ.d.cts} +1 -1
  258. package/dist/{types-oJnjpvPi.d.ts → types-CbEJaobw.d.ts} +1 -1
  259. package/dist/{types-YEfQ5pAy.d.cts → types-DJLceKR0.d.cts} +445 -137
  260. package/dist/{types-YEfQ5pAy.d.ts → types-DJLceKR0.d.ts} +445 -137
  261. package/dist/{types-BowqtZ7v.d.ts → types-Do0nBZbY.d.ts} +355 -108
  262. package/dist/{types-0yn6OefX.d.ts → types-DqxZDbM1.d.cts} +1 -1
  263. package/dist/{types-0yn6OefX.d.cts → types-DqxZDbM1.d.ts} +1 -1
  264. package/dist/{types-BCPmAXOQ.d.cts → types-VK3k4Z6R.d.cts} +355 -108
  265. package/dist/vault/index.cjs +3 -3
  266. package/dist/vault/index.d.cts +1 -1
  267. package/dist/vault/index.d.ts +1 -1
  268. package/dist/vault/index.js +2 -2
  269. package/package.json +28 -2
  270. package/surface/auth.md +2 -2
  271. package/surface/chat.md +1 -1
  272. package/surface/dataScience.md +1 -1
  273. package/surface/editor.md +5 -5
  274. package/surface/kaiAgent.md +1 -1
  275. package/surface/management.md +15 -4
  276. package/surface/metastore.md +10 -10
  277. package/surface/queue.md +1 -1
  278. package/surface/sdk.md +19 -6
  279. package/surface/storage.md +11 -3
  280. package/surface/stream.md +7 -7
  281. package/dist/authMiddleware-BcRYj3eQ.d.cts +0 -5
  282. package/dist/authMiddleware-CirRGURb.d.ts +0 -5
  283. package/dist/chunk-4HJUQVXR.js.map +0 -1
  284. package/dist/chunk-4JCVPUXF.cjs.map +0 -1
  285. package/dist/chunk-AWRMGLMT.cjs.map +0 -1
  286. package/dist/chunk-BR3SBEFE.cjs.map +0 -1
  287. package/dist/chunk-CVV4HROS.cjs.map +0 -1
  288. package/dist/chunk-EBCZUGUX.js.map +0 -1
  289. package/dist/chunk-FPWOK2CR.js.map +0 -1
  290. package/dist/chunk-HNP33VR5.cjs.map +0 -1
  291. package/dist/chunk-JURD5MC3.js.map +0 -1
  292. package/dist/chunk-KLVBTRLR.js.map +0 -1
  293. package/dist/chunk-KQ2QNGRX.js.map +0 -1
  294. package/dist/chunk-N3GNUFMA.cjs.map +0 -1
  295. package/dist/chunk-RHLDDKX6.js.map +0 -1
  296. package/dist/chunk-SWJHENEP.cjs.map +0 -1
  297. package/dist/chunk-TTPJSPZA.cjs.map +0 -1
  298. package/dist/chunk-UFQVOZZ6.cjs.map +0 -1
  299. package/dist/chunk-WFBQUWRC.js.map +0 -1
  300. package/dist/chunk-WJRHT346.js.map +0 -1
  301. package/dist/chunk-YUTWLJBK.js.map +0 -1
  302. package/dist/chunk-ZLW3243Q.cjs.map +0 -1
  303. package/dist/schemas-CraXbXke.d.cts +0 -74
  304. package/dist/schemas-CraXbXke.d.ts +0 -74
  305. package/dist/{backends-Bofq_Nr0.d.cts → adminRoles-Cil1lavB.d.cts} +6 -6
  306. package/dist/{backends-Bofq_Nr0.d.ts → adminRoles-Cil1lavB.d.ts} +6 -6
@@ -615,6 +615,26 @@ type paths = {
615
615
  patch?: never;
616
616
  trace?: never;
617
617
  };
618
+ '/manage/internal/auth-bridge/exchange-oauth-token': {
619
+ parameters: {
620
+ query?: never;
621
+ header?: never;
622
+ path?: never;
623
+ cookie?: never;
624
+ };
625
+ get?: never;
626
+ put?: never;
627
+ /**
628
+ * Exchange a league OAuth token for a programmatic session (auth bridge)
629
+ * @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.
630
+ */
631
+ post: operations['post_/manage/internal/auth-bridge/exchange-oauth-token::AuthBridgeOAuthExchangeAction'];
632
+ delete?: never;
633
+ options?: never;
634
+ head?: never;
635
+ patch?: never;
636
+ trace?: never;
637
+ };
618
638
  '/manage/internal/auth-bridge/resolve-storage-token': {
619
639
  parameters: {
620
640
  query?: never;
@@ -1868,7 +1888,7 @@ type paths = {
1868
1888
  put?: never;
1869
1889
  /**
1870
1890
  * Set project limits
1871
- * @description Changing project limits is allowed only for a super admin.
1891
+ * @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
1892
  */
1873
1893
  post: operations['post_/manage/projects/{projectId}/limits::ProjectSetLimitsAction'];
1874
1894
  delete?: never;
@@ -1993,31 +2013,6 @@ type paths = {
1993
2013
  patch?: never;
1994
2014
  trace?: never;
1995
2015
  };
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
2016
  '/manage/storage-backend/bigquery': {
2022
2017
  parameters: {
2023
2018
  query?: never;
@@ -2069,6 +2064,66 @@ type paths = {
2069
2064
  patch: operations['patch_/manage/storage-backend/{id}::StorageBackendUpdateAction'];
2070
2065
  trace?: never;
2071
2066
  };
2067
+ '/manage/storage-backend': {
2068
+ parameters: {
2069
+ query?: never;
2070
+ header?: never;
2071
+ path?: never;
2072
+ cookie?: never;
2073
+ };
2074
+ /**
2075
+ * List backends
2076
+ * @description Returns the list of registered storage backends (Snowflake, BigQuery).
2077
+ */
2078
+ get: operations['get_/manage/storage-backend::StorageBackendListAction'];
2079
+ put?: never;
2080
+ post?: never;
2081
+ delete?: never;
2082
+ options?: never;
2083
+ head?: never;
2084
+ patch?: never;
2085
+ trace?: never;
2086
+ };
2087
+ '/manage/storage-backend/{id}/maintainers': {
2088
+ parameters: {
2089
+ query?: never;
2090
+ header?: never;
2091
+ path?: never;
2092
+ cookie?: never;
2093
+ };
2094
+ /**
2095
+ * List backend maintainers
2096
+ * @description Returns the maintainers that have the storage backend identified by its numeric ID configured as one of their default backend connections.
2097
+ */
2098
+ get: operations['get_/manage/storage-backend/{id}/maintainers::StorageBackendMaintainerListAction'];
2099
+ put?: never;
2100
+ post?: never;
2101
+ delete?: never;
2102
+ options?: never;
2103
+ head?: never;
2104
+ patch?: never;
2105
+ trace?: never;
2106
+ };
2107
+ '/manage/storage-backend/{id}/projects': {
2108
+ parameters: {
2109
+ query?: never;
2110
+ header?: never;
2111
+ path?: never;
2112
+ cookie?: never;
2113
+ };
2114
+ /**
2115
+ * List backend projects
2116
+ * @description Returns the projects assigned to the storage backend identified by its numeric ID. Synapse-assigned projects are not counted (deprecated backend, intentionally excluded).
2117
+ */
2118
+ get: operations['get_/manage/storage-backend/{id}/projects::StorageBackendProjectListAction'];
2119
+ put?: never;
2120
+ post?: never;
2121
+ delete?: never;
2122
+ options?: never;
2123
+ head?: never;
2124
+ patch?: never;
2125
+ trace?: never;
2126
+ };
2072
2127
  '/manage/storage-backend/{id}/bigquery': {
2073
2128
  parameters: {
2074
2129
  query?: never;
@@ -2821,6 +2876,12 @@ type components = {
2821
2876
  designAdminEmail?: string | null;
2822
2877
  /** @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
2878
  permittedEmailDomains: string[];
2879
+ /**
2880
+ * @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.
2881
+ * @example permittedDomains
2882
+ * @enum {string|null}
2883
+ */
2884
+ membershipRestriction?: 'none' | 'permittedDomains' | null;
2824
2885
  };
2825
2886
  SamlConfigCreateRequest: {
2826
2887
  /**
@@ -2838,6 +2899,12 @@ type components = {
2838
2899
  * @example SAML SSO for Acme employees using Okta
2839
2900
  */
2840
2901
  description?: string | null;
2902
+ /**
2903
+ * @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.
2904
+ * @example permittedDomains
2905
+ * @enum {string|null}
2906
+ */
2907
+ membershipRestriction?: 'none' | 'permittedDomains' | null;
2841
2908
  };
2842
2909
  SamlConfigUpdateRequest: {
2843
2910
  name?: string | null;
@@ -2863,6 +2930,11 @@ type components = {
2863
2930
  loginUrlParams?: Record<string, never> | null;
2864
2931
  /** @description Replace the allowed email domains (at least one). Omit to leave unchanged. */
2865
2932
  permittedEmailDomains?: string[] | null;
2933
+ /**
2934
+ * @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.
2935
+ * @enum {string|null}
2936
+ */
2937
+ membershipRestriction?: 'none' | 'permittedDomains' | null;
2866
2938
  };
2867
2939
  OrganizationMetadataRequest: {
2868
2940
  /**
@@ -3046,18 +3118,19 @@ type components = {
3046
3118
  */
3047
3119
  bqExternalSharingRoleName?: string | null;
3048
3120
  };
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. */
3121
+ StorageBackendProjectListRequest: {
3122
+ /** @description Maximum number of projects to return. Default value: 100. */
3123
+ limit?: number | null;
3124
+ /** @description Pagination offset. Default value: 0. */
3125
+ offset?: number | null;
3126
+ };
3127
+ /** @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
3128
  StorageBackendUpdateRequest: {
3051
3129
  /**
3052
3130
  * @description Backend username.
3053
3131
  * @example keboola
3054
3132
  */
3055
3133
  username?: string | null;
3056
- /**
3057
- * @description Backend password.
3058
- * @example 1234
3059
- */
3060
- password?: string | null;
3061
3134
  /**
3062
3135
  * @description Only for backends supporting dynamic sizing (Snowflake). When enabled, new projects get dynamic backends assigned automatically.
3063
3136
  * @example false
@@ -3426,6 +3499,17 @@ type components = {
3426
3499
  deletedTime: string;
3427
3500
  /** Format: date-time */
3428
3501
  purgedTime?: string | null;
3502
+ /** @description Organization the project belongs to. */
3503
+ organization: {
3504
+ id?: number;
3505
+ name?: string;
3506
+ /** Format: date-time */
3507
+ created?: string;
3508
+ allowAutoJoin?: boolean;
3509
+ crmId?: string | null;
3510
+ activityCenterProjectId?: number | null;
3511
+ mfaRequired?: boolean;
3512
+ };
3429
3513
  };
3430
3514
  DeletedProjectsListResponse: components['schemas']['DeletedProjectResponse'][];
3431
3515
  /**
@@ -3656,6 +3740,24 @@ type components = {
3656
3740
  name?: string;
3657
3741
  };
3658
3742
  };
3743
+ UserLoggedInResponse: {
3744
+ id: number;
3745
+ email: string;
3746
+ name: string;
3747
+ };
3748
+ CliTokenResponse: {
3749
+ /** @description Opaque bearer access token for API authentication. */
3750
+ accessToken: string;
3751
+ /** @description Refresh token for obtaining new access tokens. */
3752
+ refreshToken: string;
3753
+ /** @description Token type. Always "Bearer". */
3754
+ tokenType: string;
3755
+ /** @description Access token lifetime in seconds. */
3756
+ expiresIn: number;
3757
+ /** @description Unique session identifier. */
3758
+ sessionId: string;
3759
+ user: components['schemas']['UserLoggedInResponse'];
3760
+ };
3659
3761
  TokenVerifyResponse: {
3660
3762
  id: string;
3661
3763
  /** @description Optional provided only in specific cases. */
@@ -4611,6 +4713,26 @@ type components = {
4611
4713
  /** @description SAML2 public key for security integration (only present when SSO is enabled) */
4612
4714
  securityIntegrationKey?: string | null;
4613
4715
  };
4716
+ StorageBackendBigqueryResponse: {
4717
+ /** @description Root credentials identifier. */
4718
+ id: number;
4719
+ /** @description Storage backend type. Always "bigquery" for this response. */
4720
+ backend: string;
4721
+ /** @description Backend region. */
4722
+ region: string;
4723
+ /** @description Associated GCP account owner (e.g. keboola, client-<name>). */
4724
+ owner: string;
4725
+ /** @description Technical owner who manages the account. One of: keboola, internal, kbdb, byodb. */
4726
+ technicalOwner: string;
4727
+ /** @description Contact emails of the technical owner. */
4728
+ technicalOwnerContactEmails: string[];
4729
+ /** @description GCP service account credentials in JSON form. */
4730
+ credentials?: Record<string, never> | null;
4731
+ /** @description GCP folder identifier under which projects are created. */
4732
+ folderId?: string | null;
4733
+ /** @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. */
4734
+ bqExternalSharingRoleName?: string | null;
4735
+ };
4614
4736
  StorageBackendDetailResponse: {
4615
4737
  /** @description Root credentials identifier. */
4616
4738
  id: number;
@@ -4673,28 +4795,43 @@ type components = {
4673
4795
  isSsoConfigured?: boolean | null;
4674
4796
  /** @description Array of technical owner contact emails for SAML2 certificate rotation notifications. */
4675
4797
  technicalOwnerContactEmails: string[];
4798
+ /** @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). */
4799
+ assignedProjectsCount: number;
4800
+ /** @description Number of maintainers with this backend as a default connection. */
4801
+ assignedMaintainersCount: number;
4802
+ /** @description Detail endpoint only (absent on the list endpoint). Backend internal login type, e.g. default, snowflake-service-keypair, snowflake-person-keypair. */
4803
+ loginType: string;
4804
+ /**
4805
+ * Format: date-time
4806
+ * @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.
4807
+ */
4808
+ keyPairLastRotatedAt?: string | null;
4676
4809
  };
4677
4810
  StorageBackendListResponse: components['schemas']['StorageBackendDetailResponse'][];
4678
- StorageBackendBigqueryResponse: {
4679
- /** @description Root credentials identifier. */
4811
+ StorageBackendMaintainerListResponse: {
4812
+ /**
4813
+ * @description Maintainer identifier.
4814
+ * @example 1
4815
+ */
4680
4816
  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
- };
4817
+ /**
4818
+ * @description Maintainer name.
4819
+ * @example Test maintainer
4820
+ */
4821
+ name: string;
4822
+ }[];
4823
+ StorageBackendProjectListResponse: {
4824
+ /**
4825
+ * @description Project identifier.
4826
+ * @example 771
4827
+ */
4828
+ id: number;
4829
+ /**
4830
+ * @description Project name.
4831
+ * @example Test project
4832
+ */
4833
+ name: string;
4834
+ }[];
4698
4835
  /**
4699
4836
  * @example {
4700
4837
  * "id": 13702,
@@ -5759,7 +5896,13 @@ type operations = {
5759
5896
  * "isDeleted": true,
5760
5897
  * "deletedTime": "2018-02-11T14:25:15+0100",
5761
5898
  * "purgedTime": null,
5762
- * "isBYODB": false
5899
+ * "isBYODB": false,
5900
+ * "organization": {
5901
+ * "id": 1,
5902
+ * "name": "Keboola Tests",
5903
+ * "created": "",
5904
+ * "allowAutoJoin": true
5905
+ * }
5763
5906
  * }
5764
5907
  */
5765
5908
  'application/json': components['schemas']['DeletedProjectResponse'];
@@ -6111,7 +6254,7 @@ type operations = {
6111
6254
  };
6112
6255
  content?: never;
6113
6256
  };
6114
- /** @description Returned when the current admin is not a super admin. */
6257
+ /** @description Returned when the current admin is neither a super admin nor holds the can-manage-features feature. */
6115
6258
  403: {
6116
6259
  headers: {
6117
6260
  [name: string]: unknown;
@@ -6455,7 +6598,7 @@ type operations = {
6455
6598
  };
6456
6599
  content?: never;
6457
6600
  };
6458
- /** @description Returned when the current admin is not a super admin. */
6601
+ /** @description Returned when the current admin is neither a super admin nor holds the can-manage-features feature. */
6459
6602
  403: {
6460
6603
  headers: {
6461
6604
  [name: string]: unknown;
@@ -7161,6 +7304,43 @@ type operations = {
7161
7304
  };
7162
7305
  };
7163
7306
  };
7307
+ 'post_/manage/internal/auth-bridge/exchange-oauth-token::AuthBridgeOAuthExchangeAction': {
7308
+ parameters: {
7309
+ query?: never;
7310
+ header: {
7311
+ /** @description League OAuth `claudai` access token to exchange. */
7312
+ 'X-Subject-Token': string;
7313
+ };
7314
+ path?: never;
7315
+ cookie?: never;
7316
+ };
7317
+ requestBody?: never;
7318
+ responses: {
7319
+ /** @description Programmatic session issued. */
7320
+ 200: {
7321
+ headers: {
7322
+ [name: string]: unknown;
7323
+ };
7324
+ content: {
7325
+ 'application/json': components['schemas']['CliTokenResponse'];
7326
+ };
7327
+ };
7328
+ /** @description Returned when the subject token is missing, invalid, or not bound to an active admin. */
7329
+ 401: {
7330
+ headers: {
7331
+ [name: string]: unknown;
7332
+ };
7333
+ content?: never;
7334
+ };
7335
+ /** @description Returned when the caller is not Kubernetes-authenticated or the token lacks the required scope. */
7336
+ 403: {
7337
+ headers: {
7338
+ [name: string]: unknown;
7339
+ };
7340
+ content?: never;
7341
+ };
7342
+ };
7343
+ };
7164
7344
  'post_/manage/internal/auth-bridge/resolve-storage-token::AuthBridgeStorageTokenResolveAction': {
7165
7345
  parameters: {
7166
7346
  query?: never;
@@ -8305,8 +8485,16 @@ type operations = {
8305
8485
  customerSlug?: string;
8306
8486
  name?: string;
8307
8487
  isActive?: boolean;
8488
+ /** @enum {string} */
8489
+ membershipRestriction?: 'none' | 'permittedDomains';
8308
8490
  message?: string;
8309
8491
  loginUrl?: string;
8492
+ /** @description Present when membershipRestriction is permittedDomains and organizations under the maintainer still allow Auto Join. */
8493
+ warnings?: {
8494
+ code?: string;
8495
+ message?: string;
8496
+ organizationIds?: number[];
8497
+ }[];
8310
8498
  };
8311
8499
  };
8312
8500
  };
@@ -8555,7 +8743,15 @@ type operations = {
8555
8743
  id?: number;
8556
8744
  maintainerId?: number;
8557
8745
  customerSlug?: string;
8746
+ /** @enum {string} */
8747
+ membershipRestriction?: 'none' | 'permittedDomains';
8558
8748
  message?: string;
8749
+ /** @description Present when membershipRestriction is permittedDomains and organizations under the maintainer still allow Auto Join. */
8750
+ warnings?: {
8751
+ code?: string;
8752
+ message?: string;
8753
+ organizationIds?: number[];
8754
+ }[];
8559
8755
  };
8560
8756
  };
8561
8757
  };
@@ -10178,6 +10374,13 @@ type operations = {
10178
10374
  };
10179
10375
  content?: never;
10180
10376
  };
10377
+ /** @description Returned when the token does not have permission to list project templates. */
10378
+ 403: {
10379
+ headers: {
10380
+ [name: string]: unknown;
10381
+ };
10382
+ content?: never;
10383
+ };
10181
10384
  };
10182
10385
  };
10183
10386
  'delete_/manage/project-templates/{templateId}/features/{featureName}::ProjectTemplateRemoveFeatureAction': {
@@ -12521,7 +12724,7 @@ type operations = {
12521
12724
  };
12522
12725
  content?: never;
12523
12726
  };
12524
- /** @description Returned when the token does not have permission to set project limits (super admin only). */
12727
+ /** @description Returned when the token cannot set project limits, or a non-super-admin attempts to set a limit outside the managed whitelist. */
12525
12728
  403: {
12526
12729
  headers: {
12527
12730
  [name: string]: unknown;
@@ -12779,74 +12982,6 @@ type operations = {
12779
12982
  };
12780
12983
  };
12781
12984
  };
12782
- 'get_/manage/storage-backend::StorageBackendListAction': {
12783
- parameters: {
12784
- query?: never;
12785
- header?: never;
12786
- path?: never;
12787
- cookie?: never;
12788
- };
12789
- requestBody?: never;
12790
- responses: {
12791
- /** @description Storage backend credentials list. */
12792
- 200: {
12793
- headers: {
12794
- [name: string]: unknown;
12795
- };
12796
- content: {
12797
- 'application/json': components['schemas']['StorageBackendListResponse'];
12798
- };
12799
- };
12800
- /** @description Returned when the Manage token is missing or invalid. */
12801
- 401: {
12802
- headers: {
12803
- [name: string]: unknown;
12804
- };
12805
- content?: never;
12806
- };
12807
- /** @description Returned when the current admin is not a super admin. */
12808
- 403: {
12809
- headers: {
12810
- [name: string]: unknown;
12811
- };
12812
- content?: never;
12813
- };
12814
- };
12815
- };
12816
- 'post_/manage/storage-backend::StorageBackendCreateAction': {
12817
- parameters: {
12818
- query?: never;
12819
- header?: never;
12820
- path?: never;
12821
- cookie?: never;
12822
- };
12823
- requestBody?: never;
12824
- responses: {
12825
- /** @description Storage backend credentials created. */
12826
- 200: {
12827
- headers: {
12828
- [name: string]: unknown;
12829
- };
12830
- content: {
12831
- 'application/json': components['schemas']['StorageBackendResponse'];
12832
- };
12833
- };
12834
- /** @description Returned when the backend is not supported or connection test fails. */
12835
- 400: {
12836
- headers: {
12837
- [name: string]: unknown;
12838
- };
12839
- content?: never;
12840
- };
12841
- /** @description Returned when support for the backend was discontinued. */
12842
- 409: {
12843
- headers: {
12844
- [name: string]: unknown;
12845
- };
12846
- content?: never;
12847
- };
12848
- };
12849
- };
12850
12985
  'post_/manage/storage-backend/bigquery::StorageBackendCreateBigqueryAction': {
12851
12986
  parameters: {
12852
12987
  query?: never;
@@ -13080,6 +13215,145 @@ type operations = {
13080
13215
  };
13081
13216
  };
13082
13217
  };
13218
+ 'get_/manage/storage-backend::StorageBackendListAction': {
13219
+ parameters: {
13220
+ query?: never;
13221
+ header?: never;
13222
+ path?: never;
13223
+ cookie?: never;
13224
+ };
13225
+ requestBody?: never;
13226
+ responses: {
13227
+ /** @description Storage backend credentials list. */
13228
+ 200: {
13229
+ headers: {
13230
+ [name: string]: unknown;
13231
+ };
13232
+ content: {
13233
+ 'application/json': components['schemas']['StorageBackendListResponse'];
13234
+ };
13235
+ };
13236
+ /** @description Returned when the Manage token is missing or invalid. */
13237
+ 401: {
13238
+ headers: {
13239
+ [name: string]: unknown;
13240
+ };
13241
+ content?: never;
13242
+ };
13243
+ /** @description Returned when the current admin is not a super admin. */
13244
+ 403: {
13245
+ headers: {
13246
+ [name: string]: unknown;
13247
+ };
13248
+ content?: never;
13249
+ };
13250
+ };
13251
+ };
13252
+ 'get_/manage/storage-backend/{id}/maintainers::StorageBackendMaintainerListAction': {
13253
+ parameters: {
13254
+ query?: never;
13255
+ header?: never;
13256
+ path: {
13257
+ /**
13258
+ * @description Backend ID.
13259
+ * @example 1
13260
+ */
13261
+ id: number;
13262
+ };
13263
+ cookie?: never;
13264
+ };
13265
+ requestBody?: never;
13266
+ responses: {
13267
+ /** @description List of maintainers with the backend set as a default connection. */
13268
+ 200: {
13269
+ headers: {
13270
+ [name: string]: unknown;
13271
+ };
13272
+ content: {
13273
+ 'application/json': components['schemas']['StorageBackendMaintainerListResponse'];
13274
+ };
13275
+ };
13276
+ /** @description Returned when the Manage token is missing or invalid. */
13277
+ 401: {
13278
+ headers: {
13279
+ [name: string]: unknown;
13280
+ };
13281
+ content?: never;
13282
+ };
13283
+ /** @description Returned when the current admin is not a super admin. */
13284
+ 403: {
13285
+ headers: {
13286
+ [name: string]: unknown;
13287
+ };
13288
+ content?: never;
13289
+ };
13290
+ /** @description Returned when the storage backend with the given ID does not exist. */
13291
+ 404: {
13292
+ headers: {
13293
+ [name: string]: unknown;
13294
+ };
13295
+ content?: never;
13296
+ };
13297
+ };
13298
+ };
13299
+ 'get_/manage/storage-backend/{id}/projects::StorageBackendProjectListAction': {
13300
+ parameters: {
13301
+ query?: {
13302
+ /**
13303
+ * @description Maximum number of projects to return. Default value: 100.
13304
+ * @example 100
13305
+ */
13306
+ limit?: number;
13307
+ /**
13308
+ * @description Pagination offset. Default value: 0.
13309
+ * @example 0
13310
+ */
13311
+ offset?: number;
13312
+ };
13313
+ header?: never;
13314
+ path: {
13315
+ /**
13316
+ * @description Backend ID.
13317
+ * @example 1
13318
+ */
13319
+ id: number;
13320
+ };
13321
+ cookie?: never;
13322
+ };
13323
+ requestBody?: never;
13324
+ responses: {
13325
+ /** @description List of projects assigned to the backend. */
13326
+ 200: {
13327
+ headers: {
13328
+ [name: string]: unknown;
13329
+ };
13330
+ content: {
13331
+ 'application/json': components['schemas']['StorageBackendProjectListResponse'];
13332
+ };
13333
+ };
13334
+ /** @description Returned when the Manage token is missing or invalid. */
13335
+ 401: {
13336
+ headers: {
13337
+ [name: string]: unknown;
13338
+ };
13339
+ content?: never;
13340
+ };
13341
+ /** @description Returned when the current admin is not a super admin. */
13342
+ 403: {
13343
+ headers: {
13344
+ [name: string]: unknown;
13345
+ };
13346
+ content?: never;
13347
+ };
13348
+ /** @description Returned when the storage backend with the given ID does not exist. */
13349
+ 404: {
13350
+ headers: {
13351
+ [name: string]: unknown;
13352
+ };
13353
+ content?: never;
13354
+ };
13355
+ };
13356
+ };
13083
13357
  'patch_/manage/storage-backend/{id}/bigquery::StorageBackendUpdateBigqueryAction': {
13084
13358
  parameters: {
13085
13359
  query?: never;
@@ -14081,19 +14355,11 @@ type operations = {
14081
14355
  };
14082
14356
 
14083
14357
  /** 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
- };
14358
+ * `GET /manage/deleted-projects/{projectId}`. The generated schema now models the owning
14359
+ * `organization` (added to the backend OpenAPI after M7 — see
14360
+ * docs/prototype-specs/m7-api-discrepancy-report.md), so no overlay is needed; note its `id`/`name`
14361
+ * members are optional in the spec, so consumers access them defensively. */
14362
+ type DeletedProject = components['schemas']['DeletedProjectResponse'];
14097
14363
  /** Query parameters accepted by `GET /manage/deleted-projects`. */
14098
14364
  type DeletedProjectsListQuery = components['schemas']['DeletedProjectsListRequest'];
14099
14365
  /** The enqueued-command response returned by `POST /manage/deleted-projects/{id}/purge`. */
@@ -14123,6 +14389,15 @@ type GetAllFeaturesQuery = {
14123
14389
  type?: FeatureType;
14124
14390
  };
14125
14391
 
14392
+ type FileStorageS3 = components['schemas']['FileStorageS3Response'];
14393
+ type FileStorageAbs = components['schemas']['FileStorageAbsResponse'];
14394
+ type FileStorageGcs = Omit<components['schemas']['FileStorageGcsResponse'], 'gcsCredentials'> & {
14395
+ gcsCredentials: Record<string, unknown>;
14396
+ };
14397
+ /** Union of all registered file storages across providers, as returned by the
14398
+ * `GET /manage/file-storage-{s3,abs,gcs}` list endpoints. */
14399
+ type FileStorage = FileStorageS3 | FileStorageAbs | FileStorageGcs;
14400
+
14126
14401
  type UpdateOrganizationBody = paths['/manage/organizations/{id}']['patch']['requestBody']['content']['application/json'] & {
14127
14402
  mfaRequired?: boolean;
14128
14403
  crmId?: string | null;
@@ -14204,6 +14479,8 @@ type MetadataItem = {
14204
14479
 
14205
14480
  /** Body for PUT /manage/projects/{projectId} — derived from the generated schema. */
14206
14481
  type UpdateProjectBody = components['schemas']['ProjectUpdateRequest'];
14482
+ /** Item of GET /manage/project-templates. */
14483
+ type ProjectTemplate = components['schemas']['ProjectTemplateResponse'];
14207
14484
  /** Body for POST /manage/projects/{projectId}/organizations. */
14208
14485
  type MoveProjectBody = paths['/manage/projects/{projectId}/organizations']['post']['requestBody']['content']['application/json'];
14209
14486
  /** Body for POST /manage/projects/{projectId}/disabled — no schema entry; hand-written per live API.
@@ -14216,6 +14493,14 @@ type SetProjectDisabledBody = {
14216
14493
  } | {
14217
14494
  isDisabled: false;
14218
14495
  };
14496
+ /** Body for `POST /manage/projects/{projectId}/limits`. Super admins may set any limit; admins
14497
+ * holding the `can-manage-project-limits` feature may set only the whitelisted subset. */
14498
+ type SetProjectLimitsBody = {
14499
+ limits: {
14500
+ name: string;
14501
+ value: number;
14502
+ }[];
14503
+ };
14219
14504
  type GetProjectPath = {
14220
14505
  projectId: number | string;
14221
14506
  };
@@ -14369,6 +14654,29 @@ type Project = {
14369
14654
  usersCount?: number;
14370
14655
  };
14371
14656
 
14657
+ /** A storage backend's full detail as returned by `GET /manage/storage-backend/{id}` — id, owner,
14658
+ * technical owner, host/URL, stats, creator and backend-kind-specific fields.
14659
+ *
14660
+ * `assignedProjectsCount` / `assignedMaintainersCount` / `loginType` are required in the generated
14661
+ * schema but weakened to optional here (live behavior > generated schema): the list endpoint
14662
+ * (`GET /manage/storage-backend`) reuses this schema while `loginType` (like
14663
+ * `keyPairLastRotatedAt`) is detail-only per the generated JSDoc, and during the pre-deploy window
14664
+ * a stack that hasn't shipped the M9.1 connection change omits all of them. Consumers access them
14665
+ * defensively; drop the overlay if the backend ever splits the list/detail response schemas. */
14666
+ type StorageBackend = Omit<components['schemas']['StorageBackendDetailResponse'], 'assignedProjectsCount' | 'assignedMaintainersCount' | 'loginType'> & {
14667
+ assignedProjectsCount?: number;
14668
+ assignedMaintainersCount?: number;
14669
+ loginType?: string;
14670
+ };
14671
+ /** A project assigned to a storage backend, as returned by
14672
+ * `GET /manage/storage-backend/{id}/projects`. */
14673
+ type StorageBackendProject = components['schemas']['StorageBackendProjectListResponse'][number];
14674
+ /** A maintainer assigned to a storage backend, as returned by
14675
+ * `GET /manage/storage-backend/{id}/maintainers`. */
14676
+ type StorageBackendMaintainer = components['schemas']['StorageBackendMaintainerListResponse'][number];
14677
+ /** Query parameters accepted by `GET /manage/storage-backend/{id}/projects`. */
14678
+ type GetStorageBackendProjectsQuery = NonNullable<operations['get_/manage/storage-backend/{id}/projects::StorageBackendProjectListAction']['parameters']['query']>;
14679
+
14372
14680
  type AddUserFeaturePath = {
14373
14681
  userIdOrMail: string;
14374
14682
  };
@@ -14391,4 +14699,4 @@ type User = {
14391
14699
  canApproveMergeRequests: boolean;
14392
14700
  };
14393
14701
 
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 };
14702
+ export type { ProjectTemplate 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, ListProjectUsersPath as I, MaintainerDetail as J, MaintainerInvitationDetail as K, ListProjectInvitationsPath as L, Maintainer as M, MaintainerUser as N, MetadataItem as O, MoveProjectBody as P, Organization as Q, OrganizationDetail as R, OrganizationInvitationDetail as S, OrganizationListItem as T, OrganizationMaintainer as U, OrganizationProject as V, Project as W, ProjectInvitableRole as X, ProjectInvitationDetail as Y, ProjectMetadataInput as Z, ProjectMetadataItem as _, AddOrganizationUserBody as a, RemoveProjectFeaturePath as a0, RemoveProjectUserPath as a1, RemoveUserFeaturePath as a2, Reviewer as a3, SetMaintainerMetadataBody as a4, SetOrganizationMetadataBody as a5, SetProjectDisabledBody as a6, SetProjectLimitsBody as a7, SetProjectMetadataBody as a8, SetProjectMetadataPath as a9, SetProjectReviewersBody as aa, SetProjectReviewersPath as ab, StorageBackend as ac, StorageBackendMaintainer as ad, StorageBackendProject as ae, UpdateMaintainerBody as af, UpdateOrganizationBody as ag, UpdateProjectBody as ah, User as ai, 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 };