@keboola/api-client 20.0.0 → 23.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 (392) hide show
  1. package/API-SURFACE.md +51 -3
  2. package/README.md +124 -24
  3. package/dist/{ManagementClientAuthError-BMOhz4mx.d.ts → ManagementClientAuthError-B3PZRWBU.d.ts} +1 -1
  4. package/dist/{ManagementClientAuthError-B7mGrnGn.d.cts → ManagementClientAuthError-CJu_hpGi.d.cts} +1 -1
  5. package/dist/ai/index.cjs +4 -4
  6. package/dist/ai/index.d.cts +4 -3
  7. package/dist/ai/index.d.ts +4 -3
  8. package/dist/ai/index.js +3 -3
  9. package/dist/ai/types.d.cts +2 -2
  10. package/dist/ai/types.d.ts +2 -2
  11. package/dist/assets/index.cjs +12 -3
  12. package/dist/assets/index.cjs.map +1 -1
  13. package/dist/assets/index.d.cts +2 -1
  14. package/dist/assets/index.d.ts +2 -1
  15. package/dist/assets/index.js +11 -2
  16. package/dist/assets/index.js.map +1 -1
  17. package/dist/auth/index.cjs +22 -10
  18. package/dist/auth/index.d.cts +117 -10
  19. package/dist/auth/index.d.ts +117 -10
  20. package/dist/auth/index.js +2 -2
  21. package/dist/auth/types.d.cts +4 -8
  22. package/dist/auth/types.d.ts +4 -8
  23. package/dist/chat/index.cjs +4 -4
  24. package/dist/chat/index.d.cts +4 -8
  25. package/dist/chat/index.d.ts +4 -8
  26. package/dist/chat/index.js +3 -3
  27. package/dist/chat/suggestions.d.cts +11 -11
  28. package/dist/chat/suggestions.d.ts +11 -11
  29. package/dist/chat/types.d.cts +2 -2
  30. package/dist/chat/types.d.ts +2 -2
  31. package/dist/{chunk-SWJHENEP.cjs → chunk-22D55AHX.cjs} +180 -28
  32. package/dist/chunk-22D55AHX.cjs.map +1 -0
  33. package/dist/chunk-22E6IGXR.js +6 -0
  34. package/dist/chunk-22E6IGXR.js.map +1 -0
  35. package/dist/{chunk-7ETZQGY7.js → chunk-2BOG5U7C.js} +3 -3
  36. package/dist/{chunk-7ETZQGY7.js.map → chunk-2BOG5U7C.js.map} +1 -1
  37. package/dist/{chunk-RHLDDKX6.js → chunk-33NQB34X.js} +99 -30
  38. package/dist/chunk-33NQB34X.js.map +1 -0
  39. package/dist/{chunk-AWRMGLMT.cjs → chunk-35MODDCL.cjs} +8 -9
  40. package/dist/chunk-35MODDCL.cjs.map +1 -0
  41. package/dist/{chunk-RK2VGHJE.js → chunk-3B3GOGAL.js} +3 -3
  42. package/dist/chunk-3B3GOGAL.js.map +1 -0
  43. package/dist/{chunk-TTPJSPZA.cjs → chunk-3KEVPUSX.cjs} +10 -3
  44. package/dist/chunk-3KEVPUSX.cjs.map +1 -0
  45. package/dist/chunk-43CGBOVT.cjs +16 -0
  46. package/dist/chunk-43CGBOVT.cjs.map +1 -0
  47. package/dist/{chunk-IZWNTRMT.cjs → chunk-4GUUSO5O.cjs} +24 -7
  48. package/dist/chunk-4GUUSO5O.cjs.map +1 -0
  49. package/dist/{chunk-YUTWLJBK.js → chunk-4IEIVLYT.js} +55 -5
  50. package/dist/chunk-4IEIVLYT.js.map +1 -0
  51. package/dist/{chunk-KLVBTRLR.js → chunk-4Z5W2F6Q.js} +168 -17
  52. package/dist/chunk-4Z5W2F6Q.js.map +1 -0
  53. package/dist/{chunk-JJXTE2SL.cjs → chunk-556U6PFA.cjs} +6 -6
  54. package/dist/{chunk-JJXTE2SL.cjs.map → chunk-556U6PFA.cjs.map} +1 -1
  55. package/dist/{chunk-M3UUJIMO.js → chunk-5Z6M32UE.js} +16 -5
  56. package/dist/chunk-5Z6M32UE.js.map +1 -0
  57. package/dist/{chunk-XISA4SYM.cjs → chunk-5ZOWA7DA.cjs} +6 -6
  58. package/dist/{chunk-XISA4SYM.cjs.map → chunk-5ZOWA7DA.cjs.map} +1 -1
  59. package/dist/{chunk-6FE3CWV6.js → chunk-6LBMZAPF.js} +14 -5
  60. package/dist/chunk-6LBMZAPF.js.map +1 -0
  61. package/dist/{chunk-4H2DDEUI.cjs → chunk-BWBTNAVL.cjs} +9 -9
  62. package/dist/{chunk-4H2DDEUI.cjs.map → chunk-BWBTNAVL.cjs.map} +1 -1
  63. package/dist/{chunk-NRJTA5P3.cjs → chunk-CCC6I32C.cjs} +4 -4
  64. package/dist/{chunk-NRJTA5P3.cjs.map → chunk-CCC6I32C.cjs.map} +1 -1
  65. package/dist/{chunk-ZLW3243Q.cjs → chunk-CN5GAKRO.cjs} +6 -6
  66. package/dist/chunk-CN5GAKRO.cjs.map +1 -0
  67. package/dist/{chunk-JURD5MC3.js → chunk-DHOVQ2TW.js} +15 -16
  68. package/dist/chunk-DHOVQ2TW.js.map +1 -0
  69. package/dist/{chunk-IUN2ZSU3.cjs → chunk-DMNWPVVT.cjs} +3 -2
  70. package/dist/chunk-DMNWPVVT.cjs.map +1 -0
  71. package/dist/chunk-EWMXK3EI.cjs +8 -0
  72. package/dist/chunk-EWMXK3EI.cjs.map +1 -0
  73. package/dist/{chunk-IWIN6HKU.cjs → chunk-EYIPM2XB.cjs} +4 -4
  74. package/dist/{chunk-IWIN6HKU.cjs.map → chunk-EYIPM2XB.cjs.map} +1 -1
  75. package/dist/{chunk-HEVDH4JQ.js → chunk-F43HBNKD.js} +4 -4
  76. package/dist/{chunk-HEVDH4JQ.js.map → chunk-F43HBNKD.js.map} +1 -1
  77. package/dist/{chunk-QQJXXNUE.cjs → chunk-FDTWXXI4.cjs} +7 -7
  78. package/dist/{chunk-QQJXXNUE.cjs.map → chunk-FDTWXXI4.cjs.map} +1 -1
  79. package/dist/{chunk-CVV4HROS.cjs → chunk-FMS5PNM2.cjs} +4 -4
  80. package/dist/chunk-FMS5PNM2.cjs.map +1 -0
  81. package/dist/{chunk-ZHNOZHJG.js → chunk-FQK3YM7U.js} +3 -3
  82. package/dist/{chunk-ZHNOZHJG.js.map → chunk-FQK3YM7U.js.map} +1 -1
  83. package/dist/{chunk-BR3SBEFE.cjs → chunk-FRLSKIUI.cjs} +19 -21
  84. package/dist/chunk-FRLSKIUI.cjs.map +1 -0
  85. package/dist/{chunk-JIAMBOU7.cjs → chunk-FVJC2GJY.cjs} +19 -8
  86. package/dist/chunk-FVJC2GJY.cjs.map +1 -0
  87. package/dist/{chunk-7KMFRSYA.js → chunk-G5JMZI2L.js} +22 -5
  88. package/dist/chunk-G5JMZI2L.js.map +1 -0
  89. package/dist/{chunk-4HJUQVXR.js → chunk-HFZCZ7PZ.js} +61 -12
  90. package/dist/chunk-HFZCZ7PZ.js.map +1 -0
  91. package/dist/{chunk-4JCVPUXF.cjs → chunk-HZSZQFEO.cjs} +109 -40
  92. package/dist/chunk-HZSZQFEO.cjs.map +1 -0
  93. package/dist/{chunk-WWICQYOY.cjs → chunk-IYGHWPCR.cjs} +4 -4
  94. package/dist/{chunk-WWICQYOY.cjs.map → chunk-IYGHWPCR.cjs.map} +1 -1
  95. package/dist/{chunk-KDWIJTED.js → chunk-J2MBTBE2.js} +4 -4
  96. package/dist/{chunk-KDWIJTED.js.map → chunk-J2MBTBE2.js.map} +1 -1
  97. package/dist/{chunk-ISY2BOFY.js → chunk-JQSMJ64B.js} +4 -4
  98. package/dist/{chunk-ISY2BOFY.js.map → chunk-JQSMJ64B.js.map} +1 -1
  99. package/dist/{chunk-ANRUSNYD.cjs → chunk-K6EZ3USU.cjs} +7 -7
  100. package/dist/{chunk-ANRUSNYD.cjs.map → chunk-K6EZ3USU.cjs.map} +1 -1
  101. package/dist/{chunk-KQ2QNGRX.js → chunk-KH6BHTXN.js} +5 -6
  102. package/dist/chunk-KH6BHTXN.js.map +1 -0
  103. package/dist/chunk-KUYVBCUM.cjs +231 -0
  104. package/dist/chunk-KUYVBCUM.cjs.map +1 -0
  105. package/dist/{chunk-EKWD4ODT.cjs → chunk-KY4EYQ6I.cjs} +6 -6
  106. package/dist/{chunk-EKWD4ODT.cjs.map → chunk-KY4EYQ6I.cjs.map} +1 -1
  107. package/dist/{chunk-WJRHT346.js → chunk-L4R66Q6S.js} +4 -4
  108. package/dist/chunk-L4R66Q6S.js.map +1 -0
  109. package/dist/{chunk-K6E7LOWZ.js → chunk-L63UYWJG.js} +4 -4
  110. package/dist/{chunk-K6E7LOWZ.js.map → chunk-L63UYWJG.js.map} +1 -1
  111. package/dist/{chunk-EXNR4FGV.js → chunk-MIUULCML.js} +3 -3
  112. package/dist/{chunk-EXNR4FGV.js.map → chunk-MIUULCML.js.map} +1 -1
  113. package/dist/{chunk-V4FLCCD4.js → chunk-PEC3BYFA.js} +4 -4
  114. package/dist/{chunk-V4FLCCD4.js.map → chunk-PEC3BYFA.js.map} +1 -1
  115. package/dist/{chunk-ZAPK7HZS.js → chunk-PHP2NND7.js} +4 -4
  116. package/dist/{chunk-ZAPK7HZS.js.map → chunk-PHP2NND7.js.map} +1 -1
  117. package/dist/{chunk-STAQJVW4.cjs → chunk-Q7C2IRF2.cjs} +6 -6
  118. package/dist/{chunk-STAQJVW4.cjs.map → chunk-Q7C2IRF2.cjs.map} +1 -1
  119. package/dist/chunk-QHD4LPAQ.cjs +8 -0
  120. package/dist/chunk-QHD4LPAQ.cjs.map +1 -0
  121. package/dist/{chunk-FPWOK2CR.js → chunk-R3NW5LAB.js} +4 -4
  122. package/dist/chunk-R3NW5LAB.js.map +1 -0
  123. package/dist/{chunk-EBCZUGUX.js → chunk-SJZ66FD5.js} +4 -4
  124. package/dist/chunk-SJZ66FD5.js.map +1 -0
  125. package/dist/chunk-T526LPBK.js +6 -0
  126. package/dist/chunk-T526LPBK.js.map +1 -0
  127. package/dist/{chunk-G7VCXMQB.cjs → chunk-T7SEZMQ7.cjs} +16 -7
  128. package/dist/chunk-T7SEZMQ7.cjs.map +1 -0
  129. package/dist/{chunk-UREIP7XG.js → chunk-TCGHVOIJ.js} +4 -4
  130. package/dist/{chunk-UREIP7XG.js.map → chunk-TCGHVOIJ.js.map} +1 -1
  131. package/dist/{chunk-IBELIKBL.js → chunk-TF3JWA7J.js} +4 -4
  132. package/dist/{chunk-IBELIKBL.js.map → chunk-TF3JWA7J.js.map} +1 -1
  133. package/dist/{chunk-GENABZQ3.js → chunk-UH5JOSEE.js} +4 -4
  134. package/dist/{chunk-GENABZQ3.js.map → chunk-UH5JOSEE.js.map} +1 -1
  135. package/dist/chunk-UP5SEEYZ.js +218 -0
  136. package/dist/chunk-UP5SEEYZ.js.map +1 -0
  137. package/dist/{chunk-MLCMKHMK.cjs → chunk-VPNWX7YM.cjs} +6 -6
  138. package/dist/{chunk-MLCMKHMK.cjs.map → chunk-VPNWX7YM.cjs.map} +1 -1
  139. package/dist/{chunk-YOD5F25S.js → chunk-WJEAGAWB.js} +4 -4
  140. package/dist/{chunk-YOD5F25S.js.map → chunk-WJEAGAWB.js.map} +1 -1
  141. package/dist/{chunk-YLHZ2H7O.cjs → chunk-WZGBE4XH.cjs} +9 -9
  142. package/dist/{chunk-YLHZ2H7O.cjs.map → chunk-WZGBE4XH.cjs.map} +1 -1
  143. package/dist/chunk-X4HEWMPU.cjs +113 -0
  144. package/dist/chunk-X4HEWMPU.cjs.map +1 -0
  145. package/dist/{chunk-WFBQUWRC.js → chunk-XMC355U2.js} +10 -3
  146. package/dist/chunk-XMC355U2.js.map +1 -0
  147. package/dist/{chunk-N3GNUFMA.cjs → chunk-YEF46DYF.cjs} +65 -13
  148. package/dist/chunk-YEF46DYF.cjs.map +1 -0
  149. package/dist/{chunk-AKDJSXVJ.cjs → chunk-YQEBJG5H.cjs} +6 -6
  150. package/dist/{chunk-AKDJSXVJ.cjs.map → chunk-YQEBJG5H.cjs.map} +1 -1
  151. package/dist/{chunk-UFQVOZZ6.cjs → chunk-Z76DIRLA.cjs} +55 -5
  152. package/dist/chunk-Z76DIRLA.cjs.map +1 -0
  153. package/dist/chunk-ZDCEKJAL.js +110 -0
  154. package/dist/chunk-ZDCEKJAL.js.map +1 -0
  155. package/dist/constants/index.cjs +17 -3
  156. package/dist/constants/index.cjs.map +1 -1
  157. package/dist/constants/index.d.cts +8 -1
  158. package/dist/constants/index.d.ts +8 -1
  159. package/dist/constants/index.js +16 -2
  160. package/dist/constants/index.js.map +1 -1
  161. package/dist/{createGenericFetchClient-D4tfhW6Z.d.ts → createGenericFetchClient-B2Gp1a8f.d.ts} +1 -1
  162. package/dist/{createGenericFetchClient-CrB9cdk8.d.cts → createGenericFetchClient-DJ-oaxPj.d.cts} +1 -1
  163. package/dist/{createOpenapiFetchClient-DLA4-_yg.d.ts → createOpenapiFetchClient-BX7_szVZ.d.ts} +2 -2
  164. package/dist/{createOpenapiFetchClient-zK2SckO2.d.cts → createOpenapiFetchClient-pguVgT7R.d.cts} +2 -2
  165. package/dist/dataScience/index.cjs +5 -5
  166. package/dist/dataScience/index.d.cts +4 -9
  167. package/dist/dataScience/index.d.ts +4 -9
  168. package/dist/dataScience/index.js +3 -3
  169. package/dist/dataScience/types.d.cts +2 -2
  170. package/dist/dataScience/types.d.ts +2 -2
  171. package/dist/domain/permissions/index.cjs +23 -0
  172. package/dist/domain/permissions/index.cjs.map +1 -1
  173. package/dist/domain/permissions/index.d.cts +40 -5
  174. package/dist/domain/permissions/index.d.ts +40 -5
  175. package/dist/domain/permissions/index.js +20 -1
  176. package/dist/domain/permissions/index.js.map +1 -1
  177. package/dist/editor/index.cjs +4 -4
  178. package/dist/editor/index.d.cts +3 -3
  179. package/dist/editor/index.d.ts +3 -3
  180. package/dist/editor/index.js +3 -3
  181. package/dist/editor/types.d.cts +2 -2
  182. package/dist/editor/types.d.ts +2 -2
  183. package/dist/encryption/index.cjs +3 -3
  184. package/dist/encryption/index.d.cts +4 -4
  185. package/dist/encryption/index.d.ts +4 -4
  186. package/dist/encryption/index.js +2 -2
  187. package/dist/encryption/types.d.cts +3 -3
  188. package/dist/encryption/types.d.ts +3 -3
  189. package/dist/import/index.cjs +4 -4
  190. package/dist/import/index.d.cts +1 -1
  191. package/dist/import/index.d.ts +1 -1
  192. package/dist/import/index.js +3 -3
  193. package/dist/index.cjs +1572 -848
  194. package/dist/index.cjs.map +1 -1
  195. package/dist/index.d.cts +1830 -1101
  196. package/dist/index.d.ts +1830 -1101
  197. package/dist/index.js +1571 -881
  198. package/dist/index.js.map +1 -1
  199. package/dist/management/index.cjs +5 -5
  200. package/dist/management/index.d.cts +39 -42
  201. package/dist/management/index.d.ts +39 -42
  202. package/dist/management/index.js +3 -3
  203. package/dist/management/types.d.cts +3 -7
  204. package/dist/management/types.d.ts +3 -7
  205. package/dist/metastore/index.cjs +4 -4
  206. package/dist/metastore/index.d.cts +14 -33
  207. package/dist/metastore/index.d.ts +14 -33
  208. package/dist/metastore/index.js +3 -3
  209. package/dist/metastore/types.d.cts +2 -2
  210. package/dist/metastore/types.d.ts +2 -2
  211. package/dist/notifications/index.cjs +5 -4
  212. package/dist/notifications/index.d.cts +30 -17
  213. package/dist/notifications/index.d.ts +30 -17
  214. package/dist/notifications/index.js +4 -3
  215. package/dist/notifications/types.d.cts +2 -2
  216. package/dist/notifications/types.d.ts +2 -2
  217. package/dist/oauth/index.cjs +4 -4
  218. package/dist/oauth/index.d.cts +1 -1
  219. package/dist/oauth/index.d.ts +1 -1
  220. package/dist/oauth/index.js +3 -3
  221. package/dist/{project-Bj7A_TSe.d.ts → project-BV-vseKc.d.ts} +2 -2
  222. package/dist/{project-CX3TEH8A.d.cts → project-CbJCjkdt.d.cts} +2 -2
  223. package/dist/queryService/index.cjs +4 -4
  224. package/dist/queryService/index.d.cts +3 -3
  225. package/dist/queryService/index.d.ts +3 -3
  226. package/dist/queryService/index.js +3 -3
  227. package/dist/queryService/types.d.cts +2 -2
  228. package/dist/queryService/types.d.ts +2 -2
  229. package/dist/queue/index.cjs +5 -4
  230. package/dist/queue/index.d.cts +207 -3
  231. package/dist/queue/index.d.ts +207 -3
  232. package/dist/queue/index.js +4 -3
  233. package/dist/queue/types.d.cts +2 -2
  234. package/dist/queue/types.d.ts +2 -2
  235. package/dist/{registry-BLItWxbK.d.ts → registry-v_1krdcs.d.cts} +136 -1
  236. package/dist/{registry-BLItWxbK.d.cts → registry-v_1krdcs.d.ts} +136 -1
  237. package/dist/scheduler/index.cjs +5 -4
  238. package/dist/scheduler/index.d.cts +3 -2
  239. package/dist/scheduler/index.d.ts +3 -2
  240. package/dist/scheduler/index.js +4 -3
  241. package/dist/scheduler/types.d.cts +1 -1
  242. package/dist/scheduler/types.d.ts +1 -1
  243. package/dist/sdk/configurations/index.cjs +3 -3
  244. package/dist/sdk/configurations/index.d.cts +418 -26
  245. package/dist/sdk/configurations/index.d.ts +418 -26
  246. package/dist/sdk/configurations/index.js +2 -2
  247. package/dist/sdk/semanticLayer/index.cjs +58 -0
  248. package/dist/sdk/semanticLayer/index.cjs.map +1 -0
  249. package/dist/sdk/semanticLayer/index.d.cts +151 -0
  250. package/dist/sdk/semanticLayer/index.d.ts +151 -0
  251. package/dist/sdk/semanticLayer/index.js +5 -0
  252. package/dist/sdk/semanticLayer/index.js.map +1 -0
  253. package/dist/sdk/semanticLayer/types.cjs +4 -0
  254. package/dist/sdk/semanticLayer/types.cjs.map +1 -0
  255. package/dist/sdk/semanticLayer/types.d.cts +132 -0
  256. package/dist/sdk/semanticLayer/types.d.ts +132 -0
  257. package/dist/sdk/semanticLayer/types.js +3 -0
  258. package/dist/sdk/semanticLayer/types.js.map +1 -0
  259. package/dist/sdk/storage/index.cjs +12 -11
  260. package/dist/sdk/storage/index.d.cts +8 -8
  261. package/dist/sdk/storage/index.d.ts +8 -8
  262. package/dist/sdk/storage/index.js +2 -1
  263. package/dist/sdk/tag/index.cjs +4 -3
  264. package/dist/sdk/tag/index.d.cts +7 -7
  265. package/dist/sdk/tag/index.d.ts +7 -7
  266. package/dist/sdk/tag/index.js +3 -2
  267. package/dist/sdk/tag/types.d.cts +5 -5
  268. package/dist/sdk/tag/types.d.ts +5 -5
  269. package/dist/sdk/vault/index.cjs +8 -8
  270. package/dist/sdk/vault/index.d.cts +5 -5
  271. package/dist/sdk/vault/index.d.ts +5 -5
  272. package/dist/sdk/vault/index.js +2 -2
  273. package/dist/status/index.cjs +2 -2
  274. package/dist/status/index.d.cts +1 -1
  275. package/dist/status/index.d.ts +1 -1
  276. package/dist/status/index.js +1 -1
  277. package/dist/storage/index.cjs +12 -12
  278. package/dist/storage/index.d.cts +8 -8
  279. package/dist/storage/index.d.ts +8 -8
  280. package/dist/storage/index.js +5 -5
  281. package/dist/storage/types.d.cts +59 -6
  282. package/dist/storage/types.d.ts +59 -6
  283. package/dist/{storageClient-D1USmiC5.d.cts → storageClient-Dlu7OJgJ.d.cts} +14 -7
  284. package/dist/{storageClient-Cwr5Vl45.d.ts → storageClient-Dz4tTWOc.d.ts} +14 -7
  285. package/dist/{storageSdk-MciYsR_e.d.cts → storageSdk-DxbSjnHh.d.cts} +1 -1
  286. package/dist/{storageSdk-Um7iSJMs.d.ts → storageSdk-PRaSLkD6.d.ts} +1 -1
  287. package/dist/stream/index.cjs +4 -4
  288. package/dist/stream/index.d.cts +3 -3
  289. package/dist/stream/index.d.ts +3 -3
  290. package/dist/stream/index.js +3 -3
  291. package/dist/stream/types.d.cts +2 -2
  292. package/dist/stream/types.d.ts +2 -2
  293. package/dist/syncActions/index.cjs +4 -4
  294. package/dist/syncActions/index.d.cts +3 -3
  295. package/dist/syncActions/index.d.ts +3 -3
  296. package/dist/syncActions/index.js +3 -3
  297. package/dist/syncActions/types.d.cts +1 -10
  298. package/dist/syncActions/types.d.ts +1 -10
  299. package/dist/telemetry/index.cjs +4 -4
  300. package/dist/telemetry/index.d.cts +2 -2
  301. package/dist/telemetry/index.d.ts +2 -2
  302. package/dist/telemetry/index.js +3 -3
  303. package/dist/{types-BCPmAXOQ.d.cts → types-22LtuLPM.d.cts} +355 -108
  304. package/dist/{types-BVldT2vs.d.cts → types-B-3bBl2q.d.ts} +21 -17
  305. package/dist/{types-DHCbX2uR.d.cts → types-B3hgDuaG.d.cts} +1 -1
  306. package/dist/{types-jKnx7Tm_.d.cts → types-BbM5WDSR.d.cts} +1 -1
  307. package/dist/{types-jKnx7Tm_.d.ts → types-BbM5WDSR.d.ts} +1 -1
  308. package/dist/{types-Dv3vN7M9.d.ts → types-Bj3fLP0h.d.ts} +1 -1
  309. package/dist/{types-D3Kkh6yW.d.ts → types-BjNd012m.d.ts} +3 -545
  310. package/dist/{types-yKV1EX6f.d.ts → types-BjdcqqvT.d.ts} +10 -1
  311. package/dist/{types-ClxrZC77.d.cts → types-CJ0RgA57.d.ts} +3146 -826
  312. package/dist/{types-DFWnAftN.d.cts → types-CUzRu6Z8.d.cts} +1 -1
  313. package/dist/{types-o8eTf_G9.d.ts → types-CfIKhNMg.d.cts} +3146 -826
  314. package/dist/{types-D9cNOf-3.d.cts → types-CkQXSDqo.d.cts} +10 -1
  315. package/dist/{types-CWebeQXy.d.cts → types-CmdRXxqa.d.cts} +1 -1
  316. package/dist/{types-l_pP5J0H.d.ts → types-Cnsa5tWp.d.ts} +1 -1
  317. package/dist/{types-BxjcUj-y.d.cts → types-D6p5VsOx.d.cts} +27 -4
  318. package/dist/{types-oJnjpvPi.d.ts → types-DNEuJ-tb.d.cts} +585 -6
  319. package/dist/{types-BbeZapCu.d.ts → types-DXFcF3_c.d.ts} +2 -2
  320. package/dist/{types-GRfGXouy.d.cts → types-DgU_wy4q.d.cts} +2 -2
  321. package/dist/{types-DacFMc6L.d.ts → types-Dq5jIMye.d.ts} +27 -4
  322. package/dist/{types-0yn6OefX.d.ts → types-DqxZDbM1.d.cts} +1 -1
  323. package/dist/{types-0yn6OefX.d.cts → types-DqxZDbM1.d.ts} +1 -1
  324. package/dist/{types-BowqtZ7v.d.ts → types-Dz4Yc-Mu.d.ts} +355 -108
  325. package/dist/{types-YEfQ5pAy.d.ts → types-GecGaYgv.d.cts} +981 -171
  326. package/dist/{types-YEfQ5pAy.d.cts → types-GecGaYgv.d.ts} +981 -171
  327. package/dist/{types-CFd7q2ed.d.ts → types-PG_v0QyH.d.ts} +1 -1
  328. package/dist/{types-CS8MYc2k.d.ts → types-mQtL3f4D.d.cts} +21 -17
  329. package/dist/{types-59-LNg5i.d.cts → types-qCMu5X9I.d.ts} +585 -6
  330. package/dist/{types-CvHPHNH0.d.cts → types-y3pEpGrH.d.cts} +3 -545
  331. package/dist/{utils-DDERw8dM.d.cts → utils-CuiDsDxz.d.cts} +997 -168
  332. package/dist/{utils-C7eSJKtG.d.ts → utils-zcz60drL.d.ts} +997 -168
  333. package/dist/vault/index.cjs +4 -4
  334. package/dist/vault/index.d.cts +2 -2
  335. package/dist/vault/index.d.ts +2 -2
  336. package/dist/vault/index.js +3 -3
  337. package/dist/vault/types.d.cts +4 -10
  338. package/dist/vault/types.d.ts +4 -10
  339. package/package.json +30 -4
  340. package/surface/ai.md +2 -2
  341. package/surface/auth.md +15 -3
  342. package/surface/chat.md +1 -1
  343. package/surface/dataScience.md +5 -5
  344. package/surface/editor.md +5 -5
  345. package/surface/kaiAgent.md +4 -4
  346. package/surface/management.md +24 -4
  347. package/surface/metastore.md +10 -10
  348. package/surface/notifications.md +6 -4
  349. package/surface/queue.md +6 -1
  350. package/surface/scheduler.md +1 -0
  351. package/surface/sdk.md +21 -6
  352. package/surface/storage.md +12 -4
  353. package/surface/stream.md +7 -7
  354. package/dist/authMiddleware-BcRYj3eQ.d.cts +0 -5
  355. package/dist/authMiddleware-CirRGURb.d.ts +0 -5
  356. package/dist/chunk-4HJUQVXR.js.map +0 -1
  357. package/dist/chunk-4JCVPUXF.cjs.map +0 -1
  358. package/dist/chunk-6FE3CWV6.js.map +0 -1
  359. package/dist/chunk-7KMFRSYA.js.map +0 -1
  360. package/dist/chunk-AWRMGLMT.cjs.map +0 -1
  361. package/dist/chunk-BR3SBEFE.cjs.map +0 -1
  362. package/dist/chunk-CVV4HROS.cjs.map +0 -1
  363. package/dist/chunk-EBCZUGUX.js.map +0 -1
  364. package/dist/chunk-FPWOK2CR.js.map +0 -1
  365. package/dist/chunk-G7VCXMQB.cjs.map +0 -1
  366. package/dist/chunk-HNP33VR5.cjs +0 -16
  367. package/dist/chunk-HNP33VR5.cjs.map +0 -1
  368. package/dist/chunk-IUN2ZSU3.cjs.map +0 -1
  369. package/dist/chunk-IZWNTRMT.cjs.map +0 -1
  370. package/dist/chunk-JIAMBOU7.cjs.map +0 -1
  371. package/dist/chunk-JURD5MC3.js.map +0 -1
  372. package/dist/chunk-KLVBTRLR.js.map +0 -1
  373. package/dist/chunk-KQ2QNGRX.js.map +0 -1
  374. package/dist/chunk-M3UUJIMO.js.map +0 -1
  375. package/dist/chunk-N3GNUFMA.cjs.map +0 -1
  376. package/dist/chunk-PINOAERX.js +0 -36
  377. package/dist/chunk-PINOAERX.js.map +0 -1
  378. package/dist/chunk-RHLDDKX6.js.map +0 -1
  379. package/dist/chunk-RK2VGHJE.js.map +0 -1
  380. package/dist/chunk-SWJHENEP.cjs.map +0 -1
  381. package/dist/chunk-TTPJSPZA.cjs.map +0 -1
  382. package/dist/chunk-UFQVOZZ6.cjs.map +0 -1
  383. package/dist/chunk-WFBQUWRC.js.map +0 -1
  384. package/dist/chunk-WJRHT346.js.map +0 -1
  385. package/dist/chunk-YOPRPXER.cjs +0 -38
  386. package/dist/chunk-YOPRPXER.cjs.map +0 -1
  387. package/dist/chunk-YUTWLJBK.js.map +0 -1
  388. package/dist/chunk-ZLW3243Q.cjs.map +0 -1
  389. package/dist/schemas-CraXbXke.d.cts +0 -74
  390. package/dist/schemas-CraXbXke.d.ts +0 -74
  391. package/dist/{backends-Bofq_Nr0.d.cts → adminRoles-Cil1lavB.d.cts} +6 -6
  392. package/dist/{backends-Bofq_Nr0.d.ts → adminRoles-Cil1lavB.d.ts} +6 -6
package/API-SURFACE.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  <!-- GENERATED FILE — do not edit by hand. Run `pnpm --filter @keboola/api-client surface` to regenerate. -->
4
4
 
5
- Every namespace and method reachable from an initialized `ApiClient` (`createApiClient()` after `init()`, or `useApiClient()`). Generated from the TypeScript type checker — see `scripts/gen-surface.mjs`.
5
+ Every namespace and method reachable from a ready `KeboolaApi` — the `api` half of a keboola client (`createKeboola(...).api` / `createLegacyKeboola(...).api`, or `useApiClient()`). Generated from the TypeScript type checker — see `scripts/gen-surface.mjs`.
6
6
 
7
- 22 top-level namespaces, 449 methods. This index lists method **names** only — full signatures live per namespace under [`surface/`](./surface). Open `surface/<namespace>.md` for the one you need.
7
+ 22 top-level namespaces, 497 methods. This index lists method **names** only — full signatures live per namespace under [`surface/`](./surface). Open `surface/<namespace>.md` for the one you need.
8
8
 
9
9
  ## [`api.ai`](./surface/ai.md)
10
10
 
@@ -25,8 +25,14 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
25
25
  - `login.withOidc`
26
26
  - `login.withPassword`
27
27
  - `mfa.regenerateRecoveryCodes`
28
+ - `mfa.totp.disable`
29
+ - `mfa.totp.setup`
30
+ - `mfa.totp.verify`
28
31
  - `mfa.verifyWithCode`
29
32
  - `mfa.verifyWithWebauthn`
33
+ - `password.change`
34
+ - `password.reset`
35
+ - `password.resetRequest`
30
36
  - `pat.create`
31
37
  - `pat.exchange`
32
38
  - `pat.getAll`
@@ -172,6 +178,9 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
172
178
  - `features.getFeature`
173
179
  - `features.getFeatureAdmins`
174
180
  - `features.getFeatureProjects`
181
+ - `fileStorage.getFileStoragesAbs`
182
+ - `fileStorage.getFileStoragesGcs`
183
+ - `fileStorage.getFileStoragesS3`
175
184
  - `maintainers.addMaintainerUser`
176
185
  - `maintainers.createMaintainer`
177
186
  - `maintainers.createMaintainerInvitation`
@@ -217,16 +226,30 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
217
226
  - `projects.getProjectInvitations`
218
227
  - `projects.getProjectMetadata`
219
228
  - `projects.getProjectReviewers`
229
+ - `projects.getProjectTemplates`
220
230
  - `projects.getProjectUsers`
221
231
  - `projects.moveProject`
222
232
  - `projects.removeProjectFeature`
223
233
  - `projects.removeProjectUser`
224
234
  - `projects.setProjectDisabled`
235
+ - `projects.setProjectLimits`
225
236
  - `projects.setProjectMetadata`
226
237
  - `projects.setProjectReviewers`
227
238
  - `projects.updateProject`
228
239
  - `storageBackends.getStorageBackend`
240
+ - `storageBackends.getStorageBackendMaintainers`
241
+ - `storageBackends.getStorageBackendProjects`
242
+ - `storageBackends.getStorageBackends`
229
243
  - `users.addUserAdminFeature`
244
+ - `users.deleteUser`
245
+ - `users.disableUserMfa`
246
+ - `users.getUser`
247
+ - `users.getUserMaintainers`
248
+ - `users.getUserOrganizations`
249
+ - `users.getUserProjects`
250
+ - `users.getUsers`
251
+ - `users.grantSuperAdmin`
252
+ - `users.removeSuperAdmin`
230
253
  - `users.removeUserAdminFeature`
231
254
  - `verifyToken`
232
255
 
@@ -248,7 +271,9 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
248
271
  ## [`api.notifications`](./surface/notifications.md)
249
272
 
250
273
  - `createSubscription`
274
+ - `createSubscriptions`
251
275
  - `deleteSubscription`
276
+ - `deleteSubscriptions`
252
277
  - `getSubscription`
253
278
  - `getSubscriptions`
254
279
 
@@ -270,7 +295,12 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
270
295
 
271
296
  ## [`api.queue`](./surface/queue.md)
272
297
 
298
+ - `createJob`
273
299
  - `getJob`
300
+ - `getOrchestrationRerunPlan`
301
+ - `killJob`
302
+ - `searchAllJobs`
303
+ - `searchGroupedJobs`
274
304
  - `searchJobs`
275
305
 
276
306
  ## [`api.scheduler`](./surface/scheduler.md)
@@ -278,6 +308,7 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
278
308
  - `activateSchedule`
279
309
  - `deleteSchedule`
280
310
  - `deleteSchedulesForConfiguration`
311
+ - `deleteSchedulesForConfigurations`
281
312
  - `getSchedule`
282
313
  - `getSchedules`
283
314
  - `refreshScheduleToken`
@@ -287,6 +318,18 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
287
318
  - `configuration.createConfiguration`
288
319
  - `configuration.getConfiguration`
289
320
  - `configuration.updateConfiguration`
321
+ - `semanticLayer.createModel`
322
+ - `semanticLayer.createModelTree`
323
+ - `semanticLayer.createObject`
324
+ - `semanticLayer.createObjects`
325
+ - `semanticLayer.deleteModel`
326
+ - `semanticLayer.deleteObject`
327
+ - `semanticLayer.findObjectsByName`
328
+ - `semanticLayer.listModelChildren`
329
+ - `semanticLayer.listModels`
330
+ - `semanticLayer.listObjects`
331
+ - `semanticLayer.updateModel`
332
+ - `semanticLayer.updateObject`
290
333
  - `storage.addTableColumn`
291
334
  - `storage.createBucketListing`
292
335
  - `storage.createSnapshot`
@@ -385,10 +428,15 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
385
428
  - `componentsAndConfigurations.getConfigurationWorkspaces`
386
429
  - `componentsAndConfigurations.getConfigurations`
387
430
  - `componentsAndConfigurations.rebaseConfiguration`
431
+ - `componentsAndConfigurations.resetConfigurationToDefault`
432
+ - `componentsAndConfigurations.restoreConfiguration`
388
433
  - `componentsAndConfigurations.searchComponentConfigurations`
389
434
  - `componentsAndConfigurations.updateConfiguration`
435
+ - `configurationMetadata.saveConfigurationMetadata`
436
+ - `configurationVersions.copyConfigurationFromVersion`
390
437
  - `configurationVersions.getConfigurationVersion`
391
- - `configurationVersions.listConfigurationVersions`
438
+ - `configurationVersions.getConfigurationVersions`
439
+ - `configurationVersions.rollbackConfigurationToVersion`
392
440
  - `events.createEvent`
393
441
  - `events.getEvent`
394
442
  - `events.getEvents`
package/README.md CHANGED
@@ -14,46 +14,136 @@ npm install @keboola/api-client
14
14
 
15
15
  ## Quick Start
16
16
 
17
- ### Full client initialization (browser)
17
+ The SDK exposes two flow-specific factories — pick the one that matches how you authenticate.
18
+ **Both return `{ api, session }`** and work the same in browser and Node:
19
+
20
+ - `createLegacyKeboola()` — legacy **Storage API token** (SAPI) flow.
21
+ - `createKeboola()` — **bearer / OAuth** flow.
22
+
23
+ `session` is the lifecycle — you drive it to _ready_. `api` is the product surface, gated by state:
24
+
25
+ | Tier | Live once… | Example |
26
+ | ----------------------------------------------- | --------------------------------------- | ---------------------------------- |
27
+ | `api.auth.*` | a `baseUrl` is configured | `api.auth.login.withPassword(...)` |
28
+ | `api.management.*` | the management realm authenticates | `api.management.projects.*` |
29
+ | `api.storage` / `api.queue` / `api.context` / … | the async storage build reaches `ready` | `api.storage.getStackInfo()` |
30
+
31
+ Touching a product namespace before _ready_ throws a `KeboolaError`. `session.isStorageReady()` and
32
+ `session.subscribe(cb)` observe the transition; the `…Async` verbs below await it for you.
33
+
34
+ > Options are identical for both factories: `{ baseUrl?, middlewares?, clientServiceUrls? }`. There is
35
+ > **no built-in token persistence** — a browser app that must survive a reload re-authenticates on boot;
36
+ > a Node process keeps the credential wherever it already stores secrets.
37
+
38
+ ### Legacy (SAPI token) — Node
39
+
40
+ You already hold a Storage API token (env var, secret store). One step to _ready_:
18
41
 
19
42
  ```typescript
20
- import { createApiClient } from '@keboola/api-client';
43
+ import { createLegacyKeboola } from '@keboola/api-client';
21
44
 
22
- const api = createApiClient();
45
+ const { api, session } = createLegacyKeboola({ baseUrl: process.env.KEBOOLA_STACK_URL! });
46
+ await session.authenticateStorageAsync(process.env.KEBOOLA_STORAGE_TOKEN!);
23
47
 
24
- await api.init({
25
- baseUrl: 'https://connection.keboola.com',
26
- token: {
27
- storageApi: 'your-storage-token',
28
- managementApi: 'your-management-token', // optional
29
- },
30
- metastoreBaseUrl: 'https://metastore.keboola.com',
48
+ const stackInfo = await api.storage.getStackInfo();
49
+ const project = api.context.project; // synchronous once ready
50
+ ```
51
+
52
+ Optionally add the management realm with `session.authenticateManagement(manageToken)` → `api.management.*`.
53
+
54
+ ### Legacy (SAPI token) — Browser
55
+
56
+ Identical calls; the token is whatever the host hands the app (e.g. kbc-ui's boot payload). Use the
57
+ fire-and-forget `authenticateStorage` and observe readiness instead of awaiting:
58
+
59
+ ```typescript
60
+ import { createLegacyKeboola } from '@keboola/api-client';
61
+
62
+ const { api, session } = createLegacyKeboola({ baseUrl });
63
+ session.authenticateStorage(sapiToken);
64
+ session.subscribe((snapshot) => {
65
+ if (snapshot.storage === 'ready') {
66
+ /* render the app — api.storage.* is now live */
67
+ }
68
+ });
69
+ ```
70
+
71
+ > **React:** don't wire this by hand — `LegacyAuthProvider` + `useApiClient()` from
72
+ > [`@keboola/api-client-react`](../api-client-react) drive the singleton session to ready and hand you `api`.
73
+
74
+ ### Bearer (OAuth) — Browser
75
+
76
+ Interactive login, then scope to a project:
77
+
78
+ ```typescript
79
+ import { createKeboola } from '@keboola/api-client';
80
+
81
+ const { api, session } = createKeboola({ baseUrl });
82
+
83
+ // api.auth is live as soon as baseUrl is configured
84
+ const result = await api.auth.login.withPassword({ email, password });
85
+ if (result.mfaRequired) {
86
+ // result is an MFA challenge — verify via api.auth.mfa.* to obtain the LoginSuccess
87
+ }
88
+
89
+ session.authenticate(result); // pass the LoginSuccess → api.management is now live
90
+ await session.setProjectAsync(projectId); // projectId from your project picker → storage ready
91
+
92
+ const stackInfo = await api.storage.getStackInfo();
93
+ session.setProject(otherProjectId); // runtime re-scope — rebuilds against the new project
94
+ ```
95
+
96
+ > **React:** `AuthProvider` + `useApiClient()` own the login → authenticate → setProject sequence.
97
+
98
+ ### Bearer (OAuth) — Node
99
+
100
+ Same shape. Either run `api.auth.login.withPassword(...)` headlessly, or, if you already hold a
101
+ credential, hand a `LoginSuccess`-shaped object straight to `session.authenticate`:
102
+
103
+ ```typescript
104
+ import { createKeboola } from '@keboola/api-client';
105
+
106
+ const { api, session } = createKeboola({ baseUrl: process.env.KEBOOLA_STACK_URL! });
107
+
108
+ session.authenticate({
109
+ mfaRequired: false,
110
+ accessToken: process.env.KBC_ACCESS_TOKEN!,
111
+ refreshToken: process.env.KBC_REFRESH_TOKEN!,
112
+ tokenType: 'Bearer',
113
+ expiresIn: 3600,
114
+ sessionId: '',
115
+ user: { id: 0, email: '', name: '' },
31
116
  });
117
+ await session.setProjectAsync(Number(process.env.KBC_PROJECT_ID));
32
118
 
33
- const tables = await api.storage.tables.list();
34
- const jobs = await api.queue.searchJobs();
119
+ const stackInfo = await api.storage.getStackInfo();
35
120
  ```
36
121
 
37
- ### Single-service client (recommended when you only need one service)
122
+ > The SDK refreshes the access token in-band; persisting the rotated refresh token across process
123
+ > restarts is the caller's responsibility (there is no storage adapter).
38
124
 
39
- For a single service — including in a **browser SPA** that only talks to Storage — use the per-service factory. It needs only `baseUrl` + `token`, so you avoid the full client's required `metastoreBaseUrl`. Reach for the full client (below) only when you need multiple stack services.
125
+ ### Single-service client (when you only need one service)
126
+
127
+ For a single service — including a **browser SPA that only talks to Storage** — use the per-service
128
+ factory. It needs only `baseUrl` + `auth` and skips the stack-info round-trip. Reach for a full client
129
+ above only when you need multiple stack services.
40
130
 
41
131
  ```typescript
42
132
  import { createStorageClient } from '@keboola/api-client/storage';
43
133
 
44
134
  const storage = createStorageClient({
45
135
  baseUrl: 'https://connection.keboola.com',
46
- token: 'your-storage-token',
136
+ auth: { type: 'sapi-token', token: 'your-storage-token' },
47
137
  });
48
138
 
49
139
  const stackInfo = await storage.getStackInfo();
50
- const files = await storage.files.list();
140
+ const token = await storage.tokens.verify();
51
141
  ```
52
142
 
53
143
  ### Type imports
54
144
 
55
145
  ```typescript
56
- import type { ApiClientOptions, ApiClient } from '@keboola/api-client';
146
+ import type { KeboolaOptions, AuthStrategy } from '@keboola/api-client';
57
147
  import type { StackInfo, ServiceId } from '@keboola/api-client/storage/types';
58
148
  import type { GetQueueJobPath } from '@keboola/api-client/queue/types';
59
149
  import type { VariableWithHash } from '@keboola/api-client/vault/types';
@@ -63,9 +153,13 @@ import type { VariableWithHash } from '@keboola/api-client/vault/types';
63
153
 
64
154
  ```
65
155
  src/
66
- client.ts # createApiClient() factory — top-level entry
67
- devClient.ts # Lightweight dev/verify client
68
- constants.ts # HTTP headers, prefixes
156
+ index.ts # package entry — re-exports keboola/ factories, errors, utils
157
+ keboola/
158
+ bearer/keboola.ts # createKeboola() — bearer/OAuth flow → { api, session }
159
+ legacy/keboola.ts # createLegacyKeboola() — SAPI-token flow → { api, session }
160
+ createApi.ts # flow-agnostic, state-gating `api` proxy
161
+ createResource.ts # async storage-build resource (unresolved→pending→ready|errored)
162
+ internal.ts # HTTP headers, prefixes
69
163
  fetchClient/
70
164
  createFetchClient/ # Core fetch wrapper, middleware composition
71
165
  createGenericFetchClient.ts # Untyped HTTP client (manual generics)
@@ -113,7 +207,7 @@ src/
113
207
 
114
208
  ## Service Clients
115
209
 
116
- After calling `api.init(...)`, the following clients are available on the `api` object.
210
+ On the `api` object returned by `createKeboola()` / `createLegacyKeboola()` — once the session reaches `ready` — the following clients are available.
117
211
  Clients backed by OpenAPI specs are marked with (OpenAPI); the rest use the generic fetch client.
118
212
 
119
213
  | Accessor | Service | Key methods |
@@ -134,7 +228,7 @@ Clients backed by OpenAPI specs are marked with (OpenAPI); the rest use the gene
134
228
  | `api.telemetry` | Telemetry | `provisioning.*` |
135
229
  | `api.import` | Import | `uploadFile()` |
136
230
 
137
- Additional accessors on the initialized client:
231
+ Additional accessors on the ready client:
138
232
 
139
233
  | Accessor | Purpose |
140
234
  | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -148,8 +242,14 @@ Additional accessors on the initialized client:
148
242
  ## Entry Points
149
243
 
150
244
  ```typescript
151
- // Main entry — full ApiClient + all exports
152
- import { createApiClient, isApiError, concurrent, poll } from '@keboola/api-client';
245
+ // Main entry — SDK factories + all exports
246
+ import {
247
+ createKeboola,
248
+ createLegacyKeboola,
249
+ isApiError,
250
+ concurrent,
251
+ poll,
252
+ } from '@keboola/api-client';
153
253
 
154
254
  // Per-client imports — individual client factories
155
255
  import { createStorageClient } from '@keboola/api-client/storage';
@@ -1,4 +1,4 @@
1
- import { a as ApiError, A as ApiResponse } from './types-0yn6OefX.js';
1
+ import { a as ApiError, A as ApiResponse } from './types-DqxZDbM1.js';
2
2
 
3
3
  declare class ManagementClientAuthError extends ApiError {
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- import { a as ApiError, A as ApiResponse } from './types-0yn6OefX.cjs';
1
+ import { a as ApiError, A as ApiResponse } from './types-DqxZDbM1.cjs';
2
2
 
3
3
  declare class ManagementClientAuthError extends ApiError {
4
4
  title: string;
package/dist/ai/index.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkJJXTE2SL_cjs = require('../chunk-JJXTE2SL.cjs');
4
- require('../chunk-HNP33VR5.cjs');
5
- require('../chunk-IUN2ZSU3.cjs');
3
+ var chunk556U6PFA_cjs = require('../chunk-556U6PFA.cjs');
4
+ require('../chunk-43CGBOVT.cjs');
5
+ require('../chunk-DMNWPVVT.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "createAiClient", {
10
10
  enumerable: true,
11
- get: function () { return chunkJJXTE2SL_cjs.createAiClient; }
11
+ get: function () { return chunk556U6PFA_cjs.createAiClient; }
12
12
  });
13
13
  //# sourceMappingURL=index.cjs.map
14
14
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-CvHPHNH0.cjs';
2
- import { C as ClientInitOptions } from '../types-0yn6OefX.cjs';
3
- import '../types-jKnx7Tm_.cjs';
1
+ import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-y3pEpGrH.cjs';
2
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.cjs';
3
+ import '../types-BbM5WDSR.cjs';
4
4
  import 'qs';
5
5
 
6
6
  declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
@@ -46,6 +46,7 @@ declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions
46
46
  rootConfigurationExamples: Record<string, never>[] | null;
47
47
  rowConfigurationExamples: Record<string, never>[] | null;
48
48
  componentFlags: string[] | null;
49
+ synchronousActions?: string[] | null;
49
50
  }>;
50
51
  };
51
52
 
@@ -1,6 +1,6 @@
1
- import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-D3Kkh6yW.js';
2
- import { C as ClientInitOptions } from '../types-0yn6OefX.js';
3
- import '../types-jKnx7Tm_.js';
1
+ import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-BjNd012m.js';
2
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.js';
3
+ import '../types-BbM5WDSR.js';
4
4
  import 'qs';
5
5
 
6
6
  declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
@@ -46,6 +46,7 @@ declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions
46
46
  rootConfigurationExamples: Record<string, never>[] | null;
47
47
  rowConfigurationExamples: Record<string, never>[] | null;
48
48
  componentFlags: string[] | null;
49
+ synchronousActions?: string[] | null;
49
50
  }>;
50
51
  };
51
52
 
package/dist/ai/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { createAiClient } from '../chunk-UREIP7XG.js';
2
- import '../chunk-WJRHT346.js';
3
- import '../chunk-RK2VGHJE.js';
1
+ export { createAiClient } from '../chunk-TCGHVOIJ.js';
2
+ import '../chunk-L4R66Q6S.js';
3
+ import '../chunk-3B3GOGAL.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import '../types-jKnx7Tm_.cjs';
2
- export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-CvHPHNH0.cjs';
1
+ import '../types-BbM5WDSR.cjs';
2
+ export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-y3pEpGrH.cjs';
@@ -1,2 +1,2 @@
1
- import '../types-jKnx7Tm_.js';
2
- export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-D3Kkh6yW.js';
1
+ import '../types-BbM5WDSR.js';
2
+ export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-BjNd012m.js';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkIUN2ZSU3_cjs = require('../chunk-IUN2ZSU3.cjs');
3
+ var chunkDMNWPVVT_cjs = require('../chunk-DMNWPVVT.cjs');
4
4
 
5
5
  // src/clients/assets/assetsClient.ts
6
6
  var createAssetsClient = ({ baseUrl, middlewares }) => {
7
- const client = chunkIUN2ZSU3_cjs.createGenericFetchClient({
7
+ const client = chunkDMNWPVVT_cjs.createGenericFetchClient({
8
8
  baseUrl,
9
9
  middlewares
10
10
  });
@@ -16,8 +16,17 @@ var createAssetsClient = ({ baseUrl, middlewares }) => {
16
16
  );
17
17
  return data;
18
18
  };
19
+ const getAnnouncements = async (signal) => {
20
+ const { data } = await client.get(
21
+ "/platform-announcements/announcements.json",
22
+ {},
23
+ { signal }
24
+ );
25
+ return data;
26
+ };
19
27
  return {
20
- getPublishedChangelogPosts
28
+ getPublishedChangelogPosts,
29
+ getAnnouncements
21
30
  };
22
31
  };
23
32
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":["createGenericFetchClient"],"mappings":";;;;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAASA,0CAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF","file":"index.cjs","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n };\n};\n"]}
1
+ {"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":["createGenericFetchClient"],"mappings":";;;;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAASA,0CAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAOA,EAAA,MAAM,gBAAA,GAAmB,OAAO,MAAA,KAAyB;AACvD,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,4CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL,0BAAA;AAAA,IACA;AAAA,GACF;AACF","file":"index.cjs","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n /**\n * Static in-platform announcements feed. Returned untyped on purpose: the feed is authored by\n * hand outside this repo, so the consumer owns runtime validation and decides what a malformed\n * entry means for its surface.\n */\n const getAnnouncements = async (signal?: AbortSignal) => {\n const { data } = await client.get<unknown>(\n '/platform-announcements/announcements.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n getAnnouncements,\n };\n};\n"]}
@@ -1,9 +1,10 @@
1
- import { C as ClientInitOptions } from '../types-0yn6OefX.cjs';
1
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.cjs';
2
2
  import { Post } from './types.cjs';
3
3
  import 'qs';
4
4
 
5
5
  declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, "auth">) => {
6
6
  getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<Post[]>;
7
+ getAnnouncements: (signal?: AbortSignal) => Promise<unknown>;
7
8
  };
8
9
 
9
10
  export { createAssetsClient };
@@ -1,9 +1,10 @@
1
- import { C as ClientInitOptions } from '../types-0yn6OefX.js';
1
+ import { C as ClientInitOptions } from '../types-DqxZDbM1.js';
2
2
  import { Post } from './types.js';
3
3
  import 'qs';
4
4
 
5
5
  declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, "auth">) => {
6
6
  getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<Post[]>;
7
+ getAnnouncements: (signal?: AbortSignal) => Promise<unknown>;
7
8
  };
8
9
 
9
10
  export { createAssetsClient };
@@ -1,4 +1,4 @@
1
- import { createGenericFetchClient } from '../chunk-RK2VGHJE.js';
1
+ import { createGenericFetchClient } from '../chunk-3B3GOGAL.js';
2
2
 
3
3
  // src/clients/assets/assetsClient.ts
4
4
  var createAssetsClient = ({ baseUrl, middlewares }) => {
@@ -14,8 +14,17 @@ var createAssetsClient = ({ baseUrl, middlewares }) => {
14
14
  );
15
15
  return data;
16
16
  };
17
+ const getAnnouncements = async (signal) => {
18
+ const { data } = await client.get(
19
+ "/platform-announcements/announcements.json",
20
+ {},
21
+ { signal }
22
+ );
23
+ return data;
24
+ };
17
25
  return {
18
- getPublishedChangelogPosts
26
+ getPublishedChangelogPosts,
27
+ getAnnouncements
19
28
  };
20
29
  };
21
30
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":[],"mappings":";;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAAS,wBAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF","file":"index.js","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n };\n};\n"]}
1
+ {"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":[],"mappings":";;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAAS,wBAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAOA,EAAA,MAAM,gBAAA,GAAmB,OAAO,MAAA,KAAyB;AACvD,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,4CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL,0BAAA;AAAA,IACA;AAAA,GACF;AACF","file":"index.js","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n /**\n * Static in-platform announcements feed. Returned untyped on purpose: the feed is authored by\n * hand outside this repo, so the consumer owns runtime validation and decides what a malformed\n * entry means for its surface.\n */\n const getAnnouncements = async (signal?: AbortSignal) => {\n const { data } = await client.get<unknown>(\n '/platform-announcements/announcements.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n getAnnouncements,\n };\n};\n"]}
@@ -1,41 +1,53 @@
1
1
  'use strict';
2
2
 
3
- var chunkN3GNUFMA_cjs = require('../chunk-N3GNUFMA.cjs');
4
- require('../chunk-IUN2ZSU3.cjs');
3
+ var chunkYEF46DYF_cjs = require('../chunk-YEF46DYF.cjs');
4
+ require('../chunk-DMNWPVVT.cjs');
5
5
 
6
6
 
7
7
 
8
+ Object.defineProperty(exports, "changeInputSchema", {
9
+ enumerable: true,
10
+ get: function () { return chunkYEF46DYF_cjs.changeInputSchema; }
11
+ });
8
12
  Object.defineProperty(exports, "createAuthClient", {
9
13
  enumerable: true,
10
- get: function () { return chunkN3GNUFMA_cjs.createAuthClient; }
14
+ get: function () { return chunkYEF46DYF_cjs.createAuthClient; }
11
15
  });
12
16
  Object.defineProperty(exports, "loginInputSchema", {
13
17
  enumerable: true,
14
- get: function () { return chunkN3GNUFMA_cjs.loginInputSchema; }
18
+ get: function () { return chunkYEF46DYF_cjs.loginInputSchema; }
15
19
  });
16
20
  Object.defineProperty(exports, "loginResultSchema", {
17
21
  enumerable: true,
18
- get: function () { return chunkN3GNUFMA_cjs.loginResultSchema; }
22
+ get: function () { return chunkYEF46DYF_cjs.loginResultSchema; }
19
23
  });
20
24
  Object.defineProperty(exports, "loginSuccessSchema", {
21
25
  enumerable: true,
22
- get: function () { return chunkN3GNUFMA_cjs.loginSuccessSchema; }
26
+ get: function () { return chunkYEF46DYF_cjs.loginSuccessSchema; }
23
27
  });
24
28
  Object.defineProperty(exports, "mfaChallengeSchema", {
25
29
  enumerable: true,
26
- get: function () { return chunkN3GNUFMA_cjs.mfaChallengeSchema; }
30
+ get: function () { return chunkYEF46DYF_cjs.mfaChallengeSchema; }
27
31
  });
28
32
  Object.defineProperty(exports, "mfaCodeInputSchema", {
29
33
  enumerable: true,
30
- get: function () { return chunkN3GNUFMA_cjs.mfaCodeInputSchema; }
34
+ get: function () { return chunkYEF46DYF_cjs.mfaCodeInputSchema; }
31
35
  });
32
36
  Object.defineProperty(exports, "mfaWebauthnInputSchema", {
33
37
  enumerable: true,
34
- get: function () { return chunkN3GNUFMA_cjs.mfaWebauthnInputSchema; }
38
+ get: function () { return chunkYEF46DYF_cjs.mfaWebauthnInputSchema; }
35
39
  });
36
40
  Object.defineProperty(exports, "oidcInputSchema", {
37
41
  enumerable: true,
38
- get: function () { return chunkN3GNUFMA_cjs.oidcInputSchema; }
42
+ get: function () { return chunkYEF46DYF_cjs.oidcInputSchema; }
43
+ });
44
+ Object.defineProperty(exports, "resetInputSchema", {
45
+ enumerable: true,
46
+ get: function () { return chunkYEF46DYF_cjs.resetInputSchema; }
47
+ });
48
+ Object.defineProperty(exports, "resetRequestInputSchema", {
49
+ enumerable: true,
50
+ get: function () { return chunkYEF46DYF_cjs.resetRequestInputSchema; }
39
51
  });
40
52
  //# sourceMappingURL=index.cjs.map
41
53
  //# sourceMappingURL=index.cjs.map