@keboola/api-client 39.0.0 → 41.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 (522) hide show
  1. package/AGENTS.md +121 -100
  2. package/API-SURFACE.md +27 -2
  3. package/CHANGELOG.md +129 -0
  4. package/README.md +3 -3
  5. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs → ManagementClientAuthError-DE7lNGZQ.cjs} +2 -2
  6. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs.map → ManagementClientAuthError-DE7lNGZQ.cjs.map} +1 -1
  7. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js → ManagementClientAuthError-H30lti_Q.js} +2 -2
  8. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js.map → ManagementClientAuthError-H30lti_Q.js.map} +1 -1
  9. package/dist/{ValidationError-CLVJCCwH.cjs → ValidationError-D65QU0uq.cjs} +10 -16
  10. package/dist/ValidationError-D65QU0uq.cjs.map +1 -0
  11. package/dist/ValidationError-DjhtNMfZ.js +42 -0
  12. package/dist/ValidationError-DjhtNMfZ.js.map +1 -0
  13. package/dist/ai/index.cjs +2 -2
  14. package/dist/ai/index.d.cts +2 -2
  15. package/dist/ai/index.d.ts +2 -2
  16. package/dist/ai/index.js +2 -2
  17. package/dist/ai/types.d.cts +1 -1
  18. package/dist/ai/types.d.ts +1 -1
  19. package/dist/{appLogs-C_zP0lpv.cjs → appLogs-B9zFJIuy.cjs} +2 -2
  20. package/dist/{appLogs-C_zP0lpv.cjs.map → appLogs-B9zFJIuy.cjs.map} +1 -1
  21. package/dist/{appLogs-Cl7Q_MR9.js → appLogs-BBkkUOW1.js} +2 -2
  22. package/dist/{appLogs-Cl7Q_MR9.js.map → appLogs-BBkkUOW1.js.map} +1 -1
  23. package/dist/{appLogs-Ch7DYpzx.d.ts → appLogs-BS6ViVGR.d.ts} +2 -2
  24. package/dist/{appLogs-D5A13Y0y.d.cts → appLogs-C9YlJ2g8.d.cts} +2 -2
  25. package/dist/apps/index.cjs +30 -56
  26. package/dist/apps/index.cjs.map +1 -1
  27. package/dist/apps/index.d.cts +8 -13
  28. package/dist/apps/index.d.ts +8 -13
  29. package/dist/apps/index.js +30 -56
  30. package/dist/apps/index.js.map +1 -1
  31. package/dist/apps/types.d.cts +2 -2
  32. package/dist/apps/types.d.ts +2 -2
  33. package/dist/assets/index.cjs +1 -1
  34. package/dist/assets/index.d.cts +1 -1
  35. package/dist/assets/index.d.ts +1 -1
  36. package/dist/assets/index.js +1 -1
  37. package/dist/auth/index.cjs +8 -4
  38. package/dist/auth/index.d.cts +2 -2
  39. package/dist/auth/index.d.ts +2 -2
  40. package/dist/auth/index.js +2 -2
  41. package/dist/auth/types.d.cts +2 -2
  42. package/dist/auth/types.d.ts +2 -2
  43. package/dist/{auth-DLWnl18b.cjs → auth-Dm0F2rOh.cjs} +2 -2
  44. package/dist/{auth-DLWnl18b.cjs.map → auth-Dm0F2rOh.cjs.map} +1 -1
  45. package/dist/{auth-BjmkFOgd.js → auth-DworfoPy.js} +2 -2
  46. package/dist/{auth-BjmkFOgd.js.map → auth-DworfoPy.js.map} +1 -1
  47. package/dist/{authClient-8yU1last.cjs → authClient-BmuUo0J4.cjs} +141 -48
  48. package/dist/authClient-BmuUo0J4.cjs.map +1 -0
  49. package/dist/{authClient-CTHNs6Tq.d.cts → authClient-CHXWJ9x3.d.ts} +109 -76
  50. package/dist/{authClient-BTo4Afm6.js → authClient-CgcDGd30.js} +108 -39
  51. package/dist/authClient-CgcDGd30.js.map +1 -0
  52. package/dist/{authClient-D8i3JTM-.d.ts → authClient-vEt_7_uk.d.cts} +109 -76
  53. package/dist/billing/index.cjs +2 -2
  54. package/dist/billing/index.d.cts +1 -1
  55. package/dist/billing/index.d.ts +1 -1
  56. package/dist/billing/index.js +2 -2
  57. package/dist/billing/types.d.cts +1 -1
  58. package/dist/billing/types.d.ts +1 -1
  59. package/dist/businessWorkspaceApi/index.cjs +1 -1
  60. package/dist/businessWorkspaceApi/index.d.cts +1 -1
  61. package/dist/businessWorkspaceApi/index.d.ts +1 -1
  62. package/dist/businessWorkspaceApi/index.js +1 -1
  63. package/dist/businessWorkspaceApi/types.d.cts +1 -1
  64. package/dist/businessWorkspaceApi/types.d.ts +1 -1
  65. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs → businessWorkspaceApi-6tCDdpnY.cjs} +3 -3
  66. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs.map → businessWorkspaceApi-6tCDdpnY.cjs.map} +1 -1
  67. package/dist/{businessWorkspaceApi-BD-iUj07.js → businessWorkspaceApi-BLUdefRF.js} +3 -3
  68. package/dist/{businessWorkspaceApi-BD-iUj07.js.map → businessWorkspaceApi-BLUdefRF.js.map} +1 -1
  69. package/dist/{businessWorkspaceApiClient-CRM1U8b-.d.cts → businessWorkspaceApiClient-BHDJlHFo.d.cts} +3 -3
  70. package/dist/{businessWorkspaceApiClient-C2WyWN3b.d.ts → businessWorkspaceApiClient-DI-z1VIH.d.ts} +3 -3
  71. package/dist/chat/index.cjs +7 -3
  72. package/dist/chat/index.cjs.map +1 -1
  73. package/dist/chat/index.d.cts +2 -2
  74. package/dist/chat/index.d.ts +2 -2
  75. package/dist/chat/index.js +7 -3
  76. package/dist/chat/index.js.map +1 -1
  77. package/dist/chat/types.cjs +1 -3
  78. package/dist/chat/types.cjs.map +1 -1
  79. package/dist/chat/types.d.cts +2 -2
  80. package/dist/chat/types.d.ts +2 -2
  81. package/dist/chat/types.js +1 -3
  82. package/dist/chat/types.js.map +1 -1
  83. package/dist/{componentId-vJz-kWs6.js → componentId-BJLfnaGc.js} +6 -2
  84. package/dist/componentId-BJLfnaGc.js.map +1 -0
  85. package/dist/{componentId-DkyQ8PM0.cjs → componentId-_IKXxICq.cjs} +6 -2
  86. package/dist/componentId-_IKXxICq.cjs.map +1 -0
  87. package/dist/{concurrent-CH9fbNr3.js → concurrent-BacWxPwi.js} +5 -7
  88. package/dist/concurrent-BacWxPwi.js.map +1 -0
  89. package/dist/{concurrent-tbiIa0UL.cjs → concurrent-CdVfR1N5.cjs} +5 -7
  90. package/dist/concurrent-CdVfR1N5.cjs.map +1 -0
  91. package/dist/{configurations-CyFF9Dtu.cjs → configurations-BTRHVSRq.cjs} +20 -53
  92. package/dist/configurations-BTRHVSRq.cjs.map +1 -0
  93. package/dist/{configurations-VtNE0nrT.js → configurations-CF3xz7RB.js} +14 -22
  94. package/dist/configurations-CF3xz7RB.js.map +1 -0
  95. package/dist/{configurations-BVvcimzo.js → configurations-Chg_JwJ1.js} +20 -53
  96. package/dist/configurations-Chg_JwJ1.js.map +1 -0
  97. package/dist/{configurations-zkNjr73Q.cjs → configurations-VlfQ_37Y.cjs} +14 -22
  98. package/dist/configurations-VlfQ_37Y.cjs.map +1 -0
  99. package/dist/constants/index.cjs +1 -1
  100. package/dist/constants/index.d.cts +1 -1
  101. package/dist/constants/index.d.ts +1 -1
  102. package/dist/constants/index.js +1 -1
  103. package/dist/{createFetchClient-BlgPbjFj.cjs → createFetchClient-Cwp8max9.cjs} +11 -4
  104. package/dist/createFetchClient-Cwp8max9.cjs.map +1 -0
  105. package/dist/{createFetchClient-C-cadpBx.js → createFetchClient-DXHQK63w.js} +11 -4
  106. package/dist/createFetchClient-DXHQK63w.js.map +1 -0
  107. package/dist/{createGenericFetchClient-Bnf1QK9W.js → createGenericFetchClient-Dg1rgzmG.js} +2 -2
  108. package/dist/{createGenericFetchClient-Bnf1QK9W.js.map → createGenericFetchClient-Dg1rgzmG.js.map} +1 -1
  109. package/dist/{createGenericFetchClient-lcozzwk2.cjs → createGenericFetchClient-Dl9cqTvR.cjs} +2 -2
  110. package/dist/{createGenericFetchClient-lcozzwk2.cjs.map → createGenericFetchClient-Dl9cqTvR.cjs.map} +1 -1
  111. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs → createOpenapiFetchClient-BYqW-9tm.cjs} +2 -2
  112. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs.map → createOpenapiFetchClient-BYqW-9tm.cjs.map} +1 -1
  113. package/dist/{createOpenapiFetchClient-COaPeeQ0.js → createOpenapiFetchClient-DZUOVupy.js} +2 -2
  114. package/dist/{createOpenapiFetchClient-COaPeeQ0.js.map → createOpenapiFetchClient-DZUOVupy.js.map} +1 -1
  115. package/dist/dataScience/index.cjs +2 -2
  116. package/dist/dataScience/index.d.cts +2 -2
  117. package/dist/dataScience/index.d.ts +2 -2
  118. package/dist/dataScience/index.js +2 -2
  119. package/dist/dataScience/types.d.cts +2 -2
  120. package/dist/dataScience/types.d.ts +2 -2
  121. package/dist/{dataScience-D-hyc4GY.cjs → dataScience-B5QxZnvW.cjs} +5 -5
  122. package/dist/{dataScience-D-hyc4GY.cjs.map → dataScience-B5QxZnvW.cjs.map} +1 -1
  123. package/dist/{dataScience-B_BmnB1m.js → dataScience-OXcwdk1p.js} +5 -5
  124. package/dist/{dataScience-B_BmnB1m.js.map → dataScience-OXcwdk1p.js.map} +1 -1
  125. package/dist/dedupe-Cky1gSUu.js +21 -0
  126. package/dist/dedupe-Cky1gSUu.js.map +1 -0
  127. package/dist/dedupe-OSnnst2u.cjs +26 -0
  128. package/dist/dedupe-OSnnst2u.cjs.map +1 -0
  129. package/dist/developerPortal/index.cjs +1 -1
  130. package/dist/developerPortal/index.d.cts +2 -2
  131. package/dist/developerPortal/index.d.ts +2 -2
  132. package/dist/developerPortal/index.js +1 -1
  133. package/dist/developerPortal/types.d.cts +1 -1
  134. package/dist/developerPortal/types.d.ts +1 -1
  135. package/dist/{developerPortalClient-yHFTkKPb.js → developerPortalClient-B1QZ1rYi.js} +6 -8
  136. package/dist/{developerPortalClient-yHFTkKPb.js.map → developerPortalClient-B1QZ1rYi.js.map} +1 -1
  137. package/dist/{developerPortalClient-CutPqoAa.cjs → developerPortalClient-CLPpBksD.cjs} +6 -8
  138. package/dist/{developerPortalClient-CutPqoAa.cjs.map → developerPortalClient-CLPpBksD.cjs.map} +1 -1
  139. package/dist/domain/permissions/index.cjs +9 -30
  140. package/dist/domain/permissions/index.cjs.map +1 -1
  141. package/dist/domain/permissions/index.d.cts +29 -102
  142. package/dist/domain/permissions/index.d.ts +29 -102
  143. package/dist/domain/permissions/index.js +9 -30
  144. package/dist/domain/permissions/index.js.map +1 -1
  145. package/dist/domain/storageTable/index.d.cts +1 -1
  146. package/dist/domain/storageTable/index.d.ts +1 -1
  147. package/dist/editor/index.cjs +2 -2
  148. package/dist/editor/index.cjs.map +1 -1
  149. package/dist/editor/index.d.cts +2 -2
  150. package/dist/editor/index.d.ts +2 -2
  151. package/dist/editor/index.js +2 -2
  152. package/dist/editor/index.js.map +1 -1
  153. package/dist/editor/types.d.cts +1 -1
  154. package/dist/editor/types.d.ts +1 -1
  155. package/dist/encryption/index.cjs +2 -22
  156. package/dist/encryption/index.cjs.map +1 -1
  157. package/dist/encryption/index.d.cts +1 -1
  158. package/dist/encryption/index.d.ts +1 -1
  159. package/dist/encryption/index.js +2 -22
  160. package/dist/encryption/index.js.map +1 -1
  161. package/dist/encryption/types.d.cts +1 -1
  162. package/dist/encryption/types.d.ts +1 -1
  163. package/dist/import/index.cjs +1 -1
  164. package/dist/import/index.d.cts +3 -3
  165. package/dist/import/index.d.ts +3 -3
  166. package/dist/import/index.js +1 -1
  167. package/dist/{import-7YyyD_U_.cjs → import-CNk89mqy.cjs} +3 -3
  168. package/dist/{import-7YyyD_U_.cjs.map → import-CNk89mqy.cjs.map} +1 -1
  169. package/dist/{import-xliONVib.js → import-DiMQCzLa.js} +3 -3
  170. package/dist/{import-xliONVib.js.map → import-DiMQCzLa.js.map} +1 -1
  171. package/dist/{index-1r_CskjU.d.ts → index--ZpnE3YT.d.cts} +3 -3
  172. package/dist/{index-DBklbaTp.d.cts → index-B5w7WlaU.d.cts} +5 -1
  173. package/dist/{index-DBklbaTp.d.ts → index-B5w7WlaU.d.ts} +5 -1
  174. package/dist/{index-C77vTm2K.d.ts → index-BDZvaRud.d.ts} +6 -6
  175. package/dist/{index-KuQ79Mnz.d.ts → index-BVhHt5lx.d.cts} +18 -26
  176. package/dist/{index-NC1dXRTD.d.ts → index-BfqkgPGI.d.cts} +7 -13
  177. package/dist/{index-NC1dXRTD.d.cts → index-BfqkgPGI.d.ts} +7 -13
  178. package/dist/{index-V7XKUQm9.d.cts → index-BgR5zcjJ.d.ts} +18 -26
  179. package/dist/{index-BK-qHT39.d.ts → index-ByRpNVcs.d.cts} +83 -17
  180. package/dist/{index-pXN4LWUX.d.ts → index-C11JSxBY.d.ts} +8 -11
  181. package/dist/{index-GjcJTCbz.d.cts → index-C4TNAA8-.d.cts} +8 -11
  182. package/dist/{index-BMqLPS6S.d.ts → index-CXcWpZQ2.d.cts} +4 -12
  183. package/dist/{index-BMqLPS6S.d.cts → index-CXcWpZQ2.d.ts} +4 -12
  184. package/dist/{index-GfKzh267.d.ts → index-CaaTOANF.d.ts} +395 -297
  185. package/dist/{index-Dx52hNLP.d.cts → index-CcMHJcuP.d.cts} +3 -3
  186. package/dist/{index-DVw4Av4b.d.cts → index-Cvbjp3jx.d.cts} +6 -6
  187. package/dist/{index-DppA4k3b.d.cts → index-Cz0MXhzs.d.cts} +5 -5
  188. package/dist/{index-6Xe81qN3.d.ts → index-D-VMgpGc.d.ts} +5 -5
  189. package/dist/{index-DWf6FXOr.d.cts → index-D7-o-oGa.d.ts} +3 -3
  190. package/dist/{index-CWoEnDJ_.d.cts → index-DCRKjihs.d.ts} +83 -17
  191. package/dist/{kaiAgentClient-CHpULyeG.d.cts → index-DNThyEej.d.cts} +14 -5
  192. package/dist/{index-DXSmFkol.d.cts → index-DOAZmWvh.d.cts} +6 -6
  193. package/dist/{index-BuegqrS1.d.ts → index-D_-4uQF8.d.ts} +3 -3
  194. package/dist/index-DbLFwXgb.d.cts +116 -0
  195. package/dist/{index-De5qUWhp.d.ts → index-DnQTuc6t.d.ts} +6 -6
  196. package/dist/{kaiAgentClient-B5L4gbQ1.d.ts → index-Qb7X6-ph.d.ts} +14 -5
  197. package/dist/{index-CHXnJQ9s.d.cts → index-cWp_V6K5.d.cts} +395 -297
  198. package/dist/index-rwK7GcB2.d.ts +116 -0
  199. package/dist/index.cjs +1498 -901
  200. package/dist/index.cjs.map +1 -1
  201. package/dist/index.d.cts +7 -7
  202. package/dist/index.d.ts +7 -7
  203. package/dist/index.js +1497 -902
  204. package/dist/index.js.map +1 -1
  205. package/dist/isLoginPageRedirect-XPwAOKK3.js +14 -0
  206. package/dist/isLoginPageRedirect-XPwAOKK3.js.map +1 -0
  207. package/dist/isLoginPageRedirect-jQHiLrG7.cjs +19 -0
  208. package/dist/isLoginPageRedirect-jQHiLrG7.cjs.map +1 -0
  209. package/dist/{jobStatus-0_Y3Sr4i.cjs → jobStatus-BMlsyXWI.cjs} +19 -45
  210. package/dist/jobStatus-BMlsyXWI.cjs.map +1 -0
  211. package/dist/{jobStatus-PSZJMTiA.js → jobStatus-CfRtsIpv.js} +19 -45
  212. package/dist/jobStatus-CfRtsIpv.js.map +1 -0
  213. package/dist/kaiAgent/index.cjs +1 -1
  214. package/dist/kaiAgent/index.d.cts +3 -2
  215. package/dist/kaiAgent/index.d.ts +3 -2
  216. package/dist/kaiAgent/index.js +1 -1
  217. package/dist/kaiAgent/types.d.cts +2 -2
  218. package/dist/kaiAgent/types.d.ts +2 -2
  219. package/dist/{kaiAgent-CcT2oNip.js → kaiAgent-Dp20HLTh.js} +32 -11
  220. package/dist/kaiAgent-Dp20HLTh.js.map +1 -0
  221. package/dist/{kaiAgent-DaB6UCsh.cjs → kaiAgent-QNoeVKPs.cjs} +32 -11
  222. package/dist/kaiAgent-QNoeVKPs.cjs.map +1 -0
  223. package/dist/kaiMemory-CClSPInt.cjs +289 -0
  224. package/dist/kaiMemory-CClSPInt.cjs.map +1 -0
  225. package/dist/kaiMemory-D0Y_16U4.js +260 -0
  226. package/dist/kaiMemory-D0Y_16U4.js.map +1 -0
  227. package/dist/management/index.cjs +1 -1
  228. package/dist/management/index.d.cts +1 -1
  229. package/dist/management/index.d.ts +1 -1
  230. package/dist/management/index.js +1 -1
  231. package/dist/management/types.d.cts +2 -2
  232. package/dist/management/types.d.ts +2 -2
  233. package/dist/{management-DeZiQSlw.cjs → management-CCY0IYnq.cjs} +59 -24
  234. package/dist/management-CCY0IYnq.cjs.map +1 -0
  235. package/dist/{management-ckdnu1dA.js → management-DvmPiG64.js} +59 -24
  236. package/dist/management-DvmPiG64.js.map +1 -0
  237. package/dist/metastore/index.cjs +1 -1
  238. package/dist/metastore/index.d.cts +1 -1
  239. package/dist/metastore/index.d.ts +1 -1
  240. package/dist/metastore/index.js +1 -1
  241. package/dist/metastore/types.d.cts +2 -2
  242. package/dist/metastore/types.d.ts +2 -2
  243. package/dist/{metastore-B0PolCjQ.js → metastore-BycJxe7A.js} +14 -8
  244. package/dist/metastore-BycJxe7A.js.map +1 -0
  245. package/dist/{metastore-9AGrwjmN.cjs → metastore-XtWciCZT.cjs} +14 -8
  246. package/dist/metastore-XtWciCZT.cjs.map +1 -0
  247. package/dist/microsoftGraph/index.cjs +2 -2
  248. package/dist/microsoftGraph/index.d.cts +2 -2
  249. package/dist/microsoftGraph/index.d.ts +2 -2
  250. package/dist/microsoftGraph/index.js +2 -2
  251. package/dist/microsoftGraph/types.d.cts +1 -1
  252. package/dist/microsoftGraph/types.d.ts +1 -1
  253. package/dist/middleware-CBwrtgQd.js +34 -0
  254. package/dist/middleware-CBwrtgQd.js.map +1 -0
  255. package/dist/middleware-IjYx3d5u.cjs +45 -0
  256. package/dist/middleware-IjYx3d5u.cjs.map +1 -0
  257. package/dist/notifications/index.cjs +4 -4
  258. package/dist/notifications/index.d.cts +2 -2
  259. package/dist/notifications/index.d.ts +2 -2
  260. package/dist/notifications/index.js +4 -4
  261. package/dist/notifications/types.d.cts +1 -1
  262. package/dist/notifications/types.d.ts +1 -1
  263. package/dist/oauth/index.cjs +1 -1
  264. package/dist/oauth/index.d.cts +2 -2
  265. package/dist/oauth/index.d.ts +2 -2
  266. package/dist/oauth/index.js +1 -1
  267. package/dist/oauth/types.d.cts +1 -1
  268. package/dist/oauth/types.d.ts +1 -1
  269. package/dist/{oauth-DNtv4Ihb.cjs → oauth--2p8jkJf.cjs} +5 -5
  270. package/dist/{oauth-DNtv4Ihb.cjs.map → oauth--2p8jkJf.cjs.map} +1 -1
  271. package/dist/{oauth-BnHVf4cB.js → oauth-l5zE39cD.js} +5 -5
  272. package/dist/{oauth-BnHVf4cB.js.map → oauth-l5zE39cD.js.map} +1 -1
  273. package/dist/omnisearch/index.cjs +6 -14
  274. package/dist/omnisearch/index.cjs.map +1 -1
  275. package/dist/omnisearch/index.d.cts +6 -14
  276. package/dist/omnisearch/index.d.ts +6 -14
  277. package/dist/omnisearch/index.js +6 -14
  278. package/dist/omnisearch/index.js.map +1 -1
  279. package/dist/omnisearch/types.d.cts +1 -1
  280. package/dist/omnisearch/types.d.ts +1 -1
  281. package/dist/{project-DCHOxRWd.d.ts → project-B15gStbM.d.ts} +2 -2
  282. package/dist/{project-BRpzv3yE.d.cts → project-cHKuGvqJ.d.cts} +2 -2
  283. package/dist/queryService/index.cjs +1 -1
  284. package/dist/queryService/index.d.cts +1 -1
  285. package/dist/queryService/index.d.ts +1 -1
  286. package/dist/queryService/index.js +1 -1
  287. package/dist/queryService/types.d.cts +1 -1
  288. package/dist/queryService/types.d.ts +1 -1
  289. package/dist/{queryService-j3XZ2mX6.js → queryService-CCOYbRbw.js} +6 -6
  290. package/dist/{queryService-j3XZ2mX6.js.map → queryService-CCOYbRbw.js.map} +1 -1
  291. package/dist/{queryService-BVwD6Vmc.cjs → queryService-CQzclHdL.cjs} +6 -6
  292. package/dist/{queryService-BVwD6Vmc.cjs.map → queryService-CQzclHdL.cjs.map} +1 -1
  293. package/dist/queue/index.cjs +1 -1
  294. package/dist/queue/index.d.cts +3 -3
  295. package/dist/queue/index.d.ts +3 -3
  296. package/dist/queue/index.js +1 -1
  297. package/dist/queue/types.d.cts +1 -1
  298. package/dist/queue/types.d.ts +1 -1
  299. package/dist/{queue-Dagl0sdP.js → queue-Cowbg6bR.js} +8 -11
  300. package/dist/queue-Cowbg6bR.js.map +1 -0
  301. package/dist/{queue-e3rMWbmK.cjs → queue-UG_BWKIC.cjs} +8 -11
  302. package/dist/queue-UG_BWKIC.cjs.map +1 -0
  303. package/dist/scheduler/index.cjs +4 -4
  304. package/dist/scheduler/index.d.cts +2 -2
  305. package/dist/scheduler/index.d.ts +2 -2
  306. package/dist/scheduler/index.js +4 -4
  307. package/dist/scheduler/types.d.cts +1 -1
  308. package/dist/scheduler/types.d.ts +1 -1
  309. package/dist/sdk/configurations/index.cjs +1 -1
  310. package/dist/sdk/configurations/index.d.cts +11 -11
  311. package/dist/sdk/configurations/index.d.ts +11 -11
  312. package/dist/sdk/configurations/index.js +1 -1
  313. package/dist/sdk/developerPortal/index.cjs +10 -18
  314. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  315. package/dist/sdk/developerPortal/index.d.cts +7 -15
  316. package/dist/sdk/developerPortal/index.d.ts +7 -15
  317. package/dist/sdk/developerPortal/index.js +7 -15
  318. package/dist/sdk/developerPortal/index.js.map +1 -1
  319. package/dist/sdk/kaiMemory/index.cjs +7 -0
  320. package/dist/sdk/kaiMemory/index.d.cts +41 -0
  321. package/dist/sdk/kaiMemory/index.d.ts +41 -0
  322. package/dist/sdk/kaiMemory/index.js +2 -0
  323. package/dist/sdk/kaiMemory/types.cjs +0 -0
  324. package/dist/sdk/kaiMemory/types.d.cts +2 -0
  325. package/dist/sdk/kaiMemory/types.d.ts +2 -0
  326. package/dist/sdk/kaiMemory/types.js +1 -0
  327. package/dist/sdk/queryService/index.cjs +2 -2
  328. package/dist/sdk/queryService/index.d.cts +1 -1
  329. package/dist/sdk/queryService/index.d.ts +1 -1
  330. package/dist/sdk/queryService/index.js +2 -2
  331. package/dist/sdk/semanticLayer/index.cjs +1 -1
  332. package/dist/sdk/semanticLayer/index.d.cts +16 -40
  333. package/dist/sdk/semanticLayer/index.d.ts +16 -40
  334. package/dist/sdk/semanticLayer/index.js +1 -1
  335. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  336. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  337. package/dist/sdk/storage/index.cjs +0 -5
  338. package/dist/sdk/storage/index.cjs.map +1 -1
  339. package/dist/sdk/storage/index.d.cts +2 -2
  340. package/dist/sdk/storage/index.d.ts +2 -2
  341. package/dist/sdk/storage/index.js +1 -5
  342. package/dist/sdk/storage/index.js.map +1 -1
  343. package/dist/sdk/tag/index.cjs +1 -1
  344. package/dist/sdk/tag/index.d.cts +3 -3
  345. package/dist/sdk/tag/index.d.ts +3 -3
  346. package/dist/sdk/tag/index.js +1 -1
  347. package/dist/sdk/tag/types.d.cts +1 -1
  348. package/dist/sdk/tag/types.d.ts +1 -1
  349. package/dist/sdk/vault/index.cjs +1 -1
  350. package/dist/sdk/vault/index.d.cts +1 -1
  351. package/dist/sdk/vault/index.d.ts +1 -1
  352. package/dist/sdk/vault/index.js +1 -1
  353. package/dist/{semanticLayer-9uTaU7UT.cjs → semanticLayer-CKDVkU56.cjs} +62 -183
  354. package/dist/semanticLayer-CKDVkU56.cjs.map +1 -0
  355. package/dist/{semanticLayer-6_gtFxDu.js → semanticLayer-pYy082Ju.js} +62 -183
  356. package/dist/semanticLayer-pYy082Ju.js.map +1 -0
  357. package/dist/status/index.cjs +1 -1
  358. package/dist/status/index.d.cts +1 -1
  359. package/dist/status/index.d.ts +1 -1
  360. package/dist/status/index.js +1 -1
  361. package/dist/storage/index.cjs +5 -5
  362. package/dist/storage/index.d.cts +2 -2
  363. package/dist/storage/index.d.ts +2 -2
  364. package/dist/storage/index.js +5 -5
  365. package/dist/storage/types.d.cts +2 -2
  366. package/dist/storage/types.d.ts +2 -2
  367. package/dist/{storage-Ob1LUIDq.js → storage-CZQHZcXG.js} +109 -302
  368. package/dist/storage-CZQHZcXG.js.map +1 -0
  369. package/dist/{storage-HFUdEy7P.cjs → storage-JinL1y1s.cjs} +109 -302
  370. package/dist/storage-JinL1y1s.cjs.map +1 -0
  371. package/dist/stream/index.cjs +3 -3
  372. package/dist/stream/index.d.cts +2 -2
  373. package/dist/stream/index.d.ts +2 -2
  374. package/dist/stream/index.js +3 -3
  375. package/dist/stream/types.d.cts +1 -1
  376. package/dist/stream/types.d.ts +1 -1
  377. package/dist/syncActions/index.cjs +1 -1
  378. package/dist/syncActions/index.d.cts +1 -1
  379. package/dist/syncActions/index.d.ts +1 -1
  380. package/dist/syncActions/index.js +1 -1
  381. package/dist/syncActions/types.d.cts +2 -2
  382. package/dist/syncActions/types.d.ts +2 -2
  383. package/dist/{syncActions-B3NS5a0g.js → syncActions-ChNWuhYA.js} +260 -111
  384. package/dist/syncActions-ChNWuhYA.js.map +1 -0
  385. package/dist/{syncActions-D2DhY6pP.cjs → syncActions-mFlF16cl.cjs} +260 -111
  386. package/dist/syncActions-mFlF16cl.cjs.map +1 -0
  387. package/dist/{tag-CsoOZWB_.cjs → tag-DHS_soa7.cjs} +2 -2
  388. package/dist/{tag-CsoOZWB_.cjs.map → tag-DHS_soa7.cjs.map} +1 -1
  389. package/dist/{tag-DCsoewjL.js → tag-hh-1nhNr.js} +2 -2
  390. package/dist/{tag-DCsoewjL.js.map → tag-hh-1nhNr.js.map} +1 -1
  391. package/dist/telemetry/index.cjs +7 -11
  392. package/dist/telemetry/index.cjs.map +1 -1
  393. package/dist/telemetry/index.d.cts +5 -9
  394. package/dist/telemetry/index.d.ts +5 -9
  395. package/dist/telemetry/index.js +7 -11
  396. package/dist/telemetry/index.js.map +1 -1
  397. package/dist/telemetry/types.d.cts +1 -1
  398. package/dist/telemetry/types.d.ts +1 -1
  399. package/dist/{types-DqxIx9Pi.d.cts → types-6kuMW4JW.d.cts} +2 -2
  400. package/dist/{types-Ct0YPy2w.d.ts → types-B2w2TtSA.d.ts} +3 -3
  401. package/dist/{types-M46WuBSm.d.cts → types-B61aCifg.d.cts} +2 -2
  402. package/dist/{types-COL1kVEB.d.cts → types-B8N_k79M.d.cts} +2 -2
  403. package/dist/{types-Jw10xuOW.d.cts → types-BIECJYun.d.ts} +171 -44
  404. package/dist/{types-DZk3XHiN.d.cts → types-BLNB882w.d.cts} +3 -3
  405. package/dist/{types-BEe50G2r.d.cts → types-BPy5Ozee.d.cts} +2 -2
  406. package/dist/{types-gi4Eay19.d.ts → types-BS4jwuMi.d.ts} +7 -15
  407. package/dist/{types-BrYkBQo4.d.ts → types-BTK7Bv3n.d.cts} +171 -44
  408. package/dist/{types-D6UmMa6E.d.ts → types-BZDV8DZk.d.ts} +3 -3
  409. package/dist/{types-Cz83RiVu.d.cts → types-B_iLJlp4.d.ts} +255 -12
  410. package/dist/{types-CmF3pR2n.d.cts → types-BiMahEK8.d.cts} +91 -237
  411. package/dist/{types-BH5LLeJy.d.ts → types-Bl03Cg2n.d.cts} +255 -12
  412. package/dist/{types-bGQb4Jtl.d.cts → types-ByLH46Dt.d.cts} +13 -8
  413. package/dist/{types-g3vU7hcg.d.cts → types-Bydx6ga_.d.cts} +2 -2
  414. package/dist/{types-B95uNQ9o.d.ts → types-CKmTZSPG.d.ts} +91 -237
  415. package/dist/{types-D_j2Uq5X.d.cts → types-CMzQSHAQ.d.cts} +3 -3
  416. package/dist/{types-N3EChotg.d.cts → types-CP_LBmw3.d.cts} +2 -2
  417. package/dist/{types-CW6lCqrC.d.cts → types-CQFOCQzk.d.ts} +230 -43
  418. package/dist/{types-zZBxJ0P-.d.ts → types-CWyXTMwy.d.ts} +2 -2
  419. package/dist/{types-CPB-eF82.d.ts → types-CZJlLCbA.d.ts} +2 -2
  420. package/dist/{types-l9o4gFsI.d.ts → types-CZXPu3gn.d.ts} +2 -2
  421. package/dist/{types-BztF4HeB.d.ts → types-CaOtNjSZ.d.ts} +6 -13
  422. package/dist/{types-BTWIPEiU.d.ts → types-CfwqVkEA.d.ts} +2 -2
  423. package/dist/types-Cg14ncdV.d.ts +63 -0
  424. package/dist/{types-BsxLGDoC.d.cts → types-CoJVrRAD.d.ts} +2 -2
  425. package/dist/{types-DYzJ6K2e.d.ts → types-CqwHP7mN.d.cts} +230 -43
  426. package/dist/{types-CKiW3n6v.d.ts → types-D3wcs4tp.d.ts} +2 -2
  427. package/dist/{types-DOyNe7oe.d.cts → types-DDOa07rU.d.cts} +7 -15
  428. package/dist/{types-BW2BXUB4.d.cts → types-DE9hgr7i.d.cts} +2 -2
  429. package/dist/{types-BOqD3Hqy.d.cts → types-DEzW1CfI.d.cts} +3 -3
  430. package/dist/{types-OaD-cbbl.d.ts → types-DIiOMV-t.d.ts} +3 -3
  431. package/dist/{types-B-P4vQe0.d.cts → types-DKc1gmd9.d.ts} +857 -131
  432. package/dist/{types-BrPlv-NS.d.ts → types-DRCMBt89.d.ts} +3 -3
  433. package/dist/{types-BQvv4RaI.d.cts → types-DUMal2E-.d.cts} +5 -8
  434. package/dist/types-DWiLcrxt.d.cts +63 -0
  435. package/dist/{types-DNxOHnZI.d.cts → types-Dd31Lw4S.d.cts} +2 -2
  436. package/dist/{types-Dmu-8g4O.d.ts → types-DekYAlA-.d.ts} +3 -3
  437. package/dist/{types-B2U9cFcx.d.ts → types-DgJeO9Nd.d.ts} +2 -2
  438. package/dist/{types-nrviNdzZ.d.ts → types-DicSaNwq.d.ts} +2 -2
  439. package/dist/{types-Crhy0c9m.d.cts → types-DinIJ1D_.d.cts} +40 -11
  440. package/dist/{types-DhDNS-5B.d.ts → types-DlQw6FCi.d.ts} +13 -8
  441. package/dist/{types-_RhBCj4_.d.cts → types-DoZtE9tz.d.cts} +3 -3
  442. package/dist/{types-Bxhh2SJr.d.ts → types-DrvKfXXd.d.cts} +2 -2
  443. package/dist/{types-DPl8pZsY.d.ts → types-Dtuvhm3K.d.cts} +857 -131
  444. package/dist/{types-CcrvrAJX.d.ts → types-DwVSj-Da.d.ts} +5 -8
  445. package/dist/{types-C2vefB4D.d.ts → types-FwRmjsNN.d.ts} +10 -34
  446. package/dist/{types-C0_2KZ-A.d.ts → types-RbrfiY8T.d.ts} +2 -2
  447. package/dist/{types-DfvdbRPL.d.ts → types-WZBztugL.d.ts} +2 -2
  448. package/dist/{types-52irAt99.d.cts → types-YHUEArkR.d.cts} +2 -2
  449. package/dist/{types-fX4gbxfV.d.cts → types-bc-4z_gc.d.cts} +10 -34
  450. package/dist/{types-3eUgOA7I.d.cts → types-ePSqbXRr.d.cts} +6 -13
  451. package/dist/{types-DrqKICcK.d.ts → types-n4PTnLii.d.ts} +40 -11
  452. package/dist/{types-DXskkNp8.d.cts → types-pvQzbgNE.d.cts} +3 -3
  453. package/dist/{types-DajzGOKB.d.ts → types-q-1r_9d1.d.ts} +2 -2
  454. package/dist/{types-D8Rrz51O.d.cts → types-tKkeLa2B.d.cts} +2 -2
  455. package/dist/{validateConnectionStatus-828HV8WL.js → validateConnectionStatus-BEGu8wXT.js} +6 -10
  456. package/dist/validateConnectionStatus-BEGu8wXT.js.map +1 -0
  457. package/dist/{validateConnectionStatus-CvBKyeDO.cjs → validateConnectionStatus-BEYkQpu9.cjs} +6 -10
  458. package/dist/validateConnectionStatus-BEYkQpu9.cjs.map +1 -0
  459. package/dist/vault/index.cjs +4 -4
  460. package/dist/vault/index.d.cts +1 -1
  461. package/dist/vault/index.d.ts +1 -1
  462. package/dist/vault/index.js +4 -4
  463. package/dist/vault/types.d.cts +1 -1
  464. package/dist/vault/types.d.ts +1 -1
  465. package/package.json +32 -4
  466. package/surface/apps.md +3 -3
  467. package/surface/auth.md +13 -6
  468. package/surface/chat.md +6 -6
  469. package/surface/kaiAgent.md +9 -8
  470. package/surface/management.md +14 -5
  471. package/surface/metastore.md +2 -2
  472. package/surface/queue.md +3 -3
  473. package/surface/sdk.md +13 -3
  474. package/surface/storage.md +6 -6
  475. package/surface/syncActions.md +16 -0
  476. package/dist/ValidationError-BekhphAq.js +0 -48
  477. package/dist/ValidationError-BekhphAq.js.map +0 -1
  478. package/dist/ValidationError-CLVJCCwH.cjs.map +0 -1
  479. package/dist/authClient-8yU1last.cjs.map +0 -1
  480. package/dist/authClient-BTo4Afm6.js.map +0 -1
  481. package/dist/componentId-DkyQ8PM0.cjs.map +0 -1
  482. package/dist/componentId-vJz-kWs6.js.map +0 -1
  483. package/dist/concurrent-CH9fbNr3.js.map +0 -1
  484. package/dist/concurrent-tbiIa0UL.cjs.map +0 -1
  485. package/dist/configurations-BVvcimzo.js.map +0 -1
  486. package/dist/configurations-CyFF9Dtu.cjs.map +0 -1
  487. package/dist/configurations-VtNE0nrT.js.map +0 -1
  488. package/dist/configurations-zkNjr73Q.cjs.map +0 -1
  489. package/dist/createFetchClient-BlgPbjFj.cjs.map +0 -1
  490. package/dist/createFetchClient-C-cadpBx.js.map +0 -1
  491. package/dist/credential-CAulvfZ-.cjs +0 -47
  492. package/dist/credential-CAulvfZ-.cjs.map +0 -1
  493. package/dist/credential-DWXbo4IX.js +0 -36
  494. package/dist/credential-DWXbo4IX.js.map +0 -1
  495. package/dist/dedupe-CiskLkGR.cjs +0 -30
  496. package/dist/dedupe-CiskLkGR.cjs.map +0 -1
  497. package/dist/dedupe-DYIHgZoG.js +0 -25
  498. package/dist/dedupe-DYIHgZoG.js.map +0 -1
  499. package/dist/index-3LUk2rpD.d.ts +0 -65
  500. package/dist/index-CW3Pj7DY.d.cts +0 -65
  501. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs +0 -25
  502. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs.map +0 -1
  503. package/dist/isLoginPageRedirect-hyPqyWNX.js +0 -20
  504. package/dist/isLoginPageRedirect-hyPqyWNX.js.map +0 -1
  505. package/dist/jobStatus-0_Y3Sr4i.cjs.map +0 -1
  506. package/dist/jobStatus-PSZJMTiA.js.map +0 -1
  507. package/dist/kaiAgent-CcT2oNip.js.map +0 -1
  508. package/dist/kaiAgent-DaB6UCsh.cjs.map +0 -1
  509. package/dist/management-DeZiQSlw.cjs.map +0 -1
  510. package/dist/management-ckdnu1dA.js.map +0 -1
  511. package/dist/metastore-9AGrwjmN.cjs.map +0 -1
  512. package/dist/metastore-B0PolCjQ.js.map +0 -1
  513. package/dist/queue-Dagl0sdP.js.map +0 -1
  514. package/dist/queue-e3rMWbmK.cjs.map +0 -1
  515. package/dist/semanticLayer-6_gtFxDu.js.map +0 -1
  516. package/dist/semanticLayer-9uTaU7UT.cjs.map +0 -1
  517. package/dist/storage-HFUdEy7P.cjs.map +0 -1
  518. package/dist/storage-Ob1LUIDq.js.map +0 -1
  519. package/dist/syncActions-B3NS5a0g.js.map +0 -1
  520. package/dist/syncActions-D2DhY6pP.cjs.map +0 -1
  521. package/dist/validateConnectionStatus-828HV8WL.js.map +0 -1
  522. package/dist/validateConnectionStatus-CvBKyeDO.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType } from "./index-KuQ79Mnz.js";
1
+ import { c as OpenapiReturnType, n as ArrayElement, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-BVhHt5lx.cjs";
2
2
  //#region src/clients/management/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -41,6 +41,82 @@ type paths = {
41
41
  patch?: never;
42
42
  trace?: never;
43
43
  };
44
+ '/manage/application-tokens': {
45
+ parameters: {
46
+ query?: never;
47
+ header?: never;
48
+ path?: never;
49
+ cookie?: never;
50
+ };
51
+ /**
52
+ * List Application Tokens
53
+ * @description Lists every application token (`type: super`) on the stack. An application token is
54
+ * decoupled from any admin and authorizes other services against the Manage API.
55
+ * The secret itself is returned only once, when the token is created.
56
+ */
57
+ get: operations['get_/manage/application-tokens::ApplicationTokenListAction'];
58
+ put?: never;
59
+ /**
60
+ * Create Application Token
61
+ * @description Issues an application token (`type: super`). The secret is returned once, in this
62
+ * response, and cannot be retrieved later. Any non-empty, comma-free scope string is
63
+ * accepted — a scope grants nothing until some endpoint looks for it, and
64
+ * `GET /manage/application-tokens/scopes` lists the ones this stack defines.
65
+ * Omitting `expiresIn` produces a token that never expires.
66
+ */
67
+ post: operations['post_/manage/application-tokens::ApplicationTokenCreateAction'];
68
+ delete?: never;
69
+ options?: never;
70
+ head?: never;
71
+ patch?: never;
72
+ trace?: never;
73
+ };
74
+ '/manage/application-tokens/{id}': {
75
+ parameters: {
76
+ query?: never;
77
+ header?: never;
78
+ path?: never;
79
+ cookie?: never;
80
+ };
81
+ get?: never;
82
+ put?: never;
83
+ post?: never;
84
+ /**
85
+ * Delete Application Token
86
+ * @description Revokes an application token. Only tokens of type `super` can be deleted here;
87
+ * anything else answers 404. Deleting a token breaks whichever service is
88
+ * authenticating with it — check `lastUsed` first.
89
+ */
90
+ delete: operations['delete_/manage/application-tokens/{id}::ApplicationTokenDeleteAction'];
91
+ options?: never;
92
+ head?: never;
93
+ patch?: never;
94
+ trace?: never;
95
+ };
96
+ '/manage/application-tokens/scopes': {
97
+ parameters: {
98
+ query?: never;
99
+ header?: never;
100
+ path?: never;
101
+ cookie?: never;
102
+ };
103
+ /**
104
+ * List Application Token Scopes
105
+ * @description Lists the scopes this stack defines for application tokens.
106
+ *
107
+ * The scopes are not an enum the API enforces — a token may carry any string, and a
108
+ * scope only means something once some endpoint checks for it. This list exists so a
109
+ * client can offer the known ones instead of keeping its own copy in sync by hand.
110
+ */
111
+ get: operations['get_/manage/application-tokens/scopes::ApplicationTokenScopeListAction'];
112
+ put?: never;
113
+ post?: never;
114
+ delete?: never;
115
+ options?: never;
116
+ head?: never;
117
+ patch?: never;
118
+ trace?: never;
119
+ };
44
120
  '/manage/commands': {
45
121
  parameters: {
46
122
  query?: never;
@@ -341,7 +417,7 @@ type paths = {
341
417
  put?: never;
342
418
  /**
343
419
  * Purge deleted project
344
- * @description Enqueues the command that fully deletes a project and returns its execution ID for monitoring.
420
+ * @description Enqueues the command that fully deletes a project and returns its execution ID for monitoring. Requires a super admin, or an admin holding the "can-manage-deleted-projects" feature.
345
421
  */
346
422
  post: operations['post_/manage/deleted-projects/{projectId}/purge::ProjectPurgeAction'];
347
423
  delete?: never;
@@ -519,6 +595,30 @@ type paths = {
519
595
  patch?: never;
520
596
  trace?: never;
521
597
  };
598
+ '/manage/file-storage/{fileStorageId}': {
599
+ parameters: {
600
+ query?: never;
601
+ header?: never;
602
+ path?: never;
603
+ cookie?: never;
604
+ };
605
+ get?: never;
606
+ put?: never;
607
+ post?: never;
608
+ /**
609
+ * Delete file storage
610
+ * @description Deletes a file storage of any provider. Every project using the file storage must be deleted and purged, and every workspace using it deleted, before it can be deleted. Any maintainer whose default file storage this is has that default cleared, which makes the next project created under that maintainer fall back to the region default. Deleting the region default itself is allowed and leaves the region without one, which makes every subsequent project creation in that region fail until another file storage is set as default. Only the database record is removed: the bucket or container stays, and so do the stored credentials (IAM user, storage account key, service account key) and, for GCS, the Snowflake storage integration — after the delete none of them is recoverable through this API, and the automated sweeps over them (ABS container cleanup, BigQuery key-sharing audit) stop visiting the resource. Decommission them separately.
611
+ */
612
+ delete: operations['delete_/manage/file-storage/{fileStorageId}::FileStorageDeleteAction'];
613
+ options?: never;
614
+ head?: never;
615
+ /**
616
+ * Update file storage
617
+ * @description A partial update of a file storage of any provider; at least one of the attributes is required. Changing the region only moves the record: the files stay in the bucket or container they were uploaded to, and the new region is used immediately for every S3/STS client and every file operation of every project on this storage, with no check that any project uses it. It also does not touch the project's own region (bi_projects.region), so project and file responses keep reporting the old region while workspace responses report the new one — realigning the affected projects is a separate step.
618
+ */
619
+ patch: operations['patch_/manage/file-storage/{fileStorageId}::FileStorageUpdateAction'];
620
+ trace?: never;
621
+ };
522
622
  '/manage/file-storage-gcs': {
523
623
  parameters: {
524
624
  query?: never;
@@ -1295,6 +1395,26 @@ type paths = {
1295
1395
  patch: operations['patch_/manage/organizations/{id}/force-mfa::OrganizationSetMfaRequiredAction'];
1296
1396
  trace?: never;
1297
1397
  };
1398
+ '/manage/programmatic-projects/confirm': {
1399
+ parameters: {
1400
+ query?: never;
1401
+ header?: never;
1402
+ path?: never;
1403
+ cookie?: never;
1404
+ };
1405
+ get?: never;
1406
+ put?: never;
1407
+ /**
1408
+ * Confirm an agent-provisioned project
1409
+ * @description Redeems a single-use claim token: the authenticated account becomes an administrator of the project and the synthetic agent identity that provisioned it has its session revoked. The link is spent whether or not the caller keeps using the project.
1410
+ */
1411
+ post: operations['post_/manage/programmatic-projects/confirm::ProgrammaticProjectConfirmAction'];
1412
+ delete?: never;
1413
+ options?: never;
1414
+ head?: never;
1415
+ patch?: never;
1416
+ trace?: never;
1417
+ };
1298
1418
  '/manage/programmatic-projects': {
1299
1419
  parameters: {
1300
1420
  query?: never;
@@ -1563,7 +1683,7 @@ type paths = {
1563
1683
  put?: never;
1564
1684
  /**
1565
1685
  * Change project disabled status
1566
- * @description Enables or disables the project specified by its ID.
1686
+ * @description Enables or disables the project specified by its ID. Allowed for super admins and for admins with the "can-disable-projects" feature.
1567
1687
  */
1568
1688
  post: operations['post_/manage/projects/{projectId}/disabled::ProjectChangeDisabledAction'];
1569
1689
  delete?: never;
@@ -2116,7 +2236,7 @@ type paths = {
2116
2236
  * Create a new BigQuery backend server-side
2117
2237
  * @description Server-side creation for an already-provisioned master service account (created by Terraform
2118
2238
  * for Keboola-managed stacks, or via the setup guide for BYODB). Provide a one-time admin
2119
- * credential that holds `iam.serviceAccountKeys.create` on the master service account; connection
2239
+ * credential that holds `iam.serviceAccountKeys.create` and `iam.serviceAccountKeys.delete` on the master service account; connection
2120
2240
  * mints the first key, registers the backend in a not-yet-active state, and discards the admin
2121
2241
  * credential. Activate the backend afterwards to smoke-test and enable it. Gated behind the
2122
2242
  * `bigquery-backend-server-side-creation-enabled` stack feature.
@@ -2283,7 +2403,11 @@ type paths = {
2283
2403
  path?: never;
2284
2404
  cookie?: never;
2285
2405
  };
2286
- get?: never;
2406
+ /**
2407
+ * Application Detail
2408
+ * @description Returns one UI application with all of its registered versions, including inactive ones.
2409
+ */
2410
+ get: operations['get_/manage/ui-apps/{id}::UiAppsDetailAction'];
2287
2411
  put?: never;
2288
2412
  post?: never;
2289
2413
  /**
@@ -2293,7 +2417,12 @@ type paths = {
2293
2417
  delete: operations['delete_/manage/ui-apps/{id}::UiAppsDeleteAction'];
2294
2418
  options?: never;
2295
2419
  head?: never;
2296
- patch?: never;
2420
+ /**
2421
+ * Rename Application
2422
+ * @description Changes the display name of a UI application. The `stringId`, which identifies the
2423
+ * application across stacks, is not affected.
2424
+ */
2425
+ patch: operations['patch_/manage/ui-apps/{id}::UiAppsRenameAction'];
2297
2426
  trace?: never;
2298
2427
  };
2299
2428
  '/manage/ui-apps': {
@@ -2306,6 +2435,10 @@ type paths = {
2306
2435
  /**
2307
2436
  * List Applications
2308
2437
  * @description Returns active applications. This resource doesn't require authentication.
2438
+ *
2439
+ * With `includeInactive=true` it returns every registered application instead, including
2440
+ * those that have no active version — their `version`, `basePath`, `type` and `commitSha`
2441
+ * are then null and `scripts`/`styles` empty. That variant requires a super admin.
2309
2442
  */
2310
2443
  get: operations['get_/manage/ui-apps::UiAppsListAction'];
2311
2444
  put?: never;
@@ -2756,6 +2889,26 @@ type components = {
2756
2889
  /** @description Pagination offset. Default value: 0. */
2757
2890
  offset?: number | null;
2758
2891
  };
2892
+ /** @description Application token to issue. The secret is returned once, in the response. */
2893
+ ApplicationTokenCreateRequest: {
2894
+ /**
2895
+ * @description What the token is for. This is the only trace of its purpose.
2896
+ * @example Sandboxes API
2897
+ */
2898
+ description: string;
2899
+ /**
2900
+ * @description Scopes the token carries. Any non-empty string without a comma is accepted; GET /manage/application-tokens/scopes lists the ones this stack defines.
2901
+ * @example [
2902
+ * "projects:read"
2903
+ * ]
2904
+ */
2905
+ scopes?: string[] | null;
2906
+ /**
2907
+ * @description Lifetime in seconds. Omit for a token that never expires, which is the historical behaviour.
2908
+ * @example 2592000
2909
+ */
2910
+ expiresIn?: number | null;
2911
+ };
2759
2912
  /** @description CLI command enqueue request payload. */
2760
2913
  EnqueueCommandRequest: {
2761
2914
  /**
@@ -2892,6 +3045,19 @@ type components = {
2892
3045
  */
2893
3046
  accountKey: string;
2894
3047
  };
3048
+ /** @description Partial update of a file storage; at least one of `owner`, `region` must be supplied. */
3049
+ FileStorageUpdateRequest: {
3050
+ /**
3051
+ * @description Associated account owner (mostly: keboola, client-<name>).
3052
+ * @example keboola
3053
+ */
3054
+ owner: string;
3055
+ /**
3056
+ * @description Region the files bucket or container lives in. Changing it only moves the record, not the files themselves.
3057
+ * @example us-east-1
3058
+ */
3059
+ region: string;
3060
+ };
2895
3061
  FileStorageCreateGcsRequest: {
2896
3062
  /**
2897
3063
  * @description GCP service account key file contents (full JSON keyfile including the private key).
@@ -3315,6 +3481,10 @@ type components = {
3315
3481
  value: string;
3316
3482
  }[];
3317
3483
  };
3484
+ ConfirmProgrammaticProjectRequest: {
3485
+ /** @description The single-use token from the `confirmUrl` handed back at provisioning time (format: `kbc_apc_{claimId}_{secret}`). Optional only for a browser that already carries the claim cookie the confirmation page set; an API client must send it. When both are present this wins. */
3486
+ claimToken?: string | null;
3487
+ };
3318
3488
  CreateProgrammaticProjectRequest: {
3319
3489
  /**
3320
3490
  * @description Label identifying the calling agent. Used as the rate-limit bucket and recorded on the provisioning audit event. Caller-asserted, not verified.
@@ -3523,7 +3693,7 @@ type components = {
3523
3693
  };
3524
3694
  /** @description Create a BigQuery backend server-side on an already-provisioned master service account. */
3525
3695
  StorageBackendCreateBigqueryServerSideRequest: {
3526
- /** @description One-time GCP service-account keyfile (JSON) holding iam.serviceAccountKeys.create on the master service account. Used only to mint the first key, then discarded — never stored. */
3696
+ /** @description One-time GCP service-account keyfile (JSON) holding iam.serviceAccountKeys.create and iam.serviceAccountKeys.delete on the master service account. Used only to mint the first key, then discarded — never stored. */
3527
3697
  adminCredentials: {
3528
3698
  [key: string]: unknown;
3529
3699
  };
@@ -3657,6 +3827,14 @@ type components = {
3657
3827
  */
3658
3828
  activate?: boolean | null;
3659
3829
  };
3830
+ /** @description New display name of the UI application. The immutable stringId is never changed. */
3831
+ RenameRequest: {
3832
+ /**
3833
+ * @description New display name.
3834
+ * @example Keboola Connection UI
3835
+ */
3836
+ name: string;
3837
+ };
3660
3838
  BillingCreditListRequest: {
3661
3839
  /**
3662
3840
  * @description Identifier of the pay-as-you-go project.
@@ -3777,6 +3955,56 @@ type components = {
3777
3955
  */
3778
3956
  maintainersCount: number;
3779
3957
  }[];
3958
+ ApplicationTokenResponse: {
3959
+ id: number;
3960
+ description: string;
3961
+ /**
3962
+ * Format: date-time
3963
+ * @description Null on legacy rows written before the column had a default.
3964
+ */
3965
+ created?: string | null;
3966
+ /**
3967
+ * Format: date-time
3968
+ * @description Null when the token has never been used.
3969
+ */
3970
+ lastUsed?: string | null;
3971
+ /**
3972
+ * Format: date-time
3973
+ * @description Null when the token never expires.
3974
+ */
3975
+ expires?: string | null;
3976
+ /** @description A disabled token is listed but cannot authenticate. */
3977
+ isDisabled: boolean;
3978
+ /** @description Derived from `expires` at read time. */
3979
+ isExpired: boolean;
3980
+ scopes: string[];
3981
+ /** @description The admin who issued the token. An application token has no owner, only a creator. */
3982
+ creator: {
3983
+ id?: number | null;
3984
+ name?: string | null;
3985
+ };
3986
+ };
3987
+ ApplicationTokenListResponse: components['schemas']['ApplicationTokenResponse'][];
3988
+ /** @description The created application token. `token` is the secret and is returned only here. */
3989
+ ApplicationTokenCreateResponse: {
3990
+ id: number;
3991
+ description: string;
3992
+ /** Format: date-time */
3993
+ created: string;
3994
+ /** Format: date-time */
3995
+ lastUsed?: string | null;
3996
+ /** Format: date-time */
3997
+ expires?: string | null;
3998
+ scopes: string[];
3999
+ creator: {
4000
+ id?: number | null;
4001
+ name?: string | null;
4002
+ };
4003
+ /** @description The secret. Shown once and never retrievable again. */
4004
+ token: string;
4005
+ };
4006
+ /** @description Scopes an application token can carry, as the stack defines them. */
4007
+ ApplicationTokenScopeListResponse: string[];
3780
4008
  EnqueueCommandResponse: {
3781
4009
  /**
3782
4010
  * @description Identifier of the enqueued command execution; this ID is appended to all logs produced by the command.
@@ -4051,6 +4279,29 @@ type components = {
4051
4279
  deletedTime: string;
4052
4280
  /** Format: date-time */
4053
4281
  purgedTime?: string | null;
4282
+ /** @description IDs of the default storage backends assigned to the project, keyed by backend name. */
4283
+ backends: {
4284
+ snowflake?: {
4285
+ /** @example 353 */
4286
+ id: number;
4287
+ };
4288
+ synapse?: {
4289
+ /** @example 353 */
4290
+ id: number;
4291
+ };
4292
+ exasol?: {
4293
+ /** @example 353 */
4294
+ id: number;
4295
+ };
4296
+ teradata?: {
4297
+ /** @example 353 */
4298
+ id: number;
4299
+ };
4300
+ bigquery?: {
4301
+ /** @example 353 */
4302
+ id: number;
4303
+ };
4304
+ };
4054
4305
  /** @description Organization the project belongs to. */
4055
4306
  organization: {
4056
4307
  id?: number;
@@ -4178,6 +4429,56 @@ type components = {
4178
4429
  name: string | null;
4179
4430
  };
4180
4431
  };
4432
+ FileStorageS3Response: {
4433
+ /**
4434
+ * @description File storage identifier.
4435
+ * @example 123
4436
+ */
4437
+ id: number;
4438
+ /**
4439
+ * @description AWS access key ID.
4440
+ * @example AKIAXXXXXXXXXXXXXXXXX
4441
+ */
4442
+ awsKey: string;
4443
+ /**
4444
+ * @description AWS region.
4445
+ * @example us-east-1
4446
+ */
4447
+ region: string;
4448
+ /**
4449
+ * @description S3 bucket name for files.
4450
+ * @example kbc-sapi-files
4451
+ */
4452
+ filesBucket: string;
4453
+ /**
4454
+ * @description File storage provider.
4455
+ * @example aws
4456
+ */
4457
+ provider: string;
4458
+ /**
4459
+ * @description Associated AWS account owner.
4460
+ * @example keboola
4461
+ */
4462
+ owner: string;
4463
+ /**
4464
+ * @description Whether this is the default file storage.
4465
+ * @example false
4466
+ */
4467
+ isDefault: boolean;
4468
+ /**
4469
+ * Format: date-time
4470
+ * @description File storage creation timestamp (ISO 8601).
4471
+ * @example 2019-06-17T15:07:48+01:00
4472
+ */
4473
+ created: string;
4474
+ /** @description User who created the file storage. */
4475
+ creator: {
4476
+ /** @example 123 */
4477
+ id: number | null;
4478
+ /** @example name-of-creator */
4479
+ name: string | null;
4480
+ };
4481
+ };
4181
4482
  FileStorageGcsResponse: {
4182
4483
  /**
4183
4484
  * @description File storage identifier.
@@ -4264,56 +4565,6 @@ type components = {
4264
4565
  name: string | null;
4265
4566
  };
4266
4567
  };
4267
- FileStorageS3Response: {
4268
- /**
4269
- * @description File storage identifier.
4270
- * @example 123
4271
- */
4272
- id: number;
4273
- /**
4274
- * @description AWS access key ID.
4275
- * @example AKIAXXXXXXXXXXXXXXXXX
4276
- */
4277
- awsKey: string;
4278
- /**
4279
- * @description AWS region.
4280
- * @example us-east-1
4281
- */
4282
- region: string;
4283
- /**
4284
- * @description S3 bucket name for files.
4285
- * @example kbc-sapi-files
4286
- */
4287
- filesBucket: string;
4288
- /**
4289
- * @description File storage provider.
4290
- * @example aws
4291
- */
4292
- provider: string;
4293
- /**
4294
- * @description Associated AWS account owner.
4295
- * @example keboola
4296
- */
4297
- owner: string;
4298
- /**
4299
- * @description Whether this is the default file storage.
4300
- * @example false
4301
- */
4302
- isDefault: boolean;
4303
- /**
4304
- * Format: date-time
4305
- * @description File storage creation timestamp (ISO 8601).
4306
- * @example 2019-06-17T15:07:48+01:00
4307
- */
4308
- created: string;
4309
- /** @description User who created the file storage. */
4310
- creator: {
4311
- /** @example 123 */
4312
- id: number | null;
4313
- /** @example name-of-creator */
4314
- name: string | null;
4315
- };
4316
- };
4317
4568
  UserLoggedInResponse: {
4318
4569
  id: number;
4319
4570
  email: string;
@@ -4513,6 +4764,11 @@ type components = {
4513
4764
  * @example 123
4514
4765
  */
4515
4766
  id?: number | null;
4767
+ /**
4768
+ * Format: date-time
4769
+ * @description Creation time of the organization. Null when the creation time is unavailable.
4770
+ */
4771
+ created?: string | null;
4516
4772
  };
4517
4773
  /** @description Administrator the token belongs to. Present only for master tokens. */
4518
4774
  admin: {
@@ -4525,8 +4781,10 @@ type components = {
4525
4781
  /** @example admin */
4526
4782
  role?: string;
4527
4783
  isActivated?: boolean;
4528
- /** @description Present only when SAML is enabled on the stack. */
4529
- samlParameters?: Record<string, never> | null;
4784
+ /** @description Raw SAML attribute statement asserted by the IdP on last login, keyed by IdP-defined attribute name (e.g. a role or group claim); attribute names and count vary per IdP configuration. Present only when SAML is enabled on the stack. */
4785
+ samlParameters?: {
4786
+ [key: string]: string[];
4787
+ } | null;
4530
4788
  };
4531
4789
  /** @description Administrator who owns the token. Present when an owner can be resolved. */
4532
4790
  adminOwner: {
@@ -5115,6 +5373,22 @@ type components = {
5115
5373
  };
5116
5374
  };
5117
5375
  OrganizationsListResponse: components['schemas']['OrganizationListResponse'][];
5376
+ ConfirmProgrammaticProjectRequest2: {
5377
+ /**
5378
+ * Null when the body carried no token. The caller resolves the effective claim - see
5379
+ * {@see \Keboola\Controller\Manage\ProgrammaticProjects\ProgrammaticProjectConfirmAction}.
5380
+ * @description The single-use token from the `confirmUrl` handed back at provisioning time (format: `kbc_apc_{claimId}_{secret}`). Optional only for a browser that already carries the claim cookie the confirmation page set; an API client must send it. When both are present this wins.
5381
+ */
5382
+ claimToken?: string | null;
5383
+ };
5384
+ ConfirmProgrammaticProjectResponse: {
5385
+ project: {
5386
+ /** @example 1234 */
5387
+ id?: number;
5388
+ };
5389
+ /** @description The account that now owns the project - the caller of this endpoint. */
5390
+ confirmedByAdminId: number;
5391
+ };
5118
5392
  CreateProgrammaticProjectResponse: {
5119
5393
  project: {
5120
5394
  /** @example 1234 */
@@ -5621,6 +5895,8 @@ type components = {
5621
5895
  isSsoEnabled: boolean;
5622
5896
  /** @description Whether SAML2 SSO configuration exists for the Snowflake backend. */
5623
5897
  isSsoConfigured: boolean;
5898
+ /** @description Whether the backend credential certificate is validated and the backend is usable. Snowflake backends only; absent otherwise. */
5899
+ isEnabled: boolean;
5624
5900
  /** @description Array of technical owner contact emails for SAML2 certificate rotation notifications. */
5625
5901
  technicalOwnerContactEmails: string[];
5626
5902
  /** @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). */
@@ -5631,9 +5907,15 @@ type components = {
5631
5907
  loginType?: string | null;
5632
5908
  /**
5633
5909
  * Format: date-time
5634
- * @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.
5910
+ * @description Detail endpoint only (absent on the list endpoint). Most recent enabledAt of the backend's active credential certificate — a Snowflake RSA key-pair or a BigQuery service-account key; null when the backend has no active certificate (e.g. password-based backends). The value is when the current certificate became active, which may be backend creation, activation, a migration or a backfill rather than a rotation.
5635
5911
  */
5636
5912
  keyPairLastRotatedAt?: string | null;
5913
+ /**
5914
+ * Format: email
5915
+ * @description Detail endpoint only (absent on the list endpoint). Email of the GCP service account the backend runs under. BigQuery backends only; absent otherwise. Null when the stored key carries no client_email. No key material is ever exposed here.
5916
+ * @example something@else.iam.gserviceaccount.com
5917
+ */
5918
+ serviceAccountEmail?: string | null;
5637
5919
  };
5638
5920
  StorageBackendListResponse: components['schemas']['StorageBackendDetailResponse'][];
5639
5921
  StorageBackendMaintainerListResponse: {
@@ -5763,7 +6045,29 @@ type components = {
5763
6045
  isSuperAdmin: boolean;
5764
6046
  } | null;
5765
6047
  };
6048
+ UiAppDetailResponse: {
6049
+ /** @description Numeric identifier of the application. */
6050
+ id: number;
6051
+ /** @description Immutable identifier taken from the manifest name. */
6052
+ stringId: string;
6053
+ /** @description Editable display name. */
6054
+ name: string;
6055
+ /** @description Creation timestamp. */
6056
+ created: string;
6057
+ /** @description Every registered version, newest first. */
6058
+ versions: {
6059
+ id?: number;
6060
+ version?: string;
6061
+ created?: string;
6062
+ isActive?: boolean;
6063
+ isCritical?: boolean;
6064
+ buildUrl?: string | null;
6065
+ commitSha?: string | null;
6066
+ }[];
6067
+ };
5766
6068
  UiAppResponse: {
6069
+ /** @description Immutable identifier of the application, stable across renames and stacks. */
6070
+ stringId: string;
5767
6071
  /** @description Application name. */
5768
6072
  name: string;
5769
6073
  /** @description Active version identifier. */
@@ -5782,6 +6086,18 @@ type components = {
5782
6086
  commitSha?: string | null;
5783
6087
  };
5784
6088
  UiAppsListResponse: components['schemas']['UiAppResponse'][];
6089
+ /** @description Entry of the `includeInactive` listing. Every version field is null when the application has no active version. */
6090
+ UiAppInactiveResponse: {
6091
+ stringId?: string;
6092
+ name?: string;
6093
+ version?: string | null;
6094
+ basePath?: string | null;
6095
+ type?: string | null;
6096
+ scripts?: string[];
6097
+ styles?: string[];
6098
+ isCritical?: boolean;
6099
+ commitSha?: string | null;
6100
+ }[];
5785
6101
  UiAppsRegistrationResponse: {
5786
6102
  app: {
5787
6103
  /** @description Application identifier. */
@@ -5914,9 +6230,146 @@ interface operations {
5914
6230
  headers: {
5915
6231
  [name: string]: unknown;
5916
6232
  };
5917
- content?: never;
6233
+ content?: never;
6234
+ };
6235
+ /** @description Returned when the current admin cannot list users. */
6236
+ 403: {
6237
+ headers: {
6238
+ [name: string]: unknown;
6239
+ };
6240
+ content?: never;
6241
+ };
6242
+ };
6243
+ };
6244
+ 'get_/manage/application-tokens::ApplicationTokenListAction': {
6245
+ parameters: {
6246
+ query?: never;
6247
+ header?: never;
6248
+ path?: never;
6249
+ cookie?: never;
6250
+ };
6251
+ requestBody?: never;
6252
+ responses: {
6253
+ /** @description Every application token on the stack. */
6254
+ 200: {
6255
+ headers: {
6256
+ [name: string]: unknown;
6257
+ };
6258
+ content: {
6259
+ 'application/json': components['schemas']['ApplicationTokenListResponse'];
6260
+ };
6261
+ };
6262
+ /** @description Returned when the caller is not a super admin. */
6263
+ 403: {
6264
+ headers: {
6265
+ [name: string]: unknown;
6266
+ };
6267
+ content?: never;
6268
+ };
6269
+ };
6270
+ };
6271
+ 'post_/manage/application-tokens::ApplicationTokenCreateAction': {
6272
+ parameters: {
6273
+ query?: never;
6274
+ header?: never;
6275
+ path?: never;
6276
+ cookie?: never;
6277
+ };
6278
+ requestBody: {
6279
+ content: {
6280
+ 'application/json': components['schemas']['ApplicationTokenCreateRequest'];
6281
+ };
6282
+ };
6283
+ responses: {
6284
+ /** @description The token has been issued. */
6285
+ 201: {
6286
+ headers: {
6287
+ [name: string]: unknown;
6288
+ };
6289
+ content: {
6290
+ 'application/json': components['schemas']['ApplicationTokenCreateResponse'];
6291
+ };
6292
+ };
6293
+ /** @description Returned when `description` is blank or too long, a scope is empty or contains a comma, or the lifetime is not storable. */
6294
+ 400: {
6295
+ headers: {
6296
+ [name: string]: unknown;
6297
+ };
6298
+ content?: never;
6299
+ };
6300
+ /** @description Returned when the caller is not a super admin. */
6301
+ 403: {
6302
+ headers: {
6303
+ [name: string]: unknown;
6304
+ };
6305
+ content?: never;
6306
+ };
6307
+ /** @description Returned when this admin has issued too many application tokens recently. Retry after the window named by the `Retry-After` header. */
6308
+ 429: {
6309
+ headers: {
6310
+ [name: string]: unknown;
6311
+ };
6312
+ content?: never;
6313
+ };
6314
+ };
6315
+ };
6316
+ 'delete_/manage/application-tokens/{id}::ApplicationTokenDeleteAction': {
6317
+ parameters: {
6318
+ query?: never;
6319
+ header?: never;
6320
+ path: {
6321
+ /**
6322
+ * @description Numeric id of the application token.
6323
+ * @example 117
6324
+ */
6325
+ id: number;
6326
+ };
6327
+ cookie?: never;
6328
+ };
6329
+ requestBody?: never;
6330
+ responses: {
6331
+ /** @description The token has been revoked. */
6332
+ 204: {
6333
+ headers: {
6334
+ [name: string]: unknown;
6335
+ };
6336
+ content?: never;
6337
+ };
6338
+ /** @description Returned when the caller is not a super admin. */
6339
+ 403: {
6340
+ headers: {
6341
+ [name: string]: unknown;
6342
+ };
6343
+ content?: never;
6344
+ };
6345
+ /** @description Returned when no application token with this id exists. */
6346
+ 404: {
6347
+ headers: {
6348
+ [name: string]: unknown;
6349
+ };
6350
+ content?: never;
6351
+ };
6352
+ };
6353
+ };
6354
+ 'get_/manage/application-tokens/scopes::ApplicationTokenScopeListAction': {
6355
+ parameters: {
6356
+ query?: never;
6357
+ header?: never;
6358
+ path?: never;
6359
+ cookie?: never;
6360
+ };
6361
+ requestBody?: never;
6362
+ responses: {
6363
+ /** @description Scopes the stack defines. */
6364
+ 200: {
6365
+ headers: {
6366
+ [name: string]: unknown;
6367
+ };
6368
+ content: {
6369
+ 'application/json': components['schemas']['ApplicationTokenScopeListResponse'];
6370
+ };
5918
6371
  };
5919
- /** @description Returned when the current admin cannot list users. */
6372
+ /** @description Returned when the caller is not a super admin. */
5920
6373
  403: {
5921
6374
  headers: {
5922
6375
  [name: string]: unknown;
@@ -7772,6 +8225,116 @@ interface operations {
7772
8225
  };
7773
8226
  };
7774
8227
  };
8228
+ 'delete_/manage/file-storage/{fileStorageId}::FileStorageDeleteAction': {
8229
+ parameters: {
8230
+ query?: never;
8231
+ header?: never;
8232
+ path: {
8233
+ /**
8234
+ * @description Identifier of the file storage.
8235
+ * @example 12
8236
+ */
8237
+ fileStorageId: number;
8238
+ };
8239
+ cookie?: never;
8240
+ };
8241
+ requestBody?: never;
8242
+ responses: {
8243
+ /** @description File storage deleted. */
8244
+ 204: {
8245
+ headers: {
8246
+ [name: string]: unknown;
8247
+ };
8248
+ content?: never;
8249
+ };
8250
+ /** @description Returned when the file storage is still in use by projects or workspaces. */
8251
+ 400: {
8252
+ headers: {
8253
+ [name: string]: unknown;
8254
+ };
8255
+ content?: never;
8256
+ };
8257
+ /** @description Returned when the Manage token is missing or invalid. */
8258
+ 401: {
8259
+ headers: {
8260
+ [name: string]: unknown;
8261
+ };
8262
+ content?: never;
8263
+ };
8264
+ /** @description Returned when the current admin is not a super admin. */
8265
+ 403: {
8266
+ headers: {
8267
+ [name: string]: unknown;
8268
+ };
8269
+ content?: never;
8270
+ };
8271
+ /** @description Returned when the file storage with the given ID does not exist. */
8272
+ 404: {
8273
+ headers: {
8274
+ [name: string]: unknown;
8275
+ };
8276
+ content?: never;
8277
+ };
8278
+ };
8279
+ };
8280
+ 'patch_/manage/file-storage/{fileStorageId}::FileStorageUpdateAction': {
8281
+ parameters: {
8282
+ query?: never;
8283
+ header?: never;
8284
+ path: {
8285
+ /**
8286
+ * @description Identifier of the file storage.
8287
+ * @example 12
8288
+ */
8289
+ fileStorageId: number;
8290
+ };
8291
+ cookie?: never;
8292
+ };
8293
+ requestBody: {
8294
+ content: {
8295
+ 'application/json': components['schemas']['FileStorageUpdateRequest'];
8296
+ };
8297
+ };
8298
+ responses: {
8299
+ /** @description File storage updated. The shape of the response depends on the provider. */
8300
+ 200: {
8301
+ headers: {
8302
+ [name: string]: unknown;
8303
+ };
8304
+ content: {
8305
+ 'application/json': components['schemas']['FileStorageS3Response'] | components['schemas']['FileStorageAbsResponse'] | components['schemas']['FileStorageGcsResponse'];
8306
+ };
8307
+ };
8308
+ /** @description Returned when the request payload is invalid, when the target region already has a default file storage, or when the stored provider is none of aws, azure and gcp. */
8309
+ 400: {
8310
+ headers: {
8311
+ [name: string]: unknown;
8312
+ };
8313
+ content?: never;
8314
+ };
8315
+ /** @description Returned when the Manage token is missing or invalid. */
8316
+ 401: {
8317
+ headers: {
8318
+ [name: string]: unknown;
8319
+ };
8320
+ content?: never;
8321
+ };
8322
+ /** @description Returned when the current admin is not a super admin. */
8323
+ 403: {
8324
+ headers: {
8325
+ [name: string]: unknown;
8326
+ };
8327
+ content?: never;
8328
+ };
8329
+ /** @description Returned when the file storage with the given ID does not exist. */
8330
+ 404: {
8331
+ headers: {
8332
+ [name: string]: unknown;
8333
+ };
8334
+ content?: never;
8335
+ };
8336
+ };
8337
+ };
7775
8338
  'get_/manage/file-storage-gcs::FileStorageGcsListAction': {
7776
8339
  parameters: {
7777
8340
  query?: never;
@@ -11091,6 +11654,65 @@ interface operations {
11091
11654
  };
11092
11655
  };
11093
11656
  };
11657
+ 'post_/manage/programmatic-projects/confirm::ProgrammaticProjectConfirmAction': {
11658
+ parameters: {
11659
+ query?: never;
11660
+ header?: never;
11661
+ path?: never;
11662
+ cookie?: never;
11663
+ };
11664
+ requestBody: {
11665
+ content: {
11666
+ 'application/json': components['schemas']['ConfirmProgrammaticProjectRequest2'];
11667
+ };
11668
+ };
11669
+ responses: {
11670
+ /** @description Project confirmed and owned by the calling account. */
11671
+ 200: {
11672
+ headers: {
11673
+ [name: string]: unknown;
11674
+ };
11675
+ content: {
11676
+ 'application/json': components['schemas']['ConfirmProgrammaticProjectResponse'];
11677
+ };
11678
+ };
11679
+ /** @description The confirmation link is invalid, expired, or already used (manage.programmaticProjects.invalidClaim). Every reason returns this one error on purpose, so the endpoint cannot be used to discover which tokens exist. */
11680
+ 400: {
11681
+ headers: {
11682
+ [name: string]: unknown;
11683
+ };
11684
+ content?: never;
11685
+ };
11686
+ /** @description Missing, expired or revoked bearer token. */
11687
+ 401: {
11688
+ headers: {
11689
+ [name: string]: unknown;
11690
+ };
11691
+ content?: never;
11692
+ };
11693
+ /** @description The bearer token cannot take ownership: it is either a session issued for agent provisioning, or a delegated session restricted to specific projects. Confirmation transfers ownership to a real account and to a project no approval could have listed. */
11694
+ 403: {
11695
+ headers: {
11696
+ [name: string]: unknown;
11697
+ };
11698
+ content?: never;
11699
+ };
11700
+ /** @description Agent provisioning disabled on this stack. */
11701
+ 404: {
11702
+ headers: {
11703
+ [name: string]: unknown;
11704
+ };
11705
+ content?: never;
11706
+ };
11707
+ /** @description Too many confirmation attempts from this account or IP address (manage.programmaticProjects.rateLimited). `Retry-After` says when to retry. */
11708
+ 429: {
11709
+ headers: {
11710
+ [name: string]: unknown;
11711
+ };
11712
+ content?: never;
11713
+ };
11714
+ };
11715
+ };
11094
11716
  'post_/manage/programmatic-projects::ProgrammaticProjectCreateAction': {
11095
11717
  parameters: {
11096
11718
  query?: never;
@@ -11485,7 +12107,8 @@ interface operations {
11485
12107
  * "email": "spam@keboola.com"
11486
12108
  * },
11487
12109
  * "approver": null,
11488
- * "canApproveMergeRequests": true
12110
+ * "canApproveMergeRequests": true,
12111
+ * "isOrganizationMember": true
11489
12112
  * },
11490
12113
  * {
11491
12114
  * "id": 124,
@@ -11506,7 +12129,8 @@ interface operations {
11506
12129
  * "name": "admin 1",
11507
12130
  * "email": "dev@keboola.com"
11508
12131
  * },
11509
- * "canApproveMergeRequests": false
12132
+ * "canApproveMergeRequests": false,
12133
+ * "isOrganizationMember": false
11510
12134
  * }
11511
12135
  * ]
11512
12136
  */
@@ -12161,7 +12785,7 @@ interface operations {
12161
12785
  };
12162
12786
  content?: never;
12163
12787
  };
12164
- /** @description Returned when the token does not have permission to change the project disabled status. */
12788
+ /** @description Returned when the token is neither a super admin nor a holder of the "can-disable-projects" feature. */
12165
12789
  403: {
12166
12790
  headers: {
12167
12791
  [name: string]: unknown;
@@ -14520,6 +15144,46 @@ interface operations {
14520
15144
  };
14521
15145
  };
14522
15146
  };
15147
+ 'get_/manage/ui-apps/{id}::UiAppsDetailAction': {
15148
+ parameters: {
15149
+ query?: never;
15150
+ header?: never;
15151
+ path: {
15152
+ /**
15153
+ * @description Immutable stringId of the application. Renaming changes the display name, not this.
15154
+ * @example kbc.manageApps
15155
+ */
15156
+ id: string;
15157
+ };
15158
+ cookie?: never;
15159
+ };
15160
+ requestBody?: never;
15161
+ responses: {
15162
+ /** @description The application and every version it has. */
15163
+ 200: {
15164
+ headers: {
15165
+ [name: string]: unknown;
15166
+ };
15167
+ content: {
15168
+ 'application/json': components['schemas']['UiAppDetailResponse'];
15169
+ };
15170
+ };
15171
+ /** @description Returned when the token is neither a super admin nor a super token with the `connection:ui-manage` scope. */
15172
+ 403: {
15173
+ headers: {
15174
+ [name: string]: unknown;
15175
+ };
15176
+ content?: never;
15177
+ };
15178
+ /** @description Returned when the UI application does not exist. */
15179
+ 404: {
15180
+ headers: {
15181
+ [name: string]: unknown;
15182
+ };
15183
+ content?: never;
15184
+ };
15185
+ };
15186
+ };
14523
15187
  'delete_/manage/ui-apps/{id}::UiAppsDeleteAction': {
14524
15188
  parameters: {
14525
15189
  query?: never;
@@ -14549,7 +15213,7 @@ interface operations {
14549
15213
  };
14550
15214
  content?: never;
14551
15215
  };
14552
- /** @description Returned when the Manage token is not a super token with the `connection:ui-manage` scope. */
15216
+ /** @description Returned when the token is neither a super admin nor a super token with the `connection:ui-manage` scope. */
14553
15217
  403: {
14554
15218
  headers: {
14555
15219
  [name: string]: unknown;
@@ -14565,16 +15229,68 @@ interface operations {
14565
15229
  };
14566
15230
  };
14567
15231
  };
14568
- 'get_/manage/ui-apps::UiAppsListAction': {
15232
+ 'patch_/manage/ui-apps/{id}::UiAppsRenameAction': {
14569
15233
  parameters: {
14570
15234
  query?: never;
14571
15235
  header?: never;
15236
+ path: {
15237
+ /**
15238
+ * @description Immutable stringId of the application. Renaming changes the display name, not this.
15239
+ * @example kbc.manageApps
15240
+ */
15241
+ id: string;
15242
+ };
15243
+ cookie?: never;
15244
+ };
15245
+ requestBody: {
15246
+ content: {
15247
+ 'application/json': components['schemas']['RenameRequest'];
15248
+ };
15249
+ };
15250
+ responses: {
15251
+ /** @description The application has been renamed. */
15252
+ 204: {
15253
+ headers: {
15254
+ [name: string]: unknown;
15255
+ };
15256
+ content?: never;
15257
+ };
15258
+ /** @description Returned when `name` is missing or blank. */
15259
+ 400: {
15260
+ headers: {
15261
+ [name: string]: unknown;
15262
+ };
15263
+ content?: never;
15264
+ };
15265
+ /** @description Returned when the token is neither a super admin nor a super token with the `connection:ui-manage` scope. */
15266
+ 403: {
15267
+ headers: {
15268
+ [name: string]: unknown;
15269
+ };
15270
+ content?: never;
15271
+ };
15272
+ /** @description Returned when the UI application does not exist. */
15273
+ 404: {
15274
+ headers: {
15275
+ [name: string]: unknown;
15276
+ };
15277
+ content?: never;
15278
+ };
15279
+ };
15280
+ };
15281
+ 'get_/manage/ui-apps::UiAppsListAction': {
15282
+ parameters: {
15283
+ query?: {
15284
+ /** @description Also return applications that have no active version, with every version field null. Requires a super admin; the plain list is public. */
15285
+ includeInactive?: boolean;
15286
+ };
15287
+ header?: never;
14572
15288
  path?: never;
14573
15289
  cookie?: never;
14574
15290
  };
14575
15291
  requestBody?: never;
14576
15292
  responses: {
14577
- /** @description List of UI applications with their active version. */
15293
+ /** @description List of UI applications with their active version, or every application when `includeInactive` is set. */
14578
15294
  200: {
14579
15295
  headers: {
14580
15296
  [name: string]: unknown;
@@ -14583,6 +15299,7 @@ interface operations {
14583
15299
  /**
14584
15300
  * @example [
14585
15301
  * {
15302
+ * "stringId": "kbc.manageApps",
14586
15303
  * "name": "kbc.manageApps",
14587
15304
  * "version": "0.0.3-33-ga6bc947",
14588
15305
  * "basePath": "https://kbc-uis.s3.amazonaws.com/kbc.manageApps/0.0.3-33-ga6bc947/",
@@ -14600,8 +15317,15 @@ interface operations {
14600
15317
  * }
14601
15318
  * ]
14602
15319
  */
14603
- 'application/json': components['schemas']['UiAppsListResponse'];
15320
+ 'application/json': components['schemas']['UiAppsListResponse'] | components['schemas']['UiAppInactiveResponse'];
15321
+ };
15322
+ };
15323
+ /** @description Returned when `includeInactive` is requested by a token that is neither a super admin nor a super token with the `connection:ui-manage` scope. */
15324
+ 403: {
15325
+ headers: {
15326
+ [name: string]: unknown;
14604
15327
  };
15328
+ content?: never;
14605
15329
  };
14606
15330
  };
14607
15331
  };
@@ -14658,7 +15382,7 @@ interface operations {
14658
15382
  };
14659
15383
  content?: never;
14660
15384
  };
14661
- /** @description Returned when the Manage token is not a super token with the `connection:ui-manage` scope. */
15385
+ /** @description Returned when the token is neither a super admin nor a super token with the `connection:ui-manage` scope. */
14662
15386
  403: {
14663
15387
  headers: {
14664
15388
  [name: string]: unknown;
@@ -16015,6 +16739,10 @@ interface operations {
16015
16739
  /** Format: email */
16016
16740
  adminEmail?: string | null;
16017
16741
  adminPassword?: string | null;
16742
+ /**
16743
+ * @deprecated
16744
+ * @description Bring-your-own Snowflake backend is no longer supported for Pay As You Go; any non-null value is rejected with 400.
16745
+ */
16018
16746
  backendConfiguration?: Record<string, never> | null;
16019
16747
  extraQueryParams?: Record<string, never> | null;
16020
16748
  extraFormData?: Record<string, never> | null;
@@ -16054,6 +16782,15 @@ interface operations {
16054
16782
  };
16055
16783
  }
16056
16784
  //#endregion
16785
+ //#region src/clients/management/applicationTokens/types.d.ts
16786
+ /** A super ("application") token as listed by `GET /manage/application-tokens`. */
16787
+ type ApplicationToken = ArrayElement<OpenapiReturnType<paths['/manage/application-tokens']['get']>>;
16788
+ /** `POST /manage/application-tokens`. `token` is the secret and is returned only here. */
16789
+ type CreatedApplicationToken = OpenapiReturnType<paths['/manage/application-tokens']['post']>;
16790
+ type CreateApplicationTokenBody = OpenapiBodyType<paths['/manage/application-tokens']['post']>;
16791
+ /** One scope this stack defines. Any string is accepted on create; the list is what a picker offers. */
16792
+ type ApplicationTokenScope = ArrayElement<OpenapiReturnType<paths['/manage/application-tokens/scopes']['get']>>;
16793
+ //#endregion
16057
16794
  //#region src/clients/management/currentUser/types.d.ts
16058
16795
  type MaintainerInvitation = components['schemas']['MaintainerInvitationResponse'];
16059
16796
  type OrganizationInvitation = components['schemas']['OrganizationInvitationResponse'];
@@ -16281,27 +17018,18 @@ type CreatePaymentRequestBody = OpenapiBodyType<paths['/pay-as-you-go/billing/cr
16281
17018
  /**
16282
17019
  * `POST /manage/programmatic-projects/confirm`, hand-declared.
16283
17020
  *
16284
- * - The generated schema is produced from production's spec (`redocly.yaml`), which does not carry
16285
- * this path yet — keboola/connection#8162 has not shipped there.
16286
- * - Replace both types with `operations['post_/manage/programmatic-projects/confirm::…']` once a
16287
- * regenerated `__generated__/schema.d.ts` contains the path.
17021
+ * - Production's spec lacks this path; replace both types with the generated
17022
+ * `operations['post_/manage/programmatic-projects/confirm::…']` once it has it.
16288
17023
  */
16289
17024
  type ConfirmProgrammaticProjectPayload = {
16290
- /**
16291
- * `kbc_apc_<claimId>_<secret>`.
16292
- *
16293
- * Optional, because Connection also accepts the claim from the `HttpOnly` cookie its confirmation
16294
- * page sets — which is the only copy left once the visitor has been through sign-up or an IdP, the
16295
- * flows that take the token out of the URL and out of this app's memory. Omit it there; the
16296
- * browser presents the cookie on its own. When both are sent, the body wins.
16297
- */
17025
+ /** `kbc_apc_<claimId>_<secret>`. Omit to use the `HttpOnly` claim cookie (e.g. after sign-up/IdP);
17026
+ * the body wins over the cookie. */
16298
17027
  claimToken?: string;
16299
17028
  };
16300
17029
  /**
16301
17030
  * The confirmed project and the account that now owns it.
16302
17031
  *
16303
- * - Carries no token: the claim is spent and the agent's session is revoked, so there is nothing
16304
- * left to hand back that would still work.
17032
+ * - No token: the claim is spent and the agent's session revoked.
16305
17033
  */
16306
17034
  type ConfirmProgrammaticProjectResult = {
16307
17035
  project: {
@@ -16357,9 +17085,8 @@ type DeleteUserMetadataPath = UserPath & {
16357
17085
  type UpdateProjectBody = components['schemas']['ProjectUpdateRequest'];
16358
17086
  type ProjectTemplate = components['schemas']['ProjectTemplateResponse'];
16359
17087
  type MoveProjectBody = paths['/manage/projects/{projectId}/organizations']['post']['requestBody']['content']['application/json'];
16360
- /** Body for POST /manage/projects/{projectId}/disabled — no schema entry; hand-written per live API.
16361
- * The backend requires `disableReason` when disabling (400 "Disable reason must be set"), so the
16362
- * shape is a discriminated union: a reason is mandatory only on the `isDisabled: true` branch. */
17088
+ /** Body for POST /manage/projects/{projectId}/disabled — hand-written, no schema entry.
17089
+ * The backend 400s without `disableReason` when disabling. */
16363
17090
  type SetProjectDisabledBody = {
16364
17091
  isDisabled: true;
16365
17092
  disableReason: string;
@@ -16367,8 +17094,7 @@ type SetProjectDisabledBody = {
16367
17094
  } | {
16368
17095
  isDisabled: false;
16369
17096
  };
16370
- /** Body for `POST /manage/projects/{projectId}/limits`. Super admins may set any limit; admins
16371
- * holding the `can-manage-project-limits` feature may set only the whitelisted subset. */
17097
+ /** Super admins may set any limit; `can-manage-project-limits` admins only a whitelisted subset. */
16372
17098
  type SetProjectLimitsBody = {
16373
17099
  limits: {
16374
17100
  name: string;
@@ -16457,9 +17183,8 @@ type ListProjectInvitationsPath = {
16457
17183
  projectId: number | string;
16458
17184
  };
16459
17185
  type ProjectInvitationDetail = components['schemas']['ProjectInvitationDetailResponse'];
16460
- /** The four roles a non-SOX project offers on invite / add — a subset of the 7-value `User['role']`
16461
- * union. A project with a protected default branch instead offers `productionManager`, `developer`
16462
- * and `reviewer`, so a role `<Select>` is only limited to these four off the SOX path. */
17186
+ /** The roles a non-SOX project offers on invite / add; a SOX project offers
17187
+ * `productionManager`, `developer` and `reviewer` instead. */
16463
17188
  type ProjectInvitableRole = 'admin' | 'guest' | 'readOnly' | 'share';
16464
17189
  type CreateProjectInvitationPath = {
16465
17190
  projectId: number;
@@ -16467,19 +17192,10 @@ type CreateProjectInvitationPath = {
16467
17192
  type CreateProjectInvitationBody = {
16468
17193
  email: string;
16469
17194
  role?: User['role'];
16470
- /** After how many seconds the invitation and the resulting membership expire. */
17195
+ /** Seconds until the invitation and the resulting membership expire. */
16471
17196
  expirationSeconds?: number;
16472
- /**
16473
- * The ui-app the invitation leads to, instead of the Keboola project.
16474
- *
16475
- * - Values are `ui_apps` keys — the same keys Connection registers and serves an app under — so
16476
- * a second app is one more member of the union, not a second flag.
16477
- * - Connection picks the email template from it, and honours it only for projects holding the
16478
- * matching project feature. Without the feature the invitation is still created; it just gets
16479
- * the ordinary email.
16480
- * - Absent means the ordinary email, pointing at the Keboola project.
16481
- * - A stack that does not know the field ignores it, so sending it is safe on every stack.
16482
- */
17197
+ /** `ui_apps` key the invitation leads to instead of the project; honoured only with the
17198
+ * matching project feature, else (and on stacks unaware of it) the ordinary email is sent. */
16483
17199
  landingApp?: 'business-workspace';
16484
17200
  };
16485
17201
  type DeleteProjectInvitationPath = {
@@ -16505,23 +17221,18 @@ type ProjectJoinRequestPath = {
16505
17221
  projectId: number;
16506
17222
  joinRequestId: number;
16507
17223
  };
16508
- /**
16509
- * The base project shape, returned by `updateProject`, `moveProject`, `addProjectFeature` and
16510
- * `setProjectDisabled`. `GET /manage/projects/{projectId}` and `setProjectLimits` return the richer
16511
- * {@link Project}.
16512
- */
17224
+ /** Returned by `updateProject`, `moveProject`, `addProjectFeature` and `setProjectDisabled`;
17225
+ * the detail and `setProjectLimits` return the richer {@link Project}. */
16513
17226
  type ProjectBase = Omit<components['schemas']['ProjectResponse'], 'limits' | 'metrics'> & {
16514
17227
  limits: Record<string, ProjectLimit>;
16515
17228
  metrics: Record<string, unknown>;
16516
17229
  };
16517
17230
  /**
16518
17231
  * `ProjectDetailResponse` with the parts the swagger under-models replaced:
16519
- * - `fileStorage` is documented S3-only (`awsKey`/`filesBucket`), so ABS/GCS projects don't fit it
17232
+ * - `fileStorage` is documented S3-only, so ABS/GCS projects don't fit it
16520
17233
  * - `backends` is documented as `{ snowflake }` only
16521
17234
  * - `organization` is missing `mfaRequired`
16522
- * - `usersCount` isn't documented at all
16523
- *
16524
- * Drop each override as the swagger catches up.
17235
+ * - `usersCount` isn't documented
16525
17236
  */
16526
17237
  type Project = Omit<components['schemas']['ProjectDetailResponse'], 'organization' | 'fileStorage' | 'backends' | 'limits' | 'metrics'> & {
16527
17238
  organization: ProjectOrganization;
@@ -16555,27 +17266,19 @@ type ChangeProjectUserRoleBody = {
16555
17266
  type ChangeProjectUserRoleInput = ChangeProjectUserRolePath & ChangeProjectUserRoleBody;
16556
17267
  //#endregion
16557
17268
  //#region src/clients/management/storageBackends/types.d.ts
16558
- /** A storage backend's full detail as returned by `GET /manage/storage-backend/{id}` — id, owner,
16559
- * technical owner, host/URL, stats, creator and backend-kind-specific fields.
17269
+ /**
17270
+ * A storage backend as returned by `GET /manage/storage-backend/{id}`.
16560
17271
  *
16561
- * `assignedProjectsCount` / `assignedMaintainersCount` / `loginType` are required in the generated
16562
- * schema but weakened to optional here (live behavior > generated schema): the list endpoint
16563
- * (`GET /manage/storage-backend`) reuses this schema while `loginType` (like
16564
- * `keyPairLastRotatedAt`) is detail-only per the generated JSDoc, and during the pre-deploy window
16565
- * a stack that hasn't shipped the M9.1 connection change omits all of them. Consumers access them
16566
- * defensively; drop the overlay if the backend ever splits the list/detail response schemas. */
17272
+ * - The counts and `loginType` are optional here, though required in the schema: the list endpoint
17273
+ * reuses this schema but omits `loginType`, and older stacks omit all three.
17274
+ */
16567
17275
  type StorageBackend = Omit<components['schemas']['StorageBackendDetailResponse'], 'assignedProjectsCount' | 'assignedMaintainersCount' | 'loginType'> & {
16568
17276
  assignedProjectsCount?: number;
16569
17277
  assignedMaintainersCount?: number;
16570
17278
  loginType?: string;
16571
17279
  };
16572
- /** A project assigned to a storage backend, as returned by
16573
- * `GET /manage/storage-backend/{id}/projects`. */
16574
17280
  type StorageBackendProject = components['schemas']['StorageBackendProjectListResponse'][number];
16575
- /** A maintainer assigned to a storage backend, as returned by
16576
- * `GET /manage/storage-backend/{id}/maintainers`. */
16577
17281
  type StorageBackendMaintainer = components['schemas']['StorageBackendMaintainerListResponse'][number];
16578
- /** Query parameters accepted by `GET /manage/storage-backend/{id}/projects`. */
16579
17282
  type GetStorageBackendProjectsQuery = NonNullable<operations['get_/manage/storage-backend/{id}/projects::StorageBackendProjectListAction']['parameters']['query']>;
16580
17283
  type CreateSnowflakeStorageBackendBody = components['schemas']['CreateSnowflakeBackendWithCertRequest'];
16581
17284
  type CreateBigqueryStorageBackendBody = components['schemas']['StorageBackendCreateBigqueryRequest'];
@@ -16586,12 +17289,35 @@ type UpdateBigqueryStorageBackendBody = components['schemas']['StorageBackendUpd
16586
17289
  type UpdateBigqueryStorageBackendInput = StorageBackendPath & UpdateBigqueryStorageBackendBody;
16587
17290
  //#endregion
16588
17291
  //#region src/clients/management/uiApps/types.d.ts
16589
- type UiApp = components['schemas']['UiAppsListResponse'][number];
16590
- type RegisterUiAppBody = components['schemas']['RegistrationRequest'];
16591
- type ActivateUiAppVersionPath = OpenapiPathType<paths['/manage/ui-apps/{id}/activate/{version}']['post']>;
17292
+ /**
17293
+ * One entry of the UI-application listing.
17294
+ *
17295
+ * - `version`, `basePath`, `type` and `commitSha` are null without an active version.
17296
+ * - `stringId` and `name` are tightened: optional in the spec, always sent by the backend.
17297
+ */
17298
+ type UiApp = ArrayElement<OpenapiReturnType<paths['/manage/ui-apps']['get']>> & {
17299
+ stringId: string;
17300
+ name: string;
17301
+ };
17302
+ /** Tightened: the spec marks every field optional, the backend sends all of them. */
17303
+ type UiAppVersion = ArrayElement<OpenapiReturnType<paths['/manage/ui-apps/{id}']['get']>['versions']> & {
17304
+ id: number;
17305
+ version: string;
17306
+ created: string;
17307
+ isActive: boolean;
17308
+ isCritical: boolean;
17309
+ };
17310
+ /** Versions are newest first. */
17311
+ type UiAppDetail = Omit<OpenapiReturnType<paths['/manage/ui-apps/{id}']['get']>, 'versions'> & {
17312
+ versions: UiAppVersion[];
17313
+ };
17314
+ type GetUiAppsQuery = NonNullable<OpenapiQueryType<paths['/manage/ui-apps']['get']>>;
17315
+ type RegisterUiAppBody = OpenapiBodyType<paths['/manage/ui-apps']['post']>;
17316
+ type RenameUiAppBody = OpenapiBodyType<paths['/manage/ui-apps/{id}']['patch']>;
17317
+ type UiAppRegistrationResult = OpenapiReturnType<paths['/manage/ui-apps']['post']>;
16592
17318
  //#endregion
16593
17319
  //#region src/clients/management/tokenTypes.d.ts
16594
17320
  type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
16595
17321
  //#endregion
16596
- export { RemoveProjectUserPath as $, Feature as $n, MaintainerDetail as $t, GetProjectPath as A, OrganizationPath as An, ConfirmProgrammaticProjectResult as At, ProjectBase as B, FileStorage as Bn, AddMaintainerUserBody as Bt, CreateProjectFeatureBody as C, Organization as Cn, UserDetail as Ct, DeleteProjectInvitationPath as D, OrganizationListItem as Dn, UserPath as Dt, CreateProjectInvitationPath as E, OrganizationInvitationPath as En, UserOrganizationMembership as Et, ListProjectJoinRequestsPath as F, UpdateOrganizationBody as Fn, StripeCustomer as Ft, ProjectMetadataInput as G, RotateFileStorageAbsInput as Gn, CreateMaintainerInvitationBody as Gt, ProjectInvitationDetail as H, FileStorageGcs as Hn, CompleteSamlSetupBody as Ht, ListProjectUsersPath as I, UpdateOrganizationInput as In, StripeCustomerCard as It, ProjectTemplate as J, RotateFileStorageGcsInput as Jn, CreateMaintainerOrganizationInput as Jt, ProjectMetadataItem as K, RotateFileStorageAbsPath as Kn, CreateMaintainerInvitationInput as Kt, MoveProjectBody as L, CreateFileStorageAbsBody as Ln, TopUpSetting as Lt, JoinProjectBody as M, OrganizationUserPath as Mn, CreditPaymentRequest as Mt, JoinProjectInput as N, SetOrganizationMetadataBody as Nn, CreditPurchase as Nt, DeleteProjectMetadataPath as O, OrganizationMaintainer as On, UserProjectMembership as Ot, ListProjectInvitationsPath as P, SetOrganizationMetadataInput as Pn, PayAsYouGoBillingConfiguration as Pt, RemoveProjectTemplateFeaturePath as Q, RotateFileStorageS3Path as Qn, Maintainer as Qt, MoveProjectInput as R, CreateFileStorageGcsBody as Rn, UpdateStripeCustomerBody as Rt, ChangeProjectUserRolePath as S, CreateOrganizationProjectInput as Sn, User as St, CreateProjectInvitationBody as T, OrganizationInvitationDetail as Tn, UserMaintainerMembership as Tt, ProjectJoinRequestDetail as U, FileStorageS3 as Un, CompleteSamlSetupInput as Ut, ProjectInvitableRole as V, FileStorageAbs as Vn, AddMaintainerUserInput as Vt, ProjectJoinRequestPath as W, RotateFileStorageAbsBody as Wn, CreateMaintainerBody as Wt, RemoveProjectFeaturePath as X, RotateFileStorageS3Body as Xn, CreateSamlConfigInput as Xt, ProjectTemplatePath as Y, RotateFileStorageGcsPath as Yn, CreateSamlConfigBody as Yt, RemoveProjectLimitPath as Z, RotateFileStorageS3Input as Zn, CreateSamlConfigPath as Zt, AddProjectUserPath as _, AddOrganizationUserInput as _n, RemoveUserFeaturePath as _t, CreateBigqueryStorageBackendBody as a, MaintainerUserPath as an, DeletedProjectPurgeResult as ar, SetProjectLimitsBody as at, ChangeProjectUserRoleBody as b, CreateOrganizationInvitationInput as bn, UpdateUserBody as bt, StorageBackend as c, SamlConfigPath as cn, OrganizationInvitation as cr, SetProjectMetadataPath as ct, StorageBackendProject as d, SetMaintainerMetadataInput as dn, paths as dr, UpdateProjectBody as dt, MaintainerInvitationDetail as en, FeatureAdmin as er, RequestProjectAccessBody as et, UpdateBigqueryStorageBackendBody as f, UpdateMaintainerBody as fn, UpdateProjectInput as ft, AddProjectUserBody as g, AddOrganizationUserBody as gn, GetUsersQuery as gt, UpdateStorageBackendInput as h, UpdateSamlConfigInput as hn, DeleteUserMetadataPath as ht, UiApp as i, MaintainerUser as in, DeletedProject as ir, SetProjectDisabledInput as it, GetProjectReviewersPath as j, OrganizationProject as jn, CreatePaymentRequestBody as jt, GetProjectMetadataPath as k, OrganizationMetadataItemPath as kn, ConfirmProgrammaticProjectPayload as kt, StorageBackendMaintainer as l, SamlConfigSummary as ln, ProjectInvitation as lr, SetProjectReviewersBody as lt, UpdateStorageBackendBody as m, UpdateSamlConfigBody as mn, AddUserFeaturePath as mt, ActivateUiAppVersionPath as n, MaintainerMetadataItemPath as nn, FeatureType as nr, Reviewer as nt, CreateSnowflakeStorageBackendBody as o, MetadataItem as on, DeletedProjectsListQuery as or, SetProjectLimitsInput as ot, UpdateBigqueryStorageBackendInput as p, UpdateMaintainerInput as pn, AddUserFeatureBody as pt, ProjectPath as q, RotateFileStorageGcsBody as qn, CreateMaintainerOrganizationBody as qt, RegisterUiAppBody as r, MaintainerPath as rn, GetAllFeaturesQuery as rr, SetProjectDisabledBody as rt, GetStorageBackendProjectsQuery as s, SamlConfigDetail as sn, MaintainerInvitation as sr, SetProjectMetadataBody as st, ManagementToken as t, MaintainerInvitationPath as tn, FeatureProject as tr, RequestProjectAccessInput as tt, StorageBackendPath as u, SetMaintainerMetadataBody as un, ProjectJoinRequest as ur, SetProjectReviewersPath as ut, AssignFeatureBody as v, AdminUser as vn, SetUserMetadataBody as vt, CreateProjectFeaturePath as w, OrganizationDetail as wn, UserListItem as wt, ChangeProjectUserRoleInput as x, CreateOrganizationProjectBody as xn, UpdateUserInput as xt, AssignProjectTemplateFeatureInput as y, CreateOrganizationInvitationBody as yn, SetUserMetadataInput as yt, Project as z, CreateFileStorageS3Body as zn, UpdateTopUpSettingBody as zt };
16597
- //# sourceMappingURL=types-DPl8pZsY.d.ts.map
17322
+ export { ProjectTemplatePath as $, RotateFileStorageGcsPath as $n, CreateSamlConfigBody as $t, CreateProjectInvitationPath as A, OrganizationInvitationPath as An, UserOrganizationMembership as At, ListProjectUsersPath as B, UpdateOrganizationInput as Bn, StripeCustomerCard as Bt, AssignProjectTemplateFeatureInput as C, CreateOrganizationInvitationBody as Cn, SetUserMetadataInput as Ct, CreateProjectFeatureBody as D, Organization as Dn, UserDetail as Dt, ChangeProjectUserRolePath as E, CreateOrganizationProjectInput as En, User as Et, GetProjectReviewersPath as F, OrganizationProject as Fn, CreatePaymentRequestBody as Ft, ProjectInvitableRole as G, FileStorageAbs as Gn, AddMaintainerUserInput as Gt, MoveProjectInput as H, CreateFileStorageGcsBody as Hn, UpdateStripeCustomerBody as Ht, JoinProjectBody as I, OrganizationUserPath as In, CreditPaymentRequest as It, ProjectJoinRequestPath as J, RotateFileStorageAbsBody as Jn, CreateMaintainerBody as Jt, ProjectInvitationDetail as K, FileStorageGcs as Kn, CompleteSamlSetupBody as Kt, JoinProjectInput as L, SetOrganizationMetadataBody as Ln, CreditPurchase as Lt, DeleteProjectMetadataPath as M, OrganizationMaintainer as Mn, UserProjectMembership as Mt, GetProjectMetadataPath as N, OrganizationMetadataItemPath as Nn, ConfirmProgrammaticProjectPayload as Nt, CreateProjectFeaturePath as O, OrganizationDetail as On, UserListItem as Ot, GetProjectPath as P, OrganizationPath as Pn, ConfirmProgrammaticProjectResult as Pt, ProjectTemplate as Q, RotateFileStorageGcsInput as Qn, CreateMaintainerOrganizationInput as Qt, ListProjectInvitationsPath as R, SetOrganizationMetadataInput as Rn, PayAsYouGoBillingConfiguration as Rt, AssignFeatureBody as S, AdminUser as Sn, SetUserMetadataBody as St, ChangeProjectUserRoleInput as T, CreateOrganizationProjectBody as Tn, UpdateUserInput as Tt, Project as U, CreateFileStorageS3Body as Un, UpdateTopUpSettingBody as Ut, MoveProjectBody as V, CreateFileStorageAbsBody as Vn, TopUpSetting as Vt, ProjectBase as W, FileStorage as Wn, AddMaintainerUserBody as Wt, ProjectMetadataItem as X, RotateFileStorageAbsPath as Xn, CreateMaintainerInvitationInput as Xt, ProjectMetadataInput as Y, RotateFileStorageAbsInput as Yn, CreateMaintainerInvitationBody as Yt, ProjectPath as Z, RotateFileStorageGcsBody as Zn, CreateMaintainerOrganizationBody as Zt, UpdateBigqueryStorageBackendInput as _, UpdateMaintainerInput as _n, CreateApplicationTokenBody as _r, AddUserFeatureBody as _t, UiApp as a, MaintainerInvitationPath as an, FeatureProject as ar, RequestProjectAccessInput as at, AddProjectUserBody as b, AddOrganizationUserBody as bn, GetUsersQuery as bt, UiAppVersion as c, MaintainerUser as cn, DeletedProject as cr, SetProjectDisabledInput as ct, GetStorageBackendProjectsQuery as d, SamlConfigDetail as dn, MaintainerInvitation as dr, SetProjectMetadataBody as dt, CreateSamlConfigInput as en, RotateFileStorageS3Body as er, RemoveProjectFeaturePath as et, StorageBackend as f, SamlConfigPath as fn, OrganizationInvitation as fr, SetProjectMetadataPath as ft, UpdateBigqueryStorageBackendBody as g, UpdateMaintainerBody as gn, ApplicationTokenScope as gr, UpdateProjectInput as gt, StorageBackendProject as h, SetMaintainerMetadataInput as hn, ApplicationToken as hr, UpdateProjectBody as ht, RenameUiAppBody as i, MaintainerInvitationDetail as in, FeatureAdmin as ir, RequestProjectAccessBody as it, DeleteProjectInvitationPath as j, OrganizationListItem as jn, UserPath as jt, CreateProjectInvitationBody as k, OrganizationInvitationDetail as kn, UserMaintainerMembership as kt, CreateBigqueryStorageBackendBody as l, MaintainerUserPath as ln, DeletedProjectPurgeResult as lr, SetProjectLimitsBody as lt, StorageBackendPath as m, SetMaintainerMetadataBody as mn, ProjectJoinRequest as mr, SetProjectReviewersPath as mt, GetUiAppsQuery as n, Maintainer as nn, RotateFileStorageS3Path as nr, RemoveProjectTemplateFeaturePath as nt, UiAppDetail as o, MaintainerMetadataItemPath as on, FeatureType as or, Reviewer as ot, StorageBackendMaintainer as p, SamlConfigSummary as pn, ProjectInvitation as pr, SetProjectReviewersBody as pt, ProjectJoinRequestDetail as q, FileStorageS3 as qn, CompleteSamlSetupInput as qt, RegisterUiAppBody as r, MaintainerDetail as rn, Feature as rr, RemoveProjectUserPath as rt, UiAppRegistrationResult as s, MaintainerPath as sn, GetAllFeaturesQuery as sr, SetProjectDisabledBody as st, ManagementToken as t, CreateSamlConfigPath as tn, RotateFileStorageS3Input as tr, RemoveProjectLimitPath as tt, CreateSnowflakeStorageBackendBody as u, MetadataItem as un, DeletedProjectsListQuery as ur, SetProjectLimitsInput as ut, UpdateStorageBackendBody as v, UpdateSamlConfigBody as vn, CreatedApplicationToken as vr, AddUserFeaturePath as vt, ChangeProjectUserRoleBody as w, CreateOrganizationInvitationInput as wn, UpdateUserBody as wt, AddProjectUserPath as x, AddOrganizationUserInput as xn, RemoveUserFeaturePath as xt, UpdateStorageBackendInput as y, UpdateSamlConfigInput as yn, paths as yr, DeleteUserMetadataPath as yt, ListProjectJoinRequestsPath as z, UpdateOrganizationBody as zn, StripeCustomer as zt };
17323
+ //# sourceMappingURL=types-Dtuvhm3K.d.cts.map