@keboola/api-client 39.0.0 → 41.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (522) hide show
  1. package/AGENTS.md +121 -100
  2. package/API-SURFACE.md +27 -2
  3. package/CHANGELOG.md +129 -0
  4. package/README.md +3 -3
  5. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs → ManagementClientAuthError-DE7lNGZQ.cjs} +2 -2
  6. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs.map → ManagementClientAuthError-DE7lNGZQ.cjs.map} +1 -1
  7. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js → ManagementClientAuthError-H30lti_Q.js} +2 -2
  8. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js.map → ManagementClientAuthError-H30lti_Q.js.map} +1 -1
  9. package/dist/{ValidationError-CLVJCCwH.cjs → ValidationError-D65QU0uq.cjs} +10 -16
  10. package/dist/ValidationError-D65QU0uq.cjs.map +1 -0
  11. package/dist/ValidationError-DjhtNMfZ.js +42 -0
  12. package/dist/ValidationError-DjhtNMfZ.js.map +1 -0
  13. package/dist/ai/index.cjs +2 -2
  14. package/dist/ai/index.d.cts +2 -2
  15. package/dist/ai/index.d.ts +2 -2
  16. package/dist/ai/index.js +2 -2
  17. package/dist/ai/types.d.cts +1 -1
  18. package/dist/ai/types.d.ts +1 -1
  19. package/dist/{appLogs-C_zP0lpv.cjs → appLogs-B9zFJIuy.cjs} +2 -2
  20. package/dist/{appLogs-C_zP0lpv.cjs.map → appLogs-B9zFJIuy.cjs.map} +1 -1
  21. package/dist/{appLogs-Cl7Q_MR9.js → appLogs-BBkkUOW1.js} +2 -2
  22. package/dist/{appLogs-Cl7Q_MR9.js.map → appLogs-BBkkUOW1.js.map} +1 -1
  23. package/dist/{appLogs-Ch7DYpzx.d.ts → appLogs-BS6ViVGR.d.ts} +2 -2
  24. package/dist/{appLogs-D5A13Y0y.d.cts → appLogs-C9YlJ2g8.d.cts} +2 -2
  25. package/dist/apps/index.cjs +30 -56
  26. package/dist/apps/index.cjs.map +1 -1
  27. package/dist/apps/index.d.cts +8 -13
  28. package/dist/apps/index.d.ts +8 -13
  29. package/dist/apps/index.js +30 -56
  30. package/dist/apps/index.js.map +1 -1
  31. package/dist/apps/types.d.cts +2 -2
  32. package/dist/apps/types.d.ts +2 -2
  33. package/dist/assets/index.cjs +1 -1
  34. package/dist/assets/index.d.cts +1 -1
  35. package/dist/assets/index.d.ts +1 -1
  36. package/dist/assets/index.js +1 -1
  37. package/dist/auth/index.cjs +8 -4
  38. package/dist/auth/index.d.cts +2 -2
  39. package/dist/auth/index.d.ts +2 -2
  40. package/dist/auth/index.js +2 -2
  41. package/dist/auth/types.d.cts +2 -2
  42. package/dist/auth/types.d.ts +2 -2
  43. package/dist/{auth-DLWnl18b.cjs → auth-Dm0F2rOh.cjs} +2 -2
  44. package/dist/{auth-DLWnl18b.cjs.map → auth-Dm0F2rOh.cjs.map} +1 -1
  45. package/dist/{auth-BjmkFOgd.js → auth-DworfoPy.js} +2 -2
  46. package/dist/{auth-BjmkFOgd.js.map → auth-DworfoPy.js.map} +1 -1
  47. package/dist/{authClient-8yU1last.cjs → authClient-BmuUo0J4.cjs} +141 -48
  48. package/dist/authClient-BmuUo0J4.cjs.map +1 -0
  49. package/dist/{authClient-CTHNs6Tq.d.cts → authClient-CHXWJ9x3.d.ts} +109 -76
  50. package/dist/{authClient-BTo4Afm6.js → authClient-CgcDGd30.js} +108 -39
  51. package/dist/authClient-CgcDGd30.js.map +1 -0
  52. package/dist/{authClient-D8i3JTM-.d.ts → authClient-vEt_7_uk.d.cts} +109 -76
  53. package/dist/billing/index.cjs +2 -2
  54. package/dist/billing/index.d.cts +1 -1
  55. package/dist/billing/index.d.ts +1 -1
  56. package/dist/billing/index.js +2 -2
  57. package/dist/billing/types.d.cts +1 -1
  58. package/dist/billing/types.d.ts +1 -1
  59. package/dist/businessWorkspaceApi/index.cjs +1 -1
  60. package/dist/businessWorkspaceApi/index.d.cts +1 -1
  61. package/dist/businessWorkspaceApi/index.d.ts +1 -1
  62. package/dist/businessWorkspaceApi/index.js +1 -1
  63. package/dist/businessWorkspaceApi/types.d.cts +1 -1
  64. package/dist/businessWorkspaceApi/types.d.ts +1 -1
  65. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs → businessWorkspaceApi-6tCDdpnY.cjs} +3 -3
  66. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs.map → businessWorkspaceApi-6tCDdpnY.cjs.map} +1 -1
  67. package/dist/{businessWorkspaceApi-BD-iUj07.js → businessWorkspaceApi-BLUdefRF.js} +3 -3
  68. package/dist/{businessWorkspaceApi-BD-iUj07.js.map → businessWorkspaceApi-BLUdefRF.js.map} +1 -1
  69. package/dist/{businessWorkspaceApiClient-CRM1U8b-.d.cts → businessWorkspaceApiClient-BHDJlHFo.d.cts} +3 -3
  70. package/dist/{businessWorkspaceApiClient-C2WyWN3b.d.ts → businessWorkspaceApiClient-DI-z1VIH.d.ts} +3 -3
  71. package/dist/chat/index.cjs +7 -3
  72. package/dist/chat/index.cjs.map +1 -1
  73. package/dist/chat/index.d.cts +2 -2
  74. package/dist/chat/index.d.ts +2 -2
  75. package/dist/chat/index.js +7 -3
  76. package/dist/chat/index.js.map +1 -1
  77. package/dist/chat/types.cjs +1 -3
  78. package/dist/chat/types.cjs.map +1 -1
  79. package/dist/chat/types.d.cts +2 -2
  80. package/dist/chat/types.d.ts +2 -2
  81. package/dist/chat/types.js +1 -3
  82. package/dist/chat/types.js.map +1 -1
  83. package/dist/{componentId-vJz-kWs6.js → componentId-BJLfnaGc.js} +6 -2
  84. package/dist/componentId-BJLfnaGc.js.map +1 -0
  85. package/dist/{componentId-DkyQ8PM0.cjs → componentId-_IKXxICq.cjs} +6 -2
  86. package/dist/componentId-_IKXxICq.cjs.map +1 -0
  87. package/dist/{concurrent-CH9fbNr3.js → concurrent-BacWxPwi.js} +5 -7
  88. package/dist/concurrent-BacWxPwi.js.map +1 -0
  89. package/dist/{concurrent-tbiIa0UL.cjs → concurrent-CdVfR1N5.cjs} +5 -7
  90. package/dist/concurrent-CdVfR1N5.cjs.map +1 -0
  91. package/dist/{configurations-CyFF9Dtu.cjs → configurations-BTRHVSRq.cjs} +20 -53
  92. package/dist/configurations-BTRHVSRq.cjs.map +1 -0
  93. package/dist/{configurations-VtNE0nrT.js → configurations-CF3xz7RB.js} +14 -22
  94. package/dist/configurations-CF3xz7RB.js.map +1 -0
  95. package/dist/{configurations-BVvcimzo.js → configurations-Chg_JwJ1.js} +20 -53
  96. package/dist/configurations-Chg_JwJ1.js.map +1 -0
  97. package/dist/{configurations-zkNjr73Q.cjs → configurations-VlfQ_37Y.cjs} +14 -22
  98. package/dist/configurations-VlfQ_37Y.cjs.map +1 -0
  99. package/dist/constants/index.cjs +1 -1
  100. package/dist/constants/index.d.cts +1 -1
  101. package/dist/constants/index.d.ts +1 -1
  102. package/dist/constants/index.js +1 -1
  103. package/dist/{createFetchClient-BlgPbjFj.cjs → createFetchClient-Cwp8max9.cjs} +11 -4
  104. package/dist/createFetchClient-Cwp8max9.cjs.map +1 -0
  105. package/dist/{createFetchClient-C-cadpBx.js → createFetchClient-DXHQK63w.js} +11 -4
  106. package/dist/createFetchClient-DXHQK63w.js.map +1 -0
  107. package/dist/{createGenericFetchClient-Bnf1QK9W.js → createGenericFetchClient-Dg1rgzmG.js} +2 -2
  108. package/dist/{createGenericFetchClient-Bnf1QK9W.js.map → createGenericFetchClient-Dg1rgzmG.js.map} +1 -1
  109. package/dist/{createGenericFetchClient-lcozzwk2.cjs → createGenericFetchClient-Dl9cqTvR.cjs} +2 -2
  110. package/dist/{createGenericFetchClient-lcozzwk2.cjs.map → createGenericFetchClient-Dl9cqTvR.cjs.map} +1 -1
  111. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs → createOpenapiFetchClient-BYqW-9tm.cjs} +2 -2
  112. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs.map → createOpenapiFetchClient-BYqW-9tm.cjs.map} +1 -1
  113. package/dist/{createOpenapiFetchClient-COaPeeQ0.js → createOpenapiFetchClient-DZUOVupy.js} +2 -2
  114. package/dist/{createOpenapiFetchClient-COaPeeQ0.js.map → createOpenapiFetchClient-DZUOVupy.js.map} +1 -1
  115. package/dist/dataScience/index.cjs +2 -2
  116. package/dist/dataScience/index.d.cts +2 -2
  117. package/dist/dataScience/index.d.ts +2 -2
  118. package/dist/dataScience/index.js +2 -2
  119. package/dist/dataScience/types.d.cts +2 -2
  120. package/dist/dataScience/types.d.ts +2 -2
  121. package/dist/{dataScience-D-hyc4GY.cjs → dataScience-B5QxZnvW.cjs} +5 -5
  122. package/dist/{dataScience-D-hyc4GY.cjs.map → dataScience-B5QxZnvW.cjs.map} +1 -1
  123. package/dist/{dataScience-B_BmnB1m.js → dataScience-OXcwdk1p.js} +5 -5
  124. package/dist/{dataScience-B_BmnB1m.js.map → dataScience-OXcwdk1p.js.map} +1 -1
  125. package/dist/dedupe-Cky1gSUu.js +21 -0
  126. package/dist/dedupe-Cky1gSUu.js.map +1 -0
  127. package/dist/dedupe-OSnnst2u.cjs +26 -0
  128. package/dist/dedupe-OSnnst2u.cjs.map +1 -0
  129. package/dist/developerPortal/index.cjs +1 -1
  130. package/dist/developerPortal/index.d.cts +2 -2
  131. package/dist/developerPortal/index.d.ts +2 -2
  132. package/dist/developerPortal/index.js +1 -1
  133. package/dist/developerPortal/types.d.cts +1 -1
  134. package/dist/developerPortal/types.d.ts +1 -1
  135. package/dist/{developerPortalClient-yHFTkKPb.js → developerPortalClient-B1QZ1rYi.js} +6 -8
  136. package/dist/{developerPortalClient-yHFTkKPb.js.map → developerPortalClient-B1QZ1rYi.js.map} +1 -1
  137. package/dist/{developerPortalClient-CutPqoAa.cjs → developerPortalClient-CLPpBksD.cjs} +6 -8
  138. package/dist/{developerPortalClient-CutPqoAa.cjs.map → developerPortalClient-CLPpBksD.cjs.map} +1 -1
  139. package/dist/domain/permissions/index.cjs +9 -30
  140. package/dist/domain/permissions/index.cjs.map +1 -1
  141. package/dist/domain/permissions/index.d.cts +29 -102
  142. package/dist/domain/permissions/index.d.ts +29 -102
  143. package/dist/domain/permissions/index.js +9 -30
  144. package/dist/domain/permissions/index.js.map +1 -1
  145. package/dist/domain/storageTable/index.d.cts +1 -1
  146. package/dist/domain/storageTable/index.d.ts +1 -1
  147. package/dist/editor/index.cjs +2 -2
  148. package/dist/editor/index.cjs.map +1 -1
  149. package/dist/editor/index.d.cts +2 -2
  150. package/dist/editor/index.d.ts +2 -2
  151. package/dist/editor/index.js +2 -2
  152. package/dist/editor/index.js.map +1 -1
  153. package/dist/editor/types.d.cts +1 -1
  154. package/dist/editor/types.d.ts +1 -1
  155. package/dist/encryption/index.cjs +2 -22
  156. package/dist/encryption/index.cjs.map +1 -1
  157. package/dist/encryption/index.d.cts +1 -1
  158. package/dist/encryption/index.d.ts +1 -1
  159. package/dist/encryption/index.js +2 -22
  160. package/dist/encryption/index.js.map +1 -1
  161. package/dist/encryption/types.d.cts +1 -1
  162. package/dist/encryption/types.d.ts +1 -1
  163. package/dist/import/index.cjs +1 -1
  164. package/dist/import/index.d.cts +3 -3
  165. package/dist/import/index.d.ts +3 -3
  166. package/dist/import/index.js +1 -1
  167. package/dist/{import-7YyyD_U_.cjs → import-CNk89mqy.cjs} +3 -3
  168. package/dist/{import-7YyyD_U_.cjs.map → import-CNk89mqy.cjs.map} +1 -1
  169. package/dist/{import-xliONVib.js → import-DiMQCzLa.js} +3 -3
  170. package/dist/{import-xliONVib.js.map → import-DiMQCzLa.js.map} +1 -1
  171. package/dist/{index-1r_CskjU.d.ts → index--ZpnE3YT.d.cts} +3 -3
  172. package/dist/{index-DBklbaTp.d.cts → index-B5w7WlaU.d.cts} +5 -1
  173. package/dist/{index-DBklbaTp.d.ts → index-B5w7WlaU.d.ts} +5 -1
  174. package/dist/{index-C77vTm2K.d.ts → index-BDZvaRud.d.ts} +6 -6
  175. package/dist/{index-KuQ79Mnz.d.ts → index-BVhHt5lx.d.cts} +18 -26
  176. package/dist/{index-NC1dXRTD.d.ts → index-BfqkgPGI.d.cts} +7 -13
  177. package/dist/{index-NC1dXRTD.d.cts → index-BfqkgPGI.d.ts} +7 -13
  178. package/dist/{index-V7XKUQm9.d.cts → index-BgR5zcjJ.d.ts} +18 -26
  179. package/dist/{index-BK-qHT39.d.ts → index-ByRpNVcs.d.cts} +83 -17
  180. package/dist/{index-pXN4LWUX.d.ts → index-C11JSxBY.d.ts} +8 -11
  181. package/dist/{index-GjcJTCbz.d.cts → index-C4TNAA8-.d.cts} +8 -11
  182. package/dist/{index-BMqLPS6S.d.ts → index-CXcWpZQ2.d.cts} +4 -12
  183. package/dist/{index-BMqLPS6S.d.cts → index-CXcWpZQ2.d.ts} +4 -12
  184. package/dist/{index-GfKzh267.d.ts → index-CaaTOANF.d.ts} +395 -297
  185. package/dist/{index-Dx52hNLP.d.cts → index-CcMHJcuP.d.cts} +3 -3
  186. package/dist/{index-DVw4Av4b.d.cts → index-Cvbjp3jx.d.cts} +6 -6
  187. package/dist/{index-DppA4k3b.d.cts → index-Cz0MXhzs.d.cts} +5 -5
  188. package/dist/{index-6Xe81qN3.d.ts → index-D-VMgpGc.d.ts} +5 -5
  189. package/dist/{index-DWf6FXOr.d.cts → index-D7-o-oGa.d.ts} +3 -3
  190. package/dist/{index-CWoEnDJ_.d.cts → index-DCRKjihs.d.ts} +83 -17
  191. package/dist/{kaiAgentClient-CHpULyeG.d.cts → index-DNThyEej.d.cts} +14 -5
  192. package/dist/{index-DXSmFkol.d.cts → index-DOAZmWvh.d.cts} +6 -6
  193. package/dist/{index-BuegqrS1.d.ts → index-D_-4uQF8.d.ts} +3 -3
  194. package/dist/index-DbLFwXgb.d.cts +116 -0
  195. package/dist/{index-De5qUWhp.d.ts → index-DnQTuc6t.d.ts} +6 -6
  196. package/dist/{kaiAgentClient-B5L4gbQ1.d.ts → index-Qb7X6-ph.d.ts} +14 -5
  197. package/dist/{index-CHXnJQ9s.d.cts → index-cWp_V6K5.d.cts} +395 -297
  198. package/dist/index-rwK7GcB2.d.ts +116 -0
  199. package/dist/index.cjs +1498 -901
  200. package/dist/index.cjs.map +1 -1
  201. package/dist/index.d.cts +7 -7
  202. package/dist/index.d.ts +7 -7
  203. package/dist/index.js +1497 -902
  204. package/dist/index.js.map +1 -1
  205. package/dist/isLoginPageRedirect-XPwAOKK3.js +14 -0
  206. package/dist/isLoginPageRedirect-XPwAOKK3.js.map +1 -0
  207. package/dist/isLoginPageRedirect-jQHiLrG7.cjs +19 -0
  208. package/dist/isLoginPageRedirect-jQHiLrG7.cjs.map +1 -0
  209. package/dist/{jobStatus-0_Y3Sr4i.cjs → jobStatus-BMlsyXWI.cjs} +19 -45
  210. package/dist/jobStatus-BMlsyXWI.cjs.map +1 -0
  211. package/dist/{jobStatus-PSZJMTiA.js → jobStatus-CfRtsIpv.js} +19 -45
  212. package/dist/jobStatus-CfRtsIpv.js.map +1 -0
  213. package/dist/kaiAgent/index.cjs +1 -1
  214. package/dist/kaiAgent/index.d.cts +3 -2
  215. package/dist/kaiAgent/index.d.ts +3 -2
  216. package/dist/kaiAgent/index.js +1 -1
  217. package/dist/kaiAgent/types.d.cts +2 -2
  218. package/dist/kaiAgent/types.d.ts +2 -2
  219. package/dist/{kaiAgent-CcT2oNip.js → kaiAgent-Dp20HLTh.js} +32 -11
  220. package/dist/kaiAgent-Dp20HLTh.js.map +1 -0
  221. package/dist/{kaiAgent-DaB6UCsh.cjs → kaiAgent-QNoeVKPs.cjs} +32 -11
  222. package/dist/kaiAgent-QNoeVKPs.cjs.map +1 -0
  223. package/dist/kaiMemory-CClSPInt.cjs +289 -0
  224. package/dist/kaiMemory-CClSPInt.cjs.map +1 -0
  225. package/dist/kaiMemory-D0Y_16U4.js +260 -0
  226. package/dist/kaiMemory-D0Y_16U4.js.map +1 -0
  227. package/dist/management/index.cjs +1 -1
  228. package/dist/management/index.d.cts +1 -1
  229. package/dist/management/index.d.ts +1 -1
  230. package/dist/management/index.js +1 -1
  231. package/dist/management/types.d.cts +2 -2
  232. package/dist/management/types.d.ts +2 -2
  233. package/dist/{management-DeZiQSlw.cjs → management-CCY0IYnq.cjs} +59 -24
  234. package/dist/management-CCY0IYnq.cjs.map +1 -0
  235. package/dist/{management-ckdnu1dA.js → management-DvmPiG64.js} +59 -24
  236. package/dist/management-DvmPiG64.js.map +1 -0
  237. package/dist/metastore/index.cjs +1 -1
  238. package/dist/metastore/index.d.cts +1 -1
  239. package/dist/metastore/index.d.ts +1 -1
  240. package/dist/metastore/index.js +1 -1
  241. package/dist/metastore/types.d.cts +2 -2
  242. package/dist/metastore/types.d.ts +2 -2
  243. package/dist/{metastore-B0PolCjQ.js → metastore-BycJxe7A.js} +14 -8
  244. package/dist/metastore-BycJxe7A.js.map +1 -0
  245. package/dist/{metastore-9AGrwjmN.cjs → metastore-XtWciCZT.cjs} +14 -8
  246. package/dist/metastore-XtWciCZT.cjs.map +1 -0
  247. package/dist/microsoftGraph/index.cjs +2 -2
  248. package/dist/microsoftGraph/index.d.cts +2 -2
  249. package/dist/microsoftGraph/index.d.ts +2 -2
  250. package/dist/microsoftGraph/index.js +2 -2
  251. package/dist/microsoftGraph/types.d.cts +1 -1
  252. package/dist/microsoftGraph/types.d.ts +1 -1
  253. package/dist/middleware-CBwrtgQd.js +34 -0
  254. package/dist/middleware-CBwrtgQd.js.map +1 -0
  255. package/dist/middleware-IjYx3d5u.cjs +45 -0
  256. package/dist/middleware-IjYx3d5u.cjs.map +1 -0
  257. package/dist/notifications/index.cjs +4 -4
  258. package/dist/notifications/index.d.cts +2 -2
  259. package/dist/notifications/index.d.ts +2 -2
  260. package/dist/notifications/index.js +4 -4
  261. package/dist/notifications/types.d.cts +1 -1
  262. package/dist/notifications/types.d.ts +1 -1
  263. package/dist/oauth/index.cjs +1 -1
  264. package/dist/oauth/index.d.cts +2 -2
  265. package/dist/oauth/index.d.ts +2 -2
  266. package/dist/oauth/index.js +1 -1
  267. package/dist/oauth/types.d.cts +1 -1
  268. package/dist/oauth/types.d.ts +1 -1
  269. package/dist/{oauth-DNtv4Ihb.cjs → oauth--2p8jkJf.cjs} +5 -5
  270. package/dist/{oauth-DNtv4Ihb.cjs.map → oauth--2p8jkJf.cjs.map} +1 -1
  271. package/dist/{oauth-BnHVf4cB.js → oauth-l5zE39cD.js} +5 -5
  272. package/dist/{oauth-BnHVf4cB.js.map → oauth-l5zE39cD.js.map} +1 -1
  273. package/dist/omnisearch/index.cjs +6 -14
  274. package/dist/omnisearch/index.cjs.map +1 -1
  275. package/dist/omnisearch/index.d.cts +6 -14
  276. package/dist/omnisearch/index.d.ts +6 -14
  277. package/dist/omnisearch/index.js +6 -14
  278. package/dist/omnisearch/index.js.map +1 -1
  279. package/dist/omnisearch/types.d.cts +1 -1
  280. package/dist/omnisearch/types.d.ts +1 -1
  281. package/dist/{project-DCHOxRWd.d.ts → project-B15gStbM.d.ts} +2 -2
  282. package/dist/{project-BRpzv3yE.d.cts → project-cHKuGvqJ.d.cts} +2 -2
  283. package/dist/queryService/index.cjs +1 -1
  284. package/dist/queryService/index.d.cts +1 -1
  285. package/dist/queryService/index.d.ts +1 -1
  286. package/dist/queryService/index.js +1 -1
  287. package/dist/queryService/types.d.cts +1 -1
  288. package/dist/queryService/types.d.ts +1 -1
  289. package/dist/{queryService-j3XZ2mX6.js → queryService-CCOYbRbw.js} +6 -6
  290. package/dist/{queryService-j3XZ2mX6.js.map → queryService-CCOYbRbw.js.map} +1 -1
  291. package/dist/{queryService-BVwD6Vmc.cjs → queryService-CQzclHdL.cjs} +6 -6
  292. package/dist/{queryService-BVwD6Vmc.cjs.map → queryService-CQzclHdL.cjs.map} +1 -1
  293. package/dist/queue/index.cjs +1 -1
  294. package/dist/queue/index.d.cts +3 -3
  295. package/dist/queue/index.d.ts +3 -3
  296. package/dist/queue/index.js +1 -1
  297. package/dist/queue/types.d.cts +1 -1
  298. package/dist/queue/types.d.ts +1 -1
  299. package/dist/{queue-Dagl0sdP.js → queue-Cowbg6bR.js} +8 -11
  300. package/dist/queue-Cowbg6bR.js.map +1 -0
  301. package/dist/{queue-e3rMWbmK.cjs → queue-UG_BWKIC.cjs} +8 -11
  302. package/dist/queue-UG_BWKIC.cjs.map +1 -0
  303. package/dist/scheduler/index.cjs +4 -4
  304. package/dist/scheduler/index.d.cts +2 -2
  305. package/dist/scheduler/index.d.ts +2 -2
  306. package/dist/scheduler/index.js +4 -4
  307. package/dist/scheduler/types.d.cts +1 -1
  308. package/dist/scheduler/types.d.ts +1 -1
  309. package/dist/sdk/configurations/index.cjs +1 -1
  310. package/dist/sdk/configurations/index.d.cts +11 -11
  311. package/dist/sdk/configurations/index.d.ts +11 -11
  312. package/dist/sdk/configurations/index.js +1 -1
  313. package/dist/sdk/developerPortal/index.cjs +10 -18
  314. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  315. package/dist/sdk/developerPortal/index.d.cts +7 -15
  316. package/dist/sdk/developerPortal/index.d.ts +7 -15
  317. package/dist/sdk/developerPortal/index.js +7 -15
  318. package/dist/sdk/developerPortal/index.js.map +1 -1
  319. package/dist/sdk/kaiMemory/index.cjs +7 -0
  320. package/dist/sdk/kaiMemory/index.d.cts +41 -0
  321. package/dist/sdk/kaiMemory/index.d.ts +41 -0
  322. package/dist/sdk/kaiMemory/index.js +2 -0
  323. package/dist/sdk/kaiMemory/types.cjs +0 -0
  324. package/dist/sdk/kaiMemory/types.d.cts +2 -0
  325. package/dist/sdk/kaiMemory/types.d.ts +2 -0
  326. package/dist/sdk/kaiMemory/types.js +1 -0
  327. package/dist/sdk/queryService/index.cjs +2 -2
  328. package/dist/sdk/queryService/index.d.cts +1 -1
  329. package/dist/sdk/queryService/index.d.ts +1 -1
  330. package/dist/sdk/queryService/index.js +2 -2
  331. package/dist/sdk/semanticLayer/index.cjs +1 -1
  332. package/dist/sdk/semanticLayer/index.d.cts +16 -40
  333. package/dist/sdk/semanticLayer/index.d.ts +16 -40
  334. package/dist/sdk/semanticLayer/index.js +1 -1
  335. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  336. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  337. package/dist/sdk/storage/index.cjs +0 -5
  338. package/dist/sdk/storage/index.cjs.map +1 -1
  339. package/dist/sdk/storage/index.d.cts +2 -2
  340. package/dist/sdk/storage/index.d.ts +2 -2
  341. package/dist/sdk/storage/index.js +1 -5
  342. package/dist/sdk/storage/index.js.map +1 -1
  343. package/dist/sdk/tag/index.cjs +1 -1
  344. package/dist/sdk/tag/index.d.cts +3 -3
  345. package/dist/sdk/tag/index.d.ts +3 -3
  346. package/dist/sdk/tag/index.js +1 -1
  347. package/dist/sdk/tag/types.d.cts +1 -1
  348. package/dist/sdk/tag/types.d.ts +1 -1
  349. package/dist/sdk/vault/index.cjs +1 -1
  350. package/dist/sdk/vault/index.d.cts +1 -1
  351. package/dist/sdk/vault/index.d.ts +1 -1
  352. package/dist/sdk/vault/index.js +1 -1
  353. package/dist/{semanticLayer-9uTaU7UT.cjs → semanticLayer-CKDVkU56.cjs} +62 -183
  354. package/dist/semanticLayer-CKDVkU56.cjs.map +1 -0
  355. package/dist/{semanticLayer-6_gtFxDu.js → semanticLayer-pYy082Ju.js} +62 -183
  356. package/dist/semanticLayer-pYy082Ju.js.map +1 -0
  357. package/dist/status/index.cjs +1 -1
  358. package/dist/status/index.d.cts +1 -1
  359. package/dist/status/index.d.ts +1 -1
  360. package/dist/status/index.js +1 -1
  361. package/dist/storage/index.cjs +5 -5
  362. package/dist/storage/index.d.cts +2 -2
  363. package/dist/storage/index.d.ts +2 -2
  364. package/dist/storage/index.js +5 -5
  365. package/dist/storage/types.d.cts +2 -2
  366. package/dist/storage/types.d.ts +2 -2
  367. package/dist/{storage-Ob1LUIDq.js → storage-CZQHZcXG.js} +109 -302
  368. package/dist/storage-CZQHZcXG.js.map +1 -0
  369. package/dist/{storage-HFUdEy7P.cjs → storage-JinL1y1s.cjs} +109 -302
  370. package/dist/storage-JinL1y1s.cjs.map +1 -0
  371. package/dist/stream/index.cjs +3 -3
  372. package/dist/stream/index.d.cts +2 -2
  373. package/dist/stream/index.d.ts +2 -2
  374. package/dist/stream/index.js +3 -3
  375. package/dist/stream/types.d.cts +1 -1
  376. package/dist/stream/types.d.ts +1 -1
  377. package/dist/syncActions/index.cjs +1 -1
  378. package/dist/syncActions/index.d.cts +1 -1
  379. package/dist/syncActions/index.d.ts +1 -1
  380. package/dist/syncActions/index.js +1 -1
  381. package/dist/syncActions/types.d.cts +2 -2
  382. package/dist/syncActions/types.d.ts +2 -2
  383. package/dist/{syncActions-B3NS5a0g.js → syncActions-ChNWuhYA.js} +260 -111
  384. package/dist/syncActions-ChNWuhYA.js.map +1 -0
  385. package/dist/{syncActions-D2DhY6pP.cjs → syncActions-mFlF16cl.cjs} +260 -111
  386. package/dist/syncActions-mFlF16cl.cjs.map +1 -0
  387. package/dist/{tag-CsoOZWB_.cjs → tag-DHS_soa7.cjs} +2 -2
  388. package/dist/{tag-CsoOZWB_.cjs.map → tag-DHS_soa7.cjs.map} +1 -1
  389. package/dist/{tag-DCsoewjL.js → tag-hh-1nhNr.js} +2 -2
  390. package/dist/{tag-DCsoewjL.js.map → tag-hh-1nhNr.js.map} +1 -1
  391. package/dist/telemetry/index.cjs +7 -11
  392. package/dist/telemetry/index.cjs.map +1 -1
  393. package/dist/telemetry/index.d.cts +5 -9
  394. package/dist/telemetry/index.d.ts +5 -9
  395. package/dist/telemetry/index.js +7 -11
  396. package/dist/telemetry/index.js.map +1 -1
  397. package/dist/telemetry/types.d.cts +1 -1
  398. package/dist/telemetry/types.d.ts +1 -1
  399. package/dist/{types-DqxIx9Pi.d.cts → types-6kuMW4JW.d.cts} +2 -2
  400. package/dist/{types-Ct0YPy2w.d.ts → types-B2w2TtSA.d.ts} +3 -3
  401. package/dist/{types-M46WuBSm.d.cts → types-B61aCifg.d.cts} +2 -2
  402. package/dist/{types-COL1kVEB.d.cts → types-B8N_k79M.d.cts} +2 -2
  403. package/dist/{types-Jw10xuOW.d.cts → types-BIECJYun.d.ts} +171 -44
  404. package/dist/{types-DZk3XHiN.d.cts → types-BLNB882w.d.cts} +3 -3
  405. package/dist/{types-BEe50G2r.d.cts → types-BPy5Ozee.d.cts} +2 -2
  406. package/dist/{types-gi4Eay19.d.ts → types-BS4jwuMi.d.ts} +7 -15
  407. package/dist/{types-BrYkBQo4.d.ts → types-BTK7Bv3n.d.cts} +171 -44
  408. package/dist/{types-D6UmMa6E.d.ts → types-BZDV8DZk.d.ts} +3 -3
  409. package/dist/{types-Cz83RiVu.d.cts → types-B_iLJlp4.d.ts} +255 -12
  410. package/dist/{types-CmF3pR2n.d.cts → types-BiMahEK8.d.cts} +91 -237
  411. package/dist/{types-BH5LLeJy.d.ts → types-Bl03Cg2n.d.cts} +255 -12
  412. package/dist/{types-bGQb4Jtl.d.cts → types-ByLH46Dt.d.cts} +13 -8
  413. package/dist/{types-g3vU7hcg.d.cts → types-Bydx6ga_.d.cts} +2 -2
  414. package/dist/{types-B95uNQ9o.d.ts → types-CKmTZSPG.d.ts} +91 -237
  415. package/dist/{types-D_j2Uq5X.d.cts → types-CMzQSHAQ.d.cts} +3 -3
  416. package/dist/{types-N3EChotg.d.cts → types-CP_LBmw3.d.cts} +2 -2
  417. package/dist/{types-CW6lCqrC.d.cts → types-CQFOCQzk.d.ts} +230 -43
  418. package/dist/{types-zZBxJ0P-.d.ts → types-CWyXTMwy.d.ts} +2 -2
  419. package/dist/{types-CPB-eF82.d.ts → types-CZJlLCbA.d.ts} +2 -2
  420. package/dist/{types-l9o4gFsI.d.ts → types-CZXPu3gn.d.ts} +2 -2
  421. package/dist/{types-BztF4HeB.d.ts → types-CaOtNjSZ.d.ts} +6 -13
  422. package/dist/{types-BTWIPEiU.d.ts → types-CfwqVkEA.d.ts} +2 -2
  423. package/dist/types-Cg14ncdV.d.ts +63 -0
  424. package/dist/{types-BsxLGDoC.d.cts → types-CoJVrRAD.d.ts} +2 -2
  425. package/dist/{types-DYzJ6K2e.d.ts → types-CqwHP7mN.d.cts} +230 -43
  426. package/dist/{types-CKiW3n6v.d.ts → types-D3wcs4tp.d.ts} +2 -2
  427. package/dist/{types-DOyNe7oe.d.cts → types-DDOa07rU.d.cts} +7 -15
  428. package/dist/{types-BW2BXUB4.d.cts → types-DE9hgr7i.d.cts} +2 -2
  429. package/dist/{types-BOqD3Hqy.d.cts → types-DEzW1CfI.d.cts} +3 -3
  430. package/dist/{types-OaD-cbbl.d.ts → types-DIiOMV-t.d.ts} +3 -3
  431. package/dist/{types-B-P4vQe0.d.cts → types-DKc1gmd9.d.ts} +857 -131
  432. package/dist/{types-BrPlv-NS.d.ts → types-DRCMBt89.d.ts} +3 -3
  433. package/dist/{types-BQvv4RaI.d.cts → types-DUMal2E-.d.cts} +5 -8
  434. package/dist/types-DWiLcrxt.d.cts +63 -0
  435. package/dist/{types-DNxOHnZI.d.cts → types-Dd31Lw4S.d.cts} +2 -2
  436. package/dist/{types-Dmu-8g4O.d.ts → types-DekYAlA-.d.ts} +3 -3
  437. package/dist/{types-B2U9cFcx.d.ts → types-DgJeO9Nd.d.ts} +2 -2
  438. package/dist/{types-nrviNdzZ.d.ts → types-DicSaNwq.d.ts} +2 -2
  439. package/dist/{types-Crhy0c9m.d.cts → types-DinIJ1D_.d.cts} +40 -11
  440. package/dist/{types-DhDNS-5B.d.ts → types-DlQw6FCi.d.ts} +13 -8
  441. package/dist/{types-_RhBCj4_.d.cts → types-DoZtE9tz.d.cts} +3 -3
  442. package/dist/{types-Bxhh2SJr.d.ts → types-DrvKfXXd.d.cts} +2 -2
  443. package/dist/{types-DPl8pZsY.d.ts → types-Dtuvhm3K.d.cts} +857 -131
  444. package/dist/{types-CcrvrAJX.d.ts → types-DwVSj-Da.d.ts} +5 -8
  445. package/dist/{types-C2vefB4D.d.ts → types-FwRmjsNN.d.ts} +10 -34
  446. package/dist/{types-C0_2KZ-A.d.ts → types-RbrfiY8T.d.ts} +2 -2
  447. package/dist/{types-DfvdbRPL.d.ts → types-WZBztugL.d.ts} +2 -2
  448. package/dist/{types-52irAt99.d.cts → types-YHUEArkR.d.cts} +2 -2
  449. package/dist/{types-fX4gbxfV.d.cts → types-bc-4z_gc.d.cts} +10 -34
  450. package/dist/{types-3eUgOA7I.d.cts → types-ePSqbXRr.d.cts} +6 -13
  451. package/dist/{types-DrqKICcK.d.ts → types-n4PTnLii.d.ts} +40 -11
  452. package/dist/{types-DXskkNp8.d.cts → types-pvQzbgNE.d.cts} +3 -3
  453. package/dist/{types-DajzGOKB.d.ts → types-q-1r_9d1.d.ts} +2 -2
  454. package/dist/{types-D8Rrz51O.d.cts → types-tKkeLa2B.d.cts} +2 -2
  455. package/dist/{validateConnectionStatus-828HV8WL.js → validateConnectionStatus-BEGu8wXT.js} +6 -10
  456. package/dist/validateConnectionStatus-BEGu8wXT.js.map +1 -0
  457. package/dist/{validateConnectionStatus-CvBKyeDO.cjs → validateConnectionStatus-BEYkQpu9.cjs} +6 -10
  458. package/dist/validateConnectionStatus-BEYkQpu9.cjs.map +1 -0
  459. package/dist/vault/index.cjs +4 -4
  460. package/dist/vault/index.d.cts +1 -1
  461. package/dist/vault/index.d.ts +1 -1
  462. package/dist/vault/index.js +4 -4
  463. package/dist/vault/types.d.cts +1 -1
  464. package/dist/vault/types.d.ts +1 -1
  465. package/package.json +32 -4
  466. package/surface/apps.md +3 -3
  467. package/surface/auth.md +13 -6
  468. package/surface/chat.md +6 -6
  469. package/surface/kaiAgent.md +9 -8
  470. package/surface/management.md +14 -5
  471. package/surface/metastore.md +2 -2
  472. package/surface/queue.md +3 -3
  473. package/surface/sdk.md +13 -3
  474. package/surface/storage.md +6 -6
  475. package/surface/syncActions.md +16 -0
  476. package/dist/ValidationError-BekhphAq.js +0 -48
  477. package/dist/ValidationError-BekhphAq.js.map +0 -1
  478. package/dist/ValidationError-CLVJCCwH.cjs.map +0 -1
  479. package/dist/authClient-8yU1last.cjs.map +0 -1
  480. package/dist/authClient-BTo4Afm6.js.map +0 -1
  481. package/dist/componentId-DkyQ8PM0.cjs.map +0 -1
  482. package/dist/componentId-vJz-kWs6.js.map +0 -1
  483. package/dist/concurrent-CH9fbNr3.js.map +0 -1
  484. package/dist/concurrent-tbiIa0UL.cjs.map +0 -1
  485. package/dist/configurations-BVvcimzo.js.map +0 -1
  486. package/dist/configurations-CyFF9Dtu.cjs.map +0 -1
  487. package/dist/configurations-VtNE0nrT.js.map +0 -1
  488. package/dist/configurations-zkNjr73Q.cjs.map +0 -1
  489. package/dist/createFetchClient-BlgPbjFj.cjs.map +0 -1
  490. package/dist/createFetchClient-C-cadpBx.js.map +0 -1
  491. package/dist/credential-CAulvfZ-.cjs +0 -47
  492. package/dist/credential-CAulvfZ-.cjs.map +0 -1
  493. package/dist/credential-DWXbo4IX.js +0 -36
  494. package/dist/credential-DWXbo4IX.js.map +0 -1
  495. package/dist/dedupe-CiskLkGR.cjs +0 -30
  496. package/dist/dedupe-CiskLkGR.cjs.map +0 -1
  497. package/dist/dedupe-DYIHgZoG.js +0 -25
  498. package/dist/dedupe-DYIHgZoG.js.map +0 -1
  499. package/dist/index-3LUk2rpD.d.ts +0 -65
  500. package/dist/index-CW3Pj7DY.d.cts +0 -65
  501. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs +0 -25
  502. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs.map +0 -1
  503. package/dist/isLoginPageRedirect-hyPqyWNX.js +0 -20
  504. package/dist/isLoginPageRedirect-hyPqyWNX.js.map +0 -1
  505. package/dist/jobStatus-0_Y3Sr4i.cjs.map +0 -1
  506. package/dist/jobStatus-PSZJMTiA.js.map +0 -1
  507. package/dist/kaiAgent-CcT2oNip.js.map +0 -1
  508. package/dist/kaiAgent-DaB6UCsh.cjs.map +0 -1
  509. package/dist/management-DeZiQSlw.cjs.map +0 -1
  510. package/dist/management-ckdnu1dA.js.map +0 -1
  511. package/dist/metastore-9AGrwjmN.cjs.map +0 -1
  512. package/dist/metastore-B0PolCjQ.js.map +0 -1
  513. package/dist/queue-Dagl0sdP.js.map +0 -1
  514. package/dist/queue-e3rMWbmK.cjs.map +0 -1
  515. package/dist/semanticLayer-6_gtFxDu.js.map +0 -1
  516. package/dist/semanticLayer-9uTaU7UT.cjs.map +0 -1
  517. package/dist/storage-HFUdEy7P.cjs.map +0 -1
  518. package/dist/storage-Ob1LUIDq.js.map +0 -1
  519. package/dist/syncActions-B3NS5a0g.js.map +0 -1
  520. package/dist/syncActions-D2DhY6pP.cjs.map +0 -1
  521. package/dist/validateConnectionStatus-828HV8WL.js.map +0 -1
  522. package/dist/validateConnectionStatus-CvBKyeDO.cjs.map +0 -1
@@ -1,42 +1,43 @@
1
- import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-52irAt99.cjs";
2
- import { D as MiddlewareFn$1, E as HttpMethod, T as ApiResponse, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient } from "./index-V7XKUQm9.cjs";
3
- import { n as ClientInitOptions } from "./types-_RhBCj4_.cjs";
4
- import { C as components$1, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "./types-DXskkNp8.cjs";
5
- import { t as LogEntry } from "./appLogs-D5A13Y0y.cjs";
6
- import { r as createAuthClient } from "./authClient-CTHNs6Tq.cjs";
7
- import { a as DashboardId, o as DashboardInput } from "./businessWorkspaceApiClient-CRM1U8b-.cjs";
8
- import { C as Vote, O as components$2, _ as ToolsListResponse, b as UsageResponse, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, v as UpdateAgentSettingsRequest, w as VoteRequest, x as UserAgentSettings, y as UpdateUserAgentSettingsRequest } from "./types-bGQb4Jtl.cjs";
1
+ import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-YHUEArkR.cjs";
2
+ import { D as HttpMethod, O as MiddlewareFn$1, T as ApiResponse, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient } from "./index-BVhHt5lx.cjs";
3
+ import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
4
+ import { C as components$1, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "./types-pvQzbgNE.cjs";
5
+ import { t as LogEntry } from "./appLogs-C9YlJ2g8.cjs";
6
+ import { r as createAuthClient } from "./authClient-vEt_7_uk.cjs";
7
+ import { a as DashboardId, o as DashboardInput } from "./businessWorkspaceApiClient-BHDJlHFo.cjs";
8
+ import { A as components$2, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, m as ProjectToolPolicy, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "./types-ByLH46Dt.cjs";
9
9
  import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.cjs";
10
- import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-DZk3XHiN.cjs";
11
- import "./index-DppA4k3b.cjs";
12
- import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-COL1kVEB.cjs";
10
+ import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-BLNB882w.cjs";
11
+ import "./index-Cz0MXhzs.cjs";
12
+ import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-B8N_k79M.cjs";
13
13
  import { t as ServiceId } from "./serviceIds-DC-H6ZD9.cjs";
14
- import { g as paths, h as components$4, i as GetTokenEventsInput, l as StorageToken, p as UpdateTokenInput, s as ShareTokenInput, t as CreateTokenBody } from "./types-DOyNe7oe.cjs";
15
- import { $ as ConfigurationRowVersionDetailPath, $i as DeleteTablesInput, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, Bn as DeleteConfigurationRowInput, C as CreateTriggerBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Dn as UpdateConfigurationInput, Ea as SetAliasTableFilterInput, F as StorageJobStatus, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gr as File, Gt as GetComponentsInput, I as CreateMergeRequestBody, Ir as SaveDevBranchMetadataInput, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Li as CreateTableAsyncInput, M as Job, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, N as JobOperation, No as DeleteBucketMetadataInput, Nt as GetConfigurationWorkspacesPath, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Ot as ConfigurationUseCaseType, P as JobUnion, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Q as ConfigurationRowVersionDetail, Qn as UpdateConfigurationRowStateInput, Qt as ConfigType, Ra as UpdateTableDefinitionInput, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Sa as SaveTableMetadataInput, Sn as SearchComponentConfiguration, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ti as DeleteTableColumnInput, To as BucketDetail, Tt as SaveConfigurationMetadataInput, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vr as AddFileTagInput, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wr as DeleteFileTagPath, Xa as UpdateBucketListingBody, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zo as BucketRegistrationGuideQuery, Zt as ComponentConfig, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, a as Service, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, at as ConfigurationVersionDetailPath, bo as SharedBucketsQuery, c as RunIdStats, ci as GetEventsInput, cr as GetWorkspacePath, d as CreateSnapshotInput, di as GetTableEventsInput, dn as GetConfigurationsPath, dr as ResetWorkspacePassword, ea as ExportAsyncInput, eo as ForceUnlinkBucketInput, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, fr as ResetWorkspacePasswordPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, ho as ShareBucketToUsersInput, ii as GetBucketEventsInput, is as RegisterBucketBody, it as ConfigurationVersionDetail, ja as TableExportAsyncBody, ji as CreateAliasTableInput, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kr as WorkspaceSaml2Login, la as GetTablesInput, lr as GetWorkspaceSaml2LoginPath, m as Snapshot, mi as StorageEvent, mn as PurgeConfigurationsInput, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, ni as CreatedEvent, ns as RefreshExternalBucketInput, o as StackComponent, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pn as PurgeConfigurationInput, pr as SetWorkspacePublicInput, qr as GetFilePath, ra as GetDataPreviewInput, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, sr as GetWorkspaceObjectsPath, tn as ConfigurationDiffPath, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wi as DeleteColumnMetadataInput, x as SearchTablesQuery, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, y as GlobalSearchResponse, yr as Workspace } from "./types-CmF3pR2n.cjs";
16
- import { a as EncryptQuery, s as ScopedSecrets } from "./types-D_j2Uq5X.cjs";
17
- import { n as WriteTableInput, t as UploadFileInput } from "./types-BEe50G2r.cjs";
18
- import { c as GetChatPath$1, d as UsageResponse$1, f as VoteRequest$1, i as ChatRequest$1, l as GetHistoryQuery$1, n as ArtifactListResponse, o as GetArtifactPath, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery$1 } from "./types-Crhy0c9m.cjs";
19
- import { n as SpendCapsView, t as SpendCapMember } from "./kaiAgentClient-CHpULyeG.cjs";
20
- import { a as createManagementClient } from "./index-CWoEnDJ_.cjs";
21
- import { D as components$5, S as ReplaceTargetProjectsInput, T as UpdateMetaObjectInput, c as DeleteMetaObjectRevisionPath, d as GetMetaObjectRevisionsPath, f as GetMetaObjectsPath, g as MetaStoreObjectResponse, h as MetaStoreListResponse, i as CreateMetaObjectInput, l as GetMetaObjectPath, n as GetVersionedSchemaPath, p as MetaObject, s as DeleteMetaObjectPath, t as GetSchemaPath, u as GetMetaObjectRevisionPath, y as ReplaceMetaObjectInput } from "./types-Cz83RiVu.cjs";
22
- import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-DNxOHnZI.cjs";
23
- import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-N3EChotg.cjs";
24
- import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-DqxIx9Pi.cjs";
25
- import { a as GetQueryJobPath, c as JobStatusResponse, d as PostQueryPath, h as components$8, i as GetQueriesPath, l as PostCancelQueryJobPath, n as GetExportResultsQuery, o as GetQueryResultsPath, p as QueryResult, r as GetQueriesHistoryQuery, s as GetQueryResutsQuery, t as ExportResultsResponse, u as PostQueryBody } from "./types-3eUgOA7I.cjs";
14
+ import { g as paths, h as components$4, i as GetTokenEventsInput, l as StorageToken, p as UpdateTokenInput, s as ShareTokenInput, t as CreateTokenBody } from "./types-DDOa07rU.cjs";
15
+ import { $ as ConfigurationRowVersionDetailPath, $i as DeleteTablesInput, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, Bn as DeleteConfigurationRowInput, C as CreateTriggerBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Dn as UpdateConfigurationInput, Ea as SetAliasTableFilterInput, F as StorageJobStatus, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gr as File, Gt as GetComponentsInput, I as CreateMergeRequestBody, Ir as SaveDevBranchMetadataInput, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Li as CreateTableAsyncInput, M as Job, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, N as JobOperation, No as DeleteBucketMetadataInput, Nt as GetConfigurationWorkspacesPath, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Ot as ConfigurationUseCaseType, P as JobUnion, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Q as ConfigurationRowVersionDetail, Qn as UpdateConfigurationRowStateInput, Qt as ConfigType, Ra as UpdateTableDefinitionInput, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Sa as SaveTableMetadataInput, Sn as SearchComponentConfiguration, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ti as DeleteTableColumnInput, To as BucketDetail, Tt as SaveConfigurationMetadataInput, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vr as AddFileTagInput, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wr as DeleteFileTagPath, Xa as UpdateBucketListingBody, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zo as BucketRegistrationGuideQuery, Zt as ComponentConfig, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, a as Service, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, at as ConfigurationVersionDetailPath, bo as SharedBucketsQuery, c as RunIdStats, ci as GetEventsInput, cr as GetWorkspacePath, d as CreateSnapshotInput, di as GetTableEventsInput, dn as GetConfigurationsPath, dr as ResetWorkspacePassword, ea as ExportAsyncInput, eo as ForceUnlinkBucketInput, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, fr as ResetWorkspacePasswordPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, ho as ShareBucketToUsersInput, ii as GetBucketEventsInput, is as RegisterBucketBody, it as ConfigurationVersionDetail, ja as TableExportAsyncBody, ji as CreateAliasTableInput, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kr as WorkspaceSaml2Login, la as GetTablesInput, lr as GetWorkspaceSaml2LoginPath, m as Snapshot, mi as StorageEvent, mn as PurgeConfigurationsInput, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, ni as CreatedEvent, ns as RefreshExternalBucketInput, o as StackComponent, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pn as PurgeConfigurationInput, pr as SetWorkspacePublicInput, qr as GetFilePath, ra as GetDataPreviewInput, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, sr as GetWorkspaceObjectsPath, tn as ConfigurationDiffPath, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wi as DeleteColumnMetadataInput, x as SearchTablesQuery, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, y as GlobalSearchResponse, yr as Workspace } from "./types-BiMahEK8.cjs";
16
+ import { a as EncryptQuery, s as ScopedSecrets } from "./types-CMzQSHAQ.cjs";
17
+ import { n as WriteTableInput, t as UploadFileInput } from "./types-BPy5Ozee.cjs";
18
+ import { c as GetChatPath$1, d as PrepareChatRequest, f as UsageResponse$1, i as ChatRequest$1, l as GetHistoryQuery$1, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest$1, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery$1 } from "./types-DinIJ1D_.cjs";
19
+ import { i as UserAgentSettings$1, n as SpendCapMember, r as SpendCapsView, t as AgentSettings$1 } from "./index-DNThyEej.cjs";
20
+ import { a as createManagementClient } from "./index-ByRpNVcs.cjs";
21
+ import { N as components$5, O as ReplaceTargetProjectsInput, S as MetaStoreObjectResponse, T as ReplaceMetaObjectInput, c as DeleteMetaObjectRevisionPath, d as GetMetaObjectRevisionsInput, h as GetMetaObjectsInput, i as CreateMetaObjectInput, j as UpdateMetaObjectInput, l as GetMetaObjectPath, n as GetVersionedSchemaPath, s as DeleteMetaObjectPath, t as GetSchemaPath, u as GetMetaObjectRevisionPath, x as MetaStoreListResponse, y as MetaObject } from "./types-Bl03Cg2n.cjs";
22
+ import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-Dd31Lw4S.cjs";
23
+ import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-CP_LBmw3.cjs";
24
+ import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-6kuMW4JW.cjs";
25
+ import { a as GetQueryJobPath, c as JobStatusResponse, d as PostQueryPath, h as components$8, i as GetQueriesPath, l as PostCancelQueryJobPath, n as GetExportResultsQuery, o as GetQueryResultsPath, p as QueryResult, r as GetQueriesHistoryQuery, s as GetQueryResutsQuery, t as ExportResultsResponse, u as PostQueryBody } from "./types-ePSqbXRr.cjs";
26
26
  import { n as Listener, t as Emitter } from "./emitter-dLF1Fyfg.cjs";
27
- import { t as Project } from "./project-BRpzv3yE.cjs";
28
- import { r as createStorageTable } from "./index-BMqLPS6S.cjs";
29
- import { n as KeboolaObjectId } from "./index-NC1dXRTD.cjs";
30
- import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-BOqD3Hqy.cjs";
31
- import { D as UpdateSemanticObjectMeta, _ as SemanticModelData, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelChildRef, i as SemanticChildObjectDataMap, m as SemanticMetricData, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObject, x as SemanticRelationshipData } from "./types-fX4gbxfV.cjs";
32
- import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-M46WuBSm.cjs";
33
- import { s as EncryptionCtx } from "./index-DVw4Av4b.cjs";
34
- import { a as OrchestrationRerunPlanPath, c as SearchAllJobsQuery, d as SearchJobsQuery, l as SearchGroupedJobsQuery, n as GetQueueJobPath, p as components$9, r as KillJobPath, t as CreateJobBody } from "./types-BQvv4RaI.cjs";
35
- import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-BW2BXUB4.cjs";
36
- import { C as UpdateSinkSettingsRequestBody, E as components$10, S as UpdateSinkRequestBody, T as UpdateSourceSettingsRequestBody, d as SinkStatisticsFilesQuery, n as CreateSourceRequestBody, o as PaginationQuery, r as DeleteSourceQuery, t as CreateSinkRequestBody, w as UpdateSourceRequestBody, x as TestSourceQuery } from "./types-BsxLGDoC.cjs";
37
- import { A as ApifyObjectsInput, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-CW6lCqrC.cjs";
38
- import { n as SendSyncActionOptions } from "./index-CW3Pj7DY.cjs";
39
- import { n as ProvisioningToken, t as GetProvisioningTokenBody } from "./types-g3vU7hcg.cjs";
27
+ import { t as Project$1 } from "./project-cHKuGvqJ.cjs";
28
+ import { r as createStorageTable } from "./index-CXcWpZQ2.cjs";
29
+ import { n as KeboolaObjectId } from "./index-BfqkgPGI.cjs";
30
+ import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-DEzW1CfI.cjs";
31
+ import { D as UpdateSemanticObjectMeta, _ as SemanticModelData, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelChildRef, i as SemanticChildObjectDataMap, m as SemanticMetricData, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObject, x as SemanticRelationshipData } from "./types-bc-4z_gc.cjs";
32
+ import { a as KaiMemoryStatus, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "./types-DWiLcrxt.cjs";
33
+ import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-B61aCifg.cjs";
34
+ import { s as EncryptionCtx } from "./index-Cvbjp3jx.cjs";
35
+ import { a as OrchestrationRerunPlanPath, c as SearchAllJobsQuery, d as SearchJobsQuery, l as SearchGroupedJobsQuery, n as GetQueueJobPath, p as components$9, r as KillJobPath, t as CreateJobBody } from "./types-DUMal2E-.cjs";
36
+ import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-DE9hgr7i.cjs";
37
+ import { C as UpdateSinkSettingsRequestBody, E as components$10, S as UpdateSinkRequestBody, T as UpdateSourceSettingsRequestBody, d as SinkStatisticsFilesQuery, n as CreateSourceRequestBody, o as PaginationQuery, r as DeleteSourceQuery, t as CreateSinkRequestBody, w as UpdateSourceRequestBody, x as TestSourceQuery } from "./types-DrvKfXXd.cjs";
38
+ import { C as TestLookerCredentialsInput, D as GetEntrypointsInput, E as GetBranchesInput, V as FlowMigrationInput, Y as DbtActionInput, c as OneDriveCreateWorkbookInput, ct as SyncActionContext, d as OneDriveGetWorksheetsInput, f as OneDriveSearchFilesInput, l as OneDriveCreateWorksheetInput, rt as ApifyObjectsInput, st as SyncActionBody, t as EnrollMFAInput } from "./types-CqwHP7mN.cjs";
39
+ import { n as SendSyncActionOptions } from "./index-DbLFwXgb.cjs";
40
+ import { n as ProvisioningToken, t as GetProvisioningTokenBody } from "./types-Bydx6ga_.cjs";
40
41
  import { z } from "zod";
41
42
  //#region src/errors/UserError.d.ts
42
43
  declare class UserError extends Error {
@@ -67,16 +68,9 @@ declare const isQueryJobError: (error: unknown) => error is QueryJobError;
67
68
  /**
68
69
  * The part of a failure worth putting in front of a reader, or `undefined` when there is none.
69
70
  *
70
- * - A plain `ApiError`'s `message` is a status line ("502 Bad Gateway") — addressed to whoever reads
71
- * the error report, and no help to someone deciding what to do next. It is never returned; the
72
- * service's own sentence is read from the parsed body instead.
73
- * - Every other error's message *is* a reason, and is returned as-is: a network failure says so in
74
- * words, and an `ApiError` subclass carries wording written for exactly this spot ("The session
75
- * has most likely expired").
76
- *
77
- * `undefined` is the caller's cue to render its own wording. Branching on an empty `message`
78
- * cannot do that job — a status line is never empty, so such a test silently stops firing and the
79
- * reader gets the status number instead of the sentence written for them.
71
+ * - A plain `ApiError`: the service's message from the body, never the status line.
72
+ * - Any other error: its `message` as-is.
73
+ * - `undefined` means render your own wording; don't test for an empty `message` instead.
80
74
  */
81
75
  declare const readableReason: (error: unknown) => string | undefined;
82
76
  //#endregion
@@ -117,10 +111,10 @@ declare const isSyncActionError: (error: unknown) => error is SyncActionError;
117
111
  //#endregion
118
112
  //#region src/domain/defaultBranch.d.ts
119
113
  type BranchType = 'default' | 'dev';
120
- type Options$2 = {
114
+ type Options$3 = {
121
115
  devBranches: DevBranch[];
122
116
  };
123
- declare const createDefaultBranch: ({ devBranches }: Options$2) => {
117
+ declare const createDefaultBranch: ({ devBranches }: Options$3) => {
124
118
  id: number;
125
119
  name: string;
126
120
  getType: (branchId?: string | number) => BranchType;
@@ -130,11 +124,11 @@ declare const createDefaultBranch: ({ devBranches }: Options$2) => {
130
124
  //#endregion
131
125
  //#region src/domain/stack.d.ts
132
126
  type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
133
- type Options$1 = {
127
+ type Options$2 = {
134
128
  stackInfo: StackInfo;
135
129
  clientServiceUrls?: ServiceUrls;
136
130
  };
137
- declare const createStack: ({ stackInfo, clientServiceUrls }: Options$1) => {
131
+ declare const createStack: ({ stackInfo, clientServiceUrls }: Options$2) => {
138
132
  api: string;
139
133
  documentation: string;
140
134
  host: string;
@@ -158,16 +152,13 @@ declare const createStack: ({ stackInfo, clientServiceUrls }: Options$1) => {
158
152
  declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
159
153
  type ClientContext = {
160
154
  /**
161
- * The stack this client is configured against, canonical form (absolute, no trailing slash) — the
162
- * `baseUrl` every request is built on. Distinct from `stack.host`, which is the index response's
163
- * own `host` field: the API pod that served the request (`connection-api-756b66f7c8-ql5sr`), not a
164
- * stack hostname. It varies between two calls to the same stack and is never used to route a
165
- * request. For the stack's hostname, look the stack id up in `STACKS` (`@keboola/api-client/constants`).
155
+ * Canonical stack URL every request is built on. Not `stack.host`, which names the serving pod;
156
+ * for the stack's hostname look its id up in `STACKS`.
166
157
  */
167
158
  baseUrl: string;
168
159
  stack: ReturnType<typeof createStack>;
169
160
  defaultBranch: ReturnType<typeof createDefaultBranch>;
170
- readonly project: Project;
161
+ readonly project: Project$1;
171
162
  readonly st: ReturnType<typeof createStorageTable>;
172
163
  };
173
164
  //#endregion
@@ -179,6 +170,7 @@ type ClientContext = {
179
170
  declare const KeboolaErrorType: {
180
171
  readonly Unconfigured: 'unconfigured';
181
172
  readonly NotAuthenticated: 'not-authenticated';
173
+ readonly SignInEnded: 'sign-in-ended';
182
174
  readonly AlreadyAuthenticated: 'already-authenticated';
183
175
  readonly NoStorageToken: 'no-storage-token';
184
176
  readonly NoManagementToken: 'no-management-token';
@@ -186,6 +178,8 @@ declare const KeboolaErrorType: {
186
178
  readonly NotBearer: 'not-bearer';
187
179
  readonly NotReady: 'not-ready';
188
180
  readonly InvalidBuildTransition: 'invalid-build-transition';
181
+ readonly StackActive: 'stack-active';
182
+ readonly CredentialKindMismatch: 'credential-kind-mismatch';
189
183
  };
190
184
  type KeboolaErrorType = (typeof KeboolaErrorType)[keyof typeof KeboolaErrorType];
191
185
  declare class KeboolaError extends Error {
@@ -197,6 +191,16 @@ declare const isKeboolaError: (error: unknown) => error is KeboolaError;
197
191
  //#region src/utils/assert.d.ts
198
192
  declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
199
193
  //#endregion
194
+ //#region src/utils/ensure.d.ts
195
+ /**
196
+ * Read a key, or build its value and keep it.
197
+ *
198
+ * `Map.prototype.getOrInsertComputed` is this natively — swap to it once it clears the app's
199
+ * `baseline-widely-available` build target. Vite transpiles syntax, not methods, so adopting it
200
+ * early fails in the browser rather than at build.
201
+ */
202
+ declare const ensure: <K, V extends NonNullable<unknown>>(map: Map<K, V>, key: K, build: () => V) => V;
203
+ //#endregion
200
204
  //#region src/utils/async/types.d.ts
201
205
  /** A deferred unit of async work: a no-arg function returning a value or promise. */
202
206
  type TaskFn<T> = () => T | PromiseLike<T>;
@@ -204,19 +208,10 @@ type TaskFn<T> = () => T | PromiseLike<T>;
204
208
  //#region src/utils/async/coalesce.d.ts
205
209
  /**
206
210
  * Coalesces concurrent triggers onto a single, never-parallel run of `task`.
207
- * Triggers fired while a run is busy collapse into one trailing run, and each
208
- * resolves with the first run that started after it — so it never sees stale state.
209
- *
210
- * Example — A triggers, then B and C trigger while A's run is still going:
211
- * 1. trigger A → run #1 starts
212
- * 2. trigger B, C → run #1 busy, so they wait
213
- * 3. run #1 done → A resolves
214
- * 4. run #2 starts → covers B and C together (one trailing run, not two)
215
- * 5. run #2 done → B and C resolve
216
211
  *
217
- * @returns a trigger; each call returns a promise of the task result.
218
- * @throws The returned promise rejects with whatever `task` throws or rejects
219
- * with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
212
+ * - Triggers fired while a run is busy collapse into one trailing run.
213
+ * - Each trigger resolves with the first run started after it, so it never sees stale state.
214
+ * - The returned promise rejects with whatever `task` throws.
220
215
  */
221
216
  declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
222
217
  //#endregion
@@ -248,25 +243,19 @@ type ConcurrentOptions<T, R> = {
248
243
  middlewares?: MiddlewareFn<T, R>[];
249
244
  };
250
245
  /**
251
- * Executes a callback function on an array of items, processing multiple items concurrently with a specified concurrency limit.
252
- * It behaves similarly to Promise.all(), failing on the first rejected promise.
253
- * After the first rejection no further items are started: items already in flight run to
254
- * completion (they cannot be cancelled), but the rest of the queue is abandoned — nothing
255
- * keeps executing detached behind the caller's back after the returned promise has settled.
256
- * The order of the results matches the order of the promises.
246
+ * Runs `process` over `items` with at most `concurrency` in flight; results keep item order.
247
+ *
248
+ * - Rejects on the first failure, like `Promise.all`.
249
+ * - After a rejection no further items start; in-flight ones run to completion.
257
250
  */
258
251
  declare const concurrent: <T, R>({ items, process, concurrency, middlewares }: ConcurrentOptions<T, R>) => Promise<R[]>;
259
252
  //#endregion
260
253
  //#region src/utils/async/dedupe.d.ts
261
254
  /**
262
- * Deduplicates concurrent triggers by sharing one in-flight run of `task`.
263
- * While a run is in flight every trigger returns that same promise; once it
264
- * settles the next trigger starts a fresh run. (Contrast `coalesce`, which
265
- * runs a *trailing* pass for triggers that arrive mid-run.)
255
+ * Shares one in-flight run of `task` across concurrent triggers.
266
256
  *
267
- * @returns a trigger; each call returns a promise of the task result.
268
- * @throws The returned promise rejects with whatever `task` throws or rejects
269
- * with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
257
+ * - Once it settles, the next trigger starts a fresh run (unlike `coalesce`, no trailing run).
258
+ * - The returned promise rejects with whatever `task` throws.
270
259
  */
271
260
  declare const dedupe: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
272
261
  //#endregion
@@ -275,20 +264,10 @@ declare const delay: (timeout: number, signal?: AbortSignal) => Promise<void>;
275
264
  //#endregion
276
265
  //#region src/utils/async/lazy.d.ts
277
266
  /**
278
- * Computes `task` on first call and hands that one value to every later caller —
279
- * the async `Lazy<T>`. While the first run is in flight every call shares it; once
280
- * it resolves, every call — right after, or long after — replays the same promise.
281
- * (Contrast `dedupe`, which shares only an *in-flight* run and lets the next
282
- * trigger start a fresh one, success or not.)
267
+ * Runs `task` once and replays its promise to every later caller.
283
268
  *
284
- * A rejection is *not* kept: the slot is cleared, so the next call starts a fresh
285
- * run. Lazy init over the network — a stack index, JWKS, feature flags — must not
286
- * be bricked forever by one transient failure. Callers that joined the failed run
287
- * all reject with its error; only a call made after it settles retries.
288
- *
289
- * @returns a getter; each call returns the promise of the computed value.
290
- * @throws The returned promise rejects with whatever `task` throws or rejects
291
- * with — the caller handles it (try/catch, or `.catch` on `void get()`).
269
+ * - A rejection is not cached: the next call retries, so a transient failure never sticks.
270
+ * - Callers that joined the failed run reject with its error.
292
271
  */
293
272
  declare const lazy: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
294
273
  //#endregion
@@ -433,6 +412,7 @@ declare const map: <T, E extends Error, U>(result: Result<T, E>, fn: (data: T) =
433
412
  declare const mapError: <T, E extends Error, F extends Error>(result: Result<T, E>, fn: (error: E) => F) => Result<T, F>;
434
413
  declare const andThen: <T, E extends Error, U, F extends Error>(result: Result<T, E>, fn: (data: T) => Result<U, F>) => Result<U, E | F>;
435
414
  declare const match: <T, E extends Error, R>(result: Result<T, E>, onSuccess: (data: T) => R, onFailure: (error: E) => R) => R;
415
+ declare const tap: <T, E extends Error>(result: Result<T, E>, fn: (data: T) => void) => Result<T, E>;
436
416
  declare const unwrap: <T, E extends Error>(result: Result<T, E>) => T;
437
417
  declare const unwrapOr: <T, E extends Error, U>(result: Result<T, E>, fallback: U) => T | U;
438
418
  declare const tryCatch: <T>(task: () => NotPromise<T>) => Result<T>;
@@ -448,6 +428,7 @@ declare const Result: {
448
428
  mapError: typeof mapError;
449
429
  andThen: typeof andThen;
450
430
  match: typeof match;
431
+ tap: typeof tap;
451
432
  unwrap: typeof unwrap;
452
433
  unwrapOr: typeof unwrapOr;
453
434
  tryCatch: typeof tryCatch;
@@ -560,11 +541,8 @@ type Schema<T> = {
560
541
  type Persistor<T> = {
561
542
  /** Read + validate the stored value; returns `defaultValue` when empty or corrupt. */
562
543
  hydrate: () => T;
563
- /** Serialize + write the value. */
564
544
  persist: (value: T) => void;
565
- /** Remove the stored value. */
566
545
  clear: () => void;
567
- /** Whether a value is currently persisted under the key. */
568
546
  hasPersistedValue: () => boolean;
569
547
  };
570
548
  type PersistorOptions<T> = {
@@ -577,6 +555,123 @@ type PersistorOptions<T> = {
577
555
  };
578
556
  declare const createPersistor: <T>({ storage, key, schema, defaultValue, encode, decode }: PersistorOptions<T>) => Persistor<T>;
579
557
  //#endregion
558
+ //#region src/keboola/bearer/state/types.d.ts
559
+ type BaseUrl = string;
560
+ type ProjectId = number;
561
+ type TokenCredential = {
562
+ type: 'token';
563
+ accessToken: string;
564
+ refreshToken: string;
565
+ expiresIn: number;
566
+ issuedAt: number;
567
+ };
568
+ type CookieCredential = {
569
+ type: 'cookie';
570
+ accessToken: string;
571
+ sessionId: string;
572
+ expiresIn: number;
573
+ issuedAt: number;
574
+ };
575
+ type StaticCredential = {
576
+ type: 'static';
577
+ accessToken: string;
578
+ };
579
+ type BearerCredential = TokenCredential | CookieCredential | StaticCredential;
580
+ /** The kinds with an issue time and a lifetime: what a rotation or an expiry can act on. */
581
+ type RotatingCredential = TokenCredential | CookieCredential;
582
+ type TokenCredentialInput = Omit<TokenCredential, 'issuedAt'>;
583
+ /**
584
+ * Which rotating kind a client signs in with, fixed when it is built.
585
+ *
586
+ * - `token`: API mode — the client holds and rotates the refresh token.
587
+ * - `cookie`: browser mode — the refresh token never reaches JS; only the stack's own origin can use it.
588
+ */
589
+ type CredentialMode = RotatingCredential['type'];
590
+ type FetchStatus = 'idle' | 'pending' | 'ready' | 'errored';
591
+ /** Storage key of the `projects` map. */
592
+ type ProjectEntryId = `${BaseUrl}#${ProjectId}`;
593
+ /**
594
+ * Sign-in lifecycle of one credential holder.
595
+ *
596
+ * - `restoring`: a persisted credential is read back before any request (for `token`, an exchange).
597
+ */
598
+ type Auth = {
599
+ status: 'anonymous';
600
+ } | {
601
+ status: 'restoring';
602
+ } | {
603
+ status: 'authenticated';
604
+ credential: BearerCredential;
605
+ };
606
+ /** One OAuth sign-in on one stack; owns the credential its projects borrow via a header. */
607
+ type Stack = {
608
+ /** The stack it addresses, and the entry's own id. */
609
+ baseUrl: BaseUrl;
610
+ /** The stack-index fetch; a public endpoint, independent of any credential. */
611
+ context: FetchStatus;
612
+ /**
613
+ * - Sign-in pin: moves on `authenticate` and `signOut`, never on a rotation.
614
+ * - Refuses a rotation, replay or restore resolving after its sign-in ended.
615
+ */
616
+ epoch: number;
617
+ auth: Auth;
618
+ };
619
+ /** Borrows its stack's credential; holds no auth of its own. */
620
+ type Project = {
621
+ id: ProjectEntryId;
622
+ baseUrl: BaseUrl;
623
+ projectId: ProjectId;
624
+ context: FetchStatus;
625
+ };
626
+ /**
627
+ * A reference into the entry table; `State.active` holds the one `api.*` addresses right now.
628
+ *
629
+ * - A project is only ever addressed inside its own stack, so the pair is one value.
630
+ * - `projectId: null` points at the stack itself, with no project.
631
+ */
632
+ type StackAddress = {
633
+ baseUrl: BaseUrl;
634
+ projectId: null;
635
+ };
636
+ type ProjectAddress = {
637
+ baseUrl: BaseUrl;
638
+ projectId: ProjectId;
639
+ };
640
+ type Address = StackAddress | ProjectAddress;
641
+ type State$1 = {
642
+ /** Never empty: the table starts scoped to its default stack, and the active one cannot close. */
643
+ active: Address;
644
+ stacks: Record<BaseUrl, Stack>;
645
+ projects: Record<ProjectEntryId, Project>;
646
+ };
647
+ type StackLocation = {
648
+ stack: Stack;
649
+ project: null;
650
+ };
651
+ type ProjectLocation = {
652
+ stack: Stack;
653
+ project: Project;
654
+ };
655
+ type Location = StackLocation | ProjectLocation;
656
+ //#endregion
657
+ //#region src/clients/storage/jobs/jobs.d.ts
658
+ /**
659
+ * The job read, declared rather than inferred.
660
+ *
661
+ * - `poller.ts` types the read it needs as this same alias, so the two are one declaration. Restating
662
+ * the signature over there gives TypeScript two generic signatures to compare and it answers TS2590
663
+ * — the operation union is too wide to expand twice.
664
+ */
665
+ type GetJob = <T extends JobOperation | string = string>(jobId: GetJobPath['jobId'], signal?: AbortSignal) => Promise<Job<T>>;
666
+ //#endregion
667
+ //#region src/clients/storage/poller.d.ts
668
+ type StorageJobPollOptions = {
669
+ interval?: number;
670
+ maxAttempts?: number;
671
+ timeout?: number;
672
+ signal?: AbortSignal;
673
+ };
674
+ //#endregion
580
675
  //#region src/clients/storage/storageClient.d.ts
581
676
  type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
582
677
  type StorageOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
@@ -2712,23 +2807,12 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
2712
2807
  };
2713
2808
  };
2714
2809
  //#endregion
2715
- //#region src/clients/storage/jobs/jobs.d.ts
2810
+ //#region src/clients/storage/bucketListings/utils.d.ts
2716
2811
  /**
2717
- * The job read, declared rather than inferred.
2718
- *
2719
- * - `poller.ts` types the read it needs as this same alias, so the two are one declaration. Restating
2720
- * the signature over there gives TypeScript two generic signatures to compare and it answers TS2590
2721
- * — the operation union is too wide to expand twice.
2812
+ * Encodes subscribers as GCP IAM principals (`user:`/`group:`); `fromBackendSubscribers` decodes.
2722
2813
  */
2723
- type GetJob = <T extends JobOperation | string = string>(jobId: GetJobPath['jobId'], signal?: AbortSignal) => Promise<Job<T>>;
2724
- //#endregion
2725
- //#region src/clients/storage/poller.d.ts
2726
- type StorageJobPollOptions = {
2727
- interval?: number;
2728
- maxAttempts?: number;
2729
- timeout?: number;
2730
- signal?: AbortSignal;
2731
- };
2814
+ declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
2815
+ declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
2732
2816
  //#endregion
2733
2817
  //#region src/sdks/configurations/createRegistry/createRegistry.d.ts
2734
2818
  type Registry<M extends Record<string, z.ZodObject>> = {
@@ -3620,6 +3704,7 @@ declare const registry: Registry<Record<never, never> & Record<"keboola.wr-db-my
3620
3704
  parameters: import("zod").ZodObject<{
3621
3705
  customerId: import("zod").ZodArray<import("zod").ZodString>;
3622
3706
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
3707
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
3623
3708
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
3624
3709
  }, import("zod/v4/core").$strip>;
3625
3710
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -3775,22 +3860,15 @@ type Middlewares = MiddlewareFn$1[] | ({
3775
3860
  declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn$1[]) => MiddlewareFn$1[];
3776
3861
  type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
3777
3862
  //#endregion
3778
- //#region src/keboola/bearer/createProjectClients.d.ts
3779
- /**
3780
- * Bearer (OAuth) project surface. Same handshake + assembly as the legacy build. The
3781
- * `Authorization: Bearer` header + transparent refresh come from the engine-shared `authMiddleware`
3782
- * (one instance for management + every project client). This build only adds the project-scoped
3783
- * `X-KBC-ProjectId` header, composed *outside* the auth middleware so the header is present
3784
- * before it clones the request for the 401 replay. Bearer has no static token header, so this
3785
- * combined `attach` rides on every client — including the operational storage and the bootstrap reader.
3786
- */
3787
- declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middlewareFor, clientServiceUrls }: {
3863
+ //#region src/keboola/legacy/createProjectClients.d.ts
3864
+ type Options$1 = {
3788
3865
  baseUrl: string;
3789
- authMiddleware: MiddlewareFn$1;
3790
- projectId: number;
3866
+ getStorageToken: () => string;
3867
+ onStorageTokenRefreshed: (token: string) => void;
3791
3868
  middlewareFor: MiddlewareFor;
3792
3869
  clientServiceUrls?: ServiceUrls;
3793
- }) => Promise<{
3870
+ };
3871
+ declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenRefreshed, middlewareFor, clientServiceUrls }: Options$1) => Promise<{
3794
3872
  context: ClientContext;
3795
3873
  serviceMeta: {
3796
3874
  clientName: string;
@@ -6801,6 +6879,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
6801
6879
  parameters: import("zod").ZodObject<{
6802
6880
  customerId: import("zod").ZodArray<import("zod").ZodString>;
6803
6881
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
6882
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
6804
6883
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
6805
6884
  }, import("zod/v4/core").$strip>;
6806
6885
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -7818,6 +7897,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
7818
7897
  parameters: import("zod").ZodObject<{
7819
7898
  customerId: import("zod").ZodArray<import("zod").ZodString>;
7820
7899
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
7900
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
7821
7901
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
7822
7902
  }, import("zod/v4/core").$strip>;
7823
7903
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -8829,6 +8909,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
8829
8909
  parameters: import("zod").ZodObject<{
8830
8910
  customerId: import("zod").ZodArray<import("zod").ZodString>;
8831
8911
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
8912
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
8832
8913
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
8833
8914
  }, import("zod/v4/core").$strip>;
8834
8915
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -9842,6 +9923,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
9842
9923
  parameters: import("zod").ZodObject<{
9843
9924
  customerId: import("zod").ZodArray<import("zod").ZodString>;
9844
9925
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
9926
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
9845
9927
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
9846
9928
  }, import("zod/v4/core").$strip>;
9847
9929
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -10859,6 +10941,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
10859
10941
  parameters: import("zod").ZodObject<{
10860
10942
  customerId: import("zod").ZodArray<import("zod").ZodString>;
10861
10943
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
10944
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
10862
10945
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
10863
10946
  }, import("zod/v4/core").$strip>;
10864
10947
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -11870,6 +11953,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
11870
11953
  parameters: import("zod").ZodObject<{
11871
11954
  customerId: import("zod").ZodArray<import("zod").ZodString>;
11872
11955
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
11956
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
11873
11957
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
11874
11958
  }, import("zod/v4/core").$strip>;
11875
11959
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -12885,6 +12969,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
12885
12969
  parameters: import("zod").ZodObject<{
12886
12970
  customerId: import("zod").ZodArray<import("zod").ZodString>;
12887
12971
  onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
12972
+ continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
12888
12973
  getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
12889
12974
  }, import("zod/v4/core").$strip>;
12890
12975
  }, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
@@ -13057,6 +13142,19 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
13057
13142
  replaceTargetProjects: (objectType: SemanticObjectType, objectUUID: string, targetProjectIds: number[]) => Promise<void>;
13058
13143
  promoteToOrganizationScope: (objectType: SemanticObjectType, objectUUID: string) => Promise<SemanticObject<Record<string, unknown>>>;
13059
13144
  };
13145
+ kaiMemory: {
13146
+ getItems: (signal?: AbortSignal) => Promise<KaiMemoryItem[]>;
13147
+ getItemsByStatus: (status: KaiMemoryStatus, signal?: AbortSignal) => Promise<KaiMemoryItem[]>;
13148
+ getItemsByStatusStrict: (status: KaiMemoryStatus, signal?: AbortSignal) => Promise<KaiMemoryItem[]>;
13149
+ getUnreadableItemIds: (signal?: AbortSignal) => Promise<string[]>;
13150
+ deleteUnreadableItem: (uuid: string) => Promise<void>;
13151
+ createItem: ({ content, chatId, createdBy }: {
13152
+ content: string;
13153
+ chatId: string;
13154
+ createdBy?: string;
13155
+ }, meta?: CreateKaiMemoryMeta) => Promise<KaiMemoryItem>;
13156
+ updateStatus: (uuid: string, status: KaiMemoryStatus, meta?: UpdateKaiMemoryMeta) => Promise<KaiMemoryItem>;
13157
+ };
13060
13158
  storage: {
13061
13159
  createTable: (input: CreateTableAsyncInput, options?: {
13062
13160
  interval?: number;
@@ -14881,6 +14979,9 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14881
14979
  } | null;
14882
14980
  ppuUsed: number | null;
14883
14981
  ppuPercentage: number | null;
14982
+ model: string | null;
14983
+ effort: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
14984
+ effectiveModel: string | null;
14884
14985
  messages: {
14885
14986
  id: string;
14886
14987
  role: 'user' | 'assistant';
@@ -14926,6 +15027,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14926
15027
  metadata?: {
14927
15028
  createdAt?: string;
14928
15029
  hidden?: boolean;
15030
+ autoForwarded?: boolean;
14929
15031
  requestContext?: {
14930
15032
  path?: string;
14931
15033
  sqlEditorActive?: boolean;
@@ -14961,32 +15063,16 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14961
15063
  stopChat: (chatId: string) => Promise<{
14962
15064
  stopped: boolean;
14963
15065
  }>;
14964
- prepareChat: (chatId: string, signal?: AbortSignal) => Promise<{
15066
+ prepareChat: (chatId: string, signal?: AbortSignal, body?: PrepareChatRequest) => Promise<{
14965
15067
  started: boolean;
14966
15068
  }>;
14967
15069
  getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
14968
- getAgentSettings: (signal?: AbortSignal) => Promise<{
14969
- projectId: string;
14970
- customInstructions: string | null;
14971
- createdAt: string;
14972
- updatedAt: string;
14973
- }>;
15070
+ getAgentSettings: (signal?: AbortSignal) => Promise<AgentSettings$1>;
14974
15071
  updateAgentSettings: (request: {
14975
15072
  customInstructions?: string | null;
14976
- }, signal?: AbortSignal) => Promise<{
14977
- projectId: string;
14978
- customInstructions: string | null;
14979
- createdAt: string;
14980
- updatedAt: string;
14981
- }>;
14982
- getUserAgentSettings: (signal?: AbortSignal) => Promise<{
14983
- projectId: string;
14984
- userId: string;
14985
- customInstructions: string | null;
14986
- toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
14987
- createdAt: string;
14988
- updatedAt: string;
14989
- }>;
15073
+ }, signal?: AbortSignal) => Promise<AgentSettings$1>;
15074
+ updateProjectToolPolicy: (toolPermissions: ProjectToolPolicy, signal?: AbortSignal) => Promise<AgentSettings$1>;
15075
+ getUserAgentSettings: (signal?: AbortSignal) => Promise<UserAgentSettings$1>;
14990
15076
  updateUserAgentSettings: (request: {
14991
15077
  customInstructions?: string | null;
14992
15078
  toolPermissions?: Record<string, import("zod").output<import("zod").ZodEnum<{
@@ -14994,14 +15080,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14994
15080
  always_ask: "always_ask";
14995
15081
  blocked: "blocked";
14996
15082
  }>>> | null;
14997
- }, signal?: AbortSignal) => Promise<{
14998
- projectId: string;
14999
- userId: string;
15000
- customInstructions: string | null;
15001
- toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
15002
- createdAt: string;
15003
- updatedAt: string;
15004
- }>;
15083
+ }, signal?: AbortSignal) => Promise<UserAgentSettings$1>;
15005
15084
  getSpendCaps: (signal?: AbortSignal) => Promise<SpendCapsView>;
15006
15085
  updateSpendCaps: (request: {
15007
15086
  projectCapPpu?: number | null;
@@ -15049,8 +15128,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
15049
15128
  metastore: {
15050
15129
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
15051
15130
  repository: {
15052
- getMetaObjects: <TData extends Record<string, unknown>>(input: GetMetaObjectsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
15053
- getMetaObjectRevisions: <TData extends Record<string, unknown>>(input: GetMetaObjectRevisionsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
15131
+ getMetaObjects: <TData extends Record<string, unknown>>({ query, ...path }: GetMetaObjectsInput, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
15132
+ getMetaObjectRevisions: <TData extends Record<string, unknown>>({ query, ...path }: GetMetaObjectRevisionsInput, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
15054
15133
  getMetaObject: <TData extends Record<string, unknown>>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData>>;
15055
15134
  createMetaObject: <TData extends Record<string, unknown>>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
15056
15135
  deleteMetaObject: (input: DeleteMetaObjectPath) => Promise<never>;
@@ -16071,6 +16150,28 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
16071
16150
  timeCompleted: string;
16072
16151
  }[]>;
16073
16152
  };
16153
+ flowMigration: {
16154
+ validate: (input: FlowMigrationInput, signal?: AbortSignal) => Promise<{
16155
+ orchestrationId: string;
16156
+ orchestrationName: string;
16157
+ valid: boolean;
16158
+ issues: string[];
16159
+ }[]>;
16160
+ preview: (input: FlowMigrationInput, signal?: AbortSignal) => Promise<{
16161
+ orchestrationId: string;
16162
+ orchestrationName: string;
16163
+ status: "dry-run" | "failed" | "skipped";
16164
+ issues: string[];
16165
+ changes: string[];
16166
+ error?: string | undefined;
16167
+ migratedConfiguration?: {
16168
+ [x: string]: unknown;
16169
+ phases?: unknown[] | undefined;
16170
+ tasks?: unknown[] | undefined;
16171
+ parameters?: unknown;
16172
+ } | undefined;
16173
+ }[]>;
16174
+ };
16074
16175
  git: {
16075
16176
  getBranches: (input: GetBranchesInput, signal?: AbortSignal) => Promise<{
16076
16177
  branch: string;
@@ -16092,6 +16193,39 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
16092
16193
  message?: string | undefined;
16093
16194
  }>;
16094
16195
  };
16196
+ oneDrive: {
16197
+ searchFiles: (input: OneDriveSearchFilesInput, signal?: AbortSignal) => Promise<{
16198
+ driveId: string;
16199
+ fileId: string;
16200
+ name: string;
16201
+ path: string | null;
16202
+ }[]>;
16203
+ getWorksheets: (input: OneDriveGetWorksheetsInput, signal?: AbortSignal) => Promise<{
16204
+ driveId: string;
16205
+ fileId: string;
16206
+ worksheetId: string;
16207
+ name: string;
16208
+ title: string;
16209
+ position: number;
16210
+ visible: boolean;
16211
+ }[]>;
16212
+ createWorkbook: (input: OneDriveCreateWorkbookInput, signal?: AbortSignal) => Promise<{
16213
+ driveId: string;
16214
+ fileId: string;
16215
+ }>;
16216
+ createWorksheet: (input: OneDriveCreateWorksheetInput, signal?: AbortSignal) => Promise<{
16217
+ driveId: string;
16218
+ fileId: string;
16219
+ worksheetId: string;
16220
+ }>;
16221
+ };
16222
+ sshKeys: {
16223
+ generate: (input: SyncActionContext, signal?: AbortSignal) => Promise<{
16224
+ status: "success";
16225
+ public: string;
16226
+ private: string;
16227
+ }>;
16228
+ };
16095
16229
  };
16096
16230
  telemetry: {
16097
16231
  healthCheck: (signal?: AbortSignal) => Promise<string>;
@@ -16132,123 +16266,91 @@ type KeboolaApi = ProjectClients & {
16132
16266
  };
16133
16267
  //#endregion
16134
16268
  //#region src/keboola/types.d.ts
16135
- type KeboolaOptions = {
16136
- baseUrl?: string;
16269
+ type ClientOptions = {
16137
16270
  middlewares?: Middlewares;
16138
16271
  clientServiceUrls?: ServiceUrls;
16139
- storage?: StorageAdapter;
16140
16272
  };
16141
- //#endregion
16142
- //#region src/keboola/bearer/createConfig.d.ts
16143
- type TokenSet = {
16144
- accessToken: string;
16145
- refreshToken: string;
16146
- expiresIn: number;
16147
- };
16148
- type Credential = TokenSet & {
16149
- issuedAt: number;
16150
- };
16151
- type State$1 = {
16152
- status: 'anonymous';
16153
- baseUrl: string | null;
16154
- } | {
16155
- status: 'authenticated';
16156
- baseUrl: string;
16157
- credential: Credential;
16158
- } | {
16159
- status: 'scoped';
16160
- baseUrl: string;
16161
- credential: Credential;
16162
- projectId: number;
16163
- };
16164
- //#endregion
16165
- //#region src/keboola/bearer/types.d.ts
16166
- type SessionSnapshot$1 = {
16167
- type: 'Bearer';
16168
- config: State$1;
16169
- authReady: boolean;
16170
- managementReady: boolean;
16171
- storage: AsyncState<unknown>['state'];
16273
+ type KeboolaOptions = ClientOptions & {
16274
+ /** The active stack from construction on, until `session.resume()` or `stack.select` moves it. */
16275
+ defaultBaseUrl: string;
16276
+ storage?: StorageAdapter;
16277
+ /**
16278
+ * The rotating credential to sign in with, default `token`. `cookie` needs `browserMode: true`
16279
+ * logins and the stack's own origin: the cookie is same-origin, and the backend checks `Origin`.
16280
+ */
16281
+ credentials?: CredentialMode;
16172
16282
  };
16173
- type RestoreResult = {
16174
- status: 'empty' | 'restored' | 'expired';
16283
+ type LegacyKeboolaOptions = ClientOptions & {
16284
+ /** The stack the legacy client talks to, fixed. */
16285
+ baseUrl?: string;
16175
16286
  };
16176
16287
  //#endregion
16177
16288
  //#region src/keboola/bearer/keboola.d.ts
16178
- declare const createKeboola: (options?: KeboolaOptions) => {
16179
- api: KeboolaApi;
16289
+ /**
16290
+ * The bearer client: the session table, its two scopes, and the surface they back.
16291
+ *
16292
+ * - Credential-derived state is owned by the scope whose end ends it (`perStack`, `perProject`).
16293
+ */
16294
+ declare const createKeboola: ({ defaultBaseUrl, storage, middlewares, clientServiceUrls, credentials: mode }: KeboolaOptions) => {
16295
+ getActiveApi: () => KeboolaApi;
16296
+ getApi: (projectId: ProjectId) => KeboolaApi;
16180
16297
  session: {
16181
- hasPersistedValue: () => boolean;
16182
- setBaseUrl: (baseUrl: string) => void;
16183
- isStorageReady: () => boolean;
16184
- authenticate: (tokens: TokenSet) => void;
16185
- setProject: (projectId: number) => void;
16186
- setProjectAsync: (projectId: number) => Promise<void>;
16187
- /**
16188
- * Leave the current project but stay signed in — the storage build returns to `idle`, so a
16189
- * consumer gating on it falls back to its project picker. The persisted session is rewritten with
16190
- * `projectId: null` by the subscription above, so a reload lands on the picker rather than
16191
- * re-entering the project. Use `reset` to sign out instead.
16192
- */
16193
- clearProject: () => void;
16194
- /**
16195
- * The clients for one project, off this session — for reaching a second project without leaving
16196
- * the first.
16197
- *
16198
- * - `setProjectAsync` *moves* the session (and `api`) to another project; this *adds* one. The
16199
- * returned set is the caller's to hold and never appears on `api`.
16200
- * - Every set shares this session's auth middleware, so one rotation serves all of them. A second
16201
- * `createKeboola()` does not: both hold the same single-use refresh token, and the first to
16202
- * rotate invalidates the other's, whose next refresh 401s and signs it out.
16203
- * - Independent of the scope, including for the scoped project itself — asking for that one
16204
- * builds a second set with its own `liveProject`, so prefer `api.*` there.
16205
- */
16206
- forProject: (projectId: number) => Promise<ProjectClients>;
16207
- reset: () => void;
16208
- /**
16209
- * Dev/test only: mark the current access token as expired so the bearer credential rotates it on
16210
- * the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
16211
- * the rotation immediately and observe the new credential.
16212
- */
16213
- debugForceRefresh: () => void;
16214
- /**
16215
- * The headers that authorize one off-client request, resolved fresh each call.
16216
- *
16217
- * - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
16218
- * holds. Anything with a service client on `api` should use that instead.
16219
- * - Returns the assembled bag, never the bare token: no caller handles the credential as a
16220
- * string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
16221
- * - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
16222
- * one is never re-sent. A snapshot held by the caller would do neither.
16223
- * - Throws rather than emitting a half-formed `Bearer null`: a session with no credential has
16224
- * nothing to authorize with.
16225
- * - Pinned to the sign-in it was called on, like every client here. This is the one
16226
- * credential-emitting surface with no middleware chain for the guard to sit in, so the check
16227
- * is written out around the `await` that rotates the token.
16228
- *
16229
- * `projectId` names the project the headers authorize, for a caller reaching a project the
16230
- * session is not scoped to:
16231
- *
16232
- * - **Omitted**, the session's own scope answers — unchanged, and re-read *after* the rotation
16233
- * rather than carried across it. The epoch the pin compares moves on a sign-in and a sign-out
16234
- * only, so a project switch mid-rotation is invisible to it.
16235
- * - **Given**, it is what the header says, and the scope is not consulted at all. A caller that
16236
- * names a project has said everything the request needs: the credential is user-level and the
16237
- * project is a header on top of it, so an authenticated session suffices where an unnamed call
16238
- * requires a scoped one. Nothing about the session can change the answer, so there is nothing
16239
- * to re-read after the `await`.
16240
- * - **Not checked against an access set**, because this session cannot acquire one:
16241
- * `forProject` — the only other surface taking a caller-supplied project id — records that
16242
- * connection collapses every bearer failure into a single `invalid_token` 401, so "no access
16243
- * to this project" and "revoked token" are the same response. Whether the caller may reach a
16244
- * project is the caller's own knowledge, from `token.introspect`. What is guaranteed here is
16245
- * that the header names what was asked for and never something else — which is the failure
16246
- * worth preventing: a turn sent somewhere the transcript above it did not come from.
16247
- */
16248
- getAuthHeaders: (projectId?: number) => Promise<Record<string, string>>;
16249
- restore: () => Promise<RestoreResult>;
16250
- subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
16251
- debug: () => SessionSnapshot$1;
16298
+ getState: () => State$1;
16299
+ subscribe: (listener: Listener<State$1>) => () => void;
16300
+ resume: () => Promise<"empty" | "expired" | "restored" | "unreachable">;
16301
+ stack: {
16302
+ getActive: () => Stack;
16303
+ select: (baseUrl: string) => Stack;
16304
+ close: (baseUrl: string) => Stack | null;
16305
+ retryContext: (id: string) => void;
16306
+ getContext: (baseUrl?: string) => StackInfo | null;
16307
+ getContextAsync: (baseUrl?: string) => Promise<StackInfo>;
16308
+ };
16309
+ project: {
16310
+ select: (projectId: number) => Project;
16311
+ close: (projectId: ProjectId) => Project | null;
16312
+ deactivate: () => void;
16313
+ retryContext: (id: `${string}#${number}`) => void;
16314
+ getContext: (id?: ProjectEntryId) => {
16315
+ token: Awaited<ReturnType<ReturnType<typeof createStorageClient>['tokens']['verify']>>;
16316
+ defaultBranch: ReturnType<typeof createDefaultBranch>;
16317
+ } | null;
16318
+ getContextAsync: (id?: ProjectEntryId) => Promise<{
16319
+ token: Awaited<ReturnType<ReturnType<typeof createStorageClient>['tokens']['verify']>>;
16320
+ defaultBranch: ReturnType<typeof createDefaultBranch>;
16321
+ }>;
16322
+ };
16323
+ auth: {
16324
+ authenticate: (input: {
16325
+ type: 'cookie';
16326
+ accessToken: string;
16327
+ sessionId: string;
16328
+ expiresIn: number;
16329
+ } | {
16330
+ type: 'static';
16331
+ accessToken: string;
16332
+ } | (Omit<TokenCredentialInput, "refreshToken"> & {
16333
+ refreshToken?: string | null;
16334
+ })) => Stack;
16335
+ replace: (input: {
16336
+ type: 'cookie';
16337
+ accessToken: string;
16338
+ sessionId: string;
16339
+ expiresIn: number;
16340
+ } | {
16341
+ type: 'static';
16342
+ accessToken: string;
16343
+ } | (Omit<TokenCredentialInput, "refreshToken"> & {
16344
+ refreshToken?: string | null;
16345
+ })) => Stack;
16346
+ adoptInjected: (input: TokenCredentialInput) => Stack;
16347
+ signOut: (baseUrl?: string | undefined) => Stack;
16348
+ /** Whether the active stack holds a credential — `restoring` is not one yet. */
16349
+ isAuthenticated: () => boolean;
16350
+ isAuthenticatedAsync: () => Promise<boolean>;
16351
+ rotate: (baseUrl: string) => Promise<string>;
16352
+ getHeaders: (projectId?: ProjectId) => Record<string, string>;
16353
+ };
16252
16354
  };
16253
16355
  };
16254
16356
  //#endregion
@@ -16269,7 +16371,7 @@ type SessionSnapshot = {
16269
16371
  };
16270
16372
  //#endregion
16271
16373
  //#region src/keboola/legacy/keboola.d.ts
16272
- declare const createLegacyKeboola: (options?: KeboolaOptions) => {
16374
+ declare const createLegacyKeboola: (options?: LegacyKeboolaOptions) => {
16273
16375
  api: KeboolaApi;
16274
16376
  session: {
16275
16377
  setBaseUrl: (baseUrl: string) => void;
@@ -16282,6 +16384,25 @@ declare const createLegacyKeboola: (options?: KeboolaOptions) => {
16282
16384
  };
16283
16385
  };
16284
16386
  //#endregion
16387
+ //#region src/keboola/bearer/persistor.d.ts
16388
+ /**
16389
+ * Where a bearer session is persisted, under whichever adapter the client was given.
16390
+ *
16391
+ * Exported because a consumer sometimes has to drop a session a client cannot reach: the adapter is
16392
+ * chosen at construction, so a client built without one holds no handle to the storage its own
16393
+ * session is sitting in. `AppAuthStrategy` in kbc-ui is that case.
16394
+ */
16395
+ declare const SESSION_STORAGE_KEY = "keboola:session";
16396
+ //#endregion
16397
+ //#region src/keboola/bearer/credentials/credentials.d.ts
16398
+ /**
16399
+ * What a boot-time restore found.
16400
+ *
16401
+ * - `expired`: the server refused the refresh token.
16402
+ * - `unreachable`: no answer; the stored token is still good — retry, never log in.
16403
+ */
16404
+ type RestoreStatus = 'restored' | 'expired' | 'unreachable' | 'empty';
16405
+ //#endregion
16285
16406
  //#region src/keboola/index.d.ts
16286
16407
  /** The bearer (OAuth) session surface, derived from the factory's return. */
16287
16408
  type BearerSession = ReturnType<typeof createKeboola>['session'];
@@ -16339,30 +16460,18 @@ declare const KeboolaHttpHeader: {
16339
16460
  readonly PROJECT_ID: 'X-KBC-ProjectId';
16340
16461
  /** Storage job a request enqueued, reported on the response rather than in its body. */
16341
16462
  readonly STORAGE_API_JOB_ID: 'X-StorageApi-Job-Id';
16463
+ /** Set to "1" to opt an auth call into browser/cookie mode. */
16464
+ readonly CSRF: 'X-KBC-CSRF';
16342
16465
  };
16343
16466
  //#endregion
16344
16467
  //#region src/domain/jobStatus.d.ts
16345
- /**
16346
- * A service's statuses as named constants — `SUCCESS: 'success'`.
16347
- *
16348
- * Keyed off the status type, so there is an entry per status and no more, and a spec that renames a
16349
- * status renames the key with it.
16350
- */
16468
+ /** A service's statuses as named constants — `SUCCESS: 'success'`. */
16351
16469
  type StatusNames<Status extends string> = { [K in Status as Uppercase<K>]: K; };
16352
16470
  /**
16353
- * Job statuses per service: `jobStatus.queue.isFailed(status)` is the question about one job,
16354
- * `jobStatus.queue.statuses.failed` the statuses behind it,
16355
- * `jobStatus.queue.named.ERROR` one of them by name.
16356
- *
16357
- * One entry per service, never one over the union: the vocabularies overlap by label — `processing`
16358
- * belongs to all three, `created` to queue and query — while which statuses exist and what each
16359
- * implies differ per service. A shared entry would take another service's status and answer by its
16360
- * rules.
16471
+ * Job statuses per service, e.g. `jobStatus.queue.isFailed(status)`.
16361
16472
  *
16362
- * - `storage` and `queue` describe a job; `query` describes a query job, not its statements. A
16363
- * statement has its own state, including a terminal `notExecuted` with no job-level equivalent.
16364
- * - Spread a group where an array is wanted — an API `status` filter, or a UI list that mixes job
16365
- * statuses with its own.
16473
+ * - Never merge services: labels overlap but their meaning differs.
16474
+ * - `query` covers the query job, not its statements (which have `notExecuted`).
16366
16475
  */
16367
16476
  declare const jobStatus: {
16368
16477
  storage: {
@@ -16427,16 +16536,6 @@ declare const jobStatus: {
16427
16536
  };
16428
16537
  };
16429
16538
  //#endregion
16430
- //#region src/clients/storage/bucketListings/utils.d.ts
16431
- /**
16432
- * The two halves of the `bigquery.subscribers` wire format: a GCP IAM principal, which the Storage
16433
- * spec documents as "prefixed with `user:` or `group:`". The write path uses `toBackendSubscribers`;
16434
- * reads hand back the raw `string[]`, so a consumer that renders or edits subscribers decodes with
16435
- * `fromBackendSubscribers` rather than re-deriving the prefix rule.
16436
- */
16437
- declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
16438
- declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
16439
- //#endregion
16440
16539
  //#region src/sdks/storage/storageSdk.d.ts
16441
16540
  type Options = {
16442
16541
  interval?: number;
@@ -17411,7 +17510,6 @@ type PrefixTagsOptions = {
17411
17510
  hasStorageBranches?: boolean;
17412
17511
  };
17413
17512
  declare const prefixTagsWithDevBranchId: (tags: string[], branchId?: number | string | null, options?: PrefixTagsOptions) => string[];
17414
- declare const removeBranchFromUrl: (url: string) => string;
17415
17513
  //#endregion
17416
17514
  //#region src/sdks/queryService/queryServiceSdk.d.ts
17417
17515
  type WaitForJobOptions = {
@@ -17495,5 +17593,5 @@ declare const createQueryServiceClient: ({ baseUrl, middlewares, auth }: ClientI
17495
17593
  exportResults: (queryJobId: GetQueryResultsPath['queryJobId'], statementId: GetQueryResultsPath['statementId'], query: GetExportResultsQuery, signal?: AbortSignal) => Promise<ExportResultsResponse>;
17496
17594
  };
17497
17595
  //#endregion
17498
- export { createDerivedStore as $, UserError as $t, LegacySession as A, delay as At, createStorageClient as B, KeboolaErrorType as Bt, LogLevel as C, poller as Ct, ResponseLog as D, PollResult as Dt, RequestLog as E, PollOptions as Et, ProjectClients as F, collect as Ft, createMemoryStorage as G, SyncActionError as Gt, createPersistor as H, ClientContext as Ht, RegisteredComponentId as I, coalesce as It, deepMerge as J, QueryJobTimeoutError as Jt, createNullStorage as K, isSyncActionError as Kt, registry as L, TaskFn as Lt, createKeboola as M, ConcurrentOptions as Mt, KeboolaOptions as N, concurrent as Nt, createLoggingMiddleware as O, PollTick as Ot, KeboolaApi as P, CollectOptions as Pt, createDerivedAsyncStore as Q, isQueryJobError as Qt, GenericFetchClient as R, assert as Rt, Log as S, poll as St, LoggingOptions as T, PollKey as Tt, StorageAdapter as U, isStorageTokenMutatingRequest as Ut, Persistor as V, isKeboolaError as Vt, createLocalStorage as W, createDefaultBranch as Wt, isPlainObject as X, readableReason as Xt, isEmptyDeep as Y, isQueryJobTimeoutError as Yt, AsyncState as Z, QueryJobError as Zt, toBackendSubscribers as _, Poller as _t, parseCurrentDevBranchIdFromUrl as a, Failure as at, RetryOptions as b, emitter as bt, removeBranchFromUrl as c, asError as ct, constructFQID as d, PollRegistry as dt, shallowEqual as et, parseFQID as f, createPollRegistry as ft, fromBackendSubscribers as g, PollTask as gt, createStorageSdk as h, PollState as ht, createQueryServiceSdk as i, generateUUID as it, createLegacyKeboola as j, dedupe as jt, BearerSession as k, lazy as kt, FQID_TYPES as l, series as lt, tableIdParser as m, PollSnapshot as mt, ExecuteQueryOptions as n, Store as nt, parseDevBranchId as o, Result as ot, parse as p, ObservedPoller as pt, createSessionStorage as q, ServiceUnavailableError as qt, WaitForJobOptions as r, createStore as rt, prefixTagsWithDevBranchId as s, Success as st, createQueryServiceClient as t, ReadableStore as tt, ParsedFQID as u, PollEntry as ut, jobStatus as v, PollerStartFn as vt, Logger as w, PollContext as wt, createRetryMiddleware as x, failureOf as xt, KeboolaHttpHeader as y, PollerStopFn as yt, StorageOpenApiFetchClient as z, KeboolaError as zt };
17499
- //# sourceMappingURL=index-CHXnJQ9s.d.cts.map
17596
+ export { StorageAdapter as $, ClientContext as $t, createLegacyKeboola as A, emitter as At, GenericFetchClient as B, delay as Bt, RequestLog as C, ObservedPoller as Ct, LegacySession as D, Poller as Dt, BearerSession as E, PollTask as Et, ProjectClients as F, PollKey as Ft, CredentialMode as G, collect as Gt, createStorageClient as H, ConcurrentOptions as Ht, RegisteredComponentId as I, PollOptions as It, Project as J, ensure as Jt, FetchStatus as K, coalesce as Kt, registry as L, PollResult as Lt, KeboolaOptions as M, poll as Mt, LegacyKeboolaOptions as N, poller as Nt, RestoreStatus as O, PollerStartFn as Ot, KeboolaApi as P, PollContext as Pt, createPersistor as Q, isKeboolaError as Qt, fromBackendSubscribers as R, PollTick as Rt, LoggingOptions as S, createPollRegistry as St, createLoggingMiddleware as T, PollState as Tt, Auth as U, concurrent as Ut, StorageOpenApiFetchClient as V, dedupe as Vt, BearerCredential as W, CollectOptions as Wt, State$1 as X, KeboolaError as Xt, Stack as Y, assert as Yt, Persistor as Z, KeboolaErrorType as Zt, RetryOptions as _, Success as _t, parseCurrentDevBranchIdFromUrl as a, QueryJobTimeoutError as an, isEmptyDeep as at, LogLevel as b, PollEntry as bt, FQID_TYPES as c, QueryJobError as cn, createDerivedAsyncStore as ct, parseFQID as d, ReadableStore as dt, isStorageTokenMutatingRequest as en, createLocalStorage as et, parse as f, Store as ft, KeboolaHttpHeader as g, Result as gt, jobStatus as h, Failure as ht, createQueryServiceSdk as i, ServiceUnavailableError as in, deepMerge as it, createKeboola as j, failureOf as jt, SESSION_STORAGE_KEY as k, PollerStopFn as kt, ParsedFQID as l, isQueryJobError as ln, createDerivedStore as lt, createStorageSdk as m, generateUUID as mt, ExecuteQueryOptions as n, SyncActionError as nn, createNullStorage as nt, parseDevBranchId as o, isQueryJobTimeoutError as on, isPlainObject as ot, tableIdParser as p, createStore as pt, Location as q, TaskFn as qt, WaitForJobOptions as r, isSyncActionError as rn, createSessionStorage as rt, prefixTagsWithDevBranchId as s, readableReason as sn, AsyncState as st, createQueryServiceClient as t, createDefaultBranch as tn, createMemoryStorage as tt, constructFQID as u, UserError as un, shallowEqual as ut, createRetryMiddleware as v, asError as vt, ResponseLog as w, PollSnapshot as wt, Logger as x, PollRegistry as xt, Log as y, series as yt, toBackendSubscribers as z, lazy as zt };
17597
+ //# sourceMappingURL=index-cWp_V6K5.d.cts.map