@keboola/api-client 51.0.0 → 52.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 (422) hide show
  1. package/AGENTS.md +46 -8
  2. package/API-SURFACE.md +1 -10
  3. package/CHANGELOG.md +27 -0
  4. package/README.md +2 -2
  5. package/dist/{ManagementSessionMintError-DNMbYauw.js → ManagementSessionMintError-BMHDcEqV.js} +2 -2
  6. package/dist/{ManagementSessionMintError-DNMbYauw.js.map → ManagementSessionMintError-BMHDcEqV.js.map} +1 -1
  7. package/dist/{ManagementSessionMintError-ByOulHQH.cjs → ManagementSessionMintError-Bc9bc7Ai.cjs} +2 -2
  8. package/dist/{ManagementSessionMintError-ByOulHQH.cjs.map → ManagementSessionMintError-Bc9bc7Ai.cjs.map} +1 -1
  9. package/dist/RowLevelSecurityError-CObFqj3E.js +33 -0
  10. package/dist/RowLevelSecurityError-CObFqj3E.js.map +1 -0
  11. package/dist/RowLevelSecurityError-RK_NhhAx.cjs +56 -0
  12. package/dist/RowLevelSecurityError-RK_NhhAx.cjs.map +1 -0
  13. package/dist/{adminRoles-FFyl7Dyx.d.cts → adminRoles-BTKVwEy8.d.cts} +2 -2
  14. package/dist/{adminRoles-DAwl657q.d.ts → adminRoles-Cm513r1G.d.ts} +2 -2
  15. package/dist/ai/index.cjs +2 -2
  16. package/dist/ai/index.d.cts +2 -2
  17. package/dist/ai/index.d.ts +2 -2
  18. package/dist/ai/index.js +2 -2
  19. package/dist/ai/types.d.cts +1 -1
  20. package/dist/ai/types.d.ts +1 -1
  21. package/dist/apps/index.cjs +3 -234
  22. package/dist/apps/index.d.cts +3 -221
  23. package/dist/apps/index.d.ts +3 -221
  24. package/dist/apps/index.js +1 -234
  25. package/dist/apps/types.d.cts +1 -2
  26. package/dist/apps/types.d.ts +1 -2
  27. package/dist/apps-BN7fWtSm.js +361 -0
  28. package/dist/apps-BN7fWtSm.js.map +1 -0
  29. package/dist/apps-C1x5IKNQ.cjs +376 -0
  30. package/dist/apps-C1x5IKNQ.cjs.map +1 -0
  31. package/dist/assets/index.cjs +1 -1
  32. package/dist/assets/index.d.cts +1 -1
  33. package/dist/assets/index.d.ts +1 -1
  34. package/dist/assets/index.js +1 -1
  35. package/dist/auth/index.cjs +1 -1
  36. package/dist/auth/index.d.cts +1 -1
  37. package/dist/auth/index.d.ts +1 -1
  38. package/dist/auth/index.js +1 -1
  39. package/dist/auth/types.d.cts +1 -1
  40. package/dist/auth/types.d.ts +1 -1
  41. package/dist/{auth-CvB4MukT.cjs → auth-AehUDNRK.cjs} +2 -2
  42. package/dist/{auth-CvB4MukT.cjs.map → auth-AehUDNRK.cjs.map} +1 -1
  43. package/dist/{auth-DYfQMQCs.js → auth-ZBQWCJPM.js} +2 -2
  44. package/dist/{auth-DYfQMQCs.js.map → auth-ZBQWCJPM.js.map} +1 -1
  45. package/dist/{authClient-oB5ydxWp.js → authClient-BM4L8XEN.js} +5 -5
  46. package/dist/{authClient-oB5ydxWp.js.map → authClient-BM4L8XEN.js.map} +1 -1
  47. package/dist/{authClient-DcKBpMcU.cjs → authClient-DspK50e7.cjs} +5 -5
  48. package/dist/{authClient-DcKBpMcU.cjs.map → authClient-DspK50e7.cjs.map} +1 -1
  49. package/dist/{authClient-Df3U4q_6.d.cts → authClient-NBi0pqD5.d.cts} +4 -4
  50. package/dist/{authClient-JtMVJWXY.d.ts → authClient-ij_Rm2Yn.d.ts} +4 -4
  51. package/dist/billing/index.cjs +2 -2
  52. package/dist/billing/index.d.cts +1 -1
  53. package/dist/billing/index.d.ts +1 -1
  54. package/dist/billing/index.js +2 -2
  55. package/dist/billing/types.d.cts +1 -1
  56. package/dist/billing/types.d.ts +1 -1
  57. package/dist/chat/index.cjs +3 -3
  58. package/dist/chat/index.d.cts +2 -2
  59. package/dist/chat/index.d.ts +2 -2
  60. package/dist/chat/index.js +3 -3
  61. package/dist/chat/types.d.cts +1 -1
  62. package/dist/chat/types.d.ts +1 -1
  63. package/dist/{componentId-b_qBbJEM.js → componentId-DZP1rBix.js} +54 -2
  64. package/dist/componentId-DZP1rBix.js.map +1 -0
  65. package/dist/{componentId-C8ZTXXDo.cjs → componentId-olp0tltf.cjs} +54 -2
  66. package/dist/componentId-olp0tltf.cjs.map +1 -0
  67. package/dist/componentsMcp/index.cjs +1 -1
  68. package/dist/componentsMcp/index.d.cts +1 -1
  69. package/dist/componentsMcp/index.d.ts +1 -1
  70. package/dist/componentsMcp/index.js +1 -1
  71. package/dist/componentsMcp/types.d.cts +1 -1
  72. package/dist/componentsMcp/types.d.ts +1 -1
  73. package/dist/{componentsMcp-BrB4js6b.js → componentsMcp-CAmrCpzV.js} +3 -3
  74. package/dist/{componentsMcp-BrB4js6b.js.map → componentsMcp-CAmrCpzV.js.map} +1 -1
  75. package/dist/{componentsMcp-BaHy5iLr.cjs → componentsMcp-DXu-0Qt-.cjs} +3 -3
  76. package/dist/{componentsMcp-BaHy5iLr.cjs.map → componentsMcp-DXu-0Qt-.cjs.map} +1 -1
  77. package/dist/constants/index.cjs +2 -2
  78. package/dist/constants/index.d.cts +3 -3
  79. package/dist/constants/index.d.ts +3 -3
  80. package/dist/constants/index.js +2 -2
  81. package/dist/{constants-BMSHGwOR.js → constants-Dqi0ewGv.js} +3 -2
  82. package/dist/constants-Dqi0ewGv.js.map +1 -0
  83. package/dist/{constants-DhFQWQgy.cjs → constants-d0Do9NSN.cjs} +3 -2
  84. package/dist/constants-d0Do9NSN.cjs.map +1 -0
  85. package/dist/{createFetchClient-DEkUH662.cjs → createFetchClient-CDKSkd7i.cjs} +19 -1
  86. package/dist/{createFetchClient-DlGCbltR.js.map → createFetchClient-CDKSkd7i.cjs.map} +1 -1
  87. package/dist/{createFetchClient-DlGCbltR.js → createFetchClient-Dc_ZMuq7.js} +8 -2
  88. package/dist/createFetchClient-Dc_ZMuq7.js.map +1 -0
  89. package/dist/{createGenericFetchClient-wGxemBwR.js → createGenericFetchClient-Ba4E4T-Y.js} +2 -2
  90. package/dist/{createGenericFetchClient-wGxemBwR.js.map → createGenericFetchClient-Ba4E4T-Y.js.map} +1 -1
  91. package/dist/{createGenericFetchClient-2oU-PXVo.cjs → createGenericFetchClient-BuYzzV_D.cjs} +2 -2
  92. package/dist/{createGenericFetchClient-2oU-PXVo.cjs.map → createGenericFetchClient-BuYzzV_D.cjs.map} +1 -1
  93. package/dist/{createOpenapiFetchClient-Bhz62MUE.js → createOpenapiFetchClient-DSk29o_s.js} +2 -2
  94. package/dist/{createOpenapiFetchClient-Bhz62MUE.js.map → createOpenapiFetchClient-DSk29o_s.js.map} +1 -1
  95. package/dist/{createOpenapiFetchClient-DL9w7vU-.cjs → createOpenapiFetchClient-dkssExkU.cjs} +2 -2
  96. package/dist/{createOpenapiFetchClient-DL9w7vU-.cjs.map → createOpenapiFetchClient-dkssExkU.cjs.map} +1 -1
  97. package/dist/dataScience/index.cjs +60 -4
  98. package/dist/dataScience/index.cjs.map +1 -0
  99. package/dist/dataScience/index.d.cts +105 -3
  100. package/dist/dataScience/index.d.ts +105 -3
  101. package/dist/dataScience/index.js +60 -3
  102. package/dist/dataScience/index.js.map +1 -0
  103. package/dist/dataScience/types.d.cts +2 -3
  104. package/dist/dataScience/types.d.ts +2 -3
  105. package/dist/developerPortal/index.cjs +1 -1
  106. package/dist/developerPortal/index.d.cts +2 -2
  107. package/dist/developerPortal/index.d.ts +2 -2
  108. package/dist/developerPortal/index.js +1 -1
  109. package/dist/developerPortal/types.d.cts +1 -1
  110. package/dist/developerPortal/types.d.ts +1 -1
  111. package/dist/{developerPortalClient-BfRxYrWj.cjs → developerPortalClient-BcK9F-Fs.cjs} +3 -3
  112. package/dist/{developerPortalClient-BfRxYrWj.cjs.map → developerPortalClient-BcK9F-Fs.cjs.map} +1 -1
  113. package/dist/{developerPortalClient-D9XOYwWF.js → developerPortalClient-CzCJ5sE3.js} +3 -3
  114. package/dist/{developerPortalClient-D9XOYwWF.js.map → developerPortalClient-CzCJ5sE3.js.map} +1 -1
  115. package/dist/domain/permissions/index.d.cts +1 -1
  116. package/dist/domain/permissions/index.d.ts +1 -1
  117. package/dist/editor/index.cjs +2 -2
  118. package/dist/editor/index.d.cts +2 -2
  119. package/dist/editor/index.d.ts +2 -2
  120. package/dist/editor/index.js +2 -2
  121. package/dist/editor/types.d.cts +1 -1
  122. package/dist/editor/types.d.ts +1 -1
  123. package/dist/encryption/index.cjs +1 -1
  124. package/dist/encryption/index.d.cts +1 -1
  125. package/dist/encryption/index.d.ts +1 -1
  126. package/dist/encryption/index.js +1 -1
  127. package/dist/encryption/types.d.cts +1 -1
  128. package/dist/encryption/types.d.ts +1 -1
  129. package/dist/import/index.cjs +1 -1
  130. package/dist/import/index.d.cts +3 -3
  131. package/dist/import/index.d.ts +3 -3
  132. package/dist/import/index.js +1 -1
  133. package/dist/{import-CABlFMQX.cjs → import-DHq6q3Fm.cjs} +3 -3
  134. package/dist/{import-CABlFMQX.cjs.map → import-DHq6q3Fm.cjs.map} +1 -1
  135. package/dist/{import-CT1Ce5Rp.js → import-DxN6CJzJ.js} +3 -3
  136. package/dist/{import-CT1Ce5Rp.js.map → import-DxN6CJzJ.js.map} +1 -1
  137. package/dist/{index-Db266tLz.d.cts → index-81wn1jc3.d.cts} +4 -4
  138. package/dist/{index-xX8-Stoq.d.cts → index-8QhOqFLY.d.cts} +4 -4
  139. package/dist/{index-DjSthn8d.d.ts → index-B5rELADq.d.cts} +55 -2
  140. package/dist/{index-qJ2IjXIM.d.cts → index-B7el5pJU.d.cts} +71 -151
  141. package/dist/index-B8K-Bbdq.d.cts +220 -0
  142. package/dist/{index-DQagqTVa.d.cts → index-BGE3eZfd.d.cts} +3 -3
  143. package/dist/{index-DVBQgFg0.d.ts → index-BVe4S2CK.d.ts} +4 -4
  144. package/dist/{index-CbSh3KFw.d.cts → index-BXgjPlZN.d.cts} +4 -4
  145. package/dist/{index-BsT_cBJd.d.ts → index-C7JcNvbd.d.ts} +71 -151
  146. package/dist/{index-lTrNMlj6.d.ts → index-CEDjFidH.d.ts} +3 -3
  147. package/dist/{index-DgGpQsAT.d.cts → index-CNJBmCHM.d.cts} +4 -4
  148. package/dist/index-CQNwp6wX.d.ts +220 -0
  149. package/dist/{index-CuI8OI9E.d.ts → index-CZvBjQvl.d.ts} +4 -4
  150. package/dist/{index-Day1Yr5s.d.ts → index-CdeWTy8t.d.ts} +4 -4
  151. package/dist/{index-BfAcp7O2.d.ts → index-CveF5RFQ.d.ts} +3 -3
  152. package/dist/{index-m9-mN8Gg.d.ts → index-DLWMm1-T.d.ts} +4 -4
  153. package/dist/{index-BDPxm9qu.d.ts → index-DTGOEke4.d.ts} +3 -3
  154. package/dist/{index-C1ndNdrN.d.cts → index-Df8lZNSH.d.cts} +3 -3
  155. package/dist/{index-AA3MRfRn.d.cts → index-Dhyrg5zd.d.ts} +55 -2
  156. package/dist/{index-D1mduJne.d.cts → index-FrsEkDvX.d.cts} +7 -2
  157. package/dist/{index-D1mduJne.d.ts → index-FrsEkDvX.d.ts} +7 -2
  158. package/dist/{index-DIPMzH--.d.ts → index-JoKfPQND.d.ts} +4 -4
  159. package/dist/{index-xhzuWloV.d.cts → index-d9zxFmNI.d.cts} +4 -4
  160. package/dist/{index-z-2okomN.d.cts → index-iFCann29.d.cts} +3 -3
  161. package/dist/index.cjs +45 -38
  162. package/dist/index.cjs.map +1 -1
  163. package/dist/index.d.cts +7 -7
  164. package/dist/index.d.ts +7 -7
  165. package/dist/index.js +38 -33
  166. package/dist/index.js.map +1 -1
  167. package/dist/{isLoginPageRedirect-CoUxJi2x.cjs → isLoginPageRedirect-DUmsOC2o.cjs} +2 -2
  168. package/dist/{isLoginPageRedirect-CoUxJi2x.cjs.map → isLoginPageRedirect-DUmsOC2o.cjs.map} +1 -1
  169. package/dist/{isLoginPageRedirect-D-lqF_kZ.js → isLoginPageRedirect-lbeVmeB2.js} +2 -2
  170. package/dist/{isLoginPageRedirect-D-lqF_kZ.js.map → isLoginPageRedirect-lbeVmeB2.js.map} +1 -1
  171. package/dist/kaiAgent/index.cjs +1 -1
  172. package/dist/kaiAgent/index.d.cts +2 -2
  173. package/dist/kaiAgent/index.d.ts +2 -2
  174. package/dist/kaiAgent/index.js +1 -1
  175. package/dist/kaiAgent/types.d.cts +1 -1
  176. package/dist/kaiAgent/types.d.ts +1 -1
  177. package/dist/{kaiAgent-CYU1Uda8.js → kaiAgent-D0MoKqXe.js} +5 -5
  178. package/dist/{kaiAgent-CYU1Uda8.js.map → kaiAgent-D0MoKqXe.js.map} +1 -1
  179. package/dist/{kaiAgent-CDhg0MAw.cjs → kaiAgent-De2T6G4G.cjs} +5 -5
  180. package/dist/{kaiAgent-CDhg0MAw.cjs.map → kaiAgent-De2T6G4G.cjs.map} +1 -1
  181. package/dist/{kaiMemory-oir_qCo_.js → kaiMemory-B1wIwH8Y.js} +2 -2
  182. package/dist/{kaiMemory-oir_qCo_.js.map → kaiMemory-B1wIwH8Y.js.map} +1 -1
  183. package/dist/{kaiMemory-CkLQfJXD.cjs → kaiMemory-DZ6hXni_.cjs} +2 -2
  184. package/dist/{kaiMemory-CkLQfJXD.cjs.map → kaiMemory-DZ6hXni_.cjs.map} +1 -1
  185. package/dist/management/index.cjs +1 -1
  186. package/dist/management/index.d.cts +1 -1
  187. package/dist/management/index.d.ts +1 -1
  188. package/dist/management/index.js +1 -1
  189. package/dist/management/types.d.cts +2 -2
  190. package/dist/management/types.d.ts +2 -2
  191. package/dist/{management-BEGOEQxM.cjs → management-CUXgB2rb.cjs} +6 -6
  192. package/dist/{management-BEGOEQxM.cjs.map → management-CUXgB2rb.cjs.map} +1 -1
  193. package/dist/{management-BcGHyxAP.js → management-Cz5ut18k.js} +6 -6
  194. package/dist/{management-BcGHyxAP.js.map → management-Cz5ut18k.js.map} +1 -1
  195. package/dist/metastore/index.cjs +1 -1
  196. package/dist/metastore/index.d.cts +1 -1
  197. package/dist/metastore/index.d.ts +1 -1
  198. package/dist/metastore/index.js +1 -1
  199. package/dist/metastore/types.d.cts +1 -1
  200. package/dist/metastore/types.d.ts +1 -1
  201. package/dist/{metastore-DeRQ2VIv.cjs → metastore-CV4DUDxP.cjs} +4 -4
  202. package/dist/{metastore-DeRQ2VIv.cjs.map → metastore-CV4DUDxP.cjs.map} +1 -1
  203. package/dist/{metastore-CGsgxjng.js → metastore-CkqFnEfu.js} +4 -4
  204. package/dist/{metastore-CGsgxjng.js.map → metastore-CkqFnEfu.js.map} +1 -1
  205. package/dist/microsoftGraph/index.cjs +2 -2
  206. package/dist/microsoftGraph/index.d.cts +2 -2
  207. package/dist/microsoftGraph/index.d.ts +2 -2
  208. package/dist/microsoftGraph/index.js +2 -2
  209. package/dist/microsoftGraph/types.d.cts +1 -1
  210. package/dist/microsoftGraph/types.d.ts +1 -1
  211. package/dist/{middleware-8zaJWcyU.js → middleware-DxGv7DG8.js} +2 -2
  212. package/dist/{middleware-8zaJWcyU.js.map → middleware-DxGv7DG8.js.map} +1 -1
  213. package/dist/{middleware-B9RNuLfD.cjs → middleware-vIaPDtQI.cjs} +2 -2
  214. package/dist/{middleware-B9RNuLfD.cjs.map → middleware-vIaPDtQI.cjs.map} +1 -1
  215. package/dist/notifications/index.cjs +3 -3
  216. package/dist/notifications/index.d.cts +2 -2
  217. package/dist/notifications/index.d.ts +2 -2
  218. package/dist/notifications/index.js +3 -3
  219. package/dist/notifications/types.d.cts +1 -1
  220. package/dist/notifications/types.d.ts +1 -1
  221. package/dist/oauth/index.cjs +1 -1
  222. package/dist/oauth/index.d.cts +2 -2
  223. package/dist/oauth/index.d.ts +2 -2
  224. package/dist/oauth/index.js +1 -1
  225. package/dist/oauth/types.d.cts +1 -1
  226. package/dist/oauth/types.d.ts +1 -1
  227. package/dist/{oauth-B5Biqz21.cjs → oauth-CSBChWuf.cjs} +5 -5
  228. package/dist/{oauth-B5Biqz21.cjs.map → oauth-CSBChWuf.cjs.map} +1 -1
  229. package/dist/{oauth-ByCdISsV.js → oauth-DOveZKUv.js} +5 -5
  230. package/dist/{oauth-ByCdISsV.js.map → oauth-DOveZKUv.js.map} +1 -1
  231. package/dist/omnisearch/index.cjs +2 -2
  232. package/dist/omnisearch/index.d.cts +2 -2
  233. package/dist/omnisearch/index.d.ts +2 -2
  234. package/dist/omnisearch/index.js +2 -2
  235. package/dist/omnisearch/types.d.cts +1 -1
  236. package/dist/omnisearch/types.d.ts +1 -1
  237. package/dist/{project-UHZGFmmG.d.cts → project-BGk9CtOq.d.cts} +3 -3
  238. package/dist/{project-iBm4cIIR.d.ts → project-DS0HOV3M.d.ts} +3 -3
  239. package/dist/queryService/index.cjs +1 -1
  240. package/dist/queryService/index.d.cts +2 -2
  241. package/dist/queryService/index.d.ts +2 -2
  242. package/dist/queryService/index.js +1 -1
  243. package/dist/queryService/types.d.cts +1 -1
  244. package/dist/queryService/types.d.ts +1 -1
  245. package/dist/queryService-C3BQ6GKW.cjs +214 -0
  246. package/dist/queryService-C3BQ6GKW.cjs.map +1 -0
  247. package/dist/queryService-DQHtHy2-.js +209 -0
  248. package/dist/queryService-DQHtHy2-.js.map +1 -0
  249. package/dist/queue/index.cjs +1 -1
  250. package/dist/queue/index.d.cts +3 -3
  251. package/dist/queue/index.d.ts +3 -3
  252. package/dist/queue/index.js +1 -1
  253. package/dist/queue/types.d.cts +1 -1
  254. package/dist/queue/types.d.ts +1 -1
  255. package/dist/{queue-BiIs9fX4.js → queue-6cywDnA-.js} +5 -5
  256. package/dist/{queue-BiIs9fX4.js.map → queue-6cywDnA-.js.map} +1 -1
  257. package/dist/{queue-CBi9Q8vp.cjs → queue-J2uXzXR9.cjs} +5 -5
  258. package/dist/{queue-CBi9Q8vp.cjs.map → queue-J2uXzXR9.cjs.map} +1 -1
  259. package/dist/scheduler/index.cjs +3 -3
  260. package/dist/scheduler/index.d.cts +2 -2
  261. package/dist/scheduler/index.d.ts +2 -2
  262. package/dist/scheduler/index.js +3 -3
  263. package/dist/scheduler/types.d.cts +1 -1
  264. package/dist/scheduler/types.d.ts +1 -1
  265. package/dist/sdk/configurations/index.cjs +3 -3
  266. package/dist/sdk/configurations/index.cjs.map +1 -1
  267. package/dist/sdk/configurations/index.d.cts +4 -4
  268. package/dist/sdk/configurations/index.d.ts +4 -4
  269. package/dist/sdk/configurations/index.js +3 -3
  270. package/dist/sdk/configurations/index.js.map +1 -1
  271. package/dist/sdk/developerPortal/index.cjs +3 -3
  272. package/dist/sdk/developerPortal/index.d.cts +3 -3
  273. package/dist/sdk/developerPortal/index.d.ts +3 -3
  274. package/dist/sdk/developerPortal/index.js +3 -3
  275. package/dist/sdk/kaiMemory/index.cjs +1 -1
  276. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  277. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  278. package/dist/sdk/kaiMemory/index.js +1 -1
  279. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  280. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  281. package/dist/sdk/queryService/index.d.cts +1 -1
  282. package/dist/sdk/queryService/index.d.ts +1 -1
  283. package/dist/sdk/semanticLayer/index.d.cts +1 -1
  284. package/dist/sdk/semanticLayer/index.d.ts +1 -1
  285. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  286. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  287. package/dist/sdk/tag/index.d.cts +2 -2
  288. package/dist/sdk/tag/index.d.ts +2 -2
  289. package/dist/sdk/tag/types.d.cts +1 -1
  290. package/dist/sdk/tag/types.d.ts +1 -1
  291. package/dist/sdk/vault/index.d.cts +1 -1
  292. package/dist/sdk/vault/index.d.ts +1 -1
  293. package/dist/status/index.cjs +1 -1
  294. package/dist/status/index.d.cts +1 -1
  295. package/dist/status/index.d.ts +1 -1
  296. package/dist/status/index.js +1 -1
  297. package/dist/storage/index.cjs +9 -7
  298. package/dist/storage/index.d.cts +4 -4
  299. package/dist/storage/index.d.ts +4 -4
  300. package/dist/storage/index.js +6 -6
  301. package/dist/storage/types.d.cts +5 -5
  302. package/dist/storage/types.d.ts +5 -5
  303. package/dist/{storage-BpOLWT6h.js → storage--2FvvLAw.js} +7 -7
  304. package/dist/{storage-BpOLWT6h.js.map → storage--2FvvLAw.js.map} +1 -1
  305. package/dist/{storage-KJ5Ki_ma.cjs → storage-BMrYlyLB.cjs} +7 -7
  306. package/dist/{storage-KJ5Ki_ma.cjs.map → storage-BMrYlyLB.cjs.map} +1 -1
  307. package/dist/stream/index.cjs +3 -3
  308. package/dist/stream/index.d.cts +2 -2
  309. package/dist/stream/index.d.ts +2 -2
  310. package/dist/stream/index.js +3 -3
  311. package/dist/stream/types.d.cts +1 -1
  312. package/dist/stream/types.d.ts +1 -1
  313. package/dist/syncActions/index.cjs +1 -1
  314. package/dist/syncActions/index.d.cts +2 -2
  315. package/dist/syncActions/index.d.ts +2 -2
  316. package/dist/syncActions/index.js +1 -1
  317. package/dist/syncActions/types.d.cts +1 -1
  318. package/dist/syncActions/types.d.ts +1 -1
  319. package/dist/{syncActions-BcX3jm2E.cjs → syncActions-DToUhyP3.cjs} +6 -6
  320. package/dist/{syncActions-BcX3jm2E.cjs.map → syncActions-DToUhyP3.cjs.map} +1 -1
  321. package/dist/{syncActions-giPLTfje.js → syncActions-DV_aObTQ.js} +6 -6
  322. package/dist/{syncActions-giPLTfje.js.map → syncActions-DV_aObTQ.js.map} +1 -1
  323. package/dist/telemetry/index.cjs +3 -3
  324. package/dist/telemetry/index.d.cts +2 -2
  325. package/dist/telemetry/index.d.ts +2 -2
  326. package/dist/telemetry/index.js +3 -3
  327. package/dist/telemetry/types.d.cts +1 -1
  328. package/dist/telemetry/types.d.ts +1 -1
  329. package/dist/{transientRetries-BKqmb85B.js → transientRetries-BORv47mH.js} +2 -2
  330. package/dist/{transientRetries-BKqmb85B.js.map → transientRetries-BORv47mH.js.map} +1 -1
  331. package/dist/{transientRetries-CM7rAEXQ.cjs → transientRetries-CBorl4Ue.cjs} +2 -2
  332. package/dist/{transientRetries-CM7rAEXQ.cjs.map → transientRetries-CBorl4Ue.cjs.map} +1 -1
  333. package/dist/{types-BWMOK6eL.d.cts → types-B4Vwz45w.d.cts} +2 -2
  334. package/dist/{types-Dryq2GGE.d.cts → types-B4ezB18r.d.cts} +2 -2
  335. package/dist/{types-Bdl7EFMc.d.ts → types-B6JcEPEu.d.ts} +2 -2
  336. package/dist/{types-eFi8xJIM.d.cts → types-B6f6LpZ_.d.cts} +2 -2
  337. package/dist/{types-C9okze_R.d.ts → types-BD0B1KQ6.d.ts} +3 -26
  338. package/dist/{types-DeyXJzWz.d.cts → types-BEw98Dd2.d.cts} +2 -2
  339. package/dist/{types-1IBnjBVJ.d.cts → types-BVJmcoqA.d.cts} +2 -2
  340. package/dist/{types-B1qe1etN.d.cts → types-BljDxuWG.d.cts} +3 -3
  341. package/dist/{types-BiDdBXSm.d.ts → types-Bp8G9yta.d.ts} +2 -2
  342. package/dist/{types-PZzNANiS.d.cts → types-Bv2Ds1hL.d.cts} +2 -2
  343. package/dist/{types-D-tJt0hQ.d.cts → types-BynQKst1.d.cts} +2 -2
  344. package/dist/{types-BuclMPeY.d.cts → types-C5B3Pfob.d.cts} +2 -2
  345. package/dist/{types-DNgazFnF.d.cts → types-CIlBSV99.d.cts} +2 -2
  346. package/dist/{types-DschSZHf.d.cts → types-CKdNf_2k.d.cts} +3 -3
  347. package/dist/{types-B0e-no6u.d.ts → types-CLtYOszN.d.cts} +20 -3
  348. package/dist/{types-Du5o-tud.d.ts → types-CQYyULrw.d.ts} +2 -2
  349. package/dist/{types-BrEVh0WE.d.cts → types-CRC4lbPw.d.cts} +8 -4
  350. package/dist/{types-CxEJ77m3.d.cts → types-CSE8bHiq.d.cts} +3 -3
  351. package/dist/{types-DRCttnIN.d.ts → types-CTYTMXXj.d.ts} +2 -2
  352. package/dist/{types-6T04_qUf.d.ts → types-CepTvkfm.d.ts} +2 -2
  353. package/dist/{types-DHMxPJZq.d.cts → types-Cf0WE6qK.d.cts} +2 -2
  354. package/dist/{types-DwbTiyhZ.d.cts → types-ChOJ-Az7.d.cts} +2 -2
  355. package/dist/{types-wYrC2boT.d.ts → types-Cr6WA6CN.d.ts} +2 -2
  356. package/dist/{types-D6lre27s.d.ts → types-CsVRsObb.d.ts} +2 -2
  357. package/dist/{types-CcGp6O3B.d.cts → types-D-ufoskb.d.cts} +2 -2
  358. package/dist/{types-LconaX98.d.cts → types-D2hhEGem.d.cts} +2 -2
  359. package/dist/{types-inG9y3dP.d.ts → types-D5bxXqEU.d.ts} +2 -2
  360. package/dist/{types-BE8abIig.d.cts → types-DKKHKj19.d.cts} +2 -2
  361. package/dist/{types-E8tzafsk.d.cts → types-DNwIMEuB.d.cts} +3 -26
  362. package/dist/{types-DtOfhDzz.d.ts → types-DSWIIMdv.d.ts} +3 -3
  363. package/dist/{types-Bat0SIZA.d.cts → types-DU8aPTFW.d.cts} +2 -2
  364. package/dist/{types-B8k1DqlU.d.ts → types-DX1Dz0xK.d.ts} +2 -2
  365. package/dist/{types-ZZwdKCBl.d.ts → types-DbthI3r-.d.ts} +2 -2
  366. package/dist/{types-B3ri-iiC.d.ts → types-DjSjUKUl.d.ts} +2 -2
  367. package/dist/{types-YpOm4yXE.d.cts → types-DjWubjvP.d.cts} +2 -2
  368. package/dist/{types-CRubbBcU.d.cts → types-Do3__S4Q.d.cts} +2 -2
  369. package/dist/{types-DKSUG2dZ.d.ts → types-DoSZQ1Bi.d.ts} +8 -4
  370. package/dist/{types-CWcdaq-K.d.ts → types-Dsf7CYmm.d.ts} +2 -2
  371. package/dist/{types-CPWjRdnj.d.cts → types-Ey59ZILC.d.ts} +20 -3
  372. package/dist/{types--Rp5wvaz.d.ts → types-OHt0D_f2.d.ts} +2 -2
  373. package/dist/{types-Cr5lyI99.d.ts → types-Rrcx-8LM.d.ts} +2 -2
  374. package/dist/{types-DUpVIuk7.d.ts → types-Tg3euEN_.d.ts} +2 -2
  375. package/dist/{types-37vwxse4.d.cts → types-Y4e8GGa3.d.cts} +2 -2
  376. package/dist/{types-DJzTVMu1.d.ts → types-d5Bt8Mr3.d.ts} +2 -2
  377. package/dist/{types-jjOulnni.d.ts → types-dU3EA8gk.d.ts} +2 -2
  378. package/dist/{types-ir7T2a9a.d.ts → types-iU1Sc1IM.d.ts} +3 -3
  379. package/dist/{types-zPY-XGnM.d.ts → types-kGZQQcIK.d.ts} +2 -2
  380. package/dist/{types-xzt_2H63.d.ts → types-zlYUn0oi.d.ts} +3 -3
  381. package/dist/{validateConnectionStatus-DYwWeWVo.js → validateConnectionStatus-DV00sDmu.js} +3 -3
  382. package/dist/{validateConnectionStatus-DYwWeWVo.js.map → validateConnectionStatus-DV00sDmu.js.map} +1 -1
  383. package/dist/{validateConnectionStatus-BjemGI1e.cjs → validateConnectionStatus-ckaHcRx8.cjs} +3 -3
  384. package/dist/{validateConnectionStatus-BjemGI1e.cjs.map → validateConnectionStatus-ckaHcRx8.cjs.map} +1 -1
  385. package/dist/vault/index.cjs +4 -4
  386. package/dist/vault/index.d.cts +1 -1
  387. package/dist/vault/index.d.ts +1 -1
  388. package/dist/vault/index.js +4 -4
  389. package/dist/vault/types.d.cts +1 -1
  390. package/dist/vault/types.d.ts +1 -1
  391. package/package.json +2 -2
  392. package/surface/apps.md +3 -3
  393. package/surface/dataScience.md +2 -11
  394. package/surface/editor.md +5 -5
  395. package/surface/queue.md +1 -1
  396. package/dist/QueryJobError-Iq9O90Uh.js +0 -21
  397. package/dist/QueryJobError-Iq9O90Uh.js.map +0 -1
  398. package/dist/QueryJobError-Oy0fl4aw.cjs +0 -32
  399. package/dist/QueryJobError-Oy0fl4aw.cjs.map +0 -1
  400. package/dist/appLogs-CTvZAihm.d.ts +0 -8
  401. package/dist/appLogs-CnLNMH7M.d.cts +0 -8
  402. package/dist/appLogs-CoAWQGxs.cjs +0 -152
  403. package/dist/appLogs-CoAWQGxs.cjs.map +0 -1
  404. package/dist/appLogs-DFcPwVk8.js +0 -131
  405. package/dist/appLogs-DFcPwVk8.js.map +0 -1
  406. package/dist/apps/index.cjs.map +0 -1
  407. package/dist/apps/index.js.map +0 -1
  408. package/dist/componentId-C8ZTXXDo.cjs.map +0 -1
  409. package/dist/componentId-b_qBbJEM.js.map +0 -1
  410. package/dist/constants-BMSHGwOR.js.map +0 -1
  411. package/dist/constants-DhFQWQgy.cjs.map +0 -1
  412. package/dist/createFetchClient-DEkUH662.cjs.map +0 -1
  413. package/dist/dataScience-CXmkEOAi.js +0 -118
  414. package/dist/dataScience-CXmkEOAi.js.map +0 -1
  415. package/dist/dataScience-CufjHPSd.cjs +0 -123
  416. package/dist/dataScience-CufjHPSd.cjs.map +0 -1
  417. package/dist/index-BZDxWvZW.d.ts +0 -214
  418. package/dist/index-ClIV2Lch.d.cts +0 -214
  419. package/dist/queryService-Cg-eMysa.cjs +0 -126
  420. package/dist/queryService-Cg-eMysa.cjs.map +0 -1
  421. package/dist/queryService-x8kq8Z2-.js +0 -121
  422. package/dist/queryService-x8kq8Z2-.js.map +0 -1
package/AGENTS.md CHANGED
@@ -39,7 +39,7 @@ const { data } = useQuery({
39
39
  **Scripts / CLIs / non-React.** Create one directly — pick the smallest that covers you:
40
40
 
41
41
  - **`createStorageClient`** — Storage-only. Needs only `baseUrl` + `token`, skipping the stack-info round-trip. Start here when in doubt; upgrading later is mechanical, downgrading is not. (React apps still get their client via `ProjectApiProvider` + `useProjectApi()` — see above; this section is about the non-React/single-service case.)
42
- - **`createLegacyKeboola` / `createKeboola`** — full SDK across all stack services. `createLegacyKeboola` returns `{ api, session }` and `createKeboola` returns `{ session, getStackApi, getProjectApi }`; drive the `session` to ready, then use the product surface. Bootstrap (`getStackInfo`, to discover services against the actual stack) runs while the storage build resolves, after which `api.stack` is synchronous. The verified token and the dev branches are the consumer's to fetch (`api.storage.tokens.verify()`, `api.storage.branches.getDevBranches()`) and derive with `createProject` / `createDefaultBranch` — kbc-ui holds them in TanStack queries (`useProject` reads the token). Every stack service — including `metastore` — is resolved from the stack's advertised service URLs. See the lifecycle section below for the per-flow `session` verbs. The token-less public clients `createAssetsClient` / `createStatusClient` are **not** part of this — import them directly from `@keboola/api-client/assets` and `@keboola/api-client/status`.
42
+ - **`createLegacyKeboola` / `createKeboola`** — full SDK across all stack services. `createLegacyKeboola` returns `{ api, session }` and `createKeboola` returns `{ session, getStackApi, getProjectApi }`; drive the `session` to ready, then use the product surface. Bootstrap (`getStackInfo`, to discover services against the actual stack) runs while the storage build resolves, after which `api.stack` is synchronous. The verified token and the dev branches are the consumer's to fetch (`api.storage.tokens.verify()`, `api.storage.branches.getDevBranches()`) and derive with `createProject` / `createBranchRefs` — kbc-ui holds them in TanStack queries (`useProject` reads the token). Every stack service — including `metastore` — is resolved from the stack's advertised service URLs. See the lifecycle section below for the per-flow `session` verbs. The token-less public clients `createAssetsClient` / `createStatusClient` are **not** part of this — import them directly from `@keboola/api-client/assets` and `@keboola/api-client/status`.
43
43
 
44
44
  **`clients/` also holds clients for third-party APIs the platform talks to directly** (`microsoftGraph` today): a vendor API is still HTTP that must run through the shared fetch client, its middleware chain and its error guards, so it gets a client here rather than a hand-rolled `fetch` in the consuming app. They differ from stack clients in three ways, and a new one should follow the same rules: **never** registered in `createServiceClients.ts` (they are not stack services, so they must not appear on `api.*`), they default their own `baseUrl` (a vendor's host and version prefix are part of its API contract, not something we discover or configure), and they carry no `healthCheck` (we don't own the service's liveness). Consumers construct them directly from the sub-path, like the token-less clients above.
45
45
 
@@ -255,6 +255,43 @@ Import paths:
255
255
  | `@keboola/api-client/sdk/configurations` | Core configuration SDK |
256
256
  | `@keboola/api-client/domain/permissions` | Permission primitives |
257
257
 
258
+ ### Query Service credentials
259
+
260
+ `createQueryServiceClient` takes `auth` as a credential or as a provider. It sends these headers:
261
+
262
+ | Credential | Headers sent |
263
+ | ------------------------------------------------- | ----------------------------------------------- |
264
+ | `{ type: 'sapi-token', token }` | `X-StorageApi-Token` |
265
+ | `{ type: 'bearer', token, projectId }` | `Authorization: Bearer …`, `X-KBC-ProjectId` |
266
+ | `{ type: 'app-user-token', token, storageToken }` | `X-Kbc-App-User-Token` and `X-StorageApi-Token` |
267
+
268
+ ```ts
269
+ import { readFileSync } from 'node:fs';
270
+
271
+ // Static token
272
+ createQueryServiceClient({ baseUrl, auth: { type: 'sapi-token', token } });
273
+
274
+ // Rotating token: re-read the token file before every request
275
+ const storageToken = () => readFileSync(process.env.STORAGE_API_TOKEN_PATH!, 'utf8').trim();
276
+ createQueryServiceClient({ baseUrl, auth: { type: 'sapi-token', token: storageToken } });
277
+
278
+ // Request-scoped: the signed-in user when there is one, the app otherwise
279
+ createQueryServiceClient({
280
+ baseUrl,
281
+ auth: () =>
282
+ userToken()
283
+ ? { type: 'app-user-token', token: userToken(), storageToken }
284
+ : { type: 'sapi-token', token: storageToken },
285
+ });
286
+ ```
287
+
288
+ - Every token field is a value or a callback (`TokenSource`, sync or async). A provider (`QueryServiceCredentialProvider`) picks the credential. Both are resolved before every request, retries included.
289
+ - A provider or a token callback: every token is checked before each request (empty, spaces, non-ASCII → `ValidationError`, nothing sent), and so is a `bearer` project id. The request carries only that credential's headers; any other credential header is removed.
290
+ - A credential with only string tokens is sent as fixed default headers, as `createAuthHeaders` does; a header that a middleware sets still goes out. Its `app-user-token` tokens are checked when the client is created; `sapi-token` / `bearer` strings are not.
291
+ - Types: `QueryServiceCredential`, `QueryServiceCredentialProvider`, `AppUserTokenAuth`, `TokenSource` from `@keboola/api-client/queryService`. The app user token is a Query Service credential only, and it always travels with the app's Storage token.
292
+ - The app user token works on any workspace; row-level security is a separate matter (`RowLevelSecurityError`).
293
+ - `healthCheck` sends no credential. `middlewares` is optional here (default `[]`).
294
+
258
295
  ## Consumption Hierarchy
259
296
 
260
297
  When implementing an action that talks to a Keboola API, pick the highest layer that already covers it:
@@ -272,10 +309,10 @@ When a caller writes a component configuration on a user's behalf — an agent-g
272
309
  2. **Encrypt** — hands every `#`-prefixed secret field to the encryption service (a remote call) and writes back the ciphertext, so a **plaintext secret is never sent to Storage**.
273
310
  3. **Write** — only then calls Storage.
274
311
 
275
- `createConfigurationSdk` (`@keboola/api-client/sdk/configurations`) takes the storage and encryption clients plus the project context the permission guard reads — the verified token as `createProject` builds it, and the default branch as `createDefaultBranch` builds it. It is not on `api.sdk`: the token is the consumer's to fetch.
312
+ `createConfigurationSdk` (`@keboola/api-client/sdk/configurations`) takes the storage and encryption clients plus the project context the permission guard reads — the verified token as `createProject` builds it, and the branch refs as `createBranchRefs` builds them. It is not on `api.sdk`: the token is the consumer's to fetch.
276
313
 
277
314
  ```ts
278
- import { createDefaultBranch, createLegacyKeboola, createProject } from '@keboola/api-client';
315
+ import { createBranchRefs, createLegacyKeboola, createProject } from '@keboola/api-client';
279
316
  import { createConfigurationSdk } from '@keboola/api-client/sdk/configurations';
280
317
 
281
318
  const { api, session } = createLegacyKeboola({ baseUrl });
@@ -289,7 +326,7 @@ const configuration = createConfigurationSdk({
289
326
  encryptionClient: api.encryption,
290
327
  context: {
291
328
  project: createProject({ sapiToken: token }),
292
- defaultBranch: createDefaultBranch({ devBranches }),
329
+ branchRefs: createBranchRefs({ devBranches }),
293
330
  },
294
331
  });
295
332
 
@@ -317,7 +354,7 @@ Two boundaries to know before relying on it:
317
354
  ```ts
318
355
  // PREFERRED — tree-shakes correctly
319
356
  import type { Table, Bucket } from '@keboola/api-client/storage/types';
320
- import type { DataApp } from '@keboola/api-client/dataScience/types';
357
+ import type { App } from '@keboola/api-client/apps/types';
321
358
 
322
359
  // ACCEPTABLE for runtime values / error guards (no type-only equivalent)
323
360
  import { isApiError, isAbortError, isFetchClientError } from '@keboola/api-client';
@@ -342,7 +379,7 @@ import { skipToken } from '@tanstack/react-query';
342
379
 
343
380
  queryOptions({
344
381
  queryKey: sandboxesApiKey.getSandbox(id ?? ''),
345
- queryFn: !id ? skipToken : async ({ signal }) => api.dataScience.getApp(id, signal),
382
+ queryFn: !id ? skipToken : async ({ signal }) => api.dataScience.getSandbox(id, signal),
346
383
  });
347
384
  ```
348
385
 
@@ -394,9 +431,10 @@ Error classes the SDK can throw — branch on these instead of a catch-all `unkn
394
431
  | `UserError` | `@keboola/api-client` | You want to surface `err.message` verbatim — already phrased for users |
395
432
  | `ServiceUnavailableError` | `@keboola/api-client` | A namespace was accessed on a stack that doesn't host it — hide the feature |
396
433
  | `ManagementClientAuthError` | `@keboola/api-client` | Session expired (management redirected to login) — global re-login UX |
434
+ | `RowLevelSecurityError` | `@keboola/api-client` | Row-level security refused the query for the caller — show "no access" |
397
435
  | `PermissionDeniedError` | `@keboola/api-client/domain/permissions` | A client-side `assertCan*` refused before any HTTP round-trip |
398
436
 
399
- There is **no** `ServerError` class — server-originated failures surface as `ApiError`; discriminate 5xx from 4xx via `err.response.status` inside `isApiError(err)`. `ManagementClientAuthError` extends `ApiError`, so check `isManagementClientAuthError` first.
437
+ There is **no** `ServerError` class — server-originated failures surface as `ApiError`; discriminate 5xx from 4xx via `err.response.status` inside `isApiError(err)`. `ManagementClientAuthError` and `RowLevelSecurityError` extend `ApiError`, so check `isManagementClientAuthError` / `isRowLevelSecurityError` first.
400
438
 
401
439
  Canonical try/catch — order guards most-specific first:
402
440
 
@@ -503,7 +541,7 @@ api.stream.* api.omnisearch.* api.apps.*
503
541
  api.sdk.tag.* api.sdk.storage.*
504
542
  ```
505
543
 
506
- `api.apps` is the data-apps `/v2` App Deployments surface (apps + deployments); `api.dataScience` is the same service's `/v1` surface, which still owns workspaces (`/sandboxes`, `/runtimes`) and the data-app endpoints the UI has not moved off yet.
544
+ `api.apps` is the data-apps `/v2` App Deployments surface (apps + deployments); `api.dataScience` is the same service's `/v1` surface, which owns workspaces (`/sandboxes`, `/runtimes`, `keboola.sandboxes` apps) and what `/v2` lacks — the dev-mode preview link.
507
545
 
508
546
  **`api.apps` needs no availability check.** Every stack's sandboxes-service serves `/v2` from the same image as `/v1`, and `api.apps` resolves off the `data-science` service id like `api.dataScience`. When probing a stack by hand, only an authenticated call answers:
509
547
 
package/API-SURFACE.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Every namespace and method reachable from a ready `ProjectApi` — one project's api (`createKeboola(...).getProjectApi(id)` / `createLegacyKeboola(...).api`, or `useProjectApi()`). Generated from the TypeScript type checker — see `scripts/gen-surface.mjs`.
6
6
 
7
- 26 top-level namespaces, 710 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
+ 26 top-level namespaces, 701 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
 
@@ -127,22 +127,13 @@ Every namespace and method reachable from a ready `ProjectApi` — one project's
127
127
 
128
128
  ## [`api.dataScience`](./surface/dataScience.md)
129
129
 
130
- - `createApp`
131
130
  - `createAppPreviewLink`
132
- - `deleteApp`
133
131
  - `deleteSandbox`
134
132
  - `getApp`
135
- - `getAppLogsDownload`
136
- - `getAppLogsTail`
137
- - `getAppPassword`
138
- - `getAppRun`
139
- - `getAppRuns`
140
133
  - `getApps`
141
134
  - `getRuntimes`
142
135
  - `getSandbox`
143
136
  - `healthCheck`
144
- - `patchApp`
145
- - `resetAppPassword`
146
137
 
147
138
  ## [`api.editor`](./surface/editor.md)
148
139
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @keboola/api-client
2
2
 
3
+ ## 52.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - `api.dataScience` keeps only what the `/v2` App Deployments API (`api.apps`) does not cover: workspace apps (`getApp`, `getApps`), `createAppPreviewLink`, runtimes and sandboxes.
8
+ - **Breaking:** `api.dataScience.createApp`, `patchApp`, `deleteApp`, `getAppPassword`, `resetAppPassword`, `getAppRuns`, `getAppRun`, `getAppLogsTail` and `getAppLogsDownload` are gone — `api.apps` has each of them.
9
+ - **Breaking:** `@keboola/api-client/dataScience/types` no longer exports `CreateDataAppBody`, `DeleteDataAppPath`, `PatchDataAppPath`, `PatchDataAppBody`, `GetDataAppPasswordPath`, `ResetDataAppPasswordPath`, `GetDataAppRunsPath`, `GetDataAppRunsQuery`, `GetDataAppRunPath`, `RawAppRun`, `DataAppRun`, `GetDataAppLogsDownloadPath`, `GetDataAppLogsTailPath`, `GetDataAppLogsTailQuery` or `LogEntry`; `LogEntry` comes from `@keboola/api-client/apps/types`.
10
+ - **Breaking:** `parseLogLines` is exported from `@keboola/api-client/apps` (and the package root), no longer from `@keboola/api-client/dataScience`.
11
+
12
+ - `createDefaultBranch` is now `createBranchRefs`: it reads a branch ref — the `default` alias or a branch id — against the project's default branch.
13
+ - **Breaking:** `createDefaultBranch` and the `DefaultBranch` type are renamed `createBranchRefs` and `BranchRefs`; `id` and `name` are now `defaultId` and `defaultName`.
14
+ - **Breaking:** `createConfigurationSdk`'s `context.defaultBranch` is now `context.branchRefs`.
15
+ - `resolve(ref)` gives the id a ref points to: `default`, or no ref, is the default branch; an id is itself.
16
+
17
+ ### Minor Changes
18
+
19
+ - `ProjectFeature.DataAppsDisabled` (`data-apps-disabled`): the project feature under which no app can be created.
20
+
21
+ - `createQueryServiceClient` takes `auth` as a credential or as a provider (`QueryServiceCredentialProvider`, from `@keboola/api-client/queryService`), and accepts the new `{ type: 'app-user-token', token, storageToken }` credential, which sends `X-Kbc-App-User-Token` together with the app's `X-StorageApi-Token`. Every token field is a value or a callback (`TokenSource`), so a rotating token is read again before every request and retry; each resolved token is checked before sending. A request carries exactly the chosen credential's headers; credentials with only string tokens are sent as fixed headers, exactly as before; `middlewares` is optional for this client. Independently, a Query Service row-level security refusal now rejects with `RowLevelSecurityError` (extends `ApiError`, guard `isRowLevelSecurityError`), and `X-Kbc-App-User-Token` is redacted from errors and logs like the other credential headers (AJDA-3620)
22
+
23
+ - `StorageBackend` carries the optional `policyTagCapability` (`PolicyTagCapability`) of a BigQuery backend detail: the stored policy-tag state, coordinates and last verification, or `null` when never configured.
24
+
25
+ ### Patch Changes
26
+
27
+ - A fixed `{ type: 'app-user-token', token, storageToken }` credential with an empty or malformed token makes `createQueryServiceClient` throw `ValidationError`, as the same credential from a provider already does before each request (AJDA-3620)
28
+ - `sapi-token` / `bearer` strings in a fixed credential are still sent unchecked.
29
+
3
30
  ## 51.0.0
4
31
 
5
32
  ### Minor Changes
package/README.md CHANGED
@@ -171,7 +171,7 @@ src/
171
171
  storage/ # Storage API (buckets, tables, files, branches, ...)
172
172
  management/ # Management API (projects, features, users)
173
173
  vault/ # Vault secrets
174
- dataScience/ # Data apps, sandboxes, runtimes
174
+ dataScience/ # Workspace apps, sandboxes, runtimes, preview links
175
175
  editor/ # SQL sessions, queries
176
176
  encryption/ # Value/secret encryption
177
177
  oauth/ # OAuth credentials
@@ -219,7 +219,7 @@ Clients backed by OpenAPI specs are marked with (OpenAPI); the rest use the gene
219
219
  | `api.management` | Management API | `projects.*`, `features.*`, `users.*` |
220
220
  | `api.vault` | Vault (OpenAPI) | `getVariables()`, `createVariable()`, `deleteVariable()`, `getVariablesByBranchId()`, `getProjectWideVariables()` |
221
221
  | `api.oauth` | OAuth | `getCredentials()`, `getCredential()`, `createCredential()`, `deleteCredential()` |
222
- | `api.dataScience` | Data Science (OpenAPI) | `getApps()`, `getApp()`, `createApp()`, `patchApp()`, `deleteApp()`, `getAppRuns()`, `getAppRun()`, `getAppLogsTail()`, `getAppLogsDownload()`, `getRuntimes()`, `getSandbox()` |
222
+ | `api.dataScience` | Data Science (OpenAPI) | `getApps()`, `getApp()`, `createAppPreviewLink()`, `getRuntimes()`, `getSandbox()`, `deleteSandbox()` |
223
223
  | `api.editor` | SQL Editor (OpenAPI) | `createSession()`, `getSession()`, `getSessions()`, `getSessionSchema()`, `createQueryJob()`, `tablePreview()`, `tableDefinition()`, `load()`, `unload()` |
224
224
  | `api.encryption` | Encryption | `encrypt()`, `encryptSecrets()` |
225
225
  | `api.chat` | Kai Assistant (OpenAPI) | `getHistory()`, `getChat()`, `createChat()`, `deleteChat()`, `getVotes()`, `submitVote()`, `getUsage()`, `getSuggestions()`, `getAgentSettings()`, `getToolsList()` |
@@ -1,4 +1,4 @@
1
- import { p as ApiError } from "./createFetchClient-DlGCbltR.js";
1
+ import { p as ApiError } from "./createFetchClient-Dc_ZMuq7.js";
2
2
  // src/errors/ManagementClientAuthError.ts
3
3
  var ManagementClientAuthError = class extends ApiError {
4
4
  title;
@@ -31,4 +31,4 @@ var ManagementSessionMintError = class extends ManagementClientAuthError {
31
31
  };
32
32
  export { ManagementClientAuthError as n, ManagementSessionMintError as t };
33
33
 
34
- //# sourceMappingURL=ManagementSessionMintError-DNMbYauw.js.map
34
+ //# sourceMappingURL=ManagementSessionMintError-BMHDcEqV.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ManagementSessionMintError-DNMbYauw.js","names":[],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+C,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
1
+ {"version":3,"file":"ManagementSessionMintError-BMHDcEqV.js","names":[],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+C,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
@@ -1,4 +1,4 @@
1
- const require_createFetchClient = require("./createFetchClient-DEkUH662.cjs");
1
+ const require_createFetchClient = require("./createFetchClient-CDKSkd7i.cjs");
2
2
  // src/errors/ManagementClientAuthError.ts
3
3
  var ManagementClientAuthError = class extends require_createFetchClient.ApiError {
4
4
  title;
@@ -42,4 +42,4 @@ Object.defineProperty(exports, "ManagementSessionMintError", {
42
42
  }
43
43
  });
44
44
 
45
- //# sourceMappingURL=ManagementSessionMintError-ByOulHQH.cjs.map
45
+ //# sourceMappingURL=ManagementSessionMintError-Bc9bc7Ai.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ManagementSessionMintError-ByOulHQH.cjs","names":["ApiError"],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+CA,0BAAAA,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
1
+ {"version":3,"file":"ManagementSessionMintError-Bc9bc7Ai.cjs","names":["ApiError"],"sources":["../src/errors/ManagementClientAuthError.ts","../src/errors/ManagementSessionMintError.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nexport class ManagementClientAuthError extends ApiError {\n title: string;\n message: string;\n constructor(title: string, message: string, res: ApiResponse) {\n super(res);\n this.name = 'ManagementClientAuthError';\n this.title = title;\n this.message = message;\n }\n}\n","import { ManagementClientAuthError } from './ManagementClientAuthError';\n\n/**\n * The Manage client has no credential of its own and could not mint a session token from the\n * login cookie.\n *\n * - Only the legacy (SAPI) entry point mints; a bearer client never raises it.\n * - The login page in place of the token: the session expired, or there is no cookie (off the\n * stack host).\n */\nexport class ManagementSessionMintError extends ManagementClientAuthError {\n constructor({ title, message, response, request, data }: ManagementClientAuthError) {\n super(title, message, { response, request, data });\n this.name = 'ManagementSessionMintError';\n }\n}\n"],"mappings":";;AAIA,IAAa,4BAAb,cAA+CA,0BAAAA,SAAS;CACtD;CACA;CACA,YAAY,OAAe,SAAiB,KAAkB;EAC5D,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;CACjB;AACF;;;;;;;;;;ACHA,IAAa,6BAAb,cAAgD,0BAA0B;CACxE,YAAY,EAAE,OAAO,SAAS,UAAU,SAAS,QAAmC;EAClF,MAAM,OAAO,SAAS;GAAE;GAAU;GAAS;EAAK,CAAC;EACjD,KAAK,OAAO;CACd;AACF"}
@@ -0,0 +1,33 @@
1
+ import { p as ApiError } from "./createFetchClient-Dc_ZMuq7.js";
2
+ // src/errors/QueryJobError.ts
3
+ /**
4
+ * A query job that reached the API's terminal `failed` state — the submit/poll round-trip
5
+ * succeeded, the job itself did not. Distinct from {@link ApiError}, which is an HTTP-level failure
6
+ * of the submit/poll/results requests themselves.
7
+ */
8
+ var QueryJobError = class QueryJobError extends Error {
9
+ queryJobId;
10
+ failedStatements;
11
+ constructor(message, queryJobId, { failedStatements }) {
12
+ super(message);
13
+ this.name = "QueryJobError";
14
+ this.queryJobId = queryJobId;
15
+ this.failedStatements = failedStatements;
16
+ Object.setPrototypeOf(this, QueryJobError.prototype);
17
+ }
18
+ };
19
+ const isQueryJobError = (error) => error instanceof QueryJobError;
20
+ // src/errors/RowLevelSecurityError.ts
21
+ const exceptionOf = (data) => typeof data === "object" && data !== null && "exception" in data && typeof data.exception === "string" ? data.exception : void 0;
22
+ /** Query Service refused a query on a governed workspace for the identity it was sent with. */
23
+ var RowLevelSecurityError = class extends ApiError {
24
+ constructor(res) {
25
+ super(res);
26
+ this.name = "RowLevelSecurityError";
27
+ this.message = exceptionOf(res.data) ?? this.message;
28
+ }
29
+ };
30
+ const isRowLevelSecurityError = (error) => error instanceof RowLevelSecurityError;
31
+ export { isQueryJobError as i, isRowLevelSecurityError as n, QueryJobError as r, RowLevelSecurityError as t };
32
+
33
+ //# sourceMappingURL=RowLevelSecurityError-CObFqj3E.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowLevelSecurityError-CObFqj3E.js","names":[],"sources":["../src/errors/QueryJobError.ts","../src/errors/RowLevelSecurityError.ts"],"sourcesContent":["type FailedStatement = {\n id: string;\n error?: string;\n};\n\ntype QueryJobErrorOptions = {\n failedStatements: FailedStatement[];\n};\n\n/**\n * A query job that reached the API's terminal `failed` state — the submit/poll round-trip\n * succeeded, the job itself did not. Distinct from {@link ApiError}, which is an HTTP-level failure\n * of the submit/poll/results requests themselves.\n */\nexport class QueryJobError extends Error {\n queryJobId: string;\n failedStatements: FailedStatement[];\n\n constructor(message: string, queryJobId: string, { failedStatements }: QueryJobErrorOptions) {\n super(message);\n this.name = 'QueryJobError';\n this.queryJobId = queryJobId;\n this.failedStatements = failedStatements;\n Object.setPrototypeOf(this, QueryJobError.prototype);\n }\n}\n\nexport const isQueryJobError = (error: unknown): error is QueryJobError =>\n error instanceof QueryJobError;\n","import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nconst exceptionOf = (data: unknown) =>\n typeof data === 'object' &&\n data !== null &&\n 'exception' in data &&\n typeof data.exception === 'string'\n ? data.exception\n : undefined;\n\n/** Query Service refused a query on a governed workspace for the identity it was sent with. */\nexport class RowLevelSecurityError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\n this.name = 'RowLevelSecurityError';\n this.message = exceptionOf(res.data) ?? this.message;\n }\n}\n\nexport const isRowLevelSecurityError = (error: unknown): error is RowLevelSecurityError =>\n error instanceof RowLevelSecurityError;\n"],"mappings":";;;;;;;AAcA,IAAa,gBAAb,MAAa,sBAAsB,MAAM;CACvC;CACA;CAEA,YAAY,SAAiB,YAAoB,EAAE,oBAA0C;EAC3F,MAAM,OAAO;EACb,KAAK,OAAO;EACZ,KAAK,aAAa;EAClB,KAAK,mBAAmB;EACxB,OAAO,eAAe,MAAM,cAAc,SAAS;CACrD;AACF;AAEA,MAAa,mBAAmB,UAC9B,iBAAiB;;ACxBnB,MAAM,eAAe,SACnB,OAAO,SAAS,YAChB,SAAS,QACT,eAAe,QACf,OAAO,KAAK,cAAc,WACtB,KAAK,YACL,KAAA;;AAGN,IAAa,wBAAb,cAA2C,SAAS;CAClD,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,UAAU,YAAY,IAAI,IAAI,KAAK,KAAK;CAC/C;AACF;AAEA,MAAa,2BAA2B,UACtC,iBAAiB"}
@@ -0,0 +1,56 @@
1
+ const require_createFetchClient = require("./createFetchClient-CDKSkd7i.cjs");
2
+ // src/errors/QueryJobError.ts
3
+ /**
4
+ * A query job that reached the API's terminal `failed` state — the submit/poll round-trip
5
+ * succeeded, the job itself did not. Distinct from {@link ApiError}, which is an HTTP-level failure
6
+ * of the submit/poll/results requests themselves.
7
+ */
8
+ var QueryJobError = class QueryJobError extends Error {
9
+ queryJobId;
10
+ failedStatements;
11
+ constructor(message, queryJobId, { failedStatements }) {
12
+ super(message);
13
+ this.name = "QueryJobError";
14
+ this.queryJobId = queryJobId;
15
+ this.failedStatements = failedStatements;
16
+ Object.setPrototypeOf(this, QueryJobError.prototype);
17
+ }
18
+ };
19
+ const isQueryJobError = (error) => error instanceof QueryJobError;
20
+ // src/errors/RowLevelSecurityError.ts
21
+ const exceptionOf = (data) => typeof data === "object" && data !== null && "exception" in data && typeof data.exception === "string" ? data.exception : void 0;
22
+ /** Query Service refused a query on a governed workspace for the identity it was sent with. */
23
+ var RowLevelSecurityError = class extends require_createFetchClient.ApiError {
24
+ constructor(res) {
25
+ super(res);
26
+ this.name = "RowLevelSecurityError";
27
+ this.message = exceptionOf(res.data) ?? this.message;
28
+ }
29
+ };
30
+ const isRowLevelSecurityError = (error) => error instanceof RowLevelSecurityError;
31
+ Object.defineProperty(exports, "QueryJobError", {
32
+ enumerable: true,
33
+ get: function() {
34
+ return QueryJobError;
35
+ }
36
+ });
37
+ Object.defineProperty(exports, "RowLevelSecurityError", {
38
+ enumerable: true,
39
+ get: function() {
40
+ return RowLevelSecurityError;
41
+ }
42
+ });
43
+ Object.defineProperty(exports, "isQueryJobError", {
44
+ enumerable: true,
45
+ get: function() {
46
+ return isQueryJobError;
47
+ }
48
+ });
49
+ Object.defineProperty(exports, "isRowLevelSecurityError", {
50
+ enumerable: true,
51
+ get: function() {
52
+ return isRowLevelSecurityError;
53
+ }
54
+ });
55
+
56
+ //# sourceMappingURL=RowLevelSecurityError-RK_NhhAx.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowLevelSecurityError-RK_NhhAx.cjs","names":["ApiError"],"sources":["../src/errors/QueryJobError.ts","../src/errors/RowLevelSecurityError.ts"],"sourcesContent":["type FailedStatement = {\n id: string;\n error?: string;\n};\n\ntype QueryJobErrorOptions = {\n failedStatements: FailedStatement[];\n};\n\n/**\n * A query job that reached the API's terminal `failed` state — the submit/poll round-trip\n * succeeded, the job itself did not. Distinct from {@link ApiError}, which is an HTTP-level failure\n * of the submit/poll/results requests themselves.\n */\nexport class QueryJobError extends Error {\n queryJobId: string;\n failedStatements: FailedStatement[];\n\n constructor(message: string, queryJobId: string, { failedStatements }: QueryJobErrorOptions) {\n super(message);\n this.name = 'QueryJobError';\n this.queryJobId = queryJobId;\n this.failedStatements = failedStatements;\n Object.setPrototypeOf(this, QueryJobError.prototype);\n }\n}\n\nexport const isQueryJobError = (error: unknown): error is QueryJobError =>\n error instanceof QueryJobError;\n","import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\nconst exceptionOf = (data: unknown) =>\n typeof data === 'object' &&\n data !== null &&\n 'exception' in data &&\n typeof data.exception === 'string'\n ? data.exception\n : undefined;\n\n/** Query Service refused a query on a governed workspace for the identity it was sent with. */\nexport class RowLevelSecurityError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\n this.name = 'RowLevelSecurityError';\n this.message = exceptionOf(res.data) ?? this.message;\n }\n}\n\nexport const isRowLevelSecurityError = (error: unknown): error is RowLevelSecurityError =>\n error instanceof RowLevelSecurityError;\n"],"mappings":";;;;;;;AAcA,IAAa,gBAAb,MAAa,sBAAsB,MAAM;CACvC;CACA;CAEA,YAAY,SAAiB,YAAoB,EAAE,oBAA0C;EAC3F,MAAM,OAAO;EACb,KAAK,OAAO;EACZ,KAAK,aAAa;EAClB,KAAK,mBAAmB;EACxB,OAAO,eAAe,MAAM,cAAc,SAAS;CACrD;AACF;AAEA,MAAa,mBAAmB,UAC9B,iBAAiB;;ACxBnB,MAAM,eAAe,SACnB,OAAO,SAAS,YAChB,SAAS,QACT,eAAe,QACf,OAAO,KAAK,cAAc,WACtB,KAAK,YACL,KAAA;;AAGN,IAAa,wBAAb,cAA2CA,0BAAAA,SAAS;CAClD,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,UAAU,YAAY,IAAI,IAAI,KAAK,KAAK;CAC/C;AACF;AAEA,MAAa,2BAA2B,UACtC,iBAAiB"}
@@ -1,4 +1,4 @@
1
- import { Lr as paths, l as OpenapiReturnType } from "./index-D1mduJne.cjs";
1
+ import { Lr as paths, l as OpenapiReturnType } from "./index-FrsEkDvX.cjs";
2
2
  type SpecAdminRole = NonNullable<NonNullable<OpenapiReturnType<paths['/v2/storage/tokens/verify']['get']>['admin']>['role']>;
3
3
  declare const AdminRole: {
4
4
  readonly Admin: 'admin';
@@ -11,4 +11,4 @@ declare const AdminRole: {
11
11
  };
12
12
  type AdminRole = SpecAdminRole;
13
13
  export { AdminRole as t };
14
- //# sourceMappingURL=adminRoles-FFyl7Dyx.d.cts.map
14
+ //# sourceMappingURL=adminRoles-BTKVwEy8.d.cts.map
@@ -1,4 +1,4 @@
1
- import { Lr as paths, l as OpenapiReturnType } from "./index-D1mduJne.js";
1
+ import { Lr as paths, l as OpenapiReturnType } from "./index-FrsEkDvX.js";
2
2
  type SpecAdminRole = NonNullable<NonNullable<OpenapiReturnType<paths['/v2/storage/tokens/verify']['get']>['admin']>['role']>;
3
3
  declare const AdminRole: {
4
4
  readonly Admin: 'admin';
@@ -11,4 +11,4 @@ declare const AdminRole: {
11
11
  };
12
12
  type AdminRole = SpecAdminRole;
13
13
  export { AdminRole as t };
14
- //# sourceMappingURL=adminRoles-DAwl657q.d.ts.map
14
+ //# sourceMappingURL=adminRoles-Cm513r1G.d.ts.map
package/dist/ai/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_createOpenapiFetchClient = require("../createOpenapiFetchClient-DL9w7vU-.cjs");
3
- const require_auth = require("../auth-CvB4MukT.cjs");
2
+ const require_createOpenapiFetchClient = require("../createOpenapiFetchClient-dkssExkU.cjs");
3
+ const require_auth = require("../auth-AehUDNRK.cjs");
4
4
  // src/clients/ai/aiClient.ts
5
5
  const createAiClient = ({ baseUrl, middlewares, auth }) => {
6
6
  const client = require_createOpenapiFetchClient.createOpenapiFetchClient({
@@ -1,5 +1,5 @@
1
- import { a as DescribeConfigurationVersionBody, d as SuggestComponentBody, f as components, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, r as DescribeConfigurationBody, s as DocsQuestionBody } from "../types-BE8abIig.cjs";
2
- import { n as ClientInitOptions } from "../types-Dryq2GGE.cjs";
1
+ import { a as DescribeConfigurationVersionBody, d as SuggestComponentBody, f as components, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, r as DescribeConfigurationBody, s as DocsQuestionBody } from "../types-DKKHKj19.cjs";
2
+ import { n as ClientInitOptions } from "../types-B4ezB18r.cjs";
3
3
  declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
4
4
  healthCheck: (signal?: AbortSignal) => Promise<{
5
5
  status: 'ok';
@@ -1,5 +1,5 @@
1
- import { a as DescribeConfigurationVersionBody, d as SuggestComponentBody, f as components, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, r as DescribeConfigurationBody, s as DocsQuestionBody } from "../types-inG9y3dP.js";
2
- import { n as ClientInitOptions } from "../types-DUpVIuk7.js";
1
+ import { a as DescribeConfigurationVersionBody, d as SuggestComponentBody, f as components, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, r as DescribeConfigurationBody, s as DocsQuestionBody } from "../types-D5bxXqEU.js";
2
+ import { n as ClientInitOptions } from "../types-Tg3euEN_.js";
3
3
  declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
4
4
  healthCheck: (signal?: AbortSignal) => Promise<{
5
5
  status: 'ok';
package/dist/ai/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as createOpenapiFetchClient } from "../createOpenapiFetchClient-Bhz62MUE.js";
2
- import { t as createAuthHeaders } from "../auth-DYfQMQCs.js";
1
+ import { t as createOpenapiFetchClient } from "../createOpenapiFetchClient-DSk29o_s.js";
2
+ import { t as createAuthHeaders } from "../auth-ZBQWCJPM.js";
3
3
  // src/clients/ai/aiClient.ts
4
4
  const createAiClient = ({ baseUrl, middlewares, auth }) => {
5
5
  const client = createOpenapiFetchClient({
@@ -1,2 +1,2 @@
1
- import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as ObjectDescription } from "../types-BE8abIig.cjs";
1
+ import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as ObjectDescription } from "../types-DKKHKj19.cjs";
2
2
  export { ComponentDocsDetail, ComponentSuggestion, DescribeConfigurationBody, DescribeConfigurationMergeBody, DescribeConfigurationVersionBody, DocsAnswer, DocsQuestionBody, ErrorExplanation, ExplainErrorBody, ObjectDescription, SuggestComponentBody };
@@ -1,2 +1,2 @@
1
- import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as ObjectDescription } from "../types-inG9y3dP.js";
1
+ import { a as DescribeConfigurationVersionBody, c as ErrorExplanation, d as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, n as ComponentSuggestion, o as DocsAnswer, r as DescribeConfigurationBody, s as DocsQuestionBody, t as ComponentDocsDetail, u as ObjectDescription } from "../types-D5bxXqEU.js";
2
2
  export { ComponentDocsDetail, ComponentSuggestion, DescribeConfigurationBody, DescribeConfigurationMergeBody, DescribeConfigurationVersionBody, DocsAnswer, DocsQuestionBody, ErrorExplanation, ExplainErrorBody, ObjectDescription, SuggestComponentBody };