@keboola/api-client 42.0.0 → 44.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 (318) hide show
  1. package/AGENTS.md +4 -2
  2. package/API-SURFACE.md +5 -10
  3. package/CHANGELOG.md +48 -0
  4. package/README.md +17 -19
  5. package/dist/{ManagementClientAuthError-DUbXlry2.js → ManagementClientAuthError-BcPYxAWZ.js} +2 -2
  6. package/dist/{ManagementClientAuthError-DUbXlry2.js.map → ManagementClientAuthError-BcPYxAWZ.js.map} +1 -1
  7. package/dist/{ManagementClientAuthError-BFZOtLgj.cjs → ManagementClientAuthError-DHuykEPF.cjs} +2 -2
  8. package/dist/{ManagementClientAuthError-BFZOtLgj.cjs.map → ManagementClientAuthError-DHuykEPF.cjs.map} +1 -1
  9. package/dist/ai/index.cjs +2 -2
  10. package/dist/ai/index.js +2 -2
  11. package/dist/{appLogs-oZvt59mk.cjs → appLogs-BG9ueGxA.cjs} +2 -2
  12. package/dist/{appLogs-oZvt59mk.cjs.map → appLogs-BG9ueGxA.cjs.map} +1 -1
  13. package/dist/{appLogs-DfkItQCO.js → appLogs-CEKz68bE.js} +2 -2
  14. package/dist/{appLogs-DfkItQCO.js.map → appLogs-CEKz68bE.js.map} +1 -1
  15. package/dist/apps/index.cjs +3 -3
  16. package/dist/apps/index.js +3 -3
  17. package/dist/assets/index.cjs +1 -1
  18. package/dist/assets/index.js +1 -1
  19. package/dist/auth/index.cjs +1 -1
  20. package/dist/auth/index.js +1 -1
  21. package/dist/{auth-DUHTJTwS.js → auth-C6cHWIWx.js} +2 -2
  22. package/dist/{auth-DUHTJTwS.js.map → auth-C6cHWIWx.js.map} +1 -1
  23. package/dist/{auth-zfI04oj7.cjs → auth-C9o_0bft.cjs} +2 -2
  24. package/dist/{auth-zfI04oj7.cjs.map → auth-C9o_0bft.cjs.map} +1 -1
  25. package/dist/{authClient-CX4buUMc.js → authClient-CACOwVt0.js} +5 -5
  26. package/dist/{authClient-CX4buUMc.js.map → authClient-CACOwVt0.js.map} +1 -1
  27. package/dist/{authClient-BxqRGR5c.cjs → authClient-DZcAR-eW.cjs} +5 -5
  28. package/dist/{authClient-BxqRGR5c.cjs.map → authClient-DZcAR-eW.cjs.map} +1 -1
  29. package/dist/billing/index.cjs +2 -2
  30. package/dist/billing/index.js +2 -2
  31. package/dist/chat/index.cjs +3 -3
  32. package/dist/chat/index.js +3 -3
  33. package/dist/collect-97WhfEpt.js +30 -0
  34. package/dist/collect-97WhfEpt.js.map +1 -0
  35. package/dist/collect-B5TCNiT1.cjs +35 -0
  36. package/dist/collect-B5TCNiT1.cjs.map +1 -0
  37. package/dist/constants/index.cjs +1 -1
  38. package/dist/constants/index.d.cts +1 -1
  39. package/dist/constants/index.d.ts +1 -1
  40. package/dist/constants/index.js +1 -1
  41. package/dist/{constants-C6xku_Vx.cjs → constants-BDGRQqij.cjs} +1 -2
  42. package/dist/constants-BDGRQqij.cjs.map +1 -0
  43. package/dist/{constants-C2tYAJSj.js → constants-Cifrqsls.js} +1 -2
  44. package/dist/constants-Cifrqsls.js.map +1 -0
  45. package/dist/createAbortError-BxupOt-6.js +6 -0
  46. package/dist/createAbortError-BxupOt-6.js.map +1 -0
  47. package/dist/createAbortError-RendOpo7.cjs +11 -0
  48. package/dist/createAbortError-RendOpo7.cjs.map +1 -0
  49. package/dist/{createFetchClient-BgihytBn.cjs → createFetchClient-ClWD4ua3.cjs} +71 -25
  50. package/dist/createFetchClient-ClWD4ua3.cjs.map +1 -0
  51. package/dist/{createFetchClient-cgWkwgAQ.js → createFetchClient-DITkTV2k.js} +54 -26
  52. package/dist/createFetchClient-DITkTV2k.js.map +1 -0
  53. package/dist/{createGenericFetchClient-C7Y0YVfc.cjs → createGenericFetchClient-B81Iezpb.cjs} +2 -2
  54. package/dist/{createGenericFetchClient-C7Y0YVfc.cjs.map → createGenericFetchClient-B81Iezpb.cjs.map} +1 -1
  55. package/dist/{createGenericFetchClient-CX9Hn3Aq.js → createGenericFetchClient-KqiJhw8G.js} +2 -2
  56. package/dist/{createGenericFetchClient-CX9Hn3Aq.js.map → createGenericFetchClient-KqiJhw8G.js.map} +1 -1
  57. package/dist/{createOpenapiFetchClient-DY5s-aH6.cjs → createOpenapiFetchClient-CioTX11-.cjs} +2 -2
  58. package/dist/{createOpenapiFetchClient-DY5s-aH6.cjs.map → createOpenapiFetchClient-CioTX11-.cjs.map} +1 -1
  59. package/dist/{createOpenapiFetchClient-BxcLLU_N.js → createOpenapiFetchClient-wq8iGLZM.js} +2 -2
  60. package/dist/{createOpenapiFetchClient-BxcLLU_N.js.map → createOpenapiFetchClient-wq8iGLZM.js.map} +1 -1
  61. package/dist/dataScience/index.cjs +2 -2
  62. package/dist/dataScience/index.d.cts +1 -1
  63. package/dist/dataScience/index.d.ts +1 -1
  64. package/dist/dataScience/index.js +2 -2
  65. package/dist/dataScience/types.d.cts +2 -2
  66. package/dist/dataScience/types.d.ts +2 -2
  67. package/dist/{dataScience-BxRoGfnG.js → dataScience-BwHmDoQb.js} +16 -5
  68. package/dist/dataScience-BwHmDoQb.js.map +1 -0
  69. package/dist/{dataScience-BoS8Xfvx.cjs → dataScience-Hhoqoql_.cjs} +16 -5
  70. package/dist/dataScience-Hhoqoql_.cjs.map +1 -0
  71. package/dist/developerPortal/index.cjs +1 -1
  72. package/dist/developerPortal/index.d.cts +2 -2
  73. package/dist/developerPortal/index.d.ts +2 -2
  74. package/dist/developerPortal/index.js +1 -1
  75. package/dist/developerPortal/types.d.cts +1 -1
  76. package/dist/developerPortal/types.d.ts +1 -1
  77. package/dist/{developerPortalClient-DFHEsrlt.cjs → developerPortalClient-COm7wJxS.cjs} +3 -3
  78. package/dist/{developerPortalClient-DFHEsrlt.cjs.map → developerPortalClient-COm7wJxS.cjs.map} +1 -1
  79. package/dist/{developerPortalClient-C7s0kpjK.js → developerPortalClient-loKq7X_U.js} +3 -3
  80. package/dist/{developerPortalClient-C7s0kpjK.js.map → developerPortalClient-loKq7X_U.js.map} +1 -1
  81. package/dist/editor/index.cjs +2 -2
  82. package/dist/editor/index.js +2 -2
  83. package/dist/encryption/index.cjs +1 -1
  84. package/dist/encryption/index.d.cts +1 -1
  85. package/dist/encryption/index.d.ts +1 -1
  86. package/dist/encryption/index.js +1 -1
  87. package/dist/encryption/types.d.cts +1 -1
  88. package/dist/encryption/types.d.ts +1 -1
  89. package/dist/import/index.cjs +1 -1
  90. package/dist/import/index.js +1 -1
  91. package/dist/{import-BSYvG3Uy.cjs → import-B5DcJGMI.cjs} +3 -3
  92. package/dist/{import-BSYvG3Uy.cjs.map → import-B5DcJGMI.cjs.map} +1 -1
  93. package/dist/{import-CXBcFVbk.js → import-JlH_QaDd.js} +3 -3
  94. package/dist/{import-CXBcFVbk.js.map → import-JlH_QaDd.js.map} +1 -1
  95. package/dist/{index-VnJCp8IL.d.cts → index-04pgr-EO.d.cts} +3 -2
  96. package/dist/{index-D-VMgpGc.d.ts → index-BCgmwncs.d.ts} +10 -2
  97. package/dist/{index-CcMHJcuP.d.cts → index-BHWTa4YN.d.cts} +3 -2
  98. package/dist/{index-CBWfpd-0.d.ts → index-Bf8dr2KQ.d.ts} +2 -2
  99. package/dist/{index-B03vhWSX.d.ts → index-CA6QxbhZ.d.ts} +4 -2
  100. package/dist/{index-Cw-d6vV3.d.ts → index-CWPi7lBF.d.ts} +5 -5
  101. package/dist/{index-C11JSxBY.d.ts → index-CX8GAP2g.d.ts} +13 -8
  102. package/dist/{index-C4TNAA8-.d.cts → index-Cvkrjh--.d.cts} +13 -8
  103. package/dist/{index-Cz0MXhzs.d.cts → index-D9UsQOuT.d.cts} +10 -2
  104. package/dist/{index-B2-7WJ-E.d.cts → index-DZcQUZaO.d.cts} +52 -84
  105. package/dist/{index-CKENwClW.d.cts → index-Dd40ojPr.d.cts} +5 -5
  106. package/dist/{index-BUsLHNOA.d.cts → index-DkCXaYsn.d.cts} +2 -2
  107. package/dist/{index-D3HFMfJJ.d.cts → index-DkvrbR2i.d.cts} +4 -2
  108. package/dist/{index-CpE_NWuq.d.ts → index-DzGmgUvQ.d.ts} +52 -84
  109. package/dist/{index-DwM1EpnZ.d.ts → index-R-w0Zncz.d.ts} +3 -2
  110. package/dist/{index-D_-4uQF8.d.ts → index-zyxZVJnd.d.ts} +3 -2
  111. package/dist/index.cjs +53 -60
  112. package/dist/index.cjs.map +1 -1
  113. package/dist/index.d.cts +2 -2
  114. package/dist/index.d.ts +2 -2
  115. package/dist/index.js +49 -56
  116. package/dist/index.js.map +1 -1
  117. package/dist/{isLoginPageRedirect-CsjF95_P.js → isLoginPageRedirect-CsyRa3_v.js} +2 -2
  118. package/dist/{isLoginPageRedirect-CsjF95_P.js.map → isLoginPageRedirect-CsyRa3_v.js.map} +1 -1
  119. package/dist/{isLoginPageRedirect-c451CoWW.cjs → isLoginPageRedirect-iNbwl3iz.cjs} +2 -2
  120. package/dist/{isLoginPageRedirect-c451CoWW.cjs.map → isLoginPageRedirect-iNbwl3iz.cjs.map} +1 -1
  121. package/dist/{jobStatus-CfRtsIpv.js → jobStatus-CDp4r5JQ.js} +3 -5
  122. package/dist/jobStatus-CDp4r5JQ.js.map +1 -0
  123. package/dist/{jobStatus-BMlsyXWI.cjs → jobStatus-CcNlIy5R.cjs} +5 -13
  124. package/dist/{jobStatus-CfRtsIpv.js.map → jobStatus-CcNlIy5R.cjs.map} +1 -1
  125. package/dist/kaiAgent/index.cjs +1 -1
  126. package/dist/kaiAgent/index.d.cts +1 -1
  127. package/dist/kaiAgent/index.d.ts +1 -1
  128. package/dist/kaiAgent/index.js +1 -1
  129. package/dist/kaiAgent/types.d.cts +1 -1
  130. package/dist/kaiAgent/types.d.ts +1 -1
  131. package/dist/{kaiAgent-ph4DRKlT.cjs → kaiAgent-BhcUsBDk.cjs} +5 -5
  132. package/dist/{kaiAgent-ph4DRKlT.cjs.map → kaiAgent-BhcUsBDk.cjs.map} +1 -1
  133. package/dist/{kaiAgent-xBpUwLeQ.js → kaiAgent-CUeT53-K.js} +5 -5
  134. package/dist/{kaiAgent-xBpUwLeQ.js.map → kaiAgent-CUeT53-K.js.map} +1 -1
  135. package/dist/{kaiMemory-U0DG-CpY.cjs → kaiMemory-Cf81ghNd.cjs} +2 -2
  136. package/dist/{kaiMemory-U0DG-CpY.cjs.map → kaiMemory-Cf81ghNd.cjs.map} +1 -1
  137. package/dist/{kaiMemory-BAniZZAN.js → kaiMemory-DaOh0zVn.js} +2 -2
  138. package/dist/{kaiMemory-BAniZZAN.js.map → kaiMemory-DaOh0zVn.js.map} +1 -1
  139. package/dist/management/index.cjs +1 -1
  140. package/dist/management/index.d.cts +1 -1
  141. package/dist/management/index.d.ts +1 -1
  142. package/dist/management/index.js +1 -1
  143. package/dist/management/types.d.cts +2 -2
  144. package/dist/management/types.d.ts +2 -2
  145. package/dist/{management-5597SiC7.cjs → management-C5lf9nsU.cjs} +31 -6
  146. package/dist/management-C5lf9nsU.cjs.map +1 -0
  147. package/dist/{management-D46KlXts.js → management-WAtKH6Tu.js} +31 -6
  148. package/dist/management-WAtKH6Tu.js.map +1 -0
  149. package/dist/metastore/index.cjs +1 -1
  150. package/dist/metastore/index.js +1 -1
  151. package/dist/{metastore-_OskcLGz.js → metastore-D0C6uaPX.js} +4 -4
  152. package/dist/{metastore-_OskcLGz.js.map → metastore-D0C6uaPX.js.map} +1 -1
  153. package/dist/{metastore-DwMFlP2d.cjs → metastore-YPHUK3jJ.cjs} +4 -4
  154. package/dist/{metastore-DwMFlP2d.cjs.map → metastore-YPHUK3jJ.cjs.map} +1 -1
  155. package/dist/microsoftGraph/index.cjs +2 -2
  156. package/dist/microsoftGraph/index.d.cts +2 -1
  157. package/dist/microsoftGraph/index.d.ts +2 -1
  158. package/dist/microsoftGraph/index.js +2 -2
  159. package/dist/microsoftGraph/types.d.cts +1 -1
  160. package/dist/microsoftGraph/types.d.ts +1 -1
  161. package/dist/{middleware-xhg2r2fE.cjs → middleware-D_p5TctO.cjs} +2 -2
  162. package/dist/{middleware-xhg2r2fE.cjs.map → middleware-D_p5TctO.cjs.map} +1 -1
  163. package/dist/{middleware-Drbo_UIZ.js → middleware-DmR6OhTY.js} +2 -2
  164. package/dist/{middleware-Drbo_UIZ.js.map → middleware-DmR6OhTY.js.map} +1 -1
  165. package/dist/notifications/index.cjs +3 -3
  166. package/dist/notifications/index.js +3 -3
  167. package/dist/oauth/index.cjs +1 -1
  168. package/dist/oauth/index.d.cts +1 -1
  169. package/dist/oauth/index.d.ts +1 -1
  170. package/dist/oauth/index.js +1 -1
  171. package/dist/oauth/types.d.cts +1 -1
  172. package/dist/oauth/types.d.ts +1 -1
  173. package/dist/{oauth-TWwAv-va.js → oauth-Ck_Fe14o.js} +5 -5
  174. package/dist/{oauth-TWwAv-va.js.map → oauth-Ck_Fe14o.js.map} +1 -1
  175. package/dist/{oauth-L0Uic3YA.cjs → oauth-DyUwTqHJ.cjs} +5 -5
  176. package/dist/{oauth-L0Uic3YA.cjs.map → oauth-DyUwTqHJ.cjs.map} +1 -1
  177. package/dist/omnisearch/index.cjs +2 -2
  178. package/dist/omnisearch/index.d.cts +1 -1
  179. package/dist/omnisearch/index.d.ts +1 -1
  180. package/dist/omnisearch/index.js +2 -2
  181. package/dist/omnisearch/types.d.cts +1 -1
  182. package/dist/omnisearch/types.d.ts +1 -1
  183. package/dist/queryService/index.cjs +1 -1
  184. package/dist/queryService/index.d.cts +1 -1
  185. package/dist/queryService/index.d.ts +1 -1
  186. package/dist/queryService/index.js +1 -1
  187. package/dist/{queryService-CdtogGr7.js → queryService-OgdbrBjA.js} +6 -6
  188. package/dist/{queryService-CdtogGr7.js.map → queryService-OgdbrBjA.js.map} +1 -1
  189. package/dist/{queryService-Dx6AdxOl.cjs → queryService-e2ql5eev.cjs} +6 -6
  190. package/dist/{queryService-Dx6AdxOl.cjs.map → queryService-e2ql5eev.cjs.map} +1 -1
  191. package/dist/queue/index.cjs +1 -1
  192. package/dist/queue/index.d.cts +1 -1
  193. package/dist/queue/index.d.ts +1 -1
  194. package/dist/queue/index.js +1 -1
  195. package/dist/{queue-f2xsjy0o.js → queue-BZwZuZZx.js} +7 -32
  196. package/dist/queue-BZwZuZZx.js.map +1 -0
  197. package/dist/{queue-wIdnMtaZ.cjs → queue-DGoMbK1X.cjs} +7 -38
  198. package/dist/{queue-f2xsjy0o.js.map → queue-DGoMbK1X.cjs.map} +1 -1
  199. package/dist/scheduler/index.cjs +3 -3
  200. package/dist/scheduler/index.d.cts +13 -1
  201. package/dist/scheduler/index.d.ts +13 -1
  202. package/dist/scheduler/index.js +3 -3
  203. package/dist/scheduler/types.d.cts +1 -1
  204. package/dist/scheduler/types.d.ts +1 -1
  205. package/dist/{schema-D1oxyn1O.d.cts → schema-DJa9WBjR.d.cts} +28 -1
  206. package/dist/{schema-D1oxyn1O.d.ts → schema-DJa9WBjR.d.ts} +28 -1
  207. package/dist/sdk/configurations/index.d.cts +3 -3
  208. package/dist/sdk/configurations/index.d.ts +3 -3
  209. package/dist/sdk/developerPortal/index.cjs +3 -3
  210. package/dist/sdk/developerPortal/index.d.cts +13 -8
  211. package/dist/sdk/developerPortal/index.d.ts +13 -8
  212. package/dist/sdk/developerPortal/index.js +3 -3
  213. package/dist/sdk/kaiMemory/index.cjs +1 -1
  214. package/dist/sdk/kaiMemory/index.js +1 -1
  215. package/dist/sdk/queryService/index.cjs +1 -1
  216. package/dist/sdk/queryService/index.d.cts +1 -1
  217. package/dist/sdk/queryService/index.d.ts +1 -1
  218. package/dist/sdk/queryService/index.js +1 -1
  219. package/dist/sdk/semanticLayer/index.cjs +1 -1
  220. package/dist/sdk/semanticLayer/index.js +1 -1
  221. package/dist/sdk/storage/index.d.cts +1 -1
  222. package/dist/sdk/storage/index.d.ts +1 -1
  223. package/dist/sdk/vault/index.d.cts +1 -1
  224. package/dist/sdk/vault/index.d.ts +1 -1
  225. package/dist/{semanticLayer-D3NDh_QH.cjs → semanticLayer-Cz22bIjd.cjs} +2 -2
  226. package/dist/{semanticLayer-D3NDh_QH.cjs.map → semanticLayer-Cz22bIjd.cjs.map} +1 -1
  227. package/dist/{semanticLayer-Ddg0LSnt.js → semanticLayer-JSE51K68.js} +2 -2
  228. package/dist/{semanticLayer-Ddg0LSnt.js.map → semanticLayer-JSE51K68.js.map} +1 -1
  229. package/dist/{serviceIds-DC-H6ZD9.d.ts → serviceIds-DRcoTnSd.d.cts} +1 -2
  230. package/dist/{serviceIds-DC-H6ZD9.d.cts → serviceIds-DRcoTnSd.d.ts} +1 -2
  231. package/dist/status/index.cjs +1 -1
  232. package/dist/status/index.js +1 -1
  233. package/dist/storage/index.cjs +4 -4
  234. package/dist/storage/index.d.cts +1 -1
  235. package/dist/storage/index.d.ts +1 -1
  236. package/dist/storage/index.js +4 -4
  237. package/dist/storage/types.d.cts +3 -3
  238. package/dist/storage/types.d.ts +3 -3
  239. package/dist/{storage-CXQTTVXl.cjs → storage-B4AnXas_.cjs} +35 -24
  240. package/dist/storage-B4AnXas_.cjs.map +1 -0
  241. package/dist/{storage-BkdjgtCU.js → storage-CsdA47AL.js} +35 -24
  242. package/dist/storage-CsdA47AL.js.map +1 -0
  243. package/dist/stream/index.cjs +3 -3
  244. package/dist/stream/index.js +3 -3
  245. package/dist/syncActions/index.cjs +1 -1
  246. package/dist/syncActions/index.js +1 -1
  247. package/dist/{syncActions-BQ8kMgL6.js → syncActions-BvFUa9xV.js} +5 -5
  248. package/dist/{syncActions-BQ8kMgL6.js.map → syncActions-BvFUa9xV.js.map} +1 -1
  249. package/dist/{syncActions-DyxNmbUR.cjs → syncActions-DlNPhZY4.cjs} +5 -5
  250. package/dist/{syncActions-DyxNmbUR.cjs.map → syncActions-DlNPhZY4.cjs.map} +1 -1
  251. package/dist/telemetry/index.cjs +3 -3
  252. package/dist/telemetry/index.js +3 -3
  253. package/dist/{types-n4PTnLii.d.ts → types-AYX7VtS6.d.ts} +179 -2
  254. package/dist/{types-CZXPu3gn.d.ts → types-BBUZ9EHs.d.ts} +4 -1
  255. package/dist/{types-CP_LBmw3.d.cts → types-BhOUS9j1.d.cts} +26 -3
  256. package/dist/{types-tKkeLa2B.d.cts → types-BiEh5c_t.d.cts} +60 -8
  257. package/dist/{types-RbrfiY8T.d.ts → types-CAp1VexS.d.ts} +3 -3
  258. package/dist/{types-DinIJ1D_.d.cts → types-CBPKpLTf.d.cts} +179 -2
  259. package/dist/{types-BLNB882w.d.cts → types-CGm2fQKK.d.cts} +187 -5
  260. package/dist/{types-BgVt8SUY.d.cts → types-CLHaZv9f.d.cts} +17 -13
  261. package/dist/{types-DE9hgr7i.d.cts → types-CgBzm1YR.d.cts} +106 -1
  262. package/dist/{types-BzPuxmaR.d.cts → types-D1A4mAG0.d.cts} +2 -2
  263. package/dist/{types-C0rVtqz2.d.ts → types-D8pGSkRe.d.ts} +17 -13
  264. package/dist/{types-B61aCifg.d.cts → types-D9axmt5o.d.cts} +4 -1
  265. package/dist/{types-BWmLo73i.d.cts → types-DVt0qlzI.d.cts} +14 -3
  266. package/dist/{types-CWyXTMwy.d.ts → types-DaMmgW-O.d.ts} +106 -1
  267. package/dist/{types-R3AFJD6r.d.ts → types-DazRtukc.d.ts} +14 -3
  268. package/dist/{types-2Do0DZ60.d.ts → types-DxN2siRW.d.ts} +2 -2
  269. package/dist/{types-q-1r_9d1.d.ts → types-DzV6LaZq.d.ts} +60 -8
  270. package/dist/{types-DIiOMV-t.d.ts → types-Fs4a3mVs.d.ts} +187 -5
  271. package/dist/{types-6kuMW4JW.d.cts → types-c_bsDkV6.d.cts} +3 -3
  272. package/dist/{types-DgJeO9Nd.d.ts → types-gcAb6olM.d.ts} +26 -3
  273. package/dist/{validateConnectionStatus-gFsBi5FV.js → validateConnectionStatus-CdTV3gsP.js} +3 -3
  274. package/dist/{validateConnectionStatus-gFsBi5FV.js.map → validateConnectionStatus-CdTV3gsP.js.map} +1 -1
  275. package/dist/{validateConnectionStatus-Ca1uEizv.cjs → validateConnectionStatus-DR-0h35y.cjs} +3 -3
  276. package/dist/{validateConnectionStatus-Ca1uEizv.cjs.map → validateConnectionStatus-DR-0h35y.cjs.map} +1 -1
  277. package/dist/vault/index.cjs +31 -6
  278. package/dist/vault/index.cjs.map +1 -1
  279. package/dist/vault/index.d.cts +1 -1
  280. package/dist/vault/index.d.ts +1 -1
  281. package/dist/vault/index.js +31 -6
  282. package/dist/vault/index.js.map +1 -1
  283. package/dist/vault/types.d.cts +1 -1
  284. package/dist/vault/types.d.ts +1 -1
  285. package/package.json +1 -27
  286. package/surface/dataScience.md +3 -2
  287. package/surface/kaiAgent.md +1 -1
  288. package/surface/management.md +2 -0
  289. package/surface/scheduler.md +3 -3
  290. package/surface/storage.md +7 -7
  291. package/surface/vault.md +1 -0
  292. package/dist/businessWorkspaceApi/index.cjs +0 -3
  293. package/dist/businessWorkspaceApi/index.d.cts +0 -2
  294. package/dist/businessWorkspaceApi/index.d.ts +0 -2
  295. package/dist/businessWorkspaceApi/index.js +0 -2
  296. package/dist/businessWorkspaceApi/types.cjs +0 -0
  297. package/dist/businessWorkspaceApi/types.d.cts +0 -2
  298. package/dist/businessWorkspaceApi/types.d.ts +0 -2
  299. package/dist/businessWorkspaceApi/types.js +0 -1
  300. package/dist/businessWorkspaceApi-DFky1k61.js +0 -61
  301. package/dist/businessWorkspaceApi-DFky1k61.js.map +0 -1
  302. package/dist/businessWorkspaceApi-Uzqu0PJM.cjs +0 -66
  303. package/dist/businessWorkspaceApi-Uzqu0PJM.cjs.map +0 -1
  304. package/dist/businessWorkspaceApiClient-BHDJlHFo.d.cts +0 -529
  305. package/dist/businessWorkspaceApiClient-DI-z1VIH.d.ts +0 -529
  306. package/dist/constants-C2tYAJSj.js.map +0 -1
  307. package/dist/constants-C6xku_Vx.cjs.map +0 -1
  308. package/dist/createFetchClient-BgihytBn.cjs.map +0 -1
  309. package/dist/createFetchClient-cgWkwgAQ.js.map +0 -1
  310. package/dist/dataScience-BoS8Xfvx.cjs.map +0 -1
  311. package/dist/dataScience-BxRoGfnG.js.map +0 -1
  312. package/dist/jobStatus-BMlsyXWI.cjs.map +0 -1
  313. package/dist/management-5597SiC7.cjs.map +0 -1
  314. package/dist/management-D46KlXts.js.map +0 -1
  315. package/dist/queue-wIdnMtaZ.cjs.map +0 -1
  316. package/dist/storage-BkdjgtCU.js.map +0 -1
  317. package/dist/storage-CXQTTVXl.cjs.map +0 -1
  318. package/surface/businessWorkspaceApi.md +0 -12
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_import = require("../import-BSYvG3Uy.cjs");
2
+ const require_import = require("../import-B5DcJGMI.cjs");
3
3
  exports.createImportClient = require_import.createImportClient;
@@ -1,2 +1,2 @@
1
- import { t as createImportClient } from "../import-CXBcFVbk.js";
1
+ import { t as createImportClient } from "../import-JlH_QaDd.js";
2
2
  export { createImportClient };
@@ -1,5 +1,5 @@
1
- const require_createOpenapiFetchClient = require("./createOpenapiFetchClient-DY5s-aH6.cjs");
2
- const require_auth = require("./auth-zfI04oj7.cjs");
1
+ const require_createOpenapiFetchClient = require("./createOpenapiFetchClient-CioTX11-.cjs");
2
+ const require_auth = require("./auth-C9o_0bft.cjs");
3
3
  //#region src/fetchClient/xhrFetch.ts
4
4
  const parseResponseHeaders = (raw) => {
5
5
  const headers = new Headers();
@@ -118,4 +118,4 @@ Object.defineProperty(exports, "createImportClient", {
118
118
  }
119
119
  });
120
120
 
121
- //# sourceMappingURL=import-BSYvG3Uy.cjs.map
121
+ //# sourceMappingURL=import-B5DcJGMI.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-BSYvG3Uy.cjs","names":["createOpenapiFetchClient","createAuthHeaders"],"sources":["../src/fetchClient/xhrFetch.ts","../src/clients/import/utils.ts","../src/clients/import/importClient.ts"],"sourcesContent":["import type { FetchFn } from './createFetchClient';\n\nexport type UploadProgress = {\n loaded: number;\n total: number;\n percent: number;\n};\n\nconst parseResponseHeaders = (raw: string) => {\n const headers = new Headers();\n\n for (const line of raw.trim().split(/[\\r\\n]+/)) {\n const separator = line.indexOf(':');\n if (separator < 0) continue;\n\n headers.append(line.slice(0, separator).trim(), line.slice(separator + 1).trim());\n }\n\n return headers;\n};\n\nconst createAbortError = () => new DOMException('The operation was aborted.', 'AbortError');\n\n// `new Response(body)` throws for these statuses even when the body is empty.\nconst BODILESS_STATUSES = [204, 205];\n\nconst BODILESS_METHODS = ['GET', 'HEAD'];\n\n/**\n * A `fetch` implementation backed by XHR, for the `fetchFn` escape hatch: `fetch` cannot observe\n * request-body upload progress outside Chromium, `xhr.upload.onprogress` can.\n */\nexport const xhrFetch = (onProgress: (progress: UploadProgress) => void): FetchFn => {\n return async (input, init) => {\n // Node has no XHR, and asking for progress is not worth failing an upload over — the caller\n // simply gets no progress events there.\n if (typeof XMLHttpRequest === 'undefined') return fetch(input, init);\n\n const request = new Request(input, init);\n const body = BODILESS_METHODS.includes(request.method) ? null : await request.blob();\n\n if (request.signal.aborted) throw createAbortError();\n\n const { promise, resolve, reject } = Promise.withResolvers<Response>();\n const xhr = new XMLHttpRequest();\n\n const handleProgress = (event: ProgressEvent) => {\n if (!event.lengthComputable) return;\n\n onProgress({\n loaded: event.loaded,\n total: event.total,\n percent: (event.loaded / event.total) * 100,\n });\n };\n\n const handleLoad = () => {\n resolve(\n new Response(BODILESS_STATUSES.includes(xhr.status) ? null : xhr.response, {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseResponseHeaders(xhr.getAllResponseHeaders()),\n }),\n );\n };\n\n // `TypeError` for parity with `fetch` — `isFetchClientError` keys off it.\n const handleError = () => reject(new TypeError('Failed to fetch'));\n const handleAbort = () => reject(createAbortError());\n\n xhr.open(request.method, request.url, true);\n xhr.responseType = 'blob';\n xhr.withCredentials = request.credentials === 'include';\n\n // The body we send is the one this `Request` serialized, so its `content-type` — multipart\n // boundary included — describes those exact bytes and can be forwarded as-is.\n request.headers.forEach((value, name) => xhr.setRequestHeader(name, value));\n\n xhr.upload.addEventListener('progress', handleProgress);\n xhr.addEventListener('load', handleLoad);\n xhr.addEventListener('error', handleError);\n xhr.addEventListener('abort', handleAbort);\n request.signal.addEventListener('abort', () => xhr.abort(), { once: true });\n\n xhr.send(body);\n\n return promise;\n };\n};\n","/**\n * Every field the importer takes is a form part, named exactly as the spec names it: flags go as\n * `1` when on and are left out when off (so the service applies its own default), and arrays repeat\n * under the `[]`-suffixed name. The payload rides along as the `data` part — `file` is the public\n * API's word for it, not the wire's.\n */\nexport const createFormData = (\n fields: Record<string, string | boolean | string[] | File | null | undefined>,\n) => {\n const formData = new FormData();\n\n for (const [name, value] of Object.entries(fields)) {\n if (!value) {\n continue;\n }\n\n if (Array.isArray(value)) {\n for (const item of value) {\n formData.append(`${name}[]`, item);\n }\n } else {\n formData.append(name, value === true ? '1' : value);\n }\n }\n\n return formData;\n};\n","import type { UploadProgress } from '../../fetchClient';\nimport { createOpenapiFetchClient, xhrFetch } from '../../fetchClient';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type { UploadFileInput, WriteTableInput } from './types';\nimport { createFormData } from './utils';\n\ntype Options = {\n signal?: AbortSignal;\n onProgress?: (progress: UploadProgress) => void;\n};\n\nexport const createImportClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n\n const uploadFile = async (\n { file, ...fields }: UploadFileInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/upload-file',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const writeTable = async (\n { file, ...fields }: WriteTableInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/write-table',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await client.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthChe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EAAU,CACnE;EAEA,OAAO;CACT;CAEA,MAAM,aAAa,OACjB,EAAE,MAAM,GAAG,UACX,EAAE,QAAQ,eAAwB,CAAC,MAChC;EACH,MAAM,EAAE,SAAS,MAAM,OAAO,KAC5B,gBACA,EAAE,MAAM,eAAe;GAAE,MAAM;GAAM,GAAG;EAAO,CAAC,EAAE,GAClD;GAAE;GAAQ,SAAS,aAAa,SAAS,UAAU,IAAI,KAAA;EAAU,CACnE;EAEA,OAAO;CACT;CAEA,MAAM,cAAc,OAAO,WAAyB;EAClD,MAAM,EAAE,SAAS,MAAM,OAAO,IAAI,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC;EAEjE,OAAO;CACT;CAEA,OAAO;EACL;EACA;EACA;CACF;AACF"}
1
+ {"version":3,"file":"import-B5DcJGMI.cjs","names":["createOpenapiFetchClient","createAuthHeaders"],"sources":["../src/fetchClient/xhrFetch.ts","../src/clients/import/utils.ts","../src/clients/import/importClient.ts"],"sourcesContent":["import type { FetchFn } from './createFetchClient';\n\nexport type UploadProgress = {\n loaded: number;\n total: number;\n percent: number;\n};\n\nconst parseResponseHeaders = (raw: string) => {\n const headers = new Headers();\n\n for (const line of raw.trim().split(/[\\r\\n]+/)) {\n const separator = line.indexOf(':');\n if (separator < 0) continue;\n\n headers.append(line.slice(0, separator).trim(), line.slice(separator + 1).trim());\n }\n\n return headers;\n};\n\nconst createAbortError = () => new DOMException('The operation was aborted.', 'AbortError');\n\n// `new Response(body)` throws for these statuses even when the body is empty.\nconst BODILESS_STATUSES = [204, 205];\n\nconst BODILESS_METHODS = ['GET', 'HEAD'];\n\n/**\n * A `fetch` implementation backed by XHR, for the `fetchFn` escape hatch: `fetch` cannot observe\n * request-body upload progress outside Chromium, `xhr.upload.onprogress` can.\n */\nexport const xhrFetch = (onProgress: (progress: UploadProgress) => void): FetchFn => {\n return async (input, init) => {\n // Node has no XHR, and asking for progress is not worth failing an upload over — the caller\n // simply gets no progress events there.\n if (typeof XMLHttpRequest === 'undefined') return fetch(input, init);\n\n const request = new Request(input, init);\n const body = BODILESS_METHODS.includes(request.method) ? null : await request.blob();\n\n if (request.signal.aborted) throw createAbortError();\n\n const { promise, resolve, reject } = Promise.withResolvers<Response>();\n const xhr = new XMLHttpRequest();\n\n const handleProgress = (event: ProgressEvent) => {\n if (!event.lengthComputable) return;\n\n onProgress({\n loaded: event.loaded,\n total: event.total,\n percent: (event.loaded / event.total) * 100,\n });\n };\n\n const handleLoad = () => {\n resolve(\n new Response(BODILESS_STATUSES.includes(xhr.status) ? null : xhr.response, {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseResponseHeaders(xhr.getAllResponseHeaders()),\n }),\n );\n };\n\n // `TypeError` for parity with `fetch` — `isFetchClientError` keys off it.\n const handleError = () => reject(new TypeError('Failed to fetch'));\n const handleAbort = () => reject(createAbortError());\n\n xhr.open(request.method, request.url, true);\n xhr.responseType = 'blob';\n xhr.withCredentials = request.credentials === 'include';\n\n // The body we send is the one this `Request` serialized, so its `content-type` — multipart\n // boundary included — describes those exact bytes and can be forwarded as-is.\n request.headers.forEach((value, name) => xhr.setRequestHeader(name, value));\n\n xhr.upload.addEventListener('progress', handleProgress);\n xhr.addEventListener('load', handleLoad);\n xhr.addEventListener('error', handleError);\n xhr.addEventListener('abort', handleAbort);\n request.signal.addEventListener('abort', () => xhr.abort(), { once: true });\n\n xhr.send(body);\n\n return promise;\n };\n};\n","/**\n * Every field the importer takes is a form part, named exactly as the spec names it: flags go as\n * `1` when on and are left out when off (so the service applies its own default), and arrays repeat\n * under the `[]`-suffixed name. The payload rides along as the `data` part — `file` is the public\n * API's word for it, not the wire's.\n */\nexport const createFormData = (\n fields: Record<string, string | boolean | string[] | File | null | undefined>,\n) => {\n const formData = new FormData();\n\n for (const [name, value] of Object.entries(fields)) {\n if (!value) {\n continue;\n }\n\n if (Array.isArray(value)) {\n for (const item of value) {\n formData.append(`${name}[]`, item);\n }\n } else {\n formData.append(name, value === true ? '1' : value);\n }\n }\n\n return formData;\n};\n","import type { UploadProgress } from '../../fetchClient';\nimport { createOpenapiFetchClient, xhrFetch } from '../../fetchClient';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type { UploadFileInput, WriteTableInput } from './types';\nimport { createFormData } from './utils';\n\ntype Options = {\n signal?: AbortSignal;\n onProgress?: (progress: UploadProgress) => void;\n};\n\nexport const createImportClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n\n const uploadFile = async (\n { file, ...fields }: UploadFileInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/upload-file',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const writeTable = async (\n { file, ...fields }: WriteTableInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/write-table',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await client.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthCheck,\n uploadFile,\n writeTable,\n };\n};\n"],"mappings":";;;AAQA,MAAM,wBAAwB,QAAgB;CAC5C,MAAM,UAAU,IAAI,QAAQ;CAE5B,KAAK,MAAM,QAAQ,IAAI,KAAK,CAAC,CAAC,MAAM,SAAS,GAAG;EAC9C,MAAM,YAAY,KAAK,QAAQ,GAAG;EAClC,IAAI,YAAY,GAAG;EAEnB,QAAQ,OAAO,KAAK,MAAM,GAAG,SAAS,CAAC,CAAC,KAAK,GAAG,KAAK,MAAM,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC;CAClF;CAEA,OAAO;AACT;AAEA,MAAM,yBAAyB,IAAI,aAAa,8BAA8B,YAAY;AAG1F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CACT;CAEA,OAAO;EACL;EACA;EACA;CACF;AACF"}
@@ -1,5 +1,5 @@
1
- import { t as createOpenapiFetchClient } from "./createOpenapiFetchClient-BxcLLU_N.js";
2
- import { t as createAuthHeaders } from "./auth-DUHTJTwS.js";
1
+ import { t as createOpenapiFetchClient } from "./createOpenapiFetchClient-wq8iGLZM.js";
2
+ import { t as createAuthHeaders } from "./auth-C6cHWIWx.js";
3
3
  //#region src/fetchClient/xhrFetch.ts
4
4
  const parseResponseHeaders = (raw) => {
5
5
  const headers = new Headers();
@@ -113,4 +113,4 @@ const createImportClient = ({ baseUrl, middlewares, auth }) => {
113
113
  //#endregion
114
114
  export { createImportClient as t };
115
115
 
116
- //# sourceMappingURL=import-CXBcFVbk.js.map
116
+ //# sourceMappingURL=import-JlH_QaDd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-CXBcFVbk.js","names":[],"sources":["../src/fetchClient/xhrFetch.ts","../src/clients/import/utils.ts","../src/clients/import/importClient.ts"],"sourcesContent":["import type { FetchFn } from './createFetchClient';\n\nexport type UploadProgress = {\n loaded: number;\n total: number;\n percent: number;\n};\n\nconst parseResponseHeaders = (raw: string) => {\n const headers = new Headers();\n\n for (const line of raw.trim().split(/[\\r\\n]+/)) {\n const separator = line.indexOf(':');\n if (separator < 0) continue;\n\n headers.append(line.slice(0, separator).trim(), line.slice(separator + 1).trim());\n }\n\n return headers;\n};\n\nconst createAbortError = () => new DOMException('The operation was aborted.', 'AbortError');\n\n// `new Response(body)` throws for these statuses even when the body is empty.\nconst BODILESS_STATUSES = [204, 205];\n\nconst BODILESS_METHODS = ['GET', 'HEAD'];\n\n/**\n * A `fetch` implementation backed by XHR, for the `fetchFn` escape hatch: `fetch` cannot observe\n * request-body upload progress outside Chromium, `xhr.upload.onprogress` can.\n */\nexport const xhrFetch = (onProgress: (progress: UploadProgress) => void): FetchFn => {\n return async (input, init) => {\n // Node has no XHR, and asking for progress is not worth failing an upload over — the caller\n // simply gets no progress events there.\n if (typeof XMLHttpRequest === 'undefined') return fetch(input, init);\n\n const request = new Request(input, init);\n const body = BODILESS_METHODS.includes(request.method) ? null : await request.blob();\n\n if (request.signal.aborted) throw createAbortError();\n\n const { promise, resolve, reject } = Promise.withResolvers<Response>();\n const xhr = new XMLHttpRequest();\n\n const handleProgress = (event: ProgressEvent) => {\n if (!event.lengthComputable) return;\n\n onProgress({\n loaded: event.loaded,\n total: event.total,\n percent: (event.loaded / event.total) * 100,\n });\n };\n\n const handleLoad = () => {\n resolve(\n new Response(BODILESS_STATUSES.includes(xhr.status) ? null : xhr.response, {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseResponseHeaders(xhr.getAllResponseHeaders()),\n }),\n );\n };\n\n // `TypeError` for parity with `fetch` — `isFetchClientError` keys off it.\n const handleError = () => reject(new TypeError('Failed to fetch'));\n const handleAbort = () => reject(createAbortError());\n\n xhr.open(request.method, request.url, true);\n xhr.responseType = 'blob';\n xhr.withCredentials = request.credentials === 'include';\n\n // The body we send is the one this `Request` serialized, so its `content-type` — multipart\n // boundary included — describes those exact bytes and can be forwarded as-is.\n request.headers.forEach((value, name) => xhr.setRequestHeader(name, value));\n\n xhr.upload.addEventListener('progress', handleProgress);\n xhr.addEventListener('load', handleLoad);\n xhr.addEventListener('error', handleError);\n xhr.addEventListener('abort', handleAbort);\n request.signal.addEventListener('abort', () => xhr.abort(), { once: true });\n\n xhr.send(body);\n\n return promise;\n };\n};\n","/**\n * Every field the importer takes is a form part, named exactly as the spec names it: flags go as\n * `1` when on and are left out when off (so the service applies its own default), and arrays repeat\n * under the `[]`-suffixed name. The payload rides along as the `data` part — `file` is the public\n * API's word for it, not the wire's.\n */\nexport const createFormData = (\n fields: Record<string, string | boolean | string[] | File | null | undefined>,\n) => {\n const formData = new FormData();\n\n for (const [name, value] of Object.entries(fields)) {\n if (!value) {\n continue;\n }\n\n if (Array.isArray(value)) {\n for (const item of value) {\n formData.append(`${name}[]`, item);\n }\n } else {\n formData.append(name, value === true ? '1' : value);\n }\n }\n\n return formData;\n};\n","import type { UploadProgress } from '../../fetchClient';\nimport { createOpenapiFetchClient, xhrFetch } from '../../fetchClient';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type { UploadFileInput, WriteTableInput } from './types';\nimport { createFormData } from './utils';\n\ntype Options = {\n signal?: AbortSignal;\n onProgress?: (progress: UploadProgress) => void;\n};\n\nexport const createImportClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n\n const uploadFile = async (\n { file, ...fields }: UploadFileInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/upload-file',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const writeTable = async (\n { file, ...fields }: WriteTableInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/write-table',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await client.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthCheck,\n uploadFile,\n writeTable,\n };\n};\n"],"mappings":";;;AAQA,MAAM,wBAAwB,QAAgB;CAC5C,MAAM,UAAU,IAAI,QAAQ;CAE5B,KAAK,MAAM,QAAQ,IAAI,KAAK,CAAC,CAAC,MAAM,SAAS,GAAG;EAC9C,MAAM,YAAY,KAAK,QAAQ,GAAG;EAClC,IAAI,YAAY,GAAG;EAEnB,QAAQ,OAAO,KAAK,MAAM,GAAG,SAAS,CAAC,CAAC,KAAK,GAAG,KAAK,MAAM,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC;CAClF;CAEA,OAAO;AACT;AAEA,MAAM,yBAAyB,IAAI,aAAa,8BAA8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ACT;CAEA,OAAO;EACL;EACA;EACA;CACF;AACF"}
1
+ {"version":3,"file":"import-JlH_QaDd.js","names":[],"sources":["../src/fetchClient/xhrFetch.ts","../src/clients/import/utils.ts","../src/clients/import/importClient.ts"],"sourcesContent":["import type { FetchFn } from './createFetchClient';\n\nexport type UploadProgress = {\n loaded: number;\n total: number;\n percent: number;\n};\n\nconst parseResponseHeaders = (raw: string) => {\n const headers = new Headers();\n\n for (const line of raw.trim().split(/[\\r\\n]+/)) {\n const separator = line.indexOf(':');\n if (separator < 0) continue;\n\n headers.append(line.slice(0, separator).trim(), line.slice(separator + 1).trim());\n }\n\n return headers;\n};\n\nconst createAbortError = () => new DOMException('The operation was aborted.', 'AbortError');\n\n// `new Response(body)` throws for these statuses even when the body is empty.\nconst BODILESS_STATUSES = [204, 205];\n\nconst BODILESS_METHODS = ['GET', 'HEAD'];\n\n/**\n * A `fetch` implementation backed by XHR, for the `fetchFn` escape hatch: `fetch` cannot observe\n * request-body upload progress outside Chromium, `xhr.upload.onprogress` can.\n */\nexport const xhrFetch = (onProgress: (progress: UploadProgress) => void): FetchFn => {\n return async (input, init) => {\n // Node has no XHR, and asking for progress is not worth failing an upload over — the caller\n // simply gets no progress events there.\n if (typeof XMLHttpRequest === 'undefined') return fetch(input, init);\n\n const request = new Request(input, init);\n const body = BODILESS_METHODS.includes(request.method) ? null : await request.blob();\n\n if (request.signal.aborted) throw createAbortError();\n\n const { promise, resolve, reject } = Promise.withResolvers<Response>();\n const xhr = new XMLHttpRequest();\n\n const handleProgress = (event: ProgressEvent) => {\n if (!event.lengthComputable) return;\n\n onProgress({\n loaded: event.loaded,\n total: event.total,\n percent: (event.loaded / event.total) * 100,\n });\n };\n\n const handleLoad = () => {\n resolve(\n new Response(BODILESS_STATUSES.includes(xhr.status) ? null : xhr.response, {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseResponseHeaders(xhr.getAllResponseHeaders()),\n }),\n );\n };\n\n // `TypeError` for parity with `fetch` — `isFetchClientError` keys off it.\n const handleError = () => reject(new TypeError('Failed to fetch'));\n const handleAbort = () => reject(createAbortError());\n\n xhr.open(request.method, request.url, true);\n xhr.responseType = 'blob';\n xhr.withCredentials = request.credentials === 'include';\n\n // The body we send is the one this `Request` serialized, so its `content-type` — multipart\n // boundary included — describes those exact bytes and can be forwarded as-is.\n request.headers.forEach((value, name) => xhr.setRequestHeader(name, value));\n\n xhr.upload.addEventListener('progress', handleProgress);\n xhr.addEventListener('load', handleLoad);\n xhr.addEventListener('error', handleError);\n xhr.addEventListener('abort', handleAbort);\n request.signal.addEventListener('abort', () => xhr.abort(), { once: true });\n\n xhr.send(body);\n\n return promise;\n };\n};\n","/**\n * Every field the importer takes is a form part, named exactly as the spec names it: flags go as\n * `1` when on and are left out when off (so the service applies its own default), and arrays repeat\n * under the `[]`-suffixed name. The payload rides along as the `data` part — `file` is the public\n * API's word for it, not the wire's.\n */\nexport const createFormData = (\n fields: Record<string, string | boolean | string[] | File | null | undefined>,\n) => {\n const formData = new FormData();\n\n for (const [name, value] of Object.entries(fields)) {\n if (!value) {\n continue;\n }\n\n if (Array.isArray(value)) {\n for (const item of value) {\n formData.append(`${name}[]`, item);\n }\n } else {\n formData.append(name, value === true ? '1' : value);\n }\n }\n\n return formData;\n};\n","import type { UploadProgress } from '../../fetchClient';\nimport { createOpenapiFetchClient, xhrFetch } from '../../fetchClient';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type { UploadFileInput, WriteTableInput } from './types';\nimport { createFormData } from './utils';\n\ntype Options = {\n signal?: AbortSignal;\n onProgress?: (progress: UploadProgress) => void;\n};\n\nexport const createImportClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n\n const uploadFile = async (\n { file, ...fields }: UploadFileInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/upload-file',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const writeTable = async (\n { file, ...fields }: WriteTableInput,\n { signal, onProgress }: Options = {},\n ) => {\n const { data } = await client.post(\n '/write-table',\n { body: createFormData({ data: file, ...fields }) },\n { signal, fetchFn: onProgress ? xhrFetch(onProgress) : undefined },\n );\n\n return data;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await client.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthCheck,\n uploadFile,\n writeTable,\n };\n};\n"],"mappings":";;;AAQA,MAAM,wBAAwB,QAAgB;CAC5C,MAAM,UAAU,IAAI,QAAQ;CAE5B,KAAK,MAAM,QAAQ,IAAI,KAAK,CAAC,CAAC,MAAM,SAAS,GAAG;EAC9C,MAAM,YAAY,KAAK,QAAQ,GAAG;EAClC,IAAI,YAAY,GAAG;EAEnB,QAAQ,OAAO,KAAK,MAAM,GAAG,SAAS,CAAC,CAAC,KAAK,GAAG,KAAK,MAAM,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC;CAClF;CAEA,OAAO;AACT;AAEA,MAAM,yBAAyB,IAAI,aAAa,8BAA8B,YAAY;AAG1F,MAAM,oBAAoB,CAAC,KAAK,GAAG;AAEnC,MAAM,mBAAmB,CAAC,OAAO,MAAM;;;;;AAMvC,MAAa,YAAY,eAA4D;CACnF,OAAO,OAAO,OAAO,SAAS;EAG5B,IAAI,OAAO,mBAAmB,aAAa,OAAO,MAAM,OAAO,IAAI;EAEnE,MAAM,UAAU,IAAI,QAAQ,OAAO,IAAI;EACvC,MAAM,OAAO,iBAAiB,SAAS,QAAQ,MAAM,IAAI,OAAO,MAAM,QAAQ,KAAK;EAEnF,IAAI,QAAQ,OAAO,SAAS,MAAM,iBAAiB;EAEnD,MAAM,EAAE,SAAS,SAAS,WAAW,QAAQ,cAAwB;EACrE,MAAM,MAAM,IAAI,eAAe;EAE/B,MAAM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AAS,aAAa,WAA8B;CACvF,MAAM,SAAS,yBAAgC;EAC7C;EACA;EACA,SAAS,kBAAkB,IAAI;CACjC,CAAC;CAED,MAAM,aAAa,OACjB,EAAE,MAAM,GAAG,UACX,EAAE,QAAQ,eAAwB,CAAC,MAChC;EACH,MAAM,EAAE,SAAS,MAAM,OAAO,KAC5B,gBACA,EAAE,MAAM,eAAe;GAAE,MAAM;GAAM,GAAG;EAAO,CAAC,EAAE,GAClD;GAAE;GAAQ,SAAS,aAAa,SAAS,UAAU,IAAI,KAAA;EAAU,CACnE;EAEA,OAAO;CACT;CAEA,MAAM,aAAa,OACjB,EAAE,MAAM,GAAG,UACX,EAAE,QAAQ,eAAwB,CAAC,MAChC;EACH,MAAM,EAAE,SAAS,MAAM,OAAO,KAC5B,gBACA,EAAE,MAAM,eAAe;GAAE,MAAM;GAAM,GAAG;EAAO,CAAC,EAAE,GAClD;GAAE;GAAQ,SAAS,aAAa,SAAS,UAAU,IAAI,KAAA;EAAU,CACnE;EAEA,OAAO;CACT;CAEA,MAAM,cAAc,OAAO,WAAyB;EAClD,MAAM,EAAE,SAAS,MAAM,OAAO,IAAI,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC;EAEjE,OAAO;CACT;CAEA,OAAO;EACL;EACA;EACA;CACF;AACF"}
@@ -1,7 +1,7 @@
1
1
  import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
2
2
  import { h as ProjectToolPolicyValue, m as ProjectToolPolicy } from "./types-ByLH46Dt.cjs";
3
3
  import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.cjs";
4
- import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-DinIJ1D_.cjs";
4
+ import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-CBPKpLTf.cjs";
5
5
  import { z } from "zod";
6
6
  //#region src/clients/kaiAgent/kaiAgentClient.d.ts
7
7
  declare const agentSettingsSchema: z.ZodObject<{
@@ -216,6 +216,7 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
216
216
  createdAt?: string;
217
217
  hidden?: boolean;
218
218
  autoForwarded?: boolean;
219
+ pausedReason?: 'turn-budget';
219
220
  requestContext?: {
220
221
  path?: string;
221
222
  sqlEditorActive?: boolean;
@@ -271,4 +272,4 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
271
272
  };
272
273
  //#endregion
273
274
  export { UserMemory as a, UserAgentSettings as i, SpendCapMember as n, createKaiAgentClient as o, SpendCapsView as r, AgentSettings as t };
274
- //# sourceMappingURL=index-VnJCp8IL.d.cts.map
275
+ //# sourceMappingURL=index-04pgr-EO.d.cts.map
@@ -1,7 +1,7 @@
1
1
  import { T as ApiResponse } from "./index-BgR5zcjJ.js";
2
2
  import { n as ClientInitOptions } from "./types-B2w2TtSA.js";
3
3
  import { t as LogEntry } from "./appLogs-BS6ViVGR.js";
4
- import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-DIiOMV-t.js";
4
+ import { _ as GetSandboxPath, c as GetAppsQuery, d as GetDataAppLogsTailQuery, f as GetDataAppPasswordPath, g as GetDataAppRunsQuery, h as GetDataAppRunsPath, l as GetDataAppLogsDownloadPath, m as GetDataAppRunPath, n as CreateDataAppPreviewLinkPath, o as DeleteDataAppPath, p as GetDataAppPath, s as DeleteSandboxPath, t as CreateDataAppBody, u as GetDataAppLogsTailPath, v as PatchDataAppBody, x as ResetDataAppPasswordPath, y as PatchDataAppPath } from "./types-Fs4a3mVs.js";
5
5
  //#region src/clients/dataScience/dataScienceClient.d.ts
6
6
  declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
7
7
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
@@ -13,7 +13,9 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
13
13
  stoppedAt?: string | null;
14
14
  startupLogs?: string | null;
15
15
  runtimeSize?: string | null;
16
+ runtimeBackendType?: string | null;
16
17
  configVersion?: string | null;
18
+ imageVersion?: string | null;
17
19
  failureReason?: {
18
20
  reason?: string | null;
19
21
  message?: string | null;
@@ -29,7 +31,9 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
29
31
  stoppedAt?: string | null;
30
32
  startupLogs?: string | null;
31
33
  runtimeSize?: string | null;
34
+ runtimeBackendType?: string | null;
32
35
  configVersion?: string | null;
36
+ imageVersion?: string | null;
33
37
  failureReason?: {
34
38
  reason?: string | null;
35
39
  message?: string | null;
@@ -147,6 +151,10 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
147
151
  size?: string | null;
148
152
  hasManagedGitRepo?: boolean;
149
153
  }>;
154
+ createAppPreviewLink: (appId: CreateDataAppPreviewLinkPath['appId'], signal?: AbortSignal) => Promise<{
155
+ url: string;
156
+ linkExpiresAt: string;
157
+ }>;
150
158
  getRuntimes: (signal?: AbortSignal) => Promise<{
151
159
  description: string;
152
160
  type: string;
@@ -205,4 +213,4 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
205
213
  };
206
214
  //#endregion
207
215
  export { createDataScienceClient as t };
208
- //# sourceMappingURL=index-D-VMgpGc.d.ts.map
216
+ //# sourceMappingURL=index-BCgmwncs.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
2
- import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-B61aCifg.cjs";
2
+ import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-D9axmt5o.cjs";
3
3
  //#region src/clients/vault/vaultClient.d.ts
4
4
  declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
5
5
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
@@ -20,7 +20,8 @@ declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOpti
20
20
  getProjectWideVariables: (signal?: AbortSignal) => Promise<VariableWithHash[]>;
21
21
  getVariables: (query: GetVariablesQuery, signal?: AbortSignal) => Promise<VariableWithHash[]>;
22
22
  getVariablesByBranchId: (branchId: GetVariablesByBranchId['branchId'], signal?: AbortSignal) => Promise<VariableWithHash[]>;
23
+ getVariablesInScope: (branchId: string | null, signal?: AbortSignal) => Promise<VariableWithHash[]>;
23
24
  };
24
25
  //#endregion
25
26
  export { createVaultClient as t };
26
- //# sourceMappingURL=index-CcMHJcuP.d.cts.map
27
+ //# sourceMappingURL=index-BHWTa4YN.d.cts.map
@@ -1,5 +1,5 @@
1
1
  import { n as ClientInitOptions } from "./types-B2w2TtSA.js";
2
- import { a as EncryptQuery, s as ScopedSecrets } from "./types-2Do0DZ60.js";
2
+ import { a as EncryptQuery, s as ScopedSecrets } from "./types-DxN2siRW.js";
3
3
  //#region src/clients/encryption/encryptionClient.d.ts
4
4
  declare const createEncryptionClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
5
5
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
@@ -13,4 +13,4 @@ declare const createEncryptionClient: ({ baseUrl, middlewares }: Omit<ClientInit
13
13
  };
14
14
  //#endregion
15
15
  export { createEncryptionClient as t };
16
- //# sourceMappingURL=index-CBWfpd-0.d.ts.map
16
+ //# sourceMappingURL=index-Bf8dr2KQ.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { O as MiddlewareFn, S as ManagementClientAuthError, t as createOpenapiFetchClient, u as createGenericFetchClient } from "./index-BgR5zcjJ.js";
2
2
  import { n as ClientInitOptions } from "./types-B2w2TtSA.js";
3
- import { $n as RotateFileStorageAbsInput, $t as CreateMaintainerInvitationInput, A as CreateProjectFeatureBody, At as UserDetail, B as JoinProjectInput, Bt as CreditPurchase, C as AddProjectUserBody, Ct as GetUsersQuery, Dn as CreateOrganizationInvitationInput, Dr as components, E as AssignProjectTemplateFeatureInput, Et as SetUserMetadataInput, F as DeleteProjectMetadataPath, Ft as UserProjectMembership, G as MoveProjectInput, Gn as CreateFileStorageAbsBody, Gt as UpdateStripeCustomerBody, H as ListProjectJoinRequestsPath, Ht as StripeCustomer, I as GetProjectMetadataPath, In as OrganizationMetadataItemPath, It as ConfirmProgrammaticProjectPayload, Jt as AddMaintainerUserInput, K as Project, Kn as CreateFileStorageGcsBody, Kt as UpdateTopUpSettingBody, L as GetProjectPath, Lt as ConfirmProgrammaticProjectResult, M as CreateProjectInvitationBody, Mt as UserMaintainerMembership, N as CreateProjectInvitationPath, Nn as OrganizationInvitationPath, Nt as UserOrganizationMembership, O as ChangeProjectUserRoleInput, Or as paths, Ot as UpdateUserInput, P as DeleteProjectInvitationPath, R as GetProjectReviewersPath, Rt as CreatePaymentRequestBody, S as UpdateStorageBackendInput, Sn as UpdateSamlConfigInput, St as DeleteUserMetadataPath, Tr as CreateApplicationTokenBody, U as ListProjectUsersPath, Un as UpdateOrganizationInput, V as ListProjectInvitationsPath, Vn as SetOrganizationMetadataInput, Vt as PayAsYouGoBillingConfiguration, Wn as SetUpBigQueryBody, Wt as TopUpSetting, Xn as FileStorageGcs, Xt as CompleteSamlSetupInput, Z as ProjectJoinRequestPath, Zt as CreateMaintainerBody, _t as SetProjectReviewersPath, a as GetUiAppsQuery, an as Maintainer, ar as RotateFileStorageS3Input, at as RemoveProjectTemplateFeaturePath, b as UpdateBigqueryStorageBackendInput, bn as UpdateMaintainerInput, bt as AddUserFeatureBody, c as UiApp, cn as MaintainerInvitationPath, cr as FeatureAdmin, ct as RequestProjectAccessInput, dn as MaintainerUser, dr as GetAllFeaturesQuery, dt as SetProjectDisabledInput, f as CreateBigqueryStorageBackendBody, fn as MaintainerUserPath, gt as SetProjectReviewersBody, h as StorageBackend, hn as SamlConfigPath, hr as DeletedProjectsListQuery, ht as SetProjectMetadataPath, i as ReactivateWorkspaceResult, it as RemoveProjectLimitPath, j as CreateProjectFeaturePath, jn as OrganizationDetail, jt as UserListItem, kn as CreateOrganizationProjectInput, kt as User, l as UiAppDetail, ln as MaintainerMetadataItemPath, lr as FeatureProject, lt as Reviewer, m as GetStorageBackendProjectsQuery, mt as SetProjectMetadataBody, n as ProjectRetentionWorkspace, nr as RotateFileStorageGcsInput, o as RegisterUiAppBody, on as MaintainerDetail, ot as RemoveProjectUserPath, p as CreateSnowflakeStorageBackendBody, pt as SetProjectLimitsInput, q as ProjectBase, qn as CreateFileStorageS3Body, r as ProjectRetentionWorkspaceState, rn as CreateSamlConfigInput, rt as RemoveProjectFeaturePath, s as RenameUiAppBody, sr as Feature, tn as CreateMaintainerOrganizationInput, vn as SetMaintainerMetadataInput, w as AddProjectUserPath, wn as AddOrganizationUserInput, wt as RemoveUserFeaturePath, xt as AddUserFeaturePath, yt as UpdateProjectInput, zn as OrganizationUserPath, zt as CreditPaymentRequest } from "./types-R3AFJD6r.js";
3
+ import { An as CreateOrganizationProjectInput, Ar as paths, At as User, Bn as OrganizationUserPath, Bt as CreditPaymentRequest, C as UpdateStorageBackendInput, Cn as UpdateSamlConfigInput, Ct as DeleteUserMetadataPath, D as AssignProjectTemplateFeatureInput, Dr as CreateApplicationTokenBody, Dt as SetUserMetadataInput, F as DeleteProjectInvitationPath, Gn as SetUpBigQueryBody, Gt as TopUpSetting, H as ListProjectInvitationsPath, Hn as SetOrganizationMetadataInput, Ht as PayAsYouGoBillingConfiguration, I as DeleteProjectMetadataPath, It as UserProjectMembership, J as ProjectBase, Jn as CreateFileStorageS3Body, K as MoveProjectInput, Kn as CreateFileStorageAbsBody, Kt as UpdateStripeCustomerBody, L as GetProjectMetadataPath, Ln as OrganizationMetadataItemPath, Lt as ConfirmProgrammaticProjectPayload, M as CreateProjectFeaturePath, Mn as OrganizationDetail, Mt as UserListItem, N as CreateProjectInvitationBody, Nt as UserMaintainerMembership, On as CreateOrganizationInvitationInput, P as CreateProjectInvitationPath, Pn as OrganizationInvitationPath, Pt as UserOrganizationMembership, Q as ProjectJoinRequestPath, Qt as CreateMaintainerBody, R as GetProjectPath, Rt as ConfirmProgrammaticProjectResult, St as AddUserFeaturePath, T as AddProjectUserPath, Tn as AddOrganizationUserInput, Tt as RemoveUserFeaturePath, U as ListProjectJoinRequestsPath, Ut as StripeCustomer, V as JoinProjectInput, Vt as CreditPurchase, W as ListProjectUsersPath, Wn as UpdateOrganizationInput, Yn as FileStorage, Yt as AddMaintainerUserInput, Zn as FileStorageGcs, Zt as CompleteSamlSetupInput, _r as DeletedProjectsListQuery, _t as SetProjectReviewersBody, a as GetUiAppsQuery, at as RemoveProjectLimitPath, bt as UpdateProjectInput, c as UiApp, cr as UpdateFileStorageBody, dr as FeatureProject, en as CreateMaintainerInvitationInput, er as RotateFileStorageAbsInput, f as CreateBigqueryStorageBackendBody, fn as MaintainerUser, ft as SetProjectDisabledInput, g as StorageBackend, gn as SamlConfigPath, gt as SetProjectMetadataPath, h as GetStorageBackendProjectsQuery, ht as SetProjectMetadataBody, i as ReactivateWorkspaceResult, in as CreateSamlConfigInput, it as RemoveProjectFeaturePath, j as CreateProjectFeatureBody, jt as UserDetail, k as ChangeProjectUserRoleInput, kr as components, kt as UpdateUserInput, l as UiAppDetail, ln as MaintainerInvitationPath, lr as Feature, lt as RequestProjectAccessInput, mt as SetProjectLimitsInput, n as ProjectRetentionWorkspace, nn as CreateMaintainerOrganizationInput, o as RegisterUiAppBody, on as Maintainer, or as RotateFileStorageS3Input, ot as RemoveProjectTemplateFeaturePath, p as CreateSnowflakeStorageBackendBody, pn as MaintainerUserPath, pr as GetAllFeaturesQuery, q as Project, qn as CreateFileStorageGcsBody, qt as UpdateTopUpSettingBody, r as ProjectRetentionWorkspaceState, rr as RotateFileStorageGcsInput, s as RenameUiAppBody, sn as MaintainerDetail, st as RemoveProjectUserPath, un as MaintainerMetadataItemPath, ur as FeatureAdmin, ut as Reviewer, vt as SetProjectReviewersPath, w as AddProjectUserBody, wt as GetUsersQuery, x as UpdateBigqueryStorageBackendInput, xn as UpdateMaintainerInput, xt as AddUserFeatureBody, yn as SetMaintainerMetadataInput, z as GetProjectReviewersPath, zt as CreatePaymentRequestBody } from "./types-DazRtukc.js";
4
4
  //#region src/clients/management/managementClient.d.ts
5
5
  type ManagementOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
6
6
  type ManagementGenericFetchClient = ReturnType<typeof createGenericFetchClient>;
@@ -686,6 +686,8 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
686
686
  getFeatureAdmins: (featureId: number, signal?: AbortSignal) => Promise<FeatureAdmin[]>;
687
687
  };
688
688
  fileStorage: {
689
+ deleteFileStorage: (fileStorageId: number) => Promise<void>;
690
+ updateFileStorage: (fileStorageId: number, body: UpdateFileStorageBody) => Promise<FileStorage>;
689
691
  getFileStoragesS3: (signal?: AbortSignal) => Promise<{
690
692
  id: number;
691
693
  awsKey: string;
@@ -1202,4 +1204,4 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
1202
1204
  declare const isManagementClientAuthError: (error: unknown) => error is ManagementClientAuthError;
1203
1205
  //#endregion
1204
1206
  export { createManagementClient as a, ManagementOpenApiFetchClient as i, AuthStrategy as n, ManagementGenericFetchClient as r, isManagementClientAuthError as t };
1205
- //# sourceMappingURL=index-B03vhWSX.d.ts.map
1207
+ //# sourceMappingURL=index-CA6QxbhZ.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import { a as ProjectId } from "./types-BhEx9iRx.js";
2
- import "./types-C0rVtqz2.js";
3
- import { t as createEncryptionClient } from "./index-CBWfpd-0.js";
4
- import { n as CreateVariableBody, o as VariableWithHash, t as AnyVariable } from "./types-CZXPu3gn.js";
5
- import { t as createVaultClient } from "./index-D_-4uQF8.js";
2
+ import "./types-D8pGSkRe.js";
3
+ import { t as createEncryptionClient } from "./index-Bf8dr2KQ.js";
4
+ import { n as CreateVariableBody, o as VariableWithHash, t as AnyVariable } from "./types-BBUZ9EHs.js";
5
+ import { t as createVaultClient } from "./index-zyxZVJnd.js";
6
6
  //#region src/sdks/vault/types.d.ts
7
7
  type VaultClient = ReturnType<typeof createVaultClient>;
8
8
  type EncryptionClient = ReturnType<typeof createEncryptionClient>;
@@ -74,4 +74,4 @@ declare const partitionByOauth: <T extends AnyVariable>(variables: T[]) => {
74
74
  };
75
75
  //#endregion
76
76
  export { vaultRef as a, partitionByOauth as i, isVariableEncryptionRequired as n, createVaultSdk as o, isVariableOauth as r, EncryptionCtx as s, isSameVariable as t };
77
- //# sourceMappingURL=index-Cw-d6vV3.d.ts.map
77
+ //# sourceMappingURL=index-CWPi7lBF.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { O as MiddlewareFn, t as createOpenapiFetchClient } from "./index-BgR5zcjJ.js";
2
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";
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-DzV6LaZq.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'> & {
@@ -863,12 +863,17 @@ declare const createDeveloperPortalClient: ({ baseUrl, middlewares, authMiddlewa
863
863
  admin: {
864
864
  getStacks: (signal?: AbortSignal) => Promise<string[]>;
865
865
  getChanges: (query?: GetChangesQuery, signal?: AbortSignal) => Promise<({
866
- id?: string;
867
- createdOn?: string;
868
- createdBy?: string;
869
- changes?: {
870
- [key: string]: unknown;
871
- }[];
866
+ id: string;
867
+ createdOn: string;
868
+ createdBy: string | null;
869
+ changes: ({
870
+ attribute: string;
871
+ oldValue: unknown;
872
+ newValue: unknown;
873
+ description: string;
874
+ } & {
875
+ [key: string]: unknown;
876
+ })[];
872
877
  } & {
873
878
  [key: string]: unknown;
874
879
  })[]>;
@@ -1382,4 +1387,4 @@ type DeveloperPortalTokens = {
1382
1387
  declare const authHeader: (token: string) => Record<string, string>;
1383
1388
  //#endregion
1384
1389
  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 };
1385
- //# sourceMappingURL=index-C11JSxBY.d.ts.map
1390
+ //# sourceMappingURL=index-CX8GAP2g.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { O as MiddlewareFn, t as createOpenapiFetchClient } from "./index-BVhHt5lx.cjs";
2
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";
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-BiEh5c_t.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'> & {
@@ -863,12 +863,17 @@ declare const createDeveloperPortalClient: ({ baseUrl, middlewares, authMiddlewa
863
863
  admin: {
864
864
  getStacks: (signal?: AbortSignal) => Promise<string[]>;
865
865
  getChanges: (query?: GetChangesQuery, signal?: AbortSignal) => Promise<({
866
- id?: string;
867
- createdOn?: string;
868
- createdBy?: string;
869
- changes?: {
870
- [key: string]: unknown;
871
- }[];
866
+ id: string;
867
+ createdOn: string;
868
+ createdBy: string | null;
869
+ changes: ({
870
+ attribute: string;
871
+ oldValue: unknown;
872
+ newValue: unknown;
873
+ description: string;
874
+ } & {
875
+ [key: string]: unknown;
876
+ })[];
872
877
  } & {
873
878
  [key: string]: unknown;
874
879
  })[]>;
@@ -1382,4 +1387,4 @@ type DeveloperPortalTokens = {
1382
1387
  declare const authHeader: (token: string) => Record<string, string>;
1383
1388
  //#endregion
1384
1389
  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 };
1385
- //# sourceMappingURL=index-C4TNAA8-.d.cts.map
1390
+ //# sourceMappingURL=index-Cvkrjh--.d.cts.map
@@ -1,7 +1,7 @@
1
1
  import { T as ApiResponse } from "./index-BVhHt5lx.cjs";
2
2
  import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
3
3
  import { t as LogEntry } from "./appLogs-C9YlJ2g8.cjs";
4
- import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-BLNB882w.cjs";
4
+ import { _ as GetSandboxPath, c as GetAppsQuery, d as GetDataAppLogsTailQuery, f as GetDataAppPasswordPath, g as GetDataAppRunsQuery, h as GetDataAppRunsPath, l as GetDataAppLogsDownloadPath, m as GetDataAppRunPath, n as CreateDataAppPreviewLinkPath, o as DeleteDataAppPath, p as GetDataAppPath, s as DeleteSandboxPath, t as CreateDataAppBody, u as GetDataAppLogsTailPath, v as PatchDataAppBody, x as ResetDataAppPasswordPath, y as PatchDataAppPath } from "./types-CGm2fQKK.cjs";
5
5
  //#region src/clients/dataScience/dataScienceClient.d.ts
6
6
  declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
7
7
  healthCheck: (signal?: AbortSignal) => Promise<unknown>;
@@ -13,7 +13,9 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
13
13
  stoppedAt?: string | null;
14
14
  startupLogs?: string | null;
15
15
  runtimeSize?: string | null;
16
+ runtimeBackendType?: string | null;
16
17
  configVersion?: string | null;
18
+ imageVersion?: string | null;
17
19
  failureReason?: {
18
20
  reason?: string | null;
19
21
  message?: string | null;
@@ -29,7 +31,9 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
29
31
  stoppedAt?: string | null;
30
32
  startupLogs?: string | null;
31
33
  runtimeSize?: string | null;
34
+ runtimeBackendType?: string | null;
32
35
  configVersion?: string | null;
36
+ imageVersion?: string | null;
33
37
  failureReason?: {
34
38
  reason?: string | null;
35
39
  message?: string | null;
@@ -147,6 +151,10 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
147
151
  size?: string | null;
148
152
  hasManagedGitRepo?: boolean;
149
153
  }>;
154
+ createAppPreviewLink: (appId: CreateDataAppPreviewLinkPath['appId'], signal?: AbortSignal) => Promise<{
155
+ url: string;
156
+ linkExpiresAt: string;
157
+ }>;
150
158
  getRuntimes: (signal?: AbortSignal) => Promise<{
151
159
  description: string;
152
160
  type: string;
@@ -205,4 +213,4 @@ declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientIn
205
213
  };
206
214
  //#endregion
207
215
  export { createDataScienceClient as t };
208
- //# sourceMappingURL=index-Cz0MXhzs.d.cts.map
216
+ //# sourceMappingURL=index-D9UsQOuT.d.cts.map