@keboola/api-client 56.0.0 → 57.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 (345) hide show
  1. package/AGENTS.md +110 -229
  2. package/API-SURFACE.md +10 -2
  3. package/CHANGELOG.md +45 -0
  4. package/README.md +20 -133
  5. package/dist/{ManagementSessionMintError-Bc9bc7Ai.cjs → ManagementSessionMintError-BCOLLaJi.cjs} +3 -2
  6. package/dist/ManagementSessionMintError-BCOLLaJi.cjs.map +1 -0
  7. package/dist/{ManagementSessionMintError-BMHDcEqV.js → ManagementSessionMintError-KUX3utTV.js} +3 -2
  8. package/dist/ManagementSessionMintError-KUX3utTV.js.map +1 -0
  9. package/dist/{adminRoles-CUB0JddB.d.ts → adminRoles-CnfGDvjN.d.ts} +2 -2
  10. package/dist/{adminRoles-BFOPSedO.d.cts → adminRoles-D6AS9Bzx.d.cts} +2 -2
  11. package/dist/ai/index.d.cts +2 -2
  12. package/dist/ai/index.d.ts +2 -2
  13. package/dist/ai/types.d.cts +1 -1
  14. package/dist/ai/types.d.ts +1 -1
  15. package/dist/apps/index.cjs +1 -1
  16. package/dist/apps/index.d.cts +2 -2
  17. package/dist/apps/index.d.ts +2 -2
  18. package/dist/apps/index.js +1 -1
  19. package/dist/apps/types.d.cts +2 -2
  20. package/dist/apps/types.d.ts +2 -2
  21. package/dist/{apps-C1x5IKNQ.cjs → apps-BA9JRLAZ.cjs} +55 -1
  22. package/dist/apps-BA9JRLAZ.cjs.map +1 -0
  23. package/dist/{apps-BN7fWtSm.js → apps-DDcguJ1i.js} +55 -1
  24. package/dist/apps-DDcguJ1i.js.map +1 -0
  25. package/dist/assets/index.d.cts +1 -1
  26. package/dist/assets/index.d.ts +1 -1
  27. package/dist/auth/index.cjs +1 -1
  28. package/dist/auth/index.d.cts +1 -1
  29. package/dist/auth/index.d.ts +1 -1
  30. package/dist/auth/index.js +1 -1
  31. package/dist/auth/types.d.cts +2 -2
  32. package/dist/auth/types.d.ts +2 -2
  33. package/dist/{authClient-B_Mb4Vzs.js → authClient-BKGpJI5L.js} +13 -2
  34. package/dist/authClient-BKGpJI5L.js.map +1 -0
  35. package/dist/{authClient-C9QqhT2M.cjs → authClient-C3KG9hXw.cjs} +17 -6
  36. package/dist/authClient-C3KG9hXw.cjs.map +1 -0
  37. package/dist/{authClient-Dgyb0EFi.d.ts → authClient-CbWpMmdX.d.ts} +7 -4
  38. package/dist/{authClient-DOetdp2k.d.cts → authClient-UKeopxZZ.d.cts} +7 -4
  39. package/dist/billing/index.d.cts +1 -1
  40. package/dist/billing/index.d.ts +1 -1
  41. package/dist/billing/types.d.cts +1 -1
  42. package/dist/billing/types.d.ts +1 -1
  43. package/dist/chat/index.d.cts +2 -2
  44. package/dist/chat/index.d.ts +2 -2
  45. package/dist/chat/types.d.cts +1 -1
  46. package/dist/chat/types.d.ts +1 -1
  47. package/dist/componentsMcp/index.d.cts +1 -1
  48. package/dist/componentsMcp/index.d.ts +1 -1
  49. package/dist/componentsMcp/types.d.cts +1 -1
  50. package/dist/componentsMcp/types.d.ts +1 -1
  51. package/dist/constants/index.cjs +2 -2
  52. package/dist/constants/index.d.cts +3 -3
  53. package/dist/constants/index.d.ts +3 -3
  54. package/dist/constants/index.js +2 -2
  55. package/dist/{constants-HccvU5kx.js → constants-CxEaHCyt.js} +4 -3
  56. package/dist/constants-CxEaHCyt.js.map +1 -0
  57. package/dist/{constants-V9hAyPTo.cjs → constants-fiyOLyZE.cjs} +4 -3
  58. package/dist/constants-fiyOLyZE.cjs.map +1 -0
  59. package/dist/dataScience/index.d.cts +3 -3
  60. package/dist/dataScience/index.d.ts +3 -3
  61. package/dist/dataScience/types.d.cts +1 -1
  62. package/dist/dataScience/types.d.ts +1 -1
  63. package/dist/developerPortal/index.cjs +1 -1
  64. package/dist/developerPortal/index.d.cts +3 -3
  65. package/dist/developerPortal/index.d.ts +3 -3
  66. package/dist/developerPortal/index.js +1 -1
  67. package/dist/developerPortal/types.d.cts +2 -2
  68. package/dist/developerPortal/types.d.ts +2 -2
  69. package/dist/{developerPortalClient-CzCJ5sE3.js → developerPortalClient-3Q7049-4.js} +19 -1
  70. package/dist/developerPortalClient-3Q7049-4.js.map +1 -0
  71. package/dist/{developerPortalClient-BcK9F-Fs.cjs → developerPortalClient-Cj9bStCS.cjs} +19 -1
  72. package/dist/developerPortalClient-Cj9bStCS.cjs.map +1 -0
  73. package/dist/domain/permissions/index.d.cts +1 -1
  74. package/dist/domain/permissions/index.d.ts +1 -1
  75. package/dist/editor/index.d.cts +2 -2
  76. package/dist/editor/index.d.ts +2 -2
  77. package/dist/editor/types.d.cts +1 -1
  78. package/dist/editor/types.d.ts +1 -1
  79. package/dist/{emitter-raKkIqRp.d.ts → emitter-yaYzJOdh.d.cts} +1 -2
  80. package/dist/{emitter-raKkIqRp.d.cts → emitter-yaYzJOdh.d.ts} +1 -2
  81. package/dist/encryption/index.d.cts +1 -1
  82. package/dist/encryption/index.d.ts +1 -1
  83. package/dist/encryption/types.d.cts +1 -1
  84. package/dist/encryption/types.d.ts +1 -1
  85. package/dist/import/index.d.cts +3 -3
  86. package/dist/import/index.d.ts +3 -3
  87. package/dist/{index-DcKc3_Y1.d.cts → index-9p4O-clX.d.cts} +2033 -72
  88. package/dist/{index-DcKc3_Y1.d.ts → index-9p4O-clX.d.ts} +2033 -72
  89. package/dist/{index-CLqZfRpv.d.cts → index-B-HCh7LL.d.cts} +3 -3
  90. package/dist/{index-CxoJuIzB.d.cts → index-B0e42GnK.d.cts} +4 -3
  91. package/dist/{index-Bgu3hnMO.d.ts → index-BbXGsspe.d.ts} +4 -4
  92. package/dist/{index-B7Ogo2SK.d.ts → index-Bg9BWpIY.d.ts} +4 -3
  93. package/dist/{index-DPhGNQC5.d.cts → index-BgEu7wGk.d.cts} +2559 -7319
  94. package/dist/{index-C_A0JS9s.d.ts → index-Btft3BFn.d.ts} +29 -3
  95. package/dist/{index-DXNRd61K.d.cts → index-ByaAn_lm.d.cts} +4 -4
  96. package/dist/{index-A8udJCGv.d.ts → index-C92Ct6K5.d.ts} +178 -4
  97. package/dist/{index-B30dBBBH.d.ts → index-CBq59Aif.d.ts} +3 -3
  98. package/dist/{index-DAb1g6je.d.cts → index-CGUPsu_R.d.cts} +29 -3
  99. package/dist/{index-CLxvW_pn.d.ts → index-CIA6-x2Q.d.ts} +4 -4
  100. package/dist/{index-B2YNTI4p.d.ts → index-CeWVf3d1.d.ts} +4 -4
  101. package/dist/{index-GlHJ4j3a.d.ts → index-Cj0l_DL_.d.ts} +2559 -7319
  102. package/dist/{index-BUZ-vTRt.d.ts → index-Ck0UPKMM.d.ts} +2 -2
  103. package/dist/{index-B-HhOTVk.d.cts → index-D0ACg_Pp.d.cts} +7 -4
  104. package/dist/{index-Dx02AUpZ.d.cts → index-D8nMnVp1.d.cts} +4 -4
  105. package/dist/{index-24GpnYhn.d.cts → index-DENUPo51.d.cts} +2 -2
  106. package/dist/{index-RHYdFrfn.d.cts → index-DGjxLWZ-.d.cts} +3 -3
  107. package/dist/{index-BH1jo-bb.d.ts → index-Dse6Psvc.d.ts} +7 -4
  108. package/dist/{index-BaJ-GMa7.d.ts → index-DxcaEIhU.d.ts} +3 -3
  109. package/dist/{index-CpidrJQc.d.cts → index-OCEoQ1Y-.d.cts} +4 -4
  110. package/dist/{index-DxbqDi_0.d.cts → index-jR69kGUZ.d.cts} +178 -4
  111. package/dist/index.cjs +615 -867
  112. package/dist/index.cjs.map +1 -1
  113. package/dist/index.d.cts +9 -9
  114. package/dist/index.d.ts +9 -9
  115. package/dist/index.js +611 -860
  116. package/dist/index.js.map +1 -1
  117. package/dist/kaiAgent/index.cjs +1 -1
  118. package/dist/kaiAgent/index.d.cts +2 -2
  119. package/dist/kaiAgent/index.d.ts +2 -2
  120. package/dist/kaiAgent/index.js +1 -1
  121. package/dist/kaiAgent/types.d.cts +2 -2
  122. package/dist/kaiAgent/types.d.ts +2 -2
  123. package/dist/{kaiAgent-De2T6G4G.cjs → kaiAgent-Q00g6S1v.cjs} +16 -1
  124. package/dist/kaiAgent-Q00g6S1v.cjs.map +1 -0
  125. package/dist/{kaiAgent-D0MoKqXe.js → kaiAgent-aqylPZHY.js} +16 -1
  126. package/dist/kaiAgent-aqylPZHY.js.map +1 -0
  127. package/dist/management/index.cjs +1 -1
  128. package/dist/management/index.d.cts +1 -1
  129. package/dist/management/index.d.ts +1 -1
  130. package/dist/management/index.js +1 -1
  131. package/dist/management/types.d.cts +1 -1
  132. package/dist/management/types.d.ts +1 -1
  133. package/dist/{management-BlMQnPNS.js → management-CIK5-Aq5.js} +14 -7
  134. package/dist/management-CIK5-Aq5.js.map +1 -0
  135. package/dist/{management-dIMrTTpI.cjs → management-Dqrc516s.cjs} +14 -7
  136. package/dist/management-Dqrc516s.cjs.map +1 -0
  137. package/dist/{metaObject-qWyZAD-5.d.ts → metaObject-AQ7wKDOu.d.ts} +2 -2
  138. package/dist/{metaObject-BsBMgWRt.d.cts → metaObject-I35_krxf.d.cts} +2 -2
  139. package/dist/metastore/index.d.cts +1 -1
  140. package/dist/metastore/index.d.ts +1 -1
  141. package/dist/metastore/types.d.cts +1 -1
  142. package/dist/metastore/types.d.ts +1 -1
  143. package/dist/microsoftGraph/index.d.cts +3 -3
  144. package/dist/microsoftGraph/index.d.ts +3 -3
  145. package/dist/microsoftGraph/types.d.cts +2 -2
  146. package/dist/microsoftGraph/types.d.ts +2 -2
  147. package/dist/{middleware-DxGv7DG8.js → middleware-DWmhthX0.js} +2 -2
  148. package/dist/middleware-DWmhthX0.js.map +1 -0
  149. package/dist/{middleware-vIaPDtQI.cjs → middleware-DYdDD4O6.cjs} +2 -2
  150. package/dist/middleware-DYdDD4O6.cjs.map +1 -0
  151. package/dist/notifications/index.d.cts +2 -2
  152. package/dist/notifications/index.d.ts +2 -2
  153. package/dist/notifications/types.d.cts +1 -1
  154. package/dist/notifications/types.d.ts +1 -1
  155. package/dist/oauth/index.d.cts +2 -2
  156. package/dist/oauth/index.d.ts +2 -2
  157. package/dist/oauth/types.d.cts +1 -1
  158. package/dist/oauth/types.d.ts +1 -1
  159. package/dist/omnisearch/index.d.cts +2 -2
  160. package/dist/omnisearch/index.d.ts +2 -2
  161. package/dist/omnisearch/types.d.cts +1 -1
  162. package/dist/omnisearch/types.d.ts +1 -1
  163. package/dist/{project-CmV1OhK4.d.ts → project-DwRvx_zN.d.ts} +3 -3
  164. package/dist/{project-F6eHCACz.d.cts → project-ERH0FTGW.d.cts} +3 -3
  165. package/dist/queryService/index.cjs +1 -1
  166. package/dist/queryService/index.d.cts +1 -1
  167. package/dist/queryService/index.d.ts +1 -1
  168. package/dist/queryService/index.js +1 -1
  169. package/dist/queryService/types.d.cts +1 -1
  170. package/dist/queryService/types.d.ts +1 -1
  171. package/dist/{queryService-C3BQ6GKW.cjs → queryService-CECWubS0.cjs} +2 -2
  172. package/dist/{queryService-C3BQ6GKW.cjs.map → queryService-CECWubS0.cjs.map} +1 -1
  173. package/dist/{queryService-DQHtHy2-.js → queryService-CIxb_mcP.js} +2 -2
  174. package/dist/{queryService-DQHtHy2-.js.map → queryService-CIxb_mcP.js.map} +1 -1
  175. package/dist/queue/index.cjs +1 -1
  176. package/dist/queue/index.d.cts +11 -4
  177. package/dist/queue/index.d.ts +11 -4
  178. package/dist/queue/index.js +1 -1
  179. package/dist/queue/types.d.cts +1 -1
  180. package/dist/queue/types.d.ts +1 -1
  181. package/dist/{queue-6cywDnA-.js → queue-BBihD5qQ.js} +2 -2
  182. package/dist/{queue-6cywDnA-.js.map → queue-BBihD5qQ.js.map} +1 -1
  183. package/dist/{queue-J2uXzXR9.cjs → queue-PmTfoniJ.cjs} +2 -2
  184. package/dist/{queue-J2uXzXR9.cjs.map → queue-PmTfoniJ.cjs.map} +1 -1
  185. package/dist/scheduler/index.d.cts +2 -2
  186. package/dist/scheduler/index.d.ts +2 -2
  187. package/dist/scheduler/types.d.cts +1 -1
  188. package/dist/scheduler/types.d.ts +1 -1
  189. package/dist/{schema-DLmBEgPM.d.cts → schema-CqzWi5cO.d.cts} +14 -4
  190. package/dist/{schema-DLmBEgPM.d.ts → schema-CqzWi5cO.d.ts} +14 -4
  191. package/dist/sdk/configurations/index.d.cts +2 -3
  192. package/dist/sdk/configurations/index.d.ts +2 -3
  193. package/dist/sdk/dataAppServer/index.cjs +3 -3
  194. package/dist/sdk/dataAppServer/index.d.cts +1 -1
  195. package/dist/sdk/dataAppServer/index.d.ts +1 -1
  196. package/dist/sdk/dataAppServer/index.js +3 -3
  197. package/dist/sdk/developerPortal/index.cjs +3 -3
  198. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  199. package/dist/sdk/developerPortal/index.d.cts +178 -4
  200. package/dist/sdk/developerPortal/index.d.ts +178 -4
  201. package/dist/sdk/developerPortal/index.js +3 -3
  202. package/dist/sdk/developerPortal/index.js.map +1 -1
  203. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  204. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  205. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  206. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  207. package/dist/sdk/queryService/index.d.cts +1 -1
  208. package/dist/sdk/queryService/index.d.ts +1 -1
  209. package/dist/sdk/securityPolicy/index.d.cts +2 -2
  210. package/dist/sdk/securityPolicy/index.d.ts +2 -2
  211. package/dist/sdk/securityPolicy/types.d.cts +1 -1
  212. package/dist/sdk/securityPolicy/types.d.ts +1 -1
  213. package/dist/sdk/semanticLayer/index.d.cts +1 -1
  214. package/dist/sdk/semanticLayer/index.d.ts +1 -1
  215. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  216. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  217. package/dist/sdk/tag/index.d.cts +3 -3
  218. package/dist/sdk/tag/index.d.ts +3 -3
  219. package/dist/sdk/tag/types.d.cts +1 -1
  220. package/dist/sdk/tag/types.d.ts +1 -1
  221. package/dist/sdk/vault/index.d.cts +1 -1
  222. package/dist/sdk/vault/index.d.ts +1 -1
  223. package/dist/status/index.d.cts +1 -1
  224. package/dist/status/index.d.ts +1 -1
  225. package/dist/storage/index.cjs +5 -5
  226. package/dist/storage/index.d.cts +2 -3
  227. package/dist/storage/index.d.ts +2 -3
  228. package/dist/storage/index.js +3 -3
  229. package/dist/storage/types.d.cts +5 -5
  230. package/dist/storage/types.d.ts +5 -5
  231. package/dist/{storage-jLhVrKZh.cjs → storage-chxoWtAL.cjs} +44 -56
  232. package/dist/storage-chxoWtAL.cjs.map +1 -0
  233. package/dist/{storage-Bw-HSnPp.js → storage-o9teEKl_.js} +42 -54
  234. package/dist/storage-o9teEKl_.js.map +1 -0
  235. package/dist/{store-2OyH1XOP.cjs → store-7xlVu4qF.cjs} +3 -14
  236. package/dist/store-7xlVu4qF.cjs.map +1 -0
  237. package/dist/{store-HP0zRcLz.js → store-DDUzPeCm.js} +3 -14
  238. package/dist/store-DDUzPeCm.js.map +1 -0
  239. package/dist/stream/index.d.cts +2 -2
  240. package/dist/stream/index.d.ts +2 -2
  241. package/dist/stream/types.d.cts +1 -1
  242. package/dist/stream/types.d.ts +1 -1
  243. package/dist/syncActions/index.d.cts +2 -2
  244. package/dist/syncActions/index.d.ts +2 -2
  245. package/dist/syncActions/types.d.cts +1 -1
  246. package/dist/syncActions/types.d.ts +1 -1
  247. package/dist/telemetry/index.d.cts +2 -2
  248. package/dist/telemetry/index.d.ts +2 -2
  249. package/dist/telemetry/types.d.cts +1 -1
  250. package/dist/telemetry/types.d.ts +1 -1
  251. package/dist/{transientRetries-BORv47mH.js → transientRetries-dssygpwU.js} +2 -2
  252. package/dist/{transientRetries-BORv47mH.js.map → transientRetries-dssygpwU.js.map} +1 -1
  253. package/dist/{transientRetries-CBorl4Ue.cjs → transientRetries-yVaQgKqP.cjs} +2 -2
  254. package/dist/{transientRetries-CBorl4Ue.cjs.map → transientRetries-yVaQgKqP.cjs.map} +1 -1
  255. package/dist/{types-LOf_GCej.d.cts → types-B1kernzE.d.cts} +2 -2
  256. package/dist/{types-Cvbcjdgf.d.ts → types-BBmS7-IS.d.ts} +151 -4
  257. package/dist/{types-DaRxZt3v.d.ts → types-BJyWTgXX.d.ts} +2 -2
  258. package/dist/{types-CnKiVVb8.d.ts → types-BPNFTA63.d.cts} +21 -7
  259. package/dist/{types-BJRRAQ9R.d.cts → types-BPSExpye.d.cts} +244 -4
  260. package/dist/{types-Cg_66Toy.d.ts → types-BiXonOK6.d.ts} +2 -2
  261. package/dist/{types-CNDemlfn.d.cts → types-BimRBONo.d.cts} +3 -3
  262. package/dist/{types-CrXoqs8E.d.cts → types-BuEC58u3.d.cts} +2 -2
  263. package/dist/{types-BnkHyxdp.d.ts → types-BzHyi99r.d.cts} +5 -3
  264. package/dist/{types-2CMPwArl.d.ts → types-C4T_2JdN.d.cts} +40 -27
  265. package/dist/{types-lZRyNwOH.d.ts → types-C53aKnWt.d.ts} +2 -2
  266. package/dist/{types-6oLbURTK.d.cts → types-CEjgqmr2.d.cts} +2 -2
  267. package/dist/{types-BEEGI4aq.d.ts → types-CGtpwTJk.d.ts} +2 -2
  268. package/dist/{types-B_yv00AL.d.ts → types-CH1uguug.d.cts} +2 -163
  269. package/dist/{types-DMEl2iet.d.ts → types-CP8-CssY.d.ts} +2 -2
  270. package/dist/{types-DgAMVyiT.d.ts → types-CPQ6RkiZ.d.ts} +244 -4
  271. package/dist/{types-EdL0Eb0B.d.ts → types-CPwofeyq.d.ts} +3 -3
  272. package/dist/{types-CFuT8zr3.d.cts → types-CQAEOq-K.d.cts} +2 -2
  273. package/dist/{types-DslO1S5E.d.cts → types-CVWoP_PC.d.cts} +3 -3
  274. package/dist/{types-BqJycQNM.d.cts → types-CbM2MApW.d.cts} +2 -2
  275. package/dist/{types-BDGkMVWf.d.cts → types-CbOfT6lb.d.ts} +21 -7
  276. package/dist/{types-B6OG1lLf.d.cts → types-CcPpqVhm.d.cts} +2 -2
  277. package/dist/{types-D2J3SaoY.d.ts → types-CeqpzbBH.d.ts} +2 -2
  278. package/dist/{types-C_JO7FI9.d.cts → types-CjJYZaMO.d.cts} +2 -2
  279. package/dist/{types-D0Gqu-Xz.d.cts → types-CjP8RcFN.d.cts} +2 -2
  280. package/dist/{types-CUovU--e.d.ts → types-CjfsPtwk.d.ts} +2 -2
  281. package/dist/{types-DPFG6AAA.d.ts → types-CnSBLcZB.d.ts} +163 -3
  282. package/dist/{types-D4knWlwr.d.ts → types-CsXLdnfV.d.ts} +2 -2
  283. package/dist/{types-C3Kf_ggm.d.cts → types-CzAh5-0z.d.cts} +2 -2
  284. package/dist/{types-D6Fbf_y3.d.ts → types-D0F_c5KI.d.ts} +4 -4
  285. package/dist/{types-DykEfF2N.d.cts → types-D3L3CqKl.d.cts} +151 -4
  286. package/dist/{types--mz2z0Zm.d.cts → types-D4oIei5M.d.cts} +163 -3
  287. package/dist/{types-Cm1iOHE5.d.cts → types-D6ilG8sC.d.cts} +3 -3
  288. package/dist/{types-DtS7qAdz.d.cts → types-DEGkXcw2.d.ts} +5 -3
  289. package/dist/{types-DQguGTlM.d.cts → types-DEhAcO1Z.d.cts} +2 -2
  290. package/dist/{types-CuYaiy4R.d.cts → types-DaIfg9Mb.d.cts} +4 -4
  291. package/dist/{types-ByKSM08P.d.ts → types-DhofEmWy.d.ts} +2 -2
  292. package/dist/{types-B5FgsIiY.d.ts → types-Dp61pYgP.d.ts} +3 -3
  293. package/dist/{types-BhGr9OQ4.d.ts → types-Dteot3tT.d.ts} +757 -112
  294. package/dist/{types-3ZE32k8V.d.cts → types-K-JISUUI.d.cts} +757 -112
  295. package/dist/{types-CjqFLXVx.d.cts → types-TywAc1ow.d.ts} +40 -27
  296. package/dist/{types-DiXeO0yB.d.ts → types-UBpth6_9.d.ts} +2 -2
  297. package/dist/{types-D0BOES7q.d.cts → types-Vw-tduOH.d.ts} +2 -163
  298. package/dist/{types-CF5ZROX5.d.cts → types-ZyLTqgpa.d.cts} +2 -2
  299. package/dist/{types-BmcZyKgM.d.cts → types-aylD1zQz.d.cts} +3 -3
  300. package/dist/{types-CbPO9cGq.d.cts → types-fYY4q7dC.d.cts} +2 -2
  301. package/dist/{types-Foy0RnqF.d.ts → types-jYn3e3Du.d.ts} +3 -3
  302. package/dist/{types-p6UYqJo_.d.ts → types-qXqJRPHj.d.ts} +2 -2
  303. package/dist/{types-B452bFfS.d.ts → types-r-Qa3y8e.d.ts} +2 -2
  304. package/dist/{types-DhE7iY90.d.ts → types-z82j5aNW.d.ts} +3 -3
  305. package/dist/{collectByCursor-2-8SuJ-8.js → validateConnectionStatus-DgJwuEy9.js} +32 -22
  306. package/dist/validateConnectionStatus-DgJwuEy9.js.map +1 -0
  307. package/dist/{collectByCursor-D58__WD1.cjs → validateConnectionStatus-DpYRsU-e.cjs} +37 -21
  308. package/dist/validateConnectionStatus-DpYRsU-e.cjs.map +1 -0
  309. package/dist/vault/index.d.cts +1 -1
  310. package/dist/vault/index.d.ts +1 -1
  311. package/dist/vault/types.d.cts +1 -1
  312. package/dist/vault/types.d.ts +1 -1
  313. package/package.json +2 -2
  314. package/surface/apps.md +8 -3
  315. package/surface/auth.md +3 -2
  316. package/surface/chat.md +3 -3
  317. package/surface/dataScience.md +2 -2
  318. package/surface/kaiAgent.md +4 -3
  319. package/surface/management.md +4 -4
  320. package/surface/queue.md +7 -7
  321. package/surface/storage.md +27 -26
  322. package/dist/ManagementSessionMintError-BMHDcEqV.js.map +0 -1
  323. package/dist/ManagementSessionMintError-Bc9bc7Ai.cjs.map +0 -1
  324. package/dist/apps-BN7fWtSm.js.map +0 -1
  325. package/dist/apps-C1x5IKNQ.cjs.map +0 -1
  326. package/dist/authClient-B_Mb4Vzs.js.map +0 -1
  327. package/dist/authClient-C9QqhT2M.cjs.map +0 -1
  328. package/dist/collectByCursor-2-8SuJ-8.js.map +0 -1
  329. package/dist/collectByCursor-D58__WD1.cjs.map +0 -1
  330. package/dist/constants-HccvU5kx.js.map +0 -1
  331. package/dist/constants-V9hAyPTo.cjs.map +0 -1
  332. package/dist/developerPortalClient-BcK9F-Fs.cjs.map +0 -1
  333. package/dist/developerPortalClient-CzCJ5sE3.js.map +0 -1
  334. package/dist/index-C6FI_Lc7.d.ts +0 -10
  335. package/dist/index-CmtqbTse.d.cts +0 -10
  336. package/dist/kaiAgent-D0MoKqXe.js.map +0 -1
  337. package/dist/kaiAgent-De2T6G4G.cjs.map +0 -1
  338. package/dist/management-BlMQnPNS.js.map +0 -1
  339. package/dist/management-dIMrTTpI.cjs.map +0 -1
  340. package/dist/middleware-DxGv7DG8.js.map +0 -1
  341. package/dist/middleware-vIaPDtQI.cjs.map +0 -1
  342. package/dist/storage-Bw-HSnPp.js.map +0 -1
  343. package/dist/storage-jLhVrKZh.cjs.map +0 -1
  344. package/dist/store-2OyH1XOP.cjs.map +0 -1
  345. package/dist/store-HP0zRcLz.js.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-DcKc3_Y1.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-9p4O-clX.js";
2
2
  /**
3
3
  * This file was auto-generated by openapi-typescript.
4
4
  * Do not make direct changes to the file.
@@ -40,6 +40,9 @@ type paths = {
40
40
  /**
41
41
  * Create variable
42
42
  * @description Creates a new variable.
43
+ *
44
+ * * An `encrypted` variable takes plaintext here and is encrypted by the service; a value that is
45
+ * already ciphertext (`KBC::…`) is stored as it is.
43
46
  */
44
47
  post: operations['createVariable'];
45
48
  delete?: never;
@@ -48,6 +51,32 @@ type paths = {
48
51
  patch?: never;
49
52
  trace?: never;
50
53
  };
54
+ '/variables/group': {
55
+ parameters: {
56
+ query?: never;
57
+ header?: never;
58
+ path?: never;
59
+ cookie?: never;
60
+ };
61
+ get?: never;
62
+ put?: never;
63
+ post?: never;
64
+ delete?: never;
65
+ options?: never;
66
+ head?: never;
67
+ /**
68
+ * Move variables to a group
69
+ * @description Moves a set of variables to a group, or out of every group, in a single request.
70
+ *
71
+ * * The group is outside the identity hash, so every variable keeps its row and its hash.
72
+ * * An absent or `null` `group` means "out of every group".
73
+ * * The move is one transaction and it is all-or-nothing: an unknown hash, a hash from another
74
+ * project or a branch the token may not write to moves nothing.
75
+ * * The response lists the variables in the order of `hashes`.
76
+ */
77
+ patch: operations['updateVariablesGroup'];
78
+ trace?: never;
79
+ };
51
80
  '/variables/{hash}': {
52
81
  parameters: {
53
82
  query?: never;
@@ -65,7 +94,22 @@ type paths = {
65
94
  delete: operations['deleteVariable'];
66
95
  options?: never;
67
96
  head?: never;
68
- patch?: never;
97
+ /**
98
+ * Update variable
99
+ * @description Updates a variable in place.
100
+ *
101
+ * * Only `value`, `flags` and `group` can be patched. The key, the attributes and the branch are the
102
+ * variable's identity — they are hashed into `hash`, so an update keeps both the row and the hash.
103
+ * * A field absent from the body is left alone; `group: null` moves the variable out of every group.
104
+ * * An `encrypted` variable takes plaintext here and is encrypted by the service; a value that is
105
+ * already ciphertext (`KBC::…`) is stored as it is.
106
+ * * `flags` replaces the whole flag set. Adding `encrypted` encrypts the value being stored — the
107
+ * one sent, or the stored plaintext when the body carries no `value`. Removing `encrypted` needs a
108
+ * `value` in the same request, because the stored one is ciphertext the service cannot decrypt.
109
+ * * The write happens only after validation, authorization and encryption have all succeeded, so a
110
+ * rejected update leaves the variable with its old value.
111
+ */
112
+ patch: operations['updateVariable'];
69
113
  trace?: never;
70
114
  };
71
115
  '/variables/merged/branch': {
@@ -170,6 +214,35 @@ type components = {
170
214
  /** @description SHA-256 hash of the variable key + attributes */
171
215
  hash?: string;
172
216
  };
217
+ /**
218
+ * @description The changeable part of a variable. At least one property has to be present.
219
+ *
220
+ * Key and attributes are the variable's identity and are not changeable here.
221
+ */
222
+ UpdateVariable: {
223
+ /** @description Plaintext for an `encrypted` variable — the service encrypts it. Must not be `null`. */
224
+ value?: string;
225
+ /**
226
+ * @description Replaces the whole flag set.
227
+ *
228
+ * Adding `encrypted` encrypts the stored value. Removing it needs a `value` in the same
229
+ * request: the stored one is ciphertext the service cannot decrypt.
230
+ */
231
+ flags?: ('encrypted' | 'oauthCredentialsId')[];
232
+ /**
233
+ * @description `null` moves the variable out of every group.
234
+ * @example MySQL Credentials
235
+ */
236
+ group?: string | null;
237
+ };
238
+ UpdateVariablesGroup: {
239
+ hashes: string[];
240
+ /**
241
+ * @description Absent or `null` moves the variables out of every group.
242
+ * @example MySQL Credentials
243
+ */
244
+ group?: string | null;
245
+ };
173
246
  Error: {
174
247
  error: string;
175
248
  code: number;
@@ -312,6 +385,46 @@ interface operations {
312
385
  };
313
386
  };
314
387
  };
388
+ updateVariablesGroup: {
389
+ parameters: {
390
+ query?: never;
391
+ header?: never;
392
+ path?: never;
393
+ cookie?: never;
394
+ };
395
+ requestBody: {
396
+ content: {
397
+ 'application/json': components['schemas']['UpdateVariablesGroup'];
398
+ };
399
+ };
400
+ responses: {
401
+ /** @description Variables moved */
402
+ 200: {
403
+ headers: {
404
+ [name: string]: unknown;
405
+ };
406
+ content: {
407
+ 'application/json': components['schemas']['VariableWithHash'][];
408
+ };
409
+ };
410
+ 401: components['responses']['401_Unauthorized'];
411
+ 403: components['responses']['403_Forbidden'];
412
+ /** @description At least one hash does not belong to a variable in the project. Nothing was moved. */
413
+ 404: {
414
+ headers: {
415
+ [name: string]: unknown;
416
+ };
417
+ content?: never;
418
+ };
419
+ /** @description Invalid request payload */
420
+ 422: {
421
+ headers: {
422
+ [name: string]: unknown;
423
+ };
424
+ content?: never;
425
+ };
426
+ };
427
+ };
315
428
  deleteVariable: {
316
429
  parameters: {
317
430
  query?: never;
@@ -342,6 +455,53 @@ interface operations {
342
455
  };
343
456
  };
344
457
  };
458
+ updateVariable: {
459
+ parameters: {
460
+ query?: never;
461
+ header?: never;
462
+ path: {
463
+ /** @description Variable hash */
464
+ hash: string;
465
+ };
466
+ cookie?: never;
467
+ };
468
+ requestBody: {
469
+ content: {
470
+ 'application/json': components['schemas']['UpdateVariable'];
471
+ };
472
+ };
473
+ responses: {
474
+ /** @description Variable updated */
475
+ 200: {
476
+ headers: {
477
+ [name: string]: unknown;
478
+ };
479
+ content: {
480
+ 'application/json': components['schemas']['VariableWithHash'];
481
+ };
482
+ };
483
+ 401: components['responses']['401_Unauthorized'];
484
+ 403: components['responses']['403_Forbidden'];
485
+ /** @description Variable not found */
486
+ 404: {
487
+ headers: {
488
+ [name: string]: unknown;
489
+ };
490
+ content?: never;
491
+ };
492
+ /**
493
+ * @description Invalid request payload — an empty body, a `null` value, an unknown flag, a group that fails
494
+ * validation, or `encrypted` removed without a new `value`. The variable keeps its old value,
495
+ * flags and group.
496
+ */
497
+ 422: {
498
+ headers: {
499
+ [name: string]: unknown;
500
+ };
501
+ content?: never;
502
+ };
503
+ };
504
+ };
345
505
  listBranchVariables: {
346
506
  parameters: {
347
507
  query?: {
@@ -388,4 +548,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
388
548
  };
389
549
  type AnyVariable = VariableWithHash | CreateVariableBody;
390
550
  export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
391
- //# sourceMappingURL=types-DPFG6AAA.d.ts.map
551
+ //# sourceMappingURL=types-CnSBLcZB.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-DcKc3_Y1.js";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-9p4O-clX.js";
2
2
  /**
3
3
  * This file was auto-generated by openapi-typescript.
4
4
  * Do not make direct changes to the file.
@@ -1781,4 +1781,4 @@ type MetaStoreListResponse<TData extends Record<string, unknown>> = {
1781
1781
  type GetSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}']['get']>;
1782
1782
  type GetVersionedSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}/{version}']['get']>;
1783
1783
  export { ReplaceMetaObjectPath as A, MetaObjectMeta as C, RawMetaObject as D, MetaStoreObjectResponse as E, UpdateMetaObjectBody as F, UpdateMetaObjectInput as I, UpdateMetaObjectPath as L, ReplaceTargetProjectsInput as M, ReplaceTargetProjectsPath as N, ReplaceMetaObjectBody as O, ScopeElevationRequestPath as P, components as R, MetaObject as S, MetaStoreListResponse as T, GetMetaObjectsQuery as _, CreateMetaObjectPath as a, GetOrganizationMetaObjectsQuery as b, DeleteMetaObjectRevisionPath as c, GetMetaObjectRevisionsInput as d, GetMetaObjectRevisionsPath as f, GetMetaObjectsPath as g, GetMetaObjectsInput as h, CreateMetaObjectInput as i, ReplaceTargetProjectsBody as j, ReplaceMetaObjectInput as k, GetMetaObjectPath as l, GetMetaObjectRevisionsSchemaQuery as m, GetVersionedSchemaPath as n, CreateMetaObjectReturn as o, GetMetaObjectRevisionsQuery as p, CreateMetaObjectBody as r, DeleteMetaObjectPath as s, GetSchemaPath as t, GetMetaObjectRevisionPath as u, GetMetaObjectsSchemaQuery as v, MetaObjectScope as w, GetOrganizationMetaObjectsSchemaQuery as x, GetOrganizationMetaObjectsPath as y, paths as z };
1784
- //# sourceMappingURL=types-D4knWlwr.d.ts.map
1784
+ //# sourceMappingURL=types-CsXLdnfV.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-DcKc3_Y1.cjs";
1
+ import { c as OpenapiQueryType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-9p4O-clX.cjs";
2
2
  /**
3
3
  * This file was auto-generated by openapi-typescript.
4
4
  * Do not make direct changes to the file.
@@ -2104,4 +2104,4 @@ type GetConnectorsQuery = NonNullable<OpenapiQueryType<paths['/connectors']['get
2104
2104
  type SetConnectorCredentialsPath = OpenapiPathType<paths['/connectors/{connector_id}/credentials']['put']>;
2105
2105
  type SetConnectorCredentialsBody = OpenapiBodyType<paths['/connectors/{connector_id}/credentials']['put']>;
2106
2106
  export { SetConnectorCredentialsBody as n, SetConnectorCredentialsPath as r, GetConnectorsQuery as t };
2107
- //# sourceMappingURL=types-C3Kf_ggm.d.cts.map
2107
+ //# sourceMappingURL=types-CzAh5-0z.d.cts.map
@@ -1,6 +1,6 @@
1
- import { i as CreateMetaObjectInput } from "./types-D4knWlwr.js";
2
- import { n as createMetastoreClient } from "./index-B2YNTI4p.js";
3
- import { n as MetastoreObjectMeta, t as MetastoreObject } from "./metaObject-qWyZAD-5.js";
1
+ import { i as CreateMetaObjectInput } from "./types-CsXLdnfV.js";
2
+ import { n as createMetastoreClient } from "./index-CeWVf3d1.js";
3
+ import { n as MetastoreObjectMeta, t as MetastoreObject } from "./metaObject-AQ7wKDOu.js";
4
4
  /**
5
5
  * The closed value sets the metastore accepts on a semantic object.
6
6
  *
@@ -172,4 +172,4 @@ type SemanticUnreadableObjectRef = {
172
172
  modelUUID: string | null;
173
173
  };
174
174
  export { CONSTRAINT_TYPES as A, SemanticRuleExpression as C, UpdateSemanticObjectMeta as D, SemanticValidationQuery as E, SQL_DIALECTS as F, RELATIONSHIP_JOIN_TYPES as M, RULE_OPERATORS as N, CONSTRAINT_SCOPES as O, SEMANTIC_OBJECT_SCOPES as P, SemanticRelationshipJoinType as S, SemanticUnreadableObjectRef as T, SemanticObject as _, SemanticChildObjectType as a, SemanticObjectType as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelData as g, SemanticModelChildRef as h, SemanticChildObjectDataMap as i, FIELD_ROLES as j, CONSTRAINT_SEVERITIES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObjectMeta as v, SemanticRuleOperator as w, SemanticRelationshipData as x, SemanticObjectScope as y };
175
- //# sourceMappingURL=types-D6Fbf_y3.d.ts.map
175
+ //# sourceMappingURL=types-D0F_c5KI.d.ts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-DcKc3_Y1.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-9p4O-clX.cjs";
2
2
  /**
3
3
  * This file was auto-generated by openapi-typescript.
4
4
  * Do not make direct changes to the file.
@@ -24,6 +24,26 @@ type paths = {
24
24
  patch?: never;
25
25
  trace?: never;
26
26
  };
27
+ '/v1/auth/session/browser': {
28
+ parameters: {
29
+ query?: never;
30
+ header?: never;
31
+ path?: never;
32
+ cookie?: never;
33
+ };
34
+ get?: never;
35
+ put?: never;
36
+ /**
37
+ * Adopt the browser session into an application session
38
+ * @description Mints a programmatic session for the admin signed in through the browser session cookie and pairs it with that browser session. Call it same-origin with the `X-KBC-CSRF: 1` header and no Authorization header; there is no request body. The refresh token is not returned: it stays in the cookie channel, so refresh in browser mode with the returned sessionId.
39
+ */
40
+ post: operations['post_Keboola\\Controller\\Auth\\BrowserSessionAdoptAction'];
41
+ delete?: never;
42
+ options?: never;
43
+ head?: never;
44
+ patch?: never;
45
+ trace?: never;
46
+ };
27
47
  '/v1/auth/device/approve': {
28
48
  parameters: {
29
49
  query?: never;
@@ -169,7 +189,11 @@ type paths = {
169
189
  delete?: never;
170
190
  options?: never;
171
191
  head?: never;
172
- patch?: never;
192
+ /**
193
+ * Update the caller's own profile
194
+ * @description Sets the display name of the admin that owns the session. The endpoint always edits the caller; it accepts no other fields, and the e-mail address cannot be changed here.
195
+ */
196
+ patch: operations['patch_auth_me_update'];
173
197
  trace?: never;
174
198
  };
175
199
  '/v1/auth/me/maintainers': {
@@ -1147,6 +1171,16 @@ type components = {
1147
1171
  */
1148
1172
  webauthn: Record<string, never> | null;
1149
1173
  };
1174
+ BrowserSessionAdoptResponse: {
1175
+ /** @description Bearer access token (kbc_at_...). */
1176
+ accessToken: string;
1177
+ /** @example Bearer */
1178
+ tokenType: string;
1179
+ /** @description Access token lifetime in seconds. */
1180
+ expiresIn: number;
1181
+ /** @description Programmatic session id, for browser-mode refresh. */
1182
+ sessionId: string;
1183
+ };
1150
1184
  DeviceAuthorizationApprovalRequest: {
1151
1185
  /** @description User code to approve or deny. Required in bearer mode; browser mode uses the code stored in the session. */
1152
1186
  userCode: string;
@@ -1371,6 +1405,10 @@ type components = {
1371
1405
  hasMore: boolean;
1372
1406
  };
1373
1407
  };
1408
+ MeProfileUpdateRequest: {
1409
+ /** @description The display name. Leading and trailing whitespace is trimmed; it must not be empty. */
1410
+ name: string;
1411
+ };
1374
1412
  PaginationMeta: {
1375
1413
  /** @description Number of items matching the filters, ignoring pagination. */
1376
1414
  total: number;
@@ -1596,6 +1634,8 @@ type components = {
1596
1634
  lastUsedIp: string | null;
1597
1635
  /** @description User agent of the client. */
1598
1636
  userAgent: string | null;
1637
+ /** @description Name the application reported for itself; not verified by Keboola. Set only for local (loopback) MCP clients. Display it next to `client`, never instead of it. */
1638
+ reportedClientName: string | null;
1599
1639
  /**
1600
1640
  * Format: date-time
1601
1641
  * @description Access token expiration timestamp.
@@ -1843,6 +1883,57 @@ interface operations {
1843
1883
  };
1844
1884
  };
1845
1885
  };
1886
+ 'post_Keboola\\Controller\\Auth\\BrowserSessionAdoptAction': {
1887
+ parameters: {
1888
+ query?: never;
1889
+ header: {
1890
+ /** @description Required; must be "1". */
1891
+ 'X-KBC-CSRF': '1';
1892
+ };
1893
+ path?: never;
1894
+ cookie?: never;
1895
+ };
1896
+ requestBody?: never;
1897
+ responses: {
1898
+ /** @description The programmatic session paired with the browser session. */
1899
+ 200: {
1900
+ headers: {
1901
+ [name: string]: unknown;
1902
+ };
1903
+ content: {
1904
+ 'application/json': components['schemas']['BrowserSessionAdoptResponse'];
1905
+ };
1906
+ };
1907
+ /** @description No valid browser session cookie, a wrong X-KBC-CSRF value or an Origin outside the allowlist (`{"error": "invalid_session"}` from the cookie authenticator); or no X-KBC-CSRF header or an Authorization header on the request (auth.session.browserSessionRequired). */
1908
+ 401: {
1909
+ headers: {
1910
+ [name: string]: unknown;
1911
+ };
1912
+ content?: never;
1913
+ };
1914
+ /** @description The admin may not hold an application session (auth.session.browserSessionAdoptionRefused). */
1915
+ 403: {
1916
+ headers: {
1917
+ [name: string]: unknown;
1918
+ };
1919
+ content?: never;
1920
+ };
1921
+ /** @description Programmatic auth feature disabled on this stack. */
1922
+ 404: {
1923
+ headers: {
1924
+ [name: string]: unknown;
1925
+ };
1926
+ content?: never;
1927
+ };
1928
+ /** @description Too many adoptions for this browser session, or too many failed attempts from this IP. */
1929
+ 429: {
1930
+ headers: {
1931
+ [name: string]: unknown;
1932
+ };
1933
+ content?: never;
1934
+ };
1935
+ };
1936
+ };
1846
1937
  post_auth_device_authorization_approve: {
1847
1938
  parameters: {
1848
1939
  query?: never;
@@ -2252,6 +2343,60 @@ interface operations {
2252
2343
  };
2253
2344
  };
2254
2345
  };
2346
+ patch_auth_me_update: {
2347
+ parameters: {
2348
+ query?: never;
2349
+ header?: never;
2350
+ path?: never;
2351
+ cookie?: never;
2352
+ };
2353
+ requestBody: {
2354
+ content: {
2355
+ 'application/json': components['schemas']['MeProfileUpdateRequest'];
2356
+ };
2357
+ };
2358
+ responses: {
2359
+ /** @description The updated user. */
2360
+ 200: {
2361
+ headers: {
2362
+ [name: string]: unknown;
2363
+ };
2364
+ content: {
2365
+ 'application/json': {
2366
+ user: components['schemas']['MeUser'];
2367
+ };
2368
+ };
2369
+ };
2370
+ /** @description Empty or too long name, or a field other than `name` (validation.failed); or a body that is not a JSON object. */
2371
+ 400: {
2372
+ headers: {
2373
+ [name: string]: unknown;
2374
+ };
2375
+ content?: never;
2376
+ };
2377
+ /** @description Access token is missing, malformed, expired, or its session has been revoked. */
2378
+ 401: {
2379
+ headers: {
2380
+ [name: string]: unknown;
2381
+ };
2382
+ content?: never;
2383
+ };
2384
+ /** @description PAT bearer presented to a session-only endpoint. */
2385
+ 403: {
2386
+ headers: {
2387
+ [name: string]: unknown;
2388
+ };
2389
+ content?: never;
2390
+ };
2391
+ /** @description Programmatic auth feature disabled on this stack. */
2392
+ 404: {
2393
+ headers: {
2394
+ [name: string]: unknown;
2395
+ };
2396
+ content?: never;
2397
+ };
2398
+ };
2399
+ };
2255
2400
  'get_/v1/auth/me/maintainers': {
2256
2401
  parameters: {
2257
2402
  query?: {
@@ -3759,6 +3904,8 @@ type GetDeviceAuthorizationTokenResult = OpenapiReturnType<paths['/v1/auth/devic
3759
3904
  type LoginBody = OpenapiBodyType<paths['/v1/auth/login']['post']>;
3760
3905
  type MeResult = OpenapiReturnType<paths['/v1/auth/me']['get']>;
3761
3906
  type MeUser = OpenapiReturnType<paths['/v1/auth/me']['get']>['user'];
3907
+ type UpdateMeInput = OpenapiBodyType<paths['/v1/auth/me']['patch']>;
3908
+ type UpdateMeResult = OpenapiReturnType<paths['/v1/auth/me']['patch']>;
3762
3909
  type MeOrganization = OpenapiReturnType<paths['/v1/auth/me']['get']>['organizations']['preview'][number];
3763
3910
  type MeMaintainer = OpenapiReturnType<paths['/v1/auth/me']['get']>['maintainers']['preview'][number];
3764
3911
  type MeProject = OpenapiReturnType<paths['/v1/auth/me']['get']>['projects']['preview'][number];
@@ -3855,5 +4002,5 @@ type RegisterWebauthnResult = OpenapiReturnType<paths['/v1/auth/webauthn/registe
3855
4002
  type RemoveWebauthnPath = OpenapiPathType<paths['/v1/auth/webauthn/{id}']['delete']>;
3856
4003
  type RemoveWebauthnQuery = NonNullable<OpenapiQueryType<paths['/v1/auth/webauthn/{id}']['delete']>>;
3857
4004
  type RemoveWebauthnInput = RemoveWebauthnPath & RemoveWebauthnQuery;
3858
- export { CreateDeviceAuthorizationBody as $, PatScopeInput as A, GetMeMaintainersResult as B, GetPkceTokenResult as C, ExchangePatBodyRaw as D, CreatePatResult as E, TotpVerifyResult as F, MeMaintainer as G, GetMeOrganizationsResult as H, VerifyMfaBody as I, MeResult as J, MeOrganization as K, VerifyMfaResult as L, DisableTotpPath as M, RegenerateRecoveryCodesResult as N, ExchangePatInput as O, TotpSetupResult as P, ApproveDeviceAuthorizationResult as Q, VerifyMfaType as R, GetPkceTokenBody as S, CreatePatInput as T, GetMeProjectsQuery as U, GetMeOrganizationsQuery as V, GetMeProjectsResult as W, LoginBody as X, MeUser as Y, ApproveDeviceAuthorizationBody as Z, RevokeSessionPath as _, RemoveWebauthnInput as a, InitiateSamlBody as b, IntrospectTokenResult as c, RefreshTokenResult as d, CreateDeviceAuthorizationResult as et, RevokeTokenBody as f, SudoResult as g, SudoChallengeResult as h, RegisterWebauthnResult as i, paths as it, RevokePatPath as j, ListPatsResult as k, RefreshTokenBody as l, SudoBodyRaw as m, RegisterWebauthnInput as n, GetDeviceAuthorizationTokenResult as nt, RemoveWebauthnPath as o, SudoBody as p, MeProject as q, RegisterWebauthnOptionsResult as r, components as rt, RemoveWebauthnQuery as s, ListWebauthnCredentialsResult as t, GetDeviceAuthorizationTokenBody as tt, RefreshTokenPartialBody as u, AssertSamlBody as v, CreatePatBodyRaw as w, InitiateSamlResult as x, AssertSamlResult as y, GetMeMaintainersQuery as z };
3859
- //# sourceMappingURL=types-DykEfF2N.d.cts.map
4005
+ export { ApproveDeviceAuthorizationBody as $, PatScopeInput as A, GetMeMaintainersResult as B, GetPkceTokenResult as C, ExchangePatBodyRaw as D, CreatePatResult as E, TotpVerifyResult as F, MeMaintainer as G, GetMeOrganizationsResult as H, VerifyMfaBody as I, MeResult as J, MeOrganization as K, VerifyMfaResult as L, DisableTotpPath as M, RegenerateRecoveryCodesResult as N, ExchangePatInput as O, TotpSetupResult as P, LoginBody as Q, VerifyMfaType as R, GetPkceTokenBody as S, CreatePatInput as T, GetMeProjectsQuery as U, GetMeOrganizationsQuery as V, GetMeProjectsResult as W, UpdateMeInput as X, MeUser as Y, UpdateMeResult as Z, RevokeSessionPath as _, RemoveWebauthnInput as a, components as at, InitiateSamlBody as b, IntrospectTokenResult as c, RefreshTokenResult as d, ApproveDeviceAuthorizationResult as et, RevokeTokenBody as f, SudoResult as g, SudoChallengeResult as h, RegisterWebauthnResult as i, GetDeviceAuthorizationTokenResult as it, RevokePatPath as j, ListPatsResult as k, RefreshTokenBody as l, SudoBodyRaw as m, RegisterWebauthnInput as n, CreateDeviceAuthorizationResult as nt, RemoveWebauthnPath as o, paths as ot, SudoBody as p, MeProject as q, RegisterWebauthnOptionsResult as r, GetDeviceAuthorizationTokenBody as rt, RemoveWebauthnQuery as s, ListWebauthnCredentialsResult as t, CreateDeviceAuthorizationBody as tt, RefreshTokenPartialBody as u, AssertSamlBody as v, CreatePatBodyRaw as w, InitiateSamlResult as x, AssertSamlResult as y, GetMeMaintainersQuery as z };
4006
+ //# sourceMappingURL=types-D3L3CqKl.d.cts.map
@@ -1,4 +1,4 @@
1
- import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-DcKc3_Y1.cjs";
1
+ import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-9p4O-clX.cjs";
2
2
  /**
3
3
  * This file was auto-generated by openapi-typescript.
4
4
  * Do not make direct changes to the file.
@@ -40,6 +40,9 @@ type paths = {
40
40
  /**
41
41
  * Create variable
42
42
  * @description Creates a new variable.
43
+ *
44
+ * * An `encrypted` variable takes plaintext here and is encrypted by the service; a value that is
45
+ * already ciphertext (`KBC::…`) is stored as it is.
43
46
  */
44
47
  post: operations['createVariable'];
45
48
  delete?: never;
@@ -48,6 +51,32 @@ type paths = {
48
51
  patch?: never;
49
52
  trace?: never;
50
53
  };
54
+ '/variables/group': {
55
+ parameters: {
56
+ query?: never;
57
+ header?: never;
58
+ path?: never;
59
+ cookie?: never;
60
+ };
61
+ get?: never;
62
+ put?: never;
63
+ post?: never;
64
+ delete?: never;
65
+ options?: never;
66
+ head?: never;
67
+ /**
68
+ * Move variables to a group
69
+ * @description Moves a set of variables to a group, or out of every group, in a single request.
70
+ *
71
+ * * The group is outside the identity hash, so every variable keeps its row and its hash.
72
+ * * An absent or `null` `group` means "out of every group".
73
+ * * The move is one transaction and it is all-or-nothing: an unknown hash, a hash from another
74
+ * project or a branch the token may not write to moves nothing.
75
+ * * The response lists the variables in the order of `hashes`.
76
+ */
77
+ patch: operations['updateVariablesGroup'];
78
+ trace?: never;
79
+ };
51
80
  '/variables/{hash}': {
52
81
  parameters: {
53
82
  query?: never;
@@ -65,7 +94,22 @@ type paths = {
65
94
  delete: operations['deleteVariable'];
66
95
  options?: never;
67
96
  head?: never;
68
- patch?: never;
97
+ /**
98
+ * Update variable
99
+ * @description Updates a variable in place.
100
+ *
101
+ * * Only `value`, `flags` and `group` can be patched. The key, the attributes and the branch are the
102
+ * variable's identity — they are hashed into `hash`, so an update keeps both the row and the hash.
103
+ * * A field absent from the body is left alone; `group: null` moves the variable out of every group.
104
+ * * An `encrypted` variable takes plaintext here and is encrypted by the service; a value that is
105
+ * already ciphertext (`KBC::…`) is stored as it is.
106
+ * * `flags` replaces the whole flag set. Adding `encrypted` encrypts the value being stored — the
107
+ * one sent, or the stored plaintext when the body carries no `value`. Removing `encrypted` needs a
108
+ * `value` in the same request, because the stored one is ciphertext the service cannot decrypt.
109
+ * * The write happens only after validation, authorization and encryption have all succeeded, so a
110
+ * rejected update leaves the variable with its old value.
111
+ */
112
+ patch: operations['updateVariable'];
69
113
  trace?: never;
70
114
  };
71
115
  '/variables/merged/branch': {
@@ -170,6 +214,35 @@ type components = {
170
214
  /** @description SHA-256 hash of the variable key + attributes */
171
215
  hash?: string;
172
216
  };
217
+ /**
218
+ * @description The changeable part of a variable. At least one property has to be present.
219
+ *
220
+ * Key and attributes are the variable's identity and are not changeable here.
221
+ */
222
+ UpdateVariable: {
223
+ /** @description Plaintext for an `encrypted` variable — the service encrypts it. Must not be `null`. */
224
+ value?: string;
225
+ /**
226
+ * @description Replaces the whole flag set.
227
+ *
228
+ * Adding `encrypted` encrypts the stored value. Removing it needs a `value` in the same
229
+ * request: the stored one is ciphertext the service cannot decrypt.
230
+ */
231
+ flags?: ('encrypted' | 'oauthCredentialsId')[];
232
+ /**
233
+ * @description `null` moves the variable out of every group.
234
+ * @example MySQL Credentials
235
+ */
236
+ group?: string | null;
237
+ };
238
+ UpdateVariablesGroup: {
239
+ hashes: string[];
240
+ /**
241
+ * @description Absent or `null` moves the variables out of every group.
242
+ * @example MySQL Credentials
243
+ */
244
+ group?: string | null;
245
+ };
173
246
  Error: {
174
247
  error: string;
175
248
  code: number;
@@ -312,6 +385,46 @@ interface operations {
312
385
  };
313
386
  };
314
387
  };
388
+ updateVariablesGroup: {
389
+ parameters: {
390
+ query?: never;
391
+ header?: never;
392
+ path?: never;
393
+ cookie?: never;
394
+ };
395
+ requestBody: {
396
+ content: {
397
+ 'application/json': components['schemas']['UpdateVariablesGroup'];
398
+ };
399
+ };
400
+ responses: {
401
+ /** @description Variables moved */
402
+ 200: {
403
+ headers: {
404
+ [name: string]: unknown;
405
+ };
406
+ content: {
407
+ 'application/json': components['schemas']['VariableWithHash'][];
408
+ };
409
+ };
410
+ 401: components['responses']['401_Unauthorized'];
411
+ 403: components['responses']['403_Forbidden'];
412
+ /** @description At least one hash does not belong to a variable in the project. Nothing was moved. */
413
+ 404: {
414
+ headers: {
415
+ [name: string]: unknown;
416
+ };
417
+ content?: never;
418
+ };
419
+ /** @description Invalid request payload */
420
+ 422: {
421
+ headers: {
422
+ [name: string]: unknown;
423
+ };
424
+ content?: never;
425
+ };
426
+ };
427
+ };
315
428
  deleteVariable: {
316
429
  parameters: {
317
430
  query?: never;
@@ -342,6 +455,53 @@ interface operations {
342
455
  };
343
456
  };
344
457
  };
458
+ updateVariable: {
459
+ parameters: {
460
+ query?: never;
461
+ header?: never;
462
+ path: {
463
+ /** @description Variable hash */
464
+ hash: string;
465
+ };
466
+ cookie?: never;
467
+ };
468
+ requestBody: {
469
+ content: {
470
+ 'application/json': components['schemas']['UpdateVariable'];
471
+ };
472
+ };
473
+ responses: {
474
+ /** @description Variable updated */
475
+ 200: {
476
+ headers: {
477
+ [name: string]: unknown;
478
+ };
479
+ content: {
480
+ 'application/json': components['schemas']['VariableWithHash'];
481
+ };
482
+ };
483
+ 401: components['responses']['401_Unauthorized'];
484
+ 403: components['responses']['403_Forbidden'];
485
+ /** @description Variable not found */
486
+ 404: {
487
+ headers: {
488
+ [name: string]: unknown;
489
+ };
490
+ content?: never;
491
+ };
492
+ /**
493
+ * @description Invalid request payload — an empty body, a `null` value, an unknown flag, a group that fails
494
+ * validation, or `encrypted` removed without a new `value`. The variable keeps its old value,
495
+ * flags and group.
496
+ */
497
+ 422: {
498
+ headers: {
499
+ [name: string]: unknown;
500
+ };
501
+ content?: never;
502
+ };
503
+ };
504
+ };
345
505
  listBranchVariables: {
346
506
  parameters: {
347
507
  query?: {
@@ -388,4 +548,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
388
548
  };
389
549
  type AnyVariable = VariableWithHash | CreateVariableBody;
390
550
  export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
391
- //# sourceMappingURL=types--mz2z0Zm.d.cts.map
551
+ //# sourceMappingURL=types-D4oIei5M.d.cts.map