@keboola/api-client 24.0.0 → 27.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (485) hide show
  1. package/AGENTS.md +489 -0
  2. package/API-SURFACE.md +129 -57
  3. package/README.md +29 -25
  4. package/dist/{ManagementClientAuthError-C7q1Jd9I.d.ts → ManagementClientAuthError-4J0S5tV-.d.ts} +1 -1
  5. package/dist/{ManagementClientAuthError-BuqHAOBO.d.cts → ManagementClientAuthError-CyDpa4NS.d.cts} +1 -1
  6. package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
  7. package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
  8. package/dist/ai/index.cjs +4 -4
  9. package/dist/ai/index.d.cts +6 -3
  10. package/dist/ai/index.d.ts +6 -3
  11. package/dist/ai/index.js +3 -3
  12. package/dist/ai/types.d.cts +2 -2
  13. package/dist/ai/types.d.ts +2 -2
  14. package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
  15. package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
  16. package/dist/apps/index.cjs +16 -0
  17. package/dist/apps/index.cjs.map +1 -0
  18. package/dist/apps/index.d.cts +249 -0
  19. package/dist/apps/index.d.ts +249 -0
  20. package/dist/apps/index.js +7 -0
  21. package/dist/apps/index.js.map +1 -0
  22. package/dist/apps/types.cjs +4 -0
  23. package/dist/apps/types.cjs.map +1 -0
  24. package/dist/apps/types.d.cts +3 -0
  25. package/dist/apps/types.d.ts +3 -0
  26. package/dist/apps/types.js +3 -0
  27. package/dist/apps/types.js.map +1 -0
  28. package/dist/assets/index.cjs +2 -2
  29. package/dist/assets/index.d.cts +1 -1
  30. package/dist/assets/index.d.ts +1 -1
  31. package/dist/assets/index.js +1 -1
  32. package/dist/auth/index.cjs +17 -13
  33. package/dist/auth/index.d.cts +19 -6
  34. package/dist/auth/index.d.ts +19 -6
  35. package/dist/auth/index.js +2 -2
  36. package/dist/auth/types.d.cts +3 -3
  37. package/dist/auth/types.d.ts +3 -3
  38. package/dist/backends-UNp_e5y9.d.cts +7 -0
  39. package/dist/backends-UNp_e5y9.d.ts +7 -0
  40. package/dist/chat/index.cjs +4 -4
  41. package/dist/chat/index.d.cts +6 -3
  42. package/dist/chat/index.d.ts +6 -3
  43. package/dist/chat/index.js +3 -3
  44. package/dist/chat/types.d.cts +2 -2
  45. package/dist/chat/types.d.ts +2 -2
  46. package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
  47. package/dist/chunk-24YVNNAG.js.map +1 -0
  48. package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
  49. package/dist/chunk-255CHZ3U.js.map +1 -0
  50. package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
  51. package/dist/chunk-2BCH2U57.js.map +1 -0
  52. package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
  53. package/dist/chunk-2BQBKU6E.js.map +1 -0
  54. package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
  55. package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
  56. package/dist/chunk-3UBGQFBU.js +29 -0
  57. package/dist/chunk-3UBGQFBU.js.map +1 -0
  58. package/dist/chunk-57Q4CY4H.js +190 -0
  59. package/dist/chunk-57Q4CY4H.js.map +1 -0
  60. package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
  61. package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
  62. package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
  63. package/dist/chunk-5HEIR4DC.js.map +1 -0
  64. package/dist/chunk-5SR2L35Y.cjs +1828 -0
  65. package/dist/chunk-5SR2L35Y.cjs.map +1 -0
  66. package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
  67. package/dist/chunk-62LG5KPI.js.map +1 -0
  68. package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
  69. package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
  70. package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
  71. package/dist/chunk-6PVEHUJL.cjs.map +1 -0
  72. package/dist/chunk-6XFXU5N4.js +119 -0
  73. package/dist/chunk-6XFXU5N4.js.map +1 -0
  74. package/dist/chunk-6ZQBFK2Y.js +24 -0
  75. package/dist/chunk-6ZQBFK2Y.js.map +1 -0
  76. package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
  77. package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
  78. package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
  79. package/dist/chunk-AXYNFDUI.cjs.map +1 -0
  80. package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
  81. package/dist/chunk-B45B4AYG.js.map +1 -0
  82. package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
  83. package/dist/chunk-B4T4QCLB.js.map +1 -0
  84. package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
  85. package/dist/chunk-BGJWHTBJ.js.map +1 -0
  86. package/dist/chunk-BVRPZKRE.cjs +147 -0
  87. package/dist/chunk-BVRPZKRE.cjs.map +1 -0
  88. package/dist/chunk-BZB4UVQA.cjs +192 -0
  89. package/dist/chunk-BZB4UVQA.cjs.map +1 -0
  90. package/dist/{chunk-D3ZZQIY2.cjs → chunk-CHRBWCL7.cjs} +8 -8
  91. package/dist/chunk-CHRBWCL7.cjs.map +1 -0
  92. package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
  93. package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
  94. package/dist/{chunk-D6O5C67S.js → chunk-DVV35AIS.js} +7 -7
  95. package/dist/chunk-DVV35AIS.js.map +1 -0
  96. package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
  97. package/dist/chunk-E7GGDLAH.cjs.map +1 -0
  98. package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
  99. package/dist/chunk-EQPBR3BE.cjs.map +1 -0
  100. package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
  101. package/dist/chunk-ERZEQ5JR.js.map +1 -0
  102. package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
  103. package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
  104. package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
  105. package/dist/chunk-FEAE6L3K.cjs.map +1 -0
  106. package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
  107. package/dist/chunk-FVU7WU2H.cjs.map +1 -0
  108. package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
  109. package/dist/chunk-FW5GBBKL.js.map +1 -0
  110. package/dist/chunk-G2SWCC3X.js +90 -0
  111. package/dist/chunk-G2SWCC3X.js.map +1 -0
  112. package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
  113. package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
  114. package/dist/{chunk-KH6BHTXN.js → chunk-HGKDXF35.js} +59 -108
  115. package/dist/chunk-HGKDXF35.js.map +1 -0
  116. package/dist/chunk-HITKHHWN.cjs +174 -0
  117. package/dist/chunk-HITKHHWN.cjs.map +1 -0
  118. package/dist/chunk-HQO572JW.cjs +34 -0
  119. package/dist/chunk-HQO572JW.cjs.map +1 -0
  120. package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
  121. package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
  122. package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
  123. package/dist/chunk-HZDVMHU6.js.map +1 -0
  124. package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
  125. package/dist/chunk-ICWUR5WA.cjs.map +1 -0
  126. package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
  127. package/dist/chunk-IQFNHQWP.cjs.map +1 -0
  128. package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
  129. package/dist/chunk-IZ4QM7O4.js.map +1 -0
  130. package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
  131. package/dist/chunk-J5JCXSAS.cjs.map +1 -0
  132. package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
  133. package/dist/chunk-JI7HLIDL.cjs.map +1 -0
  134. package/dist/chunk-JWISA775.cjs +92 -0
  135. package/dist/chunk-JWISA775.cjs.map +1 -0
  136. package/dist/chunk-K3BLXPLA.cjs +16 -0
  137. package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
  138. package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
  139. package/dist/chunk-KATUDT3E.js.map +1 -0
  140. package/dist/chunk-KGBWWS6I.js +32 -0
  141. package/dist/chunk-KGBWWS6I.js.map +1 -0
  142. package/dist/chunk-KQENBXPS.cjs +34 -0
  143. package/dist/chunk-KQENBXPS.cjs.map +1 -0
  144. package/dist/chunk-KTKJD4DM.js +60 -0
  145. package/dist/chunk-KTKJD4DM.js.map +1 -0
  146. package/dist/chunk-LNZP2O4P.js +169 -0
  147. package/dist/chunk-LNZP2O4P.js.map +1 -0
  148. package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
  149. package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
  150. package/dist/chunk-N4COL54U.cjs +22 -0
  151. package/dist/chunk-N4COL54U.cjs.map +1 -0
  152. package/dist/chunk-NFJKJGXR.js +397 -0
  153. package/dist/chunk-NFJKJGXR.js.map +1 -0
  154. package/dist/chunk-NH2TQGRL.cjs +28 -0
  155. package/dist/chunk-NH2TQGRL.cjs.map +1 -0
  156. package/dist/{chunk-XMC355U2.js → chunk-NHYL5QPM.js} +17 -3
  157. package/dist/chunk-NHYL5QPM.js.map +1 -0
  158. package/dist/{chunk-WFXW4XU3.js → chunk-ON4ILCHP.js} +899 -555
  159. package/dist/chunk-ON4ILCHP.js.map +1 -0
  160. package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
  161. package/dist/chunk-PLF4JX5B.cjs.map +1 -0
  162. package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
  163. package/dist/chunk-QNF3L4B7.js.map +1 -0
  164. package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
  165. package/dist/chunk-RBN3ITTM.js.map +1 -0
  166. package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
  167. package/dist/chunk-RXYT7EMN.cjs.map +1 -0
  168. package/dist/chunk-S46FMY4G.cjs +64 -0
  169. package/dist/chunk-S46FMY4G.cjs.map +1 -0
  170. package/dist/chunk-S6BWQKHJ.cjs +116 -0
  171. package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
  172. package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
  173. package/dist/chunk-SFTI6QFB.cjs.map +1 -0
  174. package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
  175. package/dist/chunk-SNP577FA.cjs.map +1 -0
  176. package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
  177. package/dist/chunk-SUVM3S2T.cjs.map +1 -0
  178. package/dist/chunk-SYZ5OFNT.js +114 -0
  179. package/dist/chunk-SYZ5OFNT.js.map +1 -0
  180. package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
  181. package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
  182. package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
  183. package/dist/chunk-TBHJQCAE.js.map +1 -0
  184. package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
  185. package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
  186. package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
  187. package/dist/chunk-UVX733BX.js.map +1 -0
  188. package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
  189. package/dist/chunk-V6FT3RTU.cjs.map +1 -0
  190. package/dist/{chunk-35MODDCL.cjs → chunk-VB56OVFM.cjs} +59 -111
  191. package/dist/chunk-VB56OVFM.cjs.map +1 -0
  192. package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
  193. package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
  194. package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
  195. package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
  196. package/dist/{chunk-3KEVPUSX.cjs → chunk-WUJ53PP7.cjs} +17 -3
  197. package/dist/chunk-WUJ53PP7.cjs.map +1 -0
  198. package/dist/chunk-YDOSWWE4.cjs +419 -0
  199. package/dist/chunk-YDOSWWE4.cjs.map +1 -0
  200. package/dist/chunk-YGEJDWGG.js +19 -0
  201. package/dist/chunk-YGEJDWGG.js.map +1 -0
  202. package/dist/constants/index.cjs +16 -164
  203. package/dist/constants/index.cjs.map +1 -1
  204. package/dist/constants/index.d.cts +14 -1
  205. package/dist/constants/index.d.ts +14 -1
  206. package/dist/constants/index.js +2 -163
  207. package/dist/constants/index.js.map +1 -1
  208. package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
  209. package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
  210. package/dist/{createGenericFetchClient-Df_wFqT8.d.cts → createGenericFetchClient-JcbIIqwF.d.cts} +1 -1
  211. package/dist/{createGenericFetchClient-Sl1DH71J.d.ts → createGenericFetchClient-ZGG5wbAC.d.ts} +1 -1
  212. package/dist/{createOpenapiFetchClient-GZxZgYHd.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +2 -2
  213. package/dist/{createOpenapiFetchClient-BSy6dVM5.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +2 -2
  214. package/dist/dataScience/index.cjs +6 -5
  215. package/dist/dataScience/index.d.cts +8 -6
  216. package/dist/dataScience/index.d.ts +8 -6
  217. package/dist/dataScience/index.js +4 -3
  218. package/dist/dataScience/types.d.cts +2172 -2
  219. package/dist/dataScience/types.d.ts +2172 -2
  220. package/dist/domain/permissions/index.cjs +3 -3
  221. package/dist/domain/permissions/index.d.cts +5 -4
  222. package/dist/domain/permissions/index.d.ts +5 -4
  223. package/dist/domain/permissions/index.js +1 -1
  224. package/dist/editor/index.cjs +4 -4
  225. package/dist/editor/index.d.cts +6 -3
  226. package/dist/editor/index.d.ts +6 -3
  227. package/dist/editor/index.js +3 -3
  228. package/dist/editor/types.d.cts +2 -2
  229. package/dist/editor/types.d.ts +2 -2
  230. package/dist/encryption/index.cjs +3 -3
  231. package/dist/encryption/index.d.cts +6 -4
  232. package/dist/encryption/index.d.ts +6 -4
  233. package/dist/encryption/index.js +2 -2
  234. package/dist/encryption/types.d.cts +4 -3
  235. package/dist/encryption/types.d.ts +4 -3
  236. package/dist/import/index.cjs +4 -4
  237. package/dist/import/index.d.cts +6 -3
  238. package/dist/import/index.d.ts +6 -3
  239. package/dist/import/index.js +3 -3
  240. package/dist/index.cjs +228 -135
  241. package/dist/index.cjs.map +1 -1
  242. package/dist/index.d.cts +952 -463
  243. package/dist/index.d.ts +952 -463
  244. package/dist/index.js +98 -46
  245. package/dist/index.js.map +1 -1
  246. package/dist/management/index.cjs +5 -5
  247. package/dist/management/index.d.cts +62 -69
  248. package/dist/management/index.d.ts +62 -69
  249. package/dist/management/index.js +3 -3
  250. package/dist/management/types.d.cts +3 -3
  251. package/dist/management/types.d.ts +3 -3
  252. package/dist/metastore/index.cjs +4 -4
  253. package/dist/metastore/index.d.cts +6 -7
  254. package/dist/metastore/index.d.ts +6 -7
  255. package/dist/metastore/index.js +3 -3
  256. package/dist/metastore/types.d.cts +2 -2
  257. package/dist/metastore/types.d.ts +2 -2
  258. package/dist/notifications/index.cjs +5 -5
  259. package/dist/notifications/index.d.cts +4 -3
  260. package/dist/notifications/index.d.ts +4 -3
  261. package/dist/notifications/index.js +4 -4
  262. package/dist/notifications/types.d.cts +2 -2
  263. package/dist/notifications/types.d.ts +2 -2
  264. package/dist/oauth/index.cjs +4 -4
  265. package/dist/oauth/index.d.cts +3 -2
  266. package/dist/oauth/index.d.ts +3 -2
  267. package/dist/oauth/index.js +3 -3
  268. package/dist/oauth/types.d.cts +1 -1
  269. package/dist/oauth/types.d.ts +1 -1
  270. package/dist/omnisearch/index.cjs +14 -0
  271. package/dist/omnisearch/index.cjs.map +1 -0
  272. package/dist/omnisearch/index.d.cts +32 -0
  273. package/dist/omnisearch/index.d.ts +32 -0
  274. package/dist/omnisearch/index.js +5 -0
  275. package/dist/omnisearch/index.js.map +1 -0
  276. package/dist/omnisearch/types.cjs +4 -0
  277. package/dist/omnisearch/types.cjs.map +1 -0
  278. package/dist/omnisearch/types.d.cts +3 -0
  279. package/dist/omnisearch/types.d.ts +3 -0
  280. package/dist/omnisearch/types.js +3 -0
  281. package/dist/omnisearch/types.js.map +1 -0
  282. package/dist/{project-DmC8vKnh.d.ts → project-Dmr-zrQG.d.ts} +2 -2
  283. package/dist/{project-CSJzVylj.d.cts → project-DstzWVMN.d.cts} +2 -2
  284. package/dist/queryService/index.cjs +4 -4
  285. package/dist/queryService/index.d.cts +4 -3
  286. package/dist/queryService/index.d.ts +4 -3
  287. package/dist/queryService/index.js +3 -3
  288. package/dist/queryService/types.d.cts +2 -2
  289. package/dist/queryService/types.d.ts +2 -2
  290. package/dist/queue/index.cjs +4 -4
  291. package/dist/queue/index.d.cts +9 -3
  292. package/dist/queue/index.d.ts +9 -3
  293. package/dist/queue/index.js +3 -3
  294. package/dist/queue/types.d.cts +2 -2
  295. package/dist/queue/types.d.ts +2 -2
  296. package/dist/scheduler/index.cjs +5 -5
  297. package/dist/scheduler/index.d.cts +3 -2
  298. package/dist/scheduler/index.d.ts +3 -2
  299. package/dist/scheduler/index.js +4 -4
  300. package/dist/scheduler/types.d.cts +3 -3
  301. package/dist/scheduler/types.d.ts +3 -3
  302. package/dist/sdk/configurations/index.cjs +3 -3
  303. package/dist/sdk/configurations/index.d.cts +9 -8
  304. package/dist/sdk/configurations/index.d.ts +9 -8
  305. package/dist/sdk/configurations/index.js +2 -2
  306. package/dist/sdk/queryService/index.cjs +16 -0
  307. package/dist/sdk/queryService/index.cjs.map +1 -0
  308. package/dist/sdk/queryService/index.d.cts +35 -0
  309. package/dist/sdk/queryService/index.d.ts +35 -0
  310. package/dist/sdk/queryService/index.js +7 -0
  311. package/dist/sdk/queryService/index.js.map +1 -0
  312. package/dist/sdk/semanticLayer/index.cjs +18 -14
  313. package/dist/sdk/semanticLayer/index.d.cts +26 -11
  314. package/dist/sdk/semanticLayer/index.d.ts +26 -11
  315. package/dist/sdk/semanticLayer/index.js +2 -2
  316. package/dist/sdk/semanticLayer/types.d.cts +26 -6
  317. package/dist/sdk/semanticLayer/types.d.ts +26 -6
  318. package/dist/sdk/storage/index.cjs +12 -11
  319. package/dist/sdk/storage/index.d.cts +9 -8
  320. package/dist/sdk/storage/index.d.ts +9 -8
  321. package/dist/sdk/storage/index.js +2 -1
  322. package/dist/sdk/tag/index.cjs +3 -3
  323. package/dist/sdk/tag/index.d.cts +4 -4
  324. package/dist/sdk/tag/index.d.ts +4 -4
  325. package/dist/sdk/tag/index.js +2 -2
  326. package/dist/sdk/tag/types.d.cts +11 -5
  327. package/dist/sdk/tag/types.d.ts +11 -5
  328. package/dist/sdk/vault/index.cjs +8 -8
  329. package/dist/sdk/vault/index.d.cts +6 -5
  330. package/dist/sdk/vault/index.d.ts +6 -5
  331. package/dist/sdk/vault/index.js +2 -2
  332. package/dist/status/index.cjs +2 -2
  333. package/dist/status/index.d.cts +1 -1
  334. package/dist/status/index.d.ts +1 -1
  335. package/dist/status/index.js +1 -1
  336. package/dist/storage/index.cjs +59 -12
  337. package/dist/storage/index.d.cts +21 -22
  338. package/dist/storage/index.d.ts +21 -22
  339. package/dist/storage/index.js +8 -5
  340. package/dist/storage/types.d.cts +741 -390
  341. package/dist/storage/types.d.ts +741 -390
  342. package/dist/{storageClient-B4OooGB9.d.ts → storageClient-BAid0vi2.d.cts} +482 -250
  343. package/dist/{storageClient-CdFqTbn3.d.cts → storageClient-BX50Attd.d.ts} +482 -250
  344. package/dist/{storageSdk-DA7U-1Hy.d.ts → storageSdk-BS5982c_.d.cts} +23 -16
  345. package/dist/{storageSdk-U45zMbUb.d.cts → storageSdk-BeJcnEIO.d.ts} +23 -16
  346. package/dist/stream/index.cjs +4 -4
  347. package/dist/stream/index.d.cts +4 -3
  348. package/dist/stream/index.d.ts +4 -3
  349. package/dist/stream/index.js +3 -3
  350. package/dist/stream/types.d.cts +2 -2
  351. package/dist/stream/types.d.ts +2 -2
  352. package/dist/syncActions/index.cjs +9 -4
  353. package/dist/syncActions/index.d.cts +55 -80
  354. package/dist/syncActions/index.d.ts +55 -80
  355. package/dist/syncActions/index.js +8 -3
  356. package/dist/syncActions/types.d.cts +387 -25
  357. package/dist/syncActions/types.d.ts +387 -25
  358. package/dist/telemetry/index.cjs +4 -4
  359. package/dist/telemetry/index.d.cts +2 -2
  360. package/dist/telemetry/index.d.ts +2 -2
  361. package/dist/telemetry/index.js +3 -3
  362. package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
  363. package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
  364. package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
  365. package/dist/types-BcaALDYY.d.cts +2130 -0
  366. package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
  367. package/dist/types-Bp8d9PJf.d.cts +607 -0
  368. package/dist/types-BsejtGjZ.d.ts +2130 -0
  369. package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
  370. package/dist/{types-WGZN6XLN.d.cts → types-C5DdOzx8.d.cts} +1 -1
  371. package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
  372. package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
  373. package/dist/{types-Brc6lq7i.d.ts → types-C_jxWM7A.d.ts} +1 -1
  374. package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
  375. package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
  376. package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
  377. package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
  378. package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
  379. package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
  380. package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
  381. package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
  382. package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
  383. package/dist/types-DOc5_aYZ.d.ts +607 -0
  384. package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
  385. package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
  386. package/dist/{types-BhlJw2f2.d.ts → types-EZBBpiFU.d.ts} +886 -114
  387. package/dist/{types-DNg4M5JV.d.cts → types-UwuKN9Kx.d.cts} +1 -1
  388. package/dist/{types-DNg4M5JV.d.ts → types-UwuKN9Kx.d.ts} +1 -1
  389. package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
  390. package/dist/{types-DVhcwrwN.d.cts → types-cxk-0ftN.d.cts} +886 -114
  391. package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
  392. package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
  393. package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
  394. package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
  395. package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
  396. package/dist/vault/index.cjs +4 -4
  397. package/dist/vault/index.d.cts +3 -2
  398. package/dist/vault/index.d.ts +3 -2
  399. package/dist/vault/index.js +3 -3
  400. package/dist/vault/types.d.cts +3 -3
  401. package/dist/vault/types.d.ts +3 -3
  402. package/package.json +71 -3
  403. package/surface/ai.md +1 -0
  404. package/surface/apps.md +32 -0
  405. package/surface/auth.md +6 -4
  406. package/surface/chat.md +2 -1
  407. package/surface/dataScience.md +1 -0
  408. package/surface/editor.md +1 -0
  409. package/surface/encryption.md +1 -0
  410. package/surface/import.md +1 -0
  411. package/surface/kaiAgent.md +2 -1
  412. package/surface/management.md +17 -16
  413. package/surface/metastore.md +2 -1
  414. package/surface/notifications.md +1 -0
  415. package/surface/oauth.md +1 -0
  416. package/surface/omnisearch.md +9 -0
  417. package/surface/queryService.md +1 -0
  418. package/surface/queue.md +8 -7
  419. package/surface/scheduler.md +1 -0
  420. package/surface/sdk.md +17 -17
  421. package/surface/storage.md +125 -88
  422. package/surface/stream.md +1 -0
  423. package/surface/syncActions.md +19 -7
  424. package/surface/vault.md +1 -0
  425. package/dist/chunk-34GM6NXB.js.map +0 -1
  426. package/dist/chunk-35MODDCL.cjs.map +0 -1
  427. package/dist/chunk-3BFPNM2J.js.map +0 -1
  428. package/dist/chunk-3FZHFTLG.cjs +0 -12
  429. package/dist/chunk-3FZHFTLG.cjs.map +0 -1
  430. package/dist/chunk-3KEVPUSX.cjs.map +0 -1
  431. package/dist/chunk-3MTY6I2W.js +0 -192
  432. package/dist/chunk-3MTY6I2W.js.map +0 -1
  433. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  434. package/dist/chunk-4VVF2PIX.js.map +0 -1
  435. package/dist/chunk-77LILJYX.js.map +0 -1
  436. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  437. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  438. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  439. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  440. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  441. package/dist/chunk-AXEANGGK.js +0 -226
  442. package/dist/chunk-AXEANGGK.js.map +0 -1
  443. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  444. package/dist/chunk-BZA3FGO6.js.map +0 -1
  445. package/dist/chunk-CV2JGHBN.js.map +0 -1
  446. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  447. package/dist/chunk-D3ZZQIY2.cjs.map +0 -1
  448. package/dist/chunk-D6O5C67S.js.map +0 -1
  449. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  450. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  451. package/dist/chunk-G66EP527.js.map +0 -1
  452. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  453. package/dist/chunk-GM3AKU5T.js +0 -10
  454. package/dist/chunk-GM3AKU5T.js.map +0 -1
  455. package/dist/chunk-HMCZUHR7.js.map +0 -1
  456. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  457. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  458. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  459. package/dist/chunk-KH6BHTXN.js.map +0 -1
  460. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  461. package/dist/chunk-L262THNK.cjs +0 -253
  462. package/dist/chunk-L262THNK.cjs.map +0 -1
  463. package/dist/chunk-LD3JERYP.js.map +0 -1
  464. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  465. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  466. package/dist/chunk-NVRVPWNY.js.map +0 -1
  467. package/dist/chunk-OUSPQ55W.js.map +0 -1
  468. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  469. package/dist/chunk-QZKDBVAU.cjs +0 -1482
  470. package/dist/chunk-QZKDBVAU.cjs.map +0 -1
  471. package/dist/chunk-S4JK7DKM.js.map +0 -1
  472. package/dist/chunk-SJZ66FD5.js.map +0 -1
  473. package/dist/chunk-T242YFMT.cjs.map +0 -1
  474. package/dist/chunk-UABYNGBZ.js.map +0 -1
  475. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  476. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  477. package/dist/chunk-WFXW4XU3.js.map +0 -1
  478. package/dist/chunk-XHDYLUM4.js.map +0 -1
  479. package/dist/chunk-XIIER7QQ.js.map +0 -1
  480. package/dist/chunk-XKIENBIE.js.map +0 -1
  481. package/dist/chunk-XMC355U2.js.map +0 -1
  482. package/dist/chunk-Y44G2VDC.cjs +0 -214
  483. package/dist/chunk-Y44G2VDC.cjs.map +0 -1
  484. package/dist/utils-B_SOM1XR.d.ts +0 -3051
  485. package/dist/utils-DK7uJcmR.d.cts +0 -3051
@@ -1,5 +1,6 @@
1
- import { B as Backend, A as AdminRole } from './adminRoles-Cil1lavB.js';
2
- import { b as OpenapiReturnType } from './types-gcShAmmi.js';
1
+ import { A as AdminRole } from './adminRoles-BSUPLfNf.js';
2
+ import { B as Backend } from './backends-UNp_e5y9.js';
3
+ import { O as OpenapiBodyType, b as OpenapiReturnType } from './types-f8dUjMX4.js';
3
4
 
4
5
  /**
5
6
  * This file was auto-generated by openapi-typescript.
@@ -315,6 +316,54 @@ type paths = {
315
316
  patch?: never;
316
317
  trace?: never;
317
318
  };
319
+ '/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}': {
320
+ parameters: {
321
+ query?: never;
322
+ header?: never;
323
+ path?: never;
324
+ cookie?: never;
325
+ };
326
+ get?: never;
327
+ put?: never;
328
+ post?: never;
329
+ /**
330
+ * Force-unlink a bucket from a project
331
+ * @description Removes the link of a shared bucket from the given project, from the side of the source (sharing) project. Async-only - returns 202 with a storage job; poll it for completion.
332
+ *
333
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [BucketForceUnlinkJobResult](#model-BucketForceUnlinkJobResult).
334
+ *
335
+ * Parameters of job will be [BucketForceUnlinkJobParams](#components-schemas-BucketForceUnlinkJobParams).
336
+ */
337
+ delete: operations['delete_/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction'];
338
+ options?: never;
339
+ head?: never;
340
+ patch?: never;
341
+ trace?: never;
342
+ };
343
+ '/v2/storage/buckets/{bucketId}/links/{linkedProjectId}': {
344
+ parameters: {
345
+ query?: never;
346
+ header?: never;
347
+ path?: never;
348
+ cookie?: never;
349
+ };
350
+ get?: never;
351
+ put?: never;
352
+ post?: never;
353
+ /**
354
+ * Force-unlink a bucket from a project
355
+ * @description Removes the link of a shared bucket from the given project, from the side of the source (sharing) project. Async-only - returns 202 with a storage job; poll it for completion.
356
+ *
357
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [BucketForceUnlinkJobResult](#model-BucketForceUnlinkJobResult).
358
+ *
359
+ * Parameters of job will be [BucketForceUnlinkJobParams](#components-schemas-BucketForceUnlinkJobParams).
360
+ */
361
+ delete: operations['delete_/v2/storage/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction'];
362
+ options?: never;
363
+ head?: never;
364
+ patch?: never;
365
+ trace?: never;
366
+ };
318
367
  '/v2/storage/branch/{branchId}/buckets/{bucketId}/tables': {
319
368
  parameters: {
320
369
  query?: never;
@@ -1137,6 +1186,10 @@ type paths = {
1137
1186
  */
1138
1187
  put: operations['put_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}::ConfigurationUpdateAction'];
1139
1188
  post?: never;
1189
+ /**
1190
+ * Delete configuration
1191
+ * @description Move a configuration to the trash. Calling delete on a configuration that is already in the trash purges it permanently (default branch only, requires the `canPurgeTrash` token permission) — prefer the explicit purge endpoint for that.
1192
+ */
1140
1193
  delete: operations['delete_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction'];
1141
1194
  options?: never;
1142
1195
  head?: never;
@@ -1161,6 +1214,10 @@ type paths = {
1161
1214
  */
1162
1215
  put: operations['put_/v2/storage/components/{componentId}/configs/{configurationId}::ConfigurationUpdateAction'];
1163
1216
  post?: never;
1217
+ /**
1218
+ * Delete configuration
1219
+ * @description Move a configuration to the trash. Calling delete on a configuration that is already in the trash purges it permanently (default branch only, requires the `canPurgeTrash` token permission) — prefer the explicit purge endpoint for that.
1220
+ */
1164
1221
  delete: operations['delete_/v2/storage/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction'];
1165
1222
  options?: never;
1166
1223
  head?: never;
@@ -1187,6 +1244,46 @@ type paths = {
1187
1244
  patch?: never;
1188
1245
  trace?: never;
1189
1246
  };
1247
+ '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/purge': {
1248
+ parameters: {
1249
+ query?: never;
1250
+ header?: never;
1251
+ path?: never;
1252
+ cookie?: never;
1253
+ };
1254
+ get?: never;
1255
+ put?: never;
1256
+ /**
1257
+ * Purge configuration
1258
+ * @description Permanently remove a trashed configuration, including its versions, rows and metadata. The configuration must already be in the trash — unlike the delete endpoint, purge never falls back to a soft delete, so the caller's intent is unambiguous. Default branch only; requires the `canPurgeTrash` token permission.
1259
+ */
1260
+ post: operations['post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction'];
1261
+ delete?: never;
1262
+ options?: never;
1263
+ head?: never;
1264
+ patch?: never;
1265
+ trace?: never;
1266
+ };
1267
+ '/v2/storage/components/{componentId}/configs/{configurationId}/purge': {
1268
+ parameters: {
1269
+ query?: never;
1270
+ header?: never;
1271
+ path?: never;
1272
+ cookie?: never;
1273
+ };
1274
+ get?: never;
1275
+ put?: never;
1276
+ /**
1277
+ * Purge configuration
1278
+ * @description Permanently remove a trashed configuration, including its versions, rows and metadata. The configuration must already be in the trash — unlike the delete endpoint, purge never falls back to a soft delete, so the caller's intent is unambiguous. Default branch only; requires the `canPurgeTrash` token permission.
1279
+ */
1280
+ post: operations['post_/v2/storage/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction'];
1281
+ delete?: never;
1282
+ options?: never;
1283
+ head?: never;
1284
+ patch?: never;
1285
+ trace?: never;
1286
+ };
1190
1287
  '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase': {
1191
1288
  parameters: {
1192
1289
  query?: never;
@@ -1198,7 +1295,7 @@ type paths = {
1198
1295
  put?: never;
1199
1296
  /**
1200
1297
  * Rebase configuration onto default branch
1201
- * @description Re-anchor a dev branch configuration onto a version of the default branch, preserving the dev branch work. The resolved three-way-diff result is sent as the request body, including "rows" — the complete resolved row set (required for a keep rebase; [] deletes all rows; the array order becomes the row sort order). Sending only "version" (omitting all content fields: name, description, changeDescription, isDisabled, configuration, rows) resolves the conflict by deleting the configuration — the new head version is a tombstone. Only available in dev branches.
1298
+ * @description Re-anchor a dev branch configuration onto a version of the default branch, preserving the dev branch work. The resolved three-way-diff result is sent wrapped in "diff" — the same shape a /diff response side carries it in — including "diff.rows", the complete resolved row set (required for a keep rebase; [] deletes all rows; the array order becomes the row sort order). Sending an empty "diff" ({} or an empty/whitespace-only string) resolves the conflict by deleting the configuration — the new head version is a tombstone. Only available in dev branches.
1202
1299
  */
1203
1300
  post: operations['post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase::ConfigurationRebaseAction'];
1204
1301
  delete?: never;
@@ -2702,7 +2799,11 @@ type paths = {
2702
2799
  };
2703
2800
  get?: never;
2704
2801
  put?: never;
2705
- post?: never;
2802
+ /**
2803
+ * Set an alias filter
2804
+ * @description Applies a data filter to a simple alias table. Fields omitted from the request keep the table's current filter value. Only simple aliases without dependent aliases are accepted. Filtered aliases are deprecated.
2805
+ */
2806
+ post: operations['post_/v2/storage/tables/{tableId}/alias-filter::AliasFilterSetAction'];
2706
2807
  /**
2707
2808
  * Remove an alias filter
2708
2809
  * @description Removes the data filter from a simple alias table and restores the alias statistics from its source table. Filtered aliases are deprecated.
@@ -2753,6 +2854,50 @@ type paths = {
2753
2854
  patch?: never;
2754
2855
  trace?: never;
2755
2856
  };
2857
+ '/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}': {
2858
+ parameters: {
2859
+ query?: never;
2860
+ header?: never;
2861
+ path?: never;
2862
+ cookie?: never;
2863
+ };
2864
+ get?: never;
2865
+ put?: never;
2866
+ post?: never;
2867
+ /**
2868
+ * Delete a table column
2869
+ * @description Deletes the given column from the table. Async-only - returns 202 with a storage job; poll it for completion. The job rejects deleting the last remaining column, a column that is part of the primary key, or a column referenced by an alias, unless `force` is set.
2870
+ *
2871
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [ColumnDeleteJobResult](#model-ColumnDeleteJobResult).
2872
+ */
2873
+ delete: operations['delete_/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}::ColumnDeleteAction'];
2874
+ options?: never;
2875
+ head?: never;
2876
+ patch?: never;
2877
+ trace?: never;
2878
+ };
2879
+ '/v2/storage/tables/{tableId}/columns/{columnName}': {
2880
+ parameters: {
2881
+ query?: never;
2882
+ header?: never;
2883
+ path?: never;
2884
+ cookie?: never;
2885
+ };
2886
+ get?: never;
2887
+ put?: never;
2888
+ post?: never;
2889
+ /**
2890
+ * Delete a table column
2891
+ * @description Deletes the given column from the table. Async-only - returns 202 with a storage job; poll it for completion. The job rejects deleting the last remaining column, a column that is part of the primary key, or a column referenced by an alias, unless `force` is set.
2892
+ *
2893
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [ColumnDeleteJobResult](#model-ColumnDeleteJobResult).
2894
+ */
2895
+ delete: operations['delete_/v2/storage/tables/{tableId}/columns/{columnName}::ColumnDeleteAction'];
2896
+ options?: never;
2897
+ head?: never;
2898
+ patch?: never;
2899
+ trace?: never;
2900
+ };
2756
2901
  '/v2/storage/branch/{branchId}/tables/{id}/columns/{column}/definition': {
2757
2902
  parameters: {
2758
2903
  query?: never;
@@ -4470,6 +4615,8 @@ type components = {
4470
4615
  value?: string | null;
4471
4616
  }[];
4472
4617
  };
4618
+ /** @description The bucketForceUnlink job produces no results - the value is always null. */
4619
+ BucketForceUnlinkJobResult: Record<string, never> | null;
4473
4620
  BucketListingUpdateJobResponse: {
4474
4621
  bucketId: string;
4475
4622
  exposureName: string;
@@ -4796,6 +4943,8 @@ type components = {
4796
4943
  /** @description Custom SQL for alias (for custom SQL aliases) */
4797
4944
  selectSql?: string | null;
4798
4945
  };
4946
+ /** @description The tableColumnDelete job produces no results - the value is always null. */
4947
+ ColumnDeleteJobResult: Record<string, never> | null;
4799
4948
  TableExportJobResponse: {
4800
4949
  file?: {
4801
4950
  id?: number | null;
@@ -4833,6 +4982,7 @@ type components = {
4833
4982
  /** @description Run ID for the job. */
4834
4983
  runId: string;
4835
4984
  results?:
4985
+ | components['schemas']['BucketForceUnlinkJobResult']
4836
4986
  | components['schemas']['BucketListingUpdateJobResponse']
4837
4987
  | components['schemas']['BucketListingCreateJobResult']
4838
4988
  | components['schemas']['BucketListingDeleteResponse']
@@ -4844,6 +4994,7 @@ type components = {
4844
4994
  | components['schemas']['PrimaryKeyDeleteJobResult']
4845
4995
  | components['schemas']['TableSwapResult']
4846
4996
  | components['schemas']['TableCreateResponse']
4997
+ | components['schemas']['ColumnDeleteJobResult']
4847
4998
  | components['schemas']['TableExportJobResponse'];
4848
4999
  /** @description Creator token info. */
4849
5000
  creatorToken: {
@@ -4926,6 +5077,12 @@ type components = {
4926
5077
  */
4927
5078
  sortOrder?: 'asc' | 'desc' | null;
4928
5079
  };
5080
+ BucketForceUnlinkJobParams: {
5081
+ linkedIdProject: number;
5082
+ linkedIdBucket: number;
5083
+ jobParams: unknown[];
5084
+ jobOperationParams: unknown[];
5085
+ };
4929
5086
  BucketGetTablesRequest: {
4930
5087
  /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
4931
5088
  include?: string | null;
@@ -5279,18 +5436,23 @@ type components = {
5279
5436
  RebaseRequest: {
5280
5437
  /** @description Default branch configuration version to rebase the dev branch onto. Always required, even when deleting — the base is always re-anchored. */
5281
5438
  version: number;
5282
- /** @description Resolved configuration name (head). Required for a keep rebase. Omit it together with all other content fields (send only "version") to delete the configuration as the rebase result. */
5283
- name: string;
5284
- /** @description Resolved configuration description (head, the 3-way diff result). */
5285
- description: string;
5286
- /** @description Resolved configuration body (head, the 3-way diff result). */
5287
- configuration: Record<string, never>;
5288
- /** @description Change description for the resolved head version. If omitted, a default rebase message is used. */
5289
- changeDescription: string;
5290
- /** @description Resolved disabled flag (head, the 3-way diff result). Defaults to false if omitted. */
5291
- isDisabled: boolean;
5292
- /** @description Complete resolved row set (the diff's `diff.rows` posted back). Required for a keep rebase — omitting it is an error; `[]` deletes all rows. The array order becomes the row sort order. Not sent when deleting the configuration (rows are deleted with it). */
5293
- rows: components['schemas']['RebaseRowData'][];
5439
+ /** @description Resolved configuration content (head, the 3-way diff result) — the "diff" object of a /diff response side posted back after resolution. Send an empty "diff" ({} or an empty/whitespace-only string) to resolve the conflict by deleting the configuration. */
5440
+ diff:
5441
+ | {
5442
+ /** @description Resolved configuration name. Required for a keep rebase. */
5443
+ name?: string;
5444
+ /** @description Resolved configuration description. */
5445
+ description?: string;
5446
+ /** @description Change description for the resolved head version. If omitted, a default rebase message is used. */
5447
+ changeDescription?: string;
5448
+ /** @description Resolved disabled flag. Defaults to false if omitted. */
5449
+ isDisabled?: boolean;
5450
+ /** @description Resolved configuration body. */
5451
+ configuration?: Record<string, never>;
5452
+ /** @description Complete resolved row set. Required for a keep rebase — omitting it is an error; [] deletes all rows. The array order becomes the row sort order. */
5453
+ rows?: components['schemas']['RebaseRowData'][];
5454
+ }
5455
+ | string;
5294
5456
  };
5295
5457
  UpdateConfigurationStateRequest: Record<string, never>;
5296
5458
  UpdateConfigurationRequest: Record<string, never>;
@@ -5560,6 +5722,22 @@ type components = {
5560
5722
  runId: string;
5561
5723
  };
5562
5724
  IndexRequest: Record<string, never>;
5725
+ /**
5726
+ * @description Sets or updates a filter on a simple alias table. All fields are optional
5727
+ * and an empty body is a valid request that keeps the table's current filter unchanged.
5728
+ */
5729
+ SetAliasFilterRequest: {
5730
+ /** @description Name of the column to filter on. Requires "values" to be set as well. */
5731
+ column?: string | null;
5732
+ /** @description Values to filter by. Requires "column" to be set as well. */
5733
+ values?: string[] | null;
5734
+ /**
5735
+ * @description Comparison operator used for the filter.
5736
+ * @default eq
5737
+ * @enum {string|null}
5738
+ */
5739
+ operator: 'eq' | 'ne' | null;
5740
+ };
5563
5741
  /** @description Request for adding a column to a BigQuery table. */
5564
5742
  BigqueryAddColumnToTableRequest: {
5565
5743
  /** @description Name of the column to add. */
@@ -6817,6 +6995,90 @@ type components = {
6817
6995
  */
6818
6996
  reason: string | null;
6819
6997
  };
6998
+ /** @description The alias table with its filter applied. This is the plain table payload (no columns, metadata, attributes, bucket or definition). */
6999
+ AliasFilterSetResponse: {
7000
+ /** @description Table API URI */
7001
+ uri: string;
7002
+ /** @description Table ID */
7003
+ id: string;
7004
+ /** @description Table name */
7005
+ name: string;
7006
+ /** @description Table display name */
7007
+ displayName: string;
7008
+ /** @description Is transactional */
7009
+ transactional: boolean;
7010
+ /** @description Primary key columns */
7011
+ primaryKey: string[];
7012
+ /** @description Index type */
7013
+ indexType: string | null;
7014
+ /** @description Index key columns */
7015
+ indexKey: string[];
7016
+ /** @description Distribution type */
7017
+ distributionType: string | null;
7018
+ /** @description Distribution key columns */
7019
+ distributionKey: string[];
7020
+ /** @description Synthetic primary key enabled */
7021
+ syntheticPrimaryKeyEnabled: boolean;
7022
+ /**
7023
+ * Format: date-time
7024
+ * @description Created timestamp
7025
+ */
7026
+ created: string | null;
7027
+ /**
7028
+ * Format: date-time
7029
+ * @description Last import date
7030
+ */
7031
+ lastImportDate: string | null;
7032
+ /**
7033
+ * Format: date-time
7034
+ * @description Last change date
7035
+ */
7036
+ lastChangeDate: string | null;
7037
+ /** @description Rows count (null for a filtered alias) */
7038
+ rowsCount: number | null;
7039
+ /** @description Data size in bytes (null for a filtered alias) */
7040
+ dataSizeBytes: number | null;
7041
+ /** @description Is alias */
7042
+ isAlias: boolean;
7043
+ /** @description Is aliasable */
7044
+ isAliasable: boolean;
7045
+ /** @description Is typed table */
7046
+ isTyped: boolean;
7047
+ /** @description Whether the description is managed by the system */
7048
+ isDescriptionSystemManaged: boolean;
7049
+ /** @description Timestamp column type */
7050
+ timestampType: string;
7051
+ /** @description Table type */
7052
+ tableType: string;
7053
+ /** @description Table path */
7054
+ path: string;
7055
+ /** @description Source table info, present for aliases with a resolved source table */
7056
+ sourceTable?: {
7057
+ /** @description Source table ID */
7058
+ id: string;
7059
+ /** @description Source table URI */
7060
+ uri: string;
7061
+ project: {
7062
+ /** @description Project ID */
7063
+ id: number;
7064
+ /** @description Project name */
7065
+ name: string;
7066
+ };
7067
+ } | null;
7068
+ /** @description Alias columns auto sync (for simple aliases) */
7069
+ aliasColumnsAutoSync?: boolean | null;
7070
+ /** @description The filter applied to the alias (for filtered simple aliases) */
7071
+ aliasFilter?: {
7072
+ /** @description Filtered column name */
7073
+ column: string;
7074
+ /** @description Filter operator (eq or ne) */
7075
+ operator: string;
7076
+ /** @description Filter values */
7077
+ values: string[];
7078
+ } | null;
7079
+ /** @description Whether the alias is persisted */
7080
+ isPersisted?: boolean | null;
7081
+ };
6820
7082
  /** @description Parameters for an asynchronous table export. */
6821
7083
  ExportTableRequest2: {
6822
7084
  /** @description Maximum number of rows to export. */
@@ -7500,7 +7762,7 @@ type components = {
7500
7762
  headers: never;
7501
7763
  pathItems: never;
7502
7764
  };
7503
- type operations = {
7765
+ interface operations {
7504
7766
  'get_/v2/storage/branch/{branchId}/tokens/verify::TokenVerifyAction': {
7505
7767
  parameters: {
7506
7768
  query?: never;
@@ -8391,53 +8653,52 @@ type operations = {
8391
8653
  };
8392
8654
  };
8393
8655
  };
8394
- 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::BucketGetTablesAction': {
8656
+ 'delete_/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction': {
8395
8657
  parameters: {
8396
- query?: {
8397
- /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
8398
- include?: string;
8399
- };
8658
+ query?: never;
8400
8659
  header?: never;
8401
8660
  path: {
8402
- /** @description Identifier of the bucket. */
8661
+ /** @description Identifier of the shared source bucket (e.g. `in.c-main`). */
8403
8662
  bucketId: string;
8663
+ /** @description Identifier of the project the bucket is linked into. */
8664
+ linkedProjectId: number;
8404
8665
  branchId: string;
8405
8666
  };
8406
8667
  cookie?: never;
8407
8668
  };
8408
8669
  requestBody?: never;
8409
8670
  responses: {
8410
- /** @description List of tables in the bucket. */
8411
- 200: {
8671
+ /** @description Job accepted; returns job details. */
8672
+ 202: {
8412
8673
  headers: {
8413
8674
  [name: string]: unknown;
8414
8675
  };
8415
8676
  content: {
8416
- 'application/json': Record<string, never>[];
8677
+ 'application/json': components['schemas']['JobResponse'];
8417
8678
  };
8418
8679
  };
8419
- /** @description Invalid value in the include parameter. */
8680
+ /** @description The bucket is not linked into the given project (`storage.buckets.linkedBucketNotFound`), or the project id is not a digits-only value (`storage.buckets.validation`). */
8420
8681
  400: {
8421
8682
  headers: {
8422
8683
  [name: string]: unknown;
8423
8684
  };
8424
8685
  content?: never;
8425
8686
  };
8426
- /** @description Access denied to the bucket. */
8687
+ /** @description Access to the bucket was denied. */
8427
8688
  403: {
8428
8689
  headers: {
8429
8690
  [name: string]: unknown;
8430
8691
  };
8431
8692
  content?: never;
8432
8693
  };
8433
- /** @description Bucket not found. */
8694
+ /** @description The bucket was not found. */
8434
8695
  404: {
8435
8696
  headers: {
8436
8697
  [name: string]: unknown;
8437
8698
  };
8438
8699
  content?: never;
8439
8700
  };
8440
- /** @description Bucket or its backend connection is under maintenance. */
8701
+ /** @description Bucket or backend is under maintenance. */
8441
8702
  503: {
8442
8703
  headers: {
8443
8704
  [name: string]: unknown;
@@ -8446,76 +8707,184 @@ type operations = {
8446
8707
  };
8447
8708
  };
8448
8709
  };
8449
- 'post_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::CreateTableSyncAction': {
8710
+ 'delete_/v2/storage/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction': {
8450
8711
  parameters: {
8451
8712
  query?: never;
8452
8713
  header?: never;
8453
8714
  path: {
8454
- /** @description Identifier of the bucket the table is created in. */
8715
+ /** @description Identifier of the shared source bucket (e.g. `in.c-main`). */
8455
8716
  bucketId: string;
8456
- branchId: string;
8717
+ /** @description Identifier of the project the bucket is linked into. */
8718
+ linkedProjectId: number;
8457
8719
  };
8458
8720
  cookie?: never;
8459
8721
  };
8460
- requestBody: {
8461
- content: {
8462
- 'multipart/form-data': {
8463
- /** @description Name of the new table. */
8464
- name: string;
8465
- /**
8466
- * Format: binary
8467
- * @description CSV file to import. Required unless "dataString" is provided.
8468
- */
8469
- data?: string;
8470
- /** @description Inline CSV data. Used when no "data" file is uploaded. */
8471
- dataString?: string;
8472
- /** @description Comma separated list of columns used as the primary key. */
8473
- primaryKey?: string;
8474
- /** @description Field delimiter, default ",". */
8475
- delimiter?: string;
8476
- /** @description Field enclosure, default '"'. */
8477
- enclosure?: string;
8478
- /** @description Escape character, default none. */
8479
- escapedBy?: string;
8480
- /** @description Comma separated list of column names, used when the file has no header. */
8481
- columns?: string;
8482
- /** @description When true, the first row is treated as data, not as a header. */
8483
- withoutHeaders?: boolean;
8484
- };
8485
- };
8486
- };
8722
+ requestBody?: never;
8487
8723
  responses: {
8488
- /** @description The created table detail, including its columns and the parent bucket detail. */
8489
- 201: {
8724
+ /** @description Job accepted; returns job details. */
8725
+ 202: {
8490
8726
  headers: {
8491
8727
  [name: string]: unknown;
8492
8728
  };
8493
- content?: never;
8729
+ content: {
8730
+ 'application/json': components['schemas']['JobResponse'];
8731
+ };
8494
8732
  };
8495
- /** @description Validation error in the upload, CSV, table definition or import. */
8733
+ /** @description The bucket is not linked into the given project (`storage.buckets.linkedBucketNotFound`), or the project id is not a digits-only value (`storage.buckets.validation`). */
8496
8734
  400: {
8497
8735
  headers: {
8498
8736
  [name: string]: unknown;
8499
8737
  };
8500
8738
  content?: never;
8501
8739
  };
8502
- /** @description Write access to the bucket was denied. */
8740
+ /** @description Access to the bucket was denied. */
8503
8741
  403: {
8504
8742
  headers: {
8505
8743
  [name: string]: unknown;
8506
8744
  };
8507
8745
  content?: never;
8508
8746
  };
8509
- /** @description The bucket was not found, or synchronous import is disabled on this stack. */
8747
+ /** @description The bucket was not found. */
8510
8748
  404: {
8511
8749
  headers: {
8512
8750
  [name: string]: unknown;
8513
8751
  };
8514
8752
  content?: never;
8515
8753
  };
8754
+ /** @description Bucket or backend is under maintenance. */
8755
+ 503: {
8756
+ headers: {
8757
+ [name: string]: unknown;
8758
+ };
8759
+ content?: never;
8760
+ };
8516
8761
  };
8517
8762
  };
8518
- 'get_/v2/storage/buckets/{bucketId}/tables::BucketGetTablesAction': {
8763
+ 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::BucketGetTablesAction': {
8764
+ parameters: {
8765
+ query?: {
8766
+ /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
8767
+ include?: string;
8768
+ };
8769
+ header?: never;
8770
+ path: {
8771
+ /** @description Identifier of the bucket. */
8772
+ bucketId: string;
8773
+ branchId: string;
8774
+ };
8775
+ cookie?: never;
8776
+ };
8777
+ requestBody?: never;
8778
+ responses: {
8779
+ /** @description List of tables in the bucket. */
8780
+ 200: {
8781
+ headers: {
8782
+ [name: string]: unknown;
8783
+ };
8784
+ content: {
8785
+ 'application/json': Record<string, never>[];
8786
+ };
8787
+ };
8788
+ /** @description Invalid value in the include parameter. */
8789
+ 400: {
8790
+ headers: {
8791
+ [name: string]: unknown;
8792
+ };
8793
+ content?: never;
8794
+ };
8795
+ /** @description Access denied to the bucket. */
8796
+ 403: {
8797
+ headers: {
8798
+ [name: string]: unknown;
8799
+ };
8800
+ content?: never;
8801
+ };
8802
+ /** @description Bucket not found. */
8803
+ 404: {
8804
+ headers: {
8805
+ [name: string]: unknown;
8806
+ };
8807
+ content?: never;
8808
+ };
8809
+ /** @description Bucket or its backend connection is under maintenance. */
8810
+ 503: {
8811
+ headers: {
8812
+ [name: string]: unknown;
8813
+ };
8814
+ content?: never;
8815
+ };
8816
+ };
8817
+ };
8818
+ 'post_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::CreateTableSyncAction': {
8819
+ parameters: {
8820
+ query?: never;
8821
+ header?: never;
8822
+ path: {
8823
+ /** @description Identifier of the bucket the table is created in. */
8824
+ bucketId: string;
8825
+ branchId: string;
8826
+ };
8827
+ cookie?: never;
8828
+ };
8829
+ requestBody: {
8830
+ content: {
8831
+ 'multipart/form-data': {
8832
+ /** @description Name of the new table. */
8833
+ name: string;
8834
+ /**
8835
+ * Format: binary
8836
+ * @description CSV file to import. Required unless "dataString" is provided.
8837
+ */
8838
+ data?: string;
8839
+ /** @description Inline CSV data. Used when no "data" file is uploaded. */
8840
+ dataString?: string;
8841
+ /** @description Comma separated list of columns used as the primary key. */
8842
+ primaryKey?: string;
8843
+ /** @description Field delimiter, default ",". */
8844
+ delimiter?: string;
8845
+ /** @description Field enclosure, default '"'. */
8846
+ enclosure?: string;
8847
+ /** @description Escape character, default none. */
8848
+ escapedBy?: string;
8849
+ /** @description Comma separated list of column names, used when the file has no header. */
8850
+ columns?: string;
8851
+ /** @description When true, the first row is treated as data, not as a header. */
8852
+ withoutHeaders?: boolean;
8853
+ };
8854
+ };
8855
+ };
8856
+ responses: {
8857
+ /** @description The created table detail, including its columns and the parent bucket detail. */
8858
+ 201: {
8859
+ headers: {
8860
+ [name: string]: unknown;
8861
+ };
8862
+ content?: never;
8863
+ };
8864
+ /** @description Validation error in the upload, CSV, table definition or import. */
8865
+ 400: {
8866
+ headers: {
8867
+ [name: string]: unknown;
8868
+ };
8869
+ content?: never;
8870
+ };
8871
+ /** @description Write access to the bucket was denied. */
8872
+ 403: {
8873
+ headers: {
8874
+ [name: string]: unknown;
8875
+ };
8876
+ content?: never;
8877
+ };
8878
+ /** @description The bucket was not found, or synchronous import is disabled on this stack. */
8879
+ 404: {
8880
+ headers: {
8881
+ [name: string]: unknown;
8882
+ };
8883
+ content?: never;
8884
+ };
8885
+ };
8886
+ };
8887
+ 'get_/v2/storage/buckets/{bucketId}/tables::BucketGetTablesAction': {
8519
8888
  parameters: {
8520
8889
  query?: {
8521
8890
  /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
@@ -10548,7 +10917,10 @@ type operations = {
10548
10917
  /** @description When provided, enqueues a workspace output-mapping sync job after the config update. The workspace must be linked to this component and configuration. */
10549
10918
  workspaceId?: number | null;
10550
10919
  };
10551
- header?: never;
10920
+ header?: {
10921
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the update is applied only if the configuration is still at that version, otherwise it fails with 412. `*` only requires that the configuration still exists. Weak validators and tag lists are rejected with 400. No `ETag` is emitted on reads: the version does not change when `state` is written, so it is not a valid strong validator for the whole representation. */
10922
+ 'If-Match'?: string;
10923
+ };
10552
10924
  path: {
10553
10925
  branchId: string;
10554
10926
  componentId: string;
@@ -10571,7 +10943,7 @@ type operations = {
10571
10943
  };
10572
10944
  content?: never;
10573
10945
  };
10574
- /** @description Workspace does not belong to this component and configuration */
10946
+ /** @description Workspace does not belong to this component and configuration, or the `If-Match` value is unusable */
10575
10947
  400: {
10576
10948
  headers: {
10577
10949
  [name: string]: unknown;
@@ -10585,12 +10957,29 @@ type operations = {
10585
10957
  };
10586
10958
  content?: never;
10587
10959
  };
10960
+ /** @description Another request is mid-write on the configuration; retryable */
10961
+ 409: {
10962
+ headers: {
10963
+ [name: string]: unknown;
10964
+ };
10965
+ content?: never;
10966
+ };
10967
+ /** @description `If-Match` does not match the current version */
10968
+ 412: {
10969
+ headers: {
10970
+ [name: string]: unknown;
10971
+ };
10972
+ content?: never;
10973
+ };
10588
10974
  };
10589
10975
  };
10590
10976
  'delete_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction': {
10591
10977
  parameters: {
10592
10978
  query?: never;
10593
- header?: never;
10979
+ header?: {
10980
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the delete is applied only if the configuration is still at that version, otherwise it fails with 412. This guards against the double-delete race: a delete sent from a stale view cannot purge a configuration that moved to the trash in the meantime. */
10981
+ 'If-Match'?: string;
10982
+ };
10594
10983
  path: {
10595
10984
  branchId: string;
10596
10985
  componentId: string;
@@ -10600,7 +10989,43 @@ type operations = {
10600
10989
  };
10601
10990
  requestBody?: never;
10602
10991
  responses: {
10603
- default: {
10992
+ /** @description Configuration moved to trash, or purged when it already was in the trash */
10993
+ 204: {
10994
+ headers: {
10995
+ [name: string]: unknown;
10996
+ };
10997
+ content?: never;
10998
+ };
10999
+ /** @description Configuration is in the trash of a development branch, or the `If-Match` value is unusable */
11000
+ 400: {
11001
+ headers: {
11002
+ [name: string]: unknown;
11003
+ };
11004
+ content?: never;
11005
+ };
11006
+ /** @description Token lacks the `canPurgeTrash` permission required to purge */
11007
+ 403: {
11008
+ headers: {
11009
+ [name: string]: unknown;
11010
+ };
11011
+ content?: never;
11012
+ };
11013
+ /** @description Component or configuration not found */
11014
+ 404: {
11015
+ headers: {
11016
+ [name: string]: unknown;
11017
+ };
11018
+ content?: never;
11019
+ };
11020
+ /** @description Another request is mid-write on the configuration; retryable */
11021
+ 409: {
11022
+ headers: {
11023
+ [name: string]: unknown;
11024
+ };
11025
+ content?: never;
11026
+ };
11027
+ /** @description `If-Match` does not match the current version */
11028
+ 412: {
10604
11029
  headers: {
10605
11030
  [name: string]: unknown;
10606
11031
  };
@@ -10642,7 +11067,10 @@ type operations = {
10642
11067
  /** @description When provided, enqueues a workspace output-mapping sync job after the config update. The workspace must be linked to this component and configuration. */
10643
11068
  workspaceId?: number | null;
10644
11069
  };
10645
- header?: never;
11070
+ header?: {
11071
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the update is applied only if the configuration is still at that version, otherwise it fails with 412. `*` only requires that the configuration still exists. Weak validators and tag lists are rejected with 400. No `ETag` is emitted on reads: the version does not change when `state` is written, so it is not a valid strong validator for the whole representation. */
11072
+ 'If-Match'?: string;
11073
+ };
10646
11074
  path: {
10647
11075
  componentId: string;
10648
11076
  configurationId: string;
@@ -10664,7 +11092,7 @@ type operations = {
10664
11092
  };
10665
11093
  content?: never;
10666
11094
  };
10667
- /** @description Workspace does not belong to this component and configuration */
11095
+ /** @description Workspace does not belong to this component and configuration, or the `If-Match` value is unusable */
10668
11096
  400: {
10669
11097
  headers: {
10670
11098
  [name: string]: unknown;
@@ -10678,12 +11106,29 @@ type operations = {
10678
11106
  };
10679
11107
  content?: never;
10680
11108
  };
11109
+ /** @description Another request is mid-write on the configuration; retryable */
11110
+ 409: {
11111
+ headers: {
11112
+ [name: string]: unknown;
11113
+ };
11114
+ content?: never;
11115
+ };
11116
+ /** @description `If-Match` does not match the current version */
11117
+ 412: {
11118
+ headers: {
11119
+ [name: string]: unknown;
11120
+ };
11121
+ content?: never;
11122
+ };
10681
11123
  };
10682
11124
  };
10683
11125
  'delete_/v2/storage/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction': {
10684
11126
  parameters: {
10685
11127
  query?: never;
10686
- header?: never;
11128
+ header?: {
11129
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the delete is applied only if the configuration is still at that version, otherwise it fails with 412. This guards against the double-delete race: a delete sent from a stale view cannot purge a configuration that moved to the trash in the meantime. */
11130
+ 'If-Match'?: string;
11131
+ };
10687
11132
  path: {
10688
11133
  componentId: string;
10689
11134
  configurationId: string;
@@ -10692,7 +11137,43 @@ type operations = {
10692
11137
  };
10693
11138
  requestBody?: never;
10694
11139
  responses: {
10695
- default: {
11140
+ /** @description Configuration moved to trash, or purged when it already was in the trash */
11141
+ 204: {
11142
+ headers: {
11143
+ [name: string]: unknown;
11144
+ };
11145
+ content?: never;
11146
+ };
11147
+ /** @description Configuration is in the trash of a development branch, or the `If-Match` value is unusable */
11148
+ 400: {
11149
+ headers: {
11150
+ [name: string]: unknown;
11151
+ };
11152
+ content?: never;
11153
+ };
11154
+ /** @description Token lacks the `canPurgeTrash` permission required to purge */
11155
+ 403: {
11156
+ headers: {
11157
+ [name: string]: unknown;
11158
+ };
11159
+ content?: never;
11160
+ };
11161
+ /** @description Component or configuration not found */
11162
+ 404: {
11163
+ headers: {
11164
+ [name: string]: unknown;
11165
+ };
11166
+ content?: never;
11167
+ };
11168
+ /** @description Another request is mid-write on the configuration; retryable */
11169
+ 409: {
11170
+ headers: {
11171
+ [name: string]: unknown;
11172
+ };
11173
+ content?: never;
11174
+ };
11175
+ /** @description `If-Match` does not match the current version */
11176
+ 412: {
10696
11177
  headers: {
10697
11178
  [name: string]: unknown;
10698
11179
  };
@@ -10738,6 +11219,139 @@ type operations = {
10738
11219
  };
10739
11220
  };
10740
11221
  };
11222
+ 'post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction': {
11223
+ parameters: {
11224
+ query?: never;
11225
+ header: {
11226
+ /** @description Required optimistic-concurrency precondition, RFC 9110 form. Send the `version` field of the configuration as a strong entity tag, e.g. `"5"`; the purge is applied only if the configuration is still at that version, otherwise it fails with 412. A request without the header (or with `*`, which does not pin a version) fails with 428. */
11227
+ 'If-Match': string;
11228
+ };
11229
+ path: {
11230
+ branchId: string;
11231
+ componentId: string;
11232
+ configurationId: string;
11233
+ };
11234
+ cookie?: never;
11235
+ };
11236
+ requestBody?: never;
11237
+ responses: {
11238
+ /** @description Configuration purged */
11239
+ 204: {
11240
+ headers: {
11241
+ [name: string]: unknown;
11242
+ };
11243
+ content?: never;
11244
+ };
11245
+ /** @description Configuration is not in the trash, the branch is a development branch, or the `If-Match` value is unusable */
11246
+ 400: {
11247
+ headers: {
11248
+ [name: string]: unknown;
11249
+ };
11250
+ content?: never;
11251
+ };
11252
+ /** @description Token lacks the `canPurgeTrash` permission */
11253
+ 403: {
11254
+ headers: {
11255
+ [name: string]: unknown;
11256
+ };
11257
+ content?: never;
11258
+ };
11259
+ /** @description Component or configuration not found */
11260
+ 404: {
11261
+ headers: {
11262
+ [name: string]: unknown;
11263
+ };
11264
+ content?: never;
11265
+ };
11266
+ /** @description Another request is mid-write on the configuration; retryable */
11267
+ 409: {
11268
+ headers: {
11269
+ [name: string]: unknown;
11270
+ };
11271
+ content?: never;
11272
+ };
11273
+ /** @description `If-Match` does not match the current version */
11274
+ 412: {
11275
+ headers: {
11276
+ [name: string]: unknown;
11277
+ };
11278
+ content?: never;
11279
+ };
11280
+ /** @description `If-Match` header is missing or does not pin a specific version */
11281
+ 428: {
11282
+ headers: {
11283
+ [name: string]: unknown;
11284
+ };
11285
+ content?: never;
11286
+ };
11287
+ };
11288
+ };
11289
+ 'post_/v2/storage/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction': {
11290
+ parameters: {
11291
+ query?: never;
11292
+ header: {
11293
+ /** @description Required optimistic-concurrency precondition, RFC 9110 form. Send the `version` field of the configuration as a strong entity tag, e.g. `"5"`; the purge is applied only if the configuration is still at that version, otherwise it fails with 412. A request without the header (or with `*`, which does not pin a version) fails with 428. */
11294
+ 'If-Match': string;
11295
+ };
11296
+ path: {
11297
+ componentId: string;
11298
+ configurationId: string;
11299
+ };
11300
+ cookie?: never;
11301
+ };
11302
+ requestBody?: never;
11303
+ responses: {
11304
+ /** @description Configuration purged */
11305
+ 204: {
11306
+ headers: {
11307
+ [name: string]: unknown;
11308
+ };
11309
+ content?: never;
11310
+ };
11311
+ /** @description Configuration is not in the trash, the branch is a development branch, or the `If-Match` value is unusable */
11312
+ 400: {
11313
+ headers: {
11314
+ [name: string]: unknown;
11315
+ };
11316
+ content?: never;
11317
+ };
11318
+ /** @description Token lacks the `canPurgeTrash` permission */
11319
+ 403: {
11320
+ headers: {
11321
+ [name: string]: unknown;
11322
+ };
11323
+ content?: never;
11324
+ };
11325
+ /** @description Component or configuration not found */
11326
+ 404: {
11327
+ headers: {
11328
+ [name: string]: unknown;
11329
+ };
11330
+ content?: never;
11331
+ };
11332
+ /** @description Another request is mid-write on the configuration; retryable */
11333
+ 409: {
11334
+ headers: {
11335
+ [name: string]: unknown;
11336
+ };
11337
+ content?: never;
11338
+ };
11339
+ /** @description `If-Match` does not match the current version */
11340
+ 412: {
11341
+ headers: {
11342
+ [name: string]: unknown;
11343
+ };
11344
+ content?: never;
11345
+ };
11346
+ /** @description `If-Match` header is missing or does not pin a specific version */
11347
+ 428: {
11348
+ headers: {
11349
+ [name: string]: unknown;
11350
+ };
11351
+ content?: never;
11352
+ };
11353
+ };
11354
+ };
10741
11355
  'post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase::ConfigurationRebaseAction': {
10742
11356
  parameters: {
10743
11357
  query?: never;
@@ -13929,6 +14543,61 @@ type operations = {
13929
14543
  };
13930
14544
  };
13931
14545
  };
14546
+ 'post_/v2/storage/tables/{tableId}/alias-filter::AliasFilterSetAction': {
14547
+ parameters: {
14548
+ query?: never;
14549
+ header?: never;
14550
+ path: {
14551
+ /** @description Alias table string id (e.g. `out.c-main.users`). */
14552
+ tableId: string;
14553
+ };
14554
+ cookie?: never;
14555
+ };
14556
+ requestBody: {
14557
+ content: {
14558
+ 'application/json': components['schemas']['SetAliasFilterRequest'];
14559
+ };
14560
+ };
14561
+ responses: {
14562
+ /** @description Alias filter successfully set. */
14563
+ 200: {
14564
+ headers: {
14565
+ [name: string]: unknown;
14566
+ };
14567
+ content: {
14568
+ 'application/json': components['schemas']['AliasFilterSetResponse'];
14569
+ };
14570
+ };
14571
+ /** @description The table is not a simple alias (`storage.tables.aliasFilteringNotAllowed`), the table has dependent aliases (`storage.tables.hasDependentAliases`), the filter column does not exist on the source table (`storage.tables.columnNotExists`), the request failed validation (`storage.tables.validation`), or the source table does not support timestamp based filters (`storage.tables.doesNotSupportTimestampBasedFilters`). */
14572
+ 400: {
14573
+ headers: {
14574
+ [name: string]: unknown;
14575
+ };
14576
+ content?: never;
14577
+ };
14578
+ /** @description Access denied. */
14579
+ 403: {
14580
+ headers: {
14581
+ [name: string]: unknown;
14582
+ };
14583
+ content?: never;
14584
+ };
14585
+ /** @description The table or its bucket was not found. */
14586
+ 404: {
14587
+ headers: {
14588
+ [name: string]: unknown;
14589
+ };
14590
+ content?: never;
14591
+ };
14592
+ /** @description The bucket or its backend is under maintenance. */
14593
+ 503: {
14594
+ headers: {
14595
+ [name: string]: unknown;
14596
+ };
14597
+ content?: never;
14598
+ };
14599
+ };
14600
+ };
13932
14601
  'delete_/v2/storage/tables/{tableId}/alias-filter::AliasFilterDeleteAction': {
13933
14602
  parameters: {
13934
14603
  query?: never;
@@ -14057,6 +14726,127 @@ type operations = {
14057
14726
  };
14058
14727
  };
14059
14728
  };
14729
+ 'delete_/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}::ColumnDeleteAction': {
14730
+ parameters: {
14731
+ query?: {
14732
+ /** @description Drop the column even when aliases or filters reference it. */
14733
+ force?: boolean;
14734
+ };
14735
+ header?: {
14736
+ 'X-KBC-Backend'?: {
14737
+ context?: string | null;
14738
+ };
14739
+ };
14740
+ path: {
14741
+ /** @description Table string id (e.g. `in.c-main.orders`). */
14742
+ tableId: string;
14743
+ /** @description Name of the column to delete. */
14744
+ columnName: string;
14745
+ branchId: string;
14746
+ };
14747
+ cookie?: never;
14748
+ };
14749
+ requestBody?: never;
14750
+ responses: {
14751
+ /** @description Job accepted; returns job details. */
14752
+ 202: {
14753
+ headers: {
14754
+ [name: string]: unknown;
14755
+ };
14756
+ content: {
14757
+ 'application/json': components['schemas']['JobResponse'];
14758
+ };
14759
+ };
14760
+ /** @description The backend does not support dropping columns (`storage.driver.unsupportedOperation`). */
14761
+ 400: {
14762
+ headers: {
14763
+ [name: string]: unknown;
14764
+ };
14765
+ content?: never;
14766
+ };
14767
+ /** @description Access to the table was denied. */
14768
+ 403: {
14769
+ headers: {
14770
+ [name: string]: unknown;
14771
+ };
14772
+ content?: never;
14773
+ };
14774
+ /** @description Either the table or its bucket was not found. */
14775
+ 404: {
14776
+ headers: {
14777
+ [name: string]: unknown;
14778
+ };
14779
+ content?: never;
14780
+ };
14781
+ /** @description Bucket or backend is under maintenance. */
14782
+ 503: {
14783
+ headers: {
14784
+ [name: string]: unknown;
14785
+ };
14786
+ content?: never;
14787
+ };
14788
+ };
14789
+ };
14790
+ 'delete_/v2/storage/tables/{tableId}/columns/{columnName}::ColumnDeleteAction': {
14791
+ parameters: {
14792
+ query?: {
14793
+ /** @description Drop the column even when aliases or filters reference it. */
14794
+ force?: boolean;
14795
+ };
14796
+ header?: {
14797
+ 'X-KBC-Backend'?: {
14798
+ context?: string | null;
14799
+ };
14800
+ };
14801
+ path: {
14802
+ /** @description Table string id (e.g. `in.c-main.orders`). */
14803
+ tableId: string;
14804
+ /** @description Name of the column to delete. */
14805
+ columnName: string;
14806
+ };
14807
+ cookie?: never;
14808
+ };
14809
+ requestBody?: never;
14810
+ responses: {
14811
+ /** @description Job accepted; returns job details. */
14812
+ 202: {
14813
+ headers: {
14814
+ [name: string]: unknown;
14815
+ };
14816
+ content: {
14817
+ 'application/json': components['schemas']['JobResponse'];
14818
+ };
14819
+ };
14820
+ /** @description The backend does not support dropping columns (`storage.driver.unsupportedOperation`). */
14821
+ 400: {
14822
+ headers: {
14823
+ [name: string]: unknown;
14824
+ };
14825
+ content?: never;
14826
+ };
14827
+ /** @description Access to the table was denied. */
14828
+ 403: {
14829
+ headers: {
14830
+ [name: string]: unknown;
14831
+ };
14832
+ content?: never;
14833
+ };
14834
+ /** @description Either the table or its bucket was not found. */
14835
+ 404: {
14836
+ headers: {
14837
+ [name: string]: unknown;
14838
+ };
14839
+ content?: never;
14840
+ };
14841
+ /** @description Bucket or backend is under maintenance. */
14842
+ 503: {
14843
+ headers: {
14844
+ [name: string]: unknown;
14845
+ };
14846
+ content?: never;
14847
+ };
14848
+ };
14849
+ };
14060
14850
  'put_/v2/storage/branch/{branchId}/tables/{id}/columns/{column}/definition::DefinitionUpdateAction': {
14061
14851
  parameters: {
14062
14852
  query?: never;
@@ -18021,9 +18811,14 @@ type operations = {
18021
18811
  };
18022
18812
  };
18023
18813
  };
18024
- };
18814
+ }
18025
18815
 
18026
18816
  type ProjectId = number;
18817
+ type CreateTokenRequestSchema = OpenapiBodyType<paths['/v2/storage/tokens']['post']>;
18818
+ type UpdateTokenRequestSchema = OpenapiBodyType<paths['/v2/storage/tokens/{id}']['put']>;
18819
+ type ShareTokenRequestSchema = OpenapiBodyType<paths['/v2/storage/tokens/{id}/share']['post']>;
18820
+ type TokenListItem = OpenapiReturnType<paths['/v2/storage/tokens']['get']>[number];
18821
+ type CreateTokenResponse = OpenapiReturnType<paths['/v2/storage/tokens']['post']>;
18027
18822
  type StorageTokenOwner = {
18028
18823
  id: ProjectId;
18029
18824
  name: string;
@@ -18069,25 +18864,14 @@ type StorageTokenAdminOwner = {
18069
18864
  name: string;
18070
18865
  email: string;
18071
18866
  };
18072
- type StorageToken = {
18073
- id: string;
18074
- created: string;
18075
- refreshed: string;
18076
- description: string;
18077
- uri: string;
18078
- isMasterToken: boolean;
18079
- canManageBuckets: boolean;
18080
- canManageTokens: boolean;
18081
- canReadAllFileUploads: boolean;
18082
- canPurgeTrash: boolean;
18083
- canManageProtectedDefaultBranch: boolean;
18084
- canCreateJobs: boolean;
18085
- expires: string | null;
18086
- isExpired: boolean;
18087
- isDisabled: boolean;
18088
- isBYODB: boolean;
18089
- dailyCapacity: number;
18090
- bucketPermissions: Record<string, string>;
18867
+ /**
18868
+ * Derived from the generated `TokenVerifyResponse`, overriding only the fields the spec models
18869
+ * badly. Everything not listed in the `Omit` tracks the schema, so a new flag added by the backend
18870
+ * arrives with `pnpm gen:types` instead of being transcribed by hand. Each override below names the
18871
+ * spec bug it works around — if one of them is ever fixed upstream, delete the override.
18872
+ */
18873
+ type StorageToken = Omit<components['schemas']['TokenVerifyResponse'], 'token' | 'owner' | 'organization' | 'admin' | 'adminOwner'> & {
18874
+ token?: string;
18091
18875
  owner: StorageTokenOwner;
18092
18876
  organization: {
18093
18877
  id: string;
@@ -18095,29 +18879,17 @@ type StorageToken = {
18095
18879
  admin: StorageTokenAdmin;
18096
18880
  adminOwner: StorageTokenAdminOwner;
18097
18881
  };
18098
- /** A single token as returned by `GET /v2/storage/tokens` (lighter than the verify/detail shape). */
18099
- type TokenListItem = OpenapiReturnType<paths['/v2/storage/tokens']['get']>[number];
18100
- /**
18101
- * Body for `POST /v2/storage/tokens`. All fields are optional: the generated `TokenCreateRequest`
18102
- * marks the permission flags / `bucketPermissions` / `componentAccess` as required, but the API
18103
- * applies documented defaults for any omitted field (the legacy `StorageApi.createToken` call sites
18104
- * send only a subset, e.g. `createTriggerToken`), so this is the permissive partial of that schema.
18105
- */
18106
18882
  type CreateTokenBody = Partial<components['schemas']['TokenCreateRequest']>;
18107
- /** Response of `POST /v2/storage/tokens` — includes the freshly issued `token` secret. */
18108
- type CreateTokenResponse = OpenapiReturnType<paths['/v2/storage/tokens']['post']>;
18109
- /**
18110
- * Body for `PUT /v2/storage/tokens/{id}`. The generated schema models `UpdateTokenRequest` as an
18111
- * empty object, so this is hand-authored from the mutable subset of the create request.
18112
- */
18113
18883
  type UpdateTokenBody = Partial<components['schemas']['TokenCreateRequest']>;
18114
- /**
18115
- * Body for `POST /v2/storage/tokens/{id}/share`. The generated schema models `ShareTokenRequest`
18116
- * as an empty object, so this is hand-authored.
18117
- */
18884
+ type UpdateTokenInput = {
18885
+ id: string;
18886
+ } & UpdateTokenBody;
18118
18887
  type ShareTokenBody = {
18119
18888
  recipientEmail: string;
18120
18889
  message?: string;
18121
18890
  };
18891
+ type ShareTokenInput = {
18892
+ id: string;
18893
+ } & ShareTokenBody;
18122
18894
 
18123
- export type { CreateTokenBody as C, ProjectId as P, StorageToken as S, TokenListItem as T, UpdateTokenBody as U, ShareTokenBody as a, CreateTokenResponse as b, components as c, paths as p };
18895
+ export type { CreateTokenBody as C, ProjectId as P, StorageToken as S, TokenListItem as T, UpdateTokenInput as U, ShareTokenInput as a, CreateTokenRequestSchema as b, components as c, CreateTokenResponse as d, ShareTokenBody as e, ShareTokenRequestSchema as f, UpdateTokenBody as g, UpdateTokenRequestSchema as h, paths as p };