@keboola/api-client 32.0.0 → 33.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 (377) hide show
  1. package/AGENTS.md +80 -2
  2. package/API-SURFACE.md +4 -1
  3. package/CHANGELOG.md +222 -0
  4. package/dist/{ManagementClientAuthError-B-tyPlyG.cjs → ManagementClientAuthError-DqeXL8nv.cjs} +2 -2
  5. package/dist/{ManagementClientAuthError-B-tyPlyG.cjs.map → ManagementClientAuthError-DqeXL8nv.cjs.map} +1 -1
  6. package/dist/{ManagementClientAuthError-BAFNvOdf.js → ManagementClientAuthError-iKbBugKC.js} +2 -2
  7. package/dist/{ManagementClientAuthError-BAFNvOdf.js.map → ManagementClientAuthError-iKbBugKC.js.map} +1 -1
  8. package/dist/ai/index.cjs +2 -2
  9. package/dist/ai/index.d.cts +2 -2
  10. package/dist/ai/index.d.ts +2 -2
  11. package/dist/ai/index.js +2 -2
  12. package/dist/ai/types.d.cts +1 -1
  13. package/dist/ai/types.d.ts +1 -1
  14. package/dist/{appLogs-DTLE6HTy.js → appLogs-D72eD8vP.js} +2 -2
  15. package/dist/{appLogs-DTLE6HTy.js.map → appLogs-D72eD8vP.js.map} +1 -1
  16. package/dist/{appLogs-NIEDTDHf.cjs → appLogs-D8K0VeNM.cjs} +2 -2
  17. package/dist/{appLogs-NIEDTDHf.cjs.map → appLogs-D8K0VeNM.cjs.map} +1 -1
  18. package/dist/{appLogs-BAaaGYKg.d.cts → appLogs-Q4A7A_Fc.d.cts} +2 -2
  19. package/dist/{appLogs-DX_WTBCa.d.ts → appLogs-u0XMZLjS.d.ts} +2 -2
  20. package/dist/apps/index.cjs +3 -3
  21. package/dist/apps/index.d.cts +3 -3
  22. package/dist/apps/index.d.ts +3 -3
  23. package/dist/apps/index.js +3 -3
  24. package/dist/apps/types.d.cts +2 -2
  25. package/dist/apps/types.d.ts +2 -2
  26. package/dist/assets/index.cjs +1 -1
  27. package/dist/assets/index.d.cts +1 -1
  28. package/dist/assets/index.d.ts +1 -1
  29. package/dist/assets/index.js +1 -1
  30. package/dist/auth/index.cjs +1 -1
  31. package/dist/auth/index.d.cts +1 -1
  32. package/dist/auth/index.d.ts +1 -1
  33. package/dist/auth/index.js +1 -1
  34. package/dist/auth/types.d.cts +2 -2
  35. package/dist/auth/types.d.ts +2 -2
  36. package/dist/{auth-DP-6TFiM.cjs → auth-C2_JLisH.cjs} +2 -2
  37. package/dist/{auth-DP-6TFiM.cjs.map → auth-C2_JLisH.cjs.map} +1 -1
  38. package/dist/{auth-DtbQaeDj.js → auth-CE9rQV3-.js} +2 -2
  39. package/dist/{auth-DtbQaeDj.js.map → auth-CE9rQV3-.js.map} +1 -1
  40. package/dist/{authClient--BtZgjIc.js → authClient-DEyqR7GW.js} +43 -9
  41. package/dist/authClient-DEyqR7GW.js.map +1 -0
  42. package/dist/{authClient-DhfzOUaa.d.cts → authClient-DZ_8lvdJ.d.cts} +6 -6
  43. package/dist/{authClient-CtfyVHRD.d.ts → authClient-DwT6xdg5.d.ts} +6 -6
  44. package/dist/{authClient-b7uec7sw.cjs → authClient-IwQ9Ti0J.cjs} +43 -9
  45. package/dist/authClient-IwQ9Ti0J.cjs.map +1 -0
  46. package/dist/chat/index.cjs +3 -3
  47. package/dist/chat/index.d.cts +2 -2
  48. package/dist/chat/index.d.ts +2 -2
  49. package/dist/chat/index.js +3 -3
  50. package/dist/chat/types.d.cts +1 -1
  51. package/dist/chat/types.d.ts +1 -1
  52. package/dist/{createFetchClient-BbG46bL0.js → createFetchClient-DdyZMhxO.js} +3 -2
  53. package/dist/{createFetchClient-BbG46bL0.js.map → createFetchClient-DdyZMhxO.js.map} +1 -1
  54. package/dist/{createFetchClient-BRfTjBLV.cjs → createFetchClient-DvZvD31l.cjs} +8 -1
  55. package/dist/{createFetchClient-BRfTjBLV.cjs.map → createFetchClient-DvZvD31l.cjs.map} +1 -1
  56. package/dist/{createGenericFetchClient-BHYQLZhe.js → createGenericFetchClient-MQeLRiNW.js} +2 -2
  57. package/dist/{createGenericFetchClient-BHYQLZhe.js.map → createGenericFetchClient-MQeLRiNW.js.map} +1 -1
  58. package/dist/{createGenericFetchClient-DHs-i7_O.cjs → createGenericFetchClient-qfCZlCTv.cjs} +2 -2
  59. package/dist/{createGenericFetchClient-DHs-i7_O.cjs.map → createGenericFetchClient-qfCZlCTv.cjs.map} +1 -1
  60. package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs → createOpenapiFetchClient-C57Ljzi6.cjs} +2 -2
  61. package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs.map → createOpenapiFetchClient-C57Ljzi6.cjs.map} +1 -1
  62. package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js → createOpenapiFetchClient-E7OIVkYv.js} +2 -2
  63. package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js.map → createOpenapiFetchClient-E7OIVkYv.js.map} +1 -1
  64. package/dist/{credential-d2RDcXRB.js → credential-Bxv7yxOZ.js} +7 -4
  65. package/dist/credential-Bxv7yxOZ.js.map +1 -0
  66. package/dist/{credential-DOXH7XRS.cjs → credential-D-X5QQrM.cjs} +7 -4
  67. package/dist/credential-D-X5QQrM.cjs.map +1 -0
  68. package/dist/dataScience/index.cjs +2 -2
  69. package/dist/dataScience/index.d.cts +2 -2
  70. package/dist/dataScience/index.d.ts +2 -2
  71. package/dist/dataScience/index.js +2 -2
  72. package/dist/dataScience/types.d.cts +2 -2
  73. package/dist/dataScience/types.d.ts +2 -2
  74. package/dist/{dataScience-wexHEIue.cjs → dataScience-BPW993AG.cjs} +5 -5
  75. package/dist/{dataScience-wexHEIue.cjs.map → dataScience-BPW993AG.cjs.map} +1 -1
  76. package/dist/{dataScience-Sm8iONhP.js → dataScience-B_TA7wCB.js} +5 -5
  77. package/dist/{dataScience-Sm8iONhP.js.map → dataScience-B_TA7wCB.js.map} +1 -1
  78. package/dist/developerPortal/index.cjs +1 -1
  79. package/dist/developerPortal/index.d.cts +2 -2
  80. package/dist/developerPortal/index.d.ts +2 -2
  81. package/dist/developerPortal/index.js +1 -1
  82. package/dist/developerPortal/types.d.cts +1 -1
  83. package/dist/developerPortal/types.d.ts +1 -1
  84. package/dist/{developerPortalClient-CgTSzLoG.cjs → developerPortalClient-Db2XVB_o.cjs} +3 -3
  85. package/dist/{developerPortalClient-CgTSzLoG.cjs.map → developerPortalClient-Db2XVB_o.cjs.map} +1 -1
  86. package/dist/{developerPortalClient-DywKpDlW.js → developerPortalClient-jk46sjwP.js} +3 -3
  87. package/dist/{developerPortalClient-DywKpDlW.js.map → developerPortalClient-jk46sjwP.js.map} +1 -1
  88. package/dist/domain/permissions/index.d.cts +2 -2
  89. package/dist/domain/permissions/index.d.ts +2 -2
  90. package/dist/editor/index.cjs +2 -2
  91. package/dist/editor/index.d.cts +2 -2
  92. package/dist/editor/index.d.ts +2 -2
  93. package/dist/editor/index.js +2 -2
  94. package/dist/editor/types.d.cts +1 -1
  95. package/dist/editor/types.d.ts +1 -1
  96. package/dist/emitter-dLF1Fyfg.d.cts +11 -0
  97. package/dist/emitter-dLF1Fyfg.d.ts +11 -0
  98. package/dist/encryption/index.cjs +1 -1
  99. package/dist/encryption/index.d.cts +1 -1
  100. package/dist/encryption/index.d.ts +1 -1
  101. package/dist/encryption/index.js +1 -1
  102. package/dist/encryption/types.d.cts +1 -1
  103. package/dist/encryption/types.d.ts +1 -1
  104. package/dist/import/index.cjs +1 -1
  105. package/dist/import/index.d.cts +3 -3
  106. package/dist/import/index.d.ts +3 -3
  107. package/dist/import/index.js +1 -1
  108. package/dist/{import-SQuurg1G.js → import-2nqxQ9Rt.js} +3 -3
  109. package/dist/{import-SQuurg1G.js.map → import-2nqxQ9Rt.js.map} +1 -1
  110. package/dist/{import-C0-y1GQK.cjs → import-DJilJ6tq.cjs} +3 -3
  111. package/dist/{import-C0-y1GQK.cjs.map → import-DJilJ6tq.cjs.map} +1 -1
  112. package/dist/{index-FhKX7Cv1.d.ts → index-B0V1pJAa.d.ts} +241 -200
  113. package/dist/{index-Bg1P6Bb2.d.ts → index-B2OGaUap.d.ts} +6 -6
  114. package/dist/{index-Dbzjvy5h.d.ts → index-BjKjp3Rf.d.ts} +5 -5
  115. package/dist/{index-DeKPpYQy.d.ts → index-C7gxKoDF.d.cts} +3 -3
  116. package/dist/{index-D_7yCRKy.d.cts → index-CTd4YY8e.d.cts} +4 -4
  117. package/dist/{index-DiHHyMEo.d.cts → index-CUXEFQ7i.d.cts} +6 -6
  118. package/dist/{index-eAlN694c.d.cts → index-CVqk63at.d.ts} +3 -3
  119. package/dist/{index-Bc_hXWae.d.ts → index-C_cxKL1V.d.ts} +3 -3
  120. package/dist/{index-tKsiUarj.d.ts → index-ChMtULt4.d.ts} +4 -4
  121. package/dist/{index-Gn1H63Hk.d.cts → index-DCN2lH0v.d.cts} +4 -4
  122. package/dist/{index-Bjk-tCpG.d.cts → index-DIVvL54G.d.cts} +241 -200
  123. package/dist/{index-C7e3wBt9.d.cts → index-DLYAvSWZ.d.cts} +3 -3
  124. package/dist/{index-fHfc_VqS.d.ts → index-DQef014j.d.ts} +4 -4
  125. package/dist/{index-CeJOmN-P.d.ts → index-DVhTNwvu.d.ts} +3 -2
  126. package/dist/{index-CQrKS7PV.d.cts → index-DhVFuQDv.d.cts} +3 -2
  127. package/dist/{index-Ctqkm3Fx.d.ts → index-GNKwr7EQ.d.ts} +4 -4
  128. package/dist/{index-GDdFZCXp.d.ts → index-bB6wvw1f.d.ts} +4 -4
  129. package/dist/{index-BKh0prif.d.cts → index-exNi3I2Q.d.cts} +4 -4
  130. package/dist/{index-CXtdQ7be.d.cts → index-qOK5FtAH.d.cts} +4 -4
  131. package/dist/{index-DqOAjqxN.d.cts → index-t-a7kYnx.d.cts} +5 -5
  132. package/dist/index.cjs +303 -47
  133. package/dist/index.cjs.map +1 -1
  134. package/dist/index.d.cts +7 -6
  135. package/dist/index.d.ts +7 -6
  136. package/dist/index.js +285 -30
  137. package/dist/index.js.map +1 -1
  138. package/dist/{jobStatus-kQ9JqF8t.cjs → jobStatus-0_Y3Sr4i.cjs} +37 -20
  139. package/dist/jobStatus-0_Y3Sr4i.cjs.map +1 -0
  140. package/dist/{jobStatus-DbMupQEK.js → jobStatus-PSZJMTiA.js} +35 -18
  141. package/dist/jobStatus-PSZJMTiA.js.map +1 -0
  142. package/dist/kaiAgent/index.cjs +1 -1
  143. package/dist/kaiAgent/index.d.cts +2 -210
  144. package/dist/kaiAgent/index.d.ts +2 -210
  145. package/dist/kaiAgent/index.js +1 -1
  146. package/dist/kaiAgent/types.d.cts +1 -1
  147. package/dist/kaiAgent/types.d.ts +1 -1
  148. package/dist/{kaiAgent-4OiIK1C2.cjs → kaiAgent-CMVub6Sc.cjs} +48 -4
  149. package/dist/kaiAgent-CMVub6Sc.cjs.map +1 -0
  150. package/dist/{kaiAgent-HDaFS9BR.js → kaiAgent-CYYn0QJW.js} +48 -4
  151. package/dist/kaiAgent-CYYn0QJW.js.map +1 -0
  152. package/dist/kaiAgentClient-B2O0DF4d.d.ts +249 -0
  153. package/dist/kaiAgentClient-iCFR2tRU.d.cts +249 -0
  154. package/dist/management/index.cjs +1 -1
  155. package/dist/management/index.d.cts +1 -1
  156. package/dist/management/index.d.ts +1 -1
  157. package/dist/management/index.js +1 -1
  158. package/dist/management/types.d.cts +1 -1
  159. package/dist/management/types.d.ts +1 -1
  160. package/dist/{management-DfjwQo7z.cjs → management-DGfgKsaA.cjs} +5 -5
  161. package/dist/{management-DfjwQo7z.cjs.map → management-DGfgKsaA.cjs.map} +1 -1
  162. package/dist/{management-CIFhu1Nm.js → management-DNEKhR6a.js} +5 -5
  163. package/dist/{management-CIFhu1Nm.js.map → management-DNEKhR6a.js.map} +1 -1
  164. package/dist/metastore/index.cjs +1 -1
  165. package/dist/metastore/index.d.cts +1 -1
  166. package/dist/metastore/index.d.ts +1 -1
  167. package/dist/metastore/index.js +1 -1
  168. package/dist/metastore/types.d.cts +1 -1
  169. package/dist/metastore/types.d.ts +1 -1
  170. package/dist/{metastore-CrXkKufo.js → metastore-CjwktHvw.js} +4 -4
  171. package/dist/{metastore-CrXkKufo.js.map → metastore-CjwktHvw.js.map} +1 -1
  172. package/dist/{metastore-Dq2NS6jb.cjs → metastore-DksEte8P.cjs} +4 -4
  173. package/dist/{metastore-Dq2NS6jb.cjs.map → metastore-DksEte8P.cjs.map} +1 -1
  174. package/dist/microsoftGraph/index.cjs +2 -2
  175. package/dist/microsoftGraph/index.d.cts +2 -2
  176. package/dist/microsoftGraph/index.d.ts +2 -2
  177. package/dist/microsoftGraph/index.js +2 -2
  178. package/dist/microsoftGraph/types.d.cts +1 -1
  179. package/dist/microsoftGraph/types.d.ts +1 -1
  180. package/dist/notifications/index.cjs +3 -3
  181. package/dist/notifications/index.d.cts +2 -2
  182. package/dist/notifications/index.d.ts +2 -2
  183. package/dist/notifications/index.js +3 -3
  184. package/dist/notifications/types.d.cts +1 -1
  185. package/dist/notifications/types.d.ts +1 -1
  186. package/dist/oauth/index.cjs +1 -1
  187. package/dist/oauth/index.d.cts +2 -2
  188. package/dist/oauth/index.d.ts +2 -2
  189. package/dist/oauth/index.js +1 -1
  190. package/dist/oauth/types.d.cts +1 -1
  191. package/dist/oauth/types.d.ts +1 -1
  192. package/dist/{oauth-CFwSNz37.js → oauth-Bg5zro5S.js} +5 -5
  193. package/dist/{oauth-CFwSNz37.js.map → oauth-Bg5zro5S.js.map} +1 -1
  194. package/dist/{oauth-CkW5gln-.cjs → oauth-DFsI1TE5.cjs} +5 -5
  195. package/dist/{oauth-CkW5gln-.cjs.map → oauth-DFsI1TE5.cjs.map} +1 -1
  196. package/dist/omnisearch/index.cjs +2 -2
  197. package/dist/omnisearch/index.d.cts +2 -2
  198. package/dist/omnisearch/index.d.ts +2 -2
  199. package/dist/omnisearch/index.js +2 -2
  200. package/dist/omnisearch/types.d.cts +1 -1
  201. package/dist/omnisearch/types.d.ts +1 -1
  202. package/dist/{project-BOGaVs-q.d.ts → project-Bh954iOA.d.ts} +2 -2
  203. package/dist/{project-BnQkL8cb.d.cts → project-D25GH8zK.d.cts} +2 -2
  204. package/dist/queryService/index.cjs +1 -1
  205. package/dist/queryService/index.d.cts +1 -1
  206. package/dist/queryService/index.d.ts +1 -1
  207. package/dist/queryService/index.js +1 -1
  208. package/dist/queryService/types.d.cts +1 -1
  209. package/dist/queryService/types.d.ts +1 -1
  210. package/dist/{queryService-BLaGbpm-.cjs → queryService--t_W9PSJ.cjs} +6 -6
  211. package/dist/{queryService-BLaGbpm-.cjs.map → queryService--t_W9PSJ.cjs.map} +1 -1
  212. package/dist/{queryService-DK-jUnET.js → queryService-DX6zeAs_.js} +6 -6
  213. package/dist/{queryService-DK-jUnET.js.map → queryService-DX6zeAs_.js.map} +1 -1
  214. package/dist/queue/index.cjs +1 -1
  215. package/dist/queue/index.d.cts +3 -3
  216. package/dist/queue/index.d.ts +3 -3
  217. package/dist/queue/index.js +1 -1
  218. package/dist/queue/types.d.cts +1 -1
  219. package/dist/queue/types.d.ts +1 -1
  220. package/dist/{queue-B7TY4JLf.cjs → queue-D1_TCe0z.cjs} +5 -5
  221. package/dist/{queue-B7TY4JLf.cjs.map → queue-D1_TCe0z.cjs.map} +1 -1
  222. package/dist/{queue-DViSQ-eq.js → queue-DrLUbk98.js} +5 -5
  223. package/dist/{queue-DViSQ-eq.js.map → queue-DrLUbk98.js.map} +1 -1
  224. package/dist/scheduler/index.cjs +3 -3
  225. package/dist/scheduler/index.d.cts +2 -2
  226. package/dist/scheduler/index.d.ts +2 -2
  227. package/dist/scheduler/index.js +3 -3
  228. package/dist/scheduler/types.d.cts +1 -1
  229. package/dist/scheduler/types.d.ts +1 -1
  230. package/dist/sdk/configurations/index.d.cts +4 -4
  231. package/dist/sdk/configurations/index.d.ts +4 -4
  232. package/dist/sdk/developerPortal/index.cjs +5 -5
  233. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  234. package/dist/sdk/developerPortal/index.d.cts +5 -4
  235. package/dist/sdk/developerPortal/index.d.ts +5 -4
  236. package/dist/sdk/developerPortal/index.js +4 -4
  237. package/dist/sdk/queryService/index.cjs +1 -1
  238. package/dist/sdk/queryService/index.d.cts +1 -1
  239. package/dist/sdk/queryService/index.d.ts +1 -1
  240. package/dist/sdk/queryService/index.js +1 -1
  241. package/dist/sdk/semanticLayer/index.cjs +163 -74
  242. package/dist/sdk/semanticLayer/index.cjs.map +1 -1
  243. package/dist/sdk/semanticLayer/index.d.cts +16 -13
  244. package/dist/sdk/semanticLayer/index.d.ts +16 -13
  245. package/dist/sdk/semanticLayer/index.js +158 -75
  246. package/dist/sdk/semanticLayer/index.js.map +1 -1
  247. package/dist/sdk/semanticLayer/types.d.cts +2 -2
  248. package/dist/sdk/semanticLayer/types.d.ts +2 -2
  249. package/dist/sdk/storage/index.d.cts +1 -1
  250. package/dist/sdk/storage/index.d.ts +1 -1
  251. package/dist/sdk/tag/index.d.cts +2 -2
  252. package/dist/sdk/tag/index.d.ts +2 -2
  253. package/dist/sdk/tag/types.d.cts +1 -1
  254. package/dist/sdk/tag/types.d.ts +1 -1
  255. package/dist/sdk/vault/index.d.cts +1 -1
  256. package/dist/sdk/vault/index.d.ts +1 -1
  257. package/dist/status/index.cjs +1 -1
  258. package/dist/status/index.d.cts +1 -1
  259. package/dist/status/index.d.ts +1 -1
  260. package/dist/status/index.js +1 -1
  261. package/dist/storage/index.cjs +4 -4
  262. package/dist/storage/index.d.cts +2 -2
  263. package/dist/storage/index.d.ts +2 -2
  264. package/dist/storage/index.js +4 -4
  265. package/dist/storage/types.d.cts +2 -2
  266. package/dist/storage/types.d.ts +2 -2
  267. package/dist/{storage-kgxscFEg.js → storage--cVaecFq.js} +7 -7
  268. package/dist/{storage-kgxscFEg.js.map → storage--cVaecFq.js.map} +1 -1
  269. package/dist/{storage-CihHwZ7z.cjs → storage-DexWot8H.cjs} +7 -7
  270. package/dist/{storage-CihHwZ7z.cjs.map → storage-DexWot8H.cjs.map} +1 -1
  271. package/dist/store-C9FQCHGe.js +74 -0
  272. package/dist/store-C9FQCHGe.js.map +1 -0
  273. package/dist/store-xS-Cu_VS.cjs +85 -0
  274. package/dist/store-xS-Cu_VS.cjs.map +1 -0
  275. package/dist/stream/index.cjs +3 -3
  276. package/dist/stream/index.d.cts +2 -2
  277. package/dist/stream/index.d.ts +2 -2
  278. package/dist/stream/index.js +3 -3
  279. package/dist/stream/types.d.cts +1 -1
  280. package/dist/stream/types.d.ts +1 -1
  281. package/dist/syncActions/index.cjs +1 -1
  282. package/dist/syncActions/index.d.cts +1 -1
  283. package/dist/syncActions/index.d.ts +1 -1
  284. package/dist/syncActions/index.js +1 -1
  285. package/dist/syncActions/types.d.cts +1 -1
  286. package/dist/syncActions/types.d.ts +1 -1
  287. package/dist/{syncActions-B75t0NwP.js → syncActions-CkMHM-jB.js} +5 -5
  288. package/dist/{syncActions-B75t0NwP.js.map → syncActions-CkMHM-jB.js.map} +1 -1
  289. package/dist/{syncActions-CevF_TEb.cjs → syncActions-DQq_A9v6.cjs} +5 -5
  290. package/dist/{syncActions-CevF_TEb.cjs.map → syncActions-DQq_A9v6.cjs.map} +1 -1
  291. package/dist/telemetry/index.cjs +1 -1
  292. package/dist/telemetry/index.d.cts +2 -2
  293. package/dist/telemetry/index.d.ts +2 -2
  294. package/dist/telemetry/index.js +1 -1
  295. package/dist/{telemetry-DwlSLVAU.cjs → telemetry-CAu1Qt7B.cjs} +3 -3
  296. package/dist/{telemetry-DwlSLVAU.cjs.map → telemetry-CAu1Qt7B.cjs.map} +1 -1
  297. package/dist/{telemetry-FXpodtJN.js → telemetry-Ca6j0i9w.js} +3 -3
  298. package/dist/{telemetry-FXpodtJN.js.map → telemetry-Ca6j0i9w.js.map} +1 -1
  299. package/dist/{types-CGH_lfxS.d.cts → types-0xa_7cgo.d.cts} +2 -2
  300. package/dist/{types-CyiRYRVq.d.cts → types-3p0adMdd.d.cts} +3 -3
  301. package/dist/{types-BlCoTm7n.d.ts → types-6ThDkaJw.d.ts} +2 -2
  302. package/dist/{types-CkcMoXRk.d.ts → types-6hh_3SZs.d.ts} +3 -3
  303. package/dist/{types-dybUhlU2.d.ts → types-6ku2LeX6.d.ts} +2 -2
  304. package/dist/{types-BH9ljNmj.d.cts → types-B42HhyB0.d.cts} +2 -2
  305. package/dist/{types-C1vhYcic.d.cts → types-B4_MM5Wf.d.cts} +2 -2
  306. package/dist/{types-DlbiVsVo.d.cts → types-B6JJCta-.d.cts} +2 -2
  307. package/dist/{types-sVYo0o9_.d.ts → types-B6lOyHY_.d.ts} +3 -3
  308. package/dist/{types-BZBdLUpH.d.ts → types-B7O5koJb.d.cts} +2 -2
  309. package/dist/{types-De_DA2ga.d.ts → types-BHI8Lin9.d.ts} +2 -2
  310. package/dist/{types-Cj4bLPp5.d.cts → types-BO3sCD0a.d.cts} +37 -6
  311. package/dist/{types-zA3H84SM.d.cts → types-BOnf68s5.d.cts} +2 -2
  312. package/dist/{types-CPanB0p7.d.cts → types-BS5M67xm.d.cts} +3 -3
  313. package/dist/{types-COIsNoTQ.d.cts → types-BT46XIgn.d.cts} +2 -2
  314. package/dist/types-BUYqdN7B.d.ts +205 -0
  315. package/dist/{types-D-qI9ne4.d.ts → types-BYKHr5bR.d.ts} +2 -2
  316. package/dist/{types-D1uloiuY.d.cts → types-Be3Wgn1U.d.cts} +2 -2
  317. package/dist/{types-BTbczawY.d.ts → types-BgVKG4vg.d.ts} +2 -2
  318. package/dist/{types-CyHZ1ZQe.d.ts → types-C2gzqtjf.d.ts} +2 -2
  319. package/dist/{types-Av2egS_l.d.ts → types-C35GWNmq.d.ts} +2 -2
  320. package/dist/{types-D6jKxUv_.d.ts → types-C4mr0lop.d.ts} +35 -3
  321. package/dist/{types-BI2jI-3-.d.cts → types-CCr1-9Q6.d.cts} +3 -3
  322. package/dist/{types-DeSd3gqW.d.ts → types-CHCM9oNk.d.ts} +3 -3
  323. package/dist/{types-BMQW-2Yw.d.ts → types-CNQdtffE.d.ts} +729 -79
  324. package/dist/{types-MbcIiKDI.d.cts → types-CPaluTW7.d.cts} +3 -3
  325. package/dist/{types-CXTqFYah.d.ts → types-CSc8NQCY.d.ts} +37 -6
  326. package/dist/{types-Cz1dj_TM.d.ts → types-C_ilZZkQ.d.ts} +2 -2
  327. package/dist/{types-EJEoI3ZK.d.ts → types-CaMfshWX.d.ts} +2 -2
  328. package/dist/{types-BoV9M5Xg.d.cts → types-Ccgbipp4.d.cts} +2 -2
  329. package/dist/{types-DuiUN0h8.d.ts → types-Cpjk0-ta.d.ts} +2 -2
  330. package/dist/{types-GuWtMCMn.d.cts → types-CrH4H8M4.d.cts} +2 -2
  331. package/dist/{types-DNXC_-fA.d.cts → types-Cu-0LT4f.d.cts} +2 -2
  332. package/dist/{types-BptQ7jpP.d.cts → types-CxmV36rp.d.cts} +2 -2
  333. package/dist/{types-DwpRt3e9.d.ts → types-D-98DirB.d.ts} +2 -2
  334. package/dist/{types-BV2BDccJ.d.cts → types-D6ocCyGh.d.cts} +35 -3
  335. package/dist/{types-COc-nind.d.cts → types-D7Wgcp0u.d.ts} +2 -2
  336. package/dist/{types-ByWD2oeV.d.ts → types-DAzmGzlb.d.ts} +2 -2
  337. package/dist/{types-BREGN3qo.d.cts → types-DHI0g51U.d.cts} +2 -2
  338. package/dist/{types-Dfc58bPE.d.ts → types-DHqIJKwx.d.ts} +2 -2
  339. package/dist/types-DONxb2-c.d.cts +205 -0
  340. package/dist/{types-Di8VIZwQ.d.ts → types-DTTC70Ac.d.ts} +2 -2
  341. package/dist/{types-C2CLlR4i.d.ts → types-DlvZeert.d.ts} +2 -2
  342. package/dist/{types-cDU_J45_.d.cts → types-DqniGeDJ.d.cts} +2 -2
  343. package/dist/{types-iNlsdRkx.d.cts → types-E3VT-zYz.d.cts} +729 -79
  344. package/dist/{types-B4jdPHoL.d.cts → types-Jt0ipbSm.d.cts} +2 -2
  345. package/dist/{types-Bpnpa2Wt.d.ts → types-Ur37iOqb.d.ts} +3 -3
  346. package/dist/{types-BnaAo7xn.d.ts → types-ZGAWRIBW.d.ts} +2 -2
  347. package/dist/{types-CvkqEvhv.d.cts → types-bY6K3y0O.d.cts} +2 -2
  348. package/dist/{types-CpALS017.d.ts → types-k4R8gQ4U.d.ts} +2 -2
  349. package/dist/{types-CcuG9cid.d.cts → types-sO52qIAA.d.cts} +2 -2
  350. package/dist/{types-CJHi0zdD.d.cts → types-sp1rJY9E.d.cts} +2 -2
  351. package/dist/{validateConnectionStatus-V9q6Nl6u.cjs → validateConnectionStatus-24zqIQ0p.cjs} +2 -2
  352. package/dist/{validateConnectionStatus-V9q6Nl6u.cjs.map → validateConnectionStatus-24zqIQ0p.cjs.map} +1 -1
  353. package/dist/{validateConnectionStatus-BrLXkoSI.js → validateConnectionStatus-DhkWg6Eq.js} +2 -2
  354. package/dist/{validateConnectionStatus-BrLXkoSI.js.map → validateConnectionStatus-DhkWg6Eq.js.map} +1 -1
  355. package/dist/vault/index.cjs +4 -4
  356. package/dist/vault/index.d.cts +1 -1
  357. package/dist/vault/index.d.ts +1 -1
  358. package/dist/vault/index.js +4 -4
  359. package/dist/vault/types.d.cts +1 -1
  360. package/dist/vault/types.d.ts +1 -1
  361. package/package.json +2 -2
  362. package/surface/auth.md +2 -2
  363. package/surface/kaiAgent.md +5 -2
  364. package/dist/authClient--BtZgjIc.js.map +0 -1
  365. package/dist/authClient-b7uec7sw.cjs.map +0 -1
  366. package/dist/createStore-BNiCRQXa.js +0 -148
  367. package/dist/createStore-BNiCRQXa.js.map +0 -1
  368. package/dist/createStore-MQbboXcB.cjs +0 -177
  369. package/dist/createStore-MQbboXcB.cjs.map +0 -1
  370. package/dist/credential-DOXH7XRS.cjs.map +0 -1
  371. package/dist/credential-d2RDcXRB.js.map +0 -1
  372. package/dist/jobStatus-DbMupQEK.js.map +0 -1
  373. package/dist/jobStatus-kQ9JqF8t.cjs.map +0 -1
  374. package/dist/kaiAgent-4OiIK1C2.cjs.map +0 -1
  375. package/dist/kaiAgent-HDaFS9BR.js.map +0 -1
  376. package/dist/types-B2vmg_UF.d.cts +0 -148
  377. package/dist/types-RfaldD4P.d.ts +0 -148
@@ -1,38 +1,40 @@
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-BnaAo7xn.js";
2
- import { C as ApiResponse, T as MiddlewareFn$1, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient, w as HttpMethod } from "./index-CeJOmN-P.js";
3
- import { n as ClientInitOptions } from "./types-DwpRt3e9.js";
4
- import { S as components$1, b as GetLogsTailQuery, 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 RunId, y as GetAppsQuery } from "./types-CkcMoXRk.js";
5
- import { t as LogEntry } from "./appLogs-DX_WTBCa.js";
6
- import { r as createAuthClient } from "./authClient-CtfyVHRD.js";
7
- import { C as VoteRequest, E as components$2, S as Vote, _ as UpdateAgentSettingsRequest, a as ChatRequest, b as UserAgentSettings, c as GetChatPath, g as ToolsListResponse, l as GetHistoryQuery, t as AgentSettings, u as GetVotesQuery, v as UpdateUserAgentSettingsRequest, y as UsageResponse } from "./types-CpALS017.js";
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-ZGAWRIBW.js";
2
+ import { E as MiddlewareFn$1, T as HttpMethod, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient, w as ApiResponse } from "./index-DVhTNwvu.js";
3
+ import { n as ClientInitOptions } from "./types-D-98DirB.js";
4
+ import { S as components$1, b as GetLogsTailQuery, 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 RunId, y as GetAppsQuery } from "./types-6hh_3SZs.js";
5
+ import { t as LogEntry } from "./appLogs-u0XMZLjS.js";
6
+ import { r as createAuthClient } from "./authClient-DwT6xdg5.js";
7
+ import { C as VoteRequest, E as components$2, S as Vote, _ as UpdateAgentSettingsRequest, a as ChatRequest, b as UserAgentSettings, c as GetChatPath, g as ToolsListResponse, l as GetHistoryQuery, t as AgentSettings, u as GetVotesQuery, v as UpdateUserAgentSettingsRequest, y as UsageResponse } from "./types-k4R8gQ4U.js";
8
8
  import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.js";
9
- 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-Bpnpa2Wt.js";
10
- import "./index-Dbzjvy5h.js";
11
- 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-C2CLlR4i.js";
9
+ 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-Ur37iOqb.js";
10
+ import "./index-BjKjp3Rf.js";
11
+ 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-DlvZeert.js";
12
12
  import { t as ServiceId } from "./serviceIds-fHLDwOg9.js";
13
- 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-DuiUN0h8.js";
14
- 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-D6jKxUv_.js";
15
- import { a as EncryptQuery, s as ScopedSecrets } from "./types-DeSd3gqW.js";
16
- import { n as WriteTableInput, t as UploadFileInput } from "./types-EJEoI3ZK.js";
17
- import { a as GetHistoryQuery$1, c as VoteRequest$1, i as GetChatPath$1, n as ChatRequest$1, o as GetVotesQuery$1, s as UsageResponse$1, t as ApprovalBody } from "./types-BMQW-2Yw.js";
18
- import { i as createManagementClient } from "./index-Ctqkm3Fx.js";
19
- 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-BlCoTm7n.js";
20
- import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-Cz1dj_TM.js";
21
- import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-CyHZ1ZQe.js";
22
- import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-dybUhlU2.js";
23
- 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-ByWD2oeV.js";
24
- import { t as Project } from "./project-BOGaVs-q.js";
13
+ 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-Cpjk0-ta.js";
14
+ 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-C4mr0lop.js";
15
+ import { a as EncryptQuery, s as ScopedSecrets } from "./types-CHCM9oNk.js";
16
+ import { n as WriteTableInput, t as UploadFileInput } from "./types-CaMfshWX.js";
17
+ import { a as GetHistoryQuery$1, c as VoteRequest$1, i as GetChatPath$1, n as ChatRequest$1, o as GetVotesQuery$1, s as UsageResponse$1, t as ApprovalBody } from "./types-CNQdtffE.js";
18
+ import { n as SpendCapsView, t as SpendCapMember } from "./kaiAgentClient-B2O0DF4d.js";
19
+ import { i as createManagementClient } from "./index-GNKwr7EQ.js";
20
+ 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-6ThDkaJw.js";
21
+ import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-C_ilZZkQ.js";
22
+ import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-C2gzqtjf.js";
23
+ import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-6ku2LeX6.js";
24
+ 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-DAzmGzlb.js";
25
+ import { n as Listener, t as Emitter } from "./emitter-dLF1Fyfg.js";
26
+ import { t as Project } from "./project-Bh954iOA.js";
25
27
  import { r as createStorageTable } from "./index-BMqLPS6S.js";
26
28
  import { n as KeboolaObjectId } from "./index-NC1dXRTD.js";
27
- import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-sVYo0o9_.js";
28
- import { _ as SemanticObject, a as SemanticChildObjectType, b as SemanticRelationshipData, f as SemanticGlossaryData, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, l as SemanticDatasetData, o as SemanticConstraintData, p as SemanticMetricData, t as CreateSemanticObjectMeta, w as UpdateSemanticObjectMeta, y as SemanticObjectType } from "./types-RfaldD4P.js";
29
- import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-D-qI9ne4.js";
30
- import { s as EncryptionCtx } from "./index-Bg1P6Bb2.js";
31
- 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-De_DA2ga.js";
32
- import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-BTbczawY.js";
33
- 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-BZBdLUpH.js";
34
- import { A as ApifyObjectsInput, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-Di8VIZwQ.js";
35
- import { n as SendSyncActionOptions } from "./index-fHfc_VqS.js";
29
+ import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-B6lOyHY_.js";
30
+ import { E 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-BUYqdN7B.js";
31
+ import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-BYKHr5bR.js";
32
+ import { s as EncryptionCtx } from "./index-B2OGaUap.js";
33
+ 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-BHI8Lin9.js";
34
+ import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-BgVKG4vg.js";
35
+ 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-D7Wgcp0u.js";
36
+ import { A as ApifyObjectsInput, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-DTTC70Ac.js";
37
+ import { n as SendSyncActionOptions } from "./index-DQef014j.js";
36
38
  import { n as WorkspaceData, t as CreateCredentialsBody } from "./types-lFsTSkhe.js";
37
39
  import { z } from "zod";
38
40
  //#region src/errors/UserError.d.ts
@@ -174,40 +176,6 @@ declare class KeboolaError extends Error {
174
176
  }
175
177
  declare const isKeboolaError: (error: unknown) => error is KeboolaError;
176
178
  //#endregion
177
- //#region src/utils/persistor/adapters.d.ts
178
- type StorageAdapter = {
179
- getItem: (key: string) => string | null;
180
- setItem: (key: string, value: string) => void;
181
- removeItem: (key: string) => void;
182
- };
183
- declare const createNullStorage: () => StorageAdapter;
184
- declare const createMemoryStorage: () => StorageAdapter;
185
- declare const createLocalStorage: () => StorageAdapter;
186
- declare const createSessionStorage: () => StorageAdapter;
187
- //#endregion
188
- //#region src/keboola/createMiddlewareFor.d.ts
189
- /**
190
- * Service clients reached through the registry — the key is the `clientName`
191
- * the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
192
- */
193
- type ServiceClientName = 'vault' | 'dataScience' | 'apps' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'omnisearch' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
194
- /** Clients instantiated directly (not stack-discovered), keyed by their property name. */
195
- type NonServiceClientName = 'storage' | 'management' | 'auth';
196
- type MiddlewareTarget = ServiceClientName | NonServiceClientName;
197
- type Middlewares = MiddlewareFn$1[] | ({
198
- all?: MiddlewareFn$1[];
199
- } & Partial<Record<MiddlewareTarget, MiddlewareFn$1[]>>);
200
- declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn$1[]) => MiddlewareFn$1[];
201
- type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
202
- //#endregion
203
- //#region src/keboola/types.d.ts
204
- type KeboolaOptions = {
205
- baseUrl?: string;
206
- middlewares?: Middlewares;
207
- clientServiceUrls?: ServiceUrls;
208
- storage?: StorageAdapter;
209
- };
210
- //#endregion
211
179
  //#region src/utils/assert.d.ts
212
180
  declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
213
181
  //#endregion
@@ -428,19 +396,42 @@ declare const createPollRegistry: ({ limit }?: {
428
396
  declare const series: <T, R>(options: Omit<ConcurrentOptions<T, R>, 'concurrency'>) => Promise<R[]>;
429
397
  //#endregion
430
398
  //#region src/utils/async/result.d.ts
431
- type Result<T, E extends Error = Error> = {
399
+ type Success<T> = {
432
400
  success: true;
433
401
  data: T;
434
- } | {
402
+ };
403
+ type Failure<E extends Error> = {
435
404
  success: false;
436
405
  error: E;
437
406
  };
407
+ type Result<T, E extends Error = Error> = Success<T> | Failure<E>;
408
+ type NotPromise<T> = T extends PromiseLike<unknown> ? never : T;
438
409
  declare const asError: (thrown: unknown) => Error;
439
- declare const tryCatch: <T>(task: () => T) => Result<T>;
410
+ declare const success: <T>(data: T) => Result<T, never>;
411
+ declare const failure: <E extends Error>(error: E) => Result<never, E>;
412
+ declare const isSuccess: <T, E extends Error>(result: Result<T, E>) => result is Success<T>;
413
+ declare const isFailure: <T, E extends Error>(result: Result<T, E>) => result is Failure<E>;
414
+ declare const map: <T, E extends Error, U>(result: Result<T, E>, fn: (data: T) => U) => Result<U, E>;
415
+ declare const mapError: <T, E extends Error, F extends Error>(result: Result<T, E>, fn: (error: E) => F) => Result<T, F>;
416
+ 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>;
417
+ declare const match: <T, E extends Error, R>(result: Result<T, E>, onSuccess: (data: T) => R, onFailure: (error: E) => R) => R;
418
+ declare const unwrap: <T, E extends Error>(result: Result<T, E>) => T;
419
+ declare const unwrapOr: <T, E extends Error, U>(result: Result<T, E>, fallback: U) => T | U;
420
+ declare const tryCatch: <T>(task: () => NotPromise<T>) => Result<T>;
440
421
  declare const tryCatchAsync: <T>(task: () => T | PromiseLike<T>) => Promise<Result<T>>;
441
- declare const fromThrowable: <A extends unknown[], R>(fn: (...args: A) => R) => (...args: A) => Result<R>;
422
+ declare const fromThrowable: <A extends unknown[], R>(fn: (...args: A) => NotPromise<R>) => (...args: A) => Result<R>;
442
423
  declare const fromThrowableAsync: <A extends unknown[], R>(fn: (...args: A) => R | PromiseLike<R>) => (...args: A) => Promise<Result<R>>;
443
424
  declare const Result: {
425
+ success: typeof success;
426
+ failure: typeof failure;
427
+ isSuccess: typeof isSuccess;
428
+ isFailure: typeof isFailure;
429
+ map: typeof map;
430
+ mapError: typeof mapError;
431
+ andThen: typeof andThen;
432
+ match: typeof match;
433
+ unwrap: typeof unwrap;
434
+ unwrapOr: typeof unwrapOr;
444
435
  tryCatch: typeof tryCatch;
445
436
  tryCatchAsync: typeof tryCatchAsync;
446
437
  fromThrowable: typeof fromThrowable;
@@ -450,26 +441,7 @@ declare const Result: {
450
441
  //#region src/utils/generateUUID.d.ts
451
442
  declare const generateUUID: () => `${string}-${string}-${string}-${string}-${string}`;
452
443
  //#endregion
453
- //#region src/utils/createStore.d.ts
454
- type Listener<T> = (value: T) => void;
455
- type Emitter<T> = {
456
- emit: (event: T) => void;
457
- subscribe: (listener: Listener<T>) => () => void;
458
- /** Drops every listener. A store's `dispose` is the reason this exists. */
459
- clear: () => void;
460
- };
461
- /**
462
- * An occurrence, announced to whoever is listening.
463
- *
464
- * - For what happened rather than what is: nothing is held, so a listener that arrives later hears
465
- * the next event and never the last one. A store is this plus a value it keeps.
466
- * - Listeners run in the order they subscribed, synchronously, so an emitter is safe where the
467
- * emitting code must not be left waiting.
468
- * - A listener that throws is logged and stepped over. Emitting happens on someone else's call
469
- * stack — a poll reporting how it ended, a session announcing a new token — and a subscriber's
470
- * failure must not become theirs.
471
- */
472
- declare const createEmitter: <T>() => Emitter<T>;
444
+ //#region src/utils/store/store.d.ts
473
445
  type ReadableStore<T> = {
474
446
  get: () => T;
475
447
  subscribe: (listener: Listener<T>) => () => void;
@@ -477,9 +449,11 @@ type ReadableStore<T> = {
477
449
  };
478
450
  type Store<T> = ReadableStore<T> & {
479
451
  set: (value: T) => void;
452
+ asReadable: () => ReadableStore<T>;
480
453
  };
481
- /** A value that is kept, and announced when it changes: an emitter with the value in front of it. */
482
454
  declare const createStore: <T>(initial: T) => Store<T>;
455
+ //#endregion
456
+ //#region src/utils/store/derivedStore.d.ts
483
457
  declare const shallowEqual: <T>(a: T, b: T) => boolean;
484
458
  type DerivedStoreOptions<S, K, T> = {
485
459
  source: ReadableStore<S>;
@@ -488,6 +462,8 @@ type DerivedStoreOptions<S, K, T> = {
488
462
  keyEquals?: (a: K, b: K) => boolean;
489
463
  };
490
464
  declare const createDerivedStore: <S, K, T>({ source, dependsOn, build, keyEquals }: DerivedStoreOptions<S, K, T>) => ReadableStore<T>;
465
+ //#endregion
466
+ //#region src/utils/store/derivedAsyncStore.d.ts
491
467
  type AsyncState<T> = {
492
468
  state: 'idle';
493
469
  } | {
@@ -543,6 +519,17 @@ declare const isEmptyDeep: (value: unknown) => boolean;
543
519
  */
544
520
  declare const deepMerge: <T extends Record<string, unknown>>(base: T, patch: Record<string, unknown>) => T;
545
521
  //#endregion
522
+ //#region src/utils/persistor/adapters.d.ts
523
+ type StorageAdapter = {
524
+ getItem: (key: string) => string | null;
525
+ setItem: (key: string, value: string) => void;
526
+ removeItem: (key: string) => void;
527
+ };
528
+ declare const createNullStorage: () => StorageAdapter;
529
+ declare const createMemoryStorage: () => StorageAdapter;
530
+ declare const createLocalStorage: () => StorageAdapter;
531
+ declare const createSessionStorage: () => StorageAdapter;
532
+ //#endregion
546
533
  //#region src/utils/persistor/persistor.d.ts
547
534
  type Schema<T> = {
548
535
  safeParse: (value: unknown) => {
@@ -572,114 +559,6 @@ type PersistorOptions<T> = {
572
559
  };
573
560
  declare const createPersistor: <T>({ storage, key, schema, defaultValue, encode, decode }: PersistorOptions<T>) => Persistor<T>;
574
561
  //#endregion
575
- //#region src/keboola/bearer/createConfig.d.ts
576
- type TokenSet = {
577
- accessToken: string;
578
- refreshToken: string;
579
- expiresIn: number;
580
- };
581
- type Credential = TokenSet & {
582
- issuedAt: number;
583
- };
584
- type State$1 = {
585
- status: 'anonymous';
586
- baseUrl: string | null;
587
- } | {
588
- status: 'authenticated';
589
- baseUrl: string;
590
- credential: Credential;
591
- } | {
592
- status: 'scoped';
593
- baseUrl: string;
594
- credential: Credential;
595
- projectId: number;
596
- };
597
- //#endregion
598
- //#region src/keboola/bearer/types.d.ts
599
- type SessionSnapshot$1 = {
600
- type: 'Bearer';
601
- config: State$1;
602
- authReady: boolean;
603
- managementReady: boolean;
604
- storage: AsyncState<unknown>['state'];
605
- };
606
- type RestoreResult = {
607
- status: 'empty' | 'restored' | 'expired';
608
- };
609
- //#endregion
610
- //#region src/keboola/bearer/keboola.d.ts
611
- declare const createKeboola: (options?: KeboolaOptions) => {
612
- api: KeboolaApi;
613
- session: {
614
- hasPersistedValue: () => boolean;
615
- setBaseUrl: (baseUrl: string) => void;
616
- isStorageReady: () => boolean;
617
- authenticate: (tokens: TokenSet) => void;
618
- setProject: (projectId: number) => void;
619
- setProjectAsync: (projectId: number) => Promise<void>;
620
- /**
621
- * Leave the current project but stay signed in — the storage build returns to `idle`, so a
622
- * consumer gating on it falls back to its project picker. The persisted session is rewritten with
623
- * `projectId: null` by the subscription above, so a reload lands on the picker rather than
624
- * re-entering the project. Use `reset` to sign out instead.
625
- */
626
- clearProject: () => void;
627
- reset: () => void;
628
- /**
629
- * Dev/test only: mark the current access token as expired so the bearer credential rotates it on
630
- * the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
631
- * the rotation immediately and observe the new credential.
632
- */
633
- debugForceRefresh: () => void;
634
- /**
635
- * The headers that authorize one off-client request, resolved fresh each call.
636
- *
637
- * - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
638
- * holds. Anything with a service client on `api` should use that instead.
639
- * - Returns the assembled bag, never the bare token: no caller handles the credential as a
640
- * string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
641
- * - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
642
- * one is never re-sent. A snapshot held by the caller would do neither.
643
- * - Throws rather than emitting a half-formed `Bearer null`: an unauthenticated or unscoped
644
- * session has nothing to authorize with.
645
- */
646
- getAuthHeaders: () => Promise<Record<string, string>>;
647
- restore: () => Promise<RestoreResult>;
648
- subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
649
- debug: () => SessionSnapshot$1;
650
- };
651
- };
652
- //#endregion
653
- //#region src/keboola/legacy/createConfig.d.ts
654
- type State = {
655
- baseUrl: string | null;
656
- sapiToken: string | null;
657
- managementToken: string | null;
658
- };
659
- //#endregion
660
- //#region src/keboola/legacy/types.d.ts
661
- type SessionSnapshot = {
662
- type: 'Sapi';
663
- config: State;
664
- authReady: boolean;
665
- managementReady: boolean;
666
- storage: AsyncState<unknown>['state'];
667
- };
668
- //#endregion
669
- //#region src/keboola/legacy/keboola.d.ts
670
- declare const createLegacyKeboola: (options?: KeboolaOptions) => {
671
- api: KeboolaApi;
672
- session: {
673
- setBaseUrl: (baseUrl: string) => void;
674
- isStorageReady: () => boolean;
675
- authenticateStorage: (sapiToken: string) => void;
676
- authenticateStorageAsync: (sapiToken: string) => Promise<void>;
677
- authenticateManagement: (managementToken: string) => void;
678
- subscribe: (listener: (snapshot: SessionSnapshot) => void) => () => void;
679
- debug: () => SessionSnapshot;
680
- };
681
- };
682
- //#endregion
683
562
  //#region src/clients/storage/storageClient.d.ts
684
563
  type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
685
564
  type StorageOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
@@ -3863,6 +3742,21 @@ declare const registry: Registry<Record<never, never> & Record<"keboola.wr-db-my
3863
3742
  }, import("zod/v4/core").$loose>>>;
3864
3743
  type RegisteredComponentId = InferComponentId<typeof registry>;
3865
3744
  //#endregion
3745
+ //#region src/keboola/createMiddlewareFor.d.ts
3746
+ /**
3747
+ * Service clients reached through the registry — the key is the `clientName`
3748
+ * the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
3749
+ */
3750
+ type ServiceClientName = 'vault' | 'dataScience' | 'apps' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'omnisearch' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
3751
+ /** Clients instantiated directly (not stack-discovered), keyed by their property name. */
3752
+ type NonServiceClientName = 'storage' | 'management' | 'auth';
3753
+ type MiddlewareTarget = ServiceClientName | NonServiceClientName;
3754
+ type Middlewares = MiddlewareFn$1[] | ({
3755
+ all?: MiddlewareFn$1[];
3756
+ } & Partial<Record<MiddlewareTarget, MiddlewareFn$1[]>>);
3757
+ declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn$1[]) => MiddlewareFn$1[];
3758
+ type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
3759
+ //#endregion
3866
3760
  //#region src/keboola/bearer/createProjectClients.d.ts
3867
3761
  /**
3868
3762
  * Bearer (OAuth) project surface. Same handshake + assembly as the legacy build. The
@@ -14905,6 +14799,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14905
14799
  maxTokens: number;
14906
14800
  percentage: number;
14907
14801
  } | null;
14802
+ ppuUsed: number | null;
14803
+ ppuPercentage: number | null;
14908
14804
  messages: {
14909
14805
  id: string;
14910
14806
  role: 'user' | 'assistant';
@@ -15021,6 +14917,12 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
15021
14917
  createdAt: string;
15022
14918
  updatedAt: string;
15023
14919
  }>;
14920
+ getSpendCaps: (signal?: AbortSignal) => Promise<SpendCapsView>;
14921
+ updateSpendCaps: (request: {
14922
+ projectCapPpu?: number | null;
14923
+ defaultUserLimitPpu?: number | null;
14924
+ }, signal?: AbortSignal) => Promise<SpendCapsView>;
14925
+ setUserSpendLimit: (userId: string, overrideLimitPpu: number | null, signal?: AbortSignal) => Promise<SpendCapMember>;
15024
14926
  getToolsList: (signal?: AbortSignal) => Promise<{
15025
14927
  tools: {
15026
14928
  name: string;
@@ -16134,12 +16036,151 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
16134
16036
  }>;
16135
16037
  //#endregion
16136
16038
  //#region src/keboola/createApi.d.ts
16039
+ /**
16040
+ * Everything on `api` except `auth` and `management` — the project-scoped half of `KeboolaApi`.
16041
+ *
16042
+ * - Holds no credential; the token and its refresh loop live on the session that built it.
16043
+ */
16137
16044
  type ProjectClients = Awaited<ReturnType<typeof createProjectClients>>;
16138
16045
  type KeboolaApi = ProjectClients & {
16139
16046
  auth: ReturnType<typeof createAuthClient>;
16140
16047
  management: ReturnType<typeof createManagementClient>;
16141
16048
  };
16142
16049
  //#endregion
16050
+ //#region src/keboola/types.d.ts
16051
+ type KeboolaOptions = {
16052
+ baseUrl?: string;
16053
+ middlewares?: Middlewares;
16054
+ clientServiceUrls?: ServiceUrls;
16055
+ storage?: StorageAdapter;
16056
+ };
16057
+ //#endregion
16058
+ //#region src/keboola/bearer/createConfig.d.ts
16059
+ type TokenSet = {
16060
+ accessToken: string;
16061
+ refreshToken: string;
16062
+ expiresIn: number;
16063
+ };
16064
+ type Credential = TokenSet & {
16065
+ issuedAt: number;
16066
+ };
16067
+ type State$1 = {
16068
+ status: 'anonymous';
16069
+ baseUrl: string | null;
16070
+ } | {
16071
+ status: 'authenticated';
16072
+ baseUrl: string;
16073
+ credential: Credential;
16074
+ } | {
16075
+ status: 'scoped';
16076
+ baseUrl: string;
16077
+ credential: Credential;
16078
+ projectId: number;
16079
+ };
16080
+ //#endregion
16081
+ //#region src/keboola/bearer/types.d.ts
16082
+ type SessionSnapshot$1 = {
16083
+ type: 'Bearer';
16084
+ config: State$1;
16085
+ authReady: boolean;
16086
+ managementReady: boolean;
16087
+ storage: AsyncState<unknown>['state'];
16088
+ };
16089
+ type RestoreResult = {
16090
+ status: 'empty' | 'restored' | 'expired';
16091
+ };
16092
+ //#endregion
16093
+ //#region src/keboola/bearer/keboola.d.ts
16094
+ declare const createKeboola: (options?: KeboolaOptions) => {
16095
+ api: KeboolaApi;
16096
+ session: {
16097
+ hasPersistedValue: () => boolean;
16098
+ setBaseUrl: (baseUrl: string) => void;
16099
+ isStorageReady: () => boolean;
16100
+ authenticate: (tokens: TokenSet) => void;
16101
+ setProject: (projectId: number) => void;
16102
+ setProjectAsync: (projectId: number) => Promise<void>;
16103
+ /**
16104
+ * Leave the current project but stay signed in — the storage build returns to `idle`, so a
16105
+ * consumer gating on it falls back to its project picker. The persisted session is rewritten with
16106
+ * `projectId: null` by the subscription above, so a reload lands on the picker rather than
16107
+ * re-entering the project. Use `reset` to sign out instead.
16108
+ */
16109
+ clearProject: () => void;
16110
+ /**
16111
+ * The clients for one project, off this session — for reaching a second project without leaving
16112
+ * the first.
16113
+ *
16114
+ * - `setProjectAsync` *moves* the session (and `api`) to another project; this *adds* one. The
16115
+ * returned set is the caller's to hold and never appears on `api`.
16116
+ * - Every set shares this session's auth middleware, so one rotation serves all of them. A second
16117
+ * `createKeboola()` does not: both hold the same single-use refresh token, and the first to
16118
+ * rotate invalidates the other's, whose next refresh 401s and signs it out.
16119
+ * - Independent of the scope, including for the scoped project itself — asking for that one
16120
+ * builds a second set with its own `liveProject`, so prefer `api.*` there.
16121
+ */
16122
+ forProject: (projectId: number) => Promise<ProjectClients>;
16123
+ reset: () => void;
16124
+ /**
16125
+ * Dev/test only: mark the current access token as expired so the bearer credential rotates it on
16126
+ * the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
16127
+ * the rotation immediately and observe the new credential.
16128
+ */
16129
+ debugForceRefresh: () => void;
16130
+ /**
16131
+ * The headers that authorize one off-client request, resolved fresh each call.
16132
+ *
16133
+ * - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
16134
+ * holds. Anything with a service client on `api` should use that instead.
16135
+ * - Returns the assembled bag, never the bare token: no caller handles the credential as a
16136
+ * string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
16137
+ * - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
16138
+ * one is never re-sent. A snapshot held by the caller would do neither.
16139
+ * - Throws rather than emitting a half-formed `Bearer null`: an unauthenticated or unscoped
16140
+ * session has nothing to authorize with.
16141
+ * - Pinned to the sign-in it was called on, like every client here. This is the one
16142
+ * credential-emitting surface with no middleware chain for the guard to sit in, so the check
16143
+ * is written out around the `await` that rotates the token.
16144
+ * - The scope is re-read after that `await`, not carried across it. The epoch the pin compares
16145
+ * moves on a sign-in and a sign-out only, so a project switch mid-rotation is invisible to it.
16146
+ */
16147
+ getAuthHeaders: () => Promise<Record<string, string>>;
16148
+ restore: () => Promise<RestoreResult>;
16149
+ subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
16150
+ debug: () => SessionSnapshot$1;
16151
+ };
16152
+ };
16153
+ //#endregion
16154
+ //#region src/keboola/legacy/createConfig.d.ts
16155
+ type State = {
16156
+ baseUrl: string | null;
16157
+ sapiToken: string | null;
16158
+ managementToken: string | null;
16159
+ };
16160
+ //#endregion
16161
+ //#region src/keboola/legacy/types.d.ts
16162
+ type SessionSnapshot = {
16163
+ type: 'Sapi';
16164
+ config: State;
16165
+ authReady: boolean;
16166
+ managementReady: boolean;
16167
+ storage: AsyncState<unknown>['state'];
16168
+ };
16169
+ //#endregion
16170
+ //#region src/keboola/legacy/keboola.d.ts
16171
+ declare const createLegacyKeboola: (options?: KeboolaOptions) => {
16172
+ api: KeboolaApi;
16173
+ session: {
16174
+ setBaseUrl: (baseUrl: string) => void;
16175
+ isStorageReady: () => boolean;
16176
+ authenticateStorage: (sapiToken: string) => void;
16177
+ authenticateStorageAsync: (sapiToken: string) => Promise<void>;
16178
+ authenticateManagement: (managementToken: string) => void;
16179
+ subscribe: (listener: (snapshot: SessionSnapshot) => void) => () => void;
16180
+ debug: () => SessionSnapshot;
16181
+ };
16182
+ };
16183
+ //#endregion
16143
16184
  //#region src/keboola/index.d.ts
16144
16185
  /** The bearer (OAuth) session surface, derived from the factory's return. */
16145
16186
  type BearerSession = ReturnType<typeof createKeboola>['session'];
@@ -17353,5 +17394,5 @@ declare const createQueryServiceClient: ({ baseUrl, middlewares, auth }: ClientI
17353
17394
  exportResults: (queryJobId: GetQueryResultsPath['queryJobId'], statementId: GetQueryResultsPath['statementId'], query: GetExportResultsQuery, signal?: AbortSignal) => Promise<ExportResultsResponse>;
17354
17395
  };
17355
17396
  //#endregion
17356
- export { generateUUID as $, LegacySession as A, TaskFn as At, createPersistor as B, isKeboolaError as Bt, LogLevel as C, delay as Ct, ResponseLog as D, CollectOptions as Dt, RequestLog as E, concurrent as Et, StorageOpenApiFetchClient as F, createMemoryStorage as Ft, Emitter as G, isSyncActionError as Gt, isEmptyDeep as H, isStorageTokenMutatingRequest as Ht, createStorageClient as I, createNullStorage as It, createDerivedAsyncStore as J, isQueryJobTimeoutError as Jt, ReadableStore as K, ServiceUnavailableError as Kt, createLegacyKeboola as L, createSessionStorage as Lt, RegisteredComponentId as M, KeboolaOptions as Mt, registry as N, StorageAdapter as Nt, createLoggingMiddleware as O, collect as Ot, GenericFetchClient as P, createLocalStorage as Pt, shallowEqual as Q, createKeboola as R, KeboolaError as Rt, Log as S, lazy as St, LoggingOptions as T, ConcurrentOptions as Tt, isPlainObject as U, createDefaultBranch as Ut, deepMerge as V, ClientContext as Vt, AsyncState as W, SyncActionError as Wt, createEmitter as X, isQueryJobError as Xt, createDerivedStore as Y, QueryJobError as Yt, createStore as Z, UserError as Zt, toBackendSubscribers as _, PollContext as _t, parseCurrentDevBranchIdFromUrl as a, createPollRegistry as at, RetryOptions as b, PollResult as bt, removeBranchFromUrl as c, PollState as ct, constructFQID as d, PollerStartFn as dt, Result as et, parseFQID as f, PollerStopFn as ft, fromBackendSubscribers as g, poller as gt, createStorageSdk as h, poll as ht, createQueryServiceSdk as i, PollRegistry as it, KeboolaApi as j, assert as jt, BearerSession as k, coalesce as kt, FQID_TYPES as l, PollTask as lt, tableIdParser as m, failureOf as mt, ExecuteQueryOptions as n, series as nt, parseDevBranchId as o, ObservedPoller as ot, parse as p, emitter as pt, Store as q, QueryJobTimeoutError as qt, WaitForJobOptions as r, PollEntry as rt, prefixTagsWithDevBranchId as s, PollSnapshot as st, createQueryServiceClient as t, asError as tt, ParsedFQID as u, Poller as ut, jobStatus as v, PollKey as vt, Logger as w, dedupe as wt, createRetryMiddleware as x, PollTick as xt, KeboolaHttpHeader as y, PollOptions as yt, Persistor as z, KeboolaErrorType as zt };
17357
- //# sourceMappingURL=index-FhKX7Cv1.d.ts.map
17397
+ export { createDerivedStore as $, 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, UserError 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, QueryJobError as Xt, isEmptyDeep as Y, isQueryJobTimeoutError as Yt, AsyncState as Z, isQueryJobError 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 };
17398
+ //# sourceMappingURL=index-B0V1pJAa.d.ts.map
@@ -1,8 +1,8 @@
1
- import { a as ProjectId } from "./types-DuiUN0h8.js";
2
- import "./types-D6jKxUv_.js";
3
- import { t as createEncryptionClient } from "./index-DeKPpYQy.js";
4
- import { n as CreateVariableBody, o as VariableWithHash, t as AnyVariable } from "./types-D-qI9ne4.js";
5
- import { t as createVaultClient } from "./index-Bc_hXWae.js";
1
+ import { a as ProjectId } from "./types-Cpjk0-ta.js";
2
+ import "./types-C4mr0lop.js";
3
+ import { t as createEncryptionClient } from "./index-CVqk63at.js";
4
+ import { n as CreateVariableBody, o as VariableWithHash, t as AnyVariable } from "./types-BYKHr5bR.js";
5
+ import { t as createVaultClient } from "./index-C_cxKL1V.js";
6
6
  //#region src/sdks/vault/types.d.ts
7
7
  type VaultClient = ReturnType<typeof createVaultClient>;
8
8
  type EncryptionClient = ReturnType<typeof createEncryptionClient>;
@@ -74,4 +74,4 @@ declare const partitionByOauth: <T extends AnyVariable>(variables: T[]) => {
74
74
  };
75
75
  //#endregion
76
76
  export { vaultRef as a, partitionByOauth as i, isVariableEncryptionRequired as n, createVaultSdk as o, isVariableOauth as r, EncryptionCtx as s, isSameVariable as t };
77
- //# sourceMappingURL=index-Bg1P6Bb2.d.ts.map
77
+ //# sourceMappingURL=index-B2OGaUap.d.ts.map
@@ -1,7 +1,7 @@
1
- import { C as ApiResponse } from "./index-CeJOmN-P.js";
2
- import { n as ClientInitOptions } from "./types-DwpRt3e9.js";
3
- import { t as LogEntry } from "./appLogs-DX_WTBCa.js";
4
- 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, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-Bpnpa2Wt.js";
1
+ import { w as ApiResponse } from "./index-DVhTNwvu.js";
2
+ import { n as ClientInitOptions } from "./types-D-98DirB.js";
3
+ import { t as LogEntry } from "./appLogs-u0XMZLjS.js";
4
+ 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, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-Ur37iOqb.js";
5
5
  //#region src/clients/dataScience/dataScienceClient.d.ts
6
6
  declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
7
7
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
@@ -205,4 +205,4 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
205
205
  };
206
206
  //#endregion
207
207
  export { createDataScienceClient as t };
208
- //# sourceMappingURL=index-Dbzjvy5h.d.ts.map
208
+ //# sourceMappingURL=index-BjKjp3Rf.d.ts.map
@@ -1,5 +1,5 @@
1
- import { n as ClientInitOptions } from "./types-DwpRt3e9.js";
2
- import { a as EncryptQuery, s as ScopedSecrets } from "./types-DeSd3gqW.js";
1
+ import { n as ClientInitOptions } from "./types-DHI0g51U.cjs";
2
+ import { a as EncryptQuery, s as ScopedSecrets } from "./types-BS5M67xm.cjs";
3
3
  //#region src/clients/encryption/encryptionClient.d.ts
4
4
  declare const createEncryptionClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
5
5
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
@@ -13,4 +13,4 @@ declare const createEncryptionClient: ({ baseUrl, middlewares }: Omit<ClientInit
13
13
  };
14
14
  //#endregion
15
15
  export { createEncryptionClient as t };
16
- //# sourceMappingURL=index-DeKPpYQy.d.ts.map
16
+ //# sourceMappingURL=index-C7gxKoDF.d.cts.map