@keboola/api-client 25.0.0 → 27.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 (458) hide show
  1. package/AGENTS.md +489 -0
  2. package/API-SURFACE.md +126 -57
  3. package/README.md +29 -25
  4. package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
  5. package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
  6. package/dist/ai/index.cjs +4 -4
  7. package/dist/ai/index.d.cts +5 -2
  8. package/dist/ai/index.d.ts +5 -2
  9. package/dist/ai/index.js +3 -3
  10. package/dist/ai/types.d.cts +2 -2
  11. package/dist/ai/types.d.ts +2 -2
  12. package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
  13. package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
  14. package/dist/apps/index.cjs +16 -0
  15. package/dist/apps/index.cjs.map +1 -0
  16. package/dist/apps/index.d.cts +249 -0
  17. package/dist/apps/index.d.ts +249 -0
  18. package/dist/apps/index.js +7 -0
  19. package/dist/apps/index.js.map +1 -0
  20. package/dist/apps/types.cjs +4 -0
  21. package/dist/apps/types.cjs.map +1 -0
  22. package/dist/apps/types.d.cts +3 -0
  23. package/dist/apps/types.d.ts +3 -0
  24. package/dist/apps/types.js +3 -0
  25. package/dist/apps/types.js.map +1 -0
  26. package/dist/assets/index.cjs +2 -2
  27. package/dist/assets/index.js +1 -1
  28. package/dist/auth/index.cjs +17 -13
  29. package/dist/auth/index.d.cts +18 -5
  30. package/dist/auth/index.d.ts +18 -5
  31. package/dist/auth/index.js +2 -2
  32. package/dist/auth/types.d.cts +3 -3
  33. package/dist/auth/types.d.ts +3 -3
  34. package/dist/backends-UNp_e5y9.d.cts +7 -0
  35. package/dist/backends-UNp_e5y9.d.ts +7 -0
  36. package/dist/chat/index.cjs +4 -4
  37. package/dist/chat/index.d.cts +5 -2
  38. package/dist/chat/index.d.ts +5 -2
  39. package/dist/chat/index.js +3 -3
  40. package/dist/chat/types.d.cts +2 -2
  41. package/dist/chat/types.d.ts +2 -2
  42. package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
  43. package/dist/chunk-24YVNNAG.js.map +1 -0
  44. package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
  45. package/dist/chunk-255CHZ3U.js.map +1 -0
  46. package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
  47. package/dist/chunk-2BCH2U57.js.map +1 -0
  48. package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
  49. package/dist/chunk-2BQBKU6E.js.map +1 -0
  50. package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
  51. package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
  52. package/dist/chunk-3UBGQFBU.js +29 -0
  53. package/dist/chunk-3UBGQFBU.js.map +1 -0
  54. package/dist/chunk-57Q4CY4H.js +190 -0
  55. package/dist/chunk-57Q4CY4H.js.map +1 -0
  56. package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
  57. package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
  58. package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
  59. package/dist/chunk-5HEIR4DC.js.map +1 -0
  60. package/dist/{chunk-Z3HZ4MP4.cjs → chunk-5SR2L35Y.cjs} +885 -553
  61. package/dist/chunk-5SR2L35Y.cjs.map +1 -0
  62. package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
  63. package/dist/chunk-62LG5KPI.js.map +1 -0
  64. package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
  65. package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
  66. package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
  67. package/dist/chunk-6PVEHUJL.cjs.map +1 -0
  68. package/dist/chunk-6XFXU5N4.js +119 -0
  69. package/dist/chunk-6XFXU5N4.js.map +1 -0
  70. package/dist/chunk-6ZQBFK2Y.js +24 -0
  71. package/dist/chunk-6ZQBFK2Y.js.map +1 -0
  72. package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
  73. package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
  74. package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
  75. package/dist/chunk-AXYNFDUI.cjs.map +1 -0
  76. package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
  77. package/dist/chunk-B45B4AYG.js.map +1 -0
  78. package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
  79. package/dist/chunk-B4T4QCLB.js.map +1 -0
  80. package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
  81. package/dist/chunk-BGJWHTBJ.js.map +1 -0
  82. package/dist/chunk-BVRPZKRE.cjs +147 -0
  83. package/dist/chunk-BVRPZKRE.cjs.map +1 -0
  84. package/dist/chunk-BZB4UVQA.cjs +192 -0
  85. package/dist/chunk-BZB4UVQA.cjs.map +1 -0
  86. package/dist/{chunk-IAYPOSMM.cjs → chunk-CHRBWCL7.cjs} +8 -8
  87. package/dist/chunk-CHRBWCL7.cjs.map +1 -0
  88. package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
  89. package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
  90. package/dist/{chunk-RVBGE2Z4.js → chunk-DVV35AIS.js} +7 -7
  91. package/dist/chunk-DVV35AIS.js.map +1 -0
  92. package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
  93. package/dist/chunk-E7GGDLAH.cjs.map +1 -0
  94. package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
  95. package/dist/chunk-EQPBR3BE.cjs.map +1 -0
  96. package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
  97. package/dist/chunk-ERZEQ5JR.js.map +1 -0
  98. package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
  99. package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
  100. package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
  101. package/dist/chunk-FEAE6L3K.cjs.map +1 -0
  102. package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
  103. package/dist/chunk-FVU7WU2H.cjs.map +1 -0
  104. package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
  105. package/dist/chunk-FW5GBBKL.js.map +1 -0
  106. package/dist/chunk-G2SWCC3X.js +90 -0
  107. package/dist/chunk-G2SWCC3X.js.map +1 -0
  108. package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
  109. package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
  110. package/dist/{chunk-D4WOOKMI.js → chunk-HGKDXF35.js} +58 -107
  111. package/dist/chunk-HGKDXF35.js.map +1 -0
  112. package/dist/chunk-HQO572JW.cjs +34 -0
  113. package/dist/chunk-HQO572JW.cjs.map +1 -0
  114. package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
  115. package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
  116. package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
  117. package/dist/chunk-HZDVMHU6.js.map +1 -0
  118. package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
  119. package/dist/chunk-ICWUR5WA.cjs.map +1 -0
  120. package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
  121. package/dist/chunk-IQFNHQWP.cjs.map +1 -0
  122. package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
  123. package/dist/chunk-IZ4QM7O4.js.map +1 -0
  124. package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
  125. package/dist/chunk-J5JCXSAS.cjs.map +1 -0
  126. package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
  127. package/dist/chunk-JI7HLIDL.cjs.map +1 -0
  128. package/dist/chunk-JWISA775.cjs +92 -0
  129. package/dist/chunk-JWISA775.cjs.map +1 -0
  130. package/dist/chunk-K3BLXPLA.cjs +16 -0
  131. package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
  132. package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
  133. package/dist/chunk-KATUDT3E.js.map +1 -0
  134. package/dist/chunk-KGBWWS6I.js +32 -0
  135. package/dist/chunk-KGBWWS6I.js.map +1 -0
  136. package/dist/chunk-KQENBXPS.cjs +34 -0
  137. package/dist/chunk-KQENBXPS.cjs.map +1 -0
  138. package/dist/chunk-KTKJD4DM.js +60 -0
  139. package/dist/chunk-KTKJD4DM.js.map +1 -0
  140. package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
  141. package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
  142. package/dist/chunk-NFJKJGXR.js +397 -0
  143. package/dist/chunk-NFJKJGXR.js.map +1 -0
  144. package/dist/chunk-NH2TQGRL.cjs +28 -0
  145. package/dist/chunk-NH2TQGRL.cjs.map +1 -0
  146. package/dist/{chunk-KEFXOJD7.js → chunk-NHYL5QPM.js} +16 -3
  147. package/dist/chunk-NHYL5QPM.js.map +1 -0
  148. package/dist/{chunk-AVH6F5LB.js → chunk-ON4ILCHP.js} +876 -546
  149. package/dist/chunk-ON4ILCHP.js.map +1 -0
  150. package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
  151. package/dist/chunk-PLF4JX5B.cjs.map +1 -0
  152. package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
  153. package/dist/chunk-QNF3L4B7.js.map +1 -0
  154. package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
  155. package/dist/chunk-RBN3ITTM.js.map +1 -0
  156. package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
  157. package/dist/chunk-RXYT7EMN.cjs.map +1 -0
  158. package/dist/chunk-S46FMY4G.cjs +64 -0
  159. package/dist/chunk-S46FMY4G.cjs.map +1 -0
  160. package/dist/chunk-S6BWQKHJ.cjs +116 -0
  161. package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
  162. package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
  163. package/dist/chunk-SFTI6QFB.cjs.map +1 -0
  164. package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
  165. package/dist/chunk-SNP577FA.cjs.map +1 -0
  166. package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
  167. package/dist/chunk-SUVM3S2T.cjs.map +1 -0
  168. package/dist/chunk-SYZ5OFNT.js +114 -0
  169. package/dist/chunk-SYZ5OFNT.js.map +1 -0
  170. package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
  171. package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
  172. package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
  173. package/dist/chunk-TBHJQCAE.js.map +1 -0
  174. package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
  175. package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
  176. package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
  177. package/dist/chunk-UVX733BX.js.map +1 -0
  178. package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
  179. package/dist/chunk-V6FT3RTU.cjs.map +1 -0
  180. package/dist/{chunk-F6ZAYTBX.cjs → chunk-VB56OVFM.cjs} +58 -110
  181. package/dist/chunk-VB56OVFM.cjs.map +1 -0
  182. package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
  183. package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
  184. package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
  185. package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
  186. package/dist/{chunk-FJBP3MRI.cjs → chunk-WUJ53PP7.cjs} +16 -3
  187. package/dist/chunk-WUJ53PP7.cjs.map +1 -0
  188. package/dist/chunk-YDOSWWE4.cjs +419 -0
  189. package/dist/chunk-YDOSWWE4.cjs.map +1 -0
  190. package/dist/constants/index.cjs +2 -2
  191. package/dist/constants/index.d.cts +13 -1
  192. package/dist/constants/index.d.ts +13 -1
  193. package/dist/constants/index.js +1 -1
  194. package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
  195. package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
  196. package/dist/{createOpenapiFetchClient-BFmiJ9C5.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +1 -1
  197. package/dist/{createOpenapiFetchClient-6RX67Hws.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +1 -1
  198. package/dist/dataScience/index.cjs +6 -5
  199. package/dist/dataScience/index.d.cts +7 -5
  200. package/dist/dataScience/index.d.ts +7 -5
  201. package/dist/dataScience/index.js +4 -3
  202. package/dist/dataScience/types.d.cts +2172 -2
  203. package/dist/dataScience/types.d.ts +2172 -2
  204. package/dist/domain/permissions/index.cjs +3 -3
  205. package/dist/domain/permissions/index.d.cts +5 -4
  206. package/dist/domain/permissions/index.d.ts +5 -4
  207. package/dist/domain/permissions/index.js +1 -1
  208. package/dist/editor/index.cjs +4 -4
  209. package/dist/editor/index.d.cts +5 -2
  210. package/dist/editor/index.d.ts +5 -2
  211. package/dist/editor/index.js +3 -3
  212. package/dist/editor/types.d.cts +2 -2
  213. package/dist/editor/types.d.ts +2 -2
  214. package/dist/encryption/index.cjs +3 -3
  215. package/dist/encryption/index.d.cts +5 -3
  216. package/dist/encryption/index.d.ts +5 -3
  217. package/dist/encryption/index.js +2 -2
  218. package/dist/encryption/types.d.cts +4 -3
  219. package/dist/encryption/types.d.ts +4 -3
  220. package/dist/import/index.cjs +4 -4
  221. package/dist/import/index.d.cts +5 -2
  222. package/dist/import/index.d.ts +5 -2
  223. package/dist/import/index.js +3 -3
  224. package/dist/index.cjs +211 -127
  225. package/dist/index.cjs.map +1 -1
  226. package/dist/index.d.cts +934 -457
  227. package/dist/index.d.ts +934 -457
  228. package/dist/index.js +95 -44
  229. package/dist/index.js.map +1 -1
  230. package/dist/management/index.cjs +5 -5
  231. package/dist/management/index.d.cts +60 -67
  232. package/dist/management/index.d.ts +60 -67
  233. package/dist/management/index.js +3 -3
  234. package/dist/management/types.d.cts +3 -3
  235. package/dist/management/types.d.ts +3 -3
  236. package/dist/metastore/index.cjs +4 -4
  237. package/dist/metastore/index.d.cts +5 -6
  238. package/dist/metastore/index.d.ts +5 -6
  239. package/dist/metastore/index.js +3 -3
  240. package/dist/metastore/types.d.cts +2 -2
  241. package/dist/metastore/types.d.ts +2 -2
  242. package/dist/notifications/index.cjs +5 -5
  243. package/dist/notifications/index.d.cts +3 -2
  244. package/dist/notifications/index.d.ts +3 -2
  245. package/dist/notifications/index.js +4 -4
  246. package/dist/notifications/types.d.cts +2 -2
  247. package/dist/notifications/types.d.ts +2 -2
  248. package/dist/oauth/index.cjs +4 -4
  249. package/dist/oauth/index.d.cts +2 -1
  250. package/dist/oauth/index.d.ts +2 -1
  251. package/dist/oauth/index.js +3 -3
  252. package/dist/oauth/types.d.cts +1 -1
  253. package/dist/oauth/types.d.ts +1 -1
  254. package/dist/omnisearch/index.cjs +14 -0
  255. package/dist/omnisearch/index.cjs.map +1 -0
  256. package/dist/omnisearch/index.d.cts +32 -0
  257. package/dist/omnisearch/index.d.ts +32 -0
  258. package/dist/omnisearch/index.js +5 -0
  259. package/dist/omnisearch/index.js.map +1 -0
  260. package/dist/omnisearch/types.cjs +4 -0
  261. package/dist/omnisearch/types.cjs.map +1 -0
  262. package/dist/omnisearch/types.d.cts +3 -0
  263. package/dist/omnisearch/types.d.ts +3 -0
  264. package/dist/omnisearch/types.js +3 -0
  265. package/dist/omnisearch/types.js.map +1 -0
  266. package/dist/{project-CXqPYo4T.d.ts → project-Dmr-zrQG.d.ts} +2 -2
  267. package/dist/{project-CZPvcxRW.d.cts → project-DstzWVMN.d.cts} +2 -2
  268. package/dist/queryService/index.cjs +4 -4
  269. package/dist/queryService/index.d.cts +3 -2
  270. package/dist/queryService/index.d.ts +3 -2
  271. package/dist/queryService/index.js +3 -3
  272. package/dist/queryService/types.d.cts +2 -2
  273. package/dist/queryService/types.d.ts +2 -2
  274. package/dist/queue/index.cjs +4 -4
  275. package/dist/queue/index.d.cts +8 -2
  276. package/dist/queue/index.d.ts +8 -2
  277. package/dist/queue/index.js +3 -3
  278. package/dist/queue/types.d.cts +2 -2
  279. package/dist/queue/types.d.ts +2 -2
  280. package/dist/scheduler/index.cjs +5 -5
  281. package/dist/scheduler/index.d.cts +2 -1
  282. package/dist/scheduler/index.d.ts +2 -1
  283. package/dist/scheduler/index.js +4 -4
  284. package/dist/scheduler/types.d.cts +3 -3
  285. package/dist/scheduler/types.d.ts +3 -3
  286. package/dist/sdk/configurations/index.cjs +3 -3
  287. package/dist/sdk/configurations/index.d.cts +7 -6
  288. package/dist/sdk/configurations/index.d.ts +7 -6
  289. package/dist/sdk/configurations/index.js +2 -2
  290. package/dist/sdk/queryService/index.cjs +16 -0
  291. package/dist/sdk/queryService/index.cjs.map +1 -0
  292. package/dist/sdk/queryService/index.d.cts +35 -0
  293. package/dist/sdk/queryService/index.d.ts +35 -0
  294. package/dist/sdk/queryService/index.js +7 -0
  295. package/dist/sdk/queryService/index.js.map +1 -0
  296. package/dist/sdk/semanticLayer/index.cjs +18 -14
  297. package/dist/sdk/semanticLayer/index.d.cts +25 -10
  298. package/dist/sdk/semanticLayer/index.d.ts +25 -10
  299. package/dist/sdk/semanticLayer/index.js +2 -2
  300. package/dist/sdk/semanticLayer/types.d.cts +25 -5
  301. package/dist/sdk/semanticLayer/types.d.ts +25 -5
  302. package/dist/sdk/storage/index.cjs +12 -11
  303. package/dist/sdk/storage/index.d.cts +7 -6
  304. package/dist/sdk/storage/index.d.ts +7 -6
  305. package/dist/sdk/storage/index.js +2 -1
  306. package/dist/sdk/tag/index.cjs +3 -3
  307. package/dist/sdk/tag/index.d.cts +3 -3
  308. package/dist/sdk/tag/index.d.ts +3 -3
  309. package/dist/sdk/tag/index.js +2 -2
  310. package/dist/sdk/tag/types.d.cts +10 -4
  311. package/dist/sdk/tag/types.d.ts +10 -4
  312. package/dist/sdk/vault/index.cjs +8 -8
  313. package/dist/sdk/vault/index.d.cts +5 -4
  314. package/dist/sdk/vault/index.d.ts +5 -4
  315. package/dist/sdk/vault/index.js +2 -2
  316. package/dist/status/index.cjs +2 -2
  317. package/dist/status/index.js +1 -1
  318. package/dist/storage/index.cjs +50 -12
  319. package/dist/storage/index.d.cts +17 -36
  320. package/dist/storage/index.d.ts +17 -36
  321. package/dist/storage/index.js +7 -5
  322. package/dist/storage/types.d.cts +720 -425
  323. package/dist/storage/types.d.ts +720 -425
  324. package/dist/{storageClient-Dkcg7hKa.d.cts → storageClient-BAid0vi2.d.cts} +478 -247
  325. package/dist/{storageClient-Cd4jVt58.d.ts → storageClient-BX50Attd.d.ts} +478 -247
  326. package/dist/{storageSdk-L6NOdgSJ.d.ts → storageSdk-BS5982c_.d.cts} +22 -15
  327. package/dist/{storageSdk-15_Fbucc.d.cts → storageSdk-BeJcnEIO.d.ts} +22 -15
  328. package/dist/stream/index.cjs +4 -4
  329. package/dist/stream/index.d.cts +3 -2
  330. package/dist/stream/index.d.ts +3 -2
  331. package/dist/stream/index.js +3 -3
  332. package/dist/stream/types.d.cts +2 -2
  333. package/dist/stream/types.d.ts +2 -2
  334. package/dist/syncActions/index.cjs +6 -5
  335. package/dist/syncActions/index.d.cts +31 -76
  336. package/dist/syncActions/index.d.ts +31 -76
  337. package/dist/syncActions/index.js +5 -4
  338. package/dist/syncActions/types.d.cts +334 -18
  339. package/dist/syncActions/types.d.ts +334 -18
  340. package/dist/telemetry/index.cjs +4 -4
  341. package/dist/telemetry/index.js +3 -3
  342. package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
  343. package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
  344. package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
  345. package/dist/types-BcaALDYY.d.cts +2130 -0
  346. package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
  347. package/dist/types-Bp8d9PJf.d.cts +607 -0
  348. package/dist/types-BsejtGjZ.d.ts +2130 -0
  349. package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
  350. package/dist/{types-BqC3U0k0.d.cts → types-C5DdOzx8.d.cts} +1 -1
  351. package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
  352. package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
  353. package/dist/{types-Dkipk6NN.d.ts → types-C_jxWM7A.d.ts} +1 -1
  354. package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
  355. package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
  356. package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
  357. package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
  358. package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
  359. package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
  360. package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
  361. package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
  362. package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
  363. package/dist/types-DOc5_aYZ.d.ts +607 -0
  364. package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
  365. package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
  366. package/dist/{types-00IaLn3S.d.ts → types-EZBBpiFU.d.ts} +695 -82
  367. package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
  368. package/dist/{types-sVyfECai.d.cts → types-cxk-0ftN.d.cts} +695 -82
  369. package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
  370. package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
  371. package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
  372. package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
  373. package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
  374. package/dist/vault/index.cjs +4 -4
  375. package/dist/vault/index.d.cts +2 -1
  376. package/dist/vault/index.d.ts +2 -1
  377. package/dist/vault/index.js +3 -3
  378. package/dist/vault/types.d.cts +3 -3
  379. package/dist/vault/types.d.ts +3 -3
  380. package/package.json +71 -3
  381. package/surface/ai.md +1 -0
  382. package/surface/apps.md +32 -0
  383. package/surface/auth.md +6 -4
  384. package/surface/chat.md +1 -0
  385. package/surface/dataScience.md +1 -0
  386. package/surface/editor.md +1 -0
  387. package/surface/encryption.md +1 -0
  388. package/surface/import.md +1 -0
  389. package/surface/kaiAgent.md +1 -0
  390. package/surface/management.md +17 -16
  391. package/surface/metastore.md +2 -1
  392. package/surface/notifications.md +1 -0
  393. package/surface/oauth.md +1 -0
  394. package/surface/omnisearch.md +9 -0
  395. package/surface/queryService.md +1 -0
  396. package/surface/queue.md +7 -6
  397. package/surface/scheduler.md +1 -0
  398. package/surface/sdk.md +16 -16
  399. package/surface/storage.md +119 -83
  400. package/surface/stream.md +1 -0
  401. package/surface/syncActions.md +13 -6
  402. package/surface/vault.md +1 -0
  403. package/dist/chunk-34GM6NXB.js.map +0 -1
  404. package/dist/chunk-3BFPNM2J.js.map +0 -1
  405. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  406. package/dist/chunk-4VVF2PIX.js.map +0 -1
  407. package/dist/chunk-77LILJYX.js.map +0 -1
  408. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  409. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  410. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  411. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  412. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  413. package/dist/chunk-AVH6F5LB.js.map +0 -1
  414. package/dist/chunk-AXEANGGK.js +0 -226
  415. package/dist/chunk-AXEANGGK.js.map +0 -1
  416. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  417. package/dist/chunk-BZA3FGO6.js.map +0 -1
  418. package/dist/chunk-CV2JGHBN.js.map +0 -1
  419. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  420. package/dist/chunk-D4WOOKMI.js.map +0 -1
  421. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  422. package/dist/chunk-F6ZAYTBX.cjs.map +0 -1
  423. package/dist/chunk-FJBP3MRI.cjs.map +0 -1
  424. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  425. package/dist/chunk-G66EP527.js.map +0 -1
  426. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  427. package/dist/chunk-HMCZUHR7.js.map +0 -1
  428. package/dist/chunk-HTVJR5WS.cjs +0 -305
  429. package/dist/chunk-HTVJR5WS.cjs.map +0 -1
  430. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  431. package/dist/chunk-IAYPOSMM.cjs.map +0 -1
  432. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  433. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  434. package/dist/chunk-KEFXOJD7.js.map +0 -1
  435. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  436. package/dist/chunk-L262THNK.cjs +0 -253
  437. package/dist/chunk-L262THNK.cjs.map +0 -1
  438. package/dist/chunk-LD3JERYP.js.map +0 -1
  439. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  440. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  441. package/dist/chunk-NVRVPWNY.js.map +0 -1
  442. package/dist/chunk-OUSPQ55W.js.map +0 -1
  443. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  444. package/dist/chunk-RVBGE2Z4.js.map +0 -1
  445. package/dist/chunk-S4JK7DKM.js.map +0 -1
  446. package/dist/chunk-SJZ66FD5.js.map +0 -1
  447. package/dist/chunk-T242YFMT.cjs.map +0 -1
  448. package/dist/chunk-UABYNGBZ.js.map +0 -1
  449. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  450. package/dist/chunk-UQ5CACMW.js +0 -283
  451. package/dist/chunk-UQ5CACMW.js.map +0 -1
  452. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  453. package/dist/chunk-XHDYLUM4.js.map +0 -1
  454. package/dist/chunk-XIIER7QQ.js.map +0 -1
  455. package/dist/chunk-XKIENBIE.js.map +0 -1
  456. package/dist/chunk-Z3HZ4MP4.cjs.map +0 -1
  457. package/dist/utils-B_SOM1XR.d.ts +0 -3051
  458. package/dist/utils-DK7uJcmR.d.cts +0 -3051
package/dist/index.cjs CHANGED
@@ -1,45 +1,52 @@
1
1
  'use strict';
2
2
 
3
- var chunkIAYPOSMM_cjs = require('./chunk-IAYPOSMM.cjs');
4
- var chunkGF4XZK5N_cjs = require('./chunk-GF4XZK5N.cjs');
3
+ var chunkU3E5YMLO_cjs = require('./chunk-U3E5YMLO.cjs');
4
+ var chunkG3JHVIDZ_cjs = require('./chunk-G3JHVIDZ.cjs');
5
+ var chunkVB56OVFM_cjs = require('./chunk-VB56OVFM.cjs');
6
+ var chunkJWISA775_cjs = require('./chunk-JWISA775.cjs');
7
+ var chunkS46FMY4G_cjs = require('./chunk-S46FMY4G.cjs');
8
+ var chunkCHRBWCL7_cjs = require('./chunk-CHRBWCL7.cjs');
9
+ var chunkAXYNFDUI_cjs = require('./chunk-AXYNFDUI.cjs');
5
10
  require('./chunk-6YZQIMML.cjs');
6
11
  var chunkUUY6LQT6_cjs = require('./chunk-UUY6LQT6.cjs');
7
- var chunkEYIPM2XB_cjs = require('./chunk-EYIPM2XB.cjs');
8
- var chunkFRLSKIUI_cjs = require('./chunk-FRLSKIUI.cjs');
9
- var chunkKUYVBCUM_cjs = require('./chunk-KUYVBCUM.cjs');
12
+ var chunkSZBW4EE2_cjs = require('./chunk-SZBW4EE2.cjs');
10
13
  var chunkEWMXK3EI_cjs = require('./chunk-EWMXK3EI.cjs');
11
- var chunkF6ZAYTBX_cjs = require('./chunk-F6ZAYTBX.cjs');
12
- var chunkZ3HZ4MP4_cjs = require('./chunk-Z3HZ4MP4.cjs');
13
- var chunk7YXL4FKN_cjs = require('./chunk-7YXL4FKN.cjs');
14
- var chunkHTVJR5WS_cjs = require('./chunk-HTVJR5WS.cjs');
14
+ var chunkEQPBR3BE_cjs = require('./chunk-EQPBR3BE.cjs');
15
+ var chunkJI7HLIDL_cjs = require('./chunk-JI7HLIDL.cjs');
16
+ require('./chunk-QHD4LPAQ.cjs');
17
+ var chunk5SR2L35Y_cjs = require('./chunk-5SR2L35Y.cjs');
18
+ var chunkKQENBXPS_cjs = require('./chunk-KQENBXPS.cjs');
19
+ var chunkSNP577FA_cjs = require('./chunk-SNP577FA.cjs');
20
+ var chunkYDOSWWE4_cjs = require('./chunk-YDOSWWE4.cjs');
15
21
  var chunkHITKHHWN_cjs = require('./chunk-HITKHHWN.cjs');
16
- require('./chunk-FJBP3MRI.cjs');
22
+ require('./chunk-WUJ53PP7.cjs');
17
23
  require('./chunk-YXGBD4WP.cjs');
18
24
  var chunkN4COL54U_cjs = require('./chunk-N4COL54U.cjs');
19
- var chunkNVQ6LGDO_cjs = require('./chunk-NVQ6LGDO.cjs');
20
- var chunk7R22VKV7_cjs = require('./chunk-7R22VKV7.cjs');
25
+ var chunkNH2TQGRL_cjs = require('./chunk-NH2TQGRL.cjs');
26
+ var chunk2JKTV7UG_cjs = require('./chunk-2JKTV7UG.cjs');
27
+ var chunkICWUR5WA_cjs = require('./chunk-ICWUR5WA.cjs');
21
28
  var chunkRRC5RKF7_cjs = require('./chunk-RRC5RKF7.cjs');
22
- var chunk2CFM7K4U_cjs = require('./chunk-2CFM7K4U.cjs');
23
- var chunkHY7J3OD3_cjs = require('./chunk-HY7J3OD3.cjs');
24
- var chunkCWCUQACX_cjs = require('./chunk-CWCUQACX.cjs');
25
- var chunkCWUQ6ZAO_cjs = require('./chunk-CWUQ6ZAO.cjs');
26
- var chunkPPQF7LTS_cjs = require('./chunk-PPQF7LTS.cjs');
27
- var chunk3YWQQ3OG_cjs = require('./chunk-3YWQQ3OG.cjs');
28
- var chunkAFJGNBVM_cjs = require('./chunk-AFJGNBVM.cjs');
29
- var chunkFMS5PNM2_cjs = require('./chunk-FMS5PNM2.cjs');
30
- var chunkJ3NLKXQ5_cjs = require('./chunk-J3NLKXQ5.cjs');
31
- var chunkLIXSIM3H_cjs = require('./chunk-LIXSIM3H.cjs');
32
- require('./chunk-QHD4LPAQ.cjs');
33
- var chunkIDWGBCSB_cjs = require('./chunk-IDWGBCSB.cjs');
34
- var chunkDRNOCC6W_cjs = require('./chunk-DRNOCC6W.cjs');
35
- var chunkT242YFMT_cjs = require('./chunk-T242YFMT.cjs');
29
+ var chunkIQFNHQWP_cjs = require('./chunk-IQFNHQWP.cjs');
30
+ var chunkFEAE6L3K_cjs = require('./chunk-FEAE6L3K.cjs');
31
+ var chunk6PVEHUJL_cjs = require('./chunk-6PVEHUJL.cjs');
32
+ var chunkES3ADC2G_cjs = require('./chunk-ES3ADC2G.cjs');
33
+ var chunkE7GGDLAH_cjs = require('./chunk-E7GGDLAH.cjs');
34
+ var chunkSUVM3S2T_cjs = require('./chunk-SUVM3S2T.cjs');
35
+ var chunkSFTI6QFB_cjs = require('./chunk-SFTI6QFB.cjs');
36
+ var chunkHQO572JW_cjs = require('./chunk-HQO572JW.cjs');
37
+ var chunkAJ3SCWUB_cjs = require('./chunk-AJ3SCWUB.cjs');
38
+ var chunkV6FT3RTU_cjs = require('./chunk-V6FT3RTU.cjs');
39
+ var chunkFVU7WU2H_cjs = require('./chunk-FVU7WU2H.cjs');
40
+ var chunkBZB4UVQA_cjs = require('./chunk-BZB4UVQA.cjs');
41
+ var chunkRXYT7EMN_cjs = require('./chunk-RXYT7EMN.cjs');
42
+ var chunkPLF4JX5B_cjs = require('./chunk-PLF4JX5B.cjs');
36
43
  require('./chunk-U5SE6W5M.cjs');
37
- var chunkL262THNK_cjs = require('./chunk-L262THNK.cjs');
44
+ var chunkS6BWQKHJ_cjs = require('./chunk-S6BWQKHJ.cjs');
45
+ var chunkBVRPZKRE_cjs = require('./chunk-BVRPZKRE.cjs');
38
46
  var chunkMRHQJNWF_cjs = require('./chunk-MRHQJNWF.cjs');
39
- var chunkUWQUHP3T_cjs = require('./chunk-UWQUHP3T.cjs');
40
- var chunk7RO6PKZ4_cjs = require('./chunk-7RO6PKZ4.cjs');
41
- var chunkBR6WZE3O_cjs = require('./chunk-BR6WZE3O.cjs');
42
- var chunkMMOAH3EH_cjs = require('./chunk-MMOAH3EH.cjs');
47
+ var chunkJ5JCXSAS_cjs = require('./chunk-J5JCXSAS.cjs');
48
+ var chunkK3BLXPLA_cjs = require('./chunk-K3BLXPLA.cjs');
49
+ var chunkHUQ5ATIL_cjs = require('./chunk-HUQ5ATIL.cjs');
43
50
  var z2 = require('zod');
44
51
 
45
52
  function _interopNamespace(e) {
@@ -93,6 +100,19 @@ var coalesce = (task) => {
93
100
  };
94
101
  };
95
102
 
103
+ // src/utils/async/lazy.ts
104
+ var lazy = (task) => {
105
+ let value = null;
106
+ const runTask = async () => await task();
107
+ return () => {
108
+ value ??= runTask().catch((error) => {
109
+ value = null;
110
+ throw error;
111
+ });
112
+ return value;
113
+ };
114
+ };
115
+
96
116
  // src/utils/createStore.ts
97
117
  var createStore = (initial) => {
98
118
  let value = initial;
@@ -363,8 +383,8 @@ var createLiveProject = ({
363
383
  initialToken,
364
384
  verify
365
385
  }) => {
366
- const store = createStore(chunkGF4XZK5N_cjs.createProject({ sapiToken: initialToken }));
367
- const refresh = coalesce(async () => store.set(chunkGF4XZK5N_cjs.createProject({ sapiToken: await verify() })));
386
+ const store = createStore(chunkAXYNFDUI_cjs.createProject({ sapiToken: initialToken }));
387
+ const refresh = coalesce(async () => store.set(chunkAXYNFDUI_cjs.createProject({ sapiToken: await verify() })));
368
388
  const middleware = createProjectRefreshMiddleware(isStorageTokenMutatingRequest, refresh);
369
389
  return { store, getProject: () => store.get(), subscribe: store.subscribe, middleware, refresh };
370
390
  };
@@ -409,8 +429,8 @@ function assert2(value, type) {
409
429
  // src/middlewares/loggingMiddleware.ts
410
430
  var CORRELATION_ID_HEADER = "X-Correlation-ID";
411
431
  var ALWAYS_REDACTED_HEADERS = [
412
- chunkMMOAH3EH_cjs.KeboolaHttpHeader.MANAGEMENT_API_TOKEN,
413
- chunkMMOAH3EH_cjs.KeboolaHttpHeader.STORAGE_API_TOKEN,
432
+ chunkHUQ5ATIL_cjs.KeboolaHttpHeader.MANAGEMENT_API_TOKEN,
433
+ chunkHUQ5ATIL_cjs.KeboolaHttpHeader.STORAGE_API_TOKEN,
414
434
  "authorization",
415
435
  "cookie",
416
436
  "set-cookie"
@@ -467,7 +487,7 @@ var getResponseLog = (response, redactedHeaders) => ({
467
487
  statusText: response.statusText,
468
488
  headers: getRedactedHeaders(response.headers, redactedHeaders)
469
489
  });
470
- var redactApiError = (error, redactedHeaders) => new chunkMMOAH3EH_cjs.ApiError({
490
+ var redactApiError = (error, redactedHeaders) => new chunkHUQ5ATIL_cjs.ApiError({
471
491
  request: new Request(getRedactedUrl(error.request.url), {
472
492
  method: error.request.method,
473
493
  headers: getRedactedHeaders(error.request.headers, redactedHeaders)
@@ -535,7 +555,7 @@ var createLoggingMiddleware = (options = {}) => {
535
555
  method,
536
556
  durationMs: performance.now() - start,
537
557
  request: requestLog,
538
- error: chunkMMOAH3EH_cjs.isApiError(error) ? redactApiError(error, redactHeaders) : error
558
+ error: chunkHUQ5ATIL_cjs.isApiError(error) ? redactApiError(error, redactHeaders) : error
539
559
  });
540
560
  throw error;
541
561
  }
@@ -545,13 +565,13 @@ var createLoggingMiddleware = (options = {}) => {
545
565
  // src/middlewares/retryMiddleware.ts
546
566
  var DEFAULT_MAX_RETRIES = 5;
547
567
  var DEFAULT_RETRYABLE_STATUSES = [
548
- chunkMMOAH3EH_cjs.HttpStatus.INTERNAL_SERVER_ERROR,
549
- chunkMMOAH3EH_cjs.HttpStatus.BAD_GATEWAY,
550
- chunkMMOAH3EH_cjs.HttpStatus.SERVICE_UNAVAILABLE,
551
- chunkMMOAH3EH_cjs.HttpStatus.GATEWAY_TIMEOUT
568
+ chunkHUQ5ATIL_cjs.HttpStatus.INTERNAL_SERVER_ERROR,
569
+ chunkHUQ5ATIL_cjs.HttpStatus.BAD_GATEWAY,
570
+ chunkHUQ5ATIL_cjs.HttpStatus.SERVICE_UNAVAILABLE,
571
+ chunkHUQ5ATIL_cjs.HttpStatus.GATEWAY_TIMEOUT
552
572
  ];
553
573
  var DEFAULT_BACKOFF_FACTOR = 0.3;
554
- var defaultShouldRetry = (error) => error instanceof chunkMMOAH3EH_cjs.ApiError && DEFAULT_RETRYABLE_STATUSES.includes(error.response.status);
574
+ var defaultShouldRetry = (error) => error instanceof chunkHUQ5ATIL_cjs.ApiError && DEFAULT_RETRYABLE_STATUSES.includes(error.response.status);
555
575
  var createRetryMiddleware = (options) => {
556
576
  const {
557
577
  maxRetries = DEFAULT_MAX_RETRIES,
@@ -573,7 +593,7 @@ var createRetryMiddleware = (options) => {
573
593
  throw error;
574
594
  }
575
595
  const delayMs = backoffFactor * 1e3 * Math.pow(2, attempt);
576
- await chunkF6ZAYTBX_cjs.delay(delayMs, request.request.signal ?? void 0);
596
+ await chunkS46FMY4G_cjs.delay(delayMs, request.request.signal ?? void 0);
577
597
  }
578
598
  }
579
599
  throw new Error("unreachable");
@@ -833,7 +853,8 @@ var mergeVariableValues = (target, source) => {
833
853
  ];
834
854
  };
835
855
  var createVariablesSdk = ({ storageClient }) => {
836
- const configs = storageClient.componentsAndConfigurations;
856
+ const configs = storageClient.configurations;
857
+ const rows = storageClient.configurationRows;
837
858
  const readVariables = async (configId, valuesRowId, branchId) => {
838
859
  const config = await configs.getConfiguration({
839
860
  componentId: VARIABLES_COMPONENT_ID,
@@ -856,10 +877,10 @@ var createVariablesSdk = ({ storageClient }) => {
856
877
  configuration: { variables: definitions }
857
878
  });
858
879
  try {
859
- const row = await configs.createConfigurationRow({
860
- branchId,
880
+ const row = await rows.createConfigurationRow({
881
+ branchId: String(branchId),
861
882
  componentId: VARIABLES_COMPONENT_ID,
862
- configId: config.id,
883
+ configurationId: config.id,
863
884
  name: "Default values",
864
885
  configuration: { values }
865
886
  });
@@ -972,10 +993,10 @@ var createKaiAgentClient = ({ baseUrl, middlewares, auth }) => {
972
993
  const clientOptions = {
973
994
  baseUrl,
974
995
  middlewares,
975
- headers: chunk7RO6PKZ4_cjs.createAuthHeaders(auth)
996
+ headers: chunkK3BLXPLA_cjs.createAuthHeaders(auth)
976
997
  };
977
- const client = chunkMMOAH3EH_cjs.createOpenapiFetchClient(clientOptions);
978
- const genericClient = chunkMMOAH3EH_cjs.createGenericFetchClient(clientOptions);
998
+ const client = chunkHUQ5ATIL_cjs.createOpenapiFetchClient(clientOptions);
999
+ const genericClient = chunkHUQ5ATIL_cjs.createGenericFetchClient(clientOptions);
979
1000
  const getHistory = async (params) => {
980
1001
  const { data } = await client.get("/api/history", { query: params });
981
1002
  return data;
@@ -1122,7 +1143,12 @@ var createKaiAgentClient = ({ baseUrl, middlewares, auth }) => {
1122
1143
  return result.data;
1123
1144
  };
1124
1145
  const chatStreamUrl = clientOptions.baseUrl + "/api/chat";
1146
+ const healthCheck = async (signal) => {
1147
+ const { data } = await genericClient.get("/health", {}, { signal });
1148
+ return data;
1149
+ };
1125
1150
  return {
1151
+ healthCheck,
1126
1152
  getHistory,
1127
1153
  getChat,
1128
1154
  deleteChat,
@@ -1157,12 +1183,12 @@ var createServiceClients = ({
1157
1183
  }) => createServiceClientRegistry()({
1158
1184
  getServiceBaseUrl,
1159
1185
  onUnavailable: ({ serviceId, path, clientName }) => {
1160
- throw new chunkZ3HZ4MP4_cjs.ServiceUnavailableError(serviceId, path, clientName);
1186
+ throw new chunk5SR2L35Y_cjs.ServiceUnavailableError(serviceId, path, clientName);
1161
1187
  }
1162
1188
  }).add({
1163
1189
  serviceId: "vault",
1164
1190
  clientName: "vault",
1165
- clientFn: (serviceBaseUrl) => chunk7R22VKV7_cjs.createVaultClient({
1191
+ clientFn: (serviceBaseUrl) => chunkICWUR5WA_cjs.createVaultClient({
1166
1192
  baseUrl: serviceBaseUrl,
1167
1193
  middlewares: middlewareFor("vault", [attachTokenMiddleware]),
1168
1194
  auth
@@ -1170,22 +1196,36 @@ var createServiceClients = ({
1170
1196
  }).add({
1171
1197
  serviceId: "data-science",
1172
1198
  clientName: "dataScience",
1173
- clientFn: (serviceBaseUrl) => chunkL262THNK_cjs.createDataScienceClient({
1199
+ clientFn: (serviceBaseUrl) => chunkS6BWQKHJ_cjs.createDataScienceClient({
1174
1200
  baseUrl: serviceBaseUrl,
1175
1201
  middlewares: middlewareFor("dataScience", [attachTokenMiddleware]),
1176
1202
  auth
1177
1203
  })
1204
+ }).add({
1205
+ // Deliberately the `data-science` service: the `/v2` App Deployments surface is the same
1206
+ // sandboxes-service deployment one path prefix over, so it resolves off that URL with `/v2`
1207
+ // appended. The `apps.<stack>` vanity host serves the same routes at its root but is absent
1208
+ // from the stack's service index, so it cannot be resolved.
1209
+ // Second client composing a prefix onto a service URL after `omnisearch` below; at a third,
1210
+ // give `.add()` a `pathPrefix` the registry joins so the join can't be got wrong per call site.
1211
+ serviceId: "data-science",
1212
+ clientName: "apps",
1213
+ clientFn: (serviceBaseUrl) => chunkBZB4UVQA_cjs.createAppsClient({
1214
+ baseUrl: `${serviceBaseUrl}/v2`,
1215
+ middlewares: middlewareFor("apps", [attachTokenMiddleware]),
1216
+ auth
1217
+ })
1178
1218
  }).add({
1179
1219
  serviceId: "encryption",
1180
1220
  clientName: "encryption",
1181
- clientFn: (serviceBaseUrl) => chunkBR6WZE3O_cjs.createEncryptionClient({
1221
+ clientFn: (serviceBaseUrl) => chunkIQFNHQWP_cjs.createEncryptionClient({
1182
1222
  baseUrl: serviceBaseUrl,
1183
1223
  middlewares: middlewareFor("encryption")
1184
1224
  })
1185
1225
  }).add({
1186
1226
  serviceId: "editor",
1187
1227
  clientName: "editor",
1188
- clientFn: (serviceBaseUrl) => chunkUWQUHP3T_cjs.createEditorClient({
1228
+ clientFn: (serviceBaseUrl) => chunkJ5JCXSAS_cjs.createEditorClient({
1189
1229
  baseUrl: serviceBaseUrl,
1190
1230
  middlewares: middlewareFor("editor", [attachTokenMiddleware]),
1191
1231
  auth
@@ -1193,7 +1233,7 @@ var createServiceClients = ({
1193
1233
  }).add({
1194
1234
  serviceId: "sync-actions",
1195
1235
  clientName: "syncActions",
1196
- clientFn: (serviceBaseUrl) => chunkHTVJR5WS_cjs.createSyncActionsClient({
1236
+ clientFn: (serviceBaseUrl) => chunkYDOSWWE4_cjs.createSyncActionsClient({
1197
1237
  baseUrl: serviceBaseUrl,
1198
1238
  middlewares: middlewareFor("syncActions", [attachTokenMiddleware]),
1199
1239
  auth
@@ -1201,7 +1241,7 @@ var createServiceClients = ({
1201
1241
  }).add({
1202
1242
  serviceId: "telemetry",
1203
1243
  clientName: "telemetry",
1204
- clientFn: (serviceBaseUrl) => chunkNVQ6LGDO_cjs.createTelemetryClient({
1244
+ clientFn: (serviceBaseUrl) => chunk2JKTV7UG_cjs.createTelemetryClient({
1205
1245
  baseUrl: serviceBaseUrl,
1206
1246
  middlewares: middlewareFor("telemetry", [attachTokenMiddleware]),
1207
1247
  auth
@@ -1209,7 +1249,7 @@ var createServiceClients = ({
1209
1249
  }).add({
1210
1250
  serviceId: "query",
1211
1251
  clientName: "queryService",
1212
- clientFn: (serviceBaseUrl) => chunkJ3NLKXQ5_cjs.createQueryServiceClient({
1252
+ clientFn: (serviceBaseUrl) => chunkEQPBR3BE_cjs.createQueryServiceClient({
1213
1253
  baseUrl: serviceBaseUrl,
1214
1254
  middlewares: middlewareFor("queryService", [attachTokenMiddleware]),
1215
1255
  auth
@@ -1217,7 +1257,7 @@ var createServiceClients = ({
1217
1257
  }).add({
1218
1258
  serviceId: "queue",
1219
1259
  clientName: "queue",
1220
- clientFn: (serviceBaseUrl) => chunkLIXSIM3H_cjs.createQueueClient({
1260
+ clientFn: (serviceBaseUrl) => chunkJI7HLIDL_cjs.createQueueClient({
1221
1261
  baseUrl: serviceBaseUrl,
1222
1262
  middlewares: middlewareFor("queue", [attachTokenMiddleware]),
1223
1263
  auth
@@ -1225,7 +1265,7 @@ var createServiceClients = ({
1225
1265
  }).add({
1226
1266
  serviceId: "kai-assistant",
1227
1267
  clientName: "chat",
1228
- clientFn: (serviceBaseUrl) => chunkT242YFMT_cjs.createChatClient({
1268
+ clientFn: (serviceBaseUrl) => chunkPLF4JX5B_cjs.createChatClient({
1229
1269
  storageApiUrl: baseUrl,
1230
1270
  baseUrl: serviceBaseUrl,
1231
1271
  middlewares: middlewareFor("chat", [attachTokenMiddleware]),
@@ -1234,15 +1274,26 @@ var createServiceClients = ({
1234
1274
  }).add({
1235
1275
  serviceId: "ai",
1236
1276
  clientName: "ai",
1237
- clientFn: (serviceBaseUrl) => chunkIDWGBCSB_cjs.createAiClient({
1277
+ clientFn: (serviceBaseUrl) => chunkFVU7WU2H_cjs.createAiClient({
1238
1278
  baseUrl: serviceBaseUrl,
1239
1279
  middlewares: middlewareFor("ai", [attachTokenMiddleware]),
1240
1280
  auth
1241
1281
  })
1282
+ }).add({
1283
+ // Deliberately the `ai` service: omnisearch is a separate deployment that the ai-service
1284
+ // ingress exposes under `/omnisearch`, so it resolves off that URL with the prefix appended —
1285
+ // the same shape as the `kai-assistant` `/api` override in `domain/stack.ts`.
1286
+ serviceId: "ai",
1287
+ clientName: "omnisearch",
1288
+ clientFn: (serviceBaseUrl) => chunkHQO572JW_cjs.createOmnisearchClient({
1289
+ baseUrl: `${serviceBaseUrl}/omnisearch`,
1290
+ middlewares: middlewareFor("omnisearch", [attachTokenMiddleware]),
1291
+ auth
1292
+ })
1242
1293
  }).add({
1243
1294
  serviceId: "import",
1244
1295
  clientName: "import",
1245
- clientFn: (serviceBaseUrl) => chunk2CFM7K4U_cjs.createImportClient({
1296
+ clientFn: (serviceBaseUrl) => chunkFEAE6L3K_cjs.createImportClient({
1246
1297
  baseUrl: serviceBaseUrl,
1247
1298
  middlewares: middlewareFor("import", [attachTokenMiddleware]),
1248
1299
  auth
@@ -1258,7 +1309,7 @@ var createServiceClients = ({
1258
1309
  }).add({
1259
1310
  serviceId: "oauth",
1260
1311
  clientName: "oauth",
1261
- clientFn: (serviceBaseUrl) => chunk3YWQQ3OG_cjs.createOauthClient({
1312
+ clientFn: (serviceBaseUrl) => chunkSFTI6QFB_cjs.createOauthClient({
1262
1313
  baseUrl: serviceBaseUrl,
1263
1314
  middlewares: middlewareFor("oauth", [attachTokenMiddleware]),
1264
1315
  auth
@@ -1266,7 +1317,7 @@ var createServiceClients = ({
1266
1317
  }).add({
1267
1318
  serviceId: "scheduler",
1268
1319
  clientName: "scheduler",
1269
- clientFn: (serviceBaseUrl) => chunkAFJGNBVM_cjs.createSchedulerClient({
1320
+ clientFn: (serviceBaseUrl) => chunkAJ3SCWUB_cjs.createSchedulerClient({
1270
1321
  baseUrl: serviceBaseUrl,
1271
1322
  middlewares: middlewareFor("scheduler", [attachTokenMiddleware]),
1272
1323
  auth
@@ -1274,7 +1325,7 @@ var createServiceClients = ({
1274
1325
  }).add({
1275
1326
  serviceId: "stream",
1276
1327
  clientName: "stream",
1277
- clientFn: (serviceBaseUrl) => chunk7YXL4FKN_cjs.createStreamClient({
1328
+ clientFn: (serviceBaseUrl) => chunkSNP577FA_cjs.createStreamClient({
1278
1329
  baseUrl: serviceBaseUrl,
1279
1330
  middlewares: middlewareFor("stream", [attachTokenMiddleware]),
1280
1331
  auth
@@ -1282,7 +1333,7 @@ var createServiceClients = ({
1282
1333
  }).add({
1283
1334
  serviceId: "notification",
1284
1335
  clientName: "notifications",
1285
- clientFn: (serviceBaseUrl) => chunkPPQF7LTS_cjs.createNotificationsClient({
1336
+ clientFn: (serviceBaseUrl) => chunkSUVM3S2T_cjs.createNotificationsClient({
1286
1337
  baseUrl: serviceBaseUrl,
1287
1338
  middlewares: middlewareFor("notifications", [attachTokenMiddleware]),
1288
1339
  auth
@@ -1290,7 +1341,7 @@ var createServiceClients = ({
1290
1341
  }).add({
1291
1342
  serviceId: "metastore",
1292
1343
  clientName: "metastore",
1293
- clientFn: (serviceBaseUrl) => chunkCWUQ6ZAO_cjs.createMetastoreClient({
1344
+ clientFn: (serviceBaseUrl) => chunkE7GGDLAH_cjs.createMetastoreClient({
1294
1345
  baseUrl: serviceBaseUrl,
1295
1346
  middlewares: middlewareFor("metastore", [attachTokenMiddleware]),
1296
1347
  auth
@@ -1307,11 +1358,11 @@ var createProjectClients = async ({
1307
1358
  }) => {
1308
1359
  const auth = { type: "bearer", token: "", projectId };
1309
1360
  const projectIdMiddleware = (next) => (request) => {
1310
- request.request.headers.set(chunkMMOAH3EH_cjs.KeboolaHttpHeader.PROJECT_ID, String(projectId));
1361
+ request.request.headers.set(chunkHUQ5ATIL_cjs.KeboolaHttpHeader.PROJECT_ID, String(projectId));
1311
1362
  return next(request);
1312
1363
  };
1313
1364
  const attach = (next) => projectIdMiddleware(authMiddleware(next));
1314
- const reader = chunkZ3HZ4MP4_cjs.createStorageClient({ baseUrl, auth, middlewares: [attach] });
1365
+ const reader = chunk5SR2L35Y_cjs.createStorageClient({ baseUrl, auth, middlewares: [attach] });
1315
1366
  const [stackInfo, sapiToken, devBranches] = await Promise.all([
1316
1367
  reader.getStackInfo({ exclude: "componentDetails" }),
1317
1368
  reader.tokens.verify(),
@@ -1333,7 +1384,7 @@ var createProjectClients = async ({
1333
1384
  })
1334
1385
  });
1335
1386
  const context = {
1336
- baseUrl: chunkMMOAH3EH_cjs.normalizeBaseUrl(baseUrl),
1387
+ baseUrl: chunkHUQ5ATIL_cjs.normalizeBaseUrl(baseUrl),
1337
1388
  stack,
1338
1389
  defaultBranch,
1339
1390
  get project() {
@@ -1343,7 +1394,7 @@ var createProjectClients = async ({
1343
1394
  return storageTableStore.get();
1344
1395
  }
1345
1396
  };
1346
- const storage = chunkZ3HZ4MP4_cjs.createStorageClient({
1397
+ const storage = chunk5SR2L35Y_cjs.createStorageClient({
1347
1398
  baseUrl,
1348
1399
  auth,
1349
1400
  middlewares: middlewareFor("storage", [attach, liveProject.middleware])
@@ -1356,15 +1407,15 @@ var createProjectClients = async ({
1356
1407
  attachTokenMiddleware: attach
1357
1408
  });
1358
1409
  const sdk = {
1359
- configuration: chunkIAYPOSMM_cjs.createConfigurationSdk({
1410
+ configuration: chunkCHRBWCL7_cjs.createConfigurationSdk({
1360
1411
  storageClient: storage,
1361
1412
  encryptionClient: services.encryption,
1362
1413
  context
1363
1414
  }),
1364
- tag: chunkFRLSKIUI_cjs.createTagSdk({ metastoreClient: services.metastore }),
1365
- semanticLayer: chunkKUYVBCUM_cjs.createSemanticLayerSdk({ metastoreClient: services.metastore }),
1366
- storage: chunkF6ZAYTBX_cjs.createStorageSdk({ storageClient: storage }),
1367
- vault: chunkEYIPM2XB_cjs.createVaultSdk({ vaultClient: services.vault, encryptionClient: services.encryption }),
1415
+ tag: chunkSZBW4EE2_cjs.createTagSdk({ metastoreClient: services.metastore }),
1416
+ semanticLayer: chunkG3JHVIDZ_cjs.createSemanticLayerSdk({ metastoreClient: services.metastore }),
1417
+ storage: chunkVB56OVFM_cjs.createStorageSdk({ storageClient: storage }),
1418
+ vault: chunkU3E5YMLO_cjs.createVaultSdk({ vaultClient: services.vault, encryptionClient: services.encryption }),
1368
1419
  variables: createVariablesSdk({ storageClient: storage })
1369
1420
  };
1370
1421
  return { context, serviceMeta, storage, ...services, sdk };
@@ -1372,7 +1423,7 @@ var createProjectClients = async ({
1372
1423
 
1373
1424
  // src/keboola/bearer/credential.ts
1374
1425
  var DEFAULT_REFRESH_THRESHOLD = 0.9;
1375
- var isUnauthorized = (error) => error instanceof chunkMMOAH3EH_cjs.ApiError && error.response.status === chunkMMOAH3EH_cjs.HttpStatus.UNAUTHORIZED;
1426
+ var isUnauthorized = (error) => error instanceof chunkHUQ5ATIL_cjs.ApiError && error.response.status === chunkHUQ5ATIL_cjs.HttpStatus.UNAUTHORIZED;
1376
1427
  var createBearerCredential = ({
1377
1428
  refresh,
1378
1429
  getToken,
@@ -1387,7 +1438,7 @@ var createBearerCredential = ({
1387
1438
  throw error;
1388
1439
  }
1389
1440
  };
1390
- const refreshShared = chunkHY7J3OD3_cjs.dedupe(doRefresh);
1441
+ const refreshShared = chunk6PVEHUJL_cjs.dedupe(doRefresh);
1391
1442
  const refreshAt = (timing) => timing.issuedAt + timing.expiresIn * 1e3 * refreshThreshold;
1392
1443
  const getAccessToken = async ({ forceRefresh = false } = {}) => {
1393
1444
  const snapshot = getToken();
@@ -1406,14 +1457,14 @@ var createBearerAuthMiddleware = (credential) => {
1406
1457
  const token = await credential.getAccessToken({ forceRefresh: false });
1407
1458
  if (token === null) return next(request);
1408
1459
  const retryRequest = request.request.clone();
1409
- request.request.headers.set(chunkMMOAH3EH_cjs.HttpHeader.AUTHORIZATION, `Bearer ${token}`);
1460
+ request.request.headers.set(chunkHUQ5ATIL_cjs.HttpHeader.AUTHORIZATION, `Bearer ${token}`);
1410
1461
  try {
1411
1462
  return await next(request);
1412
1463
  } catch (error) {
1413
1464
  if (!isUnauthorized(error)) throw error;
1414
1465
  const refreshed = await credential.getAccessToken({ forceRefresh: true });
1415
1466
  if (refreshed === null) throw error;
1416
- retryRequest.headers.set(chunkMMOAH3EH_cjs.HttpHeader.AUTHORIZATION, `Bearer ${refreshed}`);
1467
+ retryRequest.headers.set(chunkHUQ5ATIL_cjs.HttpHeader.AUTHORIZATION, `Bearer ${refreshed}`);
1417
1468
  try {
1418
1469
  return await next({ ...request, request: retryRequest });
1419
1470
  } catch (retryError) {
@@ -1447,12 +1498,12 @@ var createKeboola = (options = {}) => {
1447
1498
  const config = createConfig();
1448
1499
  const middlewareFor = createMiddlewareFor(options.middlewares);
1449
1500
  const retryContention = createRetryMiddleware({
1450
- shouldRetry: (error) => error instanceof chunkMMOAH3EH_cjs.ApiError && error.response.status === chunkMMOAH3EH_cjs.HttpStatus.SERVICE_UNAVAILABLE
1501
+ shouldRetry: (error) => error instanceof chunkHUQ5ATIL_cjs.ApiError && error.response.status === chunkHUQ5ATIL_cjs.HttpStatus.SERVICE_UNAVAILABLE
1451
1502
  });
1452
1503
  const authClientBare = createDerivedStore({
1453
1504
  source: config.store,
1454
1505
  dependsOn: (state) => state.baseUrl,
1455
- build: (baseUrl) => baseUrl ? chunkDRNOCC6W_cjs.createAuthClient({ baseUrl, middlewares: middlewareFor("auth", [retryContention]) }) : null
1506
+ build: (baseUrl) => baseUrl ? chunkRXYT7EMN_cjs.createAuthClient({ baseUrl, middlewares: middlewareFor("auth", [retryContention]) }) : null
1456
1507
  });
1457
1508
  const refresh = async () => {
1458
1509
  const client = authClientBare.get();
@@ -1479,7 +1530,7 @@ var createKeboola = (options = {}) => {
1479
1530
  const authClient = createDerivedStore({
1480
1531
  source: config.store,
1481
1532
  dependsOn: (state) => state.baseUrl,
1482
- build: (baseUrl) => baseUrl ? chunkDRNOCC6W_cjs.createAuthClient({
1533
+ build: (baseUrl) => baseUrl ? chunkRXYT7EMN_cjs.createAuthClient({
1483
1534
  baseUrl,
1484
1535
  middlewares: middlewareFor("auth", [retryContention, authMiddleware])
1485
1536
  }) : null
@@ -1487,7 +1538,7 @@ var createKeboola = (options = {}) => {
1487
1538
  const management = createDerivedStore({
1488
1539
  source: config.store,
1489
1540
  dependsOn: (state) => state.status === "anonymous" ? null : state.baseUrl,
1490
- build: (baseUrl) => baseUrl ? chunkHY7J3OD3_cjs.createManagementClient({
1541
+ build: (baseUrl) => baseUrl ? chunk6PVEHUJL_cjs.createManagementClient({
1491
1542
  baseUrl,
1492
1543
  auth: { type: "bearer", token: "" },
1493
1544
  middlewares: middlewareFor("management", [authMiddleware])
@@ -1617,7 +1668,7 @@ var createConfig2 = () => {
1617
1668
 
1618
1669
  // src/keboola/legacy/createProjectClients.ts
1619
1670
  var createAttachStorageToken = (getToken) => (next) => (request) => {
1620
- request.request.headers.set(chunkMMOAH3EH_cjs.KeboolaHttpHeader.STORAGE_API_TOKEN, getToken());
1671
+ request.request.headers.set(chunkHUQ5ATIL_cjs.KeboolaHttpHeader.STORAGE_API_TOKEN, getToken());
1621
1672
  return next(request);
1622
1673
  };
1623
1674
  var createProjectClients2 = async ({
@@ -1629,7 +1680,7 @@ var createProjectClients2 = async ({
1629
1680
  }) => {
1630
1681
  const auth = { type: "sapi-token", token: getStorageToken() };
1631
1682
  const attach = createAttachStorageToken(getStorageToken);
1632
- const _storage = chunkZ3HZ4MP4_cjs.createStorageClient({ baseUrl, auth, middlewares: [attach] });
1683
+ const _storage = chunk5SR2L35Y_cjs.createStorageClient({ baseUrl, auth, middlewares: [attach] });
1633
1684
  const [stackInfo, sapiToken, devBranches] = await Promise.all([
1634
1685
  _storage.getStackInfo({ exclude: "componentDetails" }),
1635
1686
  _storage.tokens.verify(),
@@ -1651,7 +1702,7 @@ var createProjectClients2 = async ({
1651
1702
  })
1652
1703
  });
1653
1704
  const context = {
1654
- baseUrl: chunkMMOAH3EH_cjs.normalizeBaseUrl(baseUrl),
1705
+ baseUrl: chunkHUQ5ATIL_cjs.normalizeBaseUrl(baseUrl),
1655
1706
  stack,
1656
1707
  defaultBranch,
1657
1708
  get project() {
@@ -1661,7 +1712,7 @@ var createProjectClients2 = async ({
1661
1712
  return storageTableStore.get();
1662
1713
  }
1663
1714
  };
1664
- const storage = chunkZ3HZ4MP4_cjs.createStorageClient({
1715
+ const storage = chunk5SR2L35Y_cjs.createStorageClient({
1665
1716
  baseUrl,
1666
1717
  auth,
1667
1718
  middlewares: middlewareFor("storage", [liveProject.middleware]),
@@ -1675,15 +1726,15 @@ var createProjectClients2 = async ({
1675
1726
  attachTokenMiddleware: attach
1676
1727
  });
1677
1728
  const sdk = {
1678
- configuration: chunkIAYPOSMM_cjs.createConfigurationSdk({
1729
+ configuration: chunkCHRBWCL7_cjs.createConfigurationSdk({
1679
1730
  storageClient: storage,
1680
1731
  encryptionClient: services.encryption,
1681
1732
  context
1682
1733
  }),
1683
- tag: chunkFRLSKIUI_cjs.createTagSdk({ metastoreClient: services.metastore }),
1684
- semanticLayer: chunkKUYVBCUM_cjs.createSemanticLayerSdk({ metastoreClient: services.metastore }),
1685
- storage: chunkF6ZAYTBX_cjs.createStorageSdk({ storageClient: storage }),
1686
- vault: chunkEYIPM2XB_cjs.createVaultSdk({ vaultClient: services.vault, encryptionClient: services.encryption }),
1734
+ tag: chunkSZBW4EE2_cjs.createTagSdk({ metastoreClient: services.metastore }),
1735
+ semanticLayer: chunkG3JHVIDZ_cjs.createSemanticLayerSdk({ metastoreClient: services.metastore }),
1736
+ storage: chunkVB56OVFM_cjs.createStorageSdk({ storageClient: storage }),
1737
+ vault: chunkU3E5YMLO_cjs.createVaultSdk({ vaultClient: services.vault, encryptionClient: services.encryption }),
1687
1738
  variables: createVariablesSdk({ storageClient: storage })
1688
1739
  };
1689
1740
  return { context, serviceMeta, storage, ...services, sdk };
@@ -1696,12 +1747,12 @@ var createLegacyKeboola = (options = {}) => {
1696
1747
  const authClient = createDerivedStore({
1697
1748
  source: config.store,
1698
1749
  dependsOn: (state) => state.baseUrl,
1699
- build: (baseUrl) => baseUrl ? chunkDRNOCC6W_cjs.createAuthClient({ baseUrl, middlewares: middlewareFor("auth", []) }) : null
1750
+ build: (baseUrl) => baseUrl ? chunkRXYT7EMN_cjs.createAuthClient({ baseUrl, middlewares: middlewareFor("auth", []) }) : null
1700
1751
  });
1701
1752
  const management = createDerivedStore({
1702
1753
  source: config.store,
1703
1754
  dependsOn: (state) => ({ baseUrl: state.baseUrl, token: state.managementToken }),
1704
- build: ({ baseUrl, token }) => baseUrl ? chunkHY7J3OD3_cjs.createManagementClient({
1755
+ build: ({ baseUrl, token }) => baseUrl ? chunk6PVEHUJL_cjs.createManagementClient({
1705
1756
  baseUrl,
1706
1757
  auth: token ? { type: "management-token", token } : { type: "management-token" },
1707
1758
  middlewares: middlewareFor("management", [])
@@ -1759,45 +1810,69 @@ var createLegacyKeboola = (options = {}) => {
1759
1810
  return { api, session };
1760
1811
  };
1761
1812
 
1813
+ Object.defineProperty(exports, "createStorageSdk", {
1814
+ enumerable: true,
1815
+ get: function () { return chunkVB56OVFM_cjs.createStorageSdk; }
1816
+ });
1817
+ Object.defineProperty(exports, "createQueryServiceSdk", {
1818
+ enumerable: true,
1819
+ get: function () { return chunkJWISA775_cjs.createQueryServiceSdk; }
1820
+ });
1821
+ Object.defineProperty(exports, "PollException", {
1822
+ enumerable: true,
1823
+ get: function () { return chunkS46FMY4G_cjs.PollException; }
1824
+ });
1825
+ Object.defineProperty(exports, "delay", {
1826
+ enumerable: true,
1827
+ get: function () { return chunkS46FMY4G_cjs.delay; }
1828
+ });
1829
+ Object.defineProperty(exports, "poll", {
1830
+ enumerable: true,
1831
+ get: function () { return chunkS46FMY4G_cjs.poll; }
1832
+ });
1762
1833
  Object.defineProperty(exports, "isEmptyDeep", {
1763
1834
  enumerable: true,
1764
- get: function () { return chunkIAYPOSMM_cjs.isEmptyDeep; }
1835
+ get: function () { return chunkCHRBWCL7_cjs.isEmptyDeep; }
1765
1836
  });
1766
1837
  Object.defineProperty(exports, "schemaGuidedMerge", {
1767
1838
  enumerable: true,
1768
- get: function () { return chunkIAYPOSMM_cjs.schemaGuidedMerge; }
1839
+ get: function () { return chunkCHRBWCL7_cjs.schemaGuidedMerge; }
1769
1840
  });
1770
1841
  Object.defineProperty(exports, "keboolaUID", {
1771
1842
  enumerable: true,
1772
- get: function () { return chunkFRLSKIUI_cjs.keboolaUID; }
1843
+ get: function () { return chunkSZBW4EE2_cjs.keboolaUID; }
1773
1844
  });
1774
1845
  Object.defineProperty(exports, "generateUUID", {
1775
1846
  enumerable: true,
1776
1847
  get: function () { return chunkEWMXK3EI_cjs.generateUUID; }
1777
1848
  });
1778
- Object.defineProperty(exports, "PollException", {
1849
+ Object.defineProperty(exports, "collect", {
1779
1850
  enumerable: true,
1780
- get: function () { return chunkF6ZAYTBX_cjs.PollException; }
1851
+ get: function () { return chunkJI7HLIDL_cjs.collect; }
1781
1852
  });
1782
- Object.defineProperty(exports, "createStorageSdk", {
1853
+ Object.defineProperty(exports, "ServiceUnavailableError", {
1783
1854
  enumerable: true,
1784
- get: function () { return chunkF6ZAYTBX_cjs.createStorageSdk; }
1855
+ get: function () { return chunk5SR2L35Y_cjs.ServiceUnavailableError; }
1785
1856
  });
1786
- Object.defineProperty(exports, "delay", {
1857
+ Object.defineProperty(exports, "series", {
1787
1858
  enumerable: true,
1788
- get: function () { return chunkF6ZAYTBX_cjs.delay; }
1859
+ get: function () { return chunk5SR2L35Y_cjs.series; }
1789
1860
  });
1790
- Object.defineProperty(exports, "poll", {
1861
+ Object.defineProperty(exports, "QueryJobError", {
1791
1862
  enumerable: true,
1792
- get: function () { return chunkF6ZAYTBX_cjs.poll; }
1863
+ get: function () { return chunkKQENBXPS_cjs.QueryJobError; }
1793
1864
  });
1794
- Object.defineProperty(exports, "ServiceUnavailableError", {
1865
+ Object.defineProperty(exports, "QueryJobTimeoutError", {
1795
1866
  enumerable: true,
1796
- get: function () { return chunkZ3HZ4MP4_cjs.ServiceUnavailableError; }
1867
+ get: function () { return chunkKQENBXPS_cjs.QueryJobTimeoutError; }
1797
1868
  });
1798
- Object.defineProperty(exports, "series", {
1869
+ Object.defineProperty(exports, "isQueryJobError", {
1870
+ enumerable: true,
1871
+ get: function () { return chunkKQENBXPS_cjs.isQueryJobError; }
1872
+ });
1873
+ Object.defineProperty(exports, "isQueryJobTimeoutError", {
1799
1874
  enumerable: true,
1800
- get: function () { return chunkZ3HZ4MP4_cjs.series; }
1875
+ get: function () { return chunkKQENBXPS_cjs.isQueryJobTimeoutError; }
1801
1876
  });
1802
1877
  Object.defineProperty(exports, "SyncActionError", {
1803
1878
  enumerable: true,
@@ -1807,33 +1882,41 @@ Object.defineProperty(exports, "isSyncActionError", {
1807
1882
  enumerable: true,
1808
1883
  get: function () { return chunkN4COL54U_cjs.isSyncActionError; }
1809
1884
  });
1885
+ Object.defineProperty(exports, "ValidationError", {
1886
+ enumerable: true,
1887
+ get: function () { return chunkNH2TQGRL_cjs.ValidationError; }
1888
+ });
1889
+ Object.defineProperty(exports, "isValidationError", {
1890
+ enumerable: true,
1891
+ get: function () { return chunkNH2TQGRL_cjs.isValidationError; }
1892
+ });
1893
+ Object.defineProperty(exports, "parseOrThrow", {
1894
+ enumerable: true,
1895
+ get: function () { return chunkNH2TQGRL_cjs.parseOrThrow; }
1896
+ });
1810
1897
  Object.defineProperty(exports, "UserError", {
1811
1898
  enumerable: true,
1812
1899
  get: function () { return chunkRRC5RKF7_cjs.UserError; }
1813
1900
  });
1814
1901
  Object.defineProperty(exports, "dedupe", {
1815
1902
  enumerable: true,
1816
- get: function () { return chunkHY7J3OD3_cjs.dedupe; }
1903
+ get: function () { return chunk6PVEHUJL_cjs.dedupe; }
1817
1904
  });
1818
1905
  Object.defineProperty(exports, "isManagementClientAuthError", {
1819
1906
  enumerable: true,
1820
- get: function () { return chunkHY7J3OD3_cjs.isManagementClientAuthError; }
1907
+ get: function () { return chunk6PVEHUJL_cjs.isManagementClientAuthError; }
1821
1908
  });
1822
1909
  Object.defineProperty(exports, "ManagementClientAuthError", {
1823
1910
  enumerable: true,
1824
- get: function () { return chunkCWCUQACX_cjs.ManagementClientAuthError; }
1911
+ get: function () { return chunkES3ADC2G_cjs.ManagementClientAuthError; }
1825
1912
  });
1826
1913
  Object.defineProperty(exports, "concurrent", {
1827
1914
  enumerable: true,
1828
- get: function () { return chunkFMS5PNM2_cjs.concurrent; }
1829
- });
1830
- Object.defineProperty(exports, "collect", {
1831
- enumerable: true,
1832
- get: function () { return chunkLIXSIM3H_cjs.collect; }
1915
+ get: function () { return chunkV6FT3RTU_cjs.concurrent; }
1833
1916
  });
1834
1917
  Object.defineProperty(exports, "parseLogLines", {
1835
1918
  enumerable: true,
1836
- get: function () { return chunkL262THNK_cjs.parseLogLines; }
1919
+ get: function () { return chunkBVRPZKRE_cjs.parseLogLines; }
1837
1920
  });
1838
1921
  Object.defineProperty(exports, "isPlainObject", {
1839
1922
  enumerable: true,
@@ -1841,35 +1924,35 @@ Object.defineProperty(exports, "isPlainObject", {
1841
1924
  });
1842
1925
  Object.defineProperty(exports, "ApiError", {
1843
1926
  enumerable: true,
1844
- get: function () { return chunkMMOAH3EH_cjs.ApiError; }
1927
+ get: function () { return chunkHUQ5ATIL_cjs.ApiError; }
1845
1928
  });
1846
1929
  Object.defineProperty(exports, "HttpContentType", {
1847
1930
  enumerable: true,
1848
- get: function () { return chunkMMOAH3EH_cjs.HttpContentType; }
1931
+ get: function () { return chunkHUQ5ATIL_cjs.HttpContentType; }
1849
1932
  });
1850
1933
  Object.defineProperty(exports, "HttpHeader", {
1851
1934
  enumerable: true,
1852
- get: function () { return chunkMMOAH3EH_cjs.HttpHeader; }
1935
+ get: function () { return chunkHUQ5ATIL_cjs.HttpHeader; }
1853
1936
  });
1854
1937
  Object.defineProperty(exports, "KeboolaHttpHeader", {
1855
1938
  enumerable: true,
1856
- get: function () { return chunkMMOAH3EH_cjs.KeboolaHttpHeader; }
1939
+ get: function () { return chunkHUQ5ATIL_cjs.KeboolaHttpHeader; }
1857
1940
  });
1858
1941
  Object.defineProperty(exports, "createGenericFetchClient", {
1859
1942
  enumerable: true,
1860
- get: function () { return chunkMMOAH3EH_cjs.createGenericFetchClient; }
1943
+ get: function () { return chunkHUQ5ATIL_cjs.createGenericFetchClient; }
1861
1944
  });
1862
1945
  Object.defineProperty(exports, "isAbortError", {
1863
1946
  enumerable: true,
1864
- get: function () { return chunkMMOAH3EH_cjs.isAbortError; }
1947
+ get: function () { return chunkHUQ5ATIL_cjs.isAbortError; }
1865
1948
  });
1866
1949
  Object.defineProperty(exports, "isApiError", {
1867
1950
  enumerable: true,
1868
- get: function () { return chunkMMOAH3EH_cjs.isApiError; }
1951
+ get: function () { return chunkHUQ5ATIL_cjs.isApiError; }
1869
1952
  });
1870
1953
  Object.defineProperty(exports, "isFetchClientError", {
1871
1954
  enumerable: true,
1872
- get: function () { return chunkMMOAH3EH_cjs.isFetchClientError; }
1955
+ get: function () { return chunkHUQ5ATIL_cjs.isFetchClientError; }
1873
1956
  });
1874
1957
  exports.KeboolaError = KeboolaError;
1875
1958
  exports.KeboolaErrorType = KeboolaErrorType;
@@ -1890,6 +1973,7 @@ exports.createStore = createStore;
1890
1973
  exports.deepMerge = deepMerge;
1891
1974
  exports.isKeboolaError = isKeboolaError;
1892
1975
  exports.isStorageTokenMutatingRequest = isStorageTokenMutatingRequest;
1976
+ exports.lazy = lazy;
1893
1977
  exports.shallowEqual = shallowEqual;
1894
1978
  //# sourceMappingURL=index.cjs.map
1895
1979
  //# sourceMappingURL=index.cjs.map