@keboola/api-client 24.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 (485) hide show
  1. package/AGENTS.md +489 -0
  2. package/API-SURFACE.md +129 -57
  3. package/README.md +29 -25
  4. package/dist/{ManagementClientAuthError-C7q1Jd9I.d.ts → ManagementClientAuthError-4J0S5tV-.d.ts} +1 -1
  5. package/dist/{ManagementClientAuthError-BuqHAOBO.d.cts → ManagementClientAuthError-CyDpa4NS.d.cts} +1 -1
  6. package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
  7. package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
  8. package/dist/ai/index.cjs +4 -4
  9. package/dist/ai/index.d.cts +6 -3
  10. package/dist/ai/index.d.ts +6 -3
  11. package/dist/ai/index.js +3 -3
  12. package/dist/ai/types.d.cts +2 -2
  13. package/dist/ai/types.d.ts +2 -2
  14. package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
  15. package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
  16. package/dist/apps/index.cjs +16 -0
  17. package/dist/apps/index.cjs.map +1 -0
  18. package/dist/apps/index.d.cts +249 -0
  19. package/dist/apps/index.d.ts +249 -0
  20. package/dist/apps/index.js +7 -0
  21. package/dist/apps/index.js.map +1 -0
  22. package/dist/apps/types.cjs +4 -0
  23. package/dist/apps/types.cjs.map +1 -0
  24. package/dist/apps/types.d.cts +3 -0
  25. package/dist/apps/types.d.ts +3 -0
  26. package/dist/apps/types.js +3 -0
  27. package/dist/apps/types.js.map +1 -0
  28. package/dist/assets/index.cjs +2 -2
  29. package/dist/assets/index.d.cts +1 -1
  30. package/dist/assets/index.d.ts +1 -1
  31. package/dist/assets/index.js +1 -1
  32. package/dist/auth/index.cjs +17 -13
  33. package/dist/auth/index.d.cts +19 -6
  34. package/dist/auth/index.d.ts +19 -6
  35. package/dist/auth/index.js +2 -2
  36. package/dist/auth/types.d.cts +3 -3
  37. package/dist/auth/types.d.ts +3 -3
  38. package/dist/backends-UNp_e5y9.d.cts +7 -0
  39. package/dist/backends-UNp_e5y9.d.ts +7 -0
  40. package/dist/chat/index.cjs +4 -4
  41. package/dist/chat/index.d.cts +6 -3
  42. package/dist/chat/index.d.ts +6 -3
  43. package/dist/chat/index.js +3 -3
  44. package/dist/chat/types.d.cts +2 -2
  45. package/dist/chat/types.d.ts +2 -2
  46. package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
  47. package/dist/chunk-24YVNNAG.js.map +1 -0
  48. package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
  49. package/dist/chunk-255CHZ3U.js.map +1 -0
  50. package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
  51. package/dist/chunk-2BCH2U57.js.map +1 -0
  52. package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
  53. package/dist/chunk-2BQBKU6E.js.map +1 -0
  54. package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
  55. package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
  56. package/dist/chunk-3UBGQFBU.js +29 -0
  57. package/dist/chunk-3UBGQFBU.js.map +1 -0
  58. package/dist/chunk-57Q4CY4H.js +190 -0
  59. package/dist/chunk-57Q4CY4H.js.map +1 -0
  60. package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
  61. package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
  62. package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
  63. package/dist/chunk-5HEIR4DC.js.map +1 -0
  64. package/dist/chunk-5SR2L35Y.cjs +1828 -0
  65. package/dist/chunk-5SR2L35Y.cjs.map +1 -0
  66. package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
  67. package/dist/chunk-62LG5KPI.js.map +1 -0
  68. package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
  69. package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
  70. package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
  71. package/dist/chunk-6PVEHUJL.cjs.map +1 -0
  72. package/dist/chunk-6XFXU5N4.js +119 -0
  73. package/dist/chunk-6XFXU5N4.js.map +1 -0
  74. package/dist/chunk-6ZQBFK2Y.js +24 -0
  75. package/dist/chunk-6ZQBFK2Y.js.map +1 -0
  76. package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
  77. package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
  78. package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
  79. package/dist/chunk-AXYNFDUI.cjs.map +1 -0
  80. package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
  81. package/dist/chunk-B45B4AYG.js.map +1 -0
  82. package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
  83. package/dist/chunk-B4T4QCLB.js.map +1 -0
  84. package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
  85. package/dist/chunk-BGJWHTBJ.js.map +1 -0
  86. package/dist/chunk-BVRPZKRE.cjs +147 -0
  87. package/dist/chunk-BVRPZKRE.cjs.map +1 -0
  88. package/dist/chunk-BZB4UVQA.cjs +192 -0
  89. package/dist/chunk-BZB4UVQA.cjs.map +1 -0
  90. package/dist/{chunk-D3ZZQIY2.cjs → chunk-CHRBWCL7.cjs} +8 -8
  91. package/dist/chunk-CHRBWCL7.cjs.map +1 -0
  92. package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
  93. package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
  94. package/dist/{chunk-D6O5C67S.js → chunk-DVV35AIS.js} +7 -7
  95. package/dist/chunk-DVV35AIS.js.map +1 -0
  96. package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
  97. package/dist/chunk-E7GGDLAH.cjs.map +1 -0
  98. package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
  99. package/dist/chunk-EQPBR3BE.cjs.map +1 -0
  100. package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
  101. package/dist/chunk-ERZEQ5JR.js.map +1 -0
  102. package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
  103. package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
  104. package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
  105. package/dist/chunk-FEAE6L3K.cjs.map +1 -0
  106. package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
  107. package/dist/chunk-FVU7WU2H.cjs.map +1 -0
  108. package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
  109. package/dist/chunk-FW5GBBKL.js.map +1 -0
  110. package/dist/chunk-G2SWCC3X.js +90 -0
  111. package/dist/chunk-G2SWCC3X.js.map +1 -0
  112. package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
  113. package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
  114. package/dist/{chunk-KH6BHTXN.js → chunk-HGKDXF35.js} +59 -108
  115. package/dist/chunk-HGKDXF35.js.map +1 -0
  116. package/dist/chunk-HITKHHWN.cjs +174 -0
  117. package/dist/chunk-HITKHHWN.cjs.map +1 -0
  118. package/dist/chunk-HQO572JW.cjs +34 -0
  119. package/dist/chunk-HQO572JW.cjs.map +1 -0
  120. package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
  121. package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
  122. package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
  123. package/dist/chunk-HZDVMHU6.js.map +1 -0
  124. package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
  125. package/dist/chunk-ICWUR5WA.cjs.map +1 -0
  126. package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
  127. package/dist/chunk-IQFNHQWP.cjs.map +1 -0
  128. package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
  129. package/dist/chunk-IZ4QM7O4.js.map +1 -0
  130. package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
  131. package/dist/chunk-J5JCXSAS.cjs.map +1 -0
  132. package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
  133. package/dist/chunk-JI7HLIDL.cjs.map +1 -0
  134. package/dist/chunk-JWISA775.cjs +92 -0
  135. package/dist/chunk-JWISA775.cjs.map +1 -0
  136. package/dist/chunk-K3BLXPLA.cjs +16 -0
  137. package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
  138. package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
  139. package/dist/chunk-KATUDT3E.js.map +1 -0
  140. package/dist/chunk-KGBWWS6I.js +32 -0
  141. package/dist/chunk-KGBWWS6I.js.map +1 -0
  142. package/dist/chunk-KQENBXPS.cjs +34 -0
  143. package/dist/chunk-KQENBXPS.cjs.map +1 -0
  144. package/dist/chunk-KTKJD4DM.js +60 -0
  145. package/dist/chunk-KTKJD4DM.js.map +1 -0
  146. package/dist/chunk-LNZP2O4P.js +169 -0
  147. package/dist/chunk-LNZP2O4P.js.map +1 -0
  148. package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
  149. package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
  150. package/dist/chunk-N4COL54U.cjs +22 -0
  151. package/dist/chunk-N4COL54U.cjs.map +1 -0
  152. package/dist/chunk-NFJKJGXR.js +397 -0
  153. package/dist/chunk-NFJKJGXR.js.map +1 -0
  154. package/dist/chunk-NH2TQGRL.cjs +28 -0
  155. package/dist/chunk-NH2TQGRL.cjs.map +1 -0
  156. package/dist/{chunk-XMC355U2.js → chunk-NHYL5QPM.js} +17 -3
  157. package/dist/chunk-NHYL5QPM.js.map +1 -0
  158. package/dist/{chunk-WFXW4XU3.js → chunk-ON4ILCHP.js} +899 -555
  159. package/dist/chunk-ON4ILCHP.js.map +1 -0
  160. package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
  161. package/dist/chunk-PLF4JX5B.cjs.map +1 -0
  162. package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
  163. package/dist/chunk-QNF3L4B7.js.map +1 -0
  164. package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
  165. package/dist/chunk-RBN3ITTM.js.map +1 -0
  166. package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
  167. package/dist/chunk-RXYT7EMN.cjs.map +1 -0
  168. package/dist/chunk-S46FMY4G.cjs +64 -0
  169. package/dist/chunk-S46FMY4G.cjs.map +1 -0
  170. package/dist/chunk-S6BWQKHJ.cjs +116 -0
  171. package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
  172. package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
  173. package/dist/chunk-SFTI6QFB.cjs.map +1 -0
  174. package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
  175. package/dist/chunk-SNP577FA.cjs.map +1 -0
  176. package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
  177. package/dist/chunk-SUVM3S2T.cjs.map +1 -0
  178. package/dist/chunk-SYZ5OFNT.js +114 -0
  179. package/dist/chunk-SYZ5OFNT.js.map +1 -0
  180. package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
  181. package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
  182. package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
  183. package/dist/chunk-TBHJQCAE.js.map +1 -0
  184. package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
  185. package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
  186. package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
  187. package/dist/chunk-UVX733BX.js.map +1 -0
  188. package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
  189. package/dist/chunk-V6FT3RTU.cjs.map +1 -0
  190. package/dist/{chunk-35MODDCL.cjs → chunk-VB56OVFM.cjs} +59 -111
  191. package/dist/chunk-VB56OVFM.cjs.map +1 -0
  192. package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
  193. package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
  194. package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
  195. package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
  196. package/dist/{chunk-3KEVPUSX.cjs → chunk-WUJ53PP7.cjs} +17 -3
  197. package/dist/chunk-WUJ53PP7.cjs.map +1 -0
  198. package/dist/chunk-YDOSWWE4.cjs +419 -0
  199. package/dist/chunk-YDOSWWE4.cjs.map +1 -0
  200. package/dist/chunk-YGEJDWGG.js +19 -0
  201. package/dist/chunk-YGEJDWGG.js.map +1 -0
  202. package/dist/constants/index.cjs +16 -164
  203. package/dist/constants/index.cjs.map +1 -1
  204. package/dist/constants/index.d.cts +14 -1
  205. package/dist/constants/index.d.ts +14 -1
  206. package/dist/constants/index.js +2 -163
  207. package/dist/constants/index.js.map +1 -1
  208. package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
  209. package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
  210. package/dist/{createGenericFetchClient-Df_wFqT8.d.cts → createGenericFetchClient-JcbIIqwF.d.cts} +1 -1
  211. package/dist/{createGenericFetchClient-Sl1DH71J.d.ts → createGenericFetchClient-ZGG5wbAC.d.ts} +1 -1
  212. package/dist/{createOpenapiFetchClient-GZxZgYHd.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +2 -2
  213. package/dist/{createOpenapiFetchClient-BSy6dVM5.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +2 -2
  214. package/dist/dataScience/index.cjs +6 -5
  215. package/dist/dataScience/index.d.cts +8 -6
  216. package/dist/dataScience/index.d.ts +8 -6
  217. package/dist/dataScience/index.js +4 -3
  218. package/dist/dataScience/types.d.cts +2172 -2
  219. package/dist/dataScience/types.d.ts +2172 -2
  220. package/dist/domain/permissions/index.cjs +3 -3
  221. package/dist/domain/permissions/index.d.cts +5 -4
  222. package/dist/domain/permissions/index.d.ts +5 -4
  223. package/dist/domain/permissions/index.js +1 -1
  224. package/dist/editor/index.cjs +4 -4
  225. package/dist/editor/index.d.cts +6 -3
  226. package/dist/editor/index.d.ts +6 -3
  227. package/dist/editor/index.js +3 -3
  228. package/dist/editor/types.d.cts +2 -2
  229. package/dist/editor/types.d.ts +2 -2
  230. package/dist/encryption/index.cjs +3 -3
  231. package/dist/encryption/index.d.cts +6 -4
  232. package/dist/encryption/index.d.ts +6 -4
  233. package/dist/encryption/index.js +2 -2
  234. package/dist/encryption/types.d.cts +4 -3
  235. package/dist/encryption/types.d.ts +4 -3
  236. package/dist/import/index.cjs +4 -4
  237. package/dist/import/index.d.cts +6 -3
  238. package/dist/import/index.d.ts +6 -3
  239. package/dist/import/index.js +3 -3
  240. package/dist/index.cjs +228 -135
  241. package/dist/index.cjs.map +1 -1
  242. package/dist/index.d.cts +952 -463
  243. package/dist/index.d.ts +952 -463
  244. package/dist/index.js +98 -46
  245. package/dist/index.js.map +1 -1
  246. package/dist/management/index.cjs +5 -5
  247. package/dist/management/index.d.cts +62 -69
  248. package/dist/management/index.d.ts +62 -69
  249. package/dist/management/index.js +3 -3
  250. package/dist/management/types.d.cts +3 -3
  251. package/dist/management/types.d.ts +3 -3
  252. package/dist/metastore/index.cjs +4 -4
  253. package/dist/metastore/index.d.cts +6 -7
  254. package/dist/metastore/index.d.ts +6 -7
  255. package/dist/metastore/index.js +3 -3
  256. package/dist/metastore/types.d.cts +2 -2
  257. package/dist/metastore/types.d.ts +2 -2
  258. package/dist/notifications/index.cjs +5 -5
  259. package/dist/notifications/index.d.cts +4 -3
  260. package/dist/notifications/index.d.ts +4 -3
  261. package/dist/notifications/index.js +4 -4
  262. package/dist/notifications/types.d.cts +2 -2
  263. package/dist/notifications/types.d.ts +2 -2
  264. package/dist/oauth/index.cjs +4 -4
  265. package/dist/oauth/index.d.cts +3 -2
  266. package/dist/oauth/index.d.ts +3 -2
  267. package/dist/oauth/index.js +3 -3
  268. package/dist/oauth/types.d.cts +1 -1
  269. package/dist/oauth/types.d.ts +1 -1
  270. package/dist/omnisearch/index.cjs +14 -0
  271. package/dist/omnisearch/index.cjs.map +1 -0
  272. package/dist/omnisearch/index.d.cts +32 -0
  273. package/dist/omnisearch/index.d.ts +32 -0
  274. package/dist/omnisearch/index.js +5 -0
  275. package/dist/omnisearch/index.js.map +1 -0
  276. package/dist/omnisearch/types.cjs +4 -0
  277. package/dist/omnisearch/types.cjs.map +1 -0
  278. package/dist/omnisearch/types.d.cts +3 -0
  279. package/dist/omnisearch/types.d.ts +3 -0
  280. package/dist/omnisearch/types.js +3 -0
  281. package/dist/omnisearch/types.js.map +1 -0
  282. package/dist/{project-DmC8vKnh.d.ts → project-Dmr-zrQG.d.ts} +2 -2
  283. package/dist/{project-CSJzVylj.d.cts → project-DstzWVMN.d.cts} +2 -2
  284. package/dist/queryService/index.cjs +4 -4
  285. package/dist/queryService/index.d.cts +4 -3
  286. package/dist/queryService/index.d.ts +4 -3
  287. package/dist/queryService/index.js +3 -3
  288. package/dist/queryService/types.d.cts +2 -2
  289. package/dist/queryService/types.d.ts +2 -2
  290. package/dist/queue/index.cjs +4 -4
  291. package/dist/queue/index.d.cts +9 -3
  292. package/dist/queue/index.d.ts +9 -3
  293. package/dist/queue/index.js +3 -3
  294. package/dist/queue/types.d.cts +2 -2
  295. package/dist/queue/types.d.ts +2 -2
  296. package/dist/scheduler/index.cjs +5 -5
  297. package/dist/scheduler/index.d.cts +3 -2
  298. package/dist/scheduler/index.d.ts +3 -2
  299. package/dist/scheduler/index.js +4 -4
  300. package/dist/scheduler/types.d.cts +3 -3
  301. package/dist/scheduler/types.d.ts +3 -3
  302. package/dist/sdk/configurations/index.cjs +3 -3
  303. package/dist/sdk/configurations/index.d.cts +9 -8
  304. package/dist/sdk/configurations/index.d.ts +9 -8
  305. package/dist/sdk/configurations/index.js +2 -2
  306. package/dist/sdk/queryService/index.cjs +16 -0
  307. package/dist/sdk/queryService/index.cjs.map +1 -0
  308. package/dist/sdk/queryService/index.d.cts +35 -0
  309. package/dist/sdk/queryService/index.d.ts +35 -0
  310. package/dist/sdk/queryService/index.js +7 -0
  311. package/dist/sdk/queryService/index.js.map +1 -0
  312. package/dist/sdk/semanticLayer/index.cjs +18 -14
  313. package/dist/sdk/semanticLayer/index.d.cts +26 -11
  314. package/dist/sdk/semanticLayer/index.d.ts +26 -11
  315. package/dist/sdk/semanticLayer/index.js +2 -2
  316. package/dist/sdk/semanticLayer/types.d.cts +26 -6
  317. package/dist/sdk/semanticLayer/types.d.ts +26 -6
  318. package/dist/sdk/storage/index.cjs +12 -11
  319. package/dist/sdk/storage/index.d.cts +9 -8
  320. package/dist/sdk/storage/index.d.ts +9 -8
  321. package/dist/sdk/storage/index.js +2 -1
  322. package/dist/sdk/tag/index.cjs +3 -3
  323. package/dist/sdk/tag/index.d.cts +4 -4
  324. package/dist/sdk/tag/index.d.ts +4 -4
  325. package/dist/sdk/tag/index.js +2 -2
  326. package/dist/sdk/tag/types.d.cts +11 -5
  327. package/dist/sdk/tag/types.d.ts +11 -5
  328. package/dist/sdk/vault/index.cjs +8 -8
  329. package/dist/sdk/vault/index.d.cts +6 -5
  330. package/dist/sdk/vault/index.d.ts +6 -5
  331. package/dist/sdk/vault/index.js +2 -2
  332. package/dist/status/index.cjs +2 -2
  333. package/dist/status/index.d.cts +1 -1
  334. package/dist/status/index.d.ts +1 -1
  335. package/dist/status/index.js +1 -1
  336. package/dist/storage/index.cjs +59 -12
  337. package/dist/storage/index.d.cts +21 -22
  338. package/dist/storage/index.d.ts +21 -22
  339. package/dist/storage/index.js +8 -5
  340. package/dist/storage/types.d.cts +741 -390
  341. package/dist/storage/types.d.ts +741 -390
  342. package/dist/{storageClient-B4OooGB9.d.ts → storageClient-BAid0vi2.d.cts} +482 -250
  343. package/dist/{storageClient-CdFqTbn3.d.cts → storageClient-BX50Attd.d.ts} +482 -250
  344. package/dist/{storageSdk-DA7U-1Hy.d.ts → storageSdk-BS5982c_.d.cts} +23 -16
  345. package/dist/{storageSdk-U45zMbUb.d.cts → storageSdk-BeJcnEIO.d.ts} +23 -16
  346. package/dist/stream/index.cjs +4 -4
  347. package/dist/stream/index.d.cts +4 -3
  348. package/dist/stream/index.d.ts +4 -3
  349. package/dist/stream/index.js +3 -3
  350. package/dist/stream/types.d.cts +2 -2
  351. package/dist/stream/types.d.ts +2 -2
  352. package/dist/syncActions/index.cjs +9 -4
  353. package/dist/syncActions/index.d.cts +55 -80
  354. package/dist/syncActions/index.d.ts +55 -80
  355. package/dist/syncActions/index.js +8 -3
  356. package/dist/syncActions/types.d.cts +387 -25
  357. package/dist/syncActions/types.d.ts +387 -25
  358. package/dist/telemetry/index.cjs +4 -4
  359. package/dist/telemetry/index.d.cts +2 -2
  360. package/dist/telemetry/index.d.ts +2 -2
  361. package/dist/telemetry/index.js +3 -3
  362. package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
  363. package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
  364. package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
  365. package/dist/types-BcaALDYY.d.cts +2130 -0
  366. package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
  367. package/dist/types-Bp8d9PJf.d.cts +607 -0
  368. package/dist/types-BsejtGjZ.d.ts +2130 -0
  369. package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
  370. package/dist/{types-WGZN6XLN.d.cts → types-C5DdOzx8.d.cts} +1 -1
  371. package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
  372. package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
  373. package/dist/{types-Brc6lq7i.d.ts → types-C_jxWM7A.d.ts} +1 -1
  374. package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
  375. package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
  376. package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
  377. package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
  378. package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
  379. package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
  380. package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
  381. package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
  382. package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
  383. package/dist/types-DOc5_aYZ.d.ts +607 -0
  384. package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
  385. package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
  386. package/dist/{types-BhlJw2f2.d.ts → types-EZBBpiFU.d.ts} +886 -114
  387. package/dist/{types-DNg4M5JV.d.cts → types-UwuKN9Kx.d.cts} +1 -1
  388. package/dist/{types-DNg4M5JV.d.ts → types-UwuKN9Kx.d.ts} +1 -1
  389. package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
  390. package/dist/{types-DVhcwrwN.d.cts → types-cxk-0ftN.d.cts} +886 -114
  391. package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
  392. package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
  393. package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
  394. package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
  395. package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
  396. package/dist/vault/index.cjs +4 -4
  397. package/dist/vault/index.d.cts +3 -2
  398. package/dist/vault/index.d.ts +3 -2
  399. package/dist/vault/index.js +3 -3
  400. package/dist/vault/types.d.cts +3 -3
  401. package/dist/vault/types.d.ts +3 -3
  402. package/package.json +71 -3
  403. package/surface/ai.md +1 -0
  404. package/surface/apps.md +32 -0
  405. package/surface/auth.md +6 -4
  406. package/surface/chat.md +2 -1
  407. package/surface/dataScience.md +1 -0
  408. package/surface/editor.md +1 -0
  409. package/surface/encryption.md +1 -0
  410. package/surface/import.md +1 -0
  411. package/surface/kaiAgent.md +2 -1
  412. package/surface/management.md +17 -16
  413. package/surface/metastore.md +2 -1
  414. package/surface/notifications.md +1 -0
  415. package/surface/oauth.md +1 -0
  416. package/surface/omnisearch.md +9 -0
  417. package/surface/queryService.md +1 -0
  418. package/surface/queue.md +8 -7
  419. package/surface/scheduler.md +1 -0
  420. package/surface/sdk.md +17 -17
  421. package/surface/storage.md +125 -88
  422. package/surface/stream.md +1 -0
  423. package/surface/syncActions.md +19 -7
  424. package/surface/vault.md +1 -0
  425. package/dist/chunk-34GM6NXB.js.map +0 -1
  426. package/dist/chunk-35MODDCL.cjs.map +0 -1
  427. package/dist/chunk-3BFPNM2J.js.map +0 -1
  428. package/dist/chunk-3FZHFTLG.cjs +0 -12
  429. package/dist/chunk-3FZHFTLG.cjs.map +0 -1
  430. package/dist/chunk-3KEVPUSX.cjs.map +0 -1
  431. package/dist/chunk-3MTY6I2W.js +0 -192
  432. package/dist/chunk-3MTY6I2W.js.map +0 -1
  433. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  434. package/dist/chunk-4VVF2PIX.js.map +0 -1
  435. package/dist/chunk-77LILJYX.js.map +0 -1
  436. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  437. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  438. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  439. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  440. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  441. package/dist/chunk-AXEANGGK.js +0 -226
  442. package/dist/chunk-AXEANGGK.js.map +0 -1
  443. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  444. package/dist/chunk-BZA3FGO6.js.map +0 -1
  445. package/dist/chunk-CV2JGHBN.js.map +0 -1
  446. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  447. package/dist/chunk-D3ZZQIY2.cjs.map +0 -1
  448. package/dist/chunk-D6O5C67S.js.map +0 -1
  449. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  450. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  451. package/dist/chunk-G66EP527.js.map +0 -1
  452. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  453. package/dist/chunk-GM3AKU5T.js +0 -10
  454. package/dist/chunk-GM3AKU5T.js.map +0 -1
  455. package/dist/chunk-HMCZUHR7.js.map +0 -1
  456. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  457. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  458. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  459. package/dist/chunk-KH6BHTXN.js.map +0 -1
  460. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  461. package/dist/chunk-L262THNK.cjs +0 -253
  462. package/dist/chunk-L262THNK.cjs.map +0 -1
  463. package/dist/chunk-LD3JERYP.js.map +0 -1
  464. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  465. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  466. package/dist/chunk-NVRVPWNY.js.map +0 -1
  467. package/dist/chunk-OUSPQ55W.js.map +0 -1
  468. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  469. package/dist/chunk-QZKDBVAU.cjs +0 -1482
  470. package/dist/chunk-QZKDBVAU.cjs.map +0 -1
  471. package/dist/chunk-S4JK7DKM.js.map +0 -1
  472. package/dist/chunk-SJZ66FD5.js.map +0 -1
  473. package/dist/chunk-T242YFMT.cjs.map +0 -1
  474. package/dist/chunk-UABYNGBZ.js.map +0 -1
  475. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  476. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  477. package/dist/chunk-WFXW4XU3.js.map +0 -1
  478. package/dist/chunk-XHDYLUM4.js.map +0 -1
  479. package/dist/chunk-XIIER7QQ.js.map +0 -1
  480. package/dist/chunk-XKIENBIE.js.map +0 -1
  481. package/dist/chunk-XMC355U2.js.map +0 -1
  482. package/dist/chunk-Y44G2VDC.cjs +0 -214
  483. package/dist/chunk-Y44G2VDC.cjs.map +0 -1
  484. package/dist/utils-B_SOM1XR.d.ts +0 -3051
  485. package/dist/utils-DK7uJcmR.d.cts +0 -3051
@@ -1,4 +1,5 @@
1
- import { O as OpenapiBodyType } from '../types-gcShAmmi.js';
1
+ import { O as OpenapiBodyType } from '../types-f8dUjMX4.js';
2
+ import * as zod from 'zod';
2
3
 
3
4
  /**
4
5
  * This file was auto-generated by openapi-typescript.
@@ -220,33 +221,394 @@ type components = {
220
221
  pathItems: never;
221
222
  };
222
223
 
223
- type GetPublicGitRepositoryInput = {
224
- repositoryUrl: string;
225
- } & Pick<PostActionsBody, 'tag' | 'branchId' | 'mode' | 'componentId'>;
226
- type GetGitPrivateRepositoryInput = {
227
- username: string;
228
- password: string;
229
- } & GetPublicGitRepositoryInput;
230
- type GetDataAppPublicGitRepositoryInput = Omit<GetPublicGitRepositoryInput, 'componentId'>;
231
- type GetDataAppPasswordPrivateGitRepositoryInput = GetDataAppPublicGitRepositoryInput & {
232
- username: string;
233
- password: string;
234
- };
235
- type GetDataAppSSHKeyPrivateGitRepositoryInput = GetDataAppPublicGitRepositoryInput & {
236
- username: string;
237
- sshKey: string;
238
- };
224
+ /**
225
+ * The Keboola-side context every sync action carries, whichever action it is. Namespaces extend it
226
+ * with the fields their own action needs, so a caller never assembles the rest of the body.
227
+ */
228
+ declare const syncActionContextSchema: zod.ZodObject<{
229
+ branchId: zod.ZodString;
230
+ tag: zod.ZodOptional<zod.ZodString>;
231
+ mode: zod.ZodOptional<zod.ZodEnum<{
232
+ run: "run";
233
+ debug: "debug";
234
+ }>>;
235
+ }, zod.core.$strip>;
236
+ /**
237
+ * The `/actions` request body. `configData` is whatever the component's action expects, so it is
238
+ * only asserted to be an object here — each namespace validates the shape its own action needs
239
+ * before handing it over.
240
+ */
241
+ declare const syncActionBodySchema: zod.ZodObject<{
242
+ branchId: zod.ZodString;
243
+ tag: zod.ZodOptional<zod.ZodString>;
244
+ mode: zod.ZodOptional<zod.ZodEnum<{
245
+ run: "run";
246
+ debug: "debug";
247
+ }>>;
248
+ componentId: zod.ZodString;
249
+ action: zod.ZodString;
250
+ configData: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
251
+ }, zod.core.$strip>;
252
+ type SyncActionContext = zod.infer<typeof syncActionContextSchema>;
253
+ type SyncActionBody = zod.infer<typeof syncActionBodySchema>;
254
+
255
+ declare const apifyObjectsInputSchema: zod.ZodObject<{
256
+ branchId: zod.ZodString;
257
+ tag: zod.ZodOptional<zod.ZodString>;
258
+ mode: zod.ZodOptional<zod.ZodEnum<{
259
+ run: "run";
260
+ debug: "debug";
261
+ }>>;
262
+ '#token': zod.ZodString;
263
+ }, zod.core.$strip>;
264
+ declare const apifyObjectsSchema: zod.ZodArray<zod.ZodObject<{
265
+ id: zod.ZodString;
266
+ name: zod.ZodString;
267
+ }, zod.core.$strip>>;
268
+ type ApifyObjectsInput = zod.infer<typeof apifyObjectsInputSchema>;
269
+ type ApifyObject = zod.infer<typeof apifyObjectsSchema>[number];
239
270
 
240
- type PostActionsBodyRaw = OpenapiBodyType<paths['/actions']['post']>;
241
271
  /**
242
- * FIX: openapi types
243
- * - `configData` type is generated as `Record<string, never>` (can't assign any object to it); changed it to an arbitrary object type, `Record<string, unknown>`.
272
+ * `componentId` is a plain string here, unlike the git actions' closed enum. Every dbt transformation
273
+ * answers `dbtCompile` and `dbtRunResults` under the same action name and the same payload, so the id
274
+ * selects nothing — it only names the component to run, and rejecting an unlisted one would cost the
275
+ * caller a cast for no guarantee. The component itself refuses an action it does not serve.
244
276
  */
245
- type PostActionsBody = Omit<PostActionsBodyRaw, 'configData'> & {
246
- configData: Record<string, unknown>;
247
- };
248
- type EnrollMFAInput = Omit<PostActionsBody, 'action' | 'configData'> & {
277
+ declare const dbtActionInputSchema: zod.ZodObject<{
278
+ branchId: zod.ZodString;
279
+ tag: zod.ZodOptional<zod.ZodString>;
280
+ mode: zod.ZodOptional<zod.ZodEnum<{
281
+ run: "run";
282
+ debug: "debug";
283
+ }>>;
284
+ componentId: zod.ZodString;
285
+ configId: zod.ZodString;
286
+ artifacts: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
287
+ }, zod.core.$strip>;
288
+ /**
289
+ * `compiled` maps a model's file name (`orders.sql`) to its compiled SQL. Key order is the
290
+ * component's own and is preserved, so the caller can render the models in it.
291
+ *
292
+ * A configuration that has never run does **not** answer with an empty payload — the component
293
+ * raises a user exception telling you to run it first, which arrives as a `SyncActionError` carrying
294
+ * that sentence. The empty default here is only for a payload that omits the key anyway: rendering
295
+ * "nothing to show" beats failing on a validation error no caller can act on. A key that is
296
+ * *present* with the wrong shape still fails — that is a contract change, and reading it as "no
297
+ * models" would hide it.
298
+ */
299
+ declare const dbtCompiledSchema: zod.ZodPipe<zod.ZodObject<{
300
+ compiled: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
301
+ }, zod.core.$strip>, zod.ZodTransform<Record<string, string>, {
302
+ compiled: Record<string, string>;
303
+ }>>;
304
+ /** Each entry also carries `status` and `dependsOn`, dropped here until a consumer needs them. */
305
+ declare const dbtModelTimingSchema: zod.ZodObject<{
306
+ id: zod.ZodString;
307
+ name: zod.ZodString;
308
+ thread: zod.ZodCatch<zod.ZodPipe<zod.ZodPipe<zod.ZodString, zod.ZodTransform<number, string>>, zod.ZodNumber>>;
309
+ timeStarted: zod.ZodString;
310
+ timeCompleted: zod.ZodString;
311
+ }, zod.core.$strip>;
312
+ /** Defaults to empty for the same reason as `compiled` above — and with the same caveat. */
313
+ declare const dbtRunResultsSchema: zod.ZodPipe<zod.ZodObject<{
314
+ modelTiming: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
315
+ id: zod.ZodString;
316
+ name: zod.ZodString;
317
+ thread: zod.ZodCatch<zod.ZodPipe<zod.ZodPipe<zod.ZodString, zod.ZodTransform<number, string>>, zod.ZodNumber>>;
318
+ timeStarted: zod.ZodString;
319
+ timeCompleted: zod.ZodString;
320
+ }, zod.core.$strip>>>;
321
+ }, zod.core.$strip>, zod.ZodTransform<{
322
+ id: string;
323
+ name: string;
324
+ thread: number;
325
+ timeStarted: string;
326
+ timeCompleted: string;
327
+ }[], {
328
+ modelTiming: {
329
+ id: string;
330
+ name: string;
331
+ thread: number;
332
+ timeStarted: string;
333
+ timeCompleted: string;
334
+ }[];
335
+ }>>;
336
+ type DbtActionInput = zod.infer<typeof dbtActionInputSchema>;
337
+ type DbtCompiled = zod.infer<typeof dbtCompiledSchema>;
338
+ type DbtModelTiming = zod.infer<typeof dbtModelTimingSchema>;
339
+
340
+ /**
341
+ * Components whose git repository lives under `parameters.dataApp.git.repository` and that answer to
342
+ * the `git-repository` action. They are the only ones serving `data-app-entrypoints`, and the only
343
+ * ones accepting an SSH key.
344
+ */
345
+ declare const DATA_APP_FAMILY: readonly ["keboola.data-apps", "keboola.sandboxes"];
346
+ declare const GIT_FAMILY: readonly ["keboola.data-apps", "keboola.sandboxes", "keboola-test.dbt-core-key-pair", "keboola-test.dbt-remote-snowflake", "keboola.dbt-transformation", "keboola.dbt-transformation-local-bigquery", "keboola.dbt-transformation-remote-bigquery", "keboola.dbt-transformation-remote-mssql", "keboola.dbt-transformation-remote-postgresql", "keboola.dbt-transformation-remote-redshift", "keboola.dbt-transformation-remote-snowflake"];
347
+ /** The ids the git actions accept — anything else has no action name or payload path to resolve. */
348
+ type GitComponentId = (typeof GIT_FAMILY)[number];
349
+ type DataAppComponentId = (typeof DATA_APP_FAMILY)[number];
350
+ declare const isDataAppFamily: (componentId: string) => componentId is DataAppComponentId;
351
+
352
+ declare const gitAuthSchema: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
353
+ type: zod.ZodLiteral<"public">;
354
+ }, zod.core.$strip>, zod.ZodObject<{
355
+ type: zod.ZodLiteral<"password">;
356
+ username: zod.ZodString;
357
+ '#password': zod.ZodString;
358
+ }, zod.core.$strip>, zod.ZodObject<{
359
+ type: zod.ZodLiteral<"sshKey">;
360
+ username: zod.ZodString;
361
+ '#sshKey': zod.ZodString;
362
+ }, zod.core.$strip>], "type">;
363
+ /**
364
+ * Accepts only the components that serve a git repository action — the action name and the
365
+ * `configData` path are resolved from the id, so one from neither family has nowhere to go. The
366
+ * enum rejects an unsupported id when parsing, before any request is sent.
367
+ *
368
+ * **Takes no `branch`, deliberately — do not add one.** It is a run-config field the component
369
+ * feeds to `git clone -b <branch>`, so a stale or renamed value fails the clone and breaks the very
370
+ * call you make to find out which branches exist. Accepting it optionally would let a caller
371
+ * reintroduce that by spreading in an existing config; zod strips it instead.
372
+ */
373
+ declare const getBranchesInputSchema: zod.ZodObject<{
374
+ branchId: zod.ZodString;
375
+ tag: zod.ZodOptional<zod.ZodString>;
376
+ mode: zod.ZodOptional<zod.ZodEnum<{
377
+ run: "run";
378
+ debug: "debug";
379
+ }>>;
380
+ repositoryUrl: zod.ZodString;
381
+ auth: zod.ZodDefault<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
382
+ type: zod.ZodLiteral<"public">;
383
+ }, zod.core.$strip>, zod.ZodObject<{
384
+ type: zod.ZodLiteral<"password">;
385
+ username: zod.ZodString;
386
+ '#password': zod.ZodString;
387
+ }, zod.core.$strip>, zod.ZodObject<{
388
+ type: zod.ZodLiteral<"sshKey">;
389
+ username: zod.ZodString;
390
+ '#sshKey': zod.ZodString;
391
+ }, zod.core.$strip>], "type">>;
392
+ componentId: zod.ZodEnum<{
393
+ "keboola.data-apps": "keboola.data-apps";
394
+ "keboola.sandboxes": "keboola.sandboxes";
395
+ "keboola-test.dbt-core-key-pair": "keboola-test.dbt-core-key-pair";
396
+ "keboola-test.dbt-remote-snowflake": "keboola-test.dbt-remote-snowflake";
397
+ "keboola.dbt-transformation": "keboola.dbt-transformation";
398
+ "keboola.dbt-transformation-local-bigquery": "keboola.dbt-transformation-local-bigquery";
399
+ "keboola.dbt-transformation-remote-bigquery": "keboola.dbt-transformation-remote-bigquery";
400
+ "keboola.dbt-transformation-remote-mssql": "keboola.dbt-transformation-remote-mssql";
401
+ "keboola.dbt-transformation-remote-postgresql": "keboola.dbt-transformation-remote-postgresql";
402
+ "keboola.dbt-transformation-remote-redshift": "keboola.dbt-transformation-remote-redshift";
403
+ "keboola.dbt-transformation-remote-snowflake": "keboola.dbt-transformation-remote-snowflake";
404
+ }>;
405
+ }, zod.core.$strip>;
406
+ /** Only the data-app family serves `data-app-entrypoints`; the enum rejects anything else. */
407
+ declare const getEntrypointsInputSchema: zod.ZodObject<{
408
+ branchId: zod.ZodString;
409
+ tag: zod.ZodOptional<zod.ZodString>;
410
+ mode: zod.ZodOptional<zod.ZodEnum<{
411
+ run: "run";
412
+ debug: "debug";
413
+ }>>;
414
+ repositoryUrl: zod.ZodString;
415
+ auth: zod.ZodDefault<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
416
+ type: zod.ZodLiteral<"public">;
417
+ }, zod.core.$strip>, zod.ZodObject<{
418
+ type: zod.ZodLiteral<"password">;
419
+ username: zod.ZodString;
420
+ '#password': zod.ZodString;
421
+ }, zod.core.$strip>, zod.ZodObject<{
422
+ type: zod.ZodLiteral<"sshKey">;
423
+ username: zod.ZodString;
424
+ '#sshKey': zod.ZodString;
425
+ }, zod.core.$strip>], "type">>;
426
+ componentId: zod.ZodEnum<{
427
+ "keboola.data-apps": "keboola.data-apps";
428
+ "keboola.sandboxes": "keboola.sandboxes";
429
+ }>;
430
+ branch: zod.ZodPipe<zod.ZodOptional<zod.ZodString>, zod.ZodTransform<string | undefined, string | undefined>>;
431
+ }, zod.core.$strip>;
432
+ /**
433
+ * Only `branch` is load-bearing — it is the value the caller selects and stores. The rest is
434
+ * decoration the UI renders beside it, so each field falls back to an empty string rather than
435
+ * failing: one commit with no message must not cost the caller the whole branch list. They stay
436
+ * `string` rather than becoming optional, so a consumer needs no new undefined handling.
437
+ */
438
+ declare const gitBranchSchema: zod.ZodObject<{
439
+ branch: zod.ZodString;
440
+ sha: zod.ZodCatch<zod.ZodString>;
441
+ date: zod.ZodCatch<zod.ZodString>;
442
+ comment: zod.ZodCatch<zod.ZodString>;
443
+ author: zod.ZodCatch<zod.ZodObject<{
444
+ name: zod.ZodCatch<zod.ZodString>;
445
+ email: zod.ZodCatch<zod.ZodString>;
446
+ }, zod.core.$strip>>;
447
+ }, zod.core.$strip>;
448
+ declare const gitBranchesSchema: zod.ZodPipe<zod.ZodObject<{
449
+ repository: zod.ZodOptional<zod.ZodObject<{
450
+ branches: zod.ZodOptional<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodObject<{
451
+ branch: zod.ZodString;
452
+ sha: zod.ZodCatch<zod.ZodString>;
453
+ date: zod.ZodCatch<zod.ZodString>;
454
+ comment: zod.ZodCatch<zod.ZodString>;
455
+ author: zod.ZodCatch<zod.ZodObject<{
456
+ name: zod.ZodCatch<zod.ZodString>;
457
+ email: zod.ZodCatch<zod.ZodString>;
458
+ }, zod.core.$strip>>;
459
+ }, zod.core.$strip>>, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
460
+ branch: zod.ZodString;
461
+ sha: zod.ZodCatch<zod.ZodString>;
462
+ date: zod.ZodCatch<zod.ZodString>;
463
+ comment: zod.ZodCatch<zod.ZodString>;
464
+ author: zod.ZodCatch<zod.ZodObject<{
465
+ name: zod.ZodCatch<zod.ZodString>;
466
+ email: zod.ZodCatch<zod.ZodString>;
467
+ }, zod.core.$strip>>;
468
+ }, zod.core.$strip>>]>, zod.ZodTransform<{
469
+ branch: string;
470
+ sha: string;
471
+ date: string;
472
+ comment: string;
473
+ author: {
474
+ name: string;
475
+ email: string;
476
+ };
477
+ }[], Record<string, {
478
+ branch: string;
479
+ sha: string;
480
+ date: string;
481
+ comment: string;
482
+ author: {
483
+ name: string;
484
+ email: string;
485
+ };
486
+ }> | {
487
+ branch: string;
488
+ sha: string;
489
+ date: string;
490
+ comment: string;
491
+ author: {
492
+ name: string;
493
+ email: string;
494
+ };
495
+ }[]>>>;
496
+ }, zod.core.$strip>>;
497
+ branches: zod.ZodOptional<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodObject<{
498
+ branch: zod.ZodString;
499
+ sha: zod.ZodCatch<zod.ZodString>;
500
+ date: zod.ZodCatch<zod.ZodString>;
501
+ comment: zod.ZodCatch<zod.ZodString>;
502
+ author: zod.ZodCatch<zod.ZodObject<{
503
+ name: zod.ZodCatch<zod.ZodString>;
504
+ email: zod.ZodCatch<zod.ZodString>;
505
+ }, zod.core.$strip>>;
506
+ }, zod.core.$strip>>, zod.ZodRecord<zod.ZodString, zod.ZodObject<{
507
+ branch: zod.ZodString;
508
+ sha: zod.ZodCatch<zod.ZodString>;
509
+ date: zod.ZodCatch<zod.ZodString>;
510
+ comment: zod.ZodCatch<zod.ZodString>;
511
+ author: zod.ZodCatch<zod.ZodObject<{
512
+ name: zod.ZodCatch<zod.ZodString>;
513
+ email: zod.ZodCatch<zod.ZodString>;
514
+ }, zod.core.$strip>>;
515
+ }, zod.core.$strip>>]>, zod.ZodTransform<{
516
+ branch: string;
517
+ sha: string;
518
+ date: string;
519
+ comment: string;
520
+ author: {
521
+ name: string;
522
+ email: string;
523
+ };
524
+ }[], Record<string, {
525
+ branch: string;
526
+ sha: string;
527
+ date: string;
528
+ comment: string;
529
+ author: {
530
+ name: string;
531
+ email: string;
532
+ };
533
+ }> | {
534
+ branch: string;
535
+ sha: string;
536
+ date: string;
537
+ comment: string;
538
+ author: {
539
+ name: string;
540
+ email: string;
541
+ };
542
+ }[]>>>;
543
+ }, zod.core.$strip>, zod.ZodTransform<{
544
+ branch: string;
545
+ sha: string;
546
+ date: string;
547
+ comment: string;
548
+ author: {
549
+ name: string;
550
+ email: string;
551
+ };
552
+ }[], {
553
+ repository?: {
554
+ branches?: {
555
+ branch: string;
556
+ sha: string;
557
+ date: string;
558
+ comment: string;
559
+ author: {
560
+ name: string;
561
+ email: string;
562
+ };
563
+ }[] | undefined;
564
+ } | undefined;
565
+ branches?: {
566
+ branch: string;
567
+ sha: string;
568
+ date: string;
569
+ comment: string;
570
+ author: {
571
+ name: string;
572
+ email: string;
573
+ };
574
+ }[] | undefined;
575
+ }>>;
576
+ declare const gitEntrypointsSchema: zod.ZodObject<{
577
+ entrypoints: zod.ZodArray<zod.ZodString>;
578
+ }, zod.core.$strip>;
579
+ type GitAuth = zod.infer<typeof gitAuthSchema>;
580
+ type GetBranchesInput = zod.input<typeof getBranchesInputSchema>;
581
+ type GetEntrypointsInput = zod.input<typeof getEntrypointsInputSchema>;
582
+ type GitBranch = zod.infer<typeof gitBranchSchema>;
583
+ type GitEntrypoints = zod.infer<typeof gitEntrypointsSchema>;
584
+
585
+ declare const testLookerCredentialsInputSchema: zod.ZodObject<{
586
+ branchId: zod.ZodString;
587
+ tag: zod.ZodOptional<zod.ZodString>;
588
+ mode: zod.ZodOptional<zod.ZodEnum<{
589
+ run: "run";
590
+ debug: "debug";
591
+ }>>;
592
+ credentialsId: zod.ZodString;
593
+ '#token': zod.ZodString;
594
+ host: zod.ZodString;
595
+ }, zod.core.$strip>;
596
+ /** The component answers with a status envelope only — there is no payload to model. */
597
+ declare const lookerCredentialsResultSchema: zod.ZodObject<{
598
+ status: zod.ZodOptional<zod.ZodString>;
599
+ message: zod.ZodOptional<zod.ZodString>;
600
+ }, zod.core.$strip>;
601
+ type TestLookerCredentialsInput = zod.infer<typeof testLookerCredentialsInputSchema>;
602
+ type LookerCredentialsResult = zod.infer<typeof lookerCredentialsResultSchema>;
603
+
604
+ /**
605
+ * The generated request body, kept only so `sendSyncAction` can cast to what `openapi-fetch`
606
+ * expects — its `configData` is `Record<string, never>`, which no real payload satisfies.
607
+ * `syncActionBodySchema` is the contract callers and the client itself go through.
608
+ */
609
+ type PostActionsBodyRaw = OpenapiBodyType<paths['/actions']['post']>;
610
+ type EnrollMFAInput = Omit<SyncActionBody, 'action' | 'configData'> & {
249
611
  email: string;
250
612
  };
251
613
 
252
- export type { EnrollMFAInput, GetDataAppPasswordPrivateGitRepositoryInput, GetDataAppPublicGitRepositoryInput, GetDataAppSSHKeyPrivateGitRepositoryInput, GetGitPrivateRepositoryInput, GetPublicGitRepositoryInput, PostActionsBody, PostActionsBodyRaw };
614
+ export { type ApifyObject, type ApifyObjectsInput, DATA_APP_FAMILY, type DataAppComponentId, type DbtActionInput, type DbtCompiled, type DbtModelTiming, type EnrollMFAInput, GIT_FAMILY, type GetBranchesInput, type GetEntrypointsInput, type GitAuth, type GitBranch, type GitComponentId, type GitEntrypoints, type LookerCredentialsResult, type PostActionsBodyRaw, type SyncActionBody, type SyncActionContext, type TestLookerCredentialsInput, apifyObjectsInputSchema, apifyObjectsSchema, dbtActionInputSchema, dbtCompiledSchema, dbtModelTimingSchema, dbtRunResultsSchema, getBranchesInputSchema, getEntrypointsInputSchema, gitAuthSchema, gitBranchesSchema, gitEntrypointsSchema, isDataAppFamily, lookerCredentialsResultSchema, syncActionBodySchema, syncActionContextSchema, testLookerCredentialsInputSchema };
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkNVQ6LGDO_cjs = require('../chunk-NVQ6LGDO.cjs');
4
- require('../chunk-7RO6PKZ4.cjs');
5
- require('../chunk-MMOAH3EH.cjs');
3
+ var chunk2JKTV7UG_cjs = require('../chunk-2JKTV7UG.cjs');
4
+ require('../chunk-K3BLXPLA.cjs');
5
+ require('../chunk-HUQ5ATIL.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "createTelemetryClient", {
10
10
  enumerable: true,
11
- get: function () { return chunkNVQ6LGDO_cjs.createTelemetryClient; }
11
+ get: function () { return chunk2JKTV7UG_cjs.createTelemetryClient; }
12
12
  });
13
13
  //# sourceMappingURL=index.cjs.map
14
14
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
1
  import { CreateCredentialsBody, WorkspaceData } from './types.cjs';
2
- import { c as createGenericFetchClient } from '../createGenericFetchClient-Df_wFqT8.cjs';
3
- import { C as ClientInitOptions } from '../types-DNg4M5JV.cjs';
2
+ import { c as createGenericFetchClient } from '../createGenericFetchClient-JcbIIqwF.cjs';
3
+ import { C as ClientInitOptions } from '../types-UwuKN9Kx.cjs';
4
4
  import 'qs';
5
5
 
6
6
  type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
@@ -1,6 +1,6 @@
1
1
  import { CreateCredentialsBody, WorkspaceData } from './types.js';
2
- import { c as createGenericFetchClient } from '../createGenericFetchClient-Sl1DH71J.js';
3
- import { C as ClientInitOptions } from '../types-DNg4M5JV.js';
2
+ import { c as createGenericFetchClient } from '../createGenericFetchClient-ZGG5wbAC.js';
3
+ import { C as ClientInitOptions } from '../types-UwuKN9Kx.js';
4
4
  import 'qs';
5
5
 
6
6
  type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
@@ -1,5 +1,5 @@
1
- export { createTelemetryClient } from '../chunk-5XWVWFTC.js';
2
- import '../chunk-EDX5D6UY.js';
3
- import '../chunk-XHDYLUM4.js';
1
+ export { createTelemetryClient } from '../chunk-WQ7NNIJ3.js';
2
+ import '../chunk-5A3AQIXR.js';
3
+ import '../chunk-2BQBKU6E.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { c as OpenapiQueryType, d as OpenapiPathType, O as OpenapiBodyType, b as OpenapiReturnType } from './types-gcShAmmi.js';
2
+ import { c as OpenapiQueryType, d as OpenapiPathType, O as OpenapiBodyType, b as OpenapiReturnType } from './types-f8dUjMX4.js';
3
3
 
4
4
  /**
5
5
  * This file was auto-generated by openapi-typescript.
@@ -1256,7 +1256,15 @@ type components = {
1256
1256
  visibility: 'public' | 'private';
1257
1257
  /** @description Keboola branch ID that the chat operates in */
1258
1258
  branchId?: number | null;
1259
- /** @description Latest context-window fill for this conversation (persisted at turn-end), for rehydrating the usage indicator on load. Null until the first turn. */
1259
+ /**
1260
+ * HAND-MAINTAINED — `pnpm gen:types` deletes this; re-add it after every regeneration.
1261
+ * kbc-ui types its chat against this client but talks to kai-agent at runtime, and kai-agent
1262
+ * does return the field. It is absent here only because this file is generated from
1263
+ * kai-assistant's prod spec, which never declared it. Delete this block once the chat client
1264
+ * is retyped against kai-agent's schema (which has the field) rather than kai-assistant's.
1265
+ *
1266
+ * @description Latest context-window fill for this conversation (persisted at turn-end), for rehydrating the usage indicator on load. Null until the first turn.
1267
+ */
1260
1268
  contextWindow?: {
1261
1269
  usedTokens: number;
1262
1270
  maxTokens: number;