@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
@@ -1,4 +1,4 @@
1
- import { O as OpenapiBodyType } from '../types-gcShAmmi.js';
1
+ import { O as OpenapiBodyType } from '../types-f8dUjMX4.js';
2
2
  import * as zod from 'zod';
3
3
 
4
4
  /**
@@ -268,22 +268,338 @@ declare const apifyObjectsSchema: zod.ZodArray<zod.ZodObject<{
268
268
  type ApifyObjectsInput = zod.infer<typeof apifyObjectsInputSchema>;
269
269
  type ApifyObject = zod.infer<typeof apifyObjectsSchema>[number];
270
270
 
271
- type GetPublicGitRepositoryInput = {
272
- repositoryUrl: string;
273
- } & Pick<SyncActionBody, 'tag' | 'branchId' | 'mode' | 'componentId'>;
274
- type GetGitPrivateRepositoryInput = {
275
- username: string;
276
- password: string;
277
- } & GetPublicGitRepositoryInput;
278
- type GetDataAppPublicGitRepositoryInput = Omit<GetPublicGitRepositoryInput, 'componentId'>;
279
- type GetDataAppPasswordPrivateGitRepositoryInput = GetDataAppPublicGitRepositoryInput & {
280
- username: string;
281
- password: string;
282
- };
283
- type GetDataAppSSHKeyPrivateGitRepositoryInput = GetDataAppPublicGitRepositoryInput & {
284
- username: string;
285
- sshKey: string;
286
- };
271
+ /**
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.
276
+ */
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>;
287
603
 
288
604
  /**
289
605
  * The generated request body, kept only so `sendSyncAction` can cast to what `openapi-fetch`
@@ -295,4 +611,4 @@ type EnrollMFAInput = Omit<SyncActionBody, 'action' | 'configData'> & {
295
611
  email: string;
296
612
  };
297
613
 
298
- export { type ApifyObject, type ApifyObjectsInput, type EnrollMFAInput, type GetDataAppPasswordPrivateGitRepositoryInput, type GetDataAppPublicGitRepositoryInput, type GetDataAppSSHKeyPrivateGitRepositoryInput, type GetGitPrivateRepositoryInput, type GetPublicGitRepositoryInput, type PostActionsBodyRaw, type SyncActionBody, type SyncActionContext, apifyObjectsInputSchema, apifyObjectsSchema, syncActionBodySchema, syncActionContextSchema };
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,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;
@@ -1,4 +1,4 @@
1
- import { d as OpenapiPathType, O as OpenapiBodyType, b as OpenapiReturnType } from './types-gcShAmmi.js';
1
+ import { d as OpenapiPathType, O as OpenapiBodyType, b as OpenapiReturnType } from './types-f8dUjMX4.cjs';
2
2
 
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -638,7 +638,9 @@ type paths = {
638
638
  head?: never;
639
639
  /**
640
640
  * Update meta object
641
- * @description Update a meta object by creating a new revision
641
+ * @description Update a meta object by creating a new revision. Sending {"scope": "organization"}
642
+ * (without name/data) steps a project-scoped object up to the organization scope;
643
+ * this requires the organization-admin role and works across all projects of the organization.
642
644
  */
643
645
  patch: {
644
646
  parameters: {
@@ -690,6 +692,17 @@ type paths = {
690
692
  };
691
693
  };
692
694
  };
695
+ /** @description Insufficient permissions */
696
+ 403: {
697
+ headers: {
698
+ [name: string]: unknown;
699
+ };
700
+ content: {
701
+ 'application/vnd.api+json': {
702
+ [key: string]: unknown;
703
+ };
704
+ };
705
+ };
693
706
  /** @description Not found */
694
707
  404: {
695
708
  headers: {
@@ -701,6 +714,28 @@ type paths = {
701
714
  };
702
715
  };
703
716
  };
717
+ /** @description Conflict */
718
+ 409: {
719
+ headers: {
720
+ [name: string]: unknown;
721
+ };
722
+ content: {
723
+ 'application/vnd.api+json': {
724
+ [key: string]: unknown;
725
+ };
726
+ };
727
+ };
728
+ /** @description Missing reference */
729
+ 422: {
730
+ headers: {
731
+ [name: string]: unknown;
732
+ };
733
+ content: {
734
+ 'application/vnd.api+json': {
735
+ [key: string]: unknown;
736
+ };
737
+ };
738
+ };
704
739
  /** @description Internal server error */
705
740
  500: {
706
741
  headers: {
@@ -878,6 +913,110 @@ type paths = {
878
913
  patch?: never;
879
914
  trace?: never;
880
915
  };
916
+ '/api/v1/repository/{objectType}/{UUID}/target-projects': {
917
+ parameters: {
918
+ query?: never;
919
+ header?: never;
920
+ path?: never;
921
+ cookie?: never;
922
+ };
923
+ get?: never;
924
+ /**
925
+ * Replace target projects
926
+ * @description Replace the full set of projects granted GET/consumption access to this object.
927
+ * Only the owning project or an organization admin may call this; an empty
928
+ * targetProjectIds array clears all grants, reverting the object to owner-only visibility.
929
+ */
930
+ put: {
931
+ parameters: {
932
+ query?: never;
933
+ header?: never;
934
+ path: {
935
+ /** @description Object type identifier */
936
+ objectType: string;
937
+ /** @description Meta object UUID */
938
+ UUID: string;
939
+ };
940
+ cookie?: never;
941
+ };
942
+ /** @description Target projects */
943
+ requestBody: {
944
+ content: {
945
+ 'application/vnd.api+json': components['schemas']['models.ReplaceTargetProjectsRequest'];
946
+ };
947
+ };
948
+ responses: {
949
+ /** @description No content */
950
+ 204: {
951
+ headers: {
952
+ [name: string]: unknown;
953
+ };
954
+ content?: never;
955
+ };
956
+ /** @description Bad request */
957
+ 400: {
958
+ headers: {
959
+ [name: string]: unknown;
960
+ };
961
+ content: {
962
+ 'application/vnd.api+json': {
963
+ [key: string]: unknown;
964
+ };
965
+ };
966
+ };
967
+ /** @description Unauthorized */
968
+ 401: {
969
+ headers: {
970
+ [name: string]: unknown;
971
+ };
972
+ content: {
973
+ 'application/vnd.api+json': {
974
+ [key: string]: unknown;
975
+ };
976
+ };
977
+ };
978
+ /** @description Forbidden */
979
+ 403: {
980
+ headers: {
981
+ [name: string]: unknown;
982
+ };
983
+ content: {
984
+ 'application/vnd.api+json': {
985
+ [key: string]: unknown;
986
+ };
987
+ };
988
+ };
989
+ /** @description Not found */
990
+ 404: {
991
+ headers: {
992
+ [name: string]: unknown;
993
+ };
994
+ content: {
995
+ 'application/vnd.api+json': {
996
+ [key: string]: unknown;
997
+ };
998
+ };
999
+ };
1000
+ /** @description Internal server error */
1001
+ 500: {
1002
+ headers: {
1003
+ [name: string]: unknown;
1004
+ };
1005
+ content: {
1006
+ 'application/vnd.api+json': {
1007
+ [key: string]: unknown;
1008
+ };
1009
+ };
1010
+ };
1011
+ };
1012
+ };
1013
+ post?: never;
1014
+ delete?: never;
1015
+ options?: never;
1016
+ head?: never;
1017
+ patch?: never;
1018
+ trace?: never;
1019
+ };
881
1020
  '/api/v1/schema': {
882
1021
  parameters: {
883
1022
  query?: never;
@@ -1220,17 +1359,32 @@ type components = {
1220
1359
  schemaVersion?: string;
1221
1360
  /** @example organization */
1222
1361
  scope?: string;
1362
+ /**
1363
+ * @example [
1364
+ * 123,
1365
+ * 456
1366
+ * ]
1367
+ */
1368
+ targetProjectIds?: number[];
1223
1369
  };
1224
1370
  /** @description JSON data that can contain any valid JSON structure. */
1225
1371
  'models.JSONData': Record<string, never>;
1226
1372
  'models.MetaObjectUpdatePatchRequest': {
1227
1373
  data?: components['schemas']['models.JSONData'];
1228
1374
  name?: string;
1375
+ /**
1376
+ * @description Scope steps a project-scoped object up to the organization scope ("organization").
1377
+ * It cannot be combined with name/data changes and requires the organization-admin role.
1378
+ */
1379
+ scope?: string;
1229
1380
  };
1230
1381
  'models.MetaObjectUpdatePutRequest': {
1231
1382
  data: components['schemas']['models.JSONData'];
1232
1383
  name: string;
1233
1384
  };
1385
+ 'models.ReplaceTargetProjectsRequest': {
1386
+ targetProjectIds?: number[];
1387
+ };
1234
1388
  /** @description Schema metadata without the JSON schema definition. */
1235
1389
  'models.SchemaInfo': {
1236
1390
  /** @description Timestamp when schema was created */
@@ -1299,9 +1453,37 @@ type GetMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/
1299
1453
  type DeleteMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['delete']>;
1300
1454
  type UpdateMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['patch']>;
1301
1455
  type UpdateMetaObjectBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}/{UUID}']['patch']>;
1302
- type UpdateMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = UpdateMetaObjectPath & Omit<UpdateMetaObjectBody, 'data'> & {
1456
+ /**
1457
+ * At least one of `data`/`name`, in either combination — the API accepts a rename-only PATCH, so
1458
+ * requiring `data` here would make `{ name }` untypeable while the wire supports it. The empty
1459
+ * patch stays unrepresentable because each branch requires its lead field.
1460
+ */
1461
+ type UpdateMetaObjectContentPatch<TData extends Record<string, unknown>> = {
1303
1462
  data: Partial<TData>;
1463
+ name?: UpdateMetaObjectBody['name'];
1464
+ scope?: never;
1465
+ } | {
1466
+ name: NonNullable<UpdateMetaObjectBody['name']>;
1467
+ data?: Partial<TData>;
1468
+ scope?: never;
1469
+ };
1470
+ type UpdateMetaObjectScopeStepUp = {
1471
+ scope: NonNullable<UpdateMetaObjectBody['scope']>;
1472
+ data?: never;
1473
+ name?: never;
1304
1474
  };
1475
+ /**
1476
+ * A PATCH is exactly one of two operations, and the metastore enforces the split server-side: a
1477
+ * scope step-up sends `{scope}` alone (`models.MetaObjectUpdatePatchRequest.Data` is a pointer, so
1478
+ * even `{}` or `null` decodes non-nil and trips the guard with a 400), while a content patch may
1479
+ * carry `data`/`name` but never `scope`. The union makes the invalid combinations — scope+data,
1480
+ * scope+name, and the empty patch — unrepresentable rather than a runtime 400: passing `scope`
1481
+ * through a content-update path compiled before this and failed on every live call.
1482
+ */
1483
+ type UpdateMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = UpdateMetaObjectPath & (UpdateMetaObjectContentPatch<TData> | UpdateMetaObjectScopeStepUp);
1484
+ type ReplaceTargetProjectsPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}/target-projects']['put']>;
1485
+ type ReplaceTargetProjectsBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}/{UUID}/target-projects']['put']>;
1486
+ type ReplaceTargetProjectsInput = ReplaceTargetProjectsPath & ReplaceTargetProjectsBody;
1305
1487
  type ReplaceMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['put']>;
1306
1488
  type ReplaceMetaObjectBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}/{UUID}']['put']>;
1307
1489
  type ReplaceMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = ReplaceMetaObjectPath & Omit<ReplaceMetaObjectBody, 'data'> & {
@@ -1323,4 +1505,4 @@ type MetaStoreListResponse<TData extends Record<string, unknown>> = {
1323
1505
  data: RawMetaObject<TData>[];
1324
1506
  };
1325
1507
 
1326
- export type { CreateMetaObjectInput as C, DeleteMetaObjectPath as D, GetMetaObjectsPath as G, MetaObject as M, ReplaceMetaObjectInput as R, UpdateMetaObjectInput as U, MetaStoreListResponse as a, GetMetaObjectRevisionsPath as b, GetMetaObjectPath as c, MetaStoreObjectResponse as d, GetMetaObjectRevisionPath as e, DeleteMetaObjectRevisionPath as f, GetSchemaPath as g, components as h, GetVersionedSchemaPath as i, CreateMetaObjectBody as j, CreateMetaObjectPath as k, CreateMetaObjectReturn as l, MetaObjectMeta as m, RawMetaObject as n, ReplaceMetaObjectBody as o, ReplaceMetaObjectPath as p, UpdateMetaObjectBody as q, UpdateMetaObjectPath as r };
1508
+ export type { CreateMetaObjectInput as C, DeleteMetaObjectPath as D, GetMetaObjectsPath as G, MetaObject as M, ReplaceMetaObjectInput as R, UpdateMetaObjectInput as U, MetaStoreListResponse as a, GetMetaObjectRevisionsPath as b, GetMetaObjectPath as c, MetaStoreObjectResponse as d, ReplaceTargetProjectsInput as e, GetMetaObjectRevisionPath as f, DeleteMetaObjectRevisionPath as g, GetSchemaPath as h, components as i, GetVersionedSchemaPath as j, CreateMetaObjectBody as k, CreateMetaObjectPath as l, CreateMetaObjectReturn as m, MetaObjectMeta as n, RawMetaObject as o, ReplaceMetaObjectBody as p, ReplaceMetaObjectPath as q, ReplaceTargetProjectsBody as r, ReplaceTargetProjectsPath as s, UpdateMetaObjectBody as t, UpdateMetaObjectPath as u };