@keboola/api-client 54.0.0 → 56.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 (304) hide show
  1. package/API-SURFACE.md +3 -1
  2. package/CHANGELOG.md +61 -0
  3. package/README.md +1 -1
  4. package/dist/{adminRoles-BTKVwEy8.d.cts → adminRoles-BFOPSedO.d.cts} +2 -2
  5. package/dist/{adminRoles-Cm513r1G.d.ts → adminRoles-CUB0JddB.d.ts} +2 -2
  6. package/dist/ai/index.d.cts +2 -2
  7. package/dist/ai/index.d.ts +2 -2
  8. package/dist/ai/types.d.cts +1 -1
  9. package/dist/ai/types.d.ts +1 -1
  10. package/dist/apps/index.d.cts +2 -2
  11. package/dist/apps/index.d.ts +2 -2
  12. package/dist/apps/types.d.cts +1 -1
  13. package/dist/apps/types.d.ts +1 -1
  14. package/dist/assets/index.d.cts +1 -1
  15. package/dist/assets/index.d.ts +1 -1
  16. package/dist/auth/index.cjs +1 -1
  17. package/dist/auth/index.d.cts +1 -1
  18. package/dist/auth/index.d.ts +1 -1
  19. package/dist/auth/index.js +1 -1
  20. package/dist/auth/types.d.cts +1 -1
  21. package/dist/auth/types.d.ts +1 -1
  22. package/dist/{authClient-BM4L8XEN.js → authClient-B_Mb4Vzs.js} +3 -45
  23. package/dist/authClient-B_Mb4Vzs.js.map +1 -0
  24. package/dist/{authClient-DspK50e7.cjs → authClient-C9QqhT2M.cjs} +6 -60
  25. package/dist/authClient-C9QqhT2M.cjs.map +1 -0
  26. package/dist/{authClient-NBi0pqD5.d.cts → authClient-DOetdp2k.d.cts} +4 -4
  27. package/dist/{authClient-ij_Rm2Yn.d.ts → authClient-Dgyb0EFi.d.ts} +4 -4
  28. package/dist/billing/index.d.cts +1 -1
  29. package/dist/billing/index.d.ts +1 -1
  30. package/dist/billing/types.d.cts +1 -1
  31. package/dist/billing/types.d.ts +1 -1
  32. package/dist/chat/index.d.cts +2 -2
  33. package/dist/chat/index.d.ts +2 -2
  34. package/dist/chat/types.d.cts +1 -1
  35. package/dist/chat/types.d.ts +1 -1
  36. package/dist/collectByCursor-2-8SuJ-8.js +76 -0
  37. package/dist/collectByCursor-2-8SuJ-8.js.map +1 -0
  38. package/dist/collectByCursor-D58__WD1.cjs +105 -0
  39. package/dist/collectByCursor-D58__WD1.cjs.map +1 -0
  40. package/dist/{componentId-Cps6WBy1.js → componentId-Ba4gsJ9O.js} +3 -1
  41. package/dist/componentId-Ba4gsJ9O.js.map +1 -0
  42. package/dist/{componentId-_tRhEv6W.cjs → componentId-Ba_1Gv_A.cjs} +3 -1
  43. package/dist/componentId-Ba_1Gv_A.cjs.map +1 -0
  44. package/dist/componentsMcp/index.d.cts +1 -1
  45. package/dist/componentsMcp/index.d.ts +1 -1
  46. package/dist/componentsMcp/types.d.cts +1 -1
  47. package/dist/componentsMcp/types.d.ts +1 -1
  48. package/dist/constants/index.cjs +3 -2
  49. package/dist/constants/index.d.cts +4 -4
  50. package/dist/constants/index.d.ts +4 -4
  51. package/dist/constants/index.js +3 -3
  52. package/dist/{constants-DLPkpnGv.js → constants-HccvU5kx.js} +9 -2
  53. package/dist/constants-HccvU5kx.js.map +1 -0
  54. package/dist/{constants-Day8CU5i.cjs → constants-V9hAyPTo.cjs} +14 -1
  55. package/dist/constants-V9hAyPTo.cjs.map +1 -0
  56. package/dist/dataScience/index.d.cts +3 -3
  57. package/dist/dataScience/index.d.ts +3 -3
  58. package/dist/dataScience/types.d.cts +1 -1
  59. package/dist/dataScience/types.d.ts +1 -1
  60. package/dist/developerPortal/index.d.cts +2 -2
  61. package/dist/developerPortal/index.d.ts +2 -2
  62. package/dist/developerPortal/types.d.cts +1 -1
  63. package/dist/developerPortal/types.d.ts +1 -1
  64. package/dist/domain/permissions/index.d.cts +1 -1
  65. package/dist/domain/permissions/index.d.ts +1 -1
  66. package/dist/editor/index.d.cts +2 -2
  67. package/dist/editor/index.d.ts +2 -2
  68. package/dist/editor/types.d.cts +1 -1
  69. package/dist/editor/types.d.ts +1 -1
  70. package/dist/encryption/index.d.cts +1 -1
  71. package/dist/encryption/index.d.ts +1 -1
  72. package/dist/encryption/types.d.cts +1 -1
  73. package/dist/encryption/types.d.ts +1 -1
  74. package/dist/import/index.d.cts +3 -3
  75. package/dist/import/index.d.ts +3 -3
  76. package/dist/{index-DLWMm1-T.d.ts → index-A8udJCGv.d.ts} +4 -4
  77. package/dist/{index-d9zxFmNI.d.cts → index-B-HhOTVk.d.cts} +4 -4
  78. package/dist/{index-BVe4S2CK.d.ts → index-B2YNTI4p.d.ts} +4 -4
  79. package/dist/{index-CEDjFidH.d.ts → index-B30dBBBH.d.ts} +3 -3
  80. package/dist/{index-DbStyQKc.d.ts → index-B7Ogo2SK.d.ts} +12 -3
  81. package/dist/{index-CdeWTy8t.d.ts → index-BH1jo-bb.d.ts} +4 -4
  82. package/dist/{index-DTGOEke4.d.ts → index-BaJ-GMa7.d.ts} +3 -3
  83. package/dist/{index-DzqHh0lE.d.ts → index-Bgu3hnMO.d.ts} +528 -32
  84. package/dist/{index-DCfumWzq.d.ts → index-C6FI_Lc7.d.ts} +3 -3
  85. package/dist/{index-BGE3eZfd.d.cts → index-CLqZfRpv.d.cts} +3 -3
  86. package/dist/{index-CZvBjQvl.d.ts → index-CLxvW_pn.d.ts} +4 -4
  87. package/dist/{index-CQNwp6wX.d.ts → index-C_A0JS9s.d.ts} +3 -3
  88. package/dist/{index-B04rWq_0.d.cts → index-CmtqbTse.d.cts} +3 -3
  89. package/dist/{index-DX7qciZA.d.cts → index-CpidrJQc.d.cts} +528 -32
  90. package/dist/{index-Cd0naVic.d.cts → index-CxoJuIzB.d.cts} +12 -3
  91. package/dist/{index-B8K-Bbdq.d.cts → index-DAb1g6je.d.cts} +3 -3
  92. package/dist/{index-BtvWJBYh.d.cts → index-DPhGNQC5.d.cts} +150 -67
  93. package/dist/{index-CNJBmCHM.d.cts → index-DXNRd61K.d.cts} +4 -4
  94. package/dist/{index-FrsEkDvX.d.cts → index-DcKc3_Y1.d.cts} +3 -2
  95. package/dist/{index-FrsEkDvX.d.ts → index-DcKc3_Y1.d.ts} +3 -2
  96. package/dist/{index-8QhOqFLY.d.cts → index-Dx02AUpZ.d.cts} +4 -4
  97. package/dist/{index-BXgjPlZN.d.cts → index-DxbqDi_0.d.cts} +4 -4
  98. package/dist/{index-Df30jjpZ.d.ts → index-GlHJ4j3a.d.ts} +150 -67
  99. package/dist/{index-iFCann29.d.cts → index-RHYdFrfn.d.cts} +3 -3
  100. package/dist/index.cjs +14 -19
  101. package/dist/index.cjs.map +1 -1
  102. package/dist/index.d.cts +6 -6
  103. package/dist/index.d.ts +6 -6
  104. package/dist/index.js +10 -15
  105. package/dist/index.js.map +1 -1
  106. package/dist/kaiAgent/index.d.cts +2 -2
  107. package/dist/kaiAgent/index.d.ts +2 -2
  108. package/dist/kaiAgent/types.d.cts +1 -1
  109. package/dist/kaiAgent/types.d.ts +1 -1
  110. package/dist/management/index.cjs +1 -1
  111. package/dist/management/index.d.cts +1 -1
  112. package/dist/management/index.d.ts +1 -1
  113. package/dist/management/index.js +1 -1
  114. package/dist/management/types.d.cts +2 -2
  115. package/dist/management/types.d.ts +2 -2
  116. package/dist/{management-BAfg8BmK.js → management-BlMQnPNS.js} +10 -16
  117. package/dist/management-BlMQnPNS.js.map +1 -0
  118. package/dist/{management-BuNIc7Mr.cjs → management-dIMrTTpI.cjs} +10 -16
  119. package/dist/management-dIMrTTpI.cjs.map +1 -0
  120. package/dist/{metaObject-D7oudegV.d.cts → metaObject-BsBMgWRt.d.cts} +2 -2
  121. package/dist/{metaObject-ClvW342q.d.ts → metaObject-qWyZAD-5.d.ts} +2 -2
  122. package/dist/metastore/index.d.cts +1 -1
  123. package/dist/metastore/index.d.ts +1 -1
  124. package/dist/metastore/types.d.cts +1 -1
  125. package/dist/metastore/types.d.ts +1 -1
  126. package/dist/microsoftGraph/index.d.cts +2 -2
  127. package/dist/microsoftGraph/index.d.ts +2 -2
  128. package/dist/microsoftGraph/types.d.cts +1 -1
  129. package/dist/microsoftGraph/types.d.ts +1 -1
  130. package/dist/notifications/index.d.cts +2 -2
  131. package/dist/notifications/index.d.ts +2 -2
  132. package/dist/notifications/types.d.cts +1 -1
  133. package/dist/notifications/types.d.ts +1 -1
  134. package/dist/oauth/index.cjs +1 -1
  135. package/dist/oauth/index.d.cts +9 -2
  136. package/dist/oauth/index.d.ts +9 -2
  137. package/dist/oauth/index.js +1 -1
  138. package/dist/oauth/types.d.cts +2 -2
  139. package/dist/oauth/types.d.ts +2 -2
  140. package/dist/{oauth-CXcrilOp.cjs → oauth-CEW2AvDV.cjs} +9 -1
  141. package/dist/{oauth-CXcrilOp.cjs.map → oauth-CEW2AvDV.cjs.map} +1 -1
  142. package/dist/{oauth-Ci0qeaS2.js → oauth-Fri6IthS.js} +9 -1
  143. package/dist/{oauth-Ci0qeaS2.js.map → oauth-Fri6IthS.js.map} +1 -1
  144. package/dist/omnisearch/index.d.cts +2 -2
  145. package/dist/omnisearch/index.d.ts +2 -2
  146. package/dist/omnisearch/types.d.cts +1 -1
  147. package/dist/omnisearch/types.d.ts +1 -1
  148. package/dist/{project-DS0HOV3M.d.ts → project-CmV1OhK4.d.ts} +3 -3
  149. package/dist/{project-BGk9CtOq.d.cts → project-F6eHCACz.d.cts} +3 -3
  150. package/dist/queryService/index.d.cts +1 -1
  151. package/dist/queryService/index.d.ts +1 -1
  152. package/dist/queryService/types.d.cts +1 -1
  153. package/dist/queryService/types.d.ts +1 -1
  154. package/dist/queue/index.d.cts +3 -3
  155. package/dist/queue/index.d.ts +3 -3
  156. package/dist/queue/types.d.cts +1 -1
  157. package/dist/queue/types.d.ts +1 -1
  158. package/dist/scheduler/index.d.cts +2 -2
  159. package/dist/scheduler/index.d.ts +2 -2
  160. package/dist/scheduler/types.d.cts +1 -1
  161. package/dist/scheduler/types.d.ts +1 -1
  162. package/dist/sdk/configurations/index.cjs +47 -2
  163. package/dist/sdk/configurations/index.cjs.map +1 -1
  164. package/dist/sdk/configurations/index.d.cts +231 -3
  165. package/dist/sdk/configurations/index.d.ts +231 -3
  166. package/dist/sdk/configurations/index.js +47 -2
  167. package/dist/sdk/configurations/index.js.map +1 -1
  168. package/dist/sdk/dataAppServer/index.cjs +1 -1
  169. package/dist/sdk/dataAppServer/index.cjs.map +1 -1
  170. package/dist/sdk/dataAppServer/index.d.cts +1 -1
  171. package/dist/sdk/dataAppServer/index.d.ts +1 -1
  172. package/dist/sdk/dataAppServer/index.js +1 -1
  173. package/dist/sdk/dataAppServer/index.js.map +1 -1
  174. package/dist/sdk/developerPortal/index.d.cts +3 -3
  175. package/dist/sdk/developerPortal/index.d.ts +3 -3
  176. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  177. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  178. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  179. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  180. package/dist/sdk/queryService/index.d.cts +1 -1
  181. package/dist/sdk/queryService/index.d.ts +1 -1
  182. package/dist/sdk/securityPolicy/index.cjs +13 -3
  183. package/dist/sdk/securityPolicy/index.cjs.map +1 -1
  184. package/dist/sdk/securityPolicy/index.d.cts +13 -3
  185. package/dist/sdk/securityPolicy/index.d.ts +13 -3
  186. package/dist/sdk/securityPolicy/index.js +12 -4
  187. package/dist/sdk/securityPolicy/index.js.map +1 -1
  188. package/dist/sdk/securityPolicy/types.d.cts +1 -1
  189. package/dist/sdk/securityPolicy/types.d.ts +1 -1
  190. package/dist/sdk/semanticLayer/index.d.cts +1 -1
  191. package/dist/sdk/semanticLayer/index.d.ts +1 -1
  192. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  193. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  194. package/dist/sdk/tag/index.d.cts +2 -2
  195. package/dist/sdk/tag/index.d.ts +2 -2
  196. package/dist/sdk/tag/types.d.cts +1 -1
  197. package/dist/sdk/tag/types.d.ts +1 -1
  198. package/dist/sdk/vault/index.cjs +3 -12
  199. package/dist/sdk/vault/index.cjs.map +1 -1
  200. package/dist/sdk/vault/index.d.cts +1 -1
  201. package/dist/sdk/vault/index.d.ts +1 -1
  202. package/dist/sdk/vault/index.js +3 -12
  203. package/dist/sdk/vault/index.js.map +1 -1
  204. package/dist/status/index.d.cts +1 -1
  205. package/dist/status/index.d.ts +1 -1
  206. package/dist/storage/index.cjs +4 -4
  207. package/dist/storage/index.d.cts +3 -3
  208. package/dist/storage/index.d.ts +3 -3
  209. package/dist/storage/index.js +2 -2
  210. package/dist/storage/types.d.cts +6 -6
  211. package/dist/storage/types.d.ts +6 -6
  212. package/dist/{storage--2FvvLAw.js → storage-Bw-HSnPp.js} +56 -3
  213. package/dist/storage-Bw-HSnPp.js.map +1 -0
  214. package/dist/{storage-BMrYlyLB.cjs → storage-jLhVrKZh.cjs} +58 -5
  215. package/dist/storage-jLhVrKZh.cjs.map +1 -0
  216. package/dist/stream/index.d.cts +2 -2
  217. package/dist/stream/index.d.ts +2 -2
  218. package/dist/stream/types.d.cts +1 -1
  219. package/dist/stream/types.d.ts +1 -1
  220. package/dist/syncActions/index.cjs +1 -1
  221. package/dist/syncActions/index.d.cts +2 -2
  222. package/dist/syncActions/index.d.ts +2 -2
  223. package/dist/syncActions/index.js +1 -1
  224. package/dist/syncActions/types.d.cts +1 -1
  225. package/dist/syncActions/types.d.ts +1 -1
  226. package/dist/{syncActions-CR7xvuIv.cjs → syncActions-B9JTiSao.cjs} +2 -2
  227. package/dist/{syncActions-CR7xvuIv.cjs.map → syncActions-B9JTiSao.cjs.map} +1 -1
  228. package/dist/{syncActions-CU4cIGRf.js → syncActions-W98Jme2Z.js} +2 -2
  229. package/dist/{syncActions-CU4cIGRf.js.map → syncActions-W98Jme2Z.js.map} +1 -1
  230. package/dist/telemetry/index.d.cts +2 -2
  231. package/dist/telemetry/index.d.ts +2 -2
  232. package/dist/telemetry/types.d.cts +1 -1
  233. package/dist/telemetry/types.d.ts +1 -1
  234. package/dist/{types-B6f6LpZ_.d.cts → types--mz2z0Zm.d.cts} +2 -2
  235. package/dist/{types-B7FKoyfy.d.cts → types-2CMPwArl.d.ts} +820 -389
  236. package/dist/{types-CRC4lbPw.d.cts → types-3ZE32k8V.d.cts} +2 -2
  237. package/dist/{types-Do3__S4Q.d.cts → types-6oLbURTK.d.cts} +2 -2
  238. package/dist/{types-B4Vwz45w.d.cts → types-B452bFfS.d.ts} +2 -2
  239. package/dist/{types-zlYUn0oi.d.ts → types-B5FgsIiY.d.ts} +3 -3
  240. package/dist/{types-DFcj9YyQ.d.ts → types-B6OG1lLf.d.cts} +222 -55
  241. package/dist/{types-DNwIMEuB.d.cts → types-BDGkMVWf.d.cts} +2 -2
  242. package/dist/{types-CQYyULrw.d.ts → types-BEEGI4aq.d.ts} +2 -2
  243. package/dist/{types-Bv2Ds1hL.d.cts → types-BJRRAQ9R.d.cts} +2 -2
  244. package/dist/{types-D5bxXqEU.d.ts → types-B_yv00AL.d.ts} +2 -2
  245. package/dist/{types-DoSZQ1Bi.d.ts → types-BhGr9OQ4.d.ts} +2 -2
  246. package/dist/{types-D-ufoskb.d.cts → types-BmcZyKgM.d.cts} +17 -2
  247. package/dist/{types-dU3EA8gk.d.ts → types-BnkHyxdp.d.ts} +2 -2
  248. package/dist/{types-B4ezB18r.d.cts → types-BqJycQNM.d.cts} +2 -2
  249. package/dist/{types-CaBcgsT2.d.cts → types-ByKSM08P.d.ts} +222 -55
  250. package/dist/{types-Y4e8GGa3.d.cts → types-C3Kf_ggm.d.cts} +2 -2
  251. package/dist/{types-CIlBSV99.d.cts → types-CF5ZROX5.d.cts} +2 -2
  252. package/dist/{types-ChOJ-Az7.d.cts → types-CFuT8zr3.d.cts} +2 -2
  253. package/dist/{types-BXKL0wTI.d.cts → types-CNDemlfn.d.cts} +3 -3
  254. package/dist/{types-Rrcx-8LM.d.ts → types-CUovU--e.d.ts} +2 -2
  255. package/dist/{types-DU8aPTFW.d.cts → types-C_JO7FI9.d.cts} +2 -2
  256. package/dist/{types-BVJmcoqA.d.cts → types-CbPO9cGq.d.cts} +2 -2
  257. package/dist/{types-Dsf7CYmm.d.ts → types-Cg_66Toy.d.ts} +2 -2
  258. package/dist/{types-COb2O9c1.d.ts → types-CjqFLXVx.d.cts} +820 -389
  259. package/dist/{types-CSE8bHiq.d.cts → types-Cm1iOHE5.d.cts} +3 -3
  260. package/dist/{types-BD0B1KQ6.d.ts → types-CnKiVVb8.d.ts} +2 -2
  261. package/dist/{types-D2hhEGem.d.cts → types-CrXoqs8E.d.cts} +2 -2
  262. package/dist/{types-DCARsJWs.d.cts → types-CuYaiy4R.d.cts} +4 -4
  263. package/dist/{types-DjSjUKUl.d.ts → types-Cvbcjdgf.d.ts} +2 -2
  264. package/dist/{types-DKKHKj19.d.cts → types-D0BOES7q.d.cts} +2 -2
  265. package/dist/{types-kGZQQcIK.d.ts → types-D0Gqu-Xz.d.cts} +2 -2
  266. package/dist/{types-d5Bt8Mr3.d.ts → types-D2J3SaoY.d.ts} +2 -2
  267. package/dist/{types-Bp8G9yta.d.ts → types-D4knWlwr.d.ts} +2 -2
  268. package/dist/{types-BDgOF2WN.d.ts → types-D6Fbf_y3.d.ts} +4 -4
  269. package/dist/{types-Tg3euEN_.d.ts → types-DMEl2iet.d.ts} +2 -2
  270. package/dist/{types-CTYTMXXj.d.ts → types-DPFG6AAA.d.ts} +2 -2
  271. package/dist/{types-BynQKst1.d.cts → types-DQguGTlM.d.cts} +2 -2
  272. package/dist/{types-DbthI3r-.d.ts → types-DaRxZt3v.d.ts} +2 -2
  273. package/dist/{types-DX1Dz0xK.d.ts → types-DgAMVyiT.d.ts} +2 -2
  274. package/dist/{types-Cr6WA6CN.d.ts → types-DhE7iY90.d.ts} +17 -2
  275. package/dist/{types-B6JcEPEu.d.ts → types-DiXeO0yB.d.ts} +2 -2
  276. package/dist/{types-CKdNf_2k.d.cts → types-DslO1S5E.d.cts} +3 -3
  277. package/dist/{types-Cf0WE6qK.d.cts → types-DtS7qAdz.d.cts} +2 -2
  278. package/dist/{types-C5B3Pfob.d.cts → types-DykEfF2N.d.cts} +2 -2
  279. package/dist/{types-DSWIIMdv.d.ts → types-EdL0Eb0B.d.ts} +3 -3
  280. package/dist/{types-DK1bSUNr.d.ts → types-Foy0RnqF.d.ts} +3 -3
  281. package/dist/{types-BEw98Dd2.d.cts → types-LOf_GCej.d.cts} +2 -2
  282. package/dist/{types-OHt0D_f2.d.ts → types-lZRyNwOH.d.ts} +2 -2
  283. package/dist/{types-CepTvkfm.d.ts → types-p6UYqJo_.d.ts} +2 -2
  284. package/dist/vault/index.d.cts +1 -1
  285. package/dist/vault/index.d.ts +1 -1
  286. package/dist/vault/types.d.cts +1 -1
  287. package/dist/vault/types.d.ts +1 -1
  288. package/package.json +3 -3
  289. package/surface/management.md +25 -25
  290. package/surface/storage.md +5 -0
  291. package/dist/authClient-BM4L8XEN.js.map +0 -1
  292. package/dist/authClient-DspK50e7.cjs.map +0 -1
  293. package/dist/componentId-Cps6WBy1.js.map +0 -1
  294. package/dist/componentId-_tRhEv6W.cjs.map +0 -1
  295. package/dist/constants-DLPkpnGv.js.map +0 -1
  296. package/dist/constants-Day8CU5i.cjs.map +0 -1
  297. package/dist/management-BAfg8BmK.js.map +0 -1
  298. package/dist/management-BuNIc7Mr.cjs.map +0 -1
  299. package/dist/storage--2FvvLAw.js.map +0 -1
  300. package/dist/storage-BMrYlyLB.cjs.map +0 -1
  301. package/dist/validateConnectionStatus-DV00sDmu.js +0 -34
  302. package/dist/validateConnectionStatus-DV00sDmu.js.map +0 -1
  303. package/dist/validateConnectionStatus-ckaHcRx8.cjs +0 -51
  304. package/dist/validateConnectionStatus-ckaHcRx8.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-FrsEkDvX.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-DcKc3_Y1.cjs";
2
2
  /**
3
3
  * This file was auto-generated by openapi-typescript.
4
4
  * Do not make direct changes to the file.
@@ -625,7 +625,7 @@ type paths = {
625
625
  };
626
626
  /**
627
627
  * List Azure Blob Storage
628
- * @description Returns all registered Azure Blob Storages.
628
+ * @description Returns all registered Azure Blob Storages. A super admin, or an admin with the "can-manage-maintainers" feature, may call this.
629
629
  */
630
630
  get: operations['get_/manage/file-storage-abs::FileStorageAbsListAction'];
631
631
  put?: never;
@@ -752,7 +752,7 @@ type paths = {
752
752
  };
753
753
  /**
754
754
  * List Google Cloud Storage
755
- * @description Returns all registered Google Cloud Storages.
755
+ * @description Returns all registered Google Cloud Storages. A super admin, or an admin with the "can-manage-maintainers" feature, may call this.
756
756
  */
757
757
  get: operations['get_/manage/file-storage-gcs::FileStorageGcsListAction'];
758
758
  put?: never;
@@ -818,7 +818,7 @@ type paths = {
818
818
  };
819
819
  /**
820
820
  * List storages
821
- * @description Returns all registered AWS S3 storages.
821
+ * @description Returns all registered AWS S3 storages. A super admin, or an admin with the "can-manage-maintainers" feature, may call this.
822
822
  */
823
823
  get: operations['get_/manage/file-storage-s3::FileStorageS3ListAction'];
824
824
  put?: never;
@@ -1000,7 +1000,7 @@ type paths = {
1000
1000
  put?: never;
1001
1001
  /**
1002
1002
  * Create a maintainer
1003
- * @description Creates a new maintainer. The user associated with the token will become an admin of the maintainer.
1003
+ * @description Creates a new maintainer. A super admin may set every field. An admin with the "can-manage-maintainers" feature may set only name, defaultConnectionSnowflakeId and defaultFileStorageId. The user associated with the token becomes an admin of the maintainer.
1004
1004
  */
1005
1005
  post: operations['post_/manage/maintainers::MaintainerCreateAction'];
1006
1006
  delete?: never;
@@ -1080,7 +1080,7 @@ type paths = {
1080
1080
  head?: never;
1081
1081
  /**
1082
1082
  * Update a maintainer
1083
- * @description A partial update of a maintainer.
1083
+ * @description A partial update of a maintainer. A super admin may change every field. A maintainer member without can-manage-maintainers may change name. An admin with that feature may change name, defaultConnectionSnowflakeId and defaultFileStorageId on any active maintainer.
1084
1084
  */
1085
1085
  patch: operations['patch_/manage/maintainers/{id}::MaintainerUpdateAction'];
1086
1086
  trace?: never;
@@ -2070,6 +2070,26 @@ type paths = {
2070
2070
  patch?: never;
2071
2071
  trace?: never;
2072
2072
  };
2073
+ '/manage/projects/{projectId}/restorable-objects': {
2074
+ parameters: {
2075
+ query?: never;
2076
+ header?: never;
2077
+ path?: never;
2078
+ cookie?: never;
2079
+ };
2080
+ /**
2081
+ * List restorable tables and buckets of a project
2082
+ * @description Lists the tables and buckets dropped from the default branch of a Snowflake project that are still in Snowflake Time Travel and can be restored. Every dropped version is listed, newest first; `droppedOn` identifies the version. The tables of a dropped bucket are listed only once the bucket is restored. Snowflake lists at most 10 000 objects of a database, so a very large project can be listed per bucket with `bucketId`. Read-only. Allowed to a super admin or an admin with the `can-restore-tables` feature.
2083
+ */
2084
+ get: operations['get_/manage/projects/{projectId}/restorable-objects::ProjectListRestorableObjectsAction'];
2085
+ put?: never;
2086
+ post?: never;
2087
+ delete?: never;
2088
+ options?: never;
2089
+ head?: never;
2090
+ patch?: never;
2091
+ trace?: never;
2092
+ };
2073
2093
  '/manage/projects/{projectId}/workspaces': {
2074
2094
  parameters: {
2075
2095
  query?: never;
@@ -2442,10 +2462,18 @@ type paths = {
2442
2462
  put?: never;
2443
2463
  /**
2444
2464
  * Create a new BigQuery backend
2445
- * @description You must create a new project and service account in a folder in your organization,
2446
- * this service account must have the right to create new projects (roles/resourcemanager.projectCreator) in this folder (only in this folder)
2465
+ * @description You must create a new project and service account in a folder in your organization
2447
2466
  * and use the generated json [keyFile](https://cloud.google.com/iam/docs/creating-managing-service-account-keys)
2448
2467
  * for this `service account` in the `credentials` parameter, the folder id then as `folderId`.
2468
+ *
2469
+ * The service account needs, as effective access (direct, inherited or through a group):
2470
+ * - on the folder (only this folder): `roles/resourcemanager.projectCreator` and `roles/browser`;
2471
+ * - on its own project: `roles/owner` and `roles/storage.objectAdmin`;
2472
+ * - on the billing account of its project: `roles/billing.user`;
2473
+ * - on the bucket of every GCS file storage used with this backend: `roles/storage.admin`.
2474
+ *
2475
+ * The registration checks all but the bucket and lists every grant as held or missing; project
2476
+ * creation checks the bucket before it creates anything.
2449
2477
  */
2450
2478
  post: operations['post_/manage/storage-backend/bigquery::StorageBackendCreateBigqueryAction'];
2451
2479
  delete?: never;
@@ -2556,9 +2584,9 @@ type paths = {
2556
2584
  };
2557
2585
  /**
2558
2586
  * BigQuery policy-tag enablement guide
2559
- * @description Returns what the customer sets up in Google Cloud before Keboola can enable BigQuery policy tags on this backend: the custom roles, the root service account's bindings on the taxonomy, its probe tag, and the enable command with the values filled in. `format=markdown` returns a document, `format=terraform` a module that creates the same resources.
2587
+ * @description Returns what the customer sets up in Google Cloud before Keboola can enable BigQuery policy tags on this backend: the custom setter role, its bindings on the taxonomy for the root service account and for the principal set of the backend folder, the probe tag, and the enable command with the values filled in. `format=markdown` returns a document, `format=terraform` a module that creates the same resources.
2560
2588
  *
2561
- * A backend uses one taxonomy. Pass the existing one as the single item of `resourceScopes`, or `createTaxonomy=true` for a new one in `roleProject`; a second taxonomy is refused. The taxonomy must be in the backend region, and in `roleProject`: the custom roles are project-level and can be granted only on resources of their own project.
2589
+ * A backend uses one taxonomy. Pass the existing one as the single item of `resourceScopes`, or `createTaxonomy=true` for a new one in `roleProject`; a second taxonomy is refused. The taxonomy must be in the backend region, and in `roleProject`: the custom role is project-level and can be granted only on resources of its own project.
2562
2590
  *
2563
2591
  * Available to a super admin only, the same as creating a BigQuery backend.
2564
2592
  */
@@ -2693,7 +2721,7 @@ type paths = {
2693
2721
  *
2694
2722
  * With `includeInactive=true` it returns every registered application instead, including
2695
2723
  * those that have no active version — their `version`, `basePath`, `type` and `commitSha`
2696
- * are then null and `scripts`/`styles` empty. That variant requires a super admin.
2724
+ * are then null and `scripts`/`styles`/`preloads` empty. That variant requires a super admin.
2697
2725
  */
2698
2726
  get: operations['get_/manage/ui-apps::UiAppsListAction'];
2699
2727
  put?: never;
@@ -2779,6 +2807,9 @@ type paths = {
2779
2807
  * @description It will completely remove user from everywhere (projects, organizations and maintainers).
2780
2808
  * Removes also personal data of user (e-mail and name).
2781
2809
  *
2810
+ * A holder of the `can-manage-users` feature can delete any user except a super admin, including users
2811
+ * in organizations, projects and maintainers the holder is not a member of.
2812
+ *
2782
2813
  * The path parameter accepts an integer user ID or an email address.
2783
2814
  */
2784
2815
  delete: operations['delete_/manage/users/{idOrEmail}::UserDeleteAction'];
@@ -3153,6 +3184,26 @@ type paths = {
3153
3184
  patch?: never;
3154
3185
  trace?: never;
3155
3186
  };
3187
+ '/pay-as-you-go/x402/projects/{projectId}/credits': {
3188
+ parameters: {
3189
+ query?: never;
3190
+ header?: never;
3191
+ path?: never;
3192
+ cookie?: never;
3193
+ };
3194
+ get?: never;
3195
+ put?: never;
3196
+ /**
3197
+ * Buy pay-as-you-go credits with x402
3198
+ * @description Buys credits for a pay-as-you-go project with a USDC payment over the x402 V2 protocol. Without the `PAYMENT-SIGNATURE` header the call answers `402` with the payment requirements in the base64 JSON `PAYMENT-REQUIRED` header. Repeat the same request with a signed payment in `PAYMENT-SIGNATURE`; it answers `200` with the credit row and the base64 JSON settlement in `PAYMENT-RESPONSE`. The payment must carry the required `payment-identifier` extension: a retry with the same identifier returns the stored result instead of paying again. Authenticated by a Manage API token (admin or session type) or a programmatic bearer token; the browser session cookie and personal access tokens are refused.
3199
+ */
3200
+ post: operations['post_/pay-as-you-go/x402/projects/{projectId}/credits::X402TopUpAction'];
3201
+ delete?: never;
3202
+ options?: never;
3203
+ head?: never;
3204
+ patch?: never;
3205
+ trace?: never;
3206
+ };
3156
3207
  '/integration/partners/gcp/project/{projectId}/set-up/big-query': {
3157
3208
  parameters: {
3158
3209
  query?: never;
@@ -3331,7 +3382,7 @@ type components = {
3331
3382
  */
3332
3383
  accountKey: string;
3333
3384
  };
3334
- FileStorageUsageListRequest: Record<string, never>;
3385
+ FileStorageProjectListRequest: Record<string, never>;
3335
3386
  /** @description Partial update of a file storage; at least one of `owner`, `region` must be supplied. */
3336
3387
  FileStorageUpdateRequest: {
3337
3388
  /**
@@ -3864,6 +3915,7 @@ type components = {
3864
3915
  /** @description Project time zone (e.g., “America/New_York”, “Europe/London”). Only supported with the BigQuery backend. */
3865
3916
  timezone?: string | null;
3866
3917
  };
3918
+ SearchRequest: Record<string, never>;
3867
3919
  CreateSnowflakeBackendWithCertRequest: {
3868
3920
  /**
3869
3921
  * @description Snowflake host name.
@@ -4024,7 +4076,7 @@ type components = {
4024
4076
  */
4025
4077
  format?: 'markdown' | 'terraform' | null;
4026
4078
  /**
4027
- * @description GCP project ID that holds the custom roles (and the new taxonomy when `createTaxonomy` is true).
4079
+ * @description GCP project ID that holds the custom setter role (and the new taxonomy when `createTaxonomy` is true).
4028
4080
  * @example acme-data-governance
4029
4081
  */
4030
4082
  roleProject: string;
@@ -4224,6 +4276,17 @@ type components = {
4224
4276
  /** @description Identifier of the project to top up. Must be a positive integer. */
4225
4277
  idProject: number;
4226
4278
  };
4279
+ X402TopUpQueryRequest: {
4280
+ /**
4281
+ * @description The amount to pay in USD, tax-inclusive, with at most two decimals and within the stack's minimum and maximum. The credits are the amount divided by the stack's credit price.
4282
+ * @example 25.00
4283
+ */
4284
+ amountUsd: string;
4285
+ };
4286
+ X402TopUpHeaderRequest: {
4287
+ /** @description Base64 JSON x402 V2 `PaymentPayload`. */
4288
+ 'payment-signature'?: string | null;
4289
+ };
4227
4290
  SetUpBigQueryRequest: {
4228
4291
  /** @description GCP service account credentials. */
4229
4292
  serviceAccountKey: {
@@ -4773,6 +4836,31 @@ type components = {
4773
4836
  /** @description Projects awaiting purge whose scheduled purge time has passed; a subset of `deleted`. */
4774
4837
  overdue: number;
4775
4838
  };
4839
+ /**
4840
+ * @example {
4841
+ * "id": 1,
4842
+ * "name": "Test user",
4843
+ * "email": "test@example.com"
4844
+ * }
4845
+ */
4846
+ FeatureAdminResponse: {
4847
+ /**
4848
+ * @description Admin identifier.
4849
+ * @example 1
4850
+ */
4851
+ id: number;
4852
+ /**
4853
+ * @description Admin name.
4854
+ * @example Test user
4855
+ */
4856
+ name: string;
4857
+ /**
4858
+ * @description Admin email address.
4859
+ * @example test@example.com
4860
+ */
4861
+ email: string;
4862
+ };
4863
+ FeatureAdminListResponse: components['schemas']['FeatureAdminResponse'][];
4776
4864
  /**
4777
4865
  * @example {
4778
4866
  * "id": 1,
@@ -4783,7 +4871,7 @@ type components = {
4783
4871
  * "canBeManageByAdmin": false,
4784
4872
  * "canBeManagedByAdmin": false,
4785
4873
  * "canBeManagedViaAPI": true,
4786
- * "created": "2016-04-28T15:24:51.620Z"
4874
+ * "created": "2016-04-28T15:24:51+0200"
4787
4875
  * }
4788
4876
  */
4789
4877
  FeatureResponse: {
@@ -4802,7 +4890,7 @@ type components = {
4802
4890
  * @example admin
4803
4891
  * @enum {string}
4804
4892
  */
4805
- type: 'admin' | 'project';
4893
+ type: 'admin' | 'project' | 'global';
4806
4894
  /**
4807
4895
  * @description Feature title.
4808
4896
  * @example Show new design
@@ -4830,9 +4918,8 @@ type components = {
4830
4918
  */
4831
4919
  canBeManagedViaAPI: boolean;
4832
4920
  /**
4833
- * Format: date-time
4834
- * @description Feature creation time.
4835
- * @example 2016-04-28T15:24:51.620Z
4921
+ * @description Feature creation time in ISO 8601 with a UTC offset and no fraction (`Y-m-d\TH:i:sO`); an empty string when the time is not recorded.
4922
+ * @example 2016-04-28T15:24:51+0200
4836
4923
  */
4837
4924
  created: string;
4838
4925
  };
@@ -5363,7 +5450,7 @@ type components = {
5363
5450
  * @example 2016-02-29T08:01:13+0200
5364
5451
  */
5365
5452
  created: string | null;
5366
- /** @description User who invited this user; null when the user was not invited. */
5453
+ /** @description User who invited this user; null when the user was not invited or the inviting user was deleted. */
5367
5454
  invitor: {
5368
5455
  /** @example 124 */
5369
5456
  id: number;
@@ -5566,6 +5653,14 @@ type components = {
5566
5653
  /** @description Organizations belonging to this maintainer. */
5567
5654
  organizations: components['schemas']['OrganizationResponse'][];
5568
5655
  };
5656
+ OrganizationAdministratorReferenceResponse: {
5657
+ /** @example 23423 */
5658
+ id: number;
5659
+ /** @example Martin Halamicek */
5660
+ name: string;
5661
+ /** @example martin@keboola.com */
5662
+ email: string;
5663
+ };
5569
5664
  /**
5570
5665
  * @example {
5571
5666
  * "id": 88,
@@ -5857,6 +5952,67 @@ type components = {
5857
5952
  };
5858
5953
  };
5859
5954
  OrganizationsListResponse: components['schemas']['OrganizationListResponse'][];
5955
+ /**
5956
+ * @example {
5957
+ * "id": 123,
5958
+ * "key": "KBC.SomeEnity.metadataKey",
5959
+ * "value": "Some value",
5960
+ * "provider": "user",
5961
+ * "timestamp": "2021-02-17T15:05:21+0100"
5962
+ * }
5963
+ */
5964
+ OrganizationMetadataResponse: {
5965
+ /**
5966
+ * @description Metadata identifier.
5967
+ * @example 123
5968
+ */
5969
+ id: number;
5970
+ /**
5971
+ * @description Metadata key.
5972
+ * @example KBC.SomeEnity.metadataKey
5973
+ */
5974
+ key: string;
5975
+ /**
5976
+ * @description Metadata value; null only for a row written outside the API.
5977
+ * @example Some value
5978
+ */
5979
+ value: string | null;
5980
+ /**
5981
+ * @description Metadata provider.
5982
+ * @example user
5983
+ */
5984
+ provider: string;
5985
+ /**
5986
+ * Format: date-time
5987
+ * @description Time of the last change.
5988
+ * @example 2021-02-17T15:05:21+0100
5989
+ */
5990
+ timestamp: string;
5991
+ };
5992
+ /**
5993
+ * @example {
5994
+ * "id": 123,
5995
+ * "name": "test user",
5996
+ * "email": "martin@keboola.com"
5997
+ * }
5998
+ */
5999
+ OrganizationProjectUserResponse: {
6000
+ /**
6001
+ * @description User identifier.
6002
+ * @example 123
6003
+ */
6004
+ id: number;
6005
+ /**
6006
+ * @description User name.
6007
+ * @example test user
6008
+ */
6009
+ name: string;
6010
+ /**
6011
+ * @description User e-mail.
6012
+ * @example martin@keboola.com
6013
+ */
6014
+ email: string;
6015
+ };
5860
6016
  ProgrammaticProjectClaimDetailResponse: {
5861
6017
  /** @description Whether the browser carries a parked claim. */
5862
6018
  present: boolean;
@@ -5920,6 +6076,25 @@ type components = {
5920
6076
  confirmUrl: string;
5921
6077
  /** @description Identifier of the claim, safe to log. Correlates the provisioning audit record with the later confirmation without exposing the token. */
5922
6078
  claimId: string;
6079
+ /** @description How to buy more credits for this project with USDC over x402, or null when this stack does not offer it or the card credit price cannot be read right now. Send `method` to `urlTemplate` with `{amountUsd}` replaced by the amount in USD (at most two decimals, between `minAmountUsd` and `maxAmountUsd`); the first call answers 402 with the payment requirements. The endpoint refuses the project until a human confirms it through `confirmUrl`, and confirming revokes `accessToken`, so the call is authenticated by a Manage API token (admin or session type) or a programmatic bearer token of a project admin, such as the confirming human's session. */
6080
+ x402TopUp: {
6081
+ /** @example POST */
6082
+ method: string;
6083
+ /**
6084
+ * @description Absolute URL with an RFC 6570 `{amountUsd}` placeholder.
6085
+ * @example https://connection.keboola.com/pay-as-you-go/x402/projects/1234/credits?amountUsd={amountUsd}
6086
+ */
6087
+ urlTemplate: string;
6088
+ /** @example 1.00 */
6089
+ minAmountUsd: string;
6090
+ /** @example 1000.00 */
6091
+ maxAmountUsd: string;
6092
+ /**
6093
+ * @description USD per credit, the same as the card credit price; the top-up buys `amountUsd / creditPriceUsd` credits.
6094
+ * @example 8.40
6095
+ */
6096
+ creditPriceUsd: string;
6097
+ } | null;
5923
6098
  };
5924
6099
  /**
5925
6100
  * @example {
@@ -6064,8 +6239,8 @@ type components = {
6064
6239
  * @example temporary test
6065
6240
  */
6066
6241
  reason: string | null;
6067
- /** @description User who created the join request. Present only in the list and detail responses, not in the request-access response. */
6068
- user?: {
6242
+ /** @description User who created the join request, with the name and email stored when the request was made. */
6243
+ user: {
6069
6244
  /** @example 1 */
6070
6245
  id: number;
6071
6246
  /** @example admin 1 */
@@ -6230,6 +6405,130 @@ type components = {
6230
6405
  };
6231
6406
  };
6232
6407
  };
6408
+ /**
6409
+ * @example {
6410
+ * "id": 123,
6411
+ * "key": "KBC.SomeEnity.metadataKey",
6412
+ * "value": "Some value",
6413
+ * "provider": "user",
6414
+ * "timestamp": "2021-02-17T15:05:21+0100"
6415
+ * }
6416
+ */
6417
+ ProjectMetadataResponse: {
6418
+ /**
6419
+ * @description Metadata identifier.
6420
+ * @example 123
6421
+ */
6422
+ id: number;
6423
+ /**
6424
+ * @description Metadata key.
6425
+ * @example KBC.SomeEnity.metadataKey
6426
+ */
6427
+ key: string;
6428
+ /**
6429
+ * @description Metadata value; null only for a row written outside the API.
6430
+ * @example Some value
6431
+ */
6432
+ value: string | null;
6433
+ /**
6434
+ * @description Metadata provider.
6435
+ * @example user
6436
+ */
6437
+ provider: string;
6438
+ /**
6439
+ * Format: date-time
6440
+ * @description Time of the last change.
6441
+ * @example 2021-02-17T15:05:21+0100
6442
+ */
6443
+ timestamp: string;
6444
+ };
6445
+ RestorableTableResponse: {
6446
+ /**
6447
+ * @description Bucket the table was dropped from.
6448
+ * @example in.c-sales
6449
+ */
6450
+ bucketId: string;
6451
+ /**
6452
+ * @description Name of the dropped table.
6453
+ * @example orders
6454
+ */
6455
+ tableName: string;
6456
+ /**
6457
+ * @description Identifier the table had.
6458
+ * @example in.c-sales.orders
6459
+ */
6460
+ tableId: string;
6461
+ /**
6462
+ * @description When this version was dropped, in UTC with nanoseconds. Identifies the version to restore; pass it back unchanged.
6463
+ * @example 2026-10-25T08:00:00.123456789Z
6464
+ */
6465
+ droppedOn: string;
6466
+ /**
6467
+ * Format: date-time
6468
+ * @description End of the Time Travel retention of this version; it cannot be restored after that.
6469
+ * @example 2026-11-01T08:00:00+0000
6470
+ */
6471
+ restorableUntil: string;
6472
+ /**
6473
+ * @description Time Travel retention of the table in days.
6474
+ * @example 7
6475
+ */
6476
+ retentionTimeDays: number;
6477
+ /**
6478
+ * @description Rows of the table when it was dropped.
6479
+ * @example 1234
6480
+ */
6481
+ rowsCount: number;
6482
+ /**
6483
+ * @description Size of the table when it was dropped.
6484
+ * @example 56789
6485
+ */
6486
+ dataSizeBytes: number;
6487
+ /**
6488
+ * @description A table or alias with the same name exists in the bucket today, so the version can only be restored under another name.
6489
+ * @example false
6490
+ */
6491
+ liveTableExists: boolean;
6492
+ /**
6493
+ * @description The bucket of the table does not exist today; it is listed under `buckets` and has to be restored first.
6494
+ * @example false
6495
+ */
6496
+ bucketDropped: boolean;
6497
+ };
6498
+ RestorableBucketResponse: {
6499
+ /**
6500
+ * @description Identifier the dropped bucket had.
6501
+ * @example in.c-sales
6502
+ */
6503
+ bucketId: string;
6504
+ /**
6505
+ * @description When this version was dropped, in UTC with nanoseconds. Identifies the version to restore; pass it back unchanged.
6506
+ * @example 2026-10-25T08:00:00.123456789Z
6507
+ */
6508
+ droppedOn: string;
6509
+ /**
6510
+ * Format: date-time
6511
+ * @description End of the Time Travel retention of this version; it cannot be restored after that.
6512
+ * @example 2026-11-01T08:00:00+0000
6513
+ */
6514
+ restorableUntil: string;
6515
+ /**
6516
+ * @description Time Travel retention of the bucket in days.
6517
+ * @example 7
6518
+ */
6519
+ retentionTimeDays: number;
6520
+ /**
6521
+ * @description A bucket with the same identifier exists today, so the version can only be restored under another name.
6522
+ * @example false
6523
+ */
6524
+ liveBucketExists: boolean;
6525
+ };
6526
+ RestorableObjectsResponse: {
6527
+ /** @description Dropped table versions, ordered by bucket, table and newest drop first. */
6528
+ tables: components['schemas']['RestorableTableResponse'][];
6529
+ /** @description Dropped bucket versions, ordered by bucket and newest drop first. The tables of a dropped bucket are listed only once the bucket is restored. */
6530
+ buckets: components['schemas']['RestorableBucketResponse'][];
6531
+ };
6233
6532
  ProjectRetentionWorkspaceResponse: {
6234
6533
  /**
6235
6534
  * @description Workspace identifier.
@@ -6564,6 +6863,44 @@ type components = {
6564
6863
  serviceAccountEmail?: string | null;
6565
6864
  /** @description Detail endpoint only (absent on the list endpoint). Whether the BigQuery policy-tag capability is enabled on the backend. BigQuery backends only; absent otherwise. */
6566
6865
  policyTagsEnabled?: boolean;
6866
+ /** @description Detail endpoint only (absent on the list endpoint). The stored BigQuery policy-tag capability, as `manage:storage-backend:policy-tags --status` prints it without its live taxonomy read. Always present on a BigQuery backend and absent on every other backend. Null when the capability was never configured; `policyTagsEnabled` is false both then and when it is disabled. Every key of the object is always present. */
6867
+ policyTagCapability?: {
6868
+ /** @enum {string} */
6869
+ state: 'enabled' | 'disabled';
6870
+ /**
6871
+ * @description Custom role the customer granted for setting policy tags.
6872
+ * @example projects/my-gov-project/roles/kbcPolicyTagSetter
6873
+ */
6874
+ roleName: string;
6875
+ /**
6876
+ * @description Taxonomy the role is granted on.
6877
+ * @example projects/123456789/locations/us/taxonomies/987654321
6878
+ */
6879
+ resourceScope: string;
6880
+ /**
6881
+ * @description Policy tag the enablement probe attaches.
6882
+ * @example projects/123456789/locations/us/taxonomies/987654321/policyTags/111
6883
+ */
6884
+ probeTag: string;
6885
+ /**
6886
+ * Format: date-time
6887
+ * @description When the capability was enabled; null while it is disabled.
6888
+ */
6889
+ enabledAt: string | null;
6890
+ /**
6891
+ * Format: date-time
6892
+ * @description Last probe run, successful or not; null when it never ran.
6893
+ */
6894
+ verifiedAt: string | null;
6895
+ /** @description Operator of the last probe run. */
6896
+ verifiedBy: string | null;
6897
+ /** @description Error of the last probe run; null when it succeeded or never ran. */
6898
+ lastVerificationError: string | null;
6899
+ /** @description Whether the taxonomy enforces fine-grained access, as stored by the last enablement; null when not recorded. */
6900
+ fineGrainedAccessEnforced: boolean | null;
6901
+ /** @description Projects on this backend holding the `bigquery-policy-tags` feature. */
6902
+ projectsWithFeature: number;
6903
+ } | null;
6567
6904
  };
6568
6905
  StorageBackendListResponse: components['schemas']['StorageBackendDetailResponse'][];
6569
6906
  StorageBackendMaintainerListResponse: {
@@ -6757,6 +7094,8 @@ type components = {
6757
7094
  scripts: string[];
6758
7095
  /** @description List of style URLs. */
6759
7096
  styles: string[];
7097
+ /** @description List of module URLs the entry script imports, for `<link rel="modulepreload">`. */
7098
+ preloads: string[];
6760
7099
  /** @description Whether the application is marked as critical. */
6761
7100
  isCritical: boolean;
6762
7101
  /** @description Git commit SHA that produced this build. */
@@ -6772,6 +7111,7 @@ type components = {
6772
7111
  type: string | null;
6773
7112
  scripts: string[];
6774
7113
  styles: string[];
7114
+ preloads: string[];
6775
7115
  isCritical: boolean;
6776
7116
  commitSha: string | null;
6777
7117
  }[];
@@ -6810,6 +7150,42 @@ type components = {
6810
7150
  name: string | null;
6811
7151
  };
6812
7152
  }[];
7153
+ /**
7154
+ * @example {
7155
+ * "id": 123,
7156
+ * "key": "KBC.SomeEnity.metadataKey",
7157
+ * "value": "Some value",
7158
+ * "provider": "user",
7159
+ * "timestamp": "2021-02-17T15:05:21+0100"
7160
+ * }
7161
+ */
7162
+ UserMetadataResponse: {
7163
+ /**
7164
+ * @description Metadata identifier.
7165
+ * @example 123
7166
+ */
7167
+ id: number;
7168
+ /**
7169
+ * @description Metadata key.
7170
+ * @example KBC.SomeEnity.metadataKey
7171
+ */
7172
+ key: string;
7173
+ /**
7174
+ * @description Metadata value; null only for a value stored outside the API.
7175
+ * @example Some value
7176
+ */
7177
+ value: string | null;
7178
+ /**
7179
+ * @description Metadata provider.
7180
+ * @example user
7181
+ */
7182
+ provider: string;
7183
+ /**
7184
+ * @description Last update timestamp (ISO 8601 with `+HHMM` offset).
7185
+ * @example 2021-02-17T15:05:21+0100
7186
+ */
7187
+ timestamp: string;
7188
+ };
6813
7189
  UserListOrganizationsResponse: {
6814
7190
  organization: {
6815
7191
  /** @example 1 */
@@ -6886,6 +7262,25 @@ type components = {
6886
7262
  */
6887
7263
  state: string;
6888
7264
  };
7265
+ X402TopUpQuoteResponse: {
7266
+ /** @example payment_required */
7267
+ error: string;
7268
+ /**
7269
+ * @description The quoted amount in USD.
7270
+ * @example 42.00
7271
+ */
7272
+ amountUsd: string;
7273
+ /**
7274
+ * @description The credits the payment buys.
7275
+ * @example 5
7276
+ */
7277
+ credits: number;
7278
+ /**
7279
+ * @description USD per credit: the card credit price, the credits are `amountUsd / creditPriceUsd`.
7280
+ * @example 8.40
7281
+ */
7282
+ creditPriceUsd: string;
7283
+ };
6889
7284
  SetUpBigQueryResponse: {
6890
7285
  /** @description Job ID. */
6891
7286
  id: number;
@@ -8519,7 +8914,7 @@ interface operations {
8519
8914
  };
8520
8915
  requestBody?: never;
8521
8916
  responses: {
8522
- /** @description List of admins with the feature assigned. */
8917
+ /** @description List of admins with the feature assigned, ordered by admin ID. */
8523
8918
  200: {
8524
8919
  headers: {
8525
8920
  [name: string]: unknown;
@@ -8534,23 +8929,7 @@ interface operations {
8534
8929
  * }
8535
8930
  * ]
8536
8931
  */
8537
- 'application/json': {
8538
- /**
8539
- * @description Admin identifier.
8540
- * @example 1
8541
- */
8542
- id: number;
8543
- /**
8544
- * @description Admin name.
8545
- * @example Test user
8546
- */
8547
- name: string;
8548
- /**
8549
- * @description Admin email address.
8550
- * @example test@example.com
8551
- */
8552
- email: string;
8553
- }[];
8932
+ 'application/json': components['schemas']['FeatureAdminListResponse'];
8554
8933
  };
8555
8934
  };
8556
8935
  /** @description Returned when the Manage token is missing or invalid. */
@@ -8605,22 +8984,22 @@ interface operations {
8605
8984
  * "type": "admin",
8606
8985
  * "title": "Show new design",
8607
8986
  * "description": "Users with this feature will see new UI",
8608
- * "created": "2016-04-28T15:24:51.620Z"
8987
+ * "created": "2016-04-28T15:24:51+0200"
8609
8988
  * }
8610
8989
  * ]
8611
8990
  */
8612
8991
  'application/json': components['schemas']['FeatureListResponse'];
8613
8992
  };
8614
8993
  };
8615
- /** @description Returned when the Manage token is missing or invalid. */
8616
- 401: {
8994
+ /** @description Returned when request parameters are invalid. */
8995
+ 400: {
8617
8996
  headers: {
8618
8997
  [name: string]: unknown;
8619
8998
  };
8620
8999
  content?: never;
8621
9000
  };
8622
- /** @description Returned when request parameters are invalid. */
8623
- 422: {
9001
+ /** @description Returned when the Manage token is missing or invalid. */
9002
+ 401: {
8624
9003
  headers: {
8625
9004
  [name: string]: unknown;
8626
9005
  };
@@ -8656,7 +9035,7 @@ interface operations {
8656
9035
  * "description": "Users with this feature will see new UI",
8657
9036
  * "canBeManageByAdmin": false,
8658
9037
  * "canBeManagedViaAPI": true,
8659
- * "created": "2016-04-28T15:24:51.620Z"
9038
+ * "created": "2016-04-28T15:24:51+0200"
8660
9039
  * }
8661
9040
  */
8662
9041
  'application/json': components['schemas']['FeatureResponse'];
@@ -8713,7 +9092,7 @@ interface operations {
8713
9092
  * "type": "admin",
8714
9093
  * "title": "Show new design",
8715
9094
  * "description": "Users with this feature will see new UI",
8716
- * "created": "2016-04-28T15:24:51.620Z"
9095
+ * "created": "2016-04-28T15:24:51+0200"
8717
9096
  * }
8718
9097
  */
8719
9098
  'application/json': components['schemas']['FeatureResponse'];
@@ -8814,7 +9193,7 @@ interface operations {
8814
9193
  * "description": "Users with this feature will see new UI",
8815
9194
  * "canBeManageByAdmin": false,
8816
9195
  * "canBeManagedViaAPI": true,
8817
- * "created": "2016-04-28T15:24:51.620Z"
9196
+ * "created": "2016-04-28T15:24:51+0200"
8818
9197
  * }
8819
9198
  */
8820
9199
  'application/json': components['schemas']['FeatureResponse'];
@@ -8959,7 +9338,7 @@ interface operations {
8959
9338
  };
8960
9339
  content?: never;
8961
9340
  };
8962
- /** @description Returned when the Manage token does not have admin privileges or the current admin is not a super admin. */
9341
+ /** @description Returned when the caller is not a super admin and does not hold can-manage-maintainers. */
8963
9342
  403: {
8964
9343
  headers: {
8965
9344
  [name: string]: unknown;
@@ -9414,7 +9793,7 @@ interface operations {
9414
9793
  };
9415
9794
  content?: never;
9416
9795
  };
9417
- /** @description Returned when the Manage token does not have admin privileges or the current admin is not a super admin. */
9796
+ /** @description Returned when the caller is not a super admin and does not hold can-manage-maintainers. */
9418
9797
  403: {
9419
9798
  headers: {
9420
9799
  [name: string]: unknown;
@@ -9485,7 +9864,7 @@ interface operations {
9485
9864
  };
9486
9865
  content?: never;
9487
9866
  };
9488
- /** @description Returned when the Manage token does not have admin privileges. Superuser credentials are not required for storage registration. */
9867
+ /** @description Returned when the Manage token does not have admin privileges, or when a session token belongs to an admin who is not a super admin. Superuser credentials are not required for registration with a personal access token. */
9489
9868
  403: {
9490
9869
  headers: {
9491
9870
  [name: string]: unknown;
@@ -9632,7 +10011,7 @@ interface operations {
9632
10011
  };
9633
10012
  content?: never;
9634
10013
  };
9635
- /** @description Returned when the Manage token does not have admin privileges or the current admin is not a super admin. */
10014
+ /** @description Returned when the caller is not a super admin and does not hold can-manage-maintainers. */
9636
10015
  403: {
9637
10016
  headers: {
9638
10017
  [name: string]: unknown;
@@ -9830,7 +10209,23 @@ interface operations {
9830
10209
  path?: never;
9831
10210
  cookie?: never;
9832
10211
  };
9833
- requestBody?: never;
10212
+ /** @description Optional, display-only. A missing, malformed or unusable body never fails the exchange; the name is then simply not stored. */
10213
+ requestBody?: {
10214
+ content: {
10215
+ 'application/json': {
10216
+ /**
10217
+ * @description OAuth client row of the app the login is for. The name is stored only for the active `local-mcp-client` row with loopback-only callbacks.
10218
+ * @example local-mcp-client
10219
+ */
10220
+ app_client_id?: string;
10221
+ /**
10222
+ * @description Name the local MCP client reported for itself; not verified by Keboola. Sanitised and capped at 48 characters, returned as `reportedClientName` by `GET /v1/auth/sessions`.
10223
+ * @example Codex
10224
+ */
10225
+ reported_client_name?: string;
10226
+ };
10227
+ };
10228
+ };
9834
10229
  responses: {
9835
10230
  /** @description Programmatic session issued. */
9836
10231
  200: {
@@ -11355,14 +11750,7 @@ interface operations {
11355
11750
  * }
11356
11751
  * ]
11357
11752
  */
11358
- 'application/json': (components['schemas']['UserMembershipResponse'] | {
11359
- /** @example 23423 */
11360
- id: number;
11361
- /** @example Martin Halamicek */
11362
- name: string;
11363
- /** @example martin@keboola.com */
11364
- email: string;
11365
- })[];
11753
+ 'application/json': (components['schemas']['UserMembershipResponse'] | components['schemas']['OrganizationAdministratorReferenceResponse'])[];
11366
11754
  };
11367
11755
  };
11368
11756
  /** @description Returned when MFA is required. */
@@ -12341,42 +12729,13 @@ interface operations {
12341
12729
  };
12342
12730
  requestBody?: never;
12343
12731
  responses: {
12344
- /** @description List of organization metadata. */
12732
+ /** @description List of organization metadata, ordered by provider, then key. */
12345
12733
  200: {
12346
12734
  headers: {
12347
12735
  [name: string]: unknown;
12348
12736
  };
12349
12737
  content: {
12350
- /**
12351
- * @example [
12352
- * {
12353
- * "id": 123,
12354
- * "provider": "user",
12355
- * "timestamp": "2021-02-17T15:05:21+0100",
12356
- * "key": "KBC.SomeEnity.metadataKey",
12357
- * "value": "Some value"
12358
- * },
12359
- * {
12360
- * "id": 124,
12361
- * "provider": "user",
12362
- * "timestamp": "2021-02-17T15:05:21+0100",
12363
- * "key": "someMetadataKey",
12364
- * "value": "Some value"
12365
- * }
12366
- * ]
12367
- */
12368
- 'application/json': {
12369
- /** @example 123 */
12370
- id: number;
12371
- /** @example user */
12372
- provider: string;
12373
- /** @example 2021-02-17T15:05:21+0100 */
12374
- timestamp: string;
12375
- /** @example KBC.SomeEnity.metadataKey */
12376
- key: string;
12377
- /** @example Some value */
12378
- value: string;
12379
- }[];
12738
+ 'application/json': components['schemas']['OrganizationMetadataResponse'][];
12380
12739
  };
12381
12740
  };
12382
12741
  /** @description Returned when the organization requires MFA and the current user does not have MFA enabled. */
@@ -12526,7 +12885,7 @@ interface operations {
12526
12885
  };
12527
12886
  requestBody?: never;
12528
12887
  responses: {
12529
- /** @description List of users across projects in the organization. */
12888
+ /** @description Users who are members of at least one not deleted project in the organization, one entry per user, ordered by e-mail. */
12530
12889
  200: {
12531
12890
  headers: {
12532
12891
  [name: string]: unknown;
@@ -12546,14 +12905,7 @@ interface operations {
12546
12905
  * }
12547
12906
  * ]
12548
12907
  */
12549
- 'application/json': {
12550
- /** @example 123 */
12551
- id: number;
12552
- /** @example test user */
12553
- name: string;
12554
- /** @example martin@keboola.com */
12555
- email: string;
12556
- }[];
12908
+ 'application/json': components['schemas']['OrganizationProjectUserResponse'][];
12557
12909
  };
12558
12910
  };
12559
12911
  /** @description Returned when the organization requires MFA and the current user does not have MFA enabled. */
@@ -12570,7 +12922,7 @@ interface operations {
12570
12922
  };
12571
12923
  content?: never;
12572
12924
  };
12573
- /** @description Returned when the token does not have permission to list project users. */
12925
+ /** @description Returned when the user has no access to the organization, or has access only as a super admin or a maintainer member and is not a member of the organization. */
12574
12926
  403: {
12575
12927
  headers: {
12576
12928
  [name: string]: unknown;
@@ -13332,7 +13684,13 @@ interface operations {
13332
13684
  [name: string]: unknown;
13333
13685
  };
13334
13686
  content: {
13335
- 'application/json': components['schemas']['ProjectResponse'];
13687
+ 'application/json': components['schemas']['ProjectResponse'] & {
13688
+ /** @description Present only when the feature was added but needs attention: `bigquery-policy-tags` in a project of a taxonomy that enforces fine-grained access, whose service account cannot read the protected data (`manage.feature.policyTagsReaderMissing`) or could not be checked (`manage.feature.policyTagsReaderNotVerified`). */
13689
+ warnings?: {
13690
+ code?: string;
13691
+ message?: string;
13692
+ }[];
13693
+ };
13336
13694
  };
13337
13695
  };
13338
13696
  /** @description Returned when the Manage token is missing or invalid. */
@@ -13394,6 +13752,13 @@ interface operations {
13394
13752
  'application/json': components['schemas']['ProjectJoinRequestDetailResponse'];
13395
13753
  };
13396
13754
  };
13755
+ /** @description Returned when the project requires MFA and the current user does not have MFA enabled. */
13756
+ 400: {
13757
+ headers: {
13758
+ [name: string]: unknown;
13759
+ };
13760
+ content?: never;
13761
+ };
13397
13762
  /** @description Returned when the Manage token is missing or invalid. */
13398
13763
  401: {
13399
13764
  headers: {
@@ -13685,6 +14050,13 @@ interface operations {
13685
14050
  'application/json': components['schemas']['ProjectInvitationDetailResponse'];
13686
14051
  };
13687
14052
  };
14053
+ /** @description Returned when the project requires MFA and the current user does not have MFA enabled. */
14054
+ 400: {
14055
+ headers: {
14056
+ [name: string]: unknown;
14057
+ };
14058
+ content?: never;
14059
+ };
13688
14060
  /** @description Returned when the Manage token is missing or invalid. */
13689
14061
  401: {
13690
14062
  headers: {
@@ -13983,6 +14355,13 @@ interface operations {
13983
14355
  'application/json': components['schemas']['ProjectInvitationDetailResponse'][];
13984
14356
  };
13985
14357
  };
14358
+ /** @description Returned when the project requires MFA and the current user does not have MFA enabled. */
14359
+ 400: {
14360
+ headers: {
14361
+ [name: string]: unknown;
14362
+ };
14363
+ content?: never;
14364
+ };
13986
14365
  /** @description Returned when the Manage token is missing or invalid. */
13987
14366
  401: {
13988
14367
  headers: {
@@ -14718,6 +15097,13 @@ interface operations {
14718
15097
  'application/json': components['schemas']['ProjectJoinRequestDetailResponse'][];
14719
15098
  };
14720
15099
  };
15100
+ /** @description Returned when the project requires MFA and the current user does not have MFA enabled. */
15101
+ 400: {
15102
+ headers: {
15103
+ [name: string]: unknown;
15104
+ };
15105
+ content?: never;
15106
+ };
14721
15107
  /** @description Returned when the Manage token is missing or invalid. */
14722
15108
  401: {
14723
15109
  headers: {
@@ -14756,43 +15142,21 @@ interface operations {
14756
15142
  };
14757
15143
  requestBody?: never;
14758
15144
  responses: {
14759
- /** @description List of project metadata. */
15145
+ /** @description List of project metadata, ordered by provider, then key. */
14760
15146
  200: {
14761
15147
  headers: {
14762
15148
  [name: string]: unknown;
14763
15149
  };
14764
15150
  content: {
14765
- /**
14766
- * @example [
14767
- * {
14768
- * "id": 123,
14769
- * "provider": "user",
14770
- * "timestamp": "2021-02-17T15:05:21+0100",
14771
- * "key": "KBC.SomeEnity.metadataKey",
14772
- * "value": "Some value"
14773
- * },
14774
- * {
14775
- * "id": 124,
14776
- * "provider": "user",
14777
- * "timestamp": "2021-02-17T15:05:21+0100",
14778
- * "key": "someMetadataKey",
14779
- * "value": "Some value"
14780
- * }
14781
- * ]
14782
- */
14783
- 'application/json': {
14784
- /** @example 123 */
14785
- id: number;
14786
- /** @example user */
14787
- provider: string;
14788
- /** @example 2021-02-17T15:05:21+0100 */
14789
- timestamp: string;
14790
- /** @example KBC.SomeEnity.metadataKey */
14791
- key: string;
14792
- /** @example Some value */
14793
- value: string;
14794
- }[];
15151
+ 'application/json': components['schemas']['ProjectMetadataResponse'][];
15152
+ };
15153
+ };
15154
+ /** @description Returned when the project requires MFA and the current user does not have MFA enabled. */
15155
+ 400: {
15156
+ headers: {
15157
+ [name: string]: unknown;
14795
15158
  };
15159
+ content?: never;
14796
15160
  };
14797
15161
  /** @description Returned when the Manage token is missing or invalid. */
14798
15162
  401: {
@@ -14919,6 +15283,66 @@ interface operations {
14919
15283
  };
14920
15284
  };
14921
15285
  };
15286
+ 'get_/manage/projects/{projectId}/restorable-objects::ProjectListRestorableObjectsAction': {
15287
+ parameters: {
15288
+ query?: {
15289
+ /**
15290
+ * @description Only list the dropped tables of this existing bucket. Dropped buckets are then not listed. Linked, external-schema and non-Snowflake buckets have nothing in Time Travel and return 404.
15291
+ * @example in.c-sales
15292
+ */
15293
+ bucketId?: string;
15294
+ };
15295
+ header?: never;
15296
+ path: {
15297
+ /**
15298
+ * @description Identifier of the project.
15299
+ * @example 4088
15300
+ */
15301
+ projectId: number;
15302
+ };
15303
+ cookie?: never;
15304
+ };
15305
+ requestBody?: never;
15306
+ responses: {
15307
+ /** @description Dropped tables and buckets that can be restored. */
15308
+ 200: {
15309
+ headers: {
15310
+ [name: string]: unknown;
15311
+ };
15312
+ content: {
15313
+ 'application/json': components['schemas']['RestorableObjectsResponse'];
15314
+ };
15315
+ };
15316
+ /** @description Returned when the project has no Snowflake storage. */
15317
+ 400: {
15318
+ headers: {
15319
+ [name: string]: unknown;
15320
+ };
15321
+ content?: never;
15322
+ };
15323
+ /** @description Returned when the Manage token is missing or invalid. */
15324
+ 401: {
15325
+ headers: {
15326
+ [name: string]: unknown;
15327
+ };
15328
+ content?: never;
15329
+ };
15330
+ /** @description Returned when the current admin is neither a super admin nor holds the can-restore-tables feature. */
15331
+ 403: {
15332
+ headers: {
15333
+ [name: string]: unknown;
15334
+ };
15335
+ content?: never;
15336
+ };
15337
+ /** @description Returned when the project, or the bucket given in `bucketId`, does not exist. */
15338
+ 404: {
15339
+ headers: {
15340
+ [name: string]: unknown;
15341
+ };
15342
+ content?: never;
15343
+ };
15344
+ };
15345
+ };
14922
15346
  'get_/manage/projects/{projectId}/workspaces::ProjectListRetentionWorkspacesAction': {
14923
15347
  parameters: {
14924
15348
  query?: {
@@ -15240,7 +15664,7 @@ interface operations {
15240
15664
  * }
15241
15665
  * }
15242
15666
  */
15243
- 'application/json': components['schemas']['ProjectJoinRequestDetailResponse'];
15667
+ 'application/json': components['schemas']['ProjectJoinRequestResponse'];
15244
15668
  };
15245
15669
  };
15246
15670
  /** @description Returned when the request body is invalid or the user is not activated. */
@@ -16205,7 +16629,7 @@ interface operations {
16205
16629
  /** @description Guide format. */
16206
16630
  format?: 'markdown' | 'terraform';
16207
16631
  /**
16208
- * @description GCP project ID that holds the custom roles, and the new taxonomy when `createTaxonomy` is true.
16632
+ * @description GCP project ID that holds the custom setter role, and the new taxonomy when `createTaxonomy` is true.
16209
16633
  * @example acme-data-governance
16210
16634
  */
16211
16635
  roleProject: string;
@@ -16285,7 +16709,7 @@ interface operations {
16285
16709
  };
16286
16710
  content?: never;
16287
16711
  };
16288
- /** @description Returned when the backend has no valid stored service account or region to render the guide from. */
16712
+ /** @description Returned when the backend has no valid stored service account, region or BigQuery folder to render the guide from. */
16289
16713
  409: {
16290
16714
  headers: {
16291
16715
  [name: string]: unknown;
@@ -16633,6 +17057,7 @@ interface operations {
16633
17057
  * "https://kbc-uis.s3.amazonaws.com/kbc.manageApps/0.0.3-33-ga6bc947/styles/libs.css",
16634
17058
  * "https://kbc-uis.s3.amazonaws.com/kbc.manageApps/0.0.3-33-ga6bc947/styles/select2.png"
16635
17059
  * ],
17060
+ * "preloads": [],
16636
17061
  * "isCritical": false,
16637
17062
  * "commitSha": "a6bc947f1e2d3c4b5a6bc947f1e2d3c4b5a6bc94"
16638
17063
  * }
@@ -16876,14 +17301,14 @@ interface operations {
16876
17301
  };
16877
17302
  content?: never;
16878
17303
  };
16879
- /** @description Returned when the current admin cannot access the user. */
17304
+ /** @description Returned with code `manage.users.cannotAccessOtherUsers` when the current admin is neither a super admin nor has the `can-manage-users` feature, also for their own user and for an unknown one. */
16880
17305
  403: {
16881
17306
  headers: {
16882
17307
  [name: string]: unknown;
16883
17308
  };
16884
17309
  content?: never;
16885
17310
  };
16886
- /** @description Returned when the user does not exist. */
17311
+ /** @description Returned with code `manage.user.notFound` when the user does not exist. */
16887
17312
  404: {
16888
17313
  headers: {
16889
17314
  [name: string]: unknown;
@@ -16996,6 +17421,13 @@ interface operations {
16996
17421
  };
16997
17422
  content?: never;
16998
17423
  };
17424
+ /** @description Returned when the user cannot be removed from one of their organizations or maintainers (its last member), or when the current admin is not activated and the user has a project invitation. */
17425
+ 400: {
17426
+ headers: {
17427
+ [name: string]: unknown;
17428
+ };
17429
+ content?: never;
17430
+ };
16999
17431
  /** @description Returned when the Manage token is missing or invalid. */
17000
17432
  401: {
17001
17433
  headers: {
@@ -17003,7 +17435,7 @@ interface operations {
17003
17435
  };
17004
17436
  content?: never;
17005
17437
  };
17006
- /** @description Returned when the current admin has no privilege to delete other users. */
17438
+ /** @description Returned when the current admin has no privilege to delete other users, or when a non-super-admin deletes a super admin. */
17007
17439
  403: {
17008
17440
  headers: {
17009
17441
  [name: string]: unknown;
@@ -17208,47 +17640,21 @@ interface operations {
17208
17640
  * @example [
17209
17641
  * {
17210
17642
  * "id": 123,
17211
- * "provider": "user",
17212
- * "timestamp": "2021-02-17T15:05:21+0100",
17213
17643
  * "key": "KBC.SomeEnity.metadataKey",
17214
- * "value": "Some value"
17644
+ * "value": "Some value",
17645
+ * "provider": "user",
17646
+ * "timestamp": "2021-02-17T15:05:21+0100"
17215
17647
  * },
17216
17648
  * {
17217
17649
  * "id": 124,
17218
- * "provider": "user",
17219
- * "timestamp": "2021-02-17T15:05:21+0100",
17220
17650
  * "key": "someMetadataKey",
17221
- * "value": "Some value"
17651
+ * "value": "Some value",
17652
+ * "provider": "user",
17653
+ * "timestamp": "2021-02-17T15:05:21+0100"
17222
17654
  * }
17223
17655
  * ]
17224
17656
  */
17225
- 'application/json': {
17226
- /**
17227
- * @description Metadata identifier.
17228
- * @example 123
17229
- */
17230
- id: number;
17231
- /**
17232
- * @description Metadata provider.
17233
- * @example user
17234
- */
17235
- provider: string;
17236
- /**
17237
- * @description Last update timestamp.
17238
- * @example 2021-02-17T15:05:21+0100
17239
- */
17240
- timestamp: string;
17241
- /**
17242
- * @description Metadata key.
17243
- * @example KBC.SomeEnity.metadataKey
17244
- */
17245
- key: string;
17246
- /**
17247
- * @description Metadata value.
17248
- * @example Some value
17249
- */
17250
- value: string;
17251
- }[];
17657
+ 'application/json': components['schemas']['UserMetadataResponse'][];
17252
17658
  };
17253
17659
  };
17254
17660
  /** @description Returned when the Manage token is missing or invalid. */
@@ -17258,7 +17664,7 @@ interface operations {
17258
17664
  };
17259
17665
  content?: never;
17260
17666
  };
17261
- /** @description Returned when the user does not exist. */
17667
+ /** @description Returned with code `manage.user.notFound` when the user does not exist, or when the token may not access the user. */
17262
17668
  404: {
17263
17669
  headers: {
17264
17670
  [name: string]: unknown;
@@ -17739,6 +18145,15 @@ interface operations {
17739
18145
  description: string | null;
17740
18146
  invoiceTopUpType: string | null;
17741
18147
  stripeInvoiceStatus: string | null;
18148
+ /** @description Provider of a non-Stripe-invoice payment, `x402-base` for an x402 top-up; null otherwise. */
18149
+ paymentProvider: string | null;
18150
+ /**
18151
+ * @description State of an x402 top-up; only `settled` rows count as purchased credits. Null on other rows.
18152
+ * @enum {string|null}
18153
+ */
18154
+ paymentStatus: 'pending' | 'settled' | 'expired' | null;
18155
+ /** @description On-chain transaction hash of a settled x402 top-up; null otherwise. */
18156
+ externalPaymentId: string | null;
17742
18157
  /** Format: date-time */
17743
18158
  created: string;
17744
18159
  }[];
@@ -18176,6 +18591,129 @@ interface operations {
18176
18591
  };
18177
18592
  };
18178
18593
  };
18594
+ 'post_/pay-as-you-go/x402/projects/{projectId}/credits::X402TopUpAction': {
18595
+ parameters: {
18596
+ query: {
18597
+ /**
18598
+ * @description The amount to pay in USD, tax-inclusive, with at most two decimals and within the stack's minimum and maximum. The credits are the amount divided by the stack's credit price.
18599
+ * @example 25.00
18600
+ */
18601
+ amountUsd: string;
18602
+ };
18603
+ header?: {
18604
+ /** @description Base64 JSON x402 V2 `PaymentPayload` of an `exact` EVM payment for exactly the requirements from `PAYMENT-REQUIRED`, with the `payment-identifier` extension. Omit it to get the payment requirements. */
18605
+ 'PAYMENT-SIGNATURE'?: string;
18606
+ };
18607
+ path: {
18608
+ /** @description The pay-as-you-go project to credit. */
18609
+ projectId: number;
18610
+ };
18611
+ cookie?: never;
18612
+ };
18613
+ requestBody?: never;
18614
+ responses: {
18615
+ /** @description The payment is settled and the credits are added. */
18616
+ 200: {
18617
+ headers: {
18618
+ /** @description Base64 JSON x402 `SettlementResponse` with `success`, `transaction` and `network`. */
18619
+ 'PAYMENT-RESPONSE'?: string;
18620
+ [name: string]: unknown;
18621
+ };
18622
+ content: {
18623
+ 'application/json': {
18624
+ id: number;
18625
+ idProject: number;
18626
+ creditsAmount: number;
18627
+ /** @description The amount paid in USD cents. */
18628
+ moneyAmount: number;
18629
+ idStripeInvoice: string | null;
18630
+ urlStripeInvoice: string | null;
18631
+ description: string | null;
18632
+ /** @example x402 */
18633
+ invoiceTopUpType: string;
18634
+ stripeInvoiceStatus: string | null;
18635
+ /** @example x402-base */
18636
+ paymentProvider: string;
18637
+ /** @example settled */
18638
+ paymentStatus: string;
18639
+ /** @description On-chain transaction hash of the settled payment. */
18640
+ externalPaymentId: string;
18641
+ /** Format: date-time */
18642
+ created: string;
18643
+ };
18644
+ };
18645
+ };
18646
+ /** @description Invalid `amountUsd` (`x402.invalidAmount`), a `PAYMENT-SIGNATURE` that does not decode or does not match the requirements (`x402.invalidPaymentSignature`), a missing `payment-identifier` (`x402.paymentIdentifierMissing`), or a project without pay-as-you-go. */
18647
+ 400: {
18648
+ headers: {
18649
+ [name: string]: unknown;
18650
+ };
18651
+ content?: never;
18652
+ };
18653
+ /** @description Payment required: the call carried no payment (`error: payment_required`), or the facilitator rejected the payment or it expired (`x402.paymentRejected`, reason in `params.reason`). Sign a new payment for the requirements in `PAYMENT-REQUIRED`. */
18654
+ 402: {
18655
+ headers: {
18656
+ /** @description Base64 JSON x402 V2 `PaymentRequired`: the resource, one `exact` requirement (network, USDC asset, amount in atomic units, recipient) and the required `payment-identifier` extension. */
18657
+ 'PAYMENT-REQUIRED'?: string;
18658
+ [name: string]: unknown;
18659
+ };
18660
+ content: {
18661
+ 'application/json': components['schemas']['X402TopUpQuoteResponse'] | {
18662
+ /** @description The error message. */
18663
+ error: string;
18664
+ /** @example x402.paymentRejected */
18665
+ code: string;
18666
+ /** @description Includes `reason`, the facilitator reason or `expired`. */
18667
+ params?: Record<string, never>;
18668
+ };
18669
+ };
18670
+ };
18671
+ /** @description No valid token credential, a browser session cookie or a personal access token, or no access to the project. */
18672
+ 403: {
18673
+ headers: {
18674
+ [name: string]: unknown;
18675
+ };
18676
+ content?: never;
18677
+ };
18678
+ /** @description The project does not exist, or pay-as-you-go or the x402 top-up is not enabled on this stack. */
18679
+ 404: {
18680
+ headers: {
18681
+ [name: string]: unknown;
18682
+ };
18683
+ content?: never;
18684
+ };
18685
+ /** @description The project is an unconfirmed agent project (`x402.agentProjectUnclaimed`), the `payment-identifier` or the authorization is recorded for another payment (`x402.paymentIdentifierConflict`), or another top-up of the project is in progress (`x402.topUpInProgress`). */
18686
+ 409: {
18687
+ headers: {
18688
+ [name: string]: unknown;
18689
+ };
18690
+ content?: never;
18691
+ };
18692
+ /** @description Too many x402 top-up requests by the admin or for the project (`x402.rateLimited`). */
18693
+ 429: {
18694
+ headers: {
18695
+ 'Retry-After'?: number;
18696
+ [name: string]: unknown;
18697
+ };
18698
+ content?: never;
18699
+ };
18700
+ /** @description The facilitator failed to verify the payment (`x402.facilitatorUnavailable`). Nothing was recorded and no money moved; a retry is safe. */
18701
+ 502: {
18702
+ headers: {
18703
+ [name: string]: unknown;
18704
+ };
18705
+ content?: never;
18706
+ };
18707
+ /** @description The settlement outcome is not known yet (`x402.settlementPending`). Retry the same request with the same `payment-identifier` after `Retry-After`; do not sign a new payment. Also answered when the card credit price cannot be read (`x402.creditPriceUnavailable`): for a quote, for the first request with a payment whose identifier has nothing recorded, or for the 402 of an expired payment, whose `PAYMENT-REQUIRED` needs the current price. Nothing was recorded and no money moved; retry the same request, with the same `payment-identifier` if it carried a payment, after `Retry-After`. */
18708
+ 503: {
18709
+ headers: {
18710
+ 'Retry-After'?: number;
18711
+ [name: string]: unknown;
18712
+ };
18713
+ content?: never;
18714
+ };
18715
+ };
18716
+ };
18179
18717
  post_keboola_integration_partners_gcp_project_bigquery_bigquerysetupaction__invoke: {
18180
18718
  parameters: {
18181
18719
  query?: never;
@@ -18482,237 +19020,85 @@ type CreatePaymentRequestBody = OpenapiBodyType<paths['/pay-as-you-go/billing/cr
18482
19020
  type ProgrammaticProjectClaim = OpenapiReturnType<paths['/manage/programmatic-projects/claim']['get']>;
18483
19021
  type ConfirmProgrammaticProjectBody = OpenapiBodyType<paths['/manage/programmatic-projects/confirm']['post']>;
18484
19022
  type ConfirmProgrammaticProjectResult = OpenapiReturnType<paths['/manage/programmatic-projects/confirm']['post']>;
18485
- type AddUserFeaturePath = {
18486
- userIdOrMail: string;
18487
- };
18488
- type AddUserFeatureBody = {
18489
- feature: string;
18490
- };
18491
- type RemoveUserFeaturePath = {
18492
- userIdOrMail: string;
18493
- feature: string;
18494
- };
18495
- type ProjectUsersResponse = OpenapiReturnType<paths['/manage/projects/{projectId}/users']['get']>;
18496
- type User = {
18497
- id: number;
18498
- name: string;
18499
- email: string;
18500
- mfaEnabled: boolean;
18501
- features: string[];
18502
- canAccessLogs: boolean;
18503
- role: 'guest' | 'readOnly' | 'admin' | 'share' | 'productionManager' | 'developer' | 'reviewer';
18504
- isSuperAdmin: boolean;
18505
- canApproveMergeRequests: boolean;
18506
- /** Project users only; older stacks and other user endpoints omit this field. */
18507
- isOrganizationMember?: ProjectUsersResponse[number]['isOrganizationMember'];
18508
- };
18509
- type UserDetail = components['schemas']['UserResponse'];
18510
- type UserListItem = components['schemas']['UserListResponse'][number];
18511
- type UserOrganizationMembership = components['schemas']['UserListOrganizationsResponse'][number];
18512
- type UserProjectMembership = components['schemas']['UserListProjectsResponse'][number];
18513
- type UserMaintainerMembership = components['schemas']['UserListMaintainersResponse'][number];
18514
- type GetUsersQuery = NonNullable<operations['get_/manage/users::UserListAction']['parameters']['query']>;
18515
- /** The schema path parameter is `idOrEmail`; these methods take a numeric `id`, as their neighbours do. */
18516
- type UserPath = {
18517
- id: number;
18518
- };
18519
- type UpdateUserBody = OpenapiBodyType<paths['/manage/users/{idOrEmail}']['put']>;
18520
- type UpdateUserInput = UserPath & UpdateUserBody;
18521
- type SetUserMetadataBody = components['schemas']['MetadataRequest'];
18522
- type SetUserMetadataInput = UserPath & SetUserMetadataBody;
18523
- type DeleteUserMetadataPath = UserPath & {
18524
- metadataId: number;
18525
- };
18526
- type UpdateProjectBody = components['schemas']['ProjectUpdateRequest'];
18527
- type ProjectTemplate = components['schemas']['ProjectTemplateResponse'];
18528
- type MoveProjectBody = paths['/manage/projects/{projectId}/organizations']['post']['requestBody']['content']['application/json'];
18529
- /** Body for POST /manage/projects/{projectId}/disabled — hand-written, no schema entry.
18530
- * The backend 400s without `disableReason` when disabling. */
18531
- type SetProjectDisabledBody = {
18532
- isDisabled: true;
18533
- disableReason: string;
18534
- estimatedEndTime?: string;
18535
- } | {
18536
- isDisabled: false;
18537
- };
18538
- /** Super admins may set any limit; `can-manage-project-limits` admins only a whitelisted subset. */
18539
- type SetProjectLimitsBody = {
18540
- limits: {
18541
- name: string;
18542
- value: number;
18543
- }[];
18544
- };
18545
19023
  type GetProjectPath = {
18546
19024
  projectId: number | string;
18547
19025
  };
19026
+ type Project = OpenapiReturnType<paths['/manage/projects/{projectId}']['get']>;
19027
+ type UpdateProjectPath = OpenapiPathType<paths['/manage/projects/{projectId}']['put']>;
19028
+ type UpdateProjectBody = OpenapiBodyType<paths['/manage/projects/{projectId}']['put']>;
19029
+ type UpdateProjectInput = UpdateProjectPath & UpdateProjectBody;
19030
+ type MoveProjectPath = OpenapiPathType<paths['/manage/projects/{projectId}/organizations']['post']>;
19031
+ type MoveProjectBody = OpenapiBodyType<paths['/manage/projects/{projectId}/organizations']['post']>;
19032
+ type MoveProjectInput = MoveProjectPath & MoveProjectBody;
19033
+ type SetProjectDisabledPath = OpenapiPathType<paths['/manage/projects/{projectId}/disabled']['post']>;
19034
+ type SetProjectDisabledBody = OpenapiBodyType<paths['/manage/projects/{projectId}/disabled']['post']>;
19035
+ type SetProjectDisabledInput = SetProjectDisabledPath & SetProjectDisabledBody;
19036
+ type SetProjectLimitsPath = OpenapiPathType<paths['/manage/projects/{projectId}/limits']['post']>;
19037
+ /** Super admins may set any limit; `can-manage-project-limits` admins only a whitelisted subset. */
19038
+ type SetProjectLimitsBody = OpenapiBodyType<paths['/manage/projects/{projectId}/limits']['post']>;
19039
+ type SetProjectLimitsInput = SetProjectLimitsPath & SetProjectLimitsBody;
19040
+ type RemoveProjectLimitPath = OpenapiPathType<paths['/manage/projects/{projectId}/limits/{limitName}']['delete']>;
19041
+ type CreateProjectFeaturePath = OpenapiPathType<paths['/manage/projects/{projectId}/features']['post']>;
19042
+ type CreateProjectFeatureBody = OpenapiBodyType<paths['/manage/projects/{projectId}/features']['post']>;
19043
+ type CreateProjectFeatureInput = CreateProjectFeaturePath & CreateProjectFeatureBody;
19044
+ type ProjectFeatureWarning = NonNullable<OpenapiReturnType<paths['/manage/projects/{projectId}/features']['post']>['warnings']>[number];
19045
+ type RemoveProjectFeaturePath = OpenapiPathType<paths['/manage/projects/{projectId}/features/{feature}']['delete']>;
18548
19046
  type ListProjectUsersPath = {
18549
19047
  projectId: number | string;
18550
19048
  };
18551
- type CreateProjectFeaturePath = {
18552
- projectId: number;
18553
- };
18554
- type CreateProjectFeatureBody = {
18555
- feature: string;
18556
- };
18557
- type RemoveProjectFeaturePath = {
18558
- projectId: number;
18559
- feature: string;
18560
- };
18561
- type ProjectLimit = {
18562
- name: string;
18563
- value: number;
18564
- };
18565
- type ProjectOrganization = {
18566
- id: number;
18567
- name: string;
18568
- created: string;
18569
- allowAutoJoin: boolean;
18570
- crmId: string;
18571
- activityCenterProjectId: number | null;
18572
- mfaRequired: boolean;
18573
- };
18574
- type ProjectFileStorage = {
18575
- id: number;
18576
- accountName: string;
18577
- region: string;
18578
- containerName: string;
18579
- provider: string;
18580
- owner: string;
18581
- isDefault: boolean;
18582
- created: string;
18583
- creator: {
18584
- id: number;
18585
- name: string;
18586
- };
18587
- };
18588
- type ProjectBackends = Record<string, {
18589
- id: number;
18590
- host: string;
18591
- region: string;
18592
- owner: string;
18593
- }>;
18594
- type GetProjectMetadataPath = {
18595
- projectId: number;
18596
- };
18597
- type SetProjectMetadataPath = {
18598
- projectId: number;
18599
- };
18600
- type ProjectMetadataItem = OpenapiReturnType<paths['/manage/projects/{projectId}/metadata']['get']>[number];
18601
- type SetProjectMetadataBody = components['schemas']['MetadataRequest'];
18602
- type ProjectMetadataInput = SetProjectMetadataBody['metadata'][number];
18603
- type GetProjectReviewersPath = {
18604
- projectId: number;
18605
- };
18606
- type Reviewer = {
18607
- id: number;
18608
- name: string;
18609
- email: string;
18610
- };
18611
- type SetProjectReviewersPath = {
19049
+ type ProjectMember = OpenapiReturnType<paths['/manage/projects/{projectId}/users']['get']>[number];
19050
+ type AddProjectUserPath = OpenapiPathType<paths['/manage/projects/{projectId}/users']['post']>;
19051
+ type AddProjectUserBody = OpenapiBodyType<paths['/manage/projects/{projectId}/users']['post']>;
19052
+ type AddProjectUserInput = AddProjectUserPath & AddProjectUserBody;
19053
+ type RemoveProjectUserPath = {
18612
19054
  projectId: number;
19055
+ idOrEmail: number | string;
18613
19056
  };
18614
- type SetProjectReviewersBody = {
18615
- adminIds: number[];
18616
- };
18617
- type ListProjectInvitationsPath = {
18618
- projectId: number | string;
18619
- };
18620
- type ProjectInvitationDetail = components['schemas']['ProjectInvitationDetailResponse'];
19057
+ type ChangeProjectUserRolePath = OpenapiPathType<paths['/manage/projects/{projectId}/users/{userId}']['patch']>;
19058
+ type ChangeProjectUserRoleBody = OpenapiBodyType<paths['/manage/projects/{projectId}/users/{userId}']['patch']>;
19059
+ type ChangeProjectUserRoleInput = ChangeProjectUserRolePath & ChangeProjectUserRoleBody;
18621
19060
  /** The roles a non-SOX project offers on invite / add; a SOX project offers
18622
19061
  * `productionManager`, `developer` and `reviewer` instead. */
18623
- type ProjectInvitableRole = 'admin' | 'guest' | 'readOnly' | 'share';
18624
- type CreateProjectInvitationPath = {
18625
- projectId: number;
18626
- };
18627
- type CreateProjectInvitationBody = {
18628
- email: string;
18629
- role?: User['role'];
18630
- /** Seconds until the invitation and the resulting membership expire. */
18631
- expirationSeconds?: number;
18632
- /** `ui_apps` key the invitation leads to instead of the project; honoured only with the
18633
- * matching project feature, else (and on stacks unaware of it) the ordinary email is sent. */
18634
- landingApp?: 'business-workspace';
18635
- };
18636
- type DeleteProjectInvitationPath = {
18637
- projectId: number;
18638
- invitationId: number;
18639
- };
18640
- type AddProjectUserPath = {
18641
- projectId: number;
18642
- };
18643
- type AddProjectUserBody = {
18644
- email: string;
18645
- role?: ProjectInvitableRole;
18646
- };
18647
- type RemoveProjectUserPath = {
18648
- projectId: number;
18649
- idOrEmail: number | string;
19062
+ type ProjectInvitableRole = Exclude<NonNullable<AddProjectUserBody['role']>, 'productionManager' | 'developer' | 'reviewer'>;
19063
+ type ListProjectInvitationsPath = {
19064
+ projectId: number | string;
18650
19065
  };
19066
+ type CreateProjectInvitationPath = OpenapiPathType<paths['/manage/projects/{projectId}/invitations']['post']>;
19067
+ type CreateProjectInvitationBody = OpenapiBodyType<paths['/manage/projects/{projectId}/invitations']['post']>;
19068
+ type CreateProjectInvitationInput = CreateProjectInvitationPath & CreateProjectInvitationBody;
19069
+ type GetProjectInvitationPath = OpenapiPathType<paths['/manage/projects/{projectId}/invitations/{invitationId}']['get']>;
19070
+ type ProjectInvitationDetail = OpenapiReturnType<paths['/manage/projects/{projectId}/invitations/{invitationId}']['get']>;
19071
+ type DeleteProjectInvitationPath = OpenapiPathType<paths['/manage/projects/{projectId}/invitations/{invitationId}']['delete']>;
18651
19072
  type ListProjectJoinRequestsPath = {
18652
19073
  projectId: number | string;
18653
19074
  };
18654
- type ProjectJoinRequestDetail = components['schemas']['ProjectJoinRequestDetailResponse'];
18655
- type ProjectJoinRequestPath = {
18656
- projectId: number;
18657
- joinRequestId: number;
18658
- };
18659
- /** Returned by `updateProject`, `moveProject` and `setProjectDisabled`;
18660
- * the detail and `setProjectLimits` return the richer {@link Project}. */
18661
- type ProjectBase = Omit<components['schemas']['ProjectResponse'], 'limits' | 'metrics'> & {
18662
- limits: Record<string, ProjectLimit>;
18663
- metrics: Record<string, unknown>;
18664
- };
18665
- /** A warning the API attaches to a feature it added but that needs attention. */
18666
- type ProjectFeatureWarning = {
18667
- code?: string;
18668
- message?: string;
18669
- };
18670
- /**
18671
- * Returned by `addProjectFeature`: the project, plus `warnings` when the added feature needs attention.
18672
- *
18673
- * - `warnings` is in the live manage OpenAPI (connection #9057) but not yet in the committed schema.
18674
- * - Drop this overlay once a schema regen brings it in.
18675
- */
18676
- type ProjectWithFeatureWarnings = ProjectBase & {
18677
- warnings?: ProjectFeatureWarning[];
18678
- };
18679
- /**
18680
- * `ProjectDetailResponse` with the parts the swagger under-models replaced:
18681
- * - `fileStorage` is documented S3-only, so ABS/GCS projects don't fit it
18682
- * - `backends` is documented as `{ snowflake }` only
18683
- * - `organization` is missing `mfaRequired`
18684
- * - `usersCount` isn't documented
18685
- */
18686
- type Project = Omit<components['schemas']['ProjectDetailResponse'], 'organization' | 'fileStorage' | 'backends' | 'limits' | 'metrics'> & {
18687
- organization: ProjectOrganization;
18688
- fileStorage: ProjectFileStorage;
18689
- backends: ProjectBackends;
18690
- limits: Record<string, ProjectLimit>;
18691
- metrics: Record<string, unknown>;
18692
- usersCount?: number;
18693
- };
18694
- type ProjectTemplatePath = OpenapiPathType<paths['/manage/project-templates/{templateId}']['get']>;
18695
- type AssignFeatureBody = components['schemas']['AssignFeatureRequest'];
18696
- type AssignProjectTemplateFeatureInput = ProjectTemplatePath & AssignFeatureBody;
18697
- type RemoveProjectTemplateFeaturePath = OpenapiPathType<paths['/manage/project-templates/{templateId}/features/{featureName}']['delete']>;
18698
- type ProjectPath = OpenapiPathType<paths['/manage/projects/{projectId}']['put']>;
19075
+ type GetProjectJoinRequestPath = OpenapiPathType<paths['/manage/projects/{projectId}/join-requests/{joinRequestId}']['get']>;
19076
+ type ProjectJoinRequestDetail = OpenapiReturnType<paths['/manage/projects/{projectId}/join-requests/{joinRequestId}']['get']>;
19077
+ type ApproveProjectJoinRequestPath = OpenapiPathType<paths['/manage/projects/{projectId}/join-requests/{joinRequestId}']['put']>;
19078
+ type RejectProjectJoinRequestPath = OpenapiPathType<paths['/manage/projects/{projectId}/join-requests/{joinRequestId}']['delete']>;
19079
+ type JoinProjectPath = OpenapiPathType<paths['/manage/projects/{projectId}/join-project']['post']>;
18699
19080
  type JoinProjectBody = OpenapiBodyType<paths['/manage/projects/{projectId}/join-project']['post']>;
18700
- type JoinProjectInput = ProjectPath & JoinProjectBody;
19081
+ type JoinProjectInput = JoinProjectPath & JoinProjectBody;
19082
+ type RequestProjectAccessPath = OpenapiPathType<paths['/manage/projects/{projectId}/request-access']['post']>;
18701
19083
  type RequestProjectAccessBody = OpenapiBodyType<paths['/manage/projects/{projectId}/request-access']['post']>;
18702
- type RequestProjectAccessInput = ProjectPath & RequestProjectAccessBody;
18703
- type RemoveProjectLimitPath = OpenapiPathType<paths['/manage/projects/{projectId}/limits/{limitName}']['delete']>;
19084
+ type RequestProjectAccessInput = RequestProjectAccessPath & RequestProjectAccessBody;
19085
+ type GetProjectMetadataPath = OpenapiPathType<paths['/manage/projects/{projectId}/metadata']['get']>;
19086
+ type ProjectMetadataItem = OpenapiReturnType<paths['/manage/projects/{projectId}/metadata']['get']>[number];
19087
+ type SetProjectMetadataPath = OpenapiPathType<paths['/manage/projects/{projectId}/metadata']['post']>;
19088
+ type SetProjectMetadataBody = OpenapiBodyType<paths['/manage/projects/{projectId}/metadata']['post']>;
19089
+ type SetProjectMetadataInput = SetProjectMetadataPath & SetProjectMetadataBody;
19090
+ type ProjectMetadataInput = SetProjectMetadataBody['metadata'][number];
18704
19091
  type DeleteProjectMetadataPath = OpenapiPathType<paths['/manage/projects/{projectId}/metadata/{metadataId}']['delete']>;
18705
- type UpdateProjectInput = ProjectPath & UpdateProjectBody;
18706
- type MoveProjectInput = ProjectPath & MoveProjectBody;
18707
- type SetProjectDisabledInput = ProjectPath & SetProjectDisabledBody;
18708
- type SetProjectLimitsInput = ProjectPath & SetProjectLimitsBody;
18709
- type ChangeProjectUserRolePath = ProjectPath & {
18710
- userId: number;
18711
- };
18712
- type ChangeProjectUserRoleBody = {
18713
- role: User['role'];
18714
- };
18715
- type ChangeProjectUserRoleInput = ChangeProjectUserRolePath & ChangeProjectUserRoleBody;
19092
+ type GetProjectReviewersPath = OpenapiPathType<paths['/manage/projects/{projectId}/reviewers']['get']>;
19093
+ type SetProjectReviewersPath = OpenapiPathType<paths['/manage/projects/{projectId}/reviewers']['put']>;
19094
+ type SetProjectReviewersBody = OpenapiBodyType<paths['/manage/projects/{projectId}/reviewers']['put']>;
19095
+ type SetProjectReviewersInput = SetProjectReviewersPath & SetProjectReviewersBody;
19096
+ type ProjectTemplate = OpenapiReturnType<paths['/manage/project-templates']['get']>[number];
19097
+ type ProjectTemplatePath = OpenapiPathType<paths['/manage/project-templates/{templateId}']['get']>;
19098
+ type AssignProjectTemplateFeaturePath = OpenapiPathType<paths['/manage/project-templates/{templateId}/features']['post']>;
19099
+ type AssignFeatureBody = OpenapiBodyType<paths['/manage/project-templates/{templateId}/features']['post']>;
19100
+ type AssignProjectTemplateFeatureInput = AssignProjectTemplateFeaturePath & AssignFeatureBody;
19101
+ type RemoveProjectTemplateFeaturePath = OpenapiPathType<paths['/manage/project-templates/{templateId}/features/{featureName}']['delete']>;
18716
19102
  /** Query parameters of `GET /manage/search`: `q` plus the `filter[types]` and `page` deep objects. */
18717
19103
  type SearchQuery = OpenapiQueryType<paths['/manage/search']['get']>;
18718
19104
  /** `GET /manage/search`: one cursor-paginated collection per type the caller may read and asked for. */
@@ -18797,6 +19183,47 @@ type PolicyTagEnablementGuideQuery = Omit<PolicyTagEnablementGuideSchemaQuery, '
18797
19183
  };
18798
19184
  type PolicyTagEnablementGuideInput = PolicyTagEnablementGuidePath & PolicyTagEnablementGuideQuery;
18799
19185
  type PolicyTagEnablementGuide = components['schemas']['PolicyTagEnablementGuideResponse'];
19186
+ type AddUserFeaturePath = {
19187
+ userIdOrMail: string;
19188
+ };
19189
+ type AddUserFeatureBody = {
19190
+ feature: string;
19191
+ };
19192
+ type RemoveUserFeaturePath = {
19193
+ userIdOrMail: string;
19194
+ feature: string;
19195
+ };
19196
+ type ProjectUsersResponse = OpenapiReturnType<paths['/manage/projects/{projectId}/users']['get']>;
19197
+ type User = {
19198
+ id: number;
19199
+ name: string;
19200
+ email: string;
19201
+ mfaEnabled: boolean;
19202
+ features: string[];
19203
+ canAccessLogs: boolean;
19204
+ role: 'guest' | 'readOnly' | 'admin' | 'share' | 'productionManager' | 'developer' | 'reviewer';
19205
+ isSuperAdmin: boolean;
19206
+ canApproveMergeRequests: boolean;
19207
+ /** Project users only; older stacks and other user endpoints omit this field. */
19208
+ isOrganizationMember?: ProjectUsersResponse[number]['isOrganizationMember'];
19209
+ };
19210
+ type UserDetail = components['schemas']['UserResponse'];
19211
+ type UserListItem = components['schemas']['UserListResponse'][number];
19212
+ type UserOrganizationMembership = components['schemas']['UserListOrganizationsResponse'][number];
19213
+ type UserProjectMembership = components['schemas']['UserListProjectsResponse'][number];
19214
+ type UserMaintainerMembership = components['schemas']['UserListMaintainersResponse'][number];
19215
+ type GetUsersQuery = NonNullable<operations['get_/manage/users::UserListAction']['parameters']['query']>;
19216
+ /** The schema path parameter is `idOrEmail`; these methods take a numeric `id`, as their neighbours do. */
19217
+ type UserPath = {
19218
+ id: number;
19219
+ };
19220
+ type UpdateUserBody = OpenapiBodyType<paths['/manage/users/{idOrEmail}']['put']>;
19221
+ type UpdateUserInput = UserPath & UpdateUserBody;
19222
+ type SetUserMetadataBody = components['schemas']['MetadataRequest'];
19223
+ type SetUserMetadataInput = UserPath & SetUserMetadataBody;
19224
+ type DeleteUserMetadataPath = UserPath & {
19225
+ metadataId: number;
19226
+ };
18800
19227
  /**
18801
19228
  * One entry of the UI-application listing.
18802
19229
  *
@@ -18857,5 +19284,9 @@ type ProjectRetentionWorkspace = {
18857
19284
  } | null;
18858
19285
  };
18859
19286
  type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
18860
- export { GetProjectReviewersPath as $, OrganizationInvitationDetail as $n, paths as $r, ConfirmProgrammaticProjectBody as $t, UpdateStorageBackendBody as A, MaintainerMetadataItemPath as An, RotateFileStorageS3Path as Ar, SetProjectLimitsInput as At, AssignFeatureBody as B, UpdateMaintainerBody as Bn, DeletedProjectsListQuery as Br, GetUsersQuery as Bt, StorageBackend as C, CreateSamlConfigBody as Cn, RotateFileStorageAbsInput as Cr, RemoveProjectUserPath as Ct, StorageBackendProject as D, MaintainerDetail as Dn, RotateFileStorageGcsPath as Dr, SetProjectDisabledBody as Dt, StorageBackendPath as E, Maintainer as En, RotateFileStorageGcsInput as Er, Reviewer as Et, SearchQuery as F, SamlConfigDetail as Fn, FeatureType as Fr, UpdateProjectBody as Ft, CreateProjectFeatureBody as G, AddOrganizationUserInput as Gn, OrganizationInvitation as Gr, UpdateUserInput as Gt, ChangeProjectUserRoleBody as H, UpdateSamlConfigBody as Hn, DeletedProjectsStats as Hr, SetUserMetadataBody as Ht, SearchResult as I, SamlConfigPath as In, GetAllFeaturesQuery as Ir, UpdateProjectInput as It, CreateProjectInvitationPath as J, CreateOrganizationInvitationInput as Jn, ApplicationToken as Jr, UserListItem as Jt, CreateProjectFeaturePath as K, AdminUser as Kn, ProjectInvitation as Kr, User as Kt, UserSearchItem as L, SamlConfigSummary as Ln, DeletedProject as Lr, AddUserFeatureBody as Lt, MaintainerSearchItem as M, MaintainerUser as Mn, Feature as Mr, SetProjectMetadataPath as Mt, OrganizationSearchItem as N, MaintainerUserPath as Nn, FeatureAdmin as Nr, SetProjectReviewersBody as Nt, UpdateBigqueryStorageBackendBody as O, MaintainerInvitationDetail as On, RotateFileStorageS3Body as Or, SetProjectDisabledInput as Ot, ProjectSearchItem as P, MetadataItem as Pn, FeatureProject as Pr, SetProjectReviewersPath as Pt, GetProjectPath as Q, OrganizationDetail as Qn, components as Qr, UserProjectMembership as Qt, AddProjectUserBody as R, SetMaintainerMetadataBody as Rn, DeletedProjectPurgeResult as Rr, AddUserFeaturePath as Rt, PolicyTagEnablementGuideSchemaQuery as S, CreateMaintainerOrganizationInput as Sn, RotateFileStorageAbsBody as Sr, RemoveProjectTemplateFeaturePath as St, StorageBackendMaintainer as T, CreateSamlConfigPath as Tn, RotateFileStorageGcsBody as Tr, RequestProjectAccessInput as Tt, ChangeProjectUserRoleInput as U, UpdateSamlConfigInput as Un, DeletedProjectsStatus as Ur, SetUserMetadataInput as Ut, AssignProjectTemplateFeatureInput as V, UpdateMaintainerInput as Vn, DeletedProjectsPage as Vr, RemoveUserFeaturePath as Vt, ChangeProjectUserRolePath as W, AddOrganizationUserBody as Wn, MaintainerInvitation as Wr, UpdateUserBody as Wt, DeleteProjectMetadataPath as X, CreateOrganizationProjectInput as Xn, CreateApplicationTokenBody as Xr, UserOrganizationMembership as Xt, DeleteProjectInvitationPath as Y, CreateOrganizationProjectBody as Yn, ApplicationTokenScope as Yr, UserMaintainerMembership as Yt, GetProjectMetadataPath as Z, Organization as Zn, CreatedApplicationToken as Zr, UserPath as Zt, PolicyTagCapability as _, CompleteSamlSetupInput as _n, FileStorageGcs as _r, ProjectTemplate as _t, GetUiAppsQuery as a, PayAsYouGoBillingConfiguration as an, OrganizationProject as ar, MoveProjectBody as at, PolicyTagEnablementGuidePath as b, CreateMaintainerInvitationInput as bn, FileStorageProjectsQuery as br, RemoveProjectFeaturePath as bt, UiApp as c, TopUpSetting as cn, SetOrganizationMetadataInput as cr, ProjectBase as ct, UiAppVersion as d, X402PaymentStatus as dn, SetUpBigQueryBody as dr, ProjectInvitationDetail as dt, ConfirmProgrammaticProjectResult as en, OrganizationInvitationPath as er, JoinProjectBody as et, CreateBigqueryServerSideStorageBackendBody as f, X402_PAYMENT_STATUS as fn, CreateFileStorageAbsBody as fr, ProjectJoinRequestDetail as ft, GetStorageBackendProjectsQuery as g, CompleteSamlSetupBody as gn, FileStorageAbs as gr, ProjectPath as gt, CreateSnowflakeStorageBackendResponse as h, AddMaintainerUserInput as hn, FileStorage as hr, ProjectMetadataItem as ht, ReactivateWorkspaceResult as i, CreditPurchase as in, OrganizationPath as ir, ListProjectUsersPath as it, UpdateStorageBackendInput as j, MaintainerPath as jn, UpdateFileStorageBody as jr, SetProjectMetadataBody as jt, UpdateBigqueryStorageBackendInput as k, MaintainerInvitationPath as kn, RotateFileStorageS3Input as kr, SetProjectLimitsBody as kt, UiAppDetail as l, UpdateStripeCustomerBody as ln, UpdateOrganizationBody as lr, ProjectFeatureWarning as lt, CreateSnowflakeStorageBackendBody as m, AddMaintainerUserBody as mn, CreateFileStorageS3Body as mr, ProjectMetadataInput as mt, ProjectRetentionWorkspace as n, CreatePaymentRequestBody as nn, OrganizationMaintainer as nr, ListProjectInvitationsPath as nt, RegisterUiAppBody as o, StripeCustomer as on, OrganizationUserPath as or, MoveProjectInput as ot, CreateBigqueryStorageBackendBody as p, X402_TOP_UP_TYPE as pn, CreateFileStorageGcsBody as pr, ProjectJoinRequestPath as pt, CreateProjectInvitationBody as q, CreateOrganizationInvitationBody as qn, ProjectJoinRequest as qr, UserDetail as qt, ProjectRetentionWorkspaceState as r, CreditPaymentRequest as rn, OrganizationMetadataItemPath as rr, ListProjectJoinRequestsPath as rt, RenameUiAppBody as s, StripeCustomerCard as sn, SetOrganizationMetadataBody as sr, Project as st, ManagementToken as t, ProgrammaticProjectClaim as tn, OrganizationListItem as tr, JoinProjectInput as tt, UiAppRegistrationResult as u, UpdateTopUpSettingBody as un, UpdateOrganizationInput as ur, ProjectInvitableRole as ut, PolicyTagEnablementGuide as v, CreateMaintainerBody as vn, FileStorageProject as vr, ProjectTemplatePath as vt, StorageBackendBigquery as w, CreateSamlConfigInput as wn, RotateFileStorageAbsPath as wr, RequestProjectAccessBody as wt, PolicyTagEnablementGuideQuery as x, CreateMaintainerOrganizationBody as xn, FileStorageS3 as xr, RemoveProjectLimitPath as xt, PolicyTagEnablementGuideInput as y, CreateMaintainerInvitationBody as yn, FileStorageProjectsPage as yr, ProjectWithFeatureWarnings as yt, AddProjectUserPath as z, SetMaintainerMetadataInput as zn, DeletedProjectsListFilter as zr, DeleteUserMetadataPath as zt };
18861
- //# sourceMappingURL=types-COb2O9c1.d.ts.map
19287
+ /** A Manage token Connection minted for an admin's session: it always carries `user`. */
19288
+ type ManagementSessionToken = ManagementToken & {
19289
+ user: NonNullable<ManagementToken['user']>;
19290
+ };
19291
+ export { SearchResult as $, UpdateMaintainerBody as $n, DeletedProjectsListQuery as $r, SetProjectDisabledPath as $t, CreateBigqueryStorageBackendBody as A, CompleteSamlSetupInput as An, FileStorageGcs as Ar, MoveProjectBody as At, StorageBackend as B, MaintainerDetail as Bn, RotateFileStorageGcsPath as Br, ProjectMetadataItem as Bt, UserDetail as C, UpdateTopUpSettingBody as Cn, UpdateOrganizationInput as Cr, GetProjectReviewersPath as Ct, UserPath as D, AddMaintainerUserBody as Dn, CreateFileStorageS3Body as Dr, ListProjectInvitationsPath as Dt, UserOrganizationMembership as E, X402_TOP_UP_TYPE as En, CreateFileStorageGcsBody as Er, JoinProjectPath as Et, PolicyTagEnablementGuide as F, CreateMaintainerOrganizationInput as Fn, RotateFileStorageAbsBody as Fr, ProjectInvitableRole as Ft, UpdateBigqueryStorageBackendBody as G, MaintainerUser as Gn, Feature as Gr, RemoveProjectLimitPath as Gt, StorageBackendMaintainer as H, MaintainerInvitationPath as Hn, RotateFileStorageS3Input as Hr, ProjectTemplatePath as Ht, PolicyTagEnablementGuideInput as I, CreateSamlConfigBody as In, RotateFileStorageAbsInput as Ir, ProjectInvitationDetail as It, UpdateStorageBackendInput as J, SamlConfigDetail as Jn, FeatureType as Jr, RequestProjectAccessBody as Jt, UpdateBigqueryStorageBackendInput as K, MaintainerUserPath as Kn, FeatureAdmin as Kr, RemoveProjectTemplateFeaturePath as Kt, PolicyTagEnablementGuidePath as L, CreateSamlConfigInput as Ln, RotateFileStorageAbsPath as Lr, ProjectJoinRequestDetail as Lt, CreateSnowflakeStorageBackendResponse as M, CreateMaintainerInvitationBody as Mn, FileStorageProjectsPage as Mr, MoveProjectPath as Mt, GetStorageBackendProjectsQuery as N, CreateMaintainerInvitationInput as Nn, FileStorageProjectsQuery as Nr, Project as Nt, UserProjectMembership as O, AddMaintainerUserInput as On, FileStorage as Or, ListProjectJoinRequestsPath as Ot, PolicyTagCapability as P, CreateMaintainerOrganizationBody as Pn, FileStorageS3 as Pr, ProjectFeatureWarning as Pt, SearchQuery as Q, SetMaintainerMetadataInput as Qn, DeletedProjectsListFilter as Qr, SetProjectDisabledInput as Qt, PolicyTagEnablementGuideQuery as R, CreateSamlConfigPath as Rn, RotateFileStorageGcsBody as Rr, ProjectMember as Rt, User as S, UpdateStripeCustomerBody as Sn, UpdateOrganizationBody as Sr, GetProjectPath as St, UserMaintainerMembership as T, X402_PAYMENT_STATUS as Tn, CreateFileStorageAbsBody as Tr, JoinProjectInput as Tt, StorageBackendPath as U, MaintainerMetadataItemPath as Un, RotateFileStorageS3Path as Ur, RejectProjectJoinRequestPath as Ut, StorageBackendBigquery as V, MaintainerInvitationDetail as Vn, RotateFileStorageS3Body as Vr, ProjectTemplate as Vt, StorageBackendProject as W, MaintainerPath as Wn, UpdateFileStorageBody as Wr, RemoveProjectFeaturePath as Wt, OrganizationSearchItem as X, SamlConfigSummary as Xn, DeletedProject as Xr, RequestProjectAccessPath as Xt, MaintainerSearchItem as Y, SamlConfigPath as Yn, GetAllFeaturesQuery as Yr, RequestProjectAccessInput as Yt, ProjectSearchItem as Z, SetMaintainerMetadataBody as Zn, DeletedProjectPurgeResult as Zr, SetProjectDisabledBody as Zt, RemoveUserFeaturePath as _, CreditPurchase as _n, OrganizationPath as _r, DeleteProjectInvitationPath as _t, ReactivateWorkspaceResult as a, ProjectInvitation as ai, SetProjectMetadataPath as an, AdminUser as ar, AssignFeatureBody as at, UpdateUserBody as b, StripeCustomerCard as bn, SetOrganizationMetadataBody as br, GetProjectJoinRequestPath as bt, RenameUiAppBody as c, ApplicationTokenScope as ci, SetProjectReviewersPath as cn, CreateOrganizationProjectBody as cr, ChangeProjectUserRoleBody as ct, UiAppRegistrationResult as d, components as di, UpdateProjectPath as dn, OrganizationDetail as dr, CreateProjectFeatureBody as dt, DeletedProjectsPage as ei, SetProjectLimitsBody as en, UpdateMaintainerInput as er, UserSearchItem as et, UiAppVersion as f, paths as fi, ConfirmProgrammaticProjectBody as fn, OrganizationInvitationDetail as fr, CreateProjectFeatureInput as ft, GetUsersQuery as g, CreditPaymentRequest as gn, OrganizationMetadataItemPath as gr, CreateProjectInvitationPath as gt, DeleteUserMetadataPath as h, CreatePaymentRequestBody as hn, OrganizationMaintainer as hr, CreateProjectInvitationInput as ht, ProjectRetentionWorkspaceState as i, OrganizationInvitation as ii, SetProjectMetadataInput as in, AddOrganizationUserInput as ir, ApproveProjectJoinRequestPath as it, CreateSnowflakeStorageBackendBody as j, CreateMaintainerBody as jn, FileStorageProject as jr, MoveProjectInput as jt, CreateBigqueryServerSideStorageBackendBody as k, CompleteSamlSetupBody as kn, FileStorageAbs as kr, ListProjectUsersPath as kt, UiApp as l, CreateApplicationTokenBody as li, UpdateProjectBody as ln, CreateOrganizationProjectInput as lr, ChangeProjectUserRoleInput as lt, AddUserFeaturePath as m, ProgrammaticProjectClaim as mn, OrganizationListItem as mr, CreateProjectInvitationBody as mt, ManagementToken as n, DeletedProjectsStatus as ni, SetProjectLimitsPath as nn, UpdateSamlConfigInput as nr, AddProjectUserInput as nt, GetUiAppsQuery as o, ProjectJoinRequest as oi, SetProjectReviewersBody as on, CreateOrganizationInvitationBody as or, AssignProjectTemplateFeatureInput as ot, AddUserFeatureBody as p, ConfirmProgrammaticProjectResult as pn, OrganizationInvitationPath as pr, CreateProjectFeaturePath as pt, UpdateStorageBackendBody as q, MetadataItem as qn, FeatureProject as qr, RemoveProjectUserPath as qt, ProjectRetentionWorkspace as r, MaintainerInvitation as ri, SetProjectMetadataBody as rn, AddOrganizationUserBody as rr, AddProjectUserPath as rt, RegisterUiAppBody as s, ApplicationToken as si, SetProjectReviewersInput as sn, CreateOrganizationInvitationInput as sr, AssignProjectTemplateFeaturePath as st, ManagementSessionToken as t, DeletedProjectsStats as ti, SetProjectLimitsInput as tn, UpdateSamlConfigBody as tr, AddProjectUserBody as tt, UiAppDetail as u, CreatedApplicationToken as ui, UpdateProjectInput as un, Organization as ur, ChangeProjectUserRolePath as ut, SetUserMetadataBody as v, PayAsYouGoBillingConfiguration as vn, OrganizationProject as vr, DeleteProjectMetadataPath as vt, UserListItem as w, X402PaymentStatus as wn, SetUpBigQueryBody as wr, JoinProjectBody as wt, UpdateUserInput as x, TopUpSetting as xn, SetOrganizationMetadataInput as xr, GetProjectMetadataPath as xt, SetUserMetadataInput as y, StripeCustomer as yn, OrganizationUserPath as yr, GetProjectInvitationPath as yt, PolicyTagEnablementGuideSchemaQuery as z, Maintainer as zn, RotateFileStorageGcsInput as zr, ProjectMetadataInput as zt };
19292
+ //# sourceMappingURL=types-CjqFLXVx.d.cts.map