@keboola/api-client 39.0.0 → 41.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 (522) hide show
  1. package/AGENTS.md +121 -100
  2. package/API-SURFACE.md +27 -2
  3. package/CHANGELOG.md +129 -0
  4. package/README.md +3 -3
  5. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs → ManagementClientAuthError-DE7lNGZQ.cjs} +2 -2
  6. package/dist/{ManagementClientAuthError-FcfMJNhr.cjs.map → ManagementClientAuthError-DE7lNGZQ.cjs.map} +1 -1
  7. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js → ManagementClientAuthError-H30lti_Q.js} +2 -2
  8. package/dist/{ManagementClientAuthError-Cr9IOsnJ.js.map → ManagementClientAuthError-H30lti_Q.js.map} +1 -1
  9. package/dist/{ValidationError-CLVJCCwH.cjs → ValidationError-D65QU0uq.cjs} +10 -16
  10. package/dist/ValidationError-D65QU0uq.cjs.map +1 -0
  11. package/dist/ValidationError-DjhtNMfZ.js +42 -0
  12. package/dist/ValidationError-DjhtNMfZ.js.map +1 -0
  13. package/dist/ai/index.cjs +2 -2
  14. package/dist/ai/index.d.cts +2 -2
  15. package/dist/ai/index.d.ts +2 -2
  16. package/dist/ai/index.js +2 -2
  17. package/dist/ai/types.d.cts +1 -1
  18. package/dist/ai/types.d.ts +1 -1
  19. package/dist/{appLogs-C_zP0lpv.cjs → appLogs-B9zFJIuy.cjs} +2 -2
  20. package/dist/{appLogs-C_zP0lpv.cjs.map → appLogs-B9zFJIuy.cjs.map} +1 -1
  21. package/dist/{appLogs-Cl7Q_MR9.js → appLogs-BBkkUOW1.js} +2 -2
  22. package/dist/{appLogs-Cl7Q_MR9.js.map → appLogs-BBkkUOW1.js.map} +1 -1
  23. package/dist/{appLogs-Ch7DYpzx.d.ts → appLogs-BS6ViVGR.d.ts} +2 -2
  24. package/dist/{appLogs-D5A13Y0y.d.cts → appLogs-C9YlJ2g8.d.cts} +2 -2
  25. package/dist/apps/index.cjs +30 -56
  26. package/dist/apps/index.cjs.map +1 -1
  27. package/dist/apps/index.d.cts +8 -13
  28. package/dist/apps/index.d.ts +8 -13
  29. package/dist/apps/index.js +30 -56
  30. package/dist/apps/index.js.map +1 -1
  31. package/dist/apps/types.d.cts +2 -2
  32. package/dist/apps/types.d.ts +2 -2
  33. package/dist/assets/index.cjs +1 -1
  34. package/dist/assets/index.d.cts +1 -1
  35. package/dist/assets/index.d.ts +1 -1
  36. package/dist/assets/index.js +1 -1
  37. package/dist/auth/index.cjs +8 -4
  38. package/dist/auth/index.d.cts +2 -2
  39. package/dist/auth/index.d.ts +2 -2
  40. package/dist/auth/index.js +2 -2
  41. package/dist/auth/types.d.cts +2 -2
  42. package/dist/auth/types.d.ts +2 -2
  43. package/dist/{auth-DLWnl18b.cjs → auth-Dm0F2rOh.cjs} +2 -2
  44. package/dist/{auth-DLWnl18b.cjs.map → auth-Dm0F2rOh.cjs.map} +1 -1
  45. package/dist/{auth-BjmkFOgd.js → auth-DworfoPy.js} +2 -2
  46. package/dist/{auth-BjmkFOgd.js.map → auth-DworfoPy.js.map} +1 -1
  47. package/dist/{authClient-8yU1last.cjs → authClient-BmuUo0J4.cjs} +141 -48
  48. package/dist/authClient-BmuUo0J4.cjs.map +1 -0
  49. package/dist/{authClient-CTHNs6Tq.d.cts → authClient-CHXWJ9x3.d.ts} +109 -76
  50. package/dist/{authClient-BTo4Afm6.js → authClient-CgcDGd30.js} +108 -39
  51. package/dist/authClient-CgcDGd30.js.map +1 -0
  52. package/dist/{authClient-D8i3JTM-.d.ts → authClient-vEt_7_uk.d.cts} +109 -76
  53. package/dist/billing/index.cjs +2 -2
  54. package/dist/billing/index.d.cts +1 -1
  55. package/dist/billing/index.d.ts +1 -1
  56. package/dist/billing/index.js +2 -2
  57. package/dist/billing/types.d.cts +1 -1
  58. package/dist/billing/types.d.ts +1 -1
  59. package/dist/businessWorkspaceApi/index.cjs +1 -1
  60. package/dist/businessWorkspaceApi/index.d.cts +1 -1
  61. package/dist/businessWorkspaceApi/index.d.ts +1 -1
  62. package/dist/businessWorkspaceApi/index.js +1 -1
  63. package/dist/businessWorkspaceApi/types.d.cts +1 -1
  64. package/dist/businessWorkspaceApi/types.d.ts +1 -1
  65. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs → businessWorkspaceApi-6tCDdpnY.cjs} +3 -3
  66. package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs.map → businessWorkspaceApi-6tCDdpnY.cjs.map} +1 -1
  67. package/dist/{businessWorkspaceApi-BD-iUj07.js → businessWorkspaceApi-BLUdefRF.js} +3 -3
  68. package/dist/{businessWorkspaceApi-BD-iUj07.js.map → businessWorkspaceApi-BLUdefRF.js.map} +1 -1
  69. package/dist/{businessWorkspaceApiClient-CRM1U8b-.d.cts → businessWorkspaceApiClient-BHDJlHFo.d.cts} +3 -3
  70. package/dist/{businessWorkspaceApiClient-C2WyWN3b.d.ts → businessWorkspaceApiClient-DI-z1VIH.d.ts} +3 -3
  71. package/dist/chat/index.cjs +7 -3
  72. package/dist/chat/index.cjs.map +1 -1
  73. package/dist/chat/index.d.cts +2 -2
  74. package/dist/chat/index.d.ts +2 -2
  75. package/dist/chat/index.js +7 -3
  76. package/dist/chat/index.js.map +1 -1
  77. package/dist/chat/types.cjs +1 -3
  78. package/dist/chat/types.cjs.map +1 -1
  79. package/dist/chat/types.d.cts +2 -2
  80. package/dist/chat/types.d.ts +2 -2
  81. package/dist/chat/types.js +1 -3
  82. package/dist/chat/types.js.map +1 -1
  83. package/dist/{componentId-vJz-kWs6.js → componentId-BJLfnaGc.js} +6 -2
  84. package/dist/componentId-BJLfnaGc.js.map +1 -0
  85. package/dist/{componentId-DkyQ8PM0.cjs → componentId-_IKXxICq.cjs} +6 -2
  86. package/dist/componentId-_IKXxICq.cjs.map +1 -0
  87. package/dist/{concurrent-CH9fbNr3.js → concurrent-BacWxPwi.js} +5 -7
  88. package/dist/concurrent-BacWxPwi.js.map +1 -0
  89. package/dist/{concurrent-tbiIa0UL.cjs → concurrent-CdVfR1N5.cjs} +5 -7
  90. package/dist/concurrent-CdVfR1N5.cjs.map +1 -0
  91. package/dist/{configurations-CyFF9Dtu.cjs → configurations-BTRHVSRq.cjs} +20 -53
  92. package/dist/configurations-BTRHVSRq.cjs.map +1 -0
  93. package/dist/{configurations-VtNE0nrT.js → configurations-CF3xz7RB.js} +14 -22
  94. package/dist/configurations-CF3xz7RB.js.map +1 -0
  95. package/dist/{configurations-BVvcimzo.js → configurations-Chg_JwJ1.js} +20 -53
  96. package/dist/configurations-Chg_JwJ1.js.map +1 -0
  97. package/dist/{configurations-zkNjr73Q.cjs → configurations-VlfQ_37Y.cjs} +14 -22
  98. package/dist/configurations-VlfQ_37Y.cjs.map +1 -0
  99. package/dist/constants/index.cjs +1 -1
  100. package/dist/constants/index.d.cts +1 -1
  101. package/dist/constants/index.d.ts +1 -1
  102. package/dist/constants/index.js +1 -1
  103. package/dist/{createFetchClient-BlgPbjFj.cjs → createFetchClient-Cwp8max9.cjs} +11 -4
  104. package/dist/createFetchClient-Cwp8max9.cjs.map +1 -0
  105. package/dist/{createFetchClient-C-cadpBx.js → createFetchClient-DXHQK63w.js} +11 -4
  106. package/dist/createFetchClient-DXHQK63w.js.map +1 -0
  107. package/dist/{createGenericFetchClient-Bnf1QK9W.js → createGenericFetchClient-Dg1rgzmG.js} +2 -2
  108. package/dist/{createGenericFetchClient-Bnf1QK9W.js.map → createGenericFetchClient-Dg1rgzmG.js.map} +1 -1
  109. package/dist/{createGenericFetchClient-lcozzwk2.cjs → createGenericFetchClient-Dl9cqTvR.cjs} +2 -2
  110. package/dist/{createGenericFetchClient-lcozzwk2.cjs.map → createGenericFetchClient-Dl9cqTvR.cjs.map} +1 -1
  111. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs → createOpenapiFetchClient-BYqW-9tm.cjs} +2 -2
  112. package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs.map → createOpenapiFetchClient-BYqW-9tm.cjs.map} +1 -1
  113. package/dist/{createOpenapiFetchClient-COaPeeQ0.js → createOpenapiFetchClient-DZUOVupy.js} +2 -2
  114. package/dist/{createOpenapiFetchClient-COaPeeQ0.js.map → createOpenapiFetchClient-DZUOVupy.js.map} +1 -1
  115. package/dist/dataScience/index.cjs +2 -2
  116. package/dist/dataScience/index.d.cts +2 -2
  117. package/dist/dataScience/index.d.ts +2 -2
  118. package/dist/dataScience/index.js +2 -2
  119. package/dist/dataScience/types.d.cts +2 -2
  120. package/dist/dataScience/types.d.ts +2 -2
  121. package/dist/{dataScience-D-hyc4GY.cjs → dataScience-B5QxZnvW.cjs} +5 -5
  122. package/dist/{dataScience-D-hyc4GY.cjs.map → dataScience-B5QxZnvW.cjs.map} +1 -1
  123. package/dist/{dataScience-B_BmnB1m.js → dataScience-OXcwdk1p.js} +5 -5
  124. package/dist/{dataScience-B_BmnB1m.js.map → dataScience-OXcwdk1p.js.map} +1 -1
  125. package/dist/dedupe-Cky1gSUu.js +21 -0
  126. package/dist/dedupe-Cky1gSUu.js.map +1 -0
  127. package/dist/dedupe-OSnnst2u.cjs +26 -0
  128. package/dist/dedupe-OSnnst2u.cjs.map +1 -0
  129. package/dist/developerPortal/index.cjs +1 -1
  130. package/dist/developerPortal/index.d.cts +2 -2
  131. package/dist/developerPortal/index.d.ts +2 -2
  132. package/dist/developerPortal/index.js +1 -1
  133. package/dist/developerPortal/types.d.cts +1 -1
  134. package/dist/developerPortal/types.d.ts +1 -1
  135. package/dist/{developerPortalClient-yHFTkKPb.js → developerPortalClient-B1QZ1rYi.js} +6 -8
  136. package/dist/{developerPortalClient-yHFTkKPb.js.map → developerPortalClient-B1QZ1rYi.js.map} +1 -1
  137. package/dist/{developerPortalClient-CutPqoAa.cjs → developerPortalClient-CLPpBksD.cjs} +6 -8
  138. package/dist/{developerPortalClient-CutPqoAa.cjs.map → developerPortalClient-CLPpBksD.cjs.map} +1 -1
  139. package/dist/domain/permissions/index.cjs +9 -30
  140. package/dist/domain/permissions/index.cjs.map +1 -1
  141. package/dist/domain/permissions/index.d.cts +29 -102
  142. package/dist/domain/permissions/index.d.ts +29 -102
  143. package/dist/domain/permissions/index.js +9 -30
  144. package/dist/domain/permissions/index.js.map +1 -1
  145. package/dist/domain/storageTable/index.d.cts +1 -1
  146. package/dist/domain/storageTable/index.d.ts +1 -1
  147. package/dist/editor/index.cjs +2 -2
  148. package/dist/editor/index.cjs.map +1 -1
  149. package/dist/editor/index.d.cts +2 -2
  150. package/dist/editor/index.d.ts +2 -2
  151. package/dist/editor/index.js +2 -2
  152. package/dist/editor/index.js.map +1 -1
  153. package/dist/editor/types.d.cts +1 -1
  154. package/dist/editor/types.d.ts +1 -1
  155. package/dist/encryption/index.cjs +2 -22
  156. package/dist/encryption/index.cjs.map +1 -1
  157. package/dist/encryption/index.d.cts +1 -1
  158. package/dist/encryption/index.d.ts +1 -1
  159. package/dist/encryption/index.js +2 -22
  160. package/dist/encryption/index.js.map +1 -1
  161. package/dist/encryption/types.d.cts +1 -1
  162. package/dist/encryption/types.d.ts +1 -1
  163. package/dist/import/index.cjs +1 -1
  164. package/dist/import/index.d.cts +3 -3
  165. package/dist/import/index.d.ts +3 -3
  166. package/dist/import/index.js +1 -1
  167. package/dist/{import-7YyyD_U_.cjs → import-CNk89mqy.cjs} +3 -3
  168. package/dist/{import-7YyyD_U_.cjs.map → import-CNk89mqy.cjs.map} +1 -1
  169. package/dist/{import-xliONVib.js → import-DiMQCzLa.js} +3 -3
  170. package/dist/{import-xliONVib.js.map → import-DiMQCzLa.js.map} +1 -1
  171. package/dist/{index-1r_CskjU.d.ts → index--ZpnE3YT.d.cts} +3 -3
  172. package/dist/{index-DBklbaTp.d.cts → index-B5w7WlaU.d.cts} +5 -1
  173. package/dist/{index-DBklbaTp.d.ts → index-B5w7WlaU.d.ts} +5 -1
  174. package/dist/{index-C77vTm2K.d.ts → index-BDZvaRud.d.ts} +6 -6
  175. package/dist/{index-KuQ79Mnz.d.ts → index-BVhHt5lx.d.cts} +18 -26
  176. package/dist/{index-NC1dXRTD.d.ts → index-BfqkgPGI.d.cts} +7 -13
  177. package/dist/{index-NC1dXRTD.d.cts → index-BfqkgPGI.d.ts} +7 -13
  178. package/dist/{index-V7XKUQm9.d.cts → index-BgR5zcjJ.d.ts} +18 -26
  179. package/dist/{index-BK-qHT39.d.ts → index-ByRpNVcs.d.cts} +83 -17
  180. package/dist/{index-pXN4LWUX.d.ts → index-C11JSxBY.d.ts} +8 -11
  181. package/dist/{index-GjcJTCbz.d.cts → index-C4TNAA8-.d.cts} +8 -11
  182. package/dist/{index-BMqLPS6S.d.ts → index-CXcWpZQ2.d.cts} +4 -12
  183. package/dist/{index-BMqLPS6S.d.cts → index-CXcWpZQ2.d.ts} +4 -12
  184. package/dist/{index-GfKzh267.d.ts → index-CaaTOANF.d.ts} +395 -297
  185. package/dist/{index-Dx52hNLP.d.cts → index-CcMHJcuP.d.cts} +3 -3
  186. package/dist/{index-DVw4Av4b.d.cts → index-Cvbjp3jx.d.cts} +6 -6
  187. package/dist/{index-DppA4k3b.d.cts → index-Cz0MXhzs.d.cts} +5 -5
  188. package/dist/{index-6Xe81qN3.d.ts → index-D-VMgpGc.d.ts} +5 -5
  189. package/dist/{index-DWf6FXOr.d.cts → index-D7-o-oGa.d.ts} +3 -3
  190. package/dist/{index-CWoEnDJ_.d.cts → index-DCRKjihs.d.ts} +83 -17
  191. package/dist/{kaiAgentClient-CHpULyeG.d.cts → index-DNThyEej.d.cts} +14 -5
  192. package/dist/{index-DXSmFkol.d.cts → index-DOAZmWvh.d.cts} +6 -6
  193. package/dist/{index-BuegqrS1.d.ts → index-D_-4uQF8.d.ts} +3 -3
  194. package/dist/index-DbLFwXgb.d.cts +116 -0
  195. package/dist/{index-De5qUWhp.d.ts → index-DnQTuc6t.d.ts} +6 -6
  196. package/dist/{kaiAgentClient-B5L4gbQ1.d.ts → index-Qb7X6-ph.d.ts} +14 -5
  197. package/dist/{index-CHXnJQ9s.d.cts → index-cWp_V6K5.d.cts} +395 -297
  198. package/dist/index-rwK7GcB2.d.ts +116 -0
  199. package/dist/index.cjs +1498 -901
  200. package/dist/index.cjs.map +1 -1
  201. package/dist/index.d.cts +7 -7
  202. package/dist/index.d.ts +7 -7
  203. package/dist/index.js +1497 -902
  204. package/dist/index.js.map +1 -1
  205. package/dist/isLoginPageRedirect-XPwAOKK3.js +14 -0
  206. package/dist/isLoginPageRedirect-XPwAOKK3.js.map +1 -0
  207. package/dist/isLoginPageRedirect-jQHiLrG7.cjs +19 -0
  208. package/dist/isLoginPageRedirect-jQHiLrG7.cjs.map +1 -0
  209. package/dist/{jobStatus-0_Y3Sr4i.cjs → jobStatus-BMlsyXWI.cjs} +19 -45
  210. package/dist/jobStatus-BMlsyXWI.cjs.map +1 -0
  211. package/dist/{jobStatus-PSZJMTiA.js → jobStatus-CfRtsIpv.js} +19 -45
  212. package/dist/jobStatus-CfRtsIpv.js.map +1 -0
  213. package/dist/kaiAgent/index.cjs +1 -1
  214. package/dist/kaiAgent/index.d.cts +3 -2
  215. package/dist/kaiAgent/index.d.ts +3 -2
  216. package/dist/kaiAgent/index.js +1 -1
  217. package/dist/kaiAgent/types.d.cts +2 -2
  218. package/dist/kaiAgent/types.d.ts +2 -2
  219. package/dist/{kaiAgent-CcT2oNip.js → kaiAgent-Dp20HLTh.js} +32 -11
  220. package/dist/kaiAgent-Dp20HLTh.js.map +1 -0
  221. package/dist/{kaiAgent-DaB6UCsh.cjs → kaiAgent-QNoeVKPs.cjs} +32 -11
  222. package/dist/kaiAgent-QNoeVKPs.cjs.map +1 -0
  223. package/dist/kaiMemory-CClSPInt.cjs +289 -0
  224. package/dist/kaiMemory-CClSPInt.cjs.map +1 -0
  225. package/dist/kaiMemory-D0Y_16U4.js +260 -0
  226. package/dist/kaiMemory-D0Y_16U4.js.map +1 -0
  227. package/dist/management/index.cjs +1 -1
  228. package/dist/management/index.d.cts +1 -1
  229. package/dist/management/index.d.ts +1 -1
  230. package/dist/management/index.js +1 -1
  231. package/dist/management/types.d.cts +2 -2
  232. package/dist/management/types.d.ts +2 -2
  233. package/dist/{management-DeZiQSlw.cjs → management-CCY0IYnq.cjs} +59 -24
  234. package/dist/management-CCY0IYnq.cjs.map +1 -0
  235. package/dist/{management-ckdnu1dA.js → management-DvmPiG64.js} +59 -24
  236. package/dist/management-DvmPiG64.js.map +1 -0
  237. package/dist/metastore/index.cjs +1 -1
  238. package/dist/metastore/index.d.cts +1 -1
  239. package/dist/metastore/index.d.ts +1 -1
  240. package/dist/metastore/index.js +1 -1
  241. package/dist/metastore/types.d.cts +2 -2
  242. package/dist/metastore/types.d.ts +2 -2
  243. package/dist/{metastore-B0PolCjQ.js → metastore-BycJxe7A.js} +14 -8
  244. package/dist/metastore-BycJxe7A.js.map +1 -0
  245. package/dist/{metastore-9AGrwjmN.cjs → metastore-XtWciCZT.cjs} +14 -8
  246. package/dist/metastore-XtWciCZT.cjs.map +1 -0
  247. package/dist/microsoftGraph/index.cjs +2 -2
  248. package/dist/microsoftGraph/index.d.cts +2 -2
  249. package/dist/microsoftGraph/index.d.ts +2 -2
  250. package/dist/microsoftGraph/index.js +2 -2
  251. package/dist/microsoftGraph/types.d.cts +1 -1
  252. package/dist/microsoftGraph/types.d.ts +1 -1
  253. package/dist/middleware-CBwrtgQd.js +34 -0
  254. package/dist/middleware-CBwrtgQd.js.map +1 -0
  255. package/dist/middleware-IjYx3d5u.cjs +45 -0
  256. package/dist/middleware-IjYx3d5u.cjs.map +1 -0
  257. package/dist/notifications/index.cjs +4 -4
  258. package/dist/notifications/index.d.cts +2 -2
  259. package/dist/notifications/index.d.ts +2 -2
  260. package/dist/notifications/index.js +4 -4
  261. package/dist/notifications/types.d.cts +1 -1
  262. package/dist/notifications/types.d.ts +1 -1
  263. package/dist/oauth/index.cjs +1 -1
  264. package/dist/oauth/index.d.cts +2 -2
  265. package/dist/oauth/index.d.ts +2 -2
  266. package/dist/oauth/index.js +1 -1
  267. package/dist/oauth/types.d.cts +1 -1
  268. package/dist/oauth/types.d.ts +1 -1
  269. package/dist/{oauth-DNtv4Ihb.cjs → oauth--2p8jkJf.cjs} +5 -5
  270. package/dist/{oauth-DNtv4Ihb.cjs.map → oauth--2p8jkJf.cjs.map} +1 -1
  271. package/dist/{oauth-BnHVf4cB.js → oauth-l5zE39cD.js} +5 -5
  272. package/dist/{oauth-BnHVf4cB.js.map → oauth-l5zE39cD.js.map} +1 -1
  273. package/dist/omnisearch/index.cjs +6 -14
  274. package/dist/omnisearch/index.cjs.map +1 -1
  275. package/dist/omnisearch/index.d.cts +6 -14
  276. package/dist/omnisearch/index.d.ts +6 -14
  277. package/dist/omnisearch/index.js +6 -14
  278. package/dist/omnisearch/index.js.map +1 -1
  279. package/dist/omnisearch/types.d.cts +1 -1
  280. package/dist/omnisearch/types.d.ts +1 -1
  281. package/dist/{project-DCHOxRWd.d.ts → project-B15gStbM.d.ts} +2 -2
  282. package/dist/{project-BRpzv3yE.d.cts → project-cHKuGvqJ.d.cts} +2 -2
  283. package/dist/queryService/index.cjs +1 -1
  284. package/dist/queryService/index.d.cts +1 -1
  285. package/dist/queryService/index.d.ts +1 -1
  286. package/dist/queryService/index.js +1 -1
  287. package/dist/queryService/types.d.cts +1 -1
  288. package/dist/queryService/types.d.ts +1 -1
  289. package/dist/{queryService-j3XZ2mX6.js → queryService-CCOYbRbw.js} +6 -6
  290. package/dist/{queryService-j3XZ2mX6.js.map → queryService-CCOYbRbw.js.map} +1 -1
  291. package/dist/{queryService-BVwD6Vmc.cjs → queryService-CQzclHdL.cjs} +6 -6
  292. package/dist/{queryService-BVwD6Vmc.cjs.map → queryService-CQzclHdL.cjs.map} +1 -1
  293. package/dist/queue/index.cjs +1 -1
  294. package/dist/queue/index.d.cts +3 -3
  295. package/dist/queue/index.d.ts +3 -3
  296. package/dist/queue/index.js +1 -1
  297. package/dist/queue/types.d.cts +1 -1
  298. package/dist/queue/types.d.ts +1 -1
  299. package/dist/{queue-Dagl0sdP.js → queue-Cowbg6bR.js} +8 -11
  300. package/dist/queue-Cowbg6bR.js.map +1 -0
  301. package/dist/{queue-e3rMWbmK.cjs → queue-UG_BWKIC.cjs} +8 -11
  302. package/dist/queue-UG_BWKIC.cjs.map +1 -0
  303. package/dist/scheduler/index.cjs +4 -4
  304. package/dist/scheduler/index.d.cts +2 -2
  305. package/dist/scheduler/index.d.ts +2 -2
  306. package/dist/scheduler/index.js +4 -4
  307. package/dist/scheduler/types.d.cts +1 -1
  308. package/dist/scheduler/types.d.ts +1 -1
  309. package/dist/sdk/configurations/index.cjs +1 -1
  310. package/dist/sdk/configurations/index.d.cts +11 -11
  311. package/dist/sdk/configurations/index.d.ts +11 -11
  312. package/dist/sdk/configurations/index.js +1 -1
  313. package/dist/sdk/developerPortal/index.cjs +10 -18
  314. package/dist/sdk/developerPortal/index.cjs.map +1 -1
  315. package/dist/sdk/developerPortal/index.d.cts +7 -15
  316. package/dist/sdk/developerPortal/index.d.ts +7 -15
  317. package/dist/sdk/developerPortal/index.js +7 -15
  318. package/dist/sdk/developerPortal/index.js.map +1 -1
  319. package/dist/sdk/kaiMemory/index.cjs +7 -0
  320. package/dist/sdk/kaiMemory/index.d.cts +41 -0
  321. package/dist/sdk/kaiMemory/index.d.ts +41 -0
  322. package/dist/sdk/kaiMemory/index.js +2 -0
  323. package/dist/sdk/kaiMemory/types.cjs +0 -0
  324. package/dist/sdk/kaiMemory/types.d.cts +2 -0
  325. package/dist/sdk/kaiMemory/types.d.ts +2 -0
  326. package/dist/sdk/kaiMemory/types.js +1 -0
  327. package/dist/sdk/queryService/index.cjs +2 -2
  328. package/dist/sdk/queryService/index.d.cts +1 -1
  329. package/dist/sdk/queryService/index.d.ts +1 -1
  330. package/dist/sdk/queryService/index.js +2 -2
  331. package/dist/sdk/semanticLayer/index.cjs +1 -1
  332. package/dist/sdk/semanticLayer/index.d.cts +16 -40
  333. package/dist/sdk/semanticLayer/index.d.ts +16 -40
  334. package/dist/sdk/semanticLayer/index.js +1 -1
  335. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  336. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  337. package/dist/sdk/storage/index.cjs +0 -5
  338. package/dist/sdk/storage/index.cjs.map +1 -1
  339. package/dist/sdk/storage/index.d.cts +2 -2
  340. package/dist/sdk/storage/index.d.ts +2 -2
  341. package/dist/sdk/storage/index.js +1 -5
  342. package/dist/sdk/storage/index.js.map +1 -1
  343. package/dist/sdk/tag/index.cjs +1 -1
  344. package/dist/sdk/tag/index.d.cts +3 -3
  345. package/dist/sdk/tag/index.d.ts +3 -3
  346. package/dist/sdk/tag/index.js +1 -1
  347. package/dist/sdk/tag/types.d.cts +1 -1
  348. package/dist/sdk/tag/types.d.ts +1 -1
  349. package/dist/sdk/vault/index.cjs +1 -1
  350. package/dist/sdk/vault/index.d.cts +1 -1
  351. package/dist/sdk/vault/index.d.ts +1 -1
  352. package/dist/sdk/vault/index.js +1 -1
  353. package/dist/{semanticLayer-9uTaU7UT.cjs → semanticLayer-CKDVkU56.cjs} +62 -183
  354. package/dist/semanticLayer-CKDVkU56.cjs.map +1 -0
  355. package/dist/{semanticLayer-6_gtFxDu.js → semanticLayer-pYy082Ju.js} +62 -183
  356. package/dist/semanticLayer-pYy082Ju.js.map +1 -0
  357. package/dist/status/index.cjs +1 -1
  358. package/dist/status/index.d.cts +1 -1
  359. package/dist/status/index.d.ts +1 -1
  360. package/dist/status/index.js +1 -1
  361. package/dist/storage/index.cjs +5 -5
  362. package/dist/storage/index.d.cts +2 -2
  363. package/dist/storage/index.d.ts +2 -2
  364. package/dist/storage/index.js +5 -5
  365. package/dist/storage/types.d.cts +2 -2
  366. package/dist/storage/types.d.ts +2 -2
  367. package/dist/{storage-Ob1LUIDq.js → storage-CZQHZcXG.js} +109 -302
  368. package/dist/storage-CZQHZcXG.js.map +1 -0
  369. package/dist/{storage-HFUdEy7P.cjs → storage-JinL1y1s.cjs} +109 -302
  370. package/dist/storage-JinL1y1s.cjs.map +1 -0
  371. package/dist/stream/index.cjs +3 -3
  372. package/dist/stream/index.d.cts +2 -2
  373. package/dist/stream/index.d.ts +2 -2
  374. package/dist/stream/index.js +3 -3
  375. package/dist/stream/types.d.cts +1 -1
  376. package/dist/stream/types.d.ts +1 -1
  377. package/dist/syncActions/index.cjs +1 -1
  378. package/dist/syncActions/index.d.cts +1 -1
  379. package/dist/syncActions/index.d.ts +1 -1
  380. package/dist/syncActions/index.js +1 -1
  381. package/dist/syncActions/types.d.cts +2 -2
  382. package/dist/syncActions/types.d.ts +2 -2
  383. package/dist/{syncActions-B3NS5a0g.js → syncActions-ChNWuhYA.js} +260 -111
  384. package/dist/syncActions-ChNWuhYA.js.map +1 -0
  385. package/dist/{syncActions-D2DhY6pP.cjs → syncActions-mFlF16cl.cjs} +260 -111
  386. package/dist/syncActions-mFlF16cl.cjs.map +1 -0
  387. package/dist/{tag-CsoOZWB_.cjs → tag-DHS_soa7.cjs} +2 -2
  388. package/dist/{tag-CsoOZWB_.cjs.map → tag-DHS_soa7.cjs.map} +1 -1
  389. package/dist/{tag-DCsoewjL.js → tag-hh-1nhNr.js} +2 -2
  390. package/dist/{tag-DCsoewjL.js.map → tag-hh-1nhNr.js.map} +1 -1
  391. package/dist/telemetry/index.cjs +7 -11
  392. package/dist/telemetry/index.cjs.map +1 -1
  393. package/dist/telemetry/index.d.cts +5 -9
  394. package/dist/telemetry/index.d.ts +5 -9
  395. package/dist/telemetry/index.js +7 -11
  396. package/dist/telemetry/index.js.map +1 -1
  397. package/dist/telemetry/types.d.cts +1 -1
  398. package/dist/telemetry/types.d.ts +1 -1
  399. package/dist/{types-DqxIx9Pi.d.cts → types-6kuMW4JW.d.cts} +2 -2
  400. package/dist/{types-Ct0YPy2w.d.ts → types-B2w2TtSA.d.ts} +3 -3
  401. package/dist/{types-M46WuBSm.d.cts → types-B61aCifg.d.cts} +2 -2
  402. package/dist/{types-COL1kVEB.d.cts → types-B8N_k79M.d.cts} +2 -2
  403. package/dist/{types-Jw10xuOW.d.cts → types-BIECJYun.d.ts} +171 -44
  404. package/dist/{types-DZk3XHiN.d.cts → types-BLNB882w.d.cts} +3 -3
  405. package/dist/{types-BEe50G2r.d.cts → types-BPy5Ozee.d.cts} +2 -2
  406. package/dist/{types-gi4Eay19.d.ts → types-BS4jwuMi.d.ts} +7 -15
  407. package/dist/{types-BrYkBQo4.d.ts → types-BTK7Bv3n.d.cts} +171 -44
  408. package/dist/{types-D6UmMa6E.d.ts → types-BZDV8DZk.d.ts} +3 -3
  409. package/dist/{types-Cz83RiVu.d.cts → types-B_iLJlp4.d.ts} +255 -12
  410. package/dist/{types-CmF3pR2n.d.cts → types-BiMahEK8.d.cts} +91 -237
  411. package/dist/{types-BH5LLeJy.d.ts → types-Bl03Cg2n.d.cts} +255 -12
  412. package/dist/{types-bGQb4Jtl.d.cts → types-ByLH46Dt.d.cts} +13 -8
  413. package/dist/{types-g3vU7hcg.d.cts → types-Bydx6ga_.d.cts} +2 -2
  414. package/dist/{types-B95uNQ9o.d.ts → types-CKmTZSPG.d.ts} +91 -237
  415. package/dist/{types-D_j2Uq5X.d.cts → types-CMzQSHAQ.d.cts} +3 -3
  416. package/dist/{types-N3EChotg.d.cts → types-CP_LBmw3.d.cts} +2 -2
  417. package/dist/{types-CW6lCqrC.d.cts → types-CQFOCQzk.d.ts} +230 -43
  418. package/dist/{types-zZBxJ0P-.d.ts → types-CWyXTMwy.d.ts} +2 -2
  419. package/dist/{types-CPB-eF82.d.ts → types-CZJlLCbA.d.ts} +2 -2
  420. package/dist/{types-l9o4gFsI.d.ts → types-CZXPu3gn.d.ts} +2 -2
  421. package/dist/{types-BztF4HeB.d.ts → types-CaOtNjSZ.d.ts} +6 -13
  422. package/dist/{types-BTWIPEiU.d.ts → types-CfwqVkEA.d.ts} +2 -2
  423. package/dist/types-Cg14ncdV.d.ts +63 -0
  424. package/dist/{types-BsxLGDoC.d.cts → types-CoJVrRAD.d.ts} +2 -2
  425. package/dist/{types-DYzJ6K2e.d.ts → types-CqwHP7mN.d.cts} +230 -43
  426. package/dist/{types-CKiW3n6v.d.ts → types-D3wcs4tp.d.ts} +2 -2
  427. package/dist/{types-DOyNe7oe.d.cts → types-DDOa07rU.d.cts} +7 -15
  428. package/dist/{types-BW2BXUB4.d.cts → types-DE9hgr7i.d.cts} +2 -2
  429. package/dist/{types-BOqD3Hqy.d.cts → types-DEzW1CfI.d.cts} +3 -3
  430. package/dist/{types-OaD-cbbl.d.ts → types-DIiOMV-t.d.ts} +3 -3
  431. package/dist/{types-B-P4vQe0.d.cts → types-DKc1gmd9.d.ts} +857 -131
  432. package/dist/{types-BrPlv-NS.d.ts → types-DRCMBt89.d.ts} +3 -3
  433. package/dist/{types-BQvv4RaI.d.cts → types-DUMal2E-.d.cts} +5 -8
  434. package/dist/types-DWiLcrxt.d.cts +63 -0
  435. package/dist/{types-DNxOHnZI.d.cts → types-Dd31Lw4S.d.cts} +2 -2
  436. package/dist/{types-Dmu-8g4O.d.ts → types-DekYAlA-.d.ts} +3 -3
  437. package/dist/{types-B2U9cFcx.d.ts → types-DgJeO9Nd.d.ts} +2 -2
  438. package/dist/{types-nrviNdzZ.d.ts → types-DicSaNwq.d.ts} +2 -2
  439. package/dist/{types-Crhy0c9m.d.cts → types-DinIJ1D_.d.cts} +40 -11
  440. package/dist/{types-DhDNS-5B.d.ts → types-DlQw6FCi.d.ts} +13 -8
  441. package/dist/{types-_RhBCj4_.d.cts → types-DoZtE9tz.d.cts} +3 -3
  442. package/dist/{types-Bxhh2SJr.d.ts → types-DrvKfXXd.d.cts} +2 -2
  443. package/dist/{types-DPl8pZsY.d.ts → types-Dtuvhm3K.d.cts} +857 -131
  444. package/dist/{types-CcrvrAJX.d.ts → types-DwVSj-Da.d.ts} +5 -8
  445. package/dist/{types-C2vefB4D.d.ts → types-FwRmjsNN.d.ts} +10 -34
  446. package/dist/{types-C0_2KZ-A.d.ts → types-RbrfiY8T.d.ts} +2 -2
  447. package/dist/{types-DfvdbRPL.d.ts → types-WZBztugL.d.ts} +2 -2
  448. package/dist/{types-52irAt99.d.cts → types-YHUEArkR.d.cts} +2 -2
  449. package/dist/{types-fX4gbxfV.d.cts → types-bc-4z_gc.d.cts} +10 -34
  450. package/dist/{types-3eUgOA7I.d.cts → types-ePSqbXRr.d.cts} +6 -13
  451. package/dist/{types-DrqKICcK.d.ts → types-n4PTnLii.d.ts} +40 -11
  452. package/dist/{types-DXskkNp8.d.cts → types-pvQzbgNE.d.cts} +3 -3
  453. package/dist/{types-DajzGOKB.d.ts → types-q-1r_9d1.d.ts} +2 -2
  454. package/dist/{types-D8Rrz51O.d.cts → types-tKkeLa2B.d.cts} +2 -2
  455. package/dist/{validateConnectionStatus-828HV8WL.js → validateConnectionStatus-BEGu8wXT.js} +6 -10
  456. package/dist/validateConnectionStatus-BEGu8wXT.js.map +1 -0
  457. package/dist/{validateConnectionStatus-CvBKyeDO.cjs → validateConnectionStatus-BEYkQpu9.cjs} +6 -10
  458. package/dist/validateConnectionStatus-BEYkQpu9.cjs.map +1 -0
  459. package/dist/vault/index.cjs +4 -4
  460. package/dist/vault/index.d.cts +1 -1
  461. package/dist/vault/index.d.ts +1 -1
  462. package/dist/vault/index.js +4 -4
  463. package/dist/vault/types.d.cts +1 -1
  464. package/dist/vault/types.d.ts +1 -1
  465. package/package.json +32 -4
  466. package/surface/apps.md +3 -3
  467. package/surface/auth.md +13 -6
  468. package/surface/chat.md +6 -6
  469. package/surface/kaiAgent.md +9 -8
  470. package/surface/management.md +14 -5
  471. package/surface/metastore.md +2 -2
  472. package/surface/queue.md +3 -3
  473. package/surface/sdk.md +13 -3
  474. package/surface/storage.md +6 -6
  475. package/surface/syncActions.md +16 -0
  476. package/dist/ValidationError-BekhphAq.js +0 -48
  477. package/dist/ValidationError-BekhphAq.js.map +0 -1
  478. package/dist/ValidationError-CLVJCCwH.cjs.map +0 -1
  479. package/dist/authClient-8yU1last.cjs.map +0 -1
  480. package/dist/authClient-BTo4Afm6.js.map +0 -1
  481. package/dist/componentId-DkyQ8PM0.cjs.map +0 -1
  482. package/dist/componentId-vJz-kWs6.js.map +0 -1
  483. package/dist/concurrent-CH9fbNr3.js.map +0 -1
  484. package/dist/concurrent-tbiIa0UL.cjs.map +0 -1
  485. package/dist/configurations-BVvcimzo.js.map +0 -1
  486. package/dist/configurations-CyFF9Dtu.cjs.map +0 -1
  487. package/dist/configurations-VtNE0nrT.js.map +0 -1
  488. package/dist/configurations-zkNjr73Q.cjs.map +0 -1
  489. package/dist/createFetchClient-BlgPbjFj.cjs.map +0 -1
  490. package/dist/createFetchClient-C-cadpBx.js.map +0 -1
  491. package/dist/credential-CAulvfZ-.cjs +0 -47
  492. package/dist/credential-CAulvfZ-.cjs.map +0 -1
  493. package/dist/credential-DWXbo4IX.js +0 -36
  494. package/dist/credential-DWXbo4IX.js.map +0 -1
  495. package/dist/dedupe-CiskLkGR.cjs +0 -30
  496. package/dist/dedupe-CiskLkGR.cjs.map +0 -1
  497. package/dist/dedupe-DYIHgZoG.js +0 -25
  498. package/dist/dedupe-DYIHgZoG.js.map +0 -1
  499. package/dist/index-3LUk2rpD.d.ts +0 -65
  500. package/dist/index-CW3Pj7DY.d.cts +0 -65
  501. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs +0 -25
  502. package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs.map +0 -1
  503. package/dist/isLoginPageRedirect-hyPqyWNX.js +0 -20
  504. package/dist/isLoginPageRedirect-hyPqyWNX.js.map +0 -1
  505. package/dist/jobStatus-0_Y3Sr4i.cjs.map +0 -1
  506. package/dist/jobStatus-PSZJMTiA.js.map +0 -1
  507. package/dist/kaiAgent-CcT2oNip.js.map +0 -1
  508. package/dist/kaiAgent-DaB6UCsh.cjs.map +0 -1
  509. package/dist/management-DeZiQSlw.cjs.map +0 -1
  510. package/dist/management-ckdnu1dA.js.map +0 -1
  511. package/dist/metastore-9AGrwjmN.cjs.map +0 -1
  512. package/dist/metastore-B0PolCjQ.js.map +0 -1
  513. package/dist/queue-Dagl0sdP.js.map +0 -1
  514. package/dist/queue-e3rMWbmK.cjs.map +0 -1
  515. package/dist/semanticLayer-6_gtFxDu.js.map +0 -1
  516. package/dist/semanticLayer-9uTaU7UT.cjs.map +0 -1
  517. package/dist/storage-HFUdEy7P.cjs.map +0 -1
  518. package/dist/storage-Ob1LUIDq.js.map +0 -1
  519. package/dist/syncActions-B3NS5a0g.js.map +0 -1
  520. package/dist/syncActions-D2DhY6pP.cjs.map +0 -1
  521. package/dist/validateConnectionStatus-828HV8WL.js.map +0 -1
  522. package/dist/validateConnectionStatus-CvBKyeDO.cjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { IStringifyOptions } from "qs";
2
1
  import * as z$1 from "zod";
2
+ import { IStringifyOptions } from "qs";
3
3
  //#region src/errors/ApiError.d.ts
4
4
  declare class ApiError extends Error {
5
5
  response: Response;
@@ -17,8 +17,10 @@ type ParseAs = 'auto' | 'text' | 'json' | 'blob';
17
17
  type ValidateStatusFn = (options: ApiResponse) => boolean | ApiError;
18
18
  type CustomRequestInit = Omit<RequestInit, 'method' | 'body'>;
19
19
  type FetchFn = typeof fetch;
20
+ type BaseUrlFn = () => Promise<string>;
21
+ type BaseUrl = string | BaseUrlFn;
20
22
  type CreateFetchClientOptions = {
21
- baseUrl: string;
23
+ baseUrl: BaseUrl;
22
24
  validateStatus?: ValidateStatusFn;
23
25
  middlewares?: MiddlewareFn[];
24
26
  fetchFn?: FetchFn;
@@ -48,13 +50,9 @@ type MiddlewareFn = (next: CoreFetchFn) => CoreFetchFn;
48
50
  /**
49
51
  * A successful response that carried an HTML page instead of the endpoint's payload.
50
52
  *
51
- * - Connection answers an expired session with a 302 to the login screen, and `fetch` follows it,
52
- * so the request resolves `200 text/html`.
53
- * - Without this the page reaches the caller as a string typed as the endpoint's DTO and fails much
54
- * later, wherever the value is first read — an Immutable accessor on a string, modules away.
55
- * - The message stays constant so Sentry groups every occurrence together; `request` and `response`
56
- * carry the per-request detail.
57
- * - Raised only by the clients that opt in: some APIs do serve HTML from a 200 on purpose.
53
+ * - An expired session 302s to the login page; `fetch` follows it to `200 text/html`.
54
+ * - Constant message so Sentry groups it; `request`/`response` carry the detail.
55
+ * - Opt-in per client: some APIs serve HTML from a 200 on purpose.
58
56
  */
59
57
  declare class HtmlResponseError extends ApiError {
60
58
  constructor(res: ApiResponse);
@@ -70,14 +68,10 @@ declare class ManagementClientAuthError extends ApiError {
70
68
  //#endregion
71
69
  //#region src/errors/ValidationError.d.ts
72
70
  /**
73
- * A payload the SDK refused to accept — an input a caller assembled wrongly, or a response that did
74
- * not match the shape the endpoint is documented to return.
71
+ * A rejected SDK input or a response not matching its documented shape.
75
72
  *
76
- * It exists so a `ZodError` never leaves the package. `ZodError.message` is `JSON.stringify` of its
77
- * issue list — over a kilobyte for two problems — and a consumer that renders a caught error's
78
- * message puts that blob in front of a user. `message` here is a single line built for exactly that
79
- * rendering, while `issues` keeps the structured detail for anyone inspecting the failure rather
80
- * than displaying it.
73
+ * - Replaces `ZodError`, whose `message` is a JSON blob; `message` here is one user-facing line.
74
+ * - `issues` keeps the structured detail.
81
75
  */
82
76
  declare class ValidationError extends Error {
83
77
  issues: z$1.core.$ZodIssue[];
@@ -87,17 +81,15 @@ declare const isValidationError: (error: unknown) => error is ValidationError;
87
81
  /**
88
82
  * One line per issue, prefixed by the field it belongs to.
89
83
  *
90
- * - Not `z.prettifyError`, which formats for a terminal — its `✖`/`→` glyphs and newlines survive a
91
- * log but collapse into one run-on line in HTML, where most of these end up.
92
- * - Exported for the boundaries that degrade instead of throwing: a read that drops one malformed
93
- * element still owes a reason, and it needs the same one line without a `ValidationError`.
94
- * - Says which field and what is wrong with it, never the value — so it is safe to log.
84
+ * - Not `z.prettifyError`: its terminal glyphs and newlines collapse in HTML.
85
+ * - Exported for boundaries that drop malformed elements instead of throwing.
86
+ * - Never includes the value, so it is safe to log.
95
87
  */
96
88
  declare const formatValidationIssues: (issues: readonly z$1.core.$ZodIssue[]) => string;
97
89
  /**
98
- * Parses with `schema`, converting a `ZodError` into a {@link ValidationError}. Use it instead of a
99
- * bare `schema.parse()` anywhere the value crosses the package boundary — every client input and
100
- * every response body.
90
+ * Parses with `schema`, throwing a {@link ValidationError} instead of a `ZodError`.
91
+ *
92
+ * - Use instead of `schema.parse()` for every client input and response body.
101
93
  */
102
94
  declare const parseOrThrow: <T extends z$1.ZodType>(schema: T, value: unknown) => z$1.output<T>;
103
95
  //#endregion
@@ -245,5 +237,5 @@ type FetchClient<Paths extends OpenapiPaths<Paths>> = {
245
237
  };
246
238
  declare const createOpenapiFetchClient: <Paths extends OpenapiPaths<Paths>>(defaultOptions: CreateFetchClientOptions) => FetchClient<Paths>;
247
239
  //#endregion
248
- export { HtmlResponseError as C, MiddlewareFn as D, HttpMethod as E, ValidateStatusFn as O, ManagementClientAuthError as S, ApiResponse as T, isTimeoutError as _, OpenapiParametersType as a, isValidationError as b, OpenapiReturnType as c, HttpContentType as d, HttpHeader as f, isFetchClientError as g, isApiError as h, OpenapiFormDataType as i, ApiError as k, UploadProgress as l, isAbortError as m, ArrayElement as n, OpenapiPathType as o, FetchClientError as p, OpenapiBodyType as r, OpenapiQueryType as s, createOpenapiFetchClient as t, createGenericFetchClient as u, ValidationError as v, isHtmlResponseError as w, parseOrThrow as x, formatValidationIssues as y };
249
- //# sourceMappingURL=index-V7XKUQm9.d.cts.map
240
+ export { ApiError as A, HtmlResponseError as C, HttpMethod as D, BaseUrl as E, MiddlewareFn as O, ManagementClientAuthError as S, ApiResponse as T, isTimeoutError as _, OpenapiParametersType as a, isValidationError as b, OpenapiReturnType as c, HttpContentType as d, HttpHeader as f, isFetchClientError as g, isApiError as h, OpenapiFormDataType as i, ValidateStatusFn as k, UploadProgress as l, isAbortError as m, ArrayElement as n, OpenapiPathType as o, FetchClientError as p, OpenapiBodyType as r, OpenapiQueryType as s, createOpenapiFetchClient as t, createGenericFetchClient as u, ValidationError as v, isHtmlResponseError as w, parseOrThrow as x, formatValidationIssues as y };
241
+ //# sourceMappingURL=index-BgR5zcjJ.d.ts.map
@@ -1,22 +1,56 @@
1
- import { D as MiddlewareFn, S as ManagementClientAuthError, t as createOpenapiFetchClient, u as createGenericFetchClient } from "./index-KuQ79Mnz.js";
2
- import { n as ClientInitOptions } from "./types-Ct0YPy2w.js";
3
- import { $ as RemoveProjectUserPath, $n as Feature, $t as MaintainerDetail, A as GetProjectPath, At as ConfirmProgrammaticProjectResult, B as ProjectBase, C as CreateProjectFeatureBody, Ct as UserDetail, D as DeleteProjectInvitationPath, E as CreateProjectInvitationPath, En as OrganizationInvitationPath, Et as UserOrganizationMembership, F as ListProjectJoinRequestsPath, Ft as StripeCustomer, Gn as RotateFileStorageAbsInput, Hn as FileStorageGcs, I as ListProjectUsersPath, In as UpdateOrganizationInput, Jn as RotateFileStorageGcsInput, Jt as CreateMaintainerOrganizationInput, K as ProjectMetadataItem, Kt as CreateMaintainerInvitationInput, Ln as CreateFileStorageAbsBody, Lt as TopUpSetting, Mn as OrganizationUserPath, Mt as CreditPaymentRequest, N as JoinProjectInput, Nt as CreditPurchase, O as DeleteProjectMetadataPath, Ot as UserProjectMembership, P as ListProjectInvitationsPath, Pn as SetOrganizationMetadataInput, Pt as PayAsYouGoBillingConfiguration, Q as RemoveProjectTemplateFeaturePath, Qt as Maintainer, R as MoveProjectInput, Rn as CreateFileStorageGcsBody, Rt as UpdateStripeCustomerBody, Sn as CreateOrganizationProjectInput, St as User, T as CreateProjectInvitationBody, Tt as UserMaintainerMembership, Ut as CompleteSamlSetupInput, Vt as AddMaintainerUserInput, W as ProjectJoinRequestPath, Wt as CreateMaintainerBody, X as RemoveProjectFeaturePath, Xt as CreateSamlConfigInput, Z as RemoveProjectLimitPath, Zn as RotateFileStorageS3Input, _ as AddProjectUserPath, _n as AddOrganizationUserInput, _t as RemoveUserFeaturePath, a as CreateBigqueryStorageBackendBody, an as MaintainerUserPath, bn as CreateOrganizationInvitationInput, c as StorageBackend, cn as SamlConfigPath, ct as SetProjectMetadataPath, dn as SetMaintainerMetadataInput, dr as paths, er as FeatureAdmin, ft as UpdateProjectInput, g as AddProjectUserBody, gt as GetUsersQuery, h as UpdateStorageBackendInput, hn as UpdateSamlConfigInput, ht as DeleteUserMetadataPath, in as MaintainerUser, it as SetProjectDisabledInput, j as GetProjectReviewersPath, jt as CreatePaymentRequestBody, k as GetProjectMetadataPath, kn as OrganizationMetadataItemPath, kt as ConfirmProgrammaticProjectPayload, lt as SetProjectReviewersBody, mt as AddUserFeaturePath, n as ActivateUiAppVersionPath, nn as MaintainerMetadataItemPath, nt as Reviewer, o as CreateSnowflakeStorageBackendBody, on as MetadataItem, or as DeletedProjectsListQuery, ot as SetProjectLimitsInput, p as UpdateBigqueryStorageBackendInput, pn as UpdateMaintainerInput, pt as AddUserFeatureBody, r as RegisterUiAppBody, rr as GetAllFeaturesQuery, s as GetStorageBackendProjectsQuery, st as SetProjectMetadataBody, tn as MaintainerInvitationPath, tr as FeatureProject, tt as RequestProjectAccessInput, ut as SetProjectReviewersPath, w as CreateProjectFeaturePath, wn as OrganizationDetail, wt as UserListItem, x as ChangeProjectUserRoleInput, xt as UpdateUserInput, y as AssignProjectTemplateFeatureInput, yt as SetUserMetadataInput, z as Project, zn as CreateFileStorageS3Body, zt as UpdateTopUpSettingBody } from "./types-DPl8pZsY.js";
1
+ import { O as MiddlewareFn, S as ManagementClientAuthError, t as createOpenapiFetchClient, u as createGenericFetchClient } from "./index-BVhHt5lx.cjs";
2
+ import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
3
+ import { A as CreateProjectInvitationPath, An as OrganizationInvitationPath, At as UserOrganizationMembership, B as ListProjectUsersPath, Bn as UpdateOrganizationInput, C as AssignProjectTemplateFeatureInput, Ct as SetUserMetadataInput, D as CreateProjectFeatureBody, Dt as UserDetail, En as CreateOrganizationProjectInput, Et as User, F as GetProjectReviewersPath, Ft as CreatePaymentRequestBody, Gt as AddMaintainerUserInput, H as MoveProjectInput, Hn as CreateFileStorageGcsBody, Ht as UpdateStripeCustomerBody, In as OrganizationUserPath, It as CreditPaymentRequest, J as ProjectJoinRequestPath, Jt as CreateMaintainerBody, Kn as FileStorageGcs, L as JoinProjectInput, Lt as CreditPurchase, M as DeleteProjectMetadataPath, Mt as UserProjectMembership, N as GetProjectMetadataPath, Nn as OrganizationMetadataItemPath, Nt as ConfirmProgrammaticProjectPayload, O as CreateProjectFeaturePath, On as OrganizationDetail, Ot as UserListItem, P as GetProjectPath, Pt as ConfirmProgrammaticProjectResult, Qn as RotateFileStorageGcsInput, Qt as CreateMaintainerOrganizationInput, R as ListProjectInvitationsPath, Rn as SetOrganizationMetadataInput, Rt as PayAsYouGoBillingConfiguration, T as ChangeProjectUserRoleInput, Tt as UpdateUserInput, U as Project, Un as CreateFileStorageS3Body, Ut as UpdateTopUpSettingBody, Vn as CreateFileStorageAbsBody, Vt as TopUpSetting, W as ProjectBase, X as ProjectMetadataItem, Xt as CreateMaintainerInvitationInput, Yn as RotateFileStorageAbsInput, _ as UpdateBigqueryStorageBackendInput, _n as UpdateMaintainerInput, _r as CreateApplicationTokenBody, _t as AddUserFeatureBody, a as UiApp, an as MaintainerInvitationPath, ar as FeatureProject, at as RequestProjectAccessInput, b as AddProjectUserBody, bt as GetUsersQuery, cn as MaintainerUser, ct as SetProjectDisabledInput, d as GetStorageBackendProjectsQuery, dt as SetProjectMetadataBody, en as CreateSamlConfigInput, et as RemoveProjectFeaturePath, f as StorageBackend, fn as SamlConfigPath, ft as SetProjectMetadataPath, gt as UpdateProjectInput, hn as SetMaintainerMetadataInput, i as RenameUiAppBody, ir as FeatureAdmin, j as DeleteProjectInvitationPath, k as CreateProjectInvitationBody, kt as UserMaintainerMembership, l as CreateBigqueryStorageBackendBody, ln as MaintainerUserPath, mt as SetProjectReviewersPath, n as GetUiAppsQuery, nn as Maintainer, nt as RemoveProjectTemplateFeaturePath, o as UiAppDetail, on as MaintainerMetadataItemPath, ot as Reviewer, pt as SetProjectReviewersBody, qt as CompleteSamlSetupInput, r as RegisterUiAppBody, rn as MaintainerDetail, rr as Feature, rt as RemoveProjectUserPath, sr as GetAllFeaturesQuery, tr as RotateFileStorageS3Input, tt as RemoveProjectLimitPath, u as CreateSnowflakeStorageBackendBody, un as MetadataItem, ur as DeletedProjectsListQuery, ut as SetProjectLimitsInput, vt as AddUserFeaturePath, wn as CreateOrganizationInvitationInput, x as AddProjectUserPath, xn as AddOrganizationUserInput, xt as RemoveUserFeaturePath, y as UpdateStorageBackendInput, yn as UpdateSamlConfigInput, yr as paths, yt as DeleteUserMetadataPath, z as ListProjectJoinRequestsPath, zt as StripeCustomer } from "./types-Dtuvhm3K.cjs";
4
4
  //#region src/clients/management/managementClient.d.ts
5
5
  type ManagementOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
6
6
  type ManagementGenericFetchClient = ReturnType<typeof createGenericFetchClient>;
7
7
  type AuthStrategy = {
8
8
  type: 'management-token';
9
9
  token?: string;
10
+ /** Send a session token minted from `token`, as a deployed UI does, instead of `token` itself. */
11
+ mintSessionToken?: boolean;
10
12
  } | {
11
13
  type: 'bearer';
12
14
  token: string;
13
15
  };
14
- type ManagementClientInitOptions = Omit<ClientInitOptions, 'auth' | 'middlewares'> & {
16
+ type ManagementClientInitOptions = Omit<ClientInitOptions, 'auth' | 'baseUrl' | 'middlewares'> & {
17
+ baseUrl: string;
15
18
  auth: AuthStrategy;
16
19
  middlewares?: MiddlewareFn[];
17
20
  withAuthMiddleware?: boolean;
18
21
  };
19
22
  declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMiddleware }: ManagementClientInitOptions) => {
23
+ applicationTokens: {
24
+ getApplicationTokens: (signal?: AbortSignal) => Promise<{
25
+ id: number;
26
+ description: string;
27
+ created?: string | null;
28
+ lastUsed?: string | null;
29
+ expires?: string | null;
30
+ isDisabled: boolean;
31
+ isExpired: boolean;
32
+ scopes: string[];
33
+ creator: {
34
+ id?: number | null;
35
+ name?: string | null;
36
+ };
37
+ }[]>;
38
+ getApplicationTokenScopes: (signal?: AbortSignal) => Promise<string[]>;
39
+ createApplicationToken: (body: CreateApplicationTokenBody) => Promise<{
40
+ id: number;
41
+ description: string;
42
+ created: string;
43
+ lastUsed?: string | null;
44
+ expires?: string | null;
45
+ scopes: string[];
46
+ creator: {
47
+ id?: number | null;
48
+ name?: string | null;
49
+ };
50
+ token: string;
51
+ }>;
52
+ deleteApplicationToken: (tokenId: number) => Promise<void>;
53
+ };
20
54
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
21
55
  currentUser: {
22
56
  getMaintainerInvitations: (signal?: AbortSignal) => Promise<{
@@ -173,6 +207,23 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
173
207
  isDeleted: boolean;
174
208
  deletedTime: string;
175
209
  purgedTime?: string | null;
210
+ backends: {
211
+ snowflake?: {
212
+ id: number;
213
+ };
214
+ synapse?: {
215
+ id: number;
216
+ };
217
+ exasol?: {
218
+ id: number;
219
+ };
220
+ teradata?: {
221
+ id: number;
222
+ };
223
+ bigquery?: {
224
+ id: number;
225
+ };
226
+ };
176
227
  organization: {
177
228
  id?: number;
178
229
  name?: string;
@@ -224,6 +275,23 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
224
275
  isDeleted: boolean;
225
276
  deletedTime: string;
226
277
  purgedTime?: string | null;
278
+ backends: {
279
+ snowflake?: {
280
+ id: number;
281
+ };
282
+ synapse?: {
283
+ id: number;
284
+ };
285
+ exasol?: {
286
+ id: number;
287
+ };
288
+ teradata?: {
289
+ id: number;
290
+ };
291
+ bigquery?: {
292
+ id: number;
293
+ };
294
+ };
227
295
  organization: {
228
296
  id?: number;
229
297
  name?: string;
@@ -997,16 +1065,8 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
997
1065
  deleteStorageBackend: (id: number) => Promise<void>;
998
1066
  };
999
1067
  uiApps: {
1000
- getUiApps: (signal?: AbortSignal) => Promise<{
1001
- name: string;
1002
- version: string;
1003
- basePath: string;
1004
- type: string;
1005
- scripts: string[];
1006
- styles: string[];
1007
- isCritical: boolean;
1008
- commitSha?: string | null;
1009
- }[]>;
1068
+ getUiApps: (query?: GetUiAppsQuery, signal?: AbortSignal) => Promise<UiApp[]>;
1069
+ getUiApp: (stringId: string, signal?: AbortSignal) => Promise<UiAppDetail>;
1010
1070
  registerUiApp: (body: RegisterUiAppBody) => Promise<{
1011
1071
  app: {
1012
1072
  id?: string;
@@ -1022,8 +1082,14 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
1022
1082
  commitSha?: string | null;
1023
1083
  };
1024
1084
  }>;
1025
- activateUiAppVersion: ({ id, version }: ActivateUiAppVersionPath) => Promise<void>;
1026
- deleteUiApp: (id: string) => Promise<void>;
1085
+ renameUiApp: ({ stringId, ...body }: {
1086
+ stringId: string;
1087
+ } & RenameUiAppBody) => Promise<void>;
1088
+ activateUiAppVersion: ({ stringId, version }: {
1089
+ stringId: string;
1090
+ version: string;
1091
+ }) => Promise<void>;
1092
+ deleteUiApp: (stringId: string) => Promise<void>;
1027
1093
  };
1028
1094
  users: {
1029
1095
  addUserAdminFeature: ({ feature, userIdOrMail }: AddUserFeatureBody & AddUserFeaturePath, signal?: AbortSignal) => Promise<{
@@ -1109,4 +1175,4 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
1109
1175
  declare const isManagementClientAuthError: (error: unknown) => error is ManagementClientAuthError;
1110
1176
  //#endregion
1111
1177
  export { createManagementClient as a, ManagementOpenApiFetchClient as i, AuthStrategy as n, ManagementGenericFetchClient as r, isManagementClientAuthError as t };
1112
- //# sourceMappingURL=index-BK-qHT39.d.ts.map
1178
+ //# sourceMappingURL=index-ByRpNVcs.d.cts.map
@@ -1,23 +1,20 @@
1
- import { D as MiddlewareFn, t as createOpenapiFetchClient } from "./index-KuQ79Mnz.js";
2
- import { n as ClientInitOptions } from "./types-Ct0YPy2w.js";
3
- import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, x as LoginResult, y as LoginChallenge } from "./types-DajzGOKB.js";
1
+ import { O as MiddlewareFn, t as createOpenapiFetchClient } from "./index-BgR5zcjJ.js";
2
+ import { n as ClientInitOptions } from "./types-B2w2TtSA.js";
3
+ import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, x as LoginResult, y as LoginChallenge } from "./types-q-1r_9d1.js";
4
4
  //#region src/clients/developerPortal/developerPortalClient.d.ts
5
5
  type DeveloperPortalFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
6
6
  type DeveloperPortalClientInitOptions = Omit<ClientInitOptions, 'auth' | 'middlewares'> & {
7
7
  middlewares?: MiddlewareFn[];
8
8
  /**
9
- * Stamps the id token. A middleware rather than the `auth: AuthStrategy` other clients take, because
10
- * apps-api's token rotates and a header baked in at construction would go stale. Supplied by
11
- * `createDeveloperPortalSdk`; omit it for the spec's `security: []` operations.
9
+ * Stamps the id token per request (it rotates). Omit for the spec's `security: []` operations.
12
10
  */
13
11
  authMiddleware?: MiddlewareFn;
14
12
  };
15
13
  /**
16
- * The Developer Portal (apps-api) client. Paths and types are generated from
17
- * `https://apps-api.keboola.com/docs/openapi.yaml` — see `redocly.yaml` and `pnpm gen:types`.
14
+ * The Developer Portal (apps-api) client; types generated via `redocly.yaml` / `pnpm gen:types`.
18
15
  *
19
- * Two fetch clients because the spec splits its operations: `security: []` ones must go out
20
- * unauthenticated, and four authenticate with the access or refresh token instead of the id token.
16
+ * - Two fetch clients: `security: []` operations go out unauthenticated, and four use the access or
17
+ * refresh token instead of the id token.
21
18
  */
22
19
  declare const createDeveloperPortalClient: ({ baseUrl, middlewares, authMiddleware }: DeveloperPortalClientInitOptions) => {
23
20
  healthCheck: (signal?: AbortSignal) => Promise<{
@@ -1385,4 +1382,4 @@ type DeveloperPortalTokens = {
1385
1382
  declare const authHeader: (token: string) => Record<string, string>;
1386
1383
  //#endregion
1387
1384
  export { DeveloperPortalClient as a, createDeveloperPortalClient as c, isMfaChallengeResponse as i, authHeader as n, DeveloperPortalClientInitOptions as o, uploadAppIcon as r, DeveloperPortalFetchClient as s, DeveloperPortalTokens as t };
1388
- //# sourceMappingURL=index-pXN4LWUX.d.ts.map
1385
+ //# sourceMappingURL=index-C11JSxBY.d.ts.map
@@ -1,23 +1,20 @@
1
- import { D as MiddlewareFn, t as createOpenapiFetchClient } from "./index-V7XKUQm9.cjs";
2
- import { n as ClientInitOptions } from "./types-_RhBCj4_.cjs";
3
- import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, x as LoginResult, y as LoginChallenge } from "./types-D8Rrz51O.cjs";
1
+ import { O as MiddlewareFn, t as createOpenapiFetchClient } from "./index-BVhHt5lx.cjs";
2
+ import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
3
+ import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, x as LoginResult, y as LoginChallenge } from "./types-tKkeLa2B.cjs";
4
4
  //#region src/clients/developerPortal/developerPortalClient.d.ts
5
5
  type DeveloperPortalFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
6
6
  type DeveloperPortalClientInitOptions = Omit<ClientInitOptions, 'auth' | 'middlewares'> & {
7
7
  middlewares?: MiddlewareFn[];
8
8
  /**
9
- * Stamps the id token. A middleware rather than the `auth: AuthStrategy` other clients take, because
10
- * apps-api's token rotates and a header baked in at construction would go stale. Supplied by
11
- * `createDeveloperPortalSdk`; omit it for the spec's `security: []` operations.
9
+ * Stamps the id token per request (it rotates). Omit for the spec's `security: []` operations.
12
10
  */
13
11
  authMiddleware?: MiddlewareFn;
14
12
  };
15
13
  /**
16
- * The Developer Portal (apps-api) client. Paths and types are generated from
17
- * `https://apps-api.keboola.com/docs/openapi.yaml` — see `redocly.yaml` and `pnpm gen:types`.
14
+ * The Developer Portal (apps-api) client; types generated via `redocly.yaml` / `pnpm gen:types`.
18
15
  *
19
- * Two fetch clients because the spec splits its operations: `security: []` ones must go out
20
- * unauthenticated, and four authenticate with the access or refresh token instead of the id token.
16
+ * - Two fetch clients: `security: []` operations go out unauthenticated, and four use the access or
17
+ * refresh token instead of the id token.
21
18
  */
22
19
  declare const createDeveloperPortalClient: ({ baseUrl, middlewares, authMiddleware }: DeveloperPortalClientInitOptions) => {
23
20
  healthCheck: (signal?: AbortSignal) => Promise<{
@@ -1385,4 +1382,4 @@ type DeveloperPortalTokens = {
1385
1382
  declare const authHeader: (token: string) => Record<string, string>;
1386
1383
  //#endregion
1387
1384
  export { DeveloperPortalClient as a, createDeveloperPortalClient as c, isMfaChallengeResponse as i, authHeader as n, DeveloperPortalClientInitOptions as o, uploadAppIcon as r, DeveloperPortalFetchClient as s, DeveloperPortalTokens as t };
1388
- //# sourceMappingURL=index-GjcJTCbz.d.cts.map
1385
+ //# sourceMappingURL=index-C4TNAA8-.d.cts.map
@@ -7,25 +7,17 @@ type TableId = `${BucketId}.${TableName}`;
7
7
  type TableIdParts = [stage: BucketStage, bucket: BucketName, table: TableName];
8
8
  type StorageBranchBucket = {
9
9
  kind: 'storage-branch';
10
- /**
11
- * The bare name: no `c-` prefix. Branches are BE-side, so there is no `{branchId}-` decoration. e.g. `main`.
12
- * The on-disk form is derived from it by adding the legacy `c-` prefix:
13
- * name (on-disk) = `c-{baseName}` (adds `c-` when hasLegacyPrefix)
14
- */
10
+ /** Bare name, no `c-` or `{branchId}-` (branches are BE-side). On-disk: `c-{baseName}` when prefixed. */
15
11
  baseName: BucketName;
16
- /** When true, the on-disk name carries the legacy `c-` prefix. */
17
12
  hasLegacyPrefix: boolean;
18
13
  };
19
14
  type LegacyBucket = {
20
15
  kind: 'legacy';
21
16
  /**
22
- * The bare name: no `c-` prefix, no `{branchId}-` prefix. e.g. `main`.
23
- * The two on-disk forms are derived from it by adding decoration:
24
- * branchedName = `{branchId}-{baseName}` (drops `c-`, keeps branch — user-facing)
25
- * name (on-disk) = `c-{branchedName}` (adds `c-` when hasLegacyPrefix)
17
+ * Bare name, no `c-` or `{branchId}-`. User-facing: `{branchId}-{baseName}`.
18
+ * On-disk: `c-{branchId}-{baseName}` when prefixed.
26
19
  */
27
20
  baseName: BucketName;
28
- /** When true, the on-disk name carries the legacy `c-` prefix. */
29
21
  hasLegacyPrefix: boolean;
30
22
  /** Dev-branch id encoded into the on-disk name, if any. */
31
23
  branchId: string | null;
@@ -132,4 +124,4 @@ type StorageTable = {
132
124
  declare const createStorageTable: (flags: ModelOptions) => StorageTable;
133
125
  //#endregion
134
126
  export { TableId as _, CreateTableFn as a, Bucket as c, BucketStage as d, LegacyBucket as f, Table as g, StorageBranchBucket as h, CreateBucketFn as i, BucketId as l, ParsedBucket as m, StorageTableInstance as n, TableModel as o, ModelOptions as p, createStorageTable as r, createTableModel as s, StorageTable as t, BucketName as u, TableIdParts as v, TableName as y };
135
- //# sourceMappingURL=index-BMqLPS6S.d.ts.map
127
+ //# sourceMappingURL=index-CXcWpZQ2.d.cts.map
@@ -7,25 +7,17 @@ type TableId = `${BucketId}.${TableName}`;
7
7
  type TableIdParts = [stage: BucketStage, bucket: BucketName, table: TableName];
8
8
  type StorageBranchBucket = {
9
9
  kind: 'storage-branch';
10
- /**
11
- * The bare name: no `c-` prefix. Branches are BE-side, so there is no `{branchId}-` decoration. e.g. `main`.
12
- * The on-disk form is derived from it by adding the legacy `c-` prefix:
13
- * name (on-disk) = `c-{baseName}` (adds `c-` when hasLegacyPrefix)
14
- */
10
+ /** Bare name, no `c-` or `{branchId}-` (branches are BE-side). On-disk: `c-{baseName}` when prefixed. */
15
11
  baseName: BucketName;
16
- /** When true, the on-disk name carries the legacy `c-` prefix. */
17
12
  hasLegacyPrefix: boolean;
18
13
  };
19
14
  type LegacyBucket = {
20
15
  kind: 'legacy';
21
16
  /**
22
- * The bare name: no `c-` prefix, no `{branchId}-` prefix. e.g. `main`.
23
- * The two on-disk forms are derived from it by adding decoration:
24
- * branchedName = `{branchId}-{baseName}` (drops `c-`, keeps branch — user-facing)
25
- * name (on-disk) = `c-{branchedName}` (adds `c-` when hasLegacyPrefix)
17
+ * Bare name, no `c-` or `{branchId}-`. User-facing: `{branchId}-{baseName}`.
18
+ * On-disk: `c-{branchId}-{baseName}` when prefixed.
26
19
  */
27
20
  baseName: BucketName;
28
- /** When true, the on-disk name carries the legacy `c-` prefix. */
29
21
  hasLegacyPrefix: boolean;
30
22
  /** Dev-branch id encoded into the on-disk name, if any. */
31
23
  branchId: string | null;
@@ -132,4 +124,4 @@ type StorageTable = {
132
124
  declare const createStorageTable: (flags: ModelOptions) => StorageTable;
133
125
  //#endregion
134
126
  export { TableId as _, CreateTableFn as a, Bucket as c, BucketStage as d, LegacyBucket as f, Table as g, StorageBranchBucket as h, CreateBucketFn as i, BucketId as l, ParsedBucket as m, StorageTableInstance as n, TableModel as o, ModelOptions as p, createStorageTable as r, createTableModel as s, StorageTable as t, BucketName as u, TableIdParts as v, TableName as y };
135
- //# sourceMappingURL=index-BMqLPS6S.d.cts.map
127
+ //# sourceMappingURL=index-CXcWpZQ2.d.ts.map