@keboola/api-client 32.0.0 → 34.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 (447) hide show
  1. package/AGENTS.md +82 -4
  2. package/API-SURFACE.md +19 -2
  3. package/CHANGELOG.md +465 -0
  4. package/dist/{ManagementClientAuthError-B-tyPlyG.cjs → ManagementClientAuthError-DD4u0EU7.cjs} +2 -2
  5. package/dist/{ManagementClientAuthError-B-tyPlyG.cjs.map → ManagementClientAuthError-DD4u0EU7.cjs.map} +1 -1
  6. package/dist/{ManagementClientAuthError-BAFNvOdf.js → ManagementClientAuthError-ey-f03vy.js} +2 -2
  7. package/dist/{ManagementClientAuthError-BAFNvOdf.js.map → ManagementClientAuthError-ey-f03vy.js.map} +1 -1
  8. package/dist/{ValidationError-CzPWydEb.js → ValidationError-BekhphAq.js} +11 -7
  9. package/dist/ValidationError-BekhphAq.js.map +1 -0
  10. package/dist/{ValidationError-h5qvwahi.cjs → ValidationError-CLVJCCwH.cjs} +16 -6
  11. package/dist/ValidationError-CLVJCCwH.cjs.map +1 -0
  12. package/dist/ai/index.cjs +2 -2
  13. package/dist/ai/index.d.cts +2 -2
  14. package/dist/ai/index.d.ts +2 -2
  15. package/dist/ai/index.js +2 -2
  16. package/dist/ai/types.d.cts +1 -1
  17. package/dist/ai/types.d.ts +1 -1
  18. package/dist/{appLogs-NIEDTDHf.cjs → appLogs-BjfUoWzs.cjs} +2 -2
  19. package/dist/{appLogs-NIEDTDHf.cjs.map → appLogs-BjfUoWzs.cjs.map} +1 -1
  20. package/dist/{appLogs-DX_WTBCa.d.ts → appLogs-Ch7DYpzx.d.ts} +2 -2
  21. package/dist/{appLogs-BAaaGYKg.d.cts → appLogs-D5A13Y0y.d.cts} +2 -2
  22. package/dist/{appLogs-DTLE6HTy.js → appLogs-xsVkTriU.js} +2 -2
  23. package/dist/{appLogs-DTLE6HTy.js.map → appLogs-xsVkTriU.js.map} +1 -1
  24. package/dist/apps/index.cjs +3 -3
  25. package/dist/apps/index.d.cts +3 -3
  26. package/dist/apps/index.d.ts +3 -3
  27. package/dist/apps/index.js +3 -3
  28. package/dist/apps/types.d.cts +2 -2
  29. package/dist/apps/types.d.ts +2 -2
  30. package/dist/assets/index.cjs +1 -1
  31. package/dist/assets/index.d.cts +1 -1
  32. package/dist/assets/index.d.ts +1 -1
  33. package/dist/assets/index.js +1 -1
  34. package/dist/auth/index.cjs +1 -1
  35. package/dist/auth/index.d.cts +1 -1
  36. package/dist/auth/index.d.ts +1 -1
  37. package/dist/auth/index.js +1 -1
  38. package/dist/auth/types.d.cts +2 -2
  39. package/dist/auth/types.d.ts +2 -2
  40. package/dist/{auth-DP-6TFiM.cjs → auth-JQ33o3nU.cjs} +2 -2
  41. package/dist/{auth-DP-6TFiM.cjs.map → auth-JQ33o3nU.cjs.map} +1 -1
  42. package/dist/{auth-DtbQaeDj.js → auth-aItmDu45.js} +2 -2
  43. package/dist/{auth-DtbQaeDj.js.map → auth-aItmDu45.js.map} +1 -1
  44. package/dist/{authClient-DhfzOUaa.d.cts → authClient-CTHNs6Tq.d.cts} +6 -6
  45. package/dist/{authClient--BtZgjIc.js → authClient-D7W9vWPR.js} +43 -9
  46. package/dist/authClient-D7W9vWPR.js.map +1 -0
  47. package/dist/{authClient-CtfyVHRD.d.ts → authClient-D8i3JTM-.d.ts} +6 -6
  48. package/dist/{authClient-b7uec7sw.cjs → authClient-_PpvGgZJ.cjs} +43 -9
  49. package/dist/authClient-_PpvGgZJ.cjs.map +1 -0
  50. package/dist/billing/index.cjs +46 -0
  51. package/dist/billing/index.cjs.map +1 -0
  52. package/dist/billing/index.d.cts +48 -0
  53. package/dist/billing/index.d.ts +48 -0
  54. package/dist/billing/index.js +45 -0
  55. package/dist/billing/index.js.map +1 -0
  56. package/dist/billing/types.cjs +0 -0
  57. package/dist/billing/types.d.cts +635 -0
  58. package/dist/billing/types.d.ts +635 -0
  59. package/dist/billing/types.js +1 -0
  60. package/dist/chat/index.cjs +3 -3
  61. package/dist/chat/index.d.cts +2 -2
  62. package/dist/chat/index.d.ts +2 -2
  63. package/dist/chat/index.js +3 -3
  64. package/dist/chat/types.cjs +18 -0
  65. package/dist/chat/types.cjs.map +1 -1
  66. package/dist/chat/types.d.cts +2 -2
  67. package/dist/chat/types.d.ts +2 -2
  68. package/dist/chat/types.js +18 -1
  69. package/dist/chat/types.js.map +1 -1
  70. package/dist/{configurations-d7SZmw69.js → configurations-BVvcimzo.js} +17 -2
  71. package/dist/configurations-BVvcimzo.js.map +1 -0
  72. package/dist/{configurations-CqwAxiQL.cjs → configurations-CyFF9Dtu.cjs} +22 -1
  73. package/dist/configurations-CyFF9Dtu.cjs.map +1 -0
  74. package/dist/{configurations-ZwBXilW-.js → configurations-VtNE0nrT.js} +2 -2
  75. package/dist/{configurations-ZwBXilW-.js.map → configurations-VtNE0nrT.js.map} +1 -1
  76. package/dist/{configurations-Ck-mNB_E.cjs → configurations-zkNjr73Q.cjs} +2 -2
  77. package/dist/{configurations-Ck-mNB_E.cjs.map → configurations-zkNjr73Q.cjs.map} +1 -1
  78. package/dist/constants/index.cjs +1 -1
  79. package/dist/constants/index.d.cts +1 -1
  80. package/dist/constants/index.d.ts +1 -1
  81. package/dist/constants/index.js +1 -1
  82. package/dist/{constants-lIfSdTzS.cjs → constants-C4DlsF_M.cjs} +3 -2
  83. package/dist/constants-C4DlsF_M.cjs.map +1 -0
  84. package/dist/{constants-ByEwVtGf.js → constants-wfbFsqqN.js} +3 -2
  85. package/dist/constants-wfbFsqqN.js.map +1 -0
  86. package/dist/{createFetchClient-BRfTjBLV.cjs → createFetchClient-DgMiqTJ8.cjs} +26 -4
  87. package/dist/createFetchClient-DgMiqTJ8.cjs.map +1 -0
  88. package/dist/{createFetchClient-BbG46bL0.js → createFetchClient-U-ZrwPl2.js} +15 -5
  89. package/dist/createFetchClient-U-ZrwPl2.js.map +1 -0
  90. package/dist/{createGenericFetchClient-DHs-i7_O.cjs → createGenericFetchClient-o3cPJeRn.cjs} +2 -2
  91. package/dist/{createGenericFetchClient-DHs-i7_O.cjs.map → createGenericFetchClient-o3cPJeRn.cjs.map} +1 -1
  92. package/dist/{createGenericFetchClient-BHYQLZhe.js → createGenericFetchClient-rxvUUbap.js} +2 -2
  93. package/dist/{createGenericFetchClient-BHYQLZhe.js.map → createGenericFetchClient-rxvUUbap.js.map} +1 -1
  94. package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js → createOpenapiFetchClient-BVSc9ibR.js} +2 -2
  95. package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js.map → createOpenapiFetchClient-BVSc9ibR.js.map} +1 -1
  96. package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs → createOpenapiFetchClient-DhUU3M1W.cjs} +2 -2
  97. package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs.map → createOpenapiFetchClient-DhUU3M1W.cjs.map} +1 -1
  98. package/dist/{credential-d2RDcXRB.js → credential-CihSf_xs.js} +7 -4
  99. package/dist/credential-CihSf_xs.js.map +1 -0
  100. package/dist/{credential-DOXH7XRS.cjs → credential-DVWvJFJs.cjs} +7 -4
  101. package/dist/credential-DVWvJFJs.cjs.map +1 -0
  102. package/dist/dataScience/index.cjs +2 -2
  103. package/dist/dataScience/index.d.cts +2 -2
  104. package/dist/dataScience/index.d.ts +2 -2
  105. package/dist/dataScience/index.js +2 -2
  106. package/dist/dataScience/types.d.cts +2 -2
  107. package/dist/dataScience/types.d.ts +2 -2
  108. package/dist/{dataScience-wexHEIue.cjs → dataScience-0Rl_EuV_.cjs} +5 -5
  109. package/dist/{dataScience-wexHEIue.cjs.map → dataScience-0Rl_EuV_.cjs.map} +1 -1
  110. package/dist/{dataScience-Sm8iONhP.js → dataScience-C1gO5zUn.js} +5 -5
  111. package/dist/{dataScience-Sm8iONhP.js.map → dataScience-C1gO5zUn.js.map} +1 -1
  112. package/dist/developerPortal/index.cjs +1 -1
  113. package/dist/developerPortal/index.d.cts +2 -2
  114. package/dist/developerPortal/index.d.ts +2 -2
  115. package/dist/developerPortal/index.js +1 -1
  116. package/dist/developerPortal/types.d.cts +1 -1
  117. package/dist/developerPortal/types.d.ts +1 -1
  118. package/dist/{developerPortalClient-DywKpDlW.js → developerPortalClient-C_48z8BN.js} +3 -3
  119. package/dist/{developerPortalClient-DywKpDlW.js.map → developerPortalClient-C_48z8BN.js.map} +1 -1
  120. package/dist/{developerPortalClient-CgTSzLoG.cjs → developerPortalClient-ki0XS_OD.cjs} +3 -3
  121. package/dist/{developerPortalClient-CgTSzLoG.cjs.map → developerPortalClient-ki0XS_OD.cjs.map} +1 -1
  122. package/dist/domain/permissions/index.cjs +2 -1
  123. package/dist/domain/permissions/index.d.cts +18 -3
  124. package/dist/domain/permissions/index.d.ts +18 -3
  125. package/dist/domain/permissions/index.js +2 -2
  126. package/dist/editor/index.cjs +2 -2
  127. package/dist/editor/index.d.cts +2 -2
  128. package/dist/editor/index.d.ts +2 -2
  129. package/dist/editor/index.js +2 -2
  130. package/dist/editor/types.d.cts +1 -1
  131. package/dist/editor/types.d.ts +1 -1
  132. package/dist/emitter-dLF1Fyfg.d.cts +11 -0
  133. package/dist/emitter-dLF1Fyfg.d.ts +11 -0
  134. package/dist/encryption/index.cjs +1 -1
  135. package/dist/encryption/index.d.cts +1 -1
  136. package/dist/encryption/index.d.ts +1 -1
  137. package/dist/encryption/index.js +1 -1
  138. package/dist/encryption/types.d.cts +1 -1
  139. package/dist/encryption/types.d.ts +1 -1
  140. package/dist/import/index.cjs +1 -1
  141. package/dist/import/index.d.cts +3 -3
  142. package/dist/import/index.d.ts +3 -3
  143. package/dist/import/index.js +1 -1
  144. package/dist/{import-C0-y1GQK.cjs → import-C83w7BKz.cjs} +3 -3
  145. package/dist/{import-C0-y1GQK.cjs.map → import-C83w7BKz.cjs.map} +1 -1
  146. package/dist/{import-SQuurg1G.js → import-CROEK82b.js} +3 -3
  147. package/dist/{import-SQuurg1G.js.map → import-CROEK82b.js.map} +1 -1
  148. package/dist/{index-fHfc_VqS.d.ts → index-3LUk2rpD.d.ts} +4 -4
  149. package/dist/{index-Dbzjvy5h.d.ts → index-6Xe81qN3.d.ts} +5 -5
  150. package/dist/{index-Bjk-tCpG.d.cts → index-BLx14ZI4.d.cts} +306 -205
  151. package/dist/{index-DiHHyMEo.d.cts → index-BgLnWTZU.d.cts} +6 -6
  152. package/dist/{index-Bc_hXWae.d.ts → index-BuegqrS1.d.ts} +3 -3
  153. package/dist/{index-GDdFZCXp.d.ts → index-C77vTm2K.d.ts} +4 -4
  154. package/dist/{index-CXtdQ7be.d.cts → index-CW3Pj7DY.d.cts} +4 -4
  155. package/dist/{index-Bg1P6Bb2.d.ts → index-CqgtL2NU.d.ts} +6 -6
  156. package/dist/{index-DeKPpYQy.d.ts → index-D8rcUbnk.d.ts} +3 -3
  157. package/dist/{index-FhKX7Cv1.d.ts → index-DFBFa3SS.d.ts} +306 -205
  158. package/dist/{index-eAlN694c.d.cts → index-DR4QqItd.d.cts} +3 -3
  159. package/dist/{index-Gn1H63Hk.d.cts → index-DXSmFkol.d.cts} +4 -4
  160. package/dist/{index-D_7yCRKy.d.cts → index-Dodwl64k.d.cts} +69 -36
  161. package/dist/{index-DqOAjqxN.d.cts → index-DppA4k3b.d.cts} +5 -5
  162. package/dist/{index-C7e3wBt9.d.cts → index-Dx52hNLP.d.cts} +3 -3
  163. package/dist/{index-BKh0prif.d.cts → index-GjcJTCbz.d.cts} +4 -4
  164. package/dist/{index-CQrKS7PV.d.cts → index-KuQ79Mnz.d.ts} +14 -3
  165. package/dist/{index-Ctqkm3Fx.d.ts → index-P-iT5THa.d.ts} +69 -36
  166. package/dist/{index-CeJOmN-P.d.ts → index-V7XKUQm9.d.cts} +14 -3
  167. package/dist/{index-tKsiUarj.d.ts → index-pXN4LWUX.d.ts} +4 -4
  168. package/dist/index.cjs +353 -57
  169. package/dist/index.cjs.map +1 -1
  170. package/dist/index.d.cts +7 -6
  171. package/dist/index.d.ts +7 -6
  172. package/dist/index.js +331 -37
  173. package/dist/index.js.map +1 -1
  174. package/dist/isLoginPageRedirect-B0EmRsHr.cjs +25 -0
  175. package/dist/isLoginPageRedirect-B0EmRsHr.cjs.map +1 -0
  176. package/dist/isLoginPageRedirect-BTTAedW-.js +20 -0
  177. package/dist/isLoginPageRedirect-BTTAedW-.js.map +1 -0
  178. package/dist/{jobStatus-kQ9JqF8t.cjs → jobStatus-0_Y3Sr4i.cjs} +37 -20
  179. package/dist/jobStatus-0_Y3Sr4i.cjs.map +1 -0
  180. package/dist/{jobStatus-DbMupQEK.js → jobStatus-PSZJMTiA.js} +35 -18
  181. package/dist/jobStatus-PSZJMTiA.js.map +1 -0
  182. package/dist/kaiAgent/index.cjs +1 -1
  183. package/dist/kaiAgent/index.d.cts +2 -210
  184. package/dist/kaiAgent/index.d.ts +2 -210
  185. package/dist/kaiAgent/index.js +1 -1
  186. package/dist/kaiAgent/types.d.cts +1 -1
  187. package/dist/kaiAgent/types.d.ts +1 -1
  188. package/dist/{kaiAgent-HDaFS9BR.js → kaiAgent-8LNzGhZc.js} +48 -4
  189. package/dist/kaiAgent-8LNzGhZc.js.map +1 -0
  190. package/dist/{kaiAgent-4OiIK1C2.cjs → kaiAgent-B_TaUPRt.cjs} +48 -4
  191. package/dist/kaiAgent-B_TaUPRt.cjs.map +1 -0
  192. package/dist/kaiAgentClient-BJj_2aqt.d.ts +250 -0
  193. package/dist/kaiAgentClient-DhTaM3GC.d.cts +250 -0
  194. package/dist/management/index.cjs +1 -1
  195. package/dist/management/index.d.cts +1 -1
  196. package/dist/management/index.d.ts +1 -1
  197. package/dist/management/index.js +1 -1
  198. package/dist/management/types.d.cts +2 -2
  199. package/dist/management/types.d.ts +2 -2
  200. package/dist/{management-DfjwQo7z.cjs → management-BoxlRNg2.cjs} +53 -10
  201. package/dist/management-BoxlRNg2.cjs.map +1 -0
  202. package/dist/{management-CIFhu1Nm.js → management-Bp440RsV.js} +53 -10
  203. package/dist/management-Bp440RsV.js.map +1 -0
  204. package/dist/metastore/index.cjs +1 -1
  205. package/dist/metastore/index.d.cts +1 -1
  206. package/dist/metastore/index.d.ts +1 -1
  207. package/dist/metastore/index.js +1 -1
  208. package/dist/metastore/types.d.cts +1 -1
  209. package/dist/metastore/types.d.ts +1 -1
  210. package/dist/{metastore-Dq2NS6jb.cjs → metastore-BYYWTb3m.cjs} +4 -4
  211. package/dist/{metastore-Dq2NS6jb.cjs.map → metastore-BYYWTb3m.cjs.map} +1 -1
  212. package/dist/{metastore-CrXkKufo.js → metastore-VCDRVhUT.js} +4 -4
  213. package/dist/{metastore-CrXkKufo.js.map → metastore-VCDRVhUT.js.map} +1 -1
  214. package/dist/microsoftGraph/index.cjs +2 -2
  215. package/dist/microsoftGraph/index.d.cts +2 -2
  216. package/dist/microsoftGraph/index.d.ts +2 -2
  217. package/dist/microsoftGraph/index.js +2 -2
  218. package/dist/microsoftGraph/types.d.cts +1 -1
  219. package/dist/microsoftGraph/types.d.ts +1 -1
  220. package/dist/notifications/index.cjs +3 -3
  221. package/dist/notifications/index.d.cts +2 -2
  222. package/dist/notifications/index.d.ts +2 -2
  223. package/dist/notifications/index.js +3 -3
  224. package/dist/notifications/types.d.cts +1 -1
  225. package/dist/notifications/types.d.ts +1 -1
  226. package/dist/oauth/index.cjs +1 -1
  227. package/dist/oauth/index.d.cts +2 -2
  228. package/dist/oauth/index.d.ts +2 -2
  229. package/dist/oauth/index.js +1 -1
  230. package/dist/oauth/types.d.cts +1 -1
  231. package/dist/oauth/types.d.ts +1 -1
  232. package/dist/{oauth-CFwSNz37.js → oauth--asfePw-.js} +5 -5
  233. package/dist/{oauth-CFwSNz37.js.map → oauth--asfePw-.js.map} +1 -1
  234. package/dist/{oauth-CkW5gln-.cjs → oauth-B8yqG6Sy.cjs} +5 -5
  235. package/dist/{oauth-CkW5gln-.cjs.map → oauth-B8yqG6Sy.cjs.map} +1 -1
  236. package/dist/omnisearch/index.cjs +2 -2
  237. package/dist/omnisearch/index.d.cts +2 -2
  238. package/dist/omnisearch/index.d.ts +2 -2
  239. package/dist/omnisearch/index.js +2 -2
  240. package/dist/omnisearch/types.d.cts +1 -1
  241. package/dist/omnisearch/types.d.ts +1 -1
  242. package/dist/{project-BOGaVs-q.d.ts → project-C2wvX0xZ.d.ts} +2 -2
  243. package/dist/{project-BnQkL8cb.d.cts → project-hePfzUY0.d.cts} +2 -2
  244. package/dist/queryService/index.cjs +1 -1
  245. package/dist/queryService/index.d.cts +1 -1
  246. package/dist/queryService/index.d.ts +1 -1
  247. package/dist/queryService/index.js +1 -1
  248. package/dist/queryService/types.d.cts +1 -1
  249. package/dist/queryService/types.d.ts +1 -1
  250. package/dist/{queryService-BLaGbpm-.cjs → queryService-BVtjkXy1.cjs} +6 -6
  251. package/dist/{queryService-BLaGbpm-.cjs.map → queryService-BVtjkXy1.cjs.map} +1 -1
  252. package/dist/{queryService-DK-jUnET.js → queryService-Ca65E5KH.js} +6 -6
  253. package/dist/{queryService-DK-jUnET.js.map → queryService-Ca65E5KH.js.map} +1 -1
  254. package/dist/queue/index.cjs +1 -1
  255. package/dist/queue/index.d.cts +3 -3
  256. package/dist/queue/index.d.ts +3 -3
  257. package/dist/queue/index.js +1 -1
  258. package/dist/queue/types.d.cts +1 -1
  259. package/dist/queue/types.d.ts +1 -1
  260. package/dist/{queue-DViSQ-eq.js → queue-DyotLFJi.js} +5 -5
  261. package/dist/{queue-DViSQ-eq.js.map → queue-DyotLFJi.js.map} +1 -1
  262. package/dist/{queue-B7TY4JLf.cjs → queue-OJJUUqc2.cjs} +5 -5
  263. package/dist/{queue-B7TY4JLf.cjs.map → queue-OJJUUqc2.cjs.map} +1 -1
  264. package/dist/scheduler/index.cjs +3 -3
  265. package/dist/scheduler/index.d.cts +2 -2
  266. package/dist/scheduler/index.d.ts +2 -2
  267. package/dist/scheduler/index.js +3 -3
  268. package/dist/scheduler/types.d.cts +1 -1
  269. package/dist/scheduler/types.d.ts +1 -1
  270. package/dist/sdk/configurations/index.cjs +1 -1
  271. package/dist/sdk/configurations/index.d.cts +4 -4
  272. package/dist/sdk/configurations/index.d.ts +4 -4
  273. package/dist/sdk/configurations/index.js +1 -1
  274. package/dist/sdk/developerPortal/index.cjs +5 -5
  275. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  276. package/dist/sdk/developerPortal/index.d.cts +5 -4
  277. package/dist/sdk/developerPortal/index.d.ts +5 -4
  278. package/dist/sdk/developerPortal/index.js +4 -4
  279. package/dist/sdk/queryService/index.cjs +2 -2
  280. package/dist/sdk/queryService/index.d.cts +1 -1
  281. package/dist/sdk/queryService/index.d.ts +1 -1
  282. package/dist/sdk/queryService/index.js +2 -2
  283. package/dist/sdk/semanticLayer/index.cjs +21 -359
  284. package/dist/sdk/semanticLayer/index.d.cts +35 -13
  285. package/dist/sdk/semanticLayer/index.d.ts +35 -13
  286. package/dist/sdk/semanticLayer/index.js +2 -347
  287. package/dist/sdk/semanticLayer/types.d.cts +2 -2
  288. package/dist/sdk/semanticLayer/types.d.ts +2 -2
  289. package/dist/sdk/storage/index.d.cts +1 -1
  290. package/dist/sdk/storage/index.d.ts +1 -1
  291. package/dist/sdk/tag/index.d.cts +2 -2
  292. package/dist/sdk/tag/index.d.ts +2 -2
  293. package/dist/sdk/tag/types.d.cts +1 -1
  294. package/dist/sdk/tag/types.d.ts +1 -1
  295. package/dist/sdk/vault/index.d.cts +1 -1
  296. package/dist/sdk/vault/index.d.ts +1 -1
  297. package/dist/semanticLayer-CSqmtHRo.js +692 -0
  298. package/dist/semanticLayer-CSqmtHRo.js.map +1 -0
  299. package/dist/semanticLayer-E0Vilu8u.cjs +811 -0
  300. package/dist/semanticLayer-E0Vilu8u.cjs.map +1 -0
  301. package/dist/{serviceIds-fHLDwOg9.d.ts → serviceIds-DRcoTnSd.d.cts} +2 -1
  302. package/dist/{serviceIds-fHLDwOg9.d.cts → serviceIds-DRcoTnSd.d.ts} +2 -1
  303. package/dist/status/index.cjs +1 -1
  304. package/dist/status/index.d.cts +1 -1
  305. package/dist/status/index.d.ts +1 -1
  306. package/dist/status/index.js +1 -1
  307. package/dist/storage/index.cjs +6 -5
  308. package/dist/storage/index.d.cts +3 -3
  309. package/dist/storage/index.d.ts +3 -3
  310. package/dist/storage/index.js +6 -6
  311. package/dist/storage/types.d.cts +3 -3
  312. package/dist/storage/types.d.ts +3 -3
  313. package/dist/{storage-CihHwZ7z.cjs → storage-BKm7cztt.cjs} +7 -7
  314. package/dist/{storage-CihHwZ7z.cjs.map → storage-BKm7cztt.cjs.map} +1 -1
  315. package/dist/{storage-kgxscFEg.js → storage-LYwFQPNO.js} +7 -7
  316. package/dist/{storage-kgxscFEg.js.map → storage-LYwFQPNO.js.map} +1 -1
  317. package/dist/store-C9FQCHGe.js +74 -0
  318. package/dist/store-C9FQCHGe.js.map +1 -0
  319. package/dist/store-xS-Cu_VS.cjs +85 -0
  320. package/dist/store-xS-Cu_VS.cjs.map +1 -0
  321. package/dist/stream/index.cjs +3 -3
  322. package/dist/stream/index.d.cts +2 -2
  323. package/dist/stream/index.d.ts +2 -2
  324. package/dist/stream/index.js +3 -3
  325. package/dist/stream/types.d.cts +1 -1
  326. package/dist/stream/types.d.ts +1 -1
  327. package/dist/syncActions/index.cjs +1 -1
  328. package/dist/syncActions/index.d.cts +1 -1
  329. package/dist/syncActions/index.d.ts +1 -1
  330. package/dist/syncActions/index.js +1 -1
  331. package/dist/syncActions/types.d.cts +1 -1
  332. package/dist/syncActions/types.d.ts +1 -1
  333. package/dist/{syncActions-CevF_TEb.cjs → syncActions-OEZdVffK.cjs} +6 -6
  334. package/dist/{syncActions-CevF_TEb.cjs.map → syncActions-OEZdVffK.cjs.map} +1 -1
  335. package/dist/{syncActions-B75t0NwP.js → syncActions-QeBhIVhG.js} +6 -6
  336. package/dist/{syncActions-B75t0NwP.js.map → syncActions-QeBhIVhG.js.map} +1 -1
  337. package/dist/telemetry/index.cjs +38 -2
  338. package/dist/telemetry/index.cjs.map +1 -0
  339. package/dist/telemetry/index.d.cts +15 -8
  340. package/dist/telemetry/index.d.ts +15 -8
  341. package/dist/telemetry/index.js +37 -1
  342. package/dist/telemetry/index.js.map +1 -0
  343. package/dist/telemetry/types.d.cts +2 -2
  344. package/dist/telemetry/types.d.ts +2 -2
  345. package/dist/{types-D1uloiuY.d.cts → types-3eUgOA7I.d.cts} +2 -2
  346. package/dist/{types-CvkqEvhv.d.cts → types-52irAt99.d.cts} +2 -2
  347. package/dist/{types-CyHZ1ZQe.d.ts → types-B2U9cFcx.d.ts} +2 -2
  348. package/dist/{types-Av2egS_l.d.ts → types-B3GOGUJ7.d.cts} +753 -45
  349. package/dist/{types-BH9ljNmj.d.cts → types-BEe50G2r.d.cts} +2 -2
  350. package/dist/{types-BlCoTm7n.d.ts → types-BH5LLeJy.d.ts} +2 -2
  351. package/dist/{types-BptQ7jpP.d.cts → types-BMeDOB_D.d.ts} +753 -45
  352. package/dist/{types-MbcIiKDI.d.cts → types-BOqD3Hqy.d.cts} +3 -3
  353. package/dist/{types-DeSd3gqW.d.ts → types-BQsOHNI0.d.ts} +3 -3
  354. package/dist/{types-DNXC_-fA.d.cts → types-BQvv4RaI.d.cts} +2 -2
  355. package/dist/{types-BnaAo7xn.d.ts → types-BTWIPEiU.d.ts} +2 -2
  356. package/dist/{types-C1vhYcic.d.cts → types-BW2BXUB4.d.cts} +2 -2
  357. package/dist/{types-CXTqFYah.d.ts → types-BrYkBQo4.d.ts} +37 -6
  358. package/dist/{types-BZBdLUpH.d.ts → types-BsxLGDoC.d.cts} +2 -2
  359. package/dist/{types-BMQW-2Yw.d.ts → types-BupPADSm.d.ts} +737 -80
  360. package/dist/{types-COc-nind.d.cts → types-Bxhh2SJr.d.ts} +2 -2
  361. package/dist/{types-ByWD2oeV.d.ts → types-BztF4HeB.d.ts} +2 -2
  362. package/dist/{types-dybUhlU2.d.ts → types-C0_2KZ-A.d.ts} +2 -2
  363. package/dist/types-C2vefB4D.d.ts +218 -0
  364. package/dist/{types-CkcMoXRk.d.ts → types-CBgLCkYe.d.ts} +3 -3
  365. package/dist/{types-Cz1dj_TM.d.ts → types-CKiW3n6v.d.ts} +2 -2
  366. package/dist/{types-CcuG9cid.d.cts → types-COL1kVEB.d.cts} +2 -2
  367. package/dist/types-CPB-eF82.d.ts +289 -0
  368. package/dist/{types-BoV9M5Xg.d.cts → types-CW6lCqrC.d.cts} +2 -2
  369. package/dist/{types-CPanB0p7.d.cts → types-CaYtinmA.d.cts} +3 -3
  370. package/dist/{types-De_DA2ga.d.ts → types-CcrvrAJX.d.ts} +2 -2
  371. package/dist/{types-DwpRt3e9.d.ts → types-Ct0YPy2w.d.ts} +2 -2
  372. package/dist/{types-B4jdPHoL.d.cts → types-Cz83RiVu.d.cts} +2 -2
  373. package/dist/{types-DlbiVsVo.d.cts → types-D8Rrz51O.d.cts} +2 -2
  374. package/dist/{types-CyiRYRVq.d.cts → types-DARv_P6O.d.cts} +3 -3
  375. package/dist/{types-DuiUN0h8.d.ts → types-DBOSvWtD.d.ts} +2 -2
  376. package/dist/{types-D6jKxUv_.d.ts → types-DEc55spK.d.ts} +45 -4
  377. package/dist/{types-cDU_J45_.d.cts → types-DNxOHnZI.d.cts} +2 -2
  378. package/dist/{types-GuWtMCMn.d.cts → types-DPS8nwkV.d.cts} +2 -2
  379. package/dist/{types-Di8VIZwQ.d.ts → types-DYzJ6K2e.d.ts} +2 -2
  380. package/dist/{types-BI2jI-3-.d.cts → types-DZk3XHiN.d.cts} +3 -3
  381. package/dist/{types-Dfc58bPE.d.ts → types-DajzGOKB.d.ts} +2 -2
  382. package/dist/{types-C2CLlR4i.d.ts → types-DfvdbRPL.d.ts} +2 -2
  383. package/dist/{types-CpALS017.d.ts → types-DhDNS-5B.d.ts} +21 -3
  384. package/dist/{types-BV2BDccJ.d.cts → types-DjrRmQUe.d.cts} +45 -4
  385. package/dist/{types-sVYo0o9_.d.ts → types-Dmu-8g4O.d.ts} +3 -3
  386. package/dist/{types-COIsNoTQ.d.cts → types-DqxIx9Pi.d.cts} +2 -2
  387. package/dist/{types-Cj4bLPp5.d.cts → types-Jw10xuOW.d.cts} +37 -6
  388. package/dist/{types-CJHi0zdD.d.cts → types-M46WuBSm.d.cts} +2 -2
  389. package/dist/{types-zA3H84SM.d.cts → types-N3EChotg.d.cts} +2 -2
  390. package/dist/{types-Bpnpa2Wt.d.ts → types-OaD-cbbl.d.ts} +3 -3
  391. package/dist/{types-BREGN3qo.d.cts → types-_RhBCj4_.d.cts} +2 -2
  392. package/dist/{types-CGH_lfxS.d.cts → types-bGQb4Jtl.d.cts} +21 -3
  393. package/dist/{types-iNlsdRkx.d.cts → types-f8W_j6qD.d.cts} +737 -80
  394. package/dist/types-fX4gbxfV.d.cts +218 -0
  395. package/dist/types-g3vU7hcg.d.cts +289 -0
  396. package/dist/{types-D-qI9ne4.d.ts → types-l9o4gFsI.d.ts} +2 -2
  397. package/dist/{types-EJEoI3ZK.d.ts → types-nrviNdzZ.d.ts} +2 -2
  398. package/dist/{types-BTbczawY.d.ts → types-zZBxJ0P-.d.ts} +2 -2
  399. package/dist/{validateConnectionStatus-V9q6Nl6u.cjs → validateConnectionStatus-CsvYmCOI.cjs} +5 -4
  400. package/dist/validateConnectionStatus-CsvYmCOI.cjs.map +1 -0
  401. package/dist/{validateConnectionStatus-BrLXkoSI.js → validateConnectionStatus-olE2sQ3U.js} +5 -4
  402. package/dist/{validateConnectionStatus-BrLXkoSI.js.map → validateConnectionStatus-olE2sQ3U.js.map} +1 -1
  403. package/dist/vault/index.cjs +4 -4
  404. package/dist/vault/index.d.cts +1 -1
  405. package/dist/vault/index.d.ts +1 -1
  406. package/dist/vault/index.js +4 -4
  407. package/dist/vault/types.d.cts +1 -1
  408. package/dist/vault/types.d.ts +1 -1
  409. package/package.json +30 -4
  410. package/surface/auth.md +2 -2
  411. package/surface/billing.md +9 -0
  412. package/surface/kaiAgent.md +7 -4
  413. package/surface/management.md +13 -3
  414. package/surface/telemetry.md +2 -4
  415. package/dist/ValidationError-CzPWydEb.js.map +0 -1
  416. package/dist/ValidationError-h5qvwahi.cjs.map +0 -1
  417. package/dist/authClient--BtZgjIc.js.map +0 -1
  418. package/dist/authClient-b7uec7sw.cjs.map +0 -1
  419. package/dist/configurations-CqwAxiQL.cjs.map +0 -1
  420. package/dist/configurations-d7SZmw69.js.map +0 -1
  421. package/dist/constants-ByEwVtGf.js.map +0 -1
  422. package/dist/constants-lIfSdTzS.cjs.map +0 -1
  423. package/dist/createFetchClient-BRfTjBLV.cjs.map +0 -1
  424. package/dist/createFetchClient-BbG46bL0.js.map +0 -1
  425. package/dist/createStore-BNiCRQXa.js +0 -148
  426. package/dist/createStore-BNiCRQXa.js.map +0 -1
  427. package/dist/createStore-MQbboXcB.cjs +0 -177
  428. package/dist/createStore-MQbboXcB.cjs.map +0 -1
  429. package/dist/credential-DOXH7XRS.cjs.map +0 -1
  430. package/dist/credential-d2RDcXRB.js.map +0 -1
  431. package/dist/jobStatus-DbMupQEK.js.map +0 -1
  432. package/dist/jobStatus-kQ9JqF8t.cjs.map +0 -1
  433. package/dist/kaiAgent-4OiIK1C2.cjs.map +0 -1
  434. package/dist/kaiAgent-HDaFS9BR.js.map +0 -1
  435. package/dist/management-CIFhu1Nm.js.map +0 -1
  436. package/dist/management-DfjwQo7z.cjs.map +0 -1
  437. package/dist/sdk/semanticLayer/index.cjs.map +0 -1
  438. package/dist/sdk/semanticLayer/index.js.map +0 -1
  439. package/dist/telemetry-DwlSLVAU.cjs +0 -29
  440. package/dist/telemetry-DwlSLVAU.cjs.map +0 -1
  441. package/dist/telemetry-FXpodtJN.js +0 -24
  442. package/dist/telemetry-FXpodtJN.js.map +0 -1
  443. package/dist/types-B2vmg_UF.d.cts +0 -148
  444. package/dist/types-RfaldD4P.d.ts +0 -148
  445. package/dist/types-lFsTSkhe.d.cts +0 -14
  446. package/dist/types-lFsTSkhe.d.ts +0 -14
  447. package/dist/validateConnectionStatus-V9q6Nl6u.cjs.map +0 -1
@@ -1,39 +1,41 @@
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-BTWIPEiU.js";
2
+ import { D as MiddlewareFn$1, E as HttpMethod, T as ApiResponse, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient } from "./index-KuQ79Mnz.js";
3
+ import { n as ClientInitOptions } from "./types-Ct0YPy2w.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-CBgLCkYe.js";
5
+ import { t as LogEntry } from "./appLogs-Ch7DYpzx.js";
6
+ import { r as createAuthClient } from "./authClient-D8i3JTM-.js";
7
+ 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-DhDNS-5B.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";
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";
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-OaD-cbbl.js";
10
+ import "./index-6Xe81qN3.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-DfvdbRPL.js";
12
+ import { t as ServiceId } from "./serviceIds-DRcoTnSd.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-DBOSvWtD.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-DEc55spK.js";
15
+ import { a as EncryptQuery, s as ScopedSecrets } from "./types-BQsOHNI0.js";
16
+ import { n as WriteTableInput, t as UploadFileInput } from "./types-nrviNdzZ.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-BupPADSm.js";
18
+ import { n as SpendCapsView, t as SpendCapMember } from "./kaiAgentClient-BJj_2aqt.js";
19
+ import { i as createManagementClient } from "./index-P-iT5THa.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-BH5LLeJy.js";
21
+ import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-CKiW3n6v.js";
22
+ import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-B2U9cFcx.js";
23
+ import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-C0_2KZ-A.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-BztF4HeB.js";
25
+ import { n as Listener, t as Emitter } from "./emitter-dLF1Fyfg.js";
26
+ import { t as Project } from "./project-C2wvX0xZ.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";
36
- import { n as WorkspaceData, t as CreateCredentialsBody } from "./types-lFsTSkhe.js";
29
+ import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-Dmu-8g4O.js";
30
+ 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-C2vefB4D.js";
31
+ import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-l9o4gFsI.js";
32
+ import { s as EncryptionCtx } from "./index-CqgtL2NU.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-CcrvrAJX.js";
34
+ import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-zZBxJ0P-.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-Bxhh2SJr.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-DYzJ6K2e.js";
37
+ import { n as SendSyncActionOptions } from "./index-3LUk2rpD.js";
38
+ import { n as ProvisioningToken, t as GetProvisioningTokenBody } from "./types-CPB-eF82.js";
37
39
  import { z } from "zod";
38
40
  //#region src/errors/UserError.d.ts
39
41
  declare class UserError extends Error {
@@ -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' | 'billing';
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
@@ -14429,6 +14323,49 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14429
14323
  }>;
14430
14324
  deleteAppGitRepoCredential: (appId: AppId, credentialId: CredentialId, signal?: AbortSignal) => Promise<void>;
14431
14325
  };
14326
+ billing: {
14327
+ healthCheck: (signal?: AbortSignal) => Promise<{
14328
+ status?: string;
14329
+ }>;
14330
+ getCredits: (signal?: AbortSignal) => Promise<{
14331
+ consumed: number;
14332
+ remaining: number;
14333
+ stats?: {
14334
+ componentJobs?: {
14335
+ consumed?: number;
14336
+ };
14337
+ workspaceJobs?: {
14338
+ workspaceType?: 'writer' | 'sandbox-sql' | 'transformation' | 'sandbox-data-science';
14339
+ warehouseSize?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | '2x-large' | '3x-large' | '4x-large';
14340
+ consumed?: number;
14341
+ };
14342
+ marketplaceSubscription?: {
14343
+ vendor: 'aws' | 'azure';
14344
+ state: 'inactive' | 'active' | 'suspended' | 'unsubscribed';
14345
+ billingLink: string;
14346
+ };
14347
+ };
14348
+ }>;
14349
+ getCreditsAndTopUp: (signal?: AbortSignal) => Promise<{
14350
+ consumed: number;
14351
+ remaining: number;
14352
+ stats?: {
14353
+ componentJobs?: {
14354
+ consumed?: number;
14355
+ };
14356
+ workspaceJobs?: {
14357
+ workspaceType?: 'writer' | 'sandbox-sql' | 'transformation' | 'sandbox-data-science';
14358
+ warehouseSize?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | '2x-large' | '3x-large' | '4x-large';
14359
+ consumed?: number;
14360
+ };
14361
+ marketplaceSubscription?: {
14362
+ vendor: 'aws' | 'azure';
14363
+ state: 'inactive' | 'active' | 'suspended' | 'unsubscribed';
14364
+ billingLink: string;
14365
+ };
14366
+ };
14367
+ }>;
14368
+ };
14432
14369
  chat: {
14433
14370
  healthCheck: (signal?: AbortSignal) => Promise<{
14434
14371
  timestamp: string;
@@ -14889,6 +14826,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14889
14826
  lastMessageAt?: string;
14890
14827
  visibility?: 'public' | 'private';
14891
14828
  branchId?: number | null;
14829
+ client?: 'kbc-ui' | 'business-chat' | null;
14892
14830
  }[];
14893
14831
  hasMore: boolean;
14894
14832
  }>;
@@ -14905,6 +14843,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
14905
14843
  maxTokens: number;
14906
14844
  percentage: number;
14907
14845
  } | null;
14846
+ ppuUsed: number | null;
14847
+ ppuPercentage: number | null;
14908
14848
  messages: {
14909
14849
  id: string;
14910
14850
  role: 'user' | 'assistant';
@@ -15021,6 +14961,12 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
15021
14961
  createdAt: string;
15022
14962
  updatedAt: string;
15023
14963
  }>;
14964
+ getSpendCaps: (signal?: AbortSignal) => Promise<SpendCapsView>;
14965
+ updateSpendCaps: (request: {
14966
+ projectCapPpu?: number | null;
14967
+ defaultUserLimitPpu?: number | null;
14968
+ }, signal?: AbortSignal) => Promise<SpendCapsView>;
14969
+ setUserSpendLimit: (userId: string, overrideLimitPpu: number | null, signal?: AbortSignal) => Promise<SpendCapMember>;
15024
14970
  getToolsList: (signal?: AbortSignal) => Promise<{
15025
14971
  tools: {
15026
14972
  name: string;
@@ -16107,9 +16053,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
16107
16053
  };
16108
16054
  };
16109
16055
  telemetry: {
16110
- provisioning: {
16111
- createCredentials: (body: CreateCredentialsBody, signal?: AbortSignal) => Promise<WorkspaceData>;
16112
- };
16056
+ healthCheck: (signal?: AbortSignal) => Promise<string>;
16057
+ getProvisioningToken: (body: GetProvisioningTokenBody, signal?: AbortSignal) => Promise<ProvisioningToken>;
16113
16058
  };
16114
16059
  vault: {
16115
16060
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
@@ -16134,12 +16079,168 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
16134
16079
  }>;
16135
16080
  //#endregion
16136
16081
  //#region src/keboola/createApi.d.ts
16082
+ /**
16083
+ * Everything on `api` except `auth` and `management` — the project-scoped half of `KeboolaApi`.
16084
+ *
16085
+ * - Holds no credential; the token and its refresh loop live on the session that built it.
16086
+ */
16137
16087
  type ProjectClients = Awaited<ReturnType<typeof createProjectClients>>;
16138
16088
  type KeboolaApi = ProjectClients & {
16139
16089
  auth: ReturnType<typeof createAuthClient>;
16140
16090
  management: ReturnType<typeof createManagementClient>;
16141
16091
  };
16142
16092
  //#endregion
16093
+ //#region src/keboola/types.d.ts
16094
+ type KeboolaOptions = {
16095
+ baseUrl?: string;
16096
+ middlewares?: Middlewares;
16097
+ clientServiceUrls?: ServiceUrls;
16098
+ storage?: StorageAdapter;
16099
+ };
16100
+ //#endregion
16101
+ //#region src/keboola/bearer/createConfig.d.ts
16102
+ type TokenSet = {
16103
+ accessToken: string;
16104
+ refreshToken: string;
16105
+ expiresIn: number;
16106
+ };
16107
+ type Credential = TokenSet & {
16108
+ issuedAt: number;
16109
+ };
16110
+ type State$1 = {
16111
+ status: 'anonymous';
16112
+ baseUrl: string | null;
16113
+ } | {
16114
+ status: 'authenticated';
16115
+ baseUrl: string;
16116
+ credential: Credential;
16117
+ } | {
16118
+ status: 'scoped';
16119
+ baseUrl: string;
16120
+ credential: Credential;
16121
+ projectId: number;
16122
+ };
16123
+ //#endregion
16124
+ //#region src/keboola/bearer/types.d.ts
16125
+ type SessionSnapshot$1 = {
16126
+ type: 'Bearer';
16127
+ config: State$1;
16128
+ authReady: boolean;
16129
+ managementReady: boolean;
16130
+ storage: AsyncState<unknown>['state'];
16131
+ };
16132
+ type RestoreResult = {
16133
+ status: 'empty' | 'restored' | 'expired';
16134
+ };
16135
+ //#endregion
16136
+ //#region src/keboola/bearer/keboola.d.ts
16137
+ declare const createKeboola: (options?: KeboolaOptions) => {
16138
+ api: KeboolaApi;
16139
+ session: {
16140
+ hasPersistedValue: () => boolean;
16141
+ setBaseUrl: (baseUrl: string) => void;
16142
+ isStorageReady: () => boolean;
16143
+ authenticate: (tokens: TokenSet) => void;
16144
+ setProject: (projectId: number) => void;
16145
+ setProjectAsync: (projectId: number) => Promise<void>;
16146
+ /**
16147
+ * Leave the current project but stay signed in — the storage build returns to `idle`, so a
16148
+ * consumer gating on it falls back to its project picker. The persisted session is rewritten with
16149
+ * `projectId: null` by the subscription above, so a reload lands on the picker rather than
16150
+ * re-entering the project. Use `reset` to sign out instead.
16151
+ */
16152
+ clearProject: () => void;
16153
+ /**
16154
+ * The clients for one project, off this session — for reaching a second project without leaving
16155
+ * the first.
16156
+ *
16157
+ * - `setProjectAsync` *moves* the session (and `api`) to another project; this *adds* one. The
16158
+ * returned set is the caller's to hold and never appears on `api`.
16159
+ * - Every set shares this session's auth middleware, so one rotation serves all of them. A second
16160
+ * `createKeboola()` does not: both hold the same single-use refresh token, and the first to
16161
+ * rotate invalidates the other's, whose next refresh 401s and signs it out.
16162
+ * - Independent of the scope, including for the scoped project itself — asking for that one
16163
+ * builds a second set with its own `liveProject`, so prefer `api.*` there.
16164
+ */
16165
+ forProject: (projectId: number) => Promise<ProjectClients>;
16166
+ reset: () => void;
16167
+ /**
16168
+ * Dev/test only: mark the current access token as expired so the bearer credential rotates it on
16169
+ * the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
16170
+ * the rotation immediately and observe the new credential.
16171
+ */
16172
+ debugForceRefresh: () => void;
16173
+ /**
16174
+ * The headers that authorize one off-client request, resolved fresh each call.
16175
+ *
16176
+ * - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
16177
+ * holds. Anything with a service client on `api` should use that instead.
16178
+ * - Returns the assembled bag, never the bare token: no caller handles the credential as a
16179
+ * string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
16180
+ * - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
16181
+ * one is never re-sent. A snapshot held by the caller would do neither.
16182
+ * - Throws rather than emitting a half-formed `Bearer null`: a session with no credential has
16183
+ * nothing to authorize with.
16184
+ * - Pinned to the sign-in it was called on, like every client here. This is the one
16185
+ * credential-emitting surface with no middleware chain for the guard to sit in, so the check
16186
+ * is written out around the `await` that rotates the token.
16187
+ *
16188
+ * `projectId` names the project the headers authorize, for a caller reaching a project the
16189
+ * session is not scoped to:
16190
+ *
16191
+ * - **Omitted**, the session's own scope answers — unchanged, and re-read *after* the rotation
16192
+ * rather than carried across it. The epoch the pin compares moves on a sign-in and a sign-out
16193
+ * only, so a project switch mid-rotation is invisible to it.
16194
+ * - **Given**, it is what the header says, and the scope is not consulted at all. A caller that
16195
+ * names a project has said everything the request needs: the credential is user-level and the
16196
+ * project is a header on top of it, so an authenticated session suffices where an unnamed call
16197
+ * requires a scoped one. Nothing about the session can change the answer, so there is nothing
16198
+ * to re-read after the `await`.
16199
+ * - **Not checked against an access set**, because this session cannot acquire one:
16200
+ * `forProject` — the only other surface taking a caller-supplied project id — records that
16201
+ * connection collapses every bearer failure into a single `invalid_token` 401, so "no access
16202
+ * to this project" and "revoked token" are the same response. Whether the caller may reach a
16203
+ * project is the caller's own knowledge, from `token.introspect`. What is guaranteed here is
16204
+ * that the header names what was asked for and never something else — which is the failure
16205
+ * worth preventing: a turn sent somewhere the transcript above it did not come from.
16206
+ */
16207
+ getAuthHeaders: (projectId?: number) => Promise<Record<string, string>>;
16208
+ restore: () => Promise<RestoreResult>;
16209
+ subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
16210
+ debug: () => SessionSnapshot$1;
16211
+ };
16212
+ };
16213
+ //#endregion
16214
+ //#region src/keboola/legacy/createConfig.d.ts
16215
+ type State = {
16216
+ baseUrl: string | null;
16217
+ sapiToken: string | null;
16218
+ managementToken: string | null;
16219
+ };
16220
+ //#endregion
16221
+ //#region src/keboola/legacy/types.d.ts
16222
+ type SessionSnapshot = {
16223
+ type: 'Sapi';
16224
+ config: State;
16225
+ authReady: boolean;
16226
+ managementReady: boolean;
16227
+ storage: AsyncState<unknown>['state'];
16228
+ };
16229
+ //#endregion
16230
+ //#region src/keboola/legacy/keboola.d.ts
16231
+ declare const createLegacyKeboola: (options?: KeboolaOptions) => {
16232
+ api: KeboolaApi;
16233
+ session: {
16234
+ setBaseUrl: (baseUrl: string) => void;
16235
+ isStorageReady: () => boolean;
16236
+ authenticateStorage: (sapiToken: string) => void;
16237
+ authenticateStorageAsync: (sapiToken: string) => Promise<void>;
16238
+ authenticateManagement: (managementToken: string) => void;
16239
+ subscribe: (listener: (snapshot: SessionSnapshot) => void) => () => void;
16240
+ debug: () => SessionSnapshot;
16241
+ };
16242
+ };
16243
+ //#endregion
16143
16244
  //#region src/keboola/index.d.ts
16144
16245
  /** The bearer (OAuth) session surface, derived from the factory's return. */
16145
16246
  type BearerSession = ReturnType<typeof createKeboola>['session'];
@@ -17353,5 +17454,5 @@ declare const createQueryServiceClient: ({ baseUrl, middlewares, auth }: ClientI
17353
17454
  exportResults: (queryJobId: GetQueryResultsPath['queryJobId'], statementId: GetQueryResultsPath['statementId'], query: GetExportResultsQuery, signal?: AbortSignal) => Promise<ExportResultsResponse>;
17354
17455
  };
17355
17456
  //#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
17457
+ 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 };
17458
+ //# sourceMappingURL=index-DFBFa3SS.d.ts.map