@keboola/api-client 39.0.0 → 40.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 (518) hide show
  1. package/AGENTS.md +121 -100
  2. package/API-SURFACE.md +23 -2
  3. package/CHANGELOG.md +120 -0
  4. package/README.md +3 -3
  5. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs → ManagementClientAuthError-DE7lNGZQ.cjs} +2 -2
  6. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs.map → ManagementClientAuthError-DE7lNGZQ.cjs.map} +1 -1
  7. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js → ManagementClientAuthError-H30lti_Q.js} +2 -2
  8. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js.map → ManagementClientAuthError-H30lti_Q.js.map} +1 -1
  9. package/dist/{ValidationError-CLVJCCwH.cjs → ValidationError-D65QU0uq.cjs} +10 -16
  10. package/dist/ValidationError-D65QU0uq.cjs.map +1 -0
  11. package/dist/ValidationError-DjhtNMfZ.js +42 -0
  12. package/dist/ValidationError-DjhtNMfZ.js.map +1 -0
  13. package/dist/ai/index.cjs +2 -2
  14. package/dist/ai/index.d.cts +2 -2
  15. package/dist/ai/index.d.ts +2 -2
  16. package/dist/ai/index.js +2 -2
  17. package/dist/ai/types.d.cts +1 -1
  18. package/dist/ai/types.d.ts +1 -1
  19. package/dist/{appLogs-C_zP0lpv.cjs → appLogs-B9zFJIuy.cjs} +2 -2
  20. package/dist/{appLogs-C_zP0lpv.cjs.map → appLogs-B9zFJIuy.cjs.map} +1 -1
  21. package/dist/{appLogs-Cl7Q_MR9.js → appLogs-BBkkUOW1.js} +2 -2
  22. package/dist/{appLogs-Cl7Q_MR9.js.map → appLogs-BBkkUOW1.js.map} +1 -1
  23. package/dist/{appLogs-Ch7DYpzx.d.ts → appLogs-BS6ViVGR.d.ts} +2 -2
  24. package/dist/{appLogs-D5A13Y0y.d.cts → appLogs-C9YlJ2g8.d.cts} +2 -2
  25. package/dist/apps/index.cjs +30 -56
  26. package/dist/apps/index.cjs.map +1 -1
  27. package/dist/apps/index.d.cts +8 -13
  28. package/dist/apps/index.d.ts +8 -13
  29. package/dist/apps/index.js +30 -56
  30. package/dist/apps/index.js.map +1 -1
  31. package/dist/apps/types.d.cts +2 -2
  32. package/dist/apps/types.d.ts +2 -2
  33. package/dist/assets/index.cjs +1 -1
  34. package/dist/assets/index.d.cts +1 -1
  35. package/dist/assets/index.d.ts +1 -1
  36. package/dist/assets/index.js +1 -1
  37. package/dist/auth/index.cjs +8 -4
  38. package/dist/auth/index.d.cts +2 -2
  39. package/dist/auth/index.d.ts +2 -2
  40. package/dist/auth/index.js +2 -2
  41. package/dist/auth/types.d.cts +2 -2
  42. package/dist/auth/types.d.ts +2 -2
  43. package/dist/{auth-DLWnl18b.cjs → auth-Dm0F2rOh.cjs} +2 -2
  44. package/dist/{auth-DLWnl18b.cjs.map → auth-Dm0F2rOh.cjs.map} +1 -1
  45. package/dist/{auth-BjmkFOgd.js → auth-DworfoPy.js} +2 -2
  46. package/dist/{auth-BjmkFOgd.js.map → auth-DworfoPy.js.map} +1 -1
  47. package/dist/{authClient-8yU1last.cjs → authClient-BmuUo0J4.cjs} +141 -48
  48. package/dist/authClient-BmuUo0J4.cjs.map +1 -0
  49. package/dist/{authClient-CTHNs6Tq.d.cts → authClient-CHXWJ9x3.d.ts} +109 -76
  50. package/dist/{authClient-BTo4Afm6.js → authClient-CgcDGd30.js} +108 -39
  51. package/dist/authClient-CgcDGd30.js.map +1 -0
  52. package/dist/{authClient-D8i3JTM-.d.ts → authClient-vEt_7_uk.d.cts} +109 -76
  53. package/dist/billing/index.cjs +2 -2
  54. package/dist/billing/index.d.cts +1 -1
  55. package/dist/billing/index.d.ts +1 -1
  56. package/dist/billing/index.js +2 -2
  57. package/dist/billing/types.d.cts +1 -1
  58. package/dist/billing/types.d.ts +1 -1
  59. package/dist/businessWorkspaceApi/index.cjs +1 -1
  60. package/dist/businessWorkspaceApi/index.d.cts +1 -1
  61. package/dist/businessWorkspaceApi/index.d.ts +1 -1
  62. package/dist/businessWorkspaceApi/index.js +1 -1
  63. package/dist/businessWorkspaceApi/types.d.cts +1 -1
  64. package/dist/businessWorkspaceApi/types.d.ts +1 -1
  65. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs → businessWorkspaceApi-6tCDdpnY.cjs} +3 -3
  66. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs.map → businessWorkspaceApi-6tCDdpnY.cjs.map} +1 -1
  67. package/dist/{businessWorkspaceApi-BD-iUj07.js → businessWorkspaceApi-BLUdefRF.js} +3 -3
  68. package/dist/{businessWorkspaceApi-BD-iUj07.js.map → businessWorkspaceApi-BLUdefRF.js.map} +1 -1
  69. package/dist/{businessWorkspaceApiClient-CRM1U8b-.d.cts → businessWorkspaceApiClient-BHDJlHFo.d.cts} +3 -3
  70. package/dist/{businessWorkspaceApiClient-C2WyWN3b.d.ts → businessWorkspaceApiClient-DI-z1VIH.d.ts} +3 -3
  71. package/dist/chat/index.cjs +7 -3
  72. package/dist/chat/index.cjs.map +1 -1
  73. package/dist/chat/index.d.cts +2 -2
  74. package/dist/chat/index.d.ts +2 -2
  75. package/dist/chat/index.js +7 -3
  76. package/dist/chat/index.js.map +1 -1
  77. package/dist/chat/types.cjs +1 -3
  78. package/dist/chat/types.cjs.map +1 -1
  79. package/dist/chat/types.d.cts +2 -2
  80. package/dist/chat/types.d.ts +2 -2
  81. package/dist/chat/types.js +1 -3
  82. package/dist/chat/types.js.map +1 -1
  83. package/dist/{componentId-DkyQ8PM0.cjs → componentId-57vjsa2i.cjs} +4 -2
  84. package/dist/{componentId-DkyQ8PM0.cjs.map → componentId-57vjsa2i.cjs.map} +1 -1
  85. package/dist/{componentId-vJz-kWs6.js → componentId-C6WZa_R1.js} +4 -2
  86. package/dist/{componentId-vJz-kWs6.js.map → componentId-C6WZa_R1.js.map} +1 -1
  87. package/dist/{concurrent-CH9fbNr3.js → concurrent-BacWxPwi.js} +5 -7
  88. package/dist/concurrent-BacWxPwi.js.map +1 -0
  89. package/dist/{concurrent-tbiIa0UL.cjs → concurrent-CdVfR1N5.cjs} +5 -7
  90. package/dist/concurrent-CdVfR1N5.cjs.map +1 -0
  91. package/dist/{configurations-VtNE0nrT.js → configurations-BPKGGy-M.js} +14 -22
  92. package/dist/configurations-BPKGGy-M.js.map +1 -0
  93. package/dist/{configurations-CyFF9Dtu.cjs → configurations-BTRHVSRq.cjs} +20 -53
  94. package/dist/configurations-BTRHVSRq.cjs.map +1 -0
  95. package/dist/{configurations-BVvcimzo.js → configurations-Chg_JwJ1.js} +20 -53
  96. package/dist/configurations-Chg_JwJ1.js.map +1 -0
  97. package/dist/{configurations-zkNjr73Q.cjs → configurations-IYyOvhI3.cjs} +14 -22
  98. package/dist/configurations-IYyOvhI3.cjs.map +1 -0
  99. package/dist/constants/index.cjs +1 -1
  100. package/dist/constants/index.d.cts +1 -1
  101. package/dist/constants/index.d.ts +1 -1
  102. package/dist/constants/index.js +1 -1
  103. package/dist/{createFetchClient-BlgPbjFj.cjs → createFetchClient-Cwp8max9.cjs} +11 -4
  104. package/dist/createFetchClient-Cwp8max9.cjs.map +1 -0
  105. package/dist/{createFetchClient-C-cadpBx.js → createFetchClient-DXHQK63w.js} +11 -4
  106. package/dist/createFetchClient-DXHQK63w.js.map +1 -0
  107. package/dist/{createGenericFetchClient-Bnf1QK9W.js → createGenericFetchClient-Dg1rgzmG.js} +2 -2
  108. package/dist/{createGenericFetchClient-Bnf1QK9W.js.map → createGenericFetchClient-Dg1rgzmG.js.map} +1 -1
  109. package/dist/{createGenericFetchClient-lcozzwk2.cjs → createGenericFetchClient-Dl9cqTvR.cjs} +2 -2
  110. package/dist/{createGenericFetchClient-lcozzwk2.cjs.map → createGenericFetchClient-Dl9cqTvR.cjs.map} +1 -1
  111. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs → createOpenapiFetchClient-BYqW-9tm.cjs} +2 -2
  112. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs.map → createOpenapiFetchClient-BYqW-9tm.cjs.map} +1 -1
  113. package/dist/{createOpenapiFetchClient-COaPeeQ0.js → createOpenapiFetchClient-DZUOVupy.js} +2 -2
  114. package/dist/{createOpenapiFetchClient-COaPeeQ0.js.map → createOpenapiFetchClient-DZUOVupy.js.map} +1 -1
  115. package/dist/dataScience/index.cjs +2 -2
  116. package/dist/dataScience/index.d.cts +2 -2
  117. package/dist/dataScience/index.d.ts +2 -2
  118. package/dist/dataScience/index.js +2 -2
  119. package/dist/dataScience/types.d.cts +2 -2
  120. package/dist/dataScience/types.d.ts +2 -2
  121. package/dist/{dataScience-D-hyc4GY.cjs → dataScience-B5QxZnvW.cjs} +5 -5
  122. package/dist/{dataScience-D-hyc4GY.cjs.map → dataScience-B5QxZnvW.cjs.map} +1 -1
  123. package/dist/{dataScience-B_BmnB1m.js → dataScience-OXcwdk1p.js} +5 -5
  124. package/dist/{dataScience-B_BmnB1m.js.map → dataScience-OXcwdk1p.js.map} +1 -1
  125. package/dist/dedupe-Cky1gSUu.js +21 -0
  126. package/dist/dedupe-Cky1gSUu.js.map +1 -0
  127. package/dist/dedupe-OSnnst2u.cjs +26 -0
  128. package/dist/dedupe-OSnnst2u.cjs.map +1 -0
  129. package/dist/developerPortal/index.cjs +1 -1
  130. package/dist/developerPortal/index.d.cts +2 -2
  131. package/dist/developerPortal/index.d.ts +2 -2
  132. package/dist/developerPortal/index.js +1 -1
  133. package/dist/developerPortal/types.d.cts +1 -1
  134. package/dist/developerPortal/types.d.ts +1 -1
  135. package/dist/{developerPortalClient-yHFTkKPb.js → developerPortalClient-B1QZ1rYi.js} +6 -8
  136. package/dist/{developerPortalClient-yHFTkKPb.js.map → developerPortalClient-B1QZ1rYi.js.map} +1 -1
  137. package/dist/{developerPortalClient-CutPqoAa.cjs → developerPortalClient-CLPpBksD.cjs} +6 -8
  138. package/dist/{developerPortalClient-CutPqoAa.cjs.map → developerPortalClient-CLPpBksD.cjs.map} +1 -1
  139. package/dist/domain/permissions/index.cjs +9 -30
  140. package/dist/domain/permissions/index.cjs.map +1 -1
  141. package/dist/domain/permissions/index.d.cts +29 -102
  142. package/dist/domain/permissions/index.d.ts +29 -102
  143. package/dist/domain/permissions/index.js +9 -30
  144. package/dist/domain/permissions/index.js.map +1 -1
  145. package/dist/domain/storageTable/index.d.cts +1 -1
  146. package/dist/domain/storageTable/index.d.ts +1 -1
  147. package/dist/editor/index.cjs +2 -2
  148. package/dist/editor/index.cjs.map +1 -1
  149. package/dist/editor/index.d.cts +2 -2
  150. package/dist/editor/index.d.ts +2 -2
  151. package/dist/editor/index.js +2 -2
  152. package/dist/editor/index.js.map +1 -1
  153. package/dist/editor/types.d.cts +1 -1
  154. package/dist/editor/types.d.ts +1 -1
  155. package/dist/encryption/index.cjs +2 -22
  156. package/dist/encryption/index.cjs.map +1 -1
  157. package/dist/encryption/index.d.cts +1 -1
  158. package/dist/encryption/index.d.ts +1 -1
  159. package/dist/encryption/index.js +2 -22
  160. package/dist/encryption/index.js.map +1 -1
  161. package/dist/encryption/types.d.cts +1 -1
  162. package/dist/encryption/types.d.ts +1 -1
  163. package/dist/import/index.cjs +1 -1
  164. package/dist/import/index.d.cts +3 -3
  165. package/dist/import/index.d.ts +3 -3
  166. package/dist/import/index.js +1 -1
  167. package/dist/{import-7YyyD_U_.cjs → import-CNk89mqy.cjs} +3 -3
  168. package/dist/{import-7YyyD_U_.cjs.map → import-CNk89mqy.cjs.map} +1 -1
  169. package/dist/{import-xliONVib.js → import-DiMQCzLa.js} +3 -3
  170. package/dist/{import-xliONVib.js.map → import-DiMQCzLa.js.map} +1 -1
  171. package/dist/{index-1r_CskjU.d.ts → index--ZpnE3YT.d.cts} +3 -3
  172. package/dist/{index-C77vTm2K.d.ts → index-BDZvaRud.d.ts} +6 -6
  173. package/dist/{index-KuQ79Mnz.d.ts → index-BVhHt5lx.d.cts} +18 -26
  174. package/dist/{index-NC1dXRTD.d.ts → index-BfqkgPGI.d.cts} +7 -13
  175. package/dist/{index-NC1dXRTD.d.cts → index-BfqkgPGI.d.ts} +7 -13
  176. package/dist/{index-V7XKUQm9.d.cts → index-BgR5zcjJ.d.ts} +18 -26
  177. package/dist/{index-GfKzh267.d.ts → index-BkqackZf.d.ts} +369 -297
  178. package/dist/{index-BK-qHT39.d.ts → index-ByRpNVcs.d.cts} +83 -17
  179. package/dist/{index-pXN4LWUX.d.ts → index-C11JSxBY.d.ts} +8 -11
  180. package/dist/{index-GjcJTCbz.d.cts → index-C4TNAA8-.d.cts} +8 -11
  181. package/dist/{index-DBklbaTp.d.cts → index-C8gRRWHL.d.cts} +3 -1
  182. package/dist/{index-DBklbaTp.d.ts → index-C8gRRWHL.d.ts} +3 -1
  183. package/dist/{index-3LUk2rpD.d.ts → index-CPu4Nezo.d.cts} +34 -9
  184. package/dist/{index-BMqLPS6S.d.ts → index-CXcWpZQ2.d.cts} +4 -12
  185. package/dist/{index-BMqLPS6S.d.cts → index-CXcWpZQ2.d.ts} +4 -12
  186. package/dist/{index-Dx52hNLP.d.cts → index-CcMHJcuP.d.cts} +3 -3
  187. package/dist/{index-DVw4Av4b.d.cts → index-Cvbjp3jx.d.cts} +6 -6
  188. package/dist/{index-DppA4k3b.d.cts → index-Cz0MXhzs.d.cts} +5 -5
  189. package/dist/{index-6Xe81qN3.d.ts → index-D-VMgpGc.d.ts} +5 -5
  190. package/dist/{index-DWf6FXOr.d.cts → index-D7-o-oGa.d.ts} +3 -3
  191. package/dist/{index-CWoEnDJ_.d.cts → index-DCRKjihs.d.ts} +83 -17
  192. package/dist/{kaiAgentClient-CHpULyeG.d.cts → index-DNThyEej.d.cts} +14 -5
  193. package/dist/{index-DXSmFkol.d.cts → index-DOAZmWvh.d.cts} +6 -6
  194. package/dist/{index-CHXnJQ9s.d.cts → index-DXYASsPP.d.cts} +369 -297
  195. package/dist/{index-BuegqrS1.d.ts → index-D_-4uQF8.d.ts} +3 -3
  196. package/dist/{index-CW3Pj7DY.d.cts → index-Dazy-meb.d.ts} +34 -9
  197. package/dist/{index-De5qUWhp.d.ts → index-DnQTuc6t.d.ts} +6 -6
  198. package/dist/{kaiAgentClient-B5L4gbQ1.d.ts → index-Qb7X6-ph.d.ts} +14 -5
  199. package/dist/index.cjs +1498 -901
  200. package/dist/index.cjs.map +1 -1
  201. package/dist/index.d.cts +7 -7
  202. package/dist/index.d.ts +7 -7
  203. package/dist/index.js +1497 -902
  204. package/dist/index.js.map +1 -1
  205. package/dist/isLoginPageRedirect-XPwAOKK3.js +14 -0
  206. package/dist/isLoginPageRedirect-XPwAOKK3.js.map +1 -0
  207. package/dist/isLoginPageRedirect-jQHiLrG7.cjs +19 -0
  208. package/dist/isLoginPageRedirect-jQHiLrG7.cjs.map +1 -0
  209. package/dist/{jobStatus-0_Y3Sr4i.cjs → jobStatus-BMlsyXWI.cjs} +19 -45
  210. package/dist/jobStatus-BMlsyXWI.cjs.map +1 -0
  211. package/dist/{jobStatus-PSZJMTiA.js → jobStatus-CfRtsIpv.js} +19 -45
  212. package/dist/jobStatus-CfRtsIpv.js.map +1 -0
  213. package/dist/kaiAgent/index.cjs +1 -1
  214. package/dist/kaiAgent/index.d.cts +3 -2
  215. package/dist/kaiAgent/index.d.ts +3 -2
  216. package/dist/kaiAgent/index.js +1 -1
  217. package/dist/kaiAgent/types.d.cts +2 -2
  218. package/dist/kaiAgent/types.d.ts +2 -2
  219. package/dist/{kaiAgent-CcT2oNip.js → kaiAgent-Dp20HLTh.js} +32 -11
  220. package/dist/kaiAgent-Dp20HLTh.js.map +1 -0
  221. package/dist/{kaiAgent-DaB6UCsh.cjs → kaiAgent-QNoeVKPs.cjs} +32 -11
  222. package/dist/kaiAgent-QNoeVKPs.cjs.map +1 -0
  223. package/dist/kaiMemory-CClSPInt.cjs +289 -0
  224. package/dist/kaiMemory-CClSPInt.cjs.map +1 -0
  225. package/dist/kaiMemory-D0Y_16U4.js +260 -0
  226. package/dist/kaiMemory-D0Y_16U4.js.map +1 -0
  227. package/dist/management/index.cjs +1 -1
  228. package/dist/management/index.d.cts +1 -1
  229. package/dist/management/index.d.ts +1 -1
  230. package/dist/management/index.js +1 -1
  231. package/dist/management/types.d.cts +2 -2
  232. package/dist/management/types.d.ts +2 -2
  233. package/dist/{management-DeZiQSlw.cjs → management-CCY0IYnq.cjs} +59 -24
  234. package/dist/management-CCY0IYnq.cjs.map +1 -0
  235. package/dist/{management-ckdnu1dA.js → management-DvmPiG64.js} +59 -24
  236. package/dist/management-DvmPiG64.js.map +1 -0
  237. package/dist/metastore/index.cjs +1 -1
  238. package/dist/metastore/index.d.cts +1 -1
  239. package/dist/metastore/index.d.ts +1 -1
  240. package/dist/metastore/index.js +1 -1
  241. package/dist/metastore/types.d.cts +2 -2
  242. package/dist/metastore/types.d.ts +2 -2
  243. package/dist/{metastore-B0PolCjQ.js → metastore-BycJxe7A.js} +14 -8
  244. package/dist/metastore-BycJxe7A.js.map +1 -0
  245. package/dist/{metastore-9AGrwjmN.cjs → metastore-XtWciCZT.cjs} +14 -8
  246. package/dist/metastore-XtWciCZT.cjs.map +1 -0
  247. package/dist/microsoftGraph/index.cjs +2 -2
  248. package/dist/microsoftGraph/index.d.cts +2 -2
  249. package/dist/microsoftGraph/index.d.ts +2 -2
  250. package/dist/microsoftGraph/index.js +2 -2
  251. package/dist/microsoftGraph/types.d.cts +1 -1
  252. package/dist/microsoftGraph/types.d.ts +1 -1
  253. package/dist/middleware-CBwrtgQd.js +34 -0
  254. package/dist/middleware-CBwrtgQd.js.map +1 -0
  255. package/dist/middleware-IjYx3d5u.cjs +45 -0
  256. package/dist/middleware-IjYx3d5u.cjs.map +1 -0
  257. package/dist/notifications/index.cjs +4 -4
  258. package/dist/notifications/index.d.cts +2 -2
  259. package/dist/notifications/index.d.ts +2 -2
  260. package/dist/notifications/index.js +4 -4
  261. package/dist/notifications/types.d.cts +1 -1
  262. package/dist/notifications/types.d.ts +1 -1
  263. package/dist/oauth/index.cjs +1 -1
  264. package/dist/oauth/index.d.cts +2 -2
  265. package/dist/oauth/index.d.ts +2 -2
  266. package/dist/oauth/index.js +1 -1
  267. package/dist/oauth/types.d.cts +1 -1
  268. package/dist/oauth/types.d.ts +1 -1
  269. package/dist/{oauth-DNtv4Ihb.cjs → oauth--2p8jkJf.cjs} +5 -5
  270. package/dist/{oauth-DNtv4Ihb.cjs.map → oauth--2p8jkJf.cjs.map} +1 -1
  271. package/dist/{oauth-BnHVf4cB.js → oauth-l5zE39cD.js} +5 -5
  272. package/dist/{oauth-BnHVf4cB.js.map → oauth-l5zE39cD.js.map} +1 -1
  273. package/dist/omnisearch/index.cjs +6 -14
  274. package/dist/omnisearch/index.cjs.map +1 -1
  275. package/dist/omnisearch/index.d.cts +6 -14
  276. package/dist/omnisearch/index.d.ts +6 -14
  277. package/dist/omnisearch/index.js +6 -14
  278. package/dist/omnisearch/index.js.map +1 -1
  279. package/dist/omnisearch/types.d.cts +1 -1
  280. package/dist/omnisearch/types.d.ts +1 -1
  281. package/dist/{project-DCHOxRWd.d.ts → project-B15gStbM.d.ts} +2 -2
  282. package/dist/{project-BRpzv3yE.d.cts → project-cHKuGvqJ.d.cts} +2 -2
  283. package/dist/queryService/index.cjs +1 -1
  284. package/dist/queryService/index.d.cts +1 -1
  285. package/dist/queryService/index.d.ts +1 -1
  286. package/dist/queryService/index.js +1 -1
  287. package/dist/queryService/types.d.cts +1 -1
  288. package/dist/queryService/types.d.ts +1 -1
  289. package/dist/{queryService-j3XZ2mX6.js → queryService-CCOYbRbw.js} +6 -6
  290. package/dist/{queryService-j3XZ2mX6.js.map → queryService-CCOYbRbw.js.map} +1 -1
  291. package/dist/{queryService-BVwD6Vmc.cjs → queryService-CQzclHdL.cjs} +6 -6
  292. package/dist/{queryService-BVwD6Vmc.cjs.map → queryService-CQzclHdL.cjs.map} +1 -1
  293. package/dist/queue/index.cjs +1 -1
  294. package/dist/queue/index.d.cts +3 -3
  295. package/dist/queue/index.d.ts +3 -3
  296. package/dist/queue/index.js +1 -1
  297. package/dist/queue/types.d.cts +1 -1
  298. package/dist/queue/types.d.ts +1 -1
  299. package/dist/{queue-Dagl0sdP.js → queue-Cowbg6bR.js} +8 -11
  300. package/dist/queue-Cowbg6bR.js.map +1 -0
  301. package/dist/{queue-e3rMWbmK.cjs → queue-UG_BWKIC.cjs} +8 -11
  302. package/dist/queue-UG_BWKIC.cjs.map +1 -0
  303. package/dist/scheduler/index.cjs +4 -4
  304. package/dist/scheduler/index.d.cts +2 -2
  305. package/dist/scheduler/index.d.ts +2 -2
  306. package/dist/scheduler/index.js +4 -4
  307. package/dist/scheduler/types.d.cts +1 -1
  308. package/dist/scheduler/types.d.ts +1 -1
  309. package/dist/sdk/configurations/index.cjs +1 -1
  310. package/dist/sdk/configurations/index.d.cts +11 -11
  311. package/dist/sdk/configurations/index.d.ts +11 -11
  312. package/dist/sdk/configurations/index.js +1 -1
  313. package/dist/sdk/developerPortal/index.cjs +10 -18
  314. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  315. package/dist/sdk/developerPortal/index.d.cts +7 -15
  316. package/dist/sdk/developerPortal/index.d.ts +7 -15
  317. package/dist/sdk/developerPortal/index.js +7 -15
  318. package/dist/sdk/developerPortal/index.js.map +1 -1
  319. package/dist/sdk/kaiMemory/index.cjs +7 -0
  320. package/dist/sdk/kaiMemory/index.d.cts +41 -0
  321. package/dist/sdk/kaiMemory/index.d.ts +41 -0
  322. package/dist/sdk/kaiMemory/index.js +2 -0
  323. package/dist/sdk/kaiMemory/types.cjs +0 -0
  324. package/dist/sdk/kaiMemory/types.d.cts +2 -0
  325. package/dist/sdk/kaiMemory/types.d.ts +2 -0
  326. package/dist/sdk/kaiMemory/types.js +1 -0
  327. package/dist/sdk/queryService/index.cjs +2 -2
  328. package/dist/sdk/queryService/index.d.cts +1 -1
  329. package/dist/sdk/queryService/index.d.ts +1 -1
  330. package/dist/sdk/queryService/index.js +2 -2
  331. package/dist/sdk/semanticLayer/index.cjs +1 -1
  332. package/dist/sdk/semanticLayer/index.d.cts +16 -40
  333. package/dist/sdk/semanticLayer/index.d.ts +16 -40
  334. package/dist/sdk/semanticLayer/index.js +1 -1
  335. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  336. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  337. package/dist/sdk/storage/index.cjs +0 -5
  338. package/dist/sdk/storage/index.cjs.map +1 -1
  339. package/dist/sdk/storage/index.d.cts +2 -2
  340. package/dist/sdk/storage/index.d.ts +2 -2
  341. package/dist/sdk/storage/index.js +1 -5
  342. package/dist/sdk/storage/index.js.map +1 -1
  343. package/dist/sdk/tag/index.cjs +1 -1
  344. package/dist/sdk/tag/index.d.cts +3 -3
  345. package/dist/sdk/tag/index.d.ts +3 -3
  346. package/dist/sdk/tag/index.js +1 -1
  347. package/dist/sdk/tag/types.d.cts +1 -1
  348. package/dist/sdk/tag/types.d.ts +1 -1
  349. package/dist/sdk/vault/index.cjs +1 -1
  350. package/dist/sdk/vault/index.d.cts +1 -1
  351. package/dist/sdk/vault/index.d.ts +1 -1
  352. package/dist/sdk/vault/index.js +1 -1
  353. package/dist/{semanticLayer-9uTaU7UT.cjs → semanticLayer-CKDVkU56.cjs} +62 -183
  354. package/dist/semanticLayer-CKDVkU56.cjs.map +1 -0
  355. package/dist/{semanticLayer-6_gtFxDu.js → semanticLayer-pYy082Ju.js} +62 -183
  356. package/dist/semanticLayer-pYy082Ju.js.map +1 -0
  357. package/dist/status/index.cjs +1 -1
  358. package/dist/status/index.d.cts +1 -1
  359. package/dist/status/index.d.ts +1 -1
  360. package/dist/status/index.js +1 -1
  361. package/dist/storage/index.cjs +5 -5
  362. package/dist/storage/index.d.cts +2 -2
  363. package/dist/storage/index.d.ts +2 -2
  364. package/dist/storage/index.js +5 -5
  365. package/dist/storage/types.d.cts +2 -2
  366. package/dist/storage/types.d.ts +2 -2
  367. package/dist/{storage-Ob1LUIDq.js → storage-CZQHZcXG.js} +109 -302
  368. package/dist/storage-CZQHZcXG.js.map +1 -0
  369. package/dist/{storage-HFUdEy7P.cjs → storage-JinL1y1s.cjs} +109 -302
  370. package/dist/storage-JinL1y1s.cjs.map +1 -0
  371. package/dist/stream/index.cjs +3 -3
  372. package/dist/stream/index.d.cts +2 -2
  373. package/dist/stream/index.d.ts +2 -2
  374. package/dist/stream/index.js +3 -3
  375. package/dist/stream/types.d.cts +1 -1
  376. package/dist/stream/types.d.ts +1 -1
  377. package/dist/syncActions/index.cjs +1 -1
  378. package/dist/syncActions/index.d.cts +1 -1
  379. package/dist/syncActions/index.d.ts +1 -1
  380. package/dist/syncActions/index.js +1 -1
  381. package/dist/syncActions/types.d.cts +2 -2
  382. package/dist/syncActions/types.d.ts +2 -2
  383. package/dist/{syncActions-B3NS5a0g.js → syncActions-BmmoqZO_.js} +130 -111
  384. package/dist/syncActions-BmmoqZO_.js.map +1 -0
  385. package/dist/{syncActions-D2DhY6pP.cjs → syncActions-CtcLGQiy.cjs} +130 -111
  386. package/dist/syncActions-CtcLGQiy.cjs.map +1 -0
  387. package/dist/{tag-CsoOZWB_.cjs → tag-DHS_soa7.cjs} +2 -2
  388. package/dist/{tag-CsoOZWB_.cjs.map → tag-DHS_soa7.cjs.map} +1 -1
  389. package/dist/{tag-DCsoewjL.js → tag-hh-1nhNr.js} +2 -2
  390. package/dist/{tag-DCsoewjL.js.map → tag-hh-1nhNr.js.map} +1 -1
  391. package/dist/telemetry/index.cjs +7 -11
  392. package/dist/telemetry/index.cjs.map +1 -1
  393. package/dist/telemetry/index.d.cts +5 -9
  394. package/dist/telemetry/index.d.ts +5 -9
  395. package/dist/telemetry/index.js +7 -11
  396. package/dist/telemetry/index.js.map +1 -1
  397. package/dist/telemetry/types.d.cts +1 -1
  398. package/dist/telemetry/types.d.ts +1 -1
  399. package/dist/{types-DqxIx9Pi.d.cts → types-6kuMW4JW.d.cts} +2 -2
  400. package/dist/{types-Ct0YPy2w.d.ts → types-B2w2TtSA.d.ts} +3 -3
  401. package/dist/{types-M46WuBSm.d.cts → types-B61aCifg.d.cts} +2 -2
  402. package/dist/{types-COL1kVEB.d.cts → types-B8N_k79M.d.cts} +2 -2
  403. package/dist/{types-Jw10xuOW.d.cts → types-BIECJYun.d.ts} +171 -44
  404. package/dist/{types-DZk3XHiN.d.cts → types-BLNB882w.d.cts} +3 -3
  405. package/dist/{types-BEe50G2r.d.cts → types-BPy5Ozee.d.cts} +2 -2
  406. package/dist/{types-gi4Eay19.d.ts → types-BS4jwuMi.d.ts} +7 -15
  407. package/dist/{types-BrYkBQo4.d.ts → types-BTK7Bv3n.d.cts} +171 -44
  408. package/dist/{types-DYzJ6K2e.d.ts → types-BYM9Ptz5.d.ts} +93 -43
  409. package/dist/{types-D6UmMa6E.d.ts → types-BZDV8DZk.d.ts} +3 -3
  410. package/dist/{types-Cz83RiVu.d.cts → types-B_iLJlp4.d.ts} +255 -12
  411. package/dist/{types-CmF3pR2n.d.cts → types-BiMahEK8.d.cts} +91 -237
  412. package/dist/{types-BH5LLeJy.d.ts → types-Bl03Cg2n.d.cts} +255 -12
  413. package/dist/{types-bGQb4Jtl.d.cts → types-ByLH46Dt.d.cts} +13 -8
  414. package/dist/{types-g3vU7hcg.d.cts → types-Bydx6ga_.d.cts} +2 -2
  415. package/dist/{types-CW6lCqrC.d.cts → types-CFeZCQ9p.d.cts} +93 -43
  416. package/dist/{types-B95uNQ9o.d.ts → types-CKmTZSPG.d.ts} +91 -237
  417. package/dist/{types-D_j2Uq5X.d.cts → types-CMzQSHAQ.d.cts} +3 -3
  418. package/dist/{types-N3EChotg.d.cts → types-CP_LBmw3.d.cts} +2 -2
  419. package/dist/{types-zZBxJ0P-.d.ts → types-CWyXTMwy.d.ts} +2 -2
  420. package/dist/{types-CPB-eF82.d.ts → types-CZJlLCbA.d.ts} +2 -2
  421. package/dist/{types-l9o4gFsI.d.ts → types-CZXPu3gn.d.ts} +2 -2
  422. package/dist/{types-BztF4HeB.d.ts → types-CaOtNjSZ.d.ts} +6 -13
  423. package/dist/{types-BTWIPEiU.d.ts → types-CfwqVkEA.d.ts} +2 -2
  424. package/dist/types-Cg14ncdV.d.ts +63 -0
  425. package/dist/{types-BsxLGDoC.d.cts → types-CoJVrRAD.d.ts} +2 -2
  426. package/dist/{types-CKiW3n6v.d.ts → types-D3wcs4tp.d.ts} +2 -2
  427. package/dist/{types-DOyNe7oe.d.cts → types-DDOa07rU.d.cts} +7 -15
  428. package/dist/{types-BW2BXUB4.d.cts → types-DE9hgr7i.d.cts} +2 -2
  429. package/dist/{types-BOqD3Hqy.d.cts → types-DEzW1CfI.d.cts} +3 -3
  430. package/dist/{types-OaD-cbbl.d.ts → types-DIiOMV-t.d.ts} +3 -3
  431. package/dist/{types-B-P4vQe0.d.cts → types-DKc1gmd9.d.ts} +857 -131
  432. package/dist/{types-BrPlv-NS.d.ts → types-DRCMBt89.d.ts} +3 -3
  433. package/dist/{types-BQvv4RaI.d.cts → types-DUMal2E-.d.cts} +5 -8
  434. package/dist/types-DWiLcrxt.d.cts +63 -0
  435. package/dist/{types-DNxOHnZI.d.cts → types-Dd31Lw4S.d.cts} +2 -2
  436. package/dist/{types-Dmu-8g4O.d.ts → types-DekYAlA-.d.ts} +3 -3
  437. package/dist/{types-B2U9cFcx.d.ts → types-DgJeO9Nd.d.ts} +2 -2
  438. package/dist/{types-nrviNdzZ.d.ts → types-DicSaNwq.d.ts} +2 -2
  439. package/dist/{types-Crhy0c9m.d.cts → types-DinIJ1D_.d.cts} +40 -11
  440. package/dist/{types-DhDNS-5B.d.ts → types-DlQw6FCi.d.ts} +13 -8
  441. package/dist/{types-_RhBCj4_.d.cts → types-DoZtE9tz.d.cts} +3 -3
  442. package/dist/{types-Bxhh2SJr.d.ts → types-DrvKfXXd.d.cts} +2 -2
  443. package/dist/{types-DPl8pZsY.d.ts → types-Dtuvhm3K.d.cts} +857 -131
  444. package/dist/{types-CcrvrAJX.d.ts → types-DwVSj-Da.d.ts} +5 -8
  445. package/dist/{types-C2vefB4D.d.ts → types-FwRmjsNN.d.ts} +10 -34
  446. package/dist/{types-C0_2KZ-A.d.ts → types-RbrfiY8T.d.ts} +2 -2
  447. package/dist/{types-DfvdbRPL.d.ts → types-WZBztugL.d.ts} +2 -2
  448. package/dist/{types-52irAt99.d.cts → types-YHUEArkR.d.cts} +2 -2
  449. package/dist/{types-fX4gbxfV.d.cts → types-bc-4z_gc.d.cts} +10 -34
  450. package/dist/{types-3eUgOA7I.d.cts → types-ePSqbXRr.d.cts} +6 -13
  451. package/dist/{types-DrqKICcK.d.ts → types-n4PTnLii.d.ts} +40 -11
  452. package/dist/{types-DXskkNp8.d.cts → types-pvQzbgNE.d.cts} +3 -3
  453. package/dist/{types-DajzGOKB.d.ts → types-q-1r_9d1.d.ts} +2 -2
  454. package/dist/{types-D8Rrz51O.d.cts → types-tKkeLa2B.d.cts} +2 -2
  455. package/dist/{validateConnectionStatus-828HV8WL.js → validateConnectionStatus-BEGu8wXT.js} +6 -10
  456. package/dist/validateConnectionStatus-BEGu8wXT.js.map +1 -0
  457. package/dist/{validateConnectionStatus-CvBKyeDO.cjs → validateConnectionStatus-BEYkQpu9.cjs} +6 -10
  458. package/dist/validateConnectionStatus-BEYkQpu9.cjs.map +1 -0
  459. package/dist/vault/index.cjs +4 -4
  460. package/dist/vault/index.d.cts +1 -1
  461. package/dist/vault/index.d.ts +1 -1
  462. package/dist/vault/index.js +4 -4
  463. package/dist/vault/types.d.cts +1 -1
  464. package/dist/vault/types.d.ts +1 -1
  465. package/package.json +32 -4
  466. package/surface/apps.md +3 -3
  467. package/surface/auth.md +13 -6
  468. package/surface/chat.md +6 -6
  469. package/surface/kaiAgent.md +9 -8
  470. package/surface/management.md +14 -5
  471. package/surface/metastore.md +2 -2
  472. package/surface/queue.md +3 -3
  473. package/surface/sdk.md +13 -3
  474. package/surface/storage.md +6 -6
  475. package/surface/syncActions.md +9 -0
  476. package/dist/ValidationError-BekhphAq.js +0 -48
  477. package/dist/ValidationError-BekhphAq.js.map +0 -1
  478. package/dist/ValidationError-CLVJCCwH.cjs.map +0 -1
  479. package/dist/authClient-8yU1last.cjs.map +0 -1
  480. package/dist/authClient-BTo4Afm6.js.map +0 -1
  481. package/dist/concurrent-CH9fbNr3.js.map +0 -1
  482. package/dist/concurrent-tbiIa0UL.cjs.map +0 -1
  483. package/dist/configurations-BVvcimzo.js.map +0 -1
  484. package/dist/configurations-CyFF9Dtu.cjs.map +0 -1
  485. package/dist/configurations-VtNE0nrT.js.map +0 -1
  486. package/dist/configurations-zkNjr73Q.cjs.map +0 -1
  487. package/dist/createFetchClient-BlgPbjFj.cjs.map +0 -1
  488. package/dist/createFetchClient-C-cadpBx.js.map +0 -1
  489. package/dist/credential-CAulvfZ-.cjs +0 -47
  490. package/dist/credential-CAulvfZ-.cjs.map +0 -1
  491. package/dist/credential-DWXbo4IX.js +0 -36
  492. package/dist/credential-DWXbo4IX.js.map +0 -1
  493. package/dist/dedupe-CiskLkGR.cjs +0 -30
  494. package/dist/dedupe-CiskLkGR.cjs.map +0 -1
  495. package/dist/dedupe-DYIHgZoG.js +0 -25
  496. package/dist/dedupe-DYIHgZoG.js.map +0 -1
  497. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs +0 -25
  498. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs.map +0 -1
  499. package/dist/isLoginPageRedirect-hyPqyWNX.js +0 -20
  500. package/dist/isLoginPageRedirect-hyPqyWNX.js.map +0 -1
  501. package/dist/jobStatus-0_Y3Sr4i.cjs.map +0 -1
  502. package/dist/jobStatus-PSZJMTiA.js.map +0 -1
  503. package/dist/kaiAgent-CcT2oNip.js.map +0 -1
  504. package/dist/kaiAgent-DaB6UCsh.cjs.map +0 -1
  505. package/dist/management-DeZiQSlw.cjs.map +0 -1
  506. package/dist/management-ckdnu1dA.js.map +0 -1
  507. package/dist/metastore-9AGrwjmN.cjs.map +0 -1
  508. package/dist/metastore-B0PolCjQ.js.map +0 -1
  509. package/dist/queue-Dagl0sdP.js.map +0 -1
  510. package/dist/queue-e3rMWbmK.cjs.map +0 -1
  511. package/dist/semanticLayer-6_gtFxDu.js.map +0 -1
  512. package/dist/semanticLayer-9uTaU7UT.cjs.map +0 -1
  513. package/dist/storage-HFUdEy7P.cjs.map +0 -1
  514. package/dist/storage-Ob1LUIDq.js.map +0 -1
  515. package/dist/syncActions-B3NS5a0g.js.map +0 -1
  516. package/dist/syncActions-D2DhY6pP.cjs.map +0 -1
  517. package/dist/validateConnectionStatus-828HV8WL.js.map +0 -1
  518. package/dist/validateConnectionStatus-CvBKyeDO.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-KuQ79Mnz.js";
1
+ import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-BVhHt5lx.cjs";
2
2
  //#region src/clients/auth/__generated__/schema.d.ts
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -492,7 +492,7 @@ type paths = {
492
492
  put?: never;
493
493
  /**
494
494
  * Refresh access token
495
- * @description Exchanges a refresh token for a new access and refresh token pair. Implements two-phase rotation with replay detection.
495
+ * @description Exchanges a refresh token (API mode) or a session cookie (browser mode) for a new access token. Implements two-phase rotation with replay detection. Browser mode is opted into with the X-KBC-CSRF header and requires no Authorization header; sending one rejects the request.
496
496
  */
497
497
  post: operations['post_/v1/auth/token/refresh'];
498
498
  delete?: never;
@@ -661,6 +661,26 @@ type paths = {
661
661
  patch?: never;
662
662
  trace?: never;
663
663
  };
664
+ '/oauth/clients/validate': {
665
+ parameters: {
666
+ query?: never;
667
+ header?: never;
668
+ path?: never;
669
+ cookie?: never;
670
+ };
671
+ get?: never;
672
+ put?: never;
673
+ /**
674
+ * Validate an MCP OAuth client
675
+ * @description Called by the MCP server before starting the OAuth flow, to check whether a client_id + redirect_uri pair is already registered (pre-registered or previously approved via the dynamic client-approval flow). A 404 tells the MCP server to route the user through /oauth/authorize with a pending_mcp_client payload instead. Unauthenticated by design - the caller has no Keboola identity yet - and read-only: it never registers or modifies a client.
676
+ */
677
+ post: operations['post_keboola_oauth_clientvalidationaction__invoke'];
678
+ delete?: never;
679
+ options?: never;
680
+ head?: never;
681
+ patch?: never;
682
+ trace?: never;
683
+ };
664
684
  '/admin/auth/pkce/authorize': {
665
685
  parameters: {
666
686
  query?: never;
@@ -711,6 +731,11 @@ type components = {
711
731
  password?: string | null;
712
732
  /** @description OIDC ID token issued by the identity provider. Required for google/microsoft grants. */
713
733
  idToken?: string | null;
734
+ /**
735
+ * @description Also mint a browser session cookie paired with the issued session, so server-rendered pages work for the same user. Requires an `Origin` header matching the stack app URL.
736
+ * @default false
737
+ */
738
+ browserMode: boolean;
714
739
  };
715
740
  DeviceAuthorizationCreateRequest: {
716
741
  /** @description Public CLI client identifier. */
@@ -826,6 +851,11 @@ type components = {
826
851
  requestHandle: string;
827
852
  /** @description Advisory customer slug; the handle is the authoritative config selector. */
828
853
  customerSlug?: string | null;
854
+ /**
855
+ * @description Also mint a browser session cookie paired with the issued session. Requires an `Origin` header matching the stack app URL.
856
+ * @default false
857
+ */
858
+ browserMode: boolean;
829
859
  };
830
860
  SamlInitiateRequest: {
831
861
  /** @description Customer slug of the multi-tenant SAML configuration. Omit for the stack-wide ENV configuration. */
@@ -844,8 +874,10 @@ type components = {
844
874
  password?: string | null;
845
875
  };
846
876
  TokenRefreshRequest: {
847
- /** @description Refresh token to exchange for new token pair. */
877
+ /** @description API mode: refresh token to exchange for a new token pair. Mutually exclusive with sessionId — submit exactly one. */
848
878
  refreshToken: string;
879
+ /** @description Browser/cookie mode: session id from the login response. The refresh token itself lives in a server-side channel bound to the session cookie and is never submitted by the client. Mutually exclusive with refreshToken — submit exactly one. */
880
+ sessionId: string;
849
881
  };
850
882
  TokenRevokeRequest: {
851
883
  /** @description Token to revoke (access or refresh token). */
@@ -876,6 +908,18 @@ type components = {
876
908
  */
877
909
  revokeOtherSessions: boolean;
878
910
  };
911
+ ClientValidationRequest: {
912
+ /**
913
+ * @description The OAuth client identifier, as sent to /oauth/authorize.
914
+ * @example claude-ai
915
+ */
916
+ client_id: string;
917
+ /**
918
+ * @description The exact redirect URI to check. Matched verbatim, not by prefix or domain.
919
+ * @example https://claude.ai/api/mcp/auth_callback
920
+ */
921
+ redirect_uri: string;
922
+ };
879
923
  PkceAuthorizeQueryRequest: {
880
924
  /**
881
925
  * @description OAuth response type. Not enforced at the constraint level, but required to be "code" for the authorize flow to succeed.
@@ -934,6 +978,11 @@ type components = {
934
978
  * @default null
935
979
  */
936
980
  idToken: string | null;
981
+ /**
982
+ * @description Also mint a browser session cookie paired with the issued session, so server-rendered pages work for the same user. Requires an `Origin` header matching the stack app URL.
983
+ * @default false
984
+ */
985
+ browserMode: boolean;
937
986
  };
938
987
  UserLoggedInResponse: {
939
988
  id: number;
@@ -943,11 +992,11 @@ type components = {
943
992
  LoginResponse: {
944
993
  /** @description Opaque bearer access token for API authentication (format: kbc_at_{sessionId}_{secret}). */
945
994
  accessToken: string;
946
- /** @description Refresh token for obtaining new access tokens. */
947
- refreshToken: string;
995
+ /** @description Refresh token for obtaining new access tokens. Absent in browser mode, where the refresh token lives in a server-side cookie-bound channel instead. */
996
+ refreshToken?: string | null;
948
997
  /** @description Token type. Always "Bearer". */
949
998
  tokenType: string;
950
- /** @description Access token lifetime in seconds. */
999
+ /** @description Remaining access token lifetime in seconds. */
951
1000
  expiresIn: number;
952
1001
  /** @description Unique session identifier. */
953
1002
  sessionId: string;
@@ -1230,6 +1279,11 @@ type components = {
1230
1279
  * @default null
1231
1280
  */
1232
1281
  customerSlug: string | null;
1282
+ /**
1283
+ * @description Also mint a browser session cookie paired with the issued session. Requires an `Origin` header matching the stack app URL.
1284
+ * @default false
1285
+ */
1286
+ browserMode: boolean;
1233
1287
  };
1234
1288
  SamlInitiateRequest2: {
1235
1289
  /**
@@ -1521,7 +1575,7 @@ interface operations {
1521
1575
  };
1522
1576
  content?: never;
1523
1577
  };
1524
- /** @description Login rejected: no matching active account, identity provider tenant mismatch, SSO-enforced account, super-admin MFA required, or organization MFA required. */
1578
+ /** @description Login rejected: no matching active account, identity provider tenant mismatch, SSO-enforced account, super-admin MFA required, organization MFA required, or a browser-mode login from a non-allowlisted origin. */
1525
1579
  403: {
1526
1580
  headers: {
1527
1581
  [name: string]: unknown;
@@ -1557,7 +1611,7 @@ interface operations {
1557
1611
  };
1558
1612
  };
1559
1613
  responses: {
1560
- /** @description Device authorization resolved. */
1614
+ /** @description Bearer mode only: device authorization resolved. */
1561
1615
  200: {
1562
1616
  headers: {
1563
1617
  [name: string]: unknown;
@@ -1566,7 +1620,7 @@ interface operations {
1566
1620
  'application/json': components['schemas']['DeviceAuthorizationApprovalResult'];
1567
1621
  };
1568
1622
  };
1569
- /** @description Browser/cookie mode only: the submitted project selection was empty or named a project the admin cannot reach, so the browser is sent back to the approval page with an error code. Bearer mode answers 400/403 instead. */
1623
+ /** @description Browser/cookie mode only. A resolved authorization sends the browser back to the approval page, which renders the approved or denied confirmation. A project selection that was empty or named a project the admin cannot reach is sent back the same way, with an error code. Bearer mode answers 200 and 400/403 instead. */
1570
1624
  302: {
1571
1625
  headers: {
1572
1626
  [name: string]: unknown;
@@ -1827,9 +1881,11 @@ interface operations {
1827
1881
  };
1828
1882
  content?: never;
1829
1883
  };
1830
- /** @description Sudo window not active. */
1884
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
1831
1885
  403: {
1832
1886
  headers: {
1887
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
1888
+ 'WWW-Authenticate'?: string;
1833
1889
  [name: string]: unknown;
1834
1890
  };
1835
1891
  content?: never;
@@ -1914,6 +1970,13 @@ interface operations {
1914
1970
  };
1915
1971
  content?: never;
1916
1972
  };
1973
+ /** @description The challenge completes a browser-mode login but the request does not come from an allowlisted origin. */
1974
+ 403: {
1975
+ headers: {
1976
+ [name: string]: unknown;
1977
+ };
1978
+ content?: never;
1979
+ };
1917
1980
  /** @description Rate limit exceeded for MFA verification attempts. */
1918
1981
  429: {
1919
1982
  headers: {
@@ -2129,9 +2192,11 @@ interface operations {
2129
2192
  };
2130
2193
  content?: never;
2131
2194
  };
2132
- /** @description Sudo window not active. */
2195
+ /** @description Sudo step-up failed, or the requested scope exceeds the admin's project access. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry; `auth.pat.insufficientProjectAccess` is unrelated to step-up and means the admin lacks access to a project named in the requested scope. */
2133
2196
  403: {
2134
2197
  headers: {
2198
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2199
+ 'WWW-Authenticate'?: string;
2135
2200
  [name: string]: unknown;
2136
2201
  };
2137
2202
  content?: never;
@@ -2237,9 +2302,11 @@ interface operations {
2237
2302
  };
2238
2303
  content?: never;
2239
2304
  };
2240
- /** @description Sudo step-up required for cross-admin revocation by a super admin. */
2305
+ /** @description Sudo step-up failed for cross-admin revocation by a super admin. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2241
2306
  403: {
2242
2307
  headers: {
2308
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2309
+ 'WWW-Authenticate'?: string;
2243
2310
  [name: string]: unknown;
2244
2311
  };
2245
2312
  content?: never;
@@ -2318,10 +2385,10 @@ interface operations {
2318
2385
  };
2319
2386
  content?: never;
2320
2387
  };
2321
- /** @description Either the sudo window is not active (call POST /v1/auth/sudo first), or the admin has no MFA configured. */
2388
+ /** @description Sudo step-up failed, or the admin has no MFA configured. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry; `auth.sudo.mfaNotConfigured` means the sudo window is satisfied but the admin has no MFA method enrolled, so there are no recovery codes to regenerate. */
2322
2389
  403: {
2323
2390
  headers: {
2324
- /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
2391
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2325
2392
  'WWW-Authenticate'?: string;
2326
2393
  [name: string]: unknown;
2327
2394
  };
@@ -2372,7 +2439,7 @@ interface operations {
2372
2439
  };
2373
2440
  content?: never;
2374
2441
  };
2375
- /** @description Asserted email domain not permitted, or the assertion lacks the required login role. */
2442
+ /** @description Asserted email domain not permitted, the assertion lacks the required login role, or a browser-mode login came from a non-allowlisted origin. */
2376
2443
  403: {
2377
2444
  headers: {
2378
2445
  [name: string]: unknown;
@@ -2474,10 +2541,10 @@ interface operations {
2474
2541
  };
2475
2542
  content?: never;
2476
2543
  };
2477
- /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2544
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2478
2545
  403: {
2479
2546
  headers: {
2480
- /** @description RFC 9470 step-up challenge. */
2547
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2481
2548
  'WWW-Authenticate'?: string;
2482
2549
  [name: string]: unknown;
2483
2550
  };
@@ -2511,10 +2578,10 @@ interface operations {
2511
2578
  };
2512
2579
  content?: never;
2513
2580
  };
2514
- /** @description Sudo window not active. Returned when a super admin attempts to revoke another admin's session without an active sudo window. Call POST /v1/auth/sudo first. */
2581
+ /** @description Sudo step-up failed for a super admin revoking another admin's session. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2515
2582
  403: {
2516
2583
  headers: {
2517
- /** @description RFC 9470 step-up challenge. */
2584
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2518
2585
  'WWW-Authenticate'?: string;
2519
2586
  [name: string]: unknown;
2520
2587
  };
@@ -2645,7 +2712,10 @@ interface operations {
2645
2712
  'post_/v1/auth/token/refresh': {
2646
2713
  parameters: {
2647
2714
  query?: never;
2648
- header?: never;
2715
+ header?: {
2716
+ /** @description Required for browser/cookie mode; must be "1". Absent for API mode. */
2717
+ 'X-KBC-CSRF'?: '1';
2718
+ };
2649
2719
  path?: never;
2650
2720
  cookie?: never;
2651
2721
  };
@@ -2655,7 +2725,7 @@ interface operations {
2655
2725
  };
2656
2726
  };
2657
2727
  responses: {
2658
- /** @description Token refresh successful. Returns new access and refresh tokens. */
2728
+ /** @description Token refresh successful. Returns a new access token (and a new refresh token in API mode). */
2659
2729
  200: {
2660
2730
  headers: {
2661
2731
  [name: string]: unknown;
@@ -2664,13 +2734,27 @@ interface operations {
2664
2734
  'application/json': components['schemas']['LoginResponse'];
2665
2735
  };
2666
2736
  };
2667
- /** @description Invalid, expired, or revoked refresh token. */
2737
+ /** @description Invalid, expired, or revoked refresh token or session. A cookie-authenticated request (sent with the `X-KBC-CSRF` header) that fails the CSRF/Origin/session checks instead returns `{"error":"invalid_session","message":"Authentication failed.","exceptionId":"<id>"}` — every rejection reason for that path collapses to this identical payload, and `exceptionId` is a per-occurrence correlation id, not a differentiator of the reason. */
2668
2738
  401: {
2669
2739
  headers: {
2670
2740
  [name: string]: unknown;
2671
2741
  };
2672
2742
  content?: never;
2673
2743
  };
2744
+ /** @description Browser mode: the request does not come from an allowlisted origin. */
2745
+ 403: {
2746
+ headers: {
2747
+ [name: string]: unknown;
2748
+ };
2749
+ content?: never;
2750
+ };
2751
+ /** @description Per-IP rate limit on failed refresh attempts exceeded. */
2752
+ 429: {
2753
+ headers: {
2754
+ [name: string]: unknown;
2755
+ };
2756
+ content?: never;
2757
+ };
2674
2758
  /** @description Refresh rotation temporarily failed because of database contention. Retry-After indicates when to retry. */
2675
2759
  503: {
2676
2760
  headers: {
@@ -2738,10 +2822,10 @@ interface operations {
2738
2822
  };
2739
2823
  content?: never;
2740
2824
  };
2741
- /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2825
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2742
2826
  403: {
2743
2827
  headers: {
2744
- /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
2828
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2745
2829
  'WWW-Authenticate'?: string;
2746
2830
  [name: string]: unknown;
2747
2831
  };
@@ -2781,10 +2865,10 @@ interface operations {
2781
2865
  };
2782
2866
  content?: never;
2783
2867
  };
2784
- /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2868
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2785
2869
  403: {
2786
2870
  headers: {
2787
- /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
2871
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2788
2872
  'WWW-Authenticate'?: string;
2789
2873
  [name: string]: unknown;
2790
2874
  };
@@ -2835,10 +2919,10 @@ interface operations {
2835
2919
  };
2836
2920
  content?: never;
2837
2921
  };
2838
- /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2922
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2839
2923
  403: {
2840
2924
  headers: {
2841
- /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
2925
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2842
2926
  'WWW-Authenticate'?: string;
2843
2927
  [name: string]: unknown;
2844
2928
  };
@@ -2889,10 +2973,10 @@ interface operations {
2889
2973
  };
2890
2974
  content?: never;
2891
2975
  };
2892
- /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
2976
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2893
2977
  403: {
2894
2978
  headers: {
2895
- /** @description RFC 9470 step-up challenge. */
2979
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2896
2980
  'WWW-Authenticate'?: string;
2897
2981
  [name: string]: unknown;
2898
2982
  };
@@ -2980,10 +3064,10 @@ interface operations {
2980
3064
  };
2981
3065
  content?: never;
2982
3066
  };
2983
- /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
3067
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
2984
3068
  403: {
2985
3069
  headers: {
2986
- /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
3070
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
2987
3071
  'WWW-Authenticate'?: string;
2988
3072
  [name: string]: unknown;
2989
3073
  };
@@ -3030,10 +3114,10 @@ interface operations {
3030
3114
  };
3031
3115
  content?: never;
3032
3116
  };
3033
- /** @description Sudo window not active. Call POST /v1/auth/sudo first. */
3117
+ /** @description Sudo step-up failed. `auth.sudo.required` (WWW-Authenticate challenge present) means call POST /v1/auth/sudo and retry; `auth.sudo.notPossible` (no challenge) means this principal can never complete sudo — do not retry. */
3034
3118
  403: {
3035
3119
  headers: {
3036
- /** @description RFC 9470 step-up challenge (only returned when the sudo window is not active). */
3120
+ /** @description RFC 9470 step-up challenge — present only for the retryable `auth.sudo.required` case; absent for the terminal `auth.sudo.notPossible` case. */
3037
3121
  'WWW-Authenticate'?: string;
3038
3122
  [name: string]: unknown;
3039
3123
  };
@@ -3055,6 +3139,49 @@ interface operations {
3055
3139
  };
3056
3140
  };
3057
3141
  };
3142
+ post_keboola_oauth_clientvalidationaction__invoke: {
3143
+ parameters: {
3144
+ query?: never;
3145
+ header?: never;
3146
+ path?: never;
3147
+ cookie?: never;
3148
+ };
3149
+ requestBody: {
3150
+ content: {
3151
+ 'application/json': components['schemas']['ClientValidationRequest'];
3152
+ };
3153
+ };
3154
+ responses: {
3155
+ /** @description The client_id + redirect_uri pair is registered. */
3156
+ 200: {
3157
+ headers: {
3158
+ [name: string]: unknown;
3159
+ };
3160
+ content?: never;
3161
+ };
3162
+ /** @description Malformed body, or a missing/empty client_id or redirect_uri. */
3163
+ 400: {
3164
+ headers: {
3165
+ [name: string]: unknown;
3166
+ };
3167
+ content?: never;
3168
+ };
3169
+ /** @description No active client with this client_id is registered, or its redirect_uri does not match. */
3170
+ 404: {
3171
+ headers: {
3172
+ [name: string]: unknown;
3173
+ };
3174
+ content?: never;
3175
+ };
3176
+ /** @description Rate limit exceeded. Retry after the period given by the Retry-After header. */
3177
+ 429: {
3178
+ headers: {
3179
+ [name: string]: unknown;
3180
+ };
3181
+ content?: never;
3182
+ };
3183
+ };
3184
+ };
3058
3185
  get_auth_pkce_authorize: {
3059
3186
  parameters: {
3060
3187
  query?: {
@@ -3136,6 +3263,7 @@ type LoginBody = OpenapiBodyType<paths['/v1/auth/login']['post']>;
3136
3263
  //#endregion
3137
3264
  //#region src/clients/auth/mfa/types.d.ts
3138
3265
  type VerifyMfaBody = OpenapiBodyType<paths['/v1/auth/mfa']['post']>;
3266
+ type VerifyMfaType = OpenapiBodyType<paths['/v1/auth/mfa']['post']>['type'];
3139
3267
  type VerifyMfaResult = OpenapiReturnType<paths['/v1/auth/mfa']['post']>;
3140
3268
  type RegenerateRecoveryCodesResult = OpenapiReturnType<paths['/v1/auth/mfa/recovery-codes']['post']>;
3141
3269
  type TotpSetupResult = OpenapiReturnType<paths['/v1/auth/mfa/totp']['post']>;
@@ -3198,14 +3326,11 @@ type RevokeSessionPath = OpenapiPathType<paths['/v1/auth/sessions/{sessionId}'][
3198
3326
  /** The generated request body — what the typed client demands, not what the endpoint accepts. */
3199
3327
  type SudoBodyRaw = OpenapiBodyType<paths['/v1/auth/sudo']['post']>;
3200
3328
  /**
3201
- * The endpoint's request body is generated as `SudoRequest2`, which is **not** the input contract:
3202
- * the `*Request2` schemas are built from the PHP request object's readable properties, so they pick
3203
- * up getter-only artefacts (`type` here, `requestedCredentialType` on
3204
- * `DeviceAuthorizationCreateRequest2`) and mark every field required. The `#[OA\Schema]`-declared
3205
- * `SudoRequest` is the accepted shape: five optional factor fields, exactly one of them populated —
3206
- * the server infers the factor from which one is present. Its validator is an `Assert\Collection`
3207
- * with `allowExtraFields: false` and a per-field `Optional([NotBlank])`, so an unknown key like
3208
- * `type` and a present-but-null field are both rejected with a 400.
3329
+ * The accepted sudo body — the generated `SudoRequest2` is not the input contract.
3330
+ *
3331
+ * - `*Request2` schemas include getter-only artefacts (`type`) and mark every field required.
3332
+ * - Exactly one of the optional factor fields is set; the server infers the factor from it.
3333
+ * - An unknown key (e.g. `type`) or a present-but-null field is rejected with a 400.
3209
3334
  */
3210
3335
  type SudoBody = components['schemas']['SudoRequest'];
3211
3336
  type SudoResult = OpenapiReturnType<paths['/v1/auth/sudo']['post']>;
@@ -3213,7 +3338,9 @@ type SudoChallengeResult = OpenapiReturnType<paths['/v1/auth/sudo/challenge']['p
3213
3338
  //#endregion
3214
3339
  //#region src/clients/auth/token/types.d.ts
3215
3340
  type IntrospectTokenResult = OpenapiReturnType<paths['/v1/auth/token/introspect']['get']>;
3341
+ type RefreshTokenBody = OpenapiBodyType<paths['/v1/auth/token/refresh']['post']>;
3216
3342
  type RefreshTokenResult = OpenapiReturnType<paths['/v1/auth/token/refresh']['post']>;
3343
+ type RefreshTokenPartialBody = Partial<RefreshTokenBody>;
3217
3344
  type RevokeTokenBody = OpenapiBodyType<paths['/v1/auth/token/revoke']['post']>;
3218
3345
  //#endregion
3219
3346
  //#region src/clients/auth/webauthn/types.d.ts
@@ -3237,5 +3364,5 @@ type RemoveWebauthnPath = OpenapiPathType<paths['/v1/auth/webauthn/{id}']['delet
3237
3364
  type RemoveWebauthnQuery = NonNullable<OpenapiQueryType<paths['/v1/auth/webauthn/{id}']['delete']>>;
3238
3365
  type RemoveWebauthnInput = RemoveWebauthnPath & RemoveWebauthnQuery;
3239
3366
  //#endregion
3240
- export { DisableTotpPath as A, CreateDeviceAuthorizationResult as B, CreatePatInput as C, ListPatsResult as D, ExchangePatInput as E, VerifyMfaResult as F, GetDeviceAuthorizationTokenResult as H, LoginBody as I, ApproveDeviceAuthorizationBody as L, TotpSetupResult as M, TotpVerifyResult as N, PatScopeInput as O, VerifyMfaBody as P, ApproveDeviceAuthorizationResult as R, CreatePatBodyRaw as S, ExchangePatBodyRaw as T, components as U, GetDeviceAuthorizationTokenBody as V, paths as W, AssertSamlResult as _, RemoveWebauthnInput as a, GetPkceTokenBody as b, IntrospectTokenResult as c, SudoBody as d, SudoBodyRaw as f, AssertSamlBody as g, RevokeSessionPath as h, RegisterWebauthnResult as i, RegenerateRecoveryCodesResult as j, RevokePatPath as k, RefreshTokenResult as l, SudoResult as m, RegisterWebauthnInput as n, RemoveWebauthnPath as o, SudoChallengeResult as p, RegisterWebauthnOptionsResult as r, RemoveWebauthnQuery as s, ListWebauthnCredentialsResult as t, RevokeTokenBody as u, InitiateSamlBody as v, CreatePatResult as w, GetPkceTokenResult as x, InitiateSamlResult as y, CreateDeviceAuthorizationBody as z };
3241
- //# sourceMappingURL=types-BrYkBQo4.d.ts.map
3367
+ export { PatScopeInput as A, ApproveDeviceAuthorizationBody as B, GetPkceTokenResult as C, ExchangePatBodyRaw as D, CreatePatResult as E, TotpVerifyResult as F, GetDeviceAuthorizationTokenResult as G, CreateDeviceAuthorizationBody as H, VerifyMfaBody as I, components as K, VerifyMfaResult as L, DisableTotpPath as M, RegenerateRecoveryCodesResult as N, ExchangePatInput as O, TotpSetupResult as P, VerifyMfaType as R, GetPkceTokenBody as S, CreatePatInput as T, CreateDeviceAuthorizationResult as U, ApproveDeviceAuthorizationResult as V, GetDeviceAuthorizationTokenBody as W, RevokeSessionPath as _, RemoveWebauthnInput as a, InitiateSamlBody as b, IntrospectTokenResult as c, RefreshTokenResult as d, RevokeTokenBody as f, SudoResult as g, SudoChallengeResult as h, RegisterWebauthnResult as i, RevokePatPath as j, ListPatsResult as k, RefreshTokenBody as l, SudoBodyRaw as m, RegisterWebauthnInput as n, RemoveWebauthnPath as o, SudoBody as p, paths as q, RegisterWebauthnOptionsResult as r, RemoveWebauthnQuery as s, ListWebauthnCredentialsResult as t, RefreshTokenPartialBody as u, AssertSamlBody as v, CreatePatBodyRaw as w, InitiateSamlResult as x, AssertSamlResult as y, LoginBody as z };
3368
+ //# sourceMappingURL=types-BTK7Bv3n.d.cts.map