@keboola/api-client 20.0.0 → 21.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 (306) hide show
  1. package/API-SURFACE.md +26 -3
  2. package/README.md +124 -24
  3. package/dist/{ManagementClientAuthError-BMOhz4mx.d.ts → ManagementClientAuthError-B3PZRWBU.d.ts} +1 -1
  4. package/dist/{ManagementClientAuthError-B7mGrnGn.d.cts → ManagementClientAuthError-CJu_hpGi.d.cts} +1 -1
  5. package/dist/ai/index.cjs +3 -3
  6. package/dist/ai/index.d.cts +1 -1
  7. package/dist/ai/index.d.ts +1 -1
  8. package/dist/ai/index.js +2 -2
  9. package/dist/assets/index.d.cts +1 -1
  10. package/dist/assets/index.d.ts +1 -1
  11. package/dist/auth/index.cjs +9 -9
  12. package/dist/auth/index.d.cts +81 -9
  13. package/dist/auth/index.d.ts +81 -9
  14. package/dist/auth/index.js +1 -1
  15. package/dist/auth/types.d.cts +2 -2
  16. package/dist/auth/types.d.ts +2 -2
  17. package/dist/chat/index.cjs +3 -3
  18. package/dist/chat/index.d.cts +1 -1
  19. package/dist/chat/index.d.ts +1 -1
  20. package/dist/chat/index.js +2 -2
  21. package/dist/chat/suggestions.d.cts +11 -11
  22. package/dist/chat/suggestions.d.ts +11 -11
  23. package/dist/{chunk-7ETZQGY7.js → chunk-2BOG5U7C.js} +3 -3
  24. package/dist/{chunk-7ETZQGY7.js.map → chunk-2BOG5U7C.js.map} +1 -1
  25. package/dist/{chunk-YLHZ2H7O.cjs → chunk-3GTRQFWA.cjs} +4 -4
  26. package/dist/{chunk-YLHZ2H7O.cjs.map → chunk-3GTRQFWA.cjs.map} +1 -1
  27. package/dist/{chunk-TTPJSPZA.cjs → chunk-3KEVPUSX.cjs} +10 -3
  28. package/dist/chunk-3KEVPUSX.cjs.map +1 -0
  29. package/dist/chunk-4HBUVR57.cjs +155 -0
  30. package/dist/chunk-4HBUVR57.cjs.map +1 -0
  31. package/dist/{chunk-YUTWLJBK.js → chunk-4IEIVLYT.js} +55 -5
  32. package/dist/chunk-4IEIVLYT.js.map +1 -0
  33. package/dist/{chunk-HEVDH4JQ.js → chunk-4WX5W7YU.js} +3 -3
  34. package/dist/{chunk-HEVDH4JQ.js.map → chunk-4WX5W7YU.js.map} +1 -1
  35. package/dist/{chunk-7KMFRSYA.js → chunk-5FDQYOJD.js} +3 -3
  36. package/dist/{chunk-7KMFRSYA.js.map → chunk-5FDQYOJD.js.map} +1 -1
  37. package/dist/{chunk-KQ2QNGRX.js → chunk-6BYHD5DG.js} +4 -4
  38. package/dist/chunk-6BYHD5DG.js.map +1 -0
  39. package/dist/{chunk-WJRHT346.js → chunk-6JXSO3AR.js} +3 -3
  40. package/dist/chunk-6JXSO3AR.js.map +1 -0
  41. package/dist/{chunk-4H2DDEUI.cjs → chunk-AFIQYB2O.cjs} +4 -4
  42. package/dist/{chunk-4H2DDEUI.cjs.map → chunk-AFIQYB2O.cjs.map} +1 -1
  43. package/dist/{chunk-IZWNTRMT.cjs → chunk-C5R6ITYD.cjs} +4 -4
  44. package/dist/{chunk-IZWNTRMT.cjs.map → chunk-C5R6ITYD.cjs.map} +1 -1
  45. package/dist/{chunk-AWRMGLMT.cjs → chunk-CBVGOANJ.cjs} +4 -4
  46. package/dist/chunk-CBVGOANJ.cjs.map +1 -0
  47. package/dist/{chunk-KDWIJTED.js → chunk-CWD66KRM.js} +3 -3
  48. package/dist/{chunk-KDWIJTED.js.map → chunk-CWD66KRM.js.map} +1 -1
  49. package/dist/{chunk-XISA4SYM.cjs → chunk-DAAHTUXU.cjs} +4 -4
  50. package/dist/{chunk-XISA4SYM.cjs.map → chunk-DAAHTUXU.cjs.map} +1 -1
  51. package/dist/{chunk-JIAMBOU7.cjs → chunk-DAS5UQN6.cjs} +4 -4
  52. package/dist/{chunk-JIAMBOU7.cjs.map → chunk-DAS5UQN6.cjs.map} +1 -1
  53. package/dist/{chunk-JURD5MC3.js → chunk-DHOVQ2TW.js} +15 -16
  54. package/dist/chunk-DHOVQ2TW.js.map +1 -0
  55. package/dist/{chunk-ISY2BOFY.js → chunk-DJ5LXAG3.js} +3 -3
  56. package/dist/{chunk-ISY2BOFY.js.map → chunk-DJ5LXAG3.js.map} +1 -1
  57. package/dist/chunk-EWMXK3EI.cjs +8 -0
  58. package/dist/chunk-EWMXK3EI.cjs.map +1 -0
  59. package/dist/{chunk-IWIN6HKU.cjs → chunk-EYIPM2XB.cjs} +4 -4
  60. package/dist/{chunk-IWIN6HKU.cjs.map → chunk-EYIPM2XB.cjs.map} +1 -1
  61. package/dist/{chunk-G7VCXMQB.cjs → chunk-FDISA5KO.cjs} +4 -4
  62. package/dist/{chunk-G7VCXMQB.cjs.map → chunk-FDISA5KO.cjs.map} +1 -1
  63. package/dist/{chunk-CVV4HROS.cjs → chunk-FMS5PNM2.cjs} +4 -4
  64. package/dist/chunk-FMS5PNM2.cjs.map +1 -0
  65. package/dist/{chunk-BR3SBEFE.cjs → chunk-FRLSKIUI.cjs} +19 -21
  66. package/dist/chunk-FRLSKIUI.cjs.map +1 -0
  67. package/dist/{chunk-MLCMKHMK.cjs → chunk-HHULC5GT.cjs} +4 -4
  68. package/dist/{chunk-MLCMKHMK.cjs.map → chunk-HHULC5GT.cjs.map} +1 -1
  69. package/dist/{chunk-STAQJVW4.cjs → chunk-HJQYMALV.cjs} +4 -4
  70. package/dist/{chunk-STAQJVW4.cjs.map → chunk-HJQYMALV.cjs.map} +1 -1
  71. package/dist/{chunk-QQJXXNUE.cjs → chunk-HUNYAVJJ.cjs} +4 -4
  72. package/dist/{chunk-QQJXXNUE.cjs.map → chunk-HUNYAVJJ.cjs.map} +1 -1
  73. package/dist/{chunk-6FE3CWV6.js → chunk-IWNJ47CV.js} +3 -3
  74. package/dist/{chunk-6FE3CWV6.js.map → chunk-IWNJ47CV.js.map} +1 -1
  75. package/dist/{chunk-4HJUQVXR.js → chunk-KF5EI2IB.js} +6 -7
  76. package/dist/chunk-KF5EI2IB.js.map +1 -0
  77. package/dist/{chunk-FPWOK2CR.js → chunk-LFLFNQMQ.js} +3 -3
  78. package/dist/chunk-LFLFNQMQ.js.map +1 -0
  79. package/dist/{chunk-ZLW3243Q.cjs → chunk-LGWRJM5X.cjs} +4 -4
  80. package/dist/chunk-LGWRJM5X.cjs.map +1 -0
  81. package/dist/chunk-M2LJZXVR.js +152 -0
  82. package/dist/chunk-M2LJZXVR.js.map +1 -0
  83. package/dist/{chunk-V4FLCCD4.js → chunk-MUC6XWII.js} +3 -3
  84. package/dist/{chunk-V4FLCCD4.js.map → chunk-MUC6XWII.js.map} +1 -1
  85. package/dist/{chunk-RHLDDKX6.js → chunk-NV3P6XBU.js} +98 -29
  86. package/dist/chunk-NV3P6XBU.js.map +1 -0
  87. package/dist/{chunk-YOPRPXER.cjs → chunk-NZN6OX4H.cjs} +4 -4
  88. package/dist/{chunk-YOPRPXER.cjs.map → chunk-NZN6OX4H.cjs.map} +1 -1
  89. package/dist/{chunk-EKWD4ODT.cjs → chunk-OZMUKLXN.cjs} +4 -4
  90. package/dist/{chunk-EKWD4ODT.cjs.map → chunk-OZMUKLXN.cjs.map} +1 -1
  91. package/dist/{chunk-K6E7LOWZ.js → chunk-P6OWDUN7.js} +3 -3
  92. package/dist/{chunk-K6E7LOWZ.js.map → chunk-P6OWDUN7.js.map} +1 -1
  93. package/dist/{chunk-PINOAERX.js → chunk-QNDU44PQ.js} +3 -3
  94. package/dist/{chunk-PINOAERX.js.map → chunk-QNDU44PQ.js.map} +1 -1
  95. package/dist/{chunk-KLVBTRLR.js → chunk-R2FAPJMZ.js} +84 -12
  96. package/dist/chunk-R2FAPJMZ.js.map +1 -0
  97. package/dist/{chunk-AKDJSXVJ.cjs → chunk-RTQEMQIC.cjs} +4 -4
  98. package/dist/{chunk-AKDJSXVJ.cjs.map → chunk-RTQEMQIC.cjs.map} +1 -1
  99. package/dist/{chunk-4JCVPUXF.cjs → chunk-S5XEXK36.cjs} +104 -35
  100. package/dist/chunk-S5XEXK36.cjs.map +1 -0
  101. package/dist/{chunk-JJXTE2SL.cjs → chunk-SB7AVZQU.cjs} +4 -4
  102. package/dist/{chunk-JJXTE2SL.cjs.map → chunk-SB7AVZQU.cjs.map} +1 -1
  103. package/dist/{chunk-EBCZUGUX.js → chunk-SJZ66FD5.js} +4 -4
  104. package/dist/chunk-SJZ66FD5.js.map +1 -0
  105. package/dist/chunk-T526LPBK.js +6 -0
  106. package/dist/chunk-T526LPBK.js.map +1 -0
  107. package/dist/{chunk-M3UUJIMO.js → chunk-U7CANHDD.js} +3 -3
  108. package/dist/{chunk-M3UUJIMO.js.map → chunk-U7CANHDD.js.map} +1 -1
  109. package/dist/{chunk-HNP33VR5.cjs → chunk-UQWVZTEA.cjs} +3 -3
  110. package/dist/chunk-UQWVZTEA.cjs.map +1 -0
  111. package/dist/{chunk-YOD5F25S.js → chunk-V6QQZLEU.js} +3 -3
  112. package/dist/{chunk-YOD5F25S.js.map → chunk-V6QQZLEU.js.map} +1 -1
  113. package/dist/{chunk-GENABZQ3.js → chunk-VTC3FL4B.js} +3 -3
  114. package/dist/{chunk-GENABZQ3.js.map → chunk-VTC3FL4B.js.map} +1 -1
  115. package/dist/{chunk-IBELIKBL.js → chunk-WXGYFLFX.js} +3 -3
  116. package/dist/{chunk-IBELIKBL.js.map → chunk-WXGYFLFX.js.map} +1 -1
  117. package/dist/{chunk-ANRUSNYD.cjs → chunk-X6BQTEIT.cjs} +4 -4
  118. package/dist/{chunk-ANRUSNYD.cjs.map → chunk-X6BQTEIT.cjs.map} +1 -1
  119. package/dist/{chunk-WFBQUWRC.js → chunk-XMC355U2.js} +10 -3
  120. package/dist/chunk-XMC355U2.js.map +1 -0
  121. package/dist/{chunk-N3GNUFMA.cjs → chunk-XPQBE77T.cjs} +6 -7
  122. package/dist/chunk-XPQBE77T.cjs.map +1 -0
  123. package/dist/{chunk-SWJHENEP.cjs → chunk-YHMW7CZF.cjs} +84 -11
  124. package/dist/chunk-YHMW7CZF.cjs.map +1 -0
  125. package/dist/{chunk-UREIP7XG.js → chunk-YVC4NGW2.js} +3 -3
  126. package/dist/{chunk-UREIP7XG.js.map → chunk-YVC4NGW2.js.map} +1 -1
  127. package/dist/{chunk-UFQVOZZ6.cjs → chunk-Z76DIRLA.cjs} +55 -5
  128. package/dist/chunk-Z76DIRLA.cjs.map +1 -0
  129. package/dist/{chunk-ZAPK7HZS.js → chunk-ZCODWFCC.js} +3 -3
  130. package/dist/{chunk-ZAPK7HZS.js.map → chunk-ZCODWFCC.js.map} +1 -1
  131. package/dist/constants/index.cjs +2 -2
  132. package/dist/constants/index.d.cts +7 -1
  133. package/dist/constants/index.d.ts +7 -1
  134. package/dist/constants/index.js +1 -1
  135. package/dist/{createGenericFetchClient-D4tfhW6Z.d.ts → createGenericFetchClient-B2Gp1a8f.d.ts} +1 -1
  136. package/dist/{createGenericFetchClient-CrB9cdk8.d.cts → createGenericFetchClient-DJ-oaxPj.d.cts} +1 -1
  137. package/dist/{createOpenapiFetchClient-DLA4-_yg.d.ts → createOpenapiFetchClient-BMaILWyq.d.ts} +1 -1
  138. package/dist/{createOpenapiFetchClient-zK2SckO2.d.cts → createOpenapiFetchClient-DQL2ZYNb.d.cts} +1 -1
  139. package/dist/dataScience/index.cjs +4 -4
  140. package/dist/dataScience/index.d.cts +1 -1
  141. package/dist/dataScience/index.d.ts +1 -1
  142. package/dist/dataScience/index.js +2 -2
  143. package/dist/domain/permissions/index.d.cts +3 -3
  144. package/dist/domain/permissions/index.d.ts +3 -3
  145. package/dist/editor/index.cjs +3 -3
  146. package/dist/editor/index.d.cts +1 -1
  147. package/dist/editor/index.d.ts +1 -1
  148. package/dist/editor/index.js +2 -2
  149. package/dist/encryption/index.d.cts +3 -3
  150. package/dist/encryption/index.d.ts +3 -3
  151. package/dist/encryption/types.d.cts +2 -2
  152. package/dist/encryption/types.d.ts +2 -2
  153. package/dist/import/index.cjs +3 -3
  154. package/dist/import/index.d.cts +1 -1
  155. package/dist/import/index.d.ts +1 -1
  156. package/dist/import/index.js +2 -2
  157. package/dist/index.cjs +1586 -893
  158. package/dist/index.cjs.map +1 -1
  159. package/dist/index.d.cts +1410 -1029
  160. package/dist/index.d.ts +1410 -1029
  161. package/dist/index.js +1540 -878
  162. package/dist/index.js.map +1 -1
  163. package/dist/management/index.cjs +3 -3
  164. package/dist/management/index.d.cts +29 -41
  165. package/dist/management/index.d.ts +29 -41
  166. package/dist/management/index.js +1 -1
  167. package/dist/management/types.d.cts +3 -7
  168. package/dist/management/types.d.ts +3 -7
  169. package/dist/metastore/index.cjs +3 -3
  170. package/dist/metastore/index.d.cts +13 -32
  171. package/dist/metastore/index.d.ts +13 -32
  172. package/dist/metastore/index.js +2 -2
  173. package/dist/metastore/types.d.cts +1 -1
  174. package/dist/metastore/types.d.ts +1 -1
  175. package/dist/notifications/index.cjs +3 -3
  176. package/dist/notifications/index.d.cts +1 -1
  177. package/dist/notifications/index.d.ts +1 -1
  178. package/dist/notifications/index.js +2 -2
  179. package/dist/oauth/index.cjs +3 -3
  180. package/dist/oauth/index.d.cts +1 -1
  181. package/dist/oauth/index.d.ts +1 -1
  182. package/dist/oauth/index.js +2 -2
  183. package/dist/{project-Bj7A_TSe.d.ts → project-BpTHlKfO.d.ts} +2 -2
  184. package/dist/{project-CX3TEH8A.d.cts → project-DEFMKeAm.d.cts} +2 -2
  185. package/dist/queryService/index.cjs +3 -3
  186. package/dist/queryService/index.d.cts +1 -1
  187. package/dist/queryService/index.d.ts +1 -1
  188. package/dist/queryService/index.js +2 -2
  189. package/dist/queue/index.cjs +3 -3
  190. package/dist/queue/index.d.cts +1 -1
  191. package/dist/queue/index.d.ts +1 -1
  192. package/dist/queue/index.js +2 -2
  193. package/dist/{registry-BLItWxbK.d.ts → registry-v_1krdcs.d.cts} +136 -1
  194. package/dist/{registry-BLItWxbK.d.cts → registry-v_1krdcs.d.ts} +136 -1
  195. package/dist/scheduler/index.cjs +3 -3
  196. package/dist/scheduler/index.d.cts +1 -1
  197. package/dist/scheduler/index.d.ts +1 -1
  198. package/dist/scheduler/index.js +2 -2
  199. package/dist/sdk/configurations/index.cjs +3 -3
  200. package/dist/sdk/configurations/index.d.cts +417 -25
  201. package/dist/sdk/configurations/index.d.ts +417 -25
  202. package/dist/sdk/configurations/index.js +2 -2
  203. package/dist/sdk/semanticLayer/index.cjs +18 -0
  204. package/dist/sdk/semanticLayer/index.cjs.map +1 -0
  205. package/dist/sdk/semanticLayer/index.d.cts +36 -0
  206. package/dist/sdk/semanticLayer/index.d.ts +36 -0
  207. package/dist/sdk/semanticLayer/index.js +5 -0
  208. package/dist/sdk/semanticLayer/index.js.map +1 -0
  209. package/dist/sdk/semanticLayer/types.cjs +4 -0
  210. package/dist/sdk/semanticLayer/types.cjs.map +1 -0
  211. package/dist/sdk/semanticLayer/types.d.cts +132 -0
  212. package/dist/sdk/semanticLayer/types.d.ts +132 -0
  213. package/dist/sdk/semanticLayer/types.js +3 -0
  214. package/dist/sdk/semanticLayer/types.js.map +1 -0
  215. package/dist/sdk/storage/index.cjs +11 -11
  216. package/dist/sdk/storage/index.d.cts +7 -7
  217. package/dist/sdk/storage/index.d.ts +7 -7
  218. package/dist/sdk/storage/index.js +1 -1
  219. package/dist/sdk/tag/index.cjs +4 -3
  220. package/dist/sdk/tag/index.d.cts +6 -6
  221. package/dist/sdk/tag/index.d.ts +6 -6
  222. package/dist/sdk/tag/index.js +3 -2
  223. package/dist/sdk/tag/types.d.cts +4 -4
  224. package/dist/sdk/tag/types.d.ts +4 -4
  225. package/dist/sdk/vault/index.cjs +8 -8
  226. package/dist/sdk/vault/index.d.cts +4 -4
  227. package/dist/sdk/vault/index.d.ts +4 -4
  228. package/dist/sdk/vault/index.js +2 -2
  229. package/dist/status/index.d.cts +1 -1
  230. package/dist/status/index.d.ts +1 -1
  231. package/dist/storage/index.cjs +5 -5
  232. package/dist/storage/index.d.cts +7 -7
  233. package/dist/storage/index.d.ts +7 -7
  234. package/dist/storage/index.js +3 -3
  235. package/dist/storage/types.d.cts +58 -5
  236. package/dist/storage/types.d.ts +58 -5
  237. package/dist/{storageClient-Cwr5Vl45.d.ts → storageClient-BONJnuhr.d.ts} +14 -7
  238. package/dist/{storageClient-D1USmiC5.d.cts → storageClient-BxgbulPW.d.cts} +14 -7
  239. package/dist/{storageSdk-Um7iSJMs.d.ts → storageSdk-CUnp67LN.d.ts} +1 -1
  240. package/dist/{storageSdk-MciYsR_e.d.cts → storageSdk-uCojVKkr.d.cts} +1 -1
  241. package/dist/stream/index.cjs +3 -3
  242. package/dist/stream/index.d.cts +1 -1
  243. package/dist/stream/index.d.ts +1 -1
  244. package/dist/stream/index.js +2 -2
  245. package/dist/syncActions/index.cjs +3 -3
  246. package/dist/syncActions/index.d.cts +2 -2
  247. package/dist/syncActions/index.d.ts +2 -2
  248. package/dist/syncActions/index.js +2 -2
  249. package/dist/telemetry/index.cjs +3 -3
  250. package/dist/telemetry/index.d.cts +2 -2
  251. package/dist/telemetry/index.d.ts +2 -2
  252. package/dist/telemetry/index.js +2 -2
  253. package/dist/{types-ClxrZC77.d.cts → types-B9SJ0cIc.d.cts} +2677 -813
  254. package/dist/{types-l_pP5J0H.d.ts → types-BM3xJvzM.d.ts} +1 -1
  255. package/dist/{types-59-LNg5i.d.cts → types-BjcRP8q1.d.cts} +1 -1
  256. package/dist/{types-o8eTf_G9.d.ts → types-BogOtZre.d.ts} +2677 -813
  257. package/dist/{types-DHCbX2uR.d.cts → types-C6gjiVpQ.d.cts} +1 -1
  258. package/dist/{types-oJnjpvPi.d.ts → types-CbEJaobw.d.ts} +1 -1
  259. package/dist/{types-YEfQ5pAy.d.cts → types-DJLceKR0.d.cts} +445 -137
  260. package/dist/{types-YEfQ5pAy.d.ts → types-DJLceKR0.d.ts} +445 -137
  261. package/dist/{types-BowqtZ7v.d.ts → types-Do0nBZbY.d.ts} +355 -108
  262. package/dist/{types-0yn6OefX.d.ts → types-DqxZDbM1.d.cts} +1 -1
  263. package/dist/{types-0yn6OefX.d.cts → types-DqxZDbM1.d.ts} +1 -1
  264. package/dist/{types-BCPmAXOQ.d.cts → types-VK3k4Z6R.d.cts} +355 -108
  265. package/dist/vault/index.cjs +3 -3
  266. package/dist/vault/index.d.cts +1 -1
  267. package/dist/vault/index.d.ts +1 -1
  268. package/dist/vault/index.js +2 -2
  269. package/package.json +28 -2
  270. package/surface/auth.md +2 -2
  271. package/surface/chat.md +1 -1
  272. package/surface/dataScience.md +1 -1
  273. package/surface/editor.md +5 -5
  274. package/surface/kaiAgent.md +1 -1
  275. package/surface/management.md +15 -4
  276. package/surface/metastore.md +10 -10
  277. package/surface/queue.md +1 -1
  278. package/surface/sdk.md +19 -6
  279. package/surface/storage.md +11 -3
  280. package/surface/stream.md +7 -7
  281. package/dist/authMiddleware-BcRYj3eQ.d.cts +0 -5
  282. package/dist/authMiddleware-CirRGURb.d.ts +0 -5
  283. package/dist/chunk-4HJUQVXR.js.map +0 -1
  284. package/dist/chunk-4JCVPUXF.cjs.map +0 -1
  285. package/dist/chunk-AWRMGLMT.cjs.map +0 -1
  286. package/dist/chunk-BR3SBEFE.cjs.map +0 -1
  287. package/dist/chunk-CVV4HROS.cjs.map +0 -1
  288. package/dist/chunk-EBCZUGUX.js.map +0 -1
  289. package/dist/chunk-FPWOK2CR.js.map +0 -1
  290. package/dist/chunk-HNP33VR5.cjs.map +0 -1
  291. package/dist/chunk-JURD5MC3.js.map +0 -1
  292. package/dist/chunk-KLVBTRLR.js.map +0 -1
  293. package/dist/chunk-KQ2QNGRX.js.map +0 -1
  294. package/dist/chunk-N3GNUFMA.cjs.map +0 -1
  295. package/dist/chunk-RHLDDKX6.js.map +0 -1
  296. package/dist/chunk-SWJHENEP.cjs.map +0 -1
  297. package/dist/chunk-TTPJSPZA.cjs.map +0 -1
  298. package/dist/chunk-UFQVOZZ6.cjs.map +0 -1
  299. package/dist/chunk-WFBQUWRC.js.map +0 -1
  300. package/dist/chunk-WJRHT346.js.map +0 -1
  301. package/dist/chunk-YUTWLJBK.js.map +0 -1
  302. package/dist/chunk-ZLW3243Q.cjs.map +0 -1
  303. package/dist/schemas-CraXbXke.d.cts +0 -74
  304. package/dist/schemas-CraXbXke.d.ts +0 -74
  305. package/dist/{backends-Bofq_Nr0.d.cts → adminRoles-Cil1lavB.d.cts} +6 -6
  306. package/dist/{backends-Bofq_Nr0.d.ts → adminRoles-Cil1lavB.d.ts} +6 -6
@@ -1,4 +1,4 @@
1
- import { B as Backend, A as AdminRole } from './backends-Bofq_Nr0.js';
1
+ import { B as Backend, A as AdminRole } from './adminRoles-Cil1lavB.js';
2
2
  import { a as OpenapiReturnType } from './types-jKnx7Tm_.js';
3
3
 
4
4
  /**
@@ -175,6 +175,66 @@ type paths = {
175
175
  patch?: never;
176
176
  trace?: never;
177
177
  };
178
+ '/v2/storage/branch/{branchId}/buckets/{bucketId}': {
179
+ parameters: {
180
+ query?: never;
181
+ header?: never;
182
+ path?: never;
183
+ cookie?: never;
184
+ };
185
+ /**
186
+ * Get bucket detail
187
+ * @description Retrieve detailed information about a bucket including tables and metadata.
188
+ */
189
+ get: operations['get_/v2/storage/branch/{branchId}/buckets/{bucketId}::BucketDetailAction'];
190
+ put?: never;
191
+ post?: never;
192
+ /**
193
+ * Delete a bucket
194
+ * @description Deletes a bucket, or unlinks it when it is a linked bucket. With `async=true` the deletion is enqueued as a job (202). The synchronous variant is deprecated.
195
+ *
196
+ * 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 [BucketDeleteResponse](#model-BucketDeleteResponse).
197
+ *
198
+ * Parameters of job will be [BucketDeleteJobParams](#components-schemas-BucketDeleteJobParams).
199
+ *
200
+ * [Deprecated] This endpoint can be used synchronously as well.
201
+ */
202
+ delete: operations['delete_/v2/storage/branch/{branchId}/buckets/{bucketId}::BucketDeleteAction'];
203
+ options?: never;
204
+ head?: never;
205
+ patch?: never;
206
+ trace?: never;
207
+ };
208
+ '/v2/storage/buckets/{bucketId}': {
209
+ parameters: {
210
+ query?: never;
211
+ header?: never;
212
+ path?: never;
213
+ cookie?: never;
214
+ };
215
+ /**
216
+ * Get bucket detail
217
+ * @description Retrieve detailed information about a bucket including tables and metadata.
218
+ */
219
+ get: operations['get_/v2/storage/buckets/{bucketId}::BucketDetailAction'];
220
+ put?: never;
221
+ post?: never;
222
+ /**
223
+ * Delete a bucket
224
+ * @description Deletes a bucket, or unlinks it when it is a linked bucket. With `async=true` the deletion is enqueued as a job (202). The synchronous variant is deprecated.
225
+ *
226
+ * 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 [BucketDeleteResponse](#model-BucketDeleteResponse).
227
+ *
228
+ * Parameters of job will be [BucketDeleteJobParams](#components-schemas-BucketDeleteJobParams).
229
+ *
230
+ * [Deprecated] This endpoint can be used synchronously as well.
231
+ */
232
+ delete: operations['delete_/v2/storage/buckets/{bucketId}::BucketDeleteAction'];
233
+ options?: never;
234
+ head?: never;
235
+ patch?: never;
236
+ trace?: never;
237
+ };
178
238
  '/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata/{metadataId}': {
179
239
  parameters: {
180
240
  query?: never;
@@ -215,7 +275,7 @@ type paths = {
215
275
  patch?: never;
216
276
  trace?: never;
217
277
  };
218
- '/v2/storage/branch/{branchId}/buckets/{bucketId}': {
278
+ '/v2/storage/branch/{branchId}/buckets/{bucketId}/events': {
219
279
  parameters: {
220
280
  query?: never;
221
281
  header?: never;
@@ -223,10 +283,10 @@ type paths = {
223
283
  cookie?: never;
224
284
  };
225
285
  /**
226
- * Get bucket detail
227
- * @description Retrieve detailed information about a bucket including tables and metadata.
286
+ * List events for a bucket
287
+ * @description Returns a list of events for the specified bucket.
228
288
  */
229
- get: operations['get_/v2/storage/branch/{branchId}/buckets/{bucketId}::BucketDetailAction'];
289
+ get: operations['get_/v2/storage/branch/{branchId}/buckets/{bucketId}/events::BucketEventsListAction'];
230
290
  put?: never;
231
291
  post?: never;
232
292
  delete?: never;
@@ -235,7 +295,7 @@ type paths = {
235
295
  patch?: never;
236
296
  trace?: never;
237
297
  };
238
- '/v2/storage/buckets/{bucketId}': {
298
+ '/v2/storage/buckets/{bucketId}/events': {
239
299
  parameters: {
240
300
  query?: never;
241
301
  header?: never;
@@ -243,10 +303,10 @@ type paths = {
243
303
  cookie?: never;
244
304
  };
245
305
  /**
246
- * Get bucket detail
247
- * @description Retrieve detailed information about a bucket including tables and metadata.
306
+ * List events for a bucket
307
+ * @description Returns a list of events for the specified bucket.
248
308
  */
249
- get: operations['get_/v2/storage/buckets/{bucketId}::BucketDetailAction'];
309
+ get: operations['get_/v2/storage/buckets/{bucketId}/events::BucketEventsListAction'];
250
310
  put?: never;
251
311
  post?: never;
252
312
  delete?: never;
@@ -268,7 +328,11 @@ type paths = {
268
328
  */
269
329
  get: operations['get_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::BucketGetTablesAction'];
270
330
  put?: never;
271
- post?: never;
331
+ /**
332
+ * Create a table from a CSV file (synchronous, deprecated)
333
+ * @description Creates a table in the given bucket from an uploaded CSV file and imports the data synchronously. This endpoint is deprecated; use the asynchronous `POST /v2/storage/buckets/{bucket_id}/tables-async` endpoint instead.
334
+ */
335
+ post: operations['post_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::CreateTableSyncAction'];
272
336
  delete?: never;
273
337
  options?: never;
274
338
  head?: never;
@@ -288,7 +352,11 @@ type paths = {
288
352
  */
289
353
  get: operations['get_/v2/storage/buckets/{bucketId}/tables::BucketGetTablesAction'];
290
354
  put?: never;
291
- post?: never;
355
+ /**
356
+ * Create a table from a CSV file (synchronous, deprecated)
357
+ * @description Creates a table in the given bucket from an uploaded CSV file and imports the data synchronously. This endpoint is deprecated; use the asynchronous `POST /v2/storage/buckets/{bucket_id}/tables-async` endpoint instead.
358
+ */
359
+ post: operations['post_/v2/storage/buckets/{bucketId}/tables::CreateTableSyncAction'];
292
360
  delete?: never;
293
361
  options?: never;
294
362
  head?: never;
@@ -1119,6 +1187,26 @@ type paths = {
1119
1187
  patch?: never;
1120
1188
  trace?: never;
1121
1189
  };
1190
+ '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase': {
1191
+ parameters: {
1192
+ query?: never;
1193
+ header?: never;
1194
+ path?: never;
1195
+ cookie?: never;
1196
+ };
1197
+ get?: never;
1198
+ put?: never;
1199
+ /**
1200
+ * 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.
1202
+ */
1203
+ post: operations['post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase::ConfigurationRebaseAction'];
1204
+ delete?: never;
1205
+ options?: never;
1206
+ head?: never;
1207
+ patch?: never;
1208
+ trace?: never;
1209
+ };
1122
1210
  '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/reset-to-default': {
1123
1211
  parameters: {
1124
1212
  query?: never;
@@ -1471,26 +1559,6 @@ type paths = {
1471
1559
  patch?: never;
1472
1560
  trace?: never;
1473
1561
  };
1474
- '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/diff': {
1475
- parameters: {
1476
- query?: never;
1477
- header?: never;
1478
- path?: never;
1479
- cookie?: never;
1480
- };
1481
- /**
1482
- * Get configuration row three-way diff
1483
- * @description Returns the "base" (dev branch version 1), "ours" (dev branch head) and "theirs" (default branch head) versions of a single configuration row, so a client can render a three-way diff for conflict resolution. Each side is null when the row does not exist on that side. When there is no conflict all three sides are equal. Only available in dev branches.
1484
- */
1485
- get: operations['get_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/diff::ConfigurationRowDiffAction'];
1486
- put?: never;
1487
- post?: never;
1488
- delete?: never;
1489
- options?: never;
1490
- head?: never;
1491
- patch?: never;
1492
- trace?: never;
1493
- };
1494
1562
  '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/state': {
1495
1563
  parameters: {
1496
1564
  query?: never;
@@ -2310,6 +2378,10 @@ type paths = {
2310
2378
  path?: never;
2311
2379
  cookie?: never;
2312
2380
  };
2381
+ /**
2382
+ * Search storage objects
2383
+ * @description Search across storage objects (buckets, tables, columns, configurations) within the organization, optionally narrowed to specific projects via projectIds.
2384
+ */
2313
2385
  get: operations['get_/v2/storage/global-search::SearchAction'];
2314
2386
  put?: never;
2315
2387
  post?: never;
@@ -2621,6 +2693,26 @@ type paths = {
2621
2693
  patch?: never;
2622
2694
  trace?: never;
2623
2695
  };
2696
+ '/v2/storage/tables/{tableId}/alias-filter': {
2697
+ parameters: {
2698
+ query?: never;
2699
+ header?: never;
2700
+ path?: never;
2701
+ cookie?: never;
2702
+ };
2703
+ get?: never;
2704
+ put?: never;
2705
+ post?: never;
2706
+ /**
2707
+ * Remove an alias filter
2708
+ * @description Removes the data filter from a simple alias table and restores the alias statistics from its source table. Filtered aliases are deprecated.
2709
+ */
2710
+ delete: operations['delete_/v2/storage/tables/{tableId}/alias-filter::AliasFilterDeleteAction'];
2711
+ options?: never;
2712
+ head?: never;
2713
+ patch?: never;
2714
+ trace?: never;
2715
+ };
2624
2716
  '/v2/storage/branch/{branchId}/tables/{id}/columns': {
2625
2717
  parameters: {
2626
2718
  query?: never;
@@ -2725,6 +2817,54 @@ type paths = {
2725
2817
  patch?: never;
2726
2818
  trace?: never;
2727
2819
  };
2820
+ '/v2/storage/branch/{branchId}/tables/{tableId}/export-async': {
2821
+ parameters: {
2822
+ query?: never;
2823
+ header?: never;
2824
+ path?: never;
2825
+ cookie?: never;
2826
+ };
2827
+ get?: never;
2828
+ put?: never;
2829
+ /**
2830
+ * Export a table asynchronously
2831
+ * @description Exports a table to a file via an asynchronous job and returns the job information.
2832
+ *
2833
+ * 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 [TableExportAsyncJobResponse](#model-TableExportAsyncJobResponse).
2834
+ *
2835
+ * Parameters of job will be [TableExportJobParams](#components-schemas-TableExportJobParams).
2836
+ */
2837
+ post: operations['post_/v2/storage/branch/{branchId}/tables/{tableId}/export-async::ExportAsyncAction'];
2838
+ delete?: never;
2839
+ options?: never;
2840
+ head?: never;
2841
+ patch?: never;
2842
+ trace?: never;
2843
+ };
2844
+ '/v2/storage/tables/{tableId}/export-async': {
2845
+ parameters: {
2846
+ query?: never;
2847
+ header?: never;
2848
+ path?: never;
2849
+ cookie?: never;
2850
+ };
2851
+ get?: never;
2852
+ put?: never;
2853
+ /**
2854
+ * Export a table asynchronously
2855
+ * @description Exports a table to a file via an asynchronous job and returns the job information.
2856
+ *
2857
+ * 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 [TableExportAsyncJobResponse](#model-TableExportAsyncJobResponse).
2858
+ *
2859
+ * Parameters of job will be [TableExportJobParams](#components-schemas-TableExportJobParams).
2860
+ */
2861
+ post: operations['post_/v2/storage/tables/{tableId}/export-async::ExportAsyncAction'];
2862
+ delete?: never;
2863
+ options?: never;
2864
+ head?: never;
2865
+ patch?: never;
2866
+ trace?: never;
2867
+ };
2728
2868
  '/v2/storage/branch/{branchId}/tables/{id}/import-async': {
2729
2869
  parameters: {
2730
2870
  query?: never;
@@ -2757,6 +2897,58 @@ type paths = {
2757
2897
  patch?: never;
2758
2898
  trace?: never;
2759
2899
  };
2900
+ '/v2/storage/branch/{branchId}/tables/{tableId}/primary-key': {
2901
+ parameters: {
2902
+ query?: never;
2903
+ header?: never;
2904
+ path?: never;
2905
+ cookie?: never;
2906
+ };
2907
+ get?: never;
2908
+ put?: never;
2909
+ /**
2910
+ * Create a table primary key
2911
+ * @description Creates the primary key on the given table from the specified columns. Async-only - returns 202 with a storage job; poll it for completion. Rejected when the table already has a primary key, when the backend does not support primary keys, or when the table has the synthetic primary key feature enabled.
2912
+ */
2913
+ post: operations['post_/v2/storage/branch/{branchId}/tables/{tableId}/primary-key::PrimaryKeyCreateAction'];
2914
+ /**
2915
+ * Delete a table primary key
2916
+ * @description Deletes the primary key of the given table. Async-only - returns 202 with a storage job; poll it for completion. Rejected when the backend does not support primary keys, or when the table has the synthetic primary key feature enabled.
2917
+ *
2918
+ * 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 [PrimaryKeyDeleteJobResult](#model-PrimaryKeyDeleteJobResult).
2919
+ */
2920
+ delete: operations['delete_/v2/storage/branch/{branchId}/tables/{tableId}/primary-key::PrimaryKeyDeleteAction'];
2921
+ options?: never;
2922
+ head?: never;
2923
+ patch?: never;
2924
+ trace?: never;
2925
+ };
2926
+ '/v2/storage/tables/{tableId}/primary-key': {
2927
+ parameters: {
2928
+ query?: never;
2929
+ header?: never;
2930
+ path?: never;
2931
+ cookie?: never;
2932
+ };
2933
+ get?: never;
2934
+ put?: never;
2935
+ /**
2936
+ * Create a table primary key
2937
+ * @description Creates the primary key on the given table from the specified columns. Async-only - returns 202 with a storage job; poll it for completion. Rejected when the table already has a primary key, when the backend does not support primary keys, or when the table has the synthetic primary key feature enabled.
2938
+ */
2939
+ post: operations['post_/v2/storage/tables/{tableId}/primary-key::PrimaryKeyCreateAction'];
2940
+ /**
2941
+ * Delete a table primary key
2942
+ * @description Deletes the primary key of the given table. Async-only - returns 202 with a storage job; poll it for completion. Rejected when the backend does not support primary keys, or when the table has the synthetic primary key feature enabled.
2943
+ *
2944
+ * 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 [PrimaryKeyDeleteJobResult](#model-PrimaryKeyDeleteJobResult).
2945
+ */
2946
+ delete: operations['delete_/v2/storage/tables/{tableId}/primary-key::PrimaryKeyDeleteAction'];
2947
+ options?: never;
2948
+ head?: never;
2949
+ patch?: never;
2950
+ trace?: never;
2951
+ };
2760
2952
  '/v2/storage/branch/{branchId}/tables/{tableId}/profile': {
2761
2953
  parameters: {
2762
2954
  query?: never;
@@ -2937,6 +3129,46 @@ type paths = {
2937
3129
  patch?: never;
2938
3130
  trace?: never;
2939
3131
  };
3132
+ '/v2/storage/branch/{branchId}/tables/{tableId}/data-preview': {
3133
+ parameters: {
3134
+ query?: never;
3135
+ header?: never;
3136
+ path?: never;
3137
+ cookie?: never;
3138
+ };
3139
+ /**
3140
+ * Get table data preview
3141
+ * @description Returns a preview of table data in CSV (RFC) or JSON format.
3142
+ */
3143
+ get: operations['get_/v2/storage/branch/{branchId}/tables/{tableId}/data-preview::TableDataPreviewAction'];
3144
+ put?: never;
3145
+ post?: never;
3146
+ delete?: never;
3147
+ options?: never;
3148
+ head?: never;
3149
+ patch?: never;
3150
+ trace?: never;
3151
+ };
3152
+ '/v2/storage/tables/{tableId}/data-preview': {
3153
+ parameters: {
3154
+ query?: never;
3155
+ header?: never;
3156
+ path?: never;
3157
+ cookie?: never;
3158
+ };
3159
+ /**
3160
+ * Get table data preview
3161
+ * @description Returns a preview of table data in CSV (RFC) or JSON format.
3162
+ */
3163
+ get: operations['get_/v2/storage/tables/{tableId}/data-preview::TableDataPreviewAction'];
3164
+ put?: never;
3165
+ post?: never;
3166
+ delete?: never;
3167
+ options?: never;
3168
+ head?: never;
3169
+ patch?: never;
3170
+ trace?: never;
3171
+ };
2940
3172
  '/v2/storage/branch/{branchId}/tables/{tableId}/definition': {
2941
3173
  parameters: {
2942
3174
  query?: never;
@@ -3065,6 +3297,46 @@ type paths = {
3065
3297
  patch?: never;
3066
3298
  trace?: never;
3067
3299
  };
3300
+ '/v2/storage/branch/{branchId}/tables/{tableId}/events': {
3301
+ parameters: {
3302
+ query?: never;
3303
+ header?: never;
3304
+ path?: never;
3305
+ cookie?: never;
3306
+ };
3307
+ /**
3308
+ * List events for a table
3309
+ * @description Returns a list of events for the specified table.
3310
+ */
3311
+ get: operations['get_/v2/storage/branch/{branchId}/tables/{tableId}/events::TableEventsListAction'];
3312
+ put?: never;
3313
+ post?: never;
3314
+ delete?: never;
3315
+ options?: never;
3316
+ head?: never;
3317
+ patch?: never;
3318
+ trace?: never;
3319
+ };
3320
+ '/v2/storage/tables/{tableId}/events': {
3321
+ parameters: {
3322
+ query?: never;
3323
+ header?: never;
3324
+ path?: never;
3325
+ cookie?: never;
3326
+ };
3327
+ /**
3328
+ * List events for a table
3329
+ * @description Returns a list of events for the specified table.
3330
+ */
3331
+ get: operations['get_/v2/storage/tables/{tableId}/events::TableEventsListAction'];
3332
+ put?: never;
3333
+ post?: never;
3334
+ delete?: never;
3335
+ options?: never;
3336
+ head?: never;
3337
+ patch?: never;
3338
+ trace?: never;
3339
+ };
3068
3340
  '/v2/storage/branch/{branchId}/tables/{tableId}/swap': {
3069
3341
  parameters: {
3070
3342
  query?: never;
@@ -4198,228 +4470,6 @@ type components = {
4198
4470
  value?: string | null;
4199
4471
  }[];
4200
4472
  };
4201
- BucketDetailRequest: {
4202
- /** @description Comma-separated list of data to include. Allowed values: columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
4203
- include?: string | null;
4204
- };
4205
- BucketGetTablesRequest: {
4206
- /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
4207
- include?: string | null;
4208
- };
4209
- BucketOwnerUpdateRequest: {
4210
- /** @description Owner identifier. */
4211
- id?: number | null;
4212
- /**
4213
- * Format: email
4214
- * @description Owner email address.
4215
- */
4216
- email?: string | null;
4217
- };
4218
- ListBucketsRequest: Record<string, never>;
4219
- /** @description Request body for creating a table from a file. Some parameters are optional or only used for specific backends. */
4220
- CreateTableAsyncFromFileRequest: {
4221
- /** @description ID of the source data file. */
4222
- dataFileId: number;
4223
- /** @description Name of the new table. */
4224
- name: string;
4225
- /** @description CSV delimiter character. */
4226
- delimiter?: string | null;
4227
- /** @description CSV enclosure character. */
4228
- enclosure?: string | null;
4229
- /** @description CSV escape character. */
4230
- escapedBy?: string | null;
4231
- /** @description Primary key columns. */
4232
- primaryKey: string[];
4233
- /** @description List of table columns (optional, only for file workspace). */
4234
- columns?: string[] | null;
4235
- /** @description Distribution key columns (for Synapse). */
4236
- distributionKey: string[];
4237
- /**
4238
- * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
4239
- * @default MANAGED
4240
- */
4241
- timestampType: string | null;
4242
- };
4243
- /** @description Request body for creating a table from a snapshot. Some parameters are optional or only used for specific backends. */
4244
- CreateTableAsyncFromSnapshotRequest: {
4245
- /** @description ID of the source snapshot. */
4246
- snapshotId: number;
4247
- /** @description Name of the new table. */
4248
- name: string;
4249
- /** @description CSV delimiter character. */
4250
- delimiter?: string | null;
4251
- /** @description CSV enclosure character. */
4252
- enclosure?: string | null;
4253
- /** @description CSV escape character. */
4254
- escapedBy?: string | null;
4255
- /** @description Primary key columns. */
4256
- primaryKey: string[];
4257
- /** @description List of table columns (optional, only for file workspace). */
4258
- columns?: string[] | null;
4259
- /** @description Distribution key columns (for Synapse). */
4260
- distributionKey: string[];
4261
- /**
4262
- * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
4263
- * @default MANAGED
4264
- */
4265
- timestampType: string | null;
4266
- };
4267
- /** @description Request body for creating a table from a time travel source. Some parameters are optional or only used for specific backends. */
4268
- CreateTableAsyncFromTimeTravelRequest: {
4269
- /** @description ID of the source table for time travel. */
4270
- sourceTableId: string;
4271
- /** @description Name of the new table. */
4272
- name: string;
4273
- /** @description Timestamp for time travel (ISO8601 or unix timestamp). */
4274
- timestamp: string;
4275
- /** @description CSV delimiter character. */
4276
- delimiter?: string | null;
4277
- /** @description CSV enclosure character. */
4278
- enclosure?: string | null;
4279
- /** @description CSV escape character. */
4280
- escapedBy?: string | null;
4281
- /** @description Primary key columns. */
4282
- primaryKey: string[];
4283
- /** @description List of table columns (optional, only for file workspace). */
4284
- columns?: string[] | null;
4285
- /** @description Distribution key columns (for Synapse). */
4286
- distributionKey: string[];
4287
- /**
4288
- * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
4289
- * @default MANAGED
4290
- */
4291
- timestampType: string | null;
4292
- };
4293
- /** @description Request body for creating a table from a workspace. Some parameters are optional or only used for specific backends. */
4294
- CreateTableAsyncFromWorkspaceRequest: {
4295
- /** @description ID of the source workspace. */
4296
- dataWorkspaceId: number;
4297
- /** @description Name of the object in the workspace (table, file, etc). */
4298
- dataObject?: string | null;
4299
- /** @description Deprecated: use dataObject. Name of the table in the workspace. */
4300
- dataTableName?: string | null;
4301
- /** @description Name of the new table. */
4302
- name: string;
4303
- /** @description CSV delimiter character. */
4304
- delimiter?: string | null;
4305
- /** @description CSV enclosure character. */
4306
- enclosure?: string | null;
4307
- /** @description CSV escape character. */
4308
- escapedBy?: string | null;
4309
- /** @description Primary key columns. */
4310
- primaryKey: string[];
4311
- /** @description List of table columns (optional, only for file workspace). */
4312
- columns?: string[] | null;
4313
- /** @description Distribution key columns (for Synapse). */
4314
- distributionKey: string[];
4315
- /**
4316
- * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
4317
- * @default MANAGED
4318
- */
4319
- timestampType: string | null;
4320
- };
4321
- SnowflakeCreateTableDefinitionRequest: {
4322
- /** @description Name of the new table. Required. */
4323
- name: string;
4324
- /** @description Optional description of the table stored as table metadata. */
4325
- description?: string | null;
4326
- /** @description Optional list of column names forming the primary key. Each column must be included in the table definition and must not be nullable. */
4327
- primaryKeysNames: string[];
4328
- /**
4329
- * @description Optional type of the _timestamp column handling. MANAGED adds a platform managed _timestamp column, NONE creates the table without it.
4330
- * @default MANAGED
4331
- * @enum {string}
4332
- */
4333
- timestampType: 'MANAGED' | 'NONE';
4334
- /** @description List of table columns. At least one column is required. */
4335
- columns: {
4336
- /** @description Name of the column. Required. */
4337
- name: string;
4338
- /** @description Optional native column definition. Mutually exclusive with basetype. */
4339
- definition?: {
4340
- /** @description Snowflake native column type. Optional, defaults to VARCHAR. */
4341
- type?: string;
4342
- /** @description Optional length of the column type, for example "38,0" for NUMBER. */
4343
- length?: string | null;
4344
- /**
4345
- * @description Optional flag whether the column is nullable. Primary key columns must not be nullable.
4346
- * @default true
4347
- */
4348
- nullable: boolean;
4349
- /** @description Optional default value of the column. */
4350
- default?: string | null;
4351
- /** @description Optional description of the column stored as column metadata. */
4352
- description?: string | null;
4353
- } | null;
4354
- /** @description Optional Keboola base type of the column. Mutually exclusive with definition type. */
4355
- basetype?: string | null;
4356
- }[];
4357
- };
4358
- BigqueryCreateTableDefinitionRequest: {
4359
- /** @description Name of the new table. Required. */
4360
- name: string;
4361
- /** @description Optional description of the table stored as table metadata. */
4362
- description?: string | null;
4363
- /** @description Optional list of column names forming the primary key. Each column must be included in the table definition and must not be nullable. */
4364
- primaryKeysNames: string[];
4365
- /**
4366
- * @description Optional type of the _timestamp column handling. MANAGED adds a platform managed _timestamp column, NONE creates the table without it.
4367
- * @default MANAGED
4368
- * @enum {string}
4369
- */
4370
- timestampType: 'MANAGED' | 'NONE';
4371
- /** @description List of table columns. At least one column is required. */
4372
- columns: {
4373
- /** @description Name of the column. Required. */
4374
- name: string;
4375
- /** @description Optional native column definition. Mutually exclusive with basetype. */
4376
- definition?: {
4377
- /** @description BigQuery native column type. Optional, defaults to STRING. */
4378
- type?: string;
4379
- /** @description Optional length of the column type, for example "38,9" for NUMERIC. */
4380
- length?: string | null;
4381
- /**
4382
- * @description Optional flag whether the column is nullable. Primary key columns must not be nullable.
4383
- * @default true
4384
- */
4385
- nullable: boolean;
4386
- /** @description Optional default value of the column. */
4387
- default?: string | null;
4388
- /** @description Optional description of the column stored as column metadata. */
4389
- description?: string | null;
4390
- } | null;
4391
- /** @description Optional Keboola base type of the column. Mutually exclusive with definition type. */
4392
- basetype?: string | null;
4393
- }[];
4394
- /** @description Optional time based partitioning configuration. Mutually exclusive with rangePartitioning. */
4395
- timePartitioning?: {
4396
- /** @description Type of the time partitioning, for example DAY. Required. */
4397
- type: string;
4398
- /** @description Optional column used for the time partitioning. The column must be included in the table definition. If not set, the table is partitioned by ingestion time. */
4399
- field?: string | null;
4400
- /** @description Optional number of milliseconds for which to keep the storage for a partition. */
4401
- expirationMs?: string | null;
4402
- } | null;
4403
- /** @description Optional integer range partitioning configuration. Mutually exclusive with timePartitioning. */
4404
- rangePartitioning?: {
4405
- /** @description Column used for the range partitioning. The column must be included in the table definition. Required. */
4406
- field: string;
4407
- /** @description Definition of the ranges. Required. */
4408
- range: {
4409
- /** @description Start of the range partitioning, inclusive. Required. */
4410
- start: string;
4411
- /** @description End of the range partitioning, exclusive. Required. */
4412
- end: string;
4413
- /** @description Width of each interval. Required. */
4414
- interval: string;
4415
- };
4416
- } | null;
4417
- /** @description Optional clustering configuration. */
4418
- clustering?: {
4419
- /** @description One or more columns used for the clustering. Required. */
4420
- fields: string[];
4421
- } | null;
4422
- };
4423
4473
  BucketListingUpdateJobResponse: {
4424
4474
  bucketId: string;
4425
4475
  exposureName: string;
@@ -4494,44 +4544,7 @@ type components = {
4494
4544
  exceptionId?: string | null;
4495
4545
  } | null;
4496
4546
  };
4497
- RefreshJobResponse: {
4498
- uri: string;
4499
- id: string;
4500
- name: string;
4501
- displayName: string;
4502
- idBranch: number;
4503
- stage: string;
4504
- description: string;
4505
- tables: string;
4506
- created: string;
4507
- lastChangeDate?: string | null;
4508
- updated?: string | null;
4509
- isReadOnly: boolean;
4510
- dataSizeBytes: number;
4511
- rowsCount: number;
4512
- isMaintenance: boolean;
4513
- backend: string;
4514
- sharing?: string | null;
4515
- hasExternalSchema: boolean;
4516
- databaseName?: string | null;
4517
- path: string;
4518
- isSnowflakeSharedDatabase: boolean;
4519
- color?: string | null;
4520
- sharingParameters?: Record<string, never> | null;
4521
- sharedBy?: {
4522
- id?: number | null;
4523
- name?: string | null;
4524
- date?: string | null;
4525
- } | null;
4526
- owner?: Record<string, never> | null;
4527
- sourceBucket?: Record<string, never> | null;
4528
- /** @description List of warnings related to the refresh operation. */
4529
- warnings: {
4530
- message?: string;
4531
- context?: string | null;
4532
- }[];
4533
- };
4534
- FileDeleteResponse: {
4547
+ BucketDeleteResponse: {
4535
4548
  /** @description Job ID. */
4536
4549
  id: number;
4537
4550
  /** @description Job status. */
@@ -4586,8 +4599,100 @@ type components = {
4586
4599
  exceptionId?: string | null;
4587
4600
  } | null;
4588
4601
  };
4589
- TableSnapshotCreateJobResult: {
4590
- id: string;
4602
+ RefreshJobResponse: {
4603
+ uri: string;
4604
+ id: string;
4605
+ name: string;
4606
+ displayName: string;
4607
+ idBranch: number;
4608
+ stage: string;
4609
+ description: string;
4610
+ tables: string;
4611
+ created: string;
4612
+ lastChangeDate?: string | null;
4613
+ updated?: string | null;
4614
+ isReadOnly: boolean;
4615
+ dataSizeBytes: number;
4616
+ rowsCount: number;
4617
+ isMaintenance: boolean;
4618
+ backend: string;
4619
+ sharing?: string | null;
4620
+ hasExternalSchema: boolean;
4621
+ databaseName?: string | null;
4622
+ path: string;
4623
+ isSnowflakeSharedDatabase: boolean;
4624
+ color?: string | null;
4625
+ sharingParameters?: Record<string, never> | null;
4626
+ sharedBy?: {
4627
+ id?: number | null;
4628
+ name?: string | null;
4629
+ date?: string | null;
4630
+ } | null;
4631
+ owner?: Record<string, never> | null;
4632
+ sourceBucket?: Record<string, never> | null;
4633
+ /** @description List of warnings related to the refresh operation. */
4634
+ warnings: {
4635
+ message?: string;
4636
+ context?: string | null;
4637
+ }[];
4638
+ };
4639
+ FileDeleteResponse: {
4640
+ /** @description Job ID. */
4641
+ id: number;
4642
+ /** @description Job status. */
4643
+ status: string;
4644
+ /** @description URL to retrieve job details. */
4645
+ url: string;
4646
+ /** @description Table identifier if applicable. */
4647
+ tableId?: string | null;
4648
+ /** @description Name of the operation. */
4649
+ operationName: string;
4650
+ /** @description Parameters passed to the operation. */
4651
+ operationParams: {
4652
+ [key: string]: Record<string, never>;
4653
+ };
4654
+ /**
4655
+ * Format: date-time
4656
+ * @description Job creation timestamp.
4657
+ */
4658
+ createdTime: string;
4659
+ /**
4660
+ * Format: date-time
4661
+ * @description Job start timestamp.
4662
+ */
4663
+ startTime?: string | null;
4664
+ /**
4665
+ * Format: date-time
4666
+ * @description Job completion timestamp.
4667
+ */
4668
+ endTime?: string | null;
4669
+ /** @description Unique run identifier. */
4670
+ runId?: string | null;
4671
+ /** @description Operation results; content varies. */
4672
+ results?: Record<string, never> | null;
4673
+ /** @description Creator token information. */
4674
+ creatorToken: {
4675
+ /** @description ID of the token that created this job. */
4676
+ id?: number;
4677
+ /** @description Description of the creator token. */
4678
+ description?: string | null;
4679
+ };
4680
+ /** @description Job execution metrics. */
4681
+ metrics: {
4682
+ [key: string]: Record<string, never>;
4683
+ };
4684
+ /** @description Job error information if the job failed. */
4685
+ error?: {
4686
+ /** @description Error code if job failed. */
4687
+ code?: string | null;
4688
+ /** @description Error message if job failed. */
4689
+ message?: string | null;
4690
+ /** @description Exception identifier. */
4691
+ exceptionId?: string | null;
4692
+ } | null;
4693
+ };
4694
+ TableSnapshotCreateJobResult: {
4695
+ id: string;
4591
4696
  description?: string | null;
4592
4697
  /** Format: date-time */
4593
4698
  createdTime: string;
@@ -4599,6 +4704,17 @@ type components = {
4599
4704
  uri: string;
4600
4705
  dataFileId: number;
4601
4706
  };
4707
+ /** @description Result of a finished table export job. */
4708
+ TableExportAsyncJobResponse: {
4709
+ /** @description Reference to the exported file in File Storage. */
4710
+ file: {
4711
+ id?: number;
4712
+ };
4713
+ /** @description Whether the export was served from a previously exported (cached) file. */
4714
+ cacheHit: boolean;
4715
+ };
4716
+ /** @description The tablePrimaryKeyDelete job produces no results - the value is always null. */
4717
+ PrimaryKeyDeleteJobResult: Record<string, never> | null;
4602
4718
  TableSwapResult: {
4603
4719
  tableAStringId: string;
4604
4720
  tableBStringId: string;
@@ -4720,9 +4836,12 @@ type components = {
4720
4836
  | components['schemas']['BucketListingUpdateJobResponse']
4721
4837
  | components['schemas']['BucketListingCreateJobResult']
4722
4838
  | components['schemas']['BucketListingDeleteResponse']
4839
+ | components['schemas']['BucketDeleteResponse']
4723
4840
  | components['schemas']['RefreshJobResponse']
4724
4841
  | components['schemas']['FileDeleteResponse']
4725
4842
  | components['schemas']['TableSnapshotCreateJobResult']
4843
+ | components['schemas']['TableExportAsyncJobResponse']
4844
+ | components['schemas']['PrimaryKeyDeleteJobResult']
4726
4845
  | components['schemas']['TableSwapResult']
4727
4846
  | components['schemas']['TableCreateResponse']
4728
4847
  | components['schemas']['TableExportJobResponse'];
@@ -4762,139 +4881,450 @@ type components = {
4762
4881
  uuid?: string | null;
4763
4882
  } | null;
4764
4883
  };
4765
- BigQueryListingSection: {
4766
- /** @description GCP listing ID (letters, digits and underscores; unique within the exchange). */
4767
- listingId: string;
4768
- /** @description IAM principals, each prefixed with "user:" or "group:" (e.g. "user:a@b.com"). */
4769
- subscribers: string[];
4884
+ BackendConfigurationJobParams: {
4885
+ /** @default null */
4886
+ context: string | null;
4770
4887
  };
4771
- BucketListingCreateJobParams: {
4772
- /** @description Internal numeric identifier of the bucket being exposed. */
4888
+ BucketDeleteJobParams: {
4773
4889
  idBucket: number;
4774
- /** @description Human-readable listing name carried over from the request. */
4775
- listingName: string;
4776
- /** @description Optional listing description (null when not provided). */
4777
- listingDescription?: string | null;
4778
- bigquery: components['schemas']['BigQueryListingSection'];
4779
- bucketId: number;
4780
- jobOperationParams: unknown[];
4781
- jobParams: unknown[];
4782
- };
4783
- CreateBucketListingRequest: {
4784
- /** @description Human-readable listing name (maps to the backend listing displayName). */
4785
- listingName: string;
4786
- /** @description Optional listing description. Send `null` or omit to leave it empty. */
4787
- listingDescription?: string | null;
4788
- bigquery: components['schemas']['BigQueryListingSection'];
4789
- };
4790
- BucketListingDeleteJobParams: {
4791
- bucketId: number;
4792
- jobOperationParams: unknown[];
4793
- jobParams: unknown[];
4794
- };
4795
- BucketListingUpdateJobParams: {
4796
- bucketId: number;
4797
- exposureName?: string | null;
4798
- exposureDescriptionProvided: boolean;
4799
- exposureDescription?: string | null;
4800
- bigquerySubscribers?: string[] | null;
4801
- jobOperationParams: unknown[];
4802
- jobParams: unknown[];
4803
- };
4804
- UpdateBucketListingRequest: {
4805
- /** @description New human-readable exposure name (max 63 bytes). */
4806
- exposureName: string;
4807
- /** @description New exposure description (max 2000 bytes). Pass null to clear. */
4808
- exposureDescription?: string | null;
4809
- /** @description BigQuery-specific exposure fields. The listingId is immutable and cannot be changed. */
4810
- bigquery: {
4811
- /** @description IAM principals; each value must be prefixed with "user:" or "group:". */
4812
- subscribers?: string[];
4813
- };
4814
- };
4815
- RefreshJobParams: {
4816
- bucketId: number;
4817
- /** @default false */
4818
4890
  force: boolean;
4819
4891
  /** @default null */
4820
- lastChangeDate: string | null;
4821
- jobOperationParams: unknown[];
4892
+ backendConfiguration: components['schemas']['BackendConfigurationJobParams'] | null;
4822
4893
  jobParams: unknown[];
4823
- };
4824
- RegisterExistingBucketRequest: Record<string, never>;
4825
- ScheduleRefreshRequest: Record<string, never>;
4826
- CreateBucketSharingToProjectsRequest: Record<string, never>;
4827
- CreateBucketSharingToUsersRequest: Record<string, never>;
4828
- UpdateBucketSharingRequest: Record<string, never>;
4829
- ListComponentsRequest: Record<string, never>;
4830
- CreateConfigurationRequest: Record<string, never>;
4831
- UpdateConfigurationStateRequest: Record<string, never>;
4832
- UpdateConfigurationRequest: Record<string, never>;
4833
- CreateMetadataRequest: Record<string, never>;
4834
- CreateConfigurationRowRequest: Record<string, never>;
4835
- DeleteConfigurationRowRequest: Record<string, never>;
4836
- UpdateConfigurationRowStateRequest: Record<string, never>;
4837
- UpdateConfigurationRowRequest: Record<string, never>;
4838
- CreateConfigurationRowVersionRequest: Record<string, never>;
4839
- ListRowVersionsRequest: Record<string, never>;
4840
- RollbackConfigurationRowRequest: Record<string, never>;
4841
- CreateConfigurationVersionRequest: Record<string, never>;
4842
- ListVersionsRequest: Record<string, never>;
4843
- RollbackConfigurationVersionRequest: Record<string, never>;
4844
- UpdateDevBranchRequest: Record<string, never>;
4845
- CreateDevBranchRequest: Record<string, never>;
4846
- MetadataCreateRequest: {
4847
- /** @description List of metadata items to create or update */
4848
- metadata: {
4849
- /** @description Metadata key */
4850
- key?: string;
4851
- /** @description Metadata value */
4852
- value?: string | null;
4853
- }[];
4854
- };
4855
- CreateEventRequest: Record<string, never>;
4856
- CreateTagRequest: Record<string, never>;
4857
- FileDeleteJobParams: {
4858
- branchId: number;
4859
- fileId: number;
4860
4894
  jobOperationParams: unknown[];
4861
- jobParams: unknown[];
4862
4895
  };
4863
- ListFilesRequest: Record<string, never>;
4864
- GlobalSearchRequest: Record<string, never>;
4865
- /** @description Query parameters for listing storage jobs. */
4866
- StorageJobsListQueryRequest: {
4867
- /** @description Maximum number of jobs to return (pagination). */
4896
+ BucketDetailRequest: {
4897
+ /** @description Comma-separated list of data to include. Allowed values: columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
4898
+ include?: string | null;
4899
+ };
4900
+ /** @description Query parameters for listing bucket events. */
4901
+ BucketEventsListRequest: {
4902
+ /** @description Maximum number of events to return. */
4868
4903
  limit?: number | null;
4869
- /** @description Offset for pagination. */
4904
+ /** @description Number of events to skip. */
4870
4905
  offset?: number | null;
4871
- /** @description Filter by job status. */
4872
- storage_job_status?: string[] | null;
4873
- /** @description Exclude jobs with these statuses. */
4874
- excluded_storage_job_status?: string[] | null;
4875
- /**
4876
- * Format: date-time
4877
- * @description Filter by exact created time.
4878
- */
4879
- created_time?: string | null;
4906
+ /** @description Only include events with ID less than or equal to this value. */
4907
+ maxId?: string | null;
4908
+ /** @description Only include events with ID greater than this value. */
4909
+ sinceId?: string | null;
4910
+ /** @description Filter events by component. */
4911
+ component?: string | null;
4912
+ /** @description Filter events by configuration ID. */
4913
+ configurationId?: string | null;
4914
+ /** @description Filter events by run ID. */
4915
+ runId?: string | null;
4916
+ /** @description Full-text search query to filter event data. */
4917
+ q?: string | null;
4880
4918
  /**
4881
- * Format: date-time
4882
- * @description Filter jobs created after this time.
4919
+ * @deprecated
4920
+ * @description Deprecated alias of the q parameter.
4883
4921
  */
4884
- created_time_from?: string | null;
4922
+ query?: string | null;
4885
4923
  /**
4886
- * Format: date-time
4887
- * @description Filter jobs created before this time.
4924
+ * @description Sort order of events. Use "asc" for oldest first or "desc" for newest first.
4925
+ * @enum {string|null}
4888
4926
  */
4889
- created_time_to?: string | null;
4927
+ sortOrder?: 'asc' | 'desc' | null;
4928
+ };
4929
+ BucketGetTablesRequest: {
4930
+ /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
4931
+ include?: string | null;
4932
+ };
4933
+ BucketOwnerUpdateRequest: {
4934
+ /** @description Owner identifier. */
4935
+ id?: number | null;
4890
4936
  /**
4891
- * Format: date-time
4892
- * @description Filter by exact start time.
4937
+ * Format: email
4938
+ * @description Owner email address.
4893
4939
  */
4894
- start_time?: string | null;
4940
+ email?: string | null;
4941
+ };
4942
+ ListBucketsRequest: Record<string, never>;
4943
+ /** @description Request body for creating a table from a file. Some parameters are optional or only used for specific backends. */
4944
+ CreateTableAsyncFromFileRequest: {
4945
+ /** @description ID of the source data file. */
4946
+ dataFileId: number;
4947
+ /** @description Name of the new table. */
4948
+ name: string;
4949
+ /** @description CSV delimiter character. */
4950
+ delimiter?: string | null;
4951
+ /** @description CSV enclosure character. */
4952
+ enclosure?: string | null;
4953
+ /** @description CSV escape character. */
4954
+ escapedBy?: string | null;
4955
+ /** @description Primary key columns. */
4956
+ primaryKey: string[];
4957
+ /** @description List of table columns (optional, only for file workspace). */
4958
+ columns?: string[] | null;
4959
+ /** @description Distribution key columns (for Synapse). */
4960
+ distributionKey: string[];
4895
4961
  /**
4896
- * Format: date-time
4897
- * @description Filter jobs started after this time.
4962
+ * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
4963
+ * @default MANAGED
4964
+ */
4965
+ timestampType: string | null;
4966
+ };
4967
+ /** @description Request body for creating a table from a snapshot. Some parameters are optional or only used for specific backends. */
4968
+ CreateTableAsyncFromSnapshotRequest: {
4969
+ /** @description ID of the source snapshot. */
4970
+ snapshotId: number;
4971
+ /** @description Name of the new table. */
4972
+ name: string;
4973
+ /** @description CSV delimiter character. */
4974
+ delimiter?: string | null;
4975
+ /** @description CSV enclosure character. */
4976
+ enclosure?: string | null;
4977
+ /** @description CSV escape character. */
4978
+ escapedBy?: string | null;
4979
+ /** @description Primary key columns. */
4980
+ primaryKey: string[];
4981
+ /** @description List of table columns (optional, only for file workspace). */
4982
+ columns?: string[] | null;
4983
+ /** @description Distribution key columns (for Synapse). */
4984
+ distributionKey: string[];
4985
+ /**
4986
+ * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
4987
+ * @default MANAGED
4988
+ */
4989
+ timestampType: string | null;
4990
+ };
4991
+ /** @description Request body for creating a table from a time travel source. Some parameters are optional or only used for specific backends. */
4992
+ CreateTableAsyncFromTimeTravelRequest: {
4993
+ /** @description ID of the source table for time travel. */
4994
+ sourceTableId: string;
4995
+ /** @description Name of the new table. */
4996
+ name: string;
4997
+ /** @description Timestamp for time travel (ISO8601 or unix timestamp). */
4998
+ timestamp: string;
4999
+ /** @description CSV delimiter character. */
5000
+ delimiter?: string | null;
5001
+ /** @description CSV enclosure character. */
5002
+ enclosure?: string | null;
5003
+ /** @description CSV escape character. */
5004
+ escapedBy?: string | null;
5005
+ /** @description Primary key columns. */
5006
+ primaryKey: string[];
5007
+ /** @description List of table columns (optional, only for file workspace). */
5008
+ columns?: string[] | null;
5009
+ /** @description Distribution key columns (for Synapse). */
5010
+ distributionKey: string[];
5011
+ /**
5012
+ * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
5013
+ * @default MANAGED
5014
+ */
5015
+ timestampType: string | null;
5016
+ };
5017
+ /** @description Request body for creating a table from a workspace. Some parameters are optional or only used for specific backends. */
5018
+ CreateTableAsyncFromWorkspaceRequest: {
5019
+ /** @description ID of the source workspace. */
5020
+ dataWorkspaceId: number;
5021
+ /** @description Name of the object in the workspace (table, file, etc). */
5022
+ dataObject?: string | null;
5023
+ /** @description Deprecated: use dataObject. Name of the table in the workspace. */
5024
+ dataTableName?: string | null;
5025
+ /** @description Name of the new table. */
5026
+ name: string;
5027
+ /** @description CSV delimiter character. */
5028
+ delimiter?: string | null;
5029
+ /** @description CSV enclosure character. */
5030
+ enclosure?: string | null;
5031
+ /** @description CSV escape character. */
5032
+ escapedBy?: string | null;
5033
+ /** @description Primary key columns. */
5034
+ primaryKey: string[];
5035
+ /** @description List of table columns (optional, only for file workspace). */
5036
+ columns?: string[] | null;
5037
+ /** @description Distribution key columns (for Synapse). */
5038
+ distributionKey: string[];
5039
+ /**
5040
+ * @description Type of internal timestamp column only MANAGED value now supported, meaning that _timestamp column managed by storage is created.
5041
+ * @default MANAGED
5042
+ */
5043
+ timestampType: string | null;
5044
+ };
5045
+ SnowflakeCreateTableDefinitionRequest: {
5046
+ /** @description Name of the new table. Required. */
5047
+ name: string;
5048
+ /** @description Optional description of the table stored as table metadata. */
5049
+ description?: string | null;
5050
+ /**
5051
+ * @description Whether the table description is managed by the system (true, default) or the user (false).
5052
+ * @default true
5053
+ */
5054
+ isDescriptionSystemManaged: boolean;
5055
+ /** @description Not supported on Snowflake. Creating a table from a source is BigQuery only; supplying it on Snowflake is rejected. */
5056
+ source?: {
5057
+ /** @description Storage table ID. Required when source is supplied. */
5058
+ tableId: string;
5059
+ /** @description Optional branch ID. */
5060
+ branchId?: number | null;
5061
+ } | null;
5062
+ /** @description Optional list of column names forming the primary key. Each column must be included in the table definition and must not be nullable. */
5063
+ primaryKeysNames: string[];
5064
+ /**
5065
+ * @description Optional type of the _timestamp column handling. MANAGED adds a platform managed _timestamp column, NONE creates the table without it.
5066
+ * @default MANAGED
5067
+ * @enum {string}
5068
+ */
5069
+ timestampType: 'MANAGED' | 'NONE';
5070
+ /** @description List of table columns. At least one column is required. */
5071
+ columns: {
5072
+ /** @description Name of the column. Required. */
5073
+ name: string;
5074
+ /** @description Optional native column definition. Mutually exclusive with basetype. */
5075
+ definition?: {
5076
+ /** @description Snowflake native column type. Optional, defaults to VARCHAR. */
5077
+ type?: string;
5078
+ /** @description Optional length of the column type, for example "38,0" for NUMBER. */
5079
+ length?: string | null;
5080
+ /**
5081
+ * @description Optional flag whether the column is nullable. Primary key columns must not be nullable.
5082
+ * @default true
5083
+ */
5084
+ nullable: boolean;
5085
+ /** @description Optional default value of the column. */
5086
+ default?: string | null;
5087
+ /** @description Optional description of the column stored as column metadata. */
5088
+ description?: string | null;
5089
+ } | null;
5090
+ /** @description Optional Keboola base type of the column. Mutually exclusive with definition type. */
5091
+ basetype?: string | null;
5092
+ }[];
5093
+ };
5094
+ BigqueryCreateTableDefinitionRequest: {
5095
+ /** @description Name of the new table. Required. */
5096
+ name: string;
5097
+ /** @description Optional description of the table stored as table metadata. */
5098
+ description?: string | null;
5099
+ /**
5100
+ * @description Whether the table description is managed by the system (true, default) or the user (false).
5101
+ * @default true
5102
+ */
5103
+ isDescriptionSystemManaged: boolean;
5104
+ /** @description Optional source object to create the new table from by copying the source data into the requested partition/clustering layout. BigQuery only. The column definition is derived from the source table, so `columns` must not be supplied together with `source`. Aliases and linked-bucket source tables are supported. */
5105
+ source?: {
5106
+ /** @description Storage table ID (e.g. "in.c-main.events") to copy the new table from. Required. */
5107
+ tableId: string;
5108
+ /** @description Optional ID of the branch the source table is resolved in. Defaults to the current branch. The caller must be allowed to read the source table in that branch. */
5109
+ branchId?: number | null;
5110
+ } | null;
5111
+ /** @description Optional list of column names forming the primary key. Each column must be included in the table definition and must not be nullable. */
5112
+ primaryKeysNames: string[];
5113
+ /**
5114
+ * @description Optional type of the _timestamp column handling. MANAGED adds a platform managed _timestamp column, NONE creates the table without it. Ignored when `source` is set: the new table inherits the source table's _timestamp handling so the copied data lines up.
5115
+ * @default MANAGED
5116
+ * @enum {string}
5117
+ */
5118
+ timestampType: 'MANAGED' | 'NONE';
5119
+ /** @description List of table columns. Required unless `source` is set; must not be supplied together with `source` (the column definition is then derived from the source table). */
5120
+ columns: {
5121
+ /** @description Name of the column. Required. */
5122
+ name: string;
5123
+ /** @description Optional native column definition. Mutually exclusive with basetype. */
5124
+ definition?: {
5125
+ /** @description BigQuery native column type. Optional, defaults to STRING. */
5126
+ type?: string;
5127
+ /** @description Optional length of the column type, for example "38,9" for NUMERIC. */
5128
+ length?: string | null;
5129
+ /**
5130
+ * @description Optional flag whether the column is nullable. Primary key columns must not be nullable.
5131
+ * @default true
5132
+ */
5133
+ nullable: boolean;
5134
+ /** @description Optional default value of the column. */
5135
+ default?: string | null;
5136
+ /** @description Optional description of the column stored as column metadata. */
5137
+ description?: string | null;
5138
+ } | null;
5139
+ /** @description Optional Keboola base type of the column. Mutually exclusive with definition type. */
5140
+ basetype?: string | null;
5141
+ }[];
5142
+ /** @description Optional time based partitioning configuration. Mutually exclusive with rangePartitioning. */
5143
+ timePartitioning?: {
5144
+ /** @description Type of the time partitioning, for example DAY. Required. */
5145
+ type: string;
5146
+ /** @description Optional column used for the time partitioning. The column must be included in the table definition. If not set, the table is partitioned by ingestion time. */
5147
+ field?: string | null;
5148
+ /** @description Optional number of milliseconds for which to keep the storage for a partition. */
5149
+ expirationMs?: string | null;
5150
+ } | null;
5151
+ /** @description Optional integer range partitioning configuration. Mutually exclusive with timePartitioning. */
5152
+ rangePartitioning?: {
5153
+ /** @description Column used for the range partitioning. The column must be included in the table definition. Required. */
5154
+ field: string;
5155
+ /** @description Definition of the ranges. Required. */
5156
+ range: {
5157
+ /** @description Start of the range partitioning, inclusive. Required. */
5158
+ start: string;
5159
+ /** @description End of the range partitioning, exclusive. Required. */
5160
+ end: string;
5161
+ /** @description Width of each interval. Required. */
5162
+ interval: string;
5163
+ };
5164
+ } | null;
5165
+ /** @description Optional clustering configuration. */
5166
+ clustering?: {
5167
+ /** @description One or more columns used for the clustering. Required. */
5168
+ fields: string[];
5169
+ } | null;
5170
+ };
5171
+ BigQueryListingSection: {
5172
+ /** @description GCP listing ID (letters, digits and underscores; unique within the exchange). */
5173
+ listingId: string;
5174
+ /** @description IAM principals, each prefixed with "user:" or "group:" (e.g. "user:a@b.com"). */
5175
+ subscribers: string[];
5176
+ };
5177
+ BucketListingCreateJobParams: {
5178
+ /** @description Internal numeric identifier of the bucket being exposed. */
5179
+ idBucket: number;
5180
+ /** @description Human-readable listing name carried over from the request. */
5181
+ listingName: string;
5182
+ /** @description Optional listing description (null when not provided). */
5183
+ listingDescription?: string | null;
5184
+ bigquery: components['schemas']['BigQueryListingSection'];
5185
+ jobOperationParams: unknown[];
5186
+ jobParams: unknown[];
5187
+ };
5188
+ CreateBucketListingRequest: {
5189
+ /** @description Human-readable listing name (maps to the backend listing displayName). */
5190
+ listingName: string;
5191
+ /** @description Optional listing description. Send `null` or omit to leave it empty. */
5192
+ listingDescription?: string | null;
5193
+ bigquery: components['schemas']['BigQueryListingSection'];
5194
+ };
5195
+ BucketListingDeleteJobParams: {
5196
+ idBucket: number;
5197
+ jobOperationParams: unknown[];
5198
+ jobParams: unknown[];
5199
+ };
5200
+ BucketListingUpdateJobParams: {
5201
+ bucketId: number;
5202
+ exposureName?: string | null;
5203
+ exposureDescriptionProvided: boolean;
5204
+ exposureDescription?: string | null;
5205
+ bigquerySubscribers?: string[] | null;
5206
+ jobOperationParams: unknown[];
5207
+ jobParams: unknown[];
5208
+ };
5209
+ UpdateBucketListingRequest: {
5210
+ /** @description New human-readable exposure name (max 63 bytes). */
5211
+ exposureName: string;
5212
+ /** @description New exposure description (max 2000 bytes). Pass null to clear. */
5213
+ exposureDescription?: string | null;
5214
+ /** @description BigQuery-specific exposure fields. The listingId is immutable and cannot be changed. */
5215
+ bigquery: {
5216
+ /** @description IAM principals; each value must be prefixed with "user:" or "group:". */
5217
+ subscribers?: string[];
5218
+ };
5219
+ };
5220
+ RefreshJobParams: {
5221
+ idBucket: number;
5222
+ /** @default false */
5223
+ force: boolean;
5224
+ /** @default null */
5225
+ lastChangeDate: string | null;
5226
+ jobOperationParams: unknown[];
5227
+ jobParams: unknown[];
5228
+ };
5229
+ RegisterExistingBucketRequest: Record<string, never>;
5230
+ ScheduleRefreshRequest: Record<string, never>;
5231
+ CreateBucketSharingToProjectsRequest: Record<string, never>;
5232
+ CreateBucketSharingToUsersRequest: Record<string, never>;
5233
+ UpdateBucketSharingRequest: Record<string, never>;
5234
+ ListComponentsRequest: Record<string, never>;
5235
+ CreateConfigurationRequest: Record<string, never>;
5236
+ /** @description A single resolved configuration row in the rebase request — the same editable-content shape the diff returns in `diff.rows`. The `id` drives the reconciliation against the re-anchored base: an id present in the base updates that row, an id not in the base (or a missing id) creates a new row, and a base row whose id is absent from the request is deleted. */
5237
+ RebaseRowData: {
5238
+ /** @description Row id. Optional — a row without an id is created with a generated id. */
5239
+ id?: string | null;
5240
+ name: string;
5241
+ description: string;
5242
+ isDisabled: boolean;
5243
+ configuration: Record<string, never>;
5244
+ };
5245
+ RebaseRequest: {
5246
+ /** @description Default branch configuration version to rebase the dev branch onto. Always required, even when deleting — the base is always re-anchored. */
5247
+ version: number;
5248
+ /** @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. */
5249
+ name: string;
5250
+ /** @description Resolved configuration description (head, the 3-way diff result). */
5251
+ description: string;
5252
+ /** @description Resolved configuration body (head, the 3-way diff result). */
5253
+ configuration: Record<string, never>;
5254
+ /** @description Change description for the resolved head version. If omitted, a default rebase message is used. */
5255
+ changeDescription: string;
5256
+ /** @description Resolved disabled flag (head, the 3-way diff result). Defaults to false if omitted. */
5257
+ isDisabled: boolean;
5258
+ /** @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). */
5259
+ rows: components['schemas']['RebaseRowData'][];
5260
+ };
5261
+ UpdateConfigurationStateRequest: Record<string, never>;
5262
+ UpdateConfigurationRequest: Record<string, never>;
5263
+ CreateMetadataRequest: Record<string, never>;
5264
+ CreateConfigurationRowRequest: Record<string, never>;
5265
+ DeleteConfigurationRowRequest: Record<string, never>;
5266
+ UpdateConfigurationRowStateRequest: Record<string, never>;
5267
+ UpdateConfigurationRowRequest: Record<string, never>;
5268
+ CreateConfigurationRowVersionRequest: Record<string, never>;
5269
+ ListRowVersionsRequest: Record<string, never>;
5270
+ RollbackConfigurationRowRequest: Record<string, never>;
5271
+ CreateConfigurationVersionRequest: Record<string, never>;
5272
+ ListVersionsRequest: Record<string, never>;
5273
+ RollbackConfigurationVersionRequest: Record<string, never>;
5274
+ UpdateDevBranchRequest: Record<string, never>;
5275
+ CreateDevBranchRequest: Record<string, never>;
5276
+ MetadataCreateRequest: {
5277
+ /** @description List of metadata items to create or update */
5278
+ metadata: {
5279
+ /** @description Metadata key */
5280
+ key?: string;
5281
+ /** @description Metadata value */
5282
+ value?: string | null;
5283
+ }[];
5284
+ };
5285
+ CreateEventRequest: Record<string, never>;
5286
+ CreateTagRequest: Record<string, never>;
5287
+ FileDeleteJobParams: {
5288
+ branchId: number;
5289
+ fileId: number;
5290
+ jobOperationParams: unknown[];
5291
+ jobParams: unknown[];
5292
+ };
5293
+ ListFilesRequest: Record<string, never>;
5294
+ GlobalSearchRequest: Record<string, never>;
5295
+ /** @description Query parameters for listing storage jobs. */
5296
+ StorageJobsListQueryRequest: {
5297
+ /** @description Maximum number of jobs to return (pagination). */
5298
+ limit?: number | null;
5299
+ /** @description Offset for pagination. */
5300
+ offset?: number | null;
5301
+ /** @description Filter by job status. */
5302
+ storage_job_status?: string[] | null;
5303
+ /** @description Exclude jobs with these statuses. */
5304
+ excluded_storage_job_status?: string[] | null;
5305
+ /**
5306
+ * Format: date-time
5307
+ * @description Filter by exact created time.
5308
+ */
5309
+ created_time?: string | null;
5310
+ /**
5311
+ * Format: date-time
5312
+ * @description Filter jobs created after this time.
5313
+ */
5314
+ created_time_from?: string | null;
5315
+ /**
5316
+ * Format: date-time
5317
+ * @description Filter jobs created before this time.
5318
+ */
5319
+ created_time_to?: string | null;
5320
+ /**
5321
+ * Format: date-time
5322
+ * @description Filter by exact start time.
5323
+ */
5324
+ start_time?: string | null;
5325
+ /**
5326
+ * Format: date-time
5327
+ * @description Filter jobs started after this time.
4898
5328
  */
4899
5329
  start_time_from?: string | null;
4900
5330
  /**
@@ -5033,6 +5463,18 @@ type components = {
5033
5463
  };
5034
5464
  SnowflakeColumnsDefinitionUpdateRequest: Record<string, never>;
5035
5465
  BigQueryColumnsDefinitionUpdateRequest: Record<string, never>;
5466
+ TableExportJobParams: {
5467
+ destinationBranchId: number;
5468
+ export: {
5469
+ [key: string]: unknown;
5470
+ };
5471
+ /** @default null */
5472
+ backendConfiguration: components['schemas']['BackendConfigurationJobParams'] | null;
5473
+ jobParams: unknown[];
5474
+ jobOperationParams: unknown[];
5475
+ };
5476
+ /** @description Parameters for an asynchronous table export. */
5477
+ ExportTableRequest: Record<string, never>;
5036
5478
  ImportDataAsyncFromFileRequest: {
5037
5479
  dataFileId: number;
5038
5480
  /** @default false */
@@ -5063,6 +5505,16 @@ type components = {
5063
5505
  /** @enum {string} */
5064
5506
  deduplicationStrategy: 'insert' | 'upsert';
5065
5507
  };
5508
+ /** @description Request for creating a table primary key. */
5509
+ CreatePrimaryKeyRequest: {
5510
+ /** @description Names of the columns that make up the primary key. */
5511
+ columns: string[];
5512
+ /**
5513
+ * @description When true, skip the validation that the primary key columns contain no duplicate values.
5514
+ * @default false
5515
+ */
5516
+ skipDuplicatesCheck: boolean;
5517
+ };
5066
5518
  CreateSnapshotRequest: {
5067
5519
  /** @description Optional description for the snapshot. */
5068
5520
  description?: string | null;
@@ -5074,6 +5526,8 @@ type components = {
5074
5526
  offset?: number | null;
5075
5527
  };
5076
5528
  CreateTableMetadataRequest: Record<string, never>;
5529
+ /** @description Parameters for table data preview. */
5530
+ DataPreviewRequest: Record<string, never>;
5077
5531
  TableDefinitionUpdateJobParams: {
5078
5532
  branchId: number;
5079
5533
  idBucket: number;
@@ -5087,6 +5541,8 @@ type components = {
5087
5541
  displayName: string | null;
5088
5542
  /** @default null */
5089
5543
  description: string | null;
5544
+ isDescriptionSystemManaged?: boolean | null;
5545
+ isDescriptionSystemManagedSet: boolean;
5090
5546
  jobParams: {
5091
5547
  [key: string]: unknown;
5092
5548
  };
@@ -5097,6 +5553,8 @@ type components = {
5097
5553
  TableDefinitionUpdateRequest: {
5098
5554
  displayName: string;
5099
5555
  description?: string | null;
5556
+ /** @description Whether the table description is managed by the system (true) or the user (false). Output Mapping may overwrite a system-managed description but never a user-managed one. */
5557
+ isDescriptionSystemManaged: boolean;
5100
5558
  columns: {
5101
5559
  name: string;
5102
5560
  length?: string;
@@ -5105,6 +5563,35 @@ type components = {
5105
5563
  description?: string | null;
5106
5564
  }[];
5107
5565
  };
5566
+ /** @description Query parameters for listing table events. */
5567
+ TableEventsListRequest: {
5568
+ /** @description Maximum number of events to return. */
5569
+ limit?: number | null;
5570
+ /** @description Number of events to skip. */
5571
+ offset?: number | null;
5572
+ /** @description Only include events with ID less than or equal to this value. */
5573
+ maxId?: string | null;
5574
+ /** @description Only include events with ID greater than this value. */
5575
+ sinceId?: string | null;
5576
+ /** @description Filter events by component. */
5577
+ component?: string | null;
5578
+ /** @description Filter events by configuration ID. */
5579
+ configurationId?: string | null;
5580
+ /** @description Filter events by run ID. */
5581
+ runId?: string | null;
5582
+ /** @description Full-text search query to filter event data. */
5583
+ q?: string | null;
5584
+ /**
5585
+ * @deprecated
5586
+ * @description Deprecated alias of the q parameter.
5587
+ */
5588
+ query?: string | null;
5589
+ /**
5590
+ * @description Sort order of events. Use "asc" for oldest first or "desc" for newest first.
5591
+ * @enum {string|null}
5592
+ */
5593
+ sortOrder?: 'asc' | 'desc' | null;
5594
+ };
5108
5595
  SwapJobParams: {
5109
5596
  targetTableStringId: string;
5110
5597
  jobParams: unknown[];
@@ -5192,7 +5679,6 @@ type components = {
5192
5679
  length?: string | number;
5193
5680
  nullable?: boolean;
5194
5681
  convert_empty_values_to_null?: boolean;
5195
- compression?: string;
5196
5682
  }[];
5197
5683
  where_column?: string;
5198
5684
  where_values?: string[];
@@ -5518,6 +6004,98 @@ type components = {
5518
6004
  /** @description Bucket listing payload (Analytics Hub on BigQuery). Null when the bucket is not listed. */
5519
6005
  listing?: components['schemas']['BucketListingDetailResponse'] | null;
5520
6006
  };
6007
+ BucketEventAttachmentResponse: {
6008
+ /** @description Attachment file ID. */
6009
+ id: number;
6010
+ /** @description Whether the file is sliced. */
6011
+ isSliced: boolean;
6012
+ /** @description Upload type of the file. */
6013
+ uploadType: string;
6014
+ /** @description Whether the file is expired. */
6015
+ isExpired: boolean;
6016
+ /**
6017
+ * Format: date-time
6018
+ * @description Attachment creation timestamp.
6019
+ */
6020
+ created: string;
6021
+ /** @description Attachment file name. */
6022
+ name: string;
6023
+ /** @description Attachment download URL. */
6024
+ url: string;
6025
+ /** @description Attachment file size in bytes. */
6026
+ sizeBytes?: number | null;
6027
+ };
6028
+ BucketEventResponse: {
6029
+ /** @description Unique identifier of the event. */
6030
+ uuid: string;
6031
+ /** @description Name of the event. */
6032
+ event: string;
6033
+ /** @description Event message. */
6034
+ message: string;
6035
+ /** @description Event description. */
6036
+ description: string;
6037
+ /** @description Type of the event (info, error, warn, success). */
6038
+ type: string;
6039
+ /** @description Component name. */
6040
+ component: string;
6041
+ /** @description Run ID of the event. */
6042
+ runId?: string | null;
6043
+ /** @description Configuration ID associated with the event. */
6044
+ configurationId?: string | null;
6045
+ /** @description ID of the object the event relates to. */
6046
+ objectId: string;
6047
+ /** @description Name of the object the event relates to. */
6048
+ objectName: string;
6049
+ /** @description Type of the object the event relates to. */
6050
+ objectType: string;
6051
+ /** @description ID of the branch the event belongs to. */
6052
+ idBranch: string;
6053
+ /** @description Project the event belongs to. */
6054
+ project: {
6055
+ /** @description Project ID. */
6056
+ id?: number;
6057
+ /** @description Project name. */
6058
+ name?: string;
6059
+ };
6060
+ /** @description Token that produced the event. */
6061
+ token: {
6062
+ /** @description Token ID. */
6063
+ id?: number;
6064
+ /** @description Token name. */
6065
+ name?: string;
6066
+ };
6067
+ /** @description Request context the event was created in. */
6068
+ context: {
6069
+ /** @description User agent of the request. */
6070
+ httpUserAgent?: string;
6071
+ /** @description Authorization type of the request. */
6072
+ authorization?: string;
6073
+ /** @description Original user agent of the request. */
6074
+ httpUserAgentOriginal?: string;
6075
+ /** @description Referer of the request. */
6076
+ httpReferer?: string;
6077
+ /** @description Remote address of the request. */
6078
+ remoteAddr?: string;
6079
+ /** @description API version of the request. */
6080
+ apiVersion?: string;
6081
+ };
6082
+ /**
6083
+ * Format: date-time
6084
+ * @description Event creation timestamp.
6085
+ */
6086
+ created: string;
6087
+ /** @description Link to the event details. */
6088
+ uri: string;
6089
+ /** @description Event parameters. */
6090
+ params: Record<string, never>;
6091
+ /** @description Event results. */
6092
+ results: Record<string, never>;
6093
+ /** @description Event performance metrics. */
6094
+ performance: Record<string, never>;
6095
+ /** @description Files attached to the event. */
6096
+ attachments: components['schemas']['BucketEventAttachmentResponse'][];
6097
+ };
6098
+ BucketEventsListResponse: components['schemas']['BucketEventResponse'][];
5521
6099
  BucketOwnerDetailResponse: {
5522
6100
  /** @description Owner identifier. */
5523
6101
  id: number;
@@ -5803,20 +6381,28 @@ type components = {
5803
6381
  /** @description Configuration for processor */
5804
6382
  processorConfiguration?: string | null;
5805
6383
  };
5806
- ConfigurationVersionResponse: {
5807
- version: number;
5808
- created: string;
5809
- versionIdentifier: string | null;
5810
- creatorToken: {
5811
- id: number;
5812
- description: string;
5813
- };
5814
- changeDescription: string | null;
6384
+ /** @description User-editable content of a single configuration row nested in a diff side. Array order reflects rowsSortOrder and is meaningful. Unlike the configuration-level diff a row carries no changeDescription and no deletion tombstone — a row deleted on one side is resolved by its presence in the base side. */
6385
+ ConfigurationRowDiffData: {
6386
+ id: string;
6387
+ name: string | null;
6388
+ description: string | null;
5815
6389
  isDisabled: boolean;
5816
- isDeleted: boolean;
6390
+ configuration: Record<string, never>;
6391
+ };
6392
+ /** @description User-editable configuration content of a single diff side. This is the payload a client feeds directly into a three-way diff editor and, once resolved, sends back to the rebase endpoint. `rows` are the configuration rows valid at this side's version, in rowsSortOrder. */
6393
+ ConfigurationDiffData: {
5817
6394
  name: string | null;
5818
6395
  description: string | null;
6396
+ changeDescription: string | null;
6397
+ isDisabled: boolean;
5819
6398
  configuration: Record<string, never>;
6399
+ rows: components['schemas']['ConfigurationRowDiffData'][];
6400
+ };
6401
+ /** @description A single side of the three-way diff: the user-editable content (`diff`) plus per-side metadata. `version` is the side version (e.g. the default branch version to rebase onto). `isDeleted` marks a deletion tombstone — the side existed but was soft-deleted (distinct from a null side, which never existed). */
6402
+ ConfigurationVersionResponse: {
6403
+ version: number;
6404
+ isDeleted: boolean;
6405
+ diff: components['schemas']['ConfigurationDiffData'];
5820
6406
  };
5821
6407
  /** @description Three-way diff of a configuration body. Each side is a configuration version snapshot, or null when the configuration does not exist on that side. When there is no conflict all three sides are equal. */
5822
6408
  ConfigurationDiffResponse: {
@@ -5902,27 +6488,6 @@ type components = {
5902
6488
  /** @description Platform usage type. */
5903
6489
  platformUsageType?: string | null;
5904
6490
  };
5905
- ConfigurationRowVersionResponse: {
5906
- id: string;
5907
- name: string;
5908
- description: string;
5909
- isDisabled: boolean;
5910
- version: number;
5911
- created: string;
5912
- creatorToken: {
5913
- id: number;
5914
- description: string | null;
5915
- };
5916
- changeDescription: string | null;
5917
- versionIdentifier: string | null;
5918
- configuration: Record<string, never>;
5919
- };
5920
- /** @description Three-way diff of a single configuration row. Each side is a row version snapshot, or null when the row does not exist on that side. When there is no conflict all three sides are equal. */
5921
- ConfigurationRowDiffResponse: {
5922
- base: components['schemas']['ConfigurationRowVersionResponse'] | null;
5923
- ours: components['schemas']['ConfigurationRowVersionResponse'] | null;
5924
- theirs: components['schemas']['ConfigurationRowVersionResponse'] | null;
5925
- };
5926
6491
  MergeRequestResponse: {
5927
6492
  id: number;
5928
6493
  creator: {
@@ -5991,6 +6556,38 @@ type components = {
5991
6556
  */
5992
6557
  reason: string | null;
5993
6558
  };
6559
+ /** @description Parameters for an asynchronous table export. */
6560
+ ExportTableRequest2: {
6561
+ /** @description Maximum number of rows to export. */
6562
+ limit?: number | null;
6563
+ /** @description Comma-separated list of columns to export. */
6564
+ columns?: string | null;
6565
+ /** @description Export format. */
6566
+ format?: string | null;
6567
+ /** @description Array of filter objects [{column, operator, values, dataType}]. */
6568
+ whereFilters?: Record<string, never>[] | null;
6569
+ /** @description Array of sort objects [{column, order, dataType}]. */
6570
+ orderBy?: Record<string, never>[] | null;
6571
+ /** @description Id of the branch the table is exported FROM. Honoured only for JSON requests. */
6572
+ sourceBranchId?: number | null;
6573
+ /**
6574
+ * @description Gzip the exported file.
6575
+ * @default false
6576
+ */
6577
+ gzip: boolean;
6578
+ /**
6579
+ * @description Include the internal _timestamp column (Snowflake only).
6580
+ * @default false
6581
+ */
6582
+ includeInternalTimestamp: boolean;
6583
+ /**
6584
+ * @description Exported file type. Only "csv" is supported on non-Snowflake backends.
6585
+ * @enum {string}
6586
+ */
6587
+ fileType: 'csv' | 'parquet';
6588
+ /** @description IANA timezone applied to timestamp values (Snowflake only). */
6589
+ timezone?: string | null;
6590
+ };
5994
6591
  TableCreateOrUpdateMetadataResponse: {
5995
6592
  /** @description Table-level metadata records. */
5996
6593
  metadata: components['schemas']['MetadataItemResponse'][];
@@ -6040,6 +6637,98 @@ type components = {
6040
6637
  selectSql?: string | null;
6041
6638
  definition?: Record<string, never> | null;
6042
6639
  };
6640
+ TableEventAttachmentResponse: {
6641
+ /** @description Attachment file ID. */
6642
+ id: number;
6643
+ /** @description Whether the file is sliced. */
6644
+ isSliced: boolean;
6645
+ /** @description Upload type of the file. */
6646
+ uploadType: string;
6647
+ /** @description Whether the file is expired. */
6648
+ isExpired: boolean;
6649
+ /**
6650
+ * Format: date-time
6651
+ * @description Attachment creation timestamp.
6652
+ */
6653
+ created: string;
6654
+ /** @description Attachment file name. */
6655
+ name: string;
6656
+ /** @description Attachment download URL. */
6657
+ url: string;
6658
+ /** @description Attachment file size in bytes. */
6659
+ sizeBytes?: number | null;
6660
+ };
6661
+ TableEventResponse: {
6662
+ /** @description Unique identifier of the event. */
6663
+ uuid: string;
6664
+ /** @description Name of the event. */
6665
+ event: string;
6666
+ /** @description Event message. */
6667
+ message: string;
6668
+ /** @description Event description. */
6669
+ description: string;
6670
+ /** @description Type of the event (info, error, warn, success). */
6671
+ type: string;
6672
+ /** @description Component name. */
6673
+ component: string;
6674
+ /** @description Run ID of the event. */
6675
+ runId?: string | null;
6676
+ /** @description Configuration ID associated with the event. */
6677
+ configurationId?: string | null;
6678
+ /** @description ID of the object the event relates to. */
6679
+ objectId: string;
6680
+ /** @description Name of the object the event relates to. */
6681
+ objectName: string;
6682
+ /** @description Type of the object the event relates to. */
6683
+ objectType: string;
6684
+ /** @description ID of the branch the event belongs to. */
6685
+ idBranch: string;
6686
+ /** @description Project the event belongs to. */
6687
+ project: {
6688
+ /** @description Project ID. */
6689
+ id?: number;
6690
+ /** @description Project name. */
6691
+ name?: string;
6692
+ };
6693
+ /** @description Token that produced the event. */
6694
+ token: {
6695
+ /** @description Token ID. */
6696
+ id?: number;
6697
+ /** @description Token name. */
6698
+ name?: string;
6699
+ };
6700
+ /** @description Request context the event was created in. */
6701
+ context: {
6702
+ /** @description User agent of the request. */
6703
+ httpUserAgent?: string;
6704
+ /** @description Authorization type of the request. */
6705
+ authorization?: string;
6706
+ /** @description Original user agent of the request. */
6707
+ httpUserAgentOriginal?: string;
6708
+ /** @description Referer of the request. */
6709
+ httpReferer?: string;
6710
+ /** @description Remote address of the request. */
6711
+ remoteAddr?: string;
6712
+ /** @description API version of the request. */
6713
+ apiVersion?: string;
6714
+ };
6715
+ /**
6716
+ * Format: date-time
6717
+ * @description Event creation timestamp.
6718
+ */
6719
+ created: string;
6720
+ /** @description Link to the event details. */
6721
+ uri: string;
6722
+ /** @description Event parameters. */
6723
+ params: Record<string, never>;
6724
+ /** @description Event results. */
6725
+ results: Record<string, never>;
6726
+ /** @description Event performance metrics. */
6727
+ performance: Record<string, never>;
6728
+ /** @description Files attached to the event. */
6729
+ attachments: components['schemas']['TableEventAttachmentResponse'][];
6730
+ };
6731
+ TableEventsListResponse: components['schemas']['TableEventResponse'][];
6043
6732
  GenerateNewIdResponse: {
6044
6733
  /** @description New ticket ID */
6045
6734
  id: string;
@@ -6397,16 +7086,173 @@ type components = {
6397
7086
  } | null;
6398
7087
  };
6399
7088
  };
6400
- responses: never;
6401
- parameters: never;
6402
- requestBodies: never;
6403
- headers: never;
6404
- pathItems: never;
6405
- };
6406
- type operations = {
6407
- 'get_/v2/storage/branch/{branchId}/tokens/verify::TokenVerifyAction': {
7089
+ responses: never;
7090
+ parameters: never;
7091
+ requestBodies: never;
7092
+ headers: never;
7093
+ pathItems: never;
7094
+ };
7095
+ type operations = {
7096
+ 'get_/v2/storage/branch/{branchId}/tokens/verify::TokenVerifyAction': {
7097
+ parameters: {
7098
+ query?: never;
7099
+ header?: never;
7100
+ path: {
7101
+ branchId: string;
7102
+ };
7103
+ cookie?: never;
7104
+ };
7105
+ requestBody?: never;
7106
+ responses: {
7107
+ /** @description Token verification response */
7108
+ 200: {
7109
+ headers: {
7110
+ [name: string]: unknown;
7111
+ };
7112
+ content: {
7113
+ 'application/json': components['schemas']['TokenVerifyResponse'];
7114
+ };
7115
+ };
7116
+ /** @description Returned when the storage token is not found or invalid. */
7117
+ 404: {
7118
+ headers: {
7119
+ [name: string]: unknown;
7120
+ };
7121
+ content?: never;
7122
+ };
7123
+ };
7124
+ };
7125
+ 'get_/v2/storage/tokens/verify::TokenVerifyAction': {
7126
+ parameters: {
7127
+ query?: never;
7128
+ header?: never;
7129
+ path?: never;
7130
+ cookie?: never;
7131
+ };
7132
+ requestBody?: never;
7133
+ responses: {
7134
+ /** @description Token verification response */
7135
+ 200: {
7136
+ headers: {
7137
+ [name: string]: unknown;
7138
+ };
7139
+ content: {
7140
+ 'application/json': components['schemas']['TokenVerifyResponse'];
7141
+ };
7142
+ };
7143
+ /** @description Returned when the storage token is not found or invalid. */
7144
+ 404: {
7145
+ headers: {
7146
+ [name: string]: unknown;
7147
+ };
7148
+ content?: never;
7149
+ };
7150
+ };
7151
+ };
7152
+ 'get_/v2/storage/branch/{branchId}/buckets/register-guide::BucketRegisterGuideAction': {
7153
+ parameters: {
7154
+ query: {
7155
+ /** @description Path to the bucket. */
7156
+ 'path[]': string[];
7157
+ /** @description Desired backend of the bucket. */
7158
+ backend: 'snowflake' | 'bigquery';
7159
+ /** @description Flag indicating the bucket uses a shared Snowflake database. */
7160
+ isSnowflakeSharedDatabase?: boolean | null;
7161
+ };
7162
+ header?: never;
7163
+ path: {
7164
+ branchId: string;
7165
+ };
7166
+ cookie?: never;
7167
+ };
7168
+ requestBody?: never;
7169
+ responses: {
7170
+ /** @description Markdown guide for registering the bucket. */
7171
+ 200: {
7172
+ headers: {
7173
+ [name: string]: unknown;
7174
+ };
7175
+ content: {
7176
+ 'application/json': components['schemas']['BucketRegisterGuideResponse'];
7177
+ };
7178
+ };
7179
+ /** @description Returned when the request is invalid or backend is not supported. */
7180
+ 400: {
7181
+ headers: {
7182
+ [name: string]: unknown;
7183
+ };
7184
+ content?: never;
7185
+ };
7186
+ /** @description Returned when permissions are insufficient. */
7187
+ 403: {
7188
+ headers: {
7189
+ [name: string]: unknown;
7190
+ };
7191
+ content?: never;
7192
+ };
7193
+ /** @description Returned when the endpoint is called in a non-default branch. */
7194
+ 501: {
7195
+ headers: {
7196
+ [name: string]: unknown;
7197
+ };
7198
+ content?: never;
7199
+ };
7200
+ };
7201
+ };
7202
+ 'get_/v2/storage/buckets/register-guide::BucketRegisterGuideAction': {
7203
+ parameters: {
7204
+ query: {
7205
+ /** @description Path to the bucket. */
7206
+ 'path[]': string[];
7207
+ /** @description Desired backend of the bucket. */
7208
+ backend: 'snowflake' | 'bigquery';
7209
+ /** @description Flag indicating the bucket uses a shared Snowflake database. */
7210
+ isSnowflakeSharedDatabase?: boolean | null;
7211
+ };
7212
+ header?: never;
7213
+ path?: never;
7214
+ cookie?: never;
7215
+ };
7216
+ requestBody?: never;
7217
+ responses: {
7218
+ /** @description Markdown guide for registering the bucket. */
7219
+ 200: {
7220
+ headers: {
7221
+ [name: string]: unknown;
7222
+ };
7223
+ content: {
7224
+ 'application/json': components['schemas']['BucketRegisterGuideResponse'];
7225
+ };
7226
+ };
7227
+ /** @description Returned when the request is invalid or backend is not supported. */
7228
+ 400: {
7229
+ headers: {
7230
+ [name: string]: unknown;
7231
+ };
7232
+ content?: never;
7233
+ };
7234
+ /** @description Returned when permissions are insufficient. */
7235
+ 403: {
7236
+ headers: {
7237
+ [name: string]: unknown;
7238
+ };
7239
+ content?: never;
7240
+ };
7241
+ /** @description Returned when the endpoint is called in a non-default branch. */
7242
+ 501: {
7243
+ headers: {
7244
+ [name: string]: unknown;
7245
+ };
7246
+ content?: never;
7247
+ };
7248
+ };
7249
+ };
7250
+ 'get_/v2/storage/branch/{branchId}/buckets::BucketsListAction': {
6408
7251
  parameters: {
6409
- query?: never;
7252
+ query?: {
7253
+ /** @description Comma-separated list of data to include. Allowed values: attributes, metadata, linkedBuckets. */
7254
+ include?: string;
7255
+ };
6410
7256
  header?: never;
6411
7257
  path: {
6412
7258
  branchId: string;
@@ -6415,94 +7261,246 @@ type operations = {
6415
7261
  };
6416
7262
  requestBody?: never;
6417
7263
  responses: {
6418
- /** @description Token verification response */
7264
+ /** @description List of buckets */
6419
7265
  200: {
6420
7266
  headers: {
6421
7267
  [name: string]: unknown;
6422
7268
  };
6423
7269
  content: {
6424
- 'application/json': components['schemas']['TokenVerifyResponse'];
7270
+ 'application/json': components['schemas']['BucketCreateResponse'][];
6425
7271
  };
6426
7272
  };
6427
- /** @description Returned when the storage token is not found or invalid. */
7273
+ };
7274
+ };
7275
+ 'post_/v2/storage/branch/{branchId}/buckets::BucketCreateAction': {
7276
+ parameters: {
7277
+ query?: {
7278
+ async?: boolean;
7279
+ };
7280
+ header?: {
7281
+ 'X-KBC-Backend'?: {
7282
+ context?: string | null;
7283
+ };
7284
+ };
7285
+ path: {
7286
+ branchId: string;
7287
+ };
7288
+ cookie?: never;
7289
+ };
7290
+ requestBody: {
7291
+ content: {
7292
+ 'application/json':
7293
+ | components['schemas']['CreateBucketRequest']
7294
+ | components['schemas']['LinkBucketRequest'];
7295
+ };
7296
+ };
7297
+ responses: {
7298
+ /** @description Bucket created successfully or linked synchronously */
7299
+ 201: {
7300
+ headers: {
7301
+ [name: string]: unknown;
7302
+ };
7303
+ content: {
7304
+ 'application/json': components['schemas']['BucketCreateResponse'];
7305
+ };
7306
+ };
7307
+ /** @description Bucket linking job accepted for asynchronous processing */
7308
+ 202: {
7309
+ headers: {
7310
+ [name: string]: unknown;
7311
+ };
7312
+ content: {
7313
+ 'application/json': components['schemas']['JobResponse'];
7314
+ };
7315
+ };
7316
+ /** @description Invalid request parameters or bucket already linked */
7317
+ 400: {
7318
+ headers: {
7319
+ [name: string]: unknown;
7320
+ };
7321
+ content?: never;
7322
+ };
7323
+ /** @description Access denied - insufficient permissions */
7324
+ 403: {
7325
+ headers: {
7326
+ [name: string]: unknown;
7327
+ };
7328
+ content?: never;
7329
+ };
7330
+ /** @description Source bucket not found (for linking) */
6428
7331
  404: {
6429
7332
  headers: {
6430
7333
  [name: string]: unknown;
6431
7334
  };
6432
7335
  content?: never;
6433
7336
  };
7337
+ /** @description Operation not supported for SPC projects */
7338
+ 501: {
7339
+ headers: {
7340
+ [name: string]: unknown;
7341
+ };
7342
+ content?: never;
7343
+ };
6434
7344
  };
6435
7345
  };
6436
- 'get_/v2/storage/tokens/verify::TokenVerifyAction': {
7346
+ 'get_/v2/storage/buckets::BucketsListAction': {
6437
7347
  parameters: {
6438
- query?: never;
7348
+ query?: {
7349
+ /** @description Comma-separated list of data to include. Allowed values: attributes, metadata, linkedBuckets. */
7350
+ include?: string;
7351
+ };
6439
7352
  header?: never;
6440
7353
  path?: never;
6441
7354
  cookie?: never;
6442
7355
  };
6443
7356
  requestBody?: never;
6444
7357
  responses: {
6445
- /** @description Token verification response */
7358
+ /** @description List of buckets */
6446
7359
  200: {
6447
7360
  headers: {
6448
7361
  [name: string]: unknown;
6449
7362
  };
6450
7363
  content: {
6451
- 'application/json': components['schemas']['TokenVerifyResponse'];
7364
+ 'application/json': components['schemas']['BucketCreateResponse'][];
6452
7365
  };
6453
7366
  };
6454
- /** @description Returned when the storage token is not found or invalid. */
7367
+ };
7368
+ };
7369
+ 'post_/v2/storage/buckets::BucketCreateAction': {
7370
+ parameters: {
7371
+ query?: {
7372
+ async?: boolean;
7373
+ };
7374
+ header?: {
7375
+ 'X-KBC-Backend'?: {
7376
+ context?: string | null;
7377
+ };
7378
+ };
7379
+ path?: never;
7380
+ cookie?: never;
7381
+ };
7382
+ requestBody: {
7383
+ content: {
7384
+ 'application/json':
7385
+ | components['schemas']['CreateBucketRequest']
7386
+ | components['schemas']['LinkBucketRequest'];
7387
+ };
7388
+ };
7389
+ responses: {
7390
+ /** @description Bucket created successfully or linked synchronously */
7391
+ 201: {
7392
+ headers: {
7393
+ [name: string]: unknown;
7394
+ };
7395
+ content: {
7396
+ 'application/json': components['schemas']['BucketCreateResponse'];
7397
+ };
7398
+ };
7399
+ /** @description Bucket linking job accepted for asynchronous processing */
7400
+ 202: {
7401
+ headers: {
7402
+ [name: string]: unknown;
7403
+ };
7404
+ content: {
7405
+ 'application/json': components['schemas']['JobResponse'];
7406
+ };
7407
+ };
7408
+ /** @description Invalid request parameters or bucket already linked */
7409
+ 400: {
7410
+ headers: {
7411
+ [name: string]: unknown;
7412
+ };
7413
+ content?: never;
7414
+ };
7415
+ /** @description Access denied - insufficient permissions */
7416
+ 403: {
7417
+ headers: {
7418
+ [name: string]: unknown;
7419
+ };
7420
+ content?: never;
7421
+ };
7422
+ /** @description Source bucket not found (for linking) */
6455
7423
  404: {
6456
7424
  headers: {
6457
7425
  [name: string]: unknown;
6458
7426
  };
6459
7427
  content?: never;
6460
7428
  };
7429
+ /** @description Operation not supported for SPC projects */
7430
+ 501: {
7431
+ headers: {
7432
+ [name: string]: unknown;
7433
+ };
7434
+ content?: never;
7435
+ };
6461
7436
  };
6462
7437
  };
6463
- 'get_/v2/storage/branch/{branchId}/buckets/register-guide::BucketRegisterGuideAction': {
7438
+ 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata::BucketMetadataAction': {
6464
7439
  parameters: {
6465
- query: {
6466
- /** @description Path to the bucket. */
6467
- 'path[]': string[];
6468
- /** @description Desired backend of the bucket. */
6469
- backend: 'snowflake' | 'bigquery';
6470
- /** @description Flag indicating the bucket uses a shared Snowflake database. */
6471
- isSnowflakeSharedDatabase?: boolean | null;
6472
- };
7440
+ query?: never;
6473
7441
  header?: never;
6474
7442
  path: {
6475
7443
  branchId: string;
7444
+ bucketId: string;
6476
7445
  };
6477
7446
  cookie?: never;
6478
7447
  };
6479
7448
  requestBody?: never;
6480
7449
  responses: {
6481
- /** @description Markdown guide for registering the bucket. */
6482
- 200: {
7450
+ default: {
6483
7451
  headers: {
6484
7452
  [name: string]: unknown;
6485
7453
  };
6486
- content: {
6487
- 'application/json': components['schemas']['BucketRegisterGuideResponse'];
6488
- };
7454
+ content?: never;
6489
7455
  };
6490
- /** @description Returned when the request is invalid or backend is not supported. */
6491
- 400: {
7456
+ };
7457
+ };
7458
+ 'post_/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata::BucketCreateOrUpdateMetadataAction': {
7459
+ parameters: {
7460
+ query?: never;
7461
+ header?: never;
7462
+ path: {
7463
+ branchId: string;
7464
+ bucketId: string;
7465
+ };
7466
+ cookie?: never;
7467
+ };
7468
+ requestBody: {
7469
+ content: {
7470
+ 'application/json': components['schemas']['CreateMetadataWithProviderRequest'];
7471
+ };
7472
+ };
7473
+ responses: {
7474
+ /** @description Metadata successfully created or updated. */
7475
+ 201: {
6492
7476
  headers: {
6493
7477
  [name: string]: unknown;
6494
7478
  };
6495
- content?: never;
7479
+ content: {
7480
+ 'application/json': components['schemas']['MetadataItemResponse'][];
7481
+ };
6496
7482
  };
6497
- /** @description Returned when permissions are insufficient. */
6498
- 403: {
7483
+ /** @description Returned when the bucket is not found in the project. */
7484
+ 404: {
6499
7485
  headers: {
6500
7486
  [name: string]: unknown;
6501
7487
  };
6502
7488
  content?: never;
6503
7489
  };
6504
- /** @description Returned when the endpoint is called in a non-default branch. */
6505
- 501: {
7490
+ };
7491
+ };
7492
+ 'get_/v2/storage/buckets/{bucketId}/metadata::BucketMetadataAction': {
7493
+ parameters: {
7494
+ query?: never;
7495
+ header?: never;
7496
+ path: {
7497
+ bucketId: string;
7498
+ };
7499
+ cookie?: never;
7500
+ };
7501
+ requestBody?: never;
7502
+ responses: {
7503
+ default: {
6506
7504
  headers: {
6507
7505
  [name: string]: unknown;
6508
7506
  };
@@ -6510,47 +7508,32 @@ type operations = {
6510
7508
  };
6511
7509
  };
6512
7510
  };
6513
- 'get_/v2/storage/buckets/register-guide::BucketRegisterGuideAction': {
7511
+ 'post_/v2/storage/buckets/{bucketId}/metadata::BucketCreateOrUpdateMetadataAction': {
6514
7512
  parameters: {
6515
- query: {
6516
- /** @description Path to the bucket. */
6517
- 'path[]': string[];
6518
- /** @description Desired backend of the bucket. */
6519
- backend: 'snowflake' | 'bigquery';
6520
- /** @description Flag indicating the bucket uses a shared Snowflake database. */
6521
- isSnowflakeSharedDatabase?: boolean | null;
6522
- };
7513
+ query?: never;
6523
7514
  header?: never;
6524
- path?: never;
7515
+ path: {
7516
+ bucketId: string;
7517
+ };
6525
7518
  cookie?: never;
6526
7519
  };
6527
- requestBody?: never;
7520
+ requestBody: {
7521
+ content: {
7522
+ 'application/json': components['schemas']['CreateMetadataWithProviderRequest'];
7523
+ };
7524
+ };
6528
7525
  responses: {
6529
- /** @description Markdown guide for registering the bucket. */
6530
- 200: {
7526
+ /** @description Metadata successfully created or updated. */
7527
+ 201: {
6531
7528
  headers: {
6532
7529
  [name: string]: unknown;
6533
7530
  };
6534
7531
  content: {
6535
- 'application/json': components['schemas']['BucketRegisterGuideResponse'];
6536
- };
6537
- };
6538
- /** @description Returned when the request is invalid or backend is not supported. */
6539
- 400: {
6540
- headers: {
6541
- [name: string]: unknown;
6542
- };
6543
- content?: never;
6544
- };
6545
- /** @description Returned when permissions are insufficient. */
6546
- 403: {
6547
- headers: {
6548
- [name: string]: unknown;
7532
+ 'application/json': components['schemas']['MetadataItemResponse'][];
6549
7533
  };
6550
- content?: never;
6551
7534
  };
6552
- /** @description Returned when the endpoint is called in a non-default branch. */
6553
- 501: {
7535
+ /** @description Returned when the bucket is not found in the project. */
7536
+ 404: {
6554
7537
  headers: {
6555
7538
  [name: string]: unknown;
6556
7539
  };
@@ -6558,35 +7541,54 @@ type operations = {
6558
7541
  };
6559
7542
  };
6560
7543
  };
6561
- 'get_/v2/storage/branch/{branchId}/buckets::BucketsListAction': {
7544
+ 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}::BucketDetailAction': {
6562
7545
  parameters: {
6563
7546
  query?: {
6564
- /** @description Comma-separated list of data to include. Allowed values: attributes, metadata, linkedBuckets. */
7547
+ /** @description Comma-separated list of data to include. Allowed values: columns, metadata, columnMetadata. */
6565
7548
  include?: string;
6566
7549
  };
6567
7550
  header?: never;
6568
7551
  path: {
7552
+ /** @description Identifier of the bucket. */
7553
+ bucketId: string;
6569
7554
  branchId: string;
6570
7555
  };
6571
7556
  cookie?: never;
6572
7557
  };
6573
7558
  requestBody?: never;
6574
7559
  responses: {
6575
- /** @description List of buckets */
7560
+ /** @description Bucket detail response */
6576
7561
  200: {
6577
7562
  headers: {
6578
7563
  [name: string]: unknown;
6579
7564
  };
6580
7565
  content: {
6581
- 'application/json': components['schemas']['BucketCreateResponse'][];
7566
+ 'application/json': components['schemas']['BucketDetailResponse'];
7567
+ };
7568
+ };
7569
+ /** @description Access denied to the bucket. */
7570
+ 403: {
7571
+ headers: {
7572
+ [name: string]: unknown;
7573
+ };
7574
+ content?: never;
7575
+ };
7576
+ /** @description Returned when the bucket is not found. */
7577
+ 404: {
7578
+ headers: {
7579
+ [name: string]: unknown;
6582
7580
  };
7581
+ content?: never;
6583
7582
  };
6584
7583
  };
6585
7584
  };
6586
- 'post_/v2/storage/branch/{branchId}/buckets::BucketCreateAction': {
7585
+ 'delete_/v2/storage/branch/{branchId}/buckets/{bucketId}::BucketDeleteAction': {
6587
7586
  parameters: {
6588
7587
  query?: {
7588
+ /** @description When true, the deletion is performed asynchronously as a job. */
6589
7589
  async?: boolean;
7590
+ /** @description When true, the bucket is dropped together with its tables. */
7591
+ force?: boolean;
6590
7592
  };
6591
7593
  header?: {
6592
7594
  'X-KBC-Backend'?: {
@@ -6594,58 +7596,52 @@ type operations = {
6594
7596
  };
6595
7597
  };
6596
7598
  path: {
7599
+ /** @description Identifier of the bucket to delete. */
7600
+ bucketId: string;
6597
7601
  branchId: string;
6598
7602
  };
6599
7603
  cookie?: never;
6600
7604
  };
6601
- requestBody: {
6602
- content: {
6603
- 'application/json':
6604
- | components['schemas']['CreateBucketRequest']
6605
- | components['schemas']['LinkBucketRequest'];
6606
- };
6607
- };
7605
+ requestBody?: never;
6608
7606
  responses: {
6609
- /** @description Bucket created successfully or linked synchronously */
6610
- 201: {
7607
+ /** @description Job accepted; returns job details. */
7608
+ 202: {
6611
7609
  headers: {
6612
7610
  [name: string]: unknown;
6613
7611
  };
6614
7612
  content: {
6615
- 'application/json': components['schemas']['BucketCreateResponse'];
7613
+ 'application/json': components['schemas']['JobResponse'];
6616
7614
  };
6617
7615
  };
6618
- /** @description Bucket linking job accepted for asynchronous processing */
6619
- 202: {
7616
+ /** @description The bucket was deleted (synchronous, deprecated). */
7617
+ 204: {
6620
7618
  headers: {
6621
7619
  [name: string]: unknown;
6622
7620
  };
6623
- content: {
6624
- 'application/json': components['schemas']['JobResponse'];
6625
- };
7621
+ content?: never;
6626
7622
  };
6627
- /** @description Invalid request parameters or bucket already linked */
7623
+ /** @description The bucket is not empty, is linked in other projects, the backend does not support the operation, or synchronous delete is disabled. */
6628
7624
  400: {
6629
7625
  headers: {
6630
7626
  [name: string]: unknown;
6631
7627
  };
6632
7628
  content?: never;
6633
7629
  };
6634
- /** @description Access denied - insufficient permissions */
7630
+ /** @description Access to the bucket was denied. */
6635
7631
  403: {
6636
7632
  headers: {
6637
7633
  [name: string]: unknown;
6638
7634
  };
6639
7635
  content?: never;
6640
7636
  };
6641
- /** @description Source bucket not found (for linking) */
7637
+ /** @description The bucket was not found. */
6642
7638
  404: {
6643
7639
  headers: {
6644
7640
  [name: string]: unknown;
6645
7641
  };
6646
7642
  content?: never;
6647
7643
  };
6648
- /** @description Operation not supported for SPC projects */
7644
+ /** @description Deleting a linked bucket is not supported in a development branch. */
6649
7645
  501: {
6650
7646
  headers: {
6651
7647
  [name: string]: unknown;
@@ -6654,90 +7650,105 @@ type operations = {
6654
7650
  };
6655
7651
  };
6656
7652
  };
6657
- 'get_/v2/storage/buckets::BucketsListAction': {
7653
+ 'get_/v2/storage/buckets/{bucketId}::BucketDetailAction': {
6658
7654
  parameters: {
6659
7655
  query?: {
6660
- /** @description Comma-separated list of data to include. Allowed values: attributes, metadata, linkedBuckets. */
7656
+ /** @description Comma-separated list of data to include. Allowed values: columns, metadata, columnMetadata. */
6661
7657
  include?: string;
6662
7658
  };
6663
7659
  header?: never;
6664
- path?: never;
7660
+ path: {
7661
+ /** @description Identifier of the bucket. */
7662
+ bucketId: string;
7663
+ };
6665
7664
  cookie?: never;
6666
7665
  };
6667
7666
  requestBody?: never;
6668
7667
  responses: {
6669
- /** @description List of buckets */
7668
+ /** @description Bucket detail response */
6670
7669
  200: {
6671
7670
  headers: {
6672
7671
  [name: string]: unknown;
6673
7672
  };
6674
7673
  content: {
6675
- 'application/json': components['schemas']['BucketCreateResponse'][];
7674
+ 'application/json': components['schemas']['BucketDetailResponse'];
7675
+ };
7676
+ };
7677
+ /** @description Access denied to the bucket. */
7678
+ 403: {
7679
+ headers: {
7680
+ [name: string]: unknown;
7681
+ };
7682
+ content?: never;
7683
+ };
7684
+ /** @description Returned when the bucket is not found. */
7685
+ 404: {
7686
+ headers: {
7687
+ [name: string]: unknown;
6676
7688
  };
7689
+ content?: never;
6677
7690
  };
6678
7691
  };
6679
7692
  };
6680
- 'post_/v2/storage/buckets::BucketCreateAction': {
7693
+ 'delete_/v2/storage/buckets/{bucketId}::BucketDeleteAction': {
6681
7694
  parameters: {
6682
7695
  query?: {
7696
+ /** @description When true, the deletion is performed asynchronously as a job. */
6683
7697
  async?: boolean;
7698
+ /** @description When true, the bucket is dropped together with its tables. */
7699
+ force?: boolean;
6684
7700
  };
6685
7701
  header?: {
6686
7702
  'X-KBC-Backend'?: {
6687
7703
  context?: string | null;
6688
7704
  };
6689
7705
  };
6690
- path?: never;
6691
- cookie?: never;
6692
- };
6693
- requestBody: {
6694
- content: {
6695
- 'application/json':
6696
- | components['schemas']['CreateBucketRequest']
6697
- | components['schemas']['LinkBucketRequest'];
7706
+ path: {
7707
+ /** @description Identifier of the bucket to delete. */
7708
+ bucketId: string;
6698
7709
  };
7710
+ cookie?: never;
6699
7711
  };
7712
+ requestBody?: never;
6700
7713
  responses: {
6701
- /** @description Bucket created successfully or linked synchronously */
6702
- 201: {
7714
+ /** @description Job accepted; returns job details. */
7715
+ 202: {
6703
7716
  headers: {
6704
7717
  [name: string]: unknown;
6705
7718
  };
6706
7719
  content: {
6707
- 'application/json': components['schemas']['BucketCreateResponse'];
7720
+ 'application/json': components['schemas']['JobResponse'];
6708
7721
  };
6709
7722
  };
6710
- /** @description Bucket linking job accepted for asynchronous processing */
6711
- 202: {
7723
+ /** @description The bucket was deleted (synchronous, deprecated). */
7724
+ 204: {
6712
7725
  headers: {
6713
7726
  [name: string]: unknown;
6714
7727
  };
6715
- content: {
6716
- 'application/json': components['schemas']['JobResponse'];
6717
- };
7728
+ content?: never;
6718
7729
  };
6719
- /** @description Invalid request parameters or bucket already linked */
7730
+ /** @description The bucket is not empty, is linked in other projects, the backend does not support the operation, or synchronous delete is disabled. */
6720
7731
  400: {
6721
7732
  headers: {
6722
7733
  [name: string]: unknown;
6723
7734
  };
6724
7735
  content?: never;
6725
7736
  };
6726
- /** @description Access denied - insufficient permissions */
7737
+ /** @description Access to the bucket was denied. */
6727
7738
  403: {
6728
7739
  headers: {
6729
7740
  [name: string]: unknown;
6730
7741
  };
6731
7742
  content?: never;
6732
7743
  };
6733
- /** @description Source bucket not found (for linking) */
7744
+ /** @description The bucket was not found. */
6734
7745
  404: {
6735
7746
  headers: {
6736
7747
  [name: string]: unknown;
6737
7748
  };
6738
7749
  content?: never;
6739
7750
  };
6740
- /** @description Operation not supported for SPC projects */
7751
+ /** @description Deleting a linked bucket is not supported in a development branch. */
6741
7752
  501: {
6742
7753
  headers: {
6743
7754
  [name: string]: unknown;
@@ -6746,52 +7757,36 @@ type operations = {
6746
7757
  };
6747
7758
  };
6748
7759
  };
6749
- 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata::BucketMetadataAction': {
7760
+ 'delete_/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata/{metadataId}::BucketDeleteMetadataAction': {
6750
7761
  parameters: {
6751
7762
  query?: never;
6752
7763
  header?: never;
6753
7764
  path: {
6754
- branchId: string;
7765
+ /** @description Identifier of the bucket. */
6755
7766
  bucketId: string;
7767
+ /** @description Identifier of the metadata record. */
7768
+ metadataId: number;
7769
+ branchId: string;
6756
7770
  };
6757
7771
  cookie?: never;
6758
7772
  };
6759
7773
  requestBody?: never;
6760
7774
  responses: {
6761
- default: {
7775
+ /** @description Metadata record deleted. */
7776
+ 204: {
6762
7777
  headers: {
6763
7778
  [name: string]: unknown;
6764
7779
  };
6765
7780
  content?: never;
6766
7781
  };
6767
- };
6768
- };
6769
- 'post_/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata::BucketCreateOrUpdateMetadataAction': {
6770
- parameters: {
6771
- query?: never;
6772
- header?: never;
6773
- path: {
6774
- branchId: string;
6775
- bucketId: string;
6776
- };
6777
- cookie?: never;
6778
- };
6779
- requestBody: {
6780
- content: {
6781
- 'application/json': components['schemas']['CreateMetadataWithProviderRequest'];
6782
- };
6783
- };
6784
- responses: {
6785
- /** @description Metadata successfully created or updated. */
6786
- 201: {
7782
+ /** @description Returned when permissions are insufficient. */
7783
+ 403: {
6787
7784
  headers: {
6788
7785
  [name: string]: unknown;
6789
7786
  };
6790
- content: {
6791
- 'application/json': components['schemas']['MetadataItemResponse'][];
6792
- };
7787
+ content?: never;
6793
7788
  };
6794
- /** @description Returned when the bucket is not found in the project. */
7789
+ /** @description Returned when the bucket or metadata record is not found. */
6795
7790
  404: {
6796
7791
  headers: {
6797
7792
  [name: string]: unknown;
@@ -6800,50 +7795,35 @@ type operations = {
6800
7795
  };
6801
7796
  };
6802
7797
  };
6803
- 'get_/v2/storage/buckets/{bucketId}/metadata::BucketMetadataAction': {
7798
+ 'delete_/v2/storage/buckets/{bucketId}/metadata/{metadataId}::BucketDeleteMetadataAction': {
6804
7799
  parameters: {
6805
7800
  query?: never;
6806
7801
  header?: never;
6807
7802
  path: {
7803
+ /** @description Identifier of the bucket. */
6808
7804
  bucketId: string;
7805
+ /** @description Identifier of the metadata record. */
7806
+ metadataId: number;
6809
7807
  };
6810
7808
  cookie?: never;
6811
7809
  };
6812
7810
  requestBody?: never;
6813
7811
  responses: {
6814
- default: {
7812
+ /** @description Metadata record deleted. */
7813
+ 204: {
6815
7814
  headers: {
6816
7815
  [name: string]: unknown;
6817
7816
  };
6818
7817
  content?: never;
6819
7818
  };
6820
- };
6821
- };
6822
- 'post_/v2/storage/buckets/{bucketId}/metadata::BucketCreateOrUpdateMetadataAction': {
6823
- parameters: {
6824
- query?: never;
6825
- header?: never;
6826
- path: {
6827
- bucketId: string;
6828
- };
6829
- cookie?: never;
6830
- };
6831
- requestBody: {
6832
- content: {
6833
- 'application/json': components['schemas']['CreateMetadataWithProviderRequest'];
6834
- };
6835
- };
6836
- responses: {
6837
- /** @description Metadata successfully created or updated. */
6838
- 201: {
7819
+ /** @description Returned when permissions are insufficient. */
7820
+ 403: {
6839
7821
  headers: {
6840
7822
  [name: string]: unknown;
6841
7823
  };
6842
- content: {
6843
- 'application/json': components['schemas']['MetadataItemResponse'][];
6844
- };
7824
+ content?: never;
6845
7825
  };
6846
- /** @description Returned when the bucket is not found in the project. */
7826
+ /** @description Returned when the bucket or metadata record is not found. */
6847
7827
  404: {
6848
7828
  headers: {
6849
7829
  [name: string]: unknown;
@@ -6852,85 +7832,161 @@ type operations = {
6852
7832
  };
6853
7833
  };
6854
7834
  };
6855
- 'delete_/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata/{metadataId}::BucketDeleteMetadataAction': {
7835
+ 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/events::BucketEventsListAction': {
6856
7836
  parameters: {
6857
- query?: never;
7837
+ query?: {
7838
+ /** @description Maximum number of events to return */
7839
+ limit?: number;
7840
+ /** @description Number of events to skip */
7841
+ offset?: number;
7842
+ /** @description Only include events with ID less than or equal to this value */
7843
+ maxId?: string;
7844
+ /** @description Only include events with ID greater than this value */
7845
+ sinceId?: string;
7846
+ /** @description Filter events by component */
7847
+ component?: string;
7848
+ /** @description Filter events by configuration ID */
7849
+ configurationId?: string;
7850
+ /** @description Filter events by run ID */
7851
+ runId?: string;
7852
+ /** @description Full-text search query to filter event data */
7853
+ q?: string;
7854
+ /**
7855
+ * @deprecated
7856
+ * @description Deprecated alias of the q parameter.
7857
+ */
7858
+ query?: string;
7859
+ /** @description Sort order of events. Use "asc" for oldest first or "desc" for newest first. */
7860
+ sortOrder?: 'asc' | 'desc';
7861
+ };
6858
7862
  header?: never;
6859
7863
  path: {
6860
- /** @description Identifier of the bucket. */
7864
+ /** @description Identifier of the bucket to list events for. */
6861
7865
  bucketId: string;
6862
- /** @description Identifier of the metadata record. */
6863
- metadataId: number;
6864
7866
  branchId: string;
6865
7867
  };
6866
7868
  cookie?: never;
6867
7869
  };
6868
7870
  requestBody?: never;
6869
7871
  responses: {
6870
- /** @description Metadata record deleted. */
6871
- 204: {
7872
+ /** @description Bucket events list response */
7873
+ 200: {
7874
+ headers: {
7875
+ [name: string]: unknown;
7876
+ };
7877
+ content: {
7878
+ 'application/json': components['schemas']['BucketEventsListResponse'];
7879
+ };
7880
+ };
7881
+ /** @description Returned when the provided events filter parameters are invalid. */
7882
+ 400: {
6872
7883
  headers: {
6873
7884
  [name: string]: unknown;
6874
7885
  };
6875
7886
  content?: never;
6876
7887
  };
6877
- /** @description Returned when permissions are insufficient. */
7888
+ /** @description Access denied to the bucket. */
6878
7889
  403: {
6879
7890
  headers: {
6880
7891
  [name: string]: unknown;
6881
7892
  };
6882
7893
  content?: never;
6883
7894
  };
6884
- /** @description Returned when the bucket or metadata record is not found. */
7895
+ /** @description Returned when the bucket is not found. */
6885
7896
  404: {
6886
7897
  headers: {
6887
7898
  [name: string]: unknown;
6888
7899
  };
6889
7900
  content?: never;
6890
7901
  };
7902
+ /** @description Bucket or its backend connection is under maintenance. */
7903
+ 503: {
7904
+ headers: {
7905
+ [name: string]: unknown;
7906
+ };
7907
+ content?: never;
7908
+ };
6891
7909
  };
6892
7910
  };
6893
- 'delete_/v2/storage/buckets/{bucketId}/metadata/{metadataId}::BucketDeleteMetadataAction': {
7911
+ 'get_/v2/storage/buckets/{bucketId}/events::BucketEventsListAction': {
6894
7912
  parameters: {
6895
- query?: never;
7913
+ query?: {
7914
+ /** @description Maximum number of events to return */
7915
+ limit?: number;
7916
+ /** @description Number of events to skip */
7917
+ offset?: number;
7918
+ /** @description Only include events with ID less than or equal to this value */
7919
+ maxId?: string;
7920
+ /** @description Only include events with ID greater than this value */
7921
+ sinceId?: string;
7922
+ /** @description Filter events by component */
7923
+ component?: string;
7924
+ /** @description Filter events by configuration ID */
7925
+ configurationId?: string;
7926
+ /** @description Filter events by run ID */
7927
+ runId?: string;
7928
+ /** @description Full-text search query to filter event data */
7929
+ q?: string;
7930
+ /**
7931
+ * @deprecated
7932
+ * @description Deprecated alias of the q parameter.
7933
+ */
7934
+ query?: string;
7935
+ /** @description Sort order of events. Use "asc" for oldest first or "desc" for newest first. */
7936
+ sortOrder?: 'asc' | 'desc';
7937
+ };
6896
7938
  header?: never;
6897
7939
  path: {
6898
- /** @description Identifier of the bucket. */
7940
+ /** @description Identifier of the bucket to list events for. */
6899
7941
  bucketId: string;
6900
- /** @description Identifier of the metadata record. */
6901
- metadataId: number;
6902
7942
  };
6903
7943
  cookie?: never;
6904
7944
  };
6905
7945
  requestBody?: never;
6906
7946
  responses: {
6907
- /** @description Metadata record deleted. */
6908
- 204: {
7947
+ /** @description Bucket events list response */
7948
+ 200: {
7949
+ headers: {
7950
+ [name: string]: unknown;
7951
+ };
7952
+ content: {
7953
+ 'application/json': components['schemas']['BucketEventsListResponse'];
7954
+ };
7955
+ };
7956
+ /** @description Returned when the provided events filter parameters are invalid. */
7957
+ 400: {
6909
7958
  headers: {
6910
7959
  [name: string]: unknown;
6911
7960
  };
6912
7961
  content?: never;
6913
7962
  };
6914
- /** @description Returned when permissions are insufficient. */
7963
+ /** @description Access denied to the bucket. */
6915
7964
  403: {
6916
7965
  headers: {
6917
7966
  [name: string]: unknown;
6918
7967
  };
6919
7968
  content?: never;
6920
7969
  };
6921
- /** @description Returned when the bucket or metadata record is not found. */
7970
+ /** @description Returned when the bucket is not found. */
6922
7971
  404: {
6923
7972
  headers: {
6924
7973
  [name: string]: unknown;
6925
7974
  };
6926
7975
  content?: never;
6927
7976
  };
7977
+ /** @description Bucket or its backend connection is under maintenance. */
7978
+ 503: {
7979
+ headers: {
7980
+ [name: string]: unknown;
7981
+ };
7982
+ content?: never;
7983
+ };
6928
7984
  };
6929
7985
  };
6930
- 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}::BucketDetailAction': {
7986
+ 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::BucketGetTablesAction': {
6931
7987
  parameters: {
6932
7988
  query?: {
6933
- /** @description Comma-separated list of data to include. Allowed values: columns, metadata, columnMetadata. */
7989
+ /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
6934
7990
  include?: string;
6935
7991
  };
6936
7992
  header?: never;
@@ -6943,14 +7999,21 @@ type operations = {
6943
7999
  };
6944
8000
  requestBody?: never;
6945
8001
  responses: {
6946
- /** @description Bucket detail response */
8002
+ /** @description List of tables in the bucket. */
6947
8003
  200: {
6948
8004
  headers: {
6949
8005
  [name: string]: unknown;
6950
8006
  };
6951
8007
  content: {
6952
- 'application/json': components['schemas']['BucketDetailResponse'];
8008
+ 'application/json': Record<string, never>[];
8009
+ };
8010
+ };
8011
+ /** @description Invalid value in the include parameter. */
8012
+ 400: {
8013
+ headers: {
8014
+ [name: string]: unknown;
6953
8015
  };
8016
+ content?: never;
6954
8017
  };
6955
8018
  /** @description Access denied to the bucket. */
6956
8019
  403: {
@@ -6959,47 +8022,83 @@ type operations = {
6959
8022
  };
6960
8023
  content?: never;
6961
8024
  };
6962
- /** @description Returned when the bucket is not found. */
8025
+ /** @description Bucket not found. */
6963
8026
  404: {
6964
8027
  headers: {
6965
8028
  [name: string]: unknown;
6966
8029
  };
6967
8030
  content?: never;
6968
8031
  };
8032
+ /** @description Bucket or its backend connection is under maintenance. */
8033
+ 503: {
8034
+ headers: {
8035
+ [name: string]: unknown;
8036
+ };
8037
+ content?: never;
8038
+ };
6969
8039
  };
6970
8040
  };
6971
- 'get_/v2/storage/buckets/{bucketId}::BucketDetailAction': {
8041
+ 'post_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::CreateTableSyncAction': {
6972
8042
  parameters: {
6973
- query?: {
6974
- /** @description Comma-separated list of data to include. Allowed values: columns, metadata, columnMetadata. */
6975
- include?: string;
6976
- };
8043
+ query?: never;
6977
8044
  header?: never;
6978
8045
  path: {
6979
- /** @description Identifier of the bucket. */
8046
+ /** @description Identifier of the bucket the table is created in. */
6980
8047
  bucketId: string;
8048
+ branchId: string;
6981
8049
  };
6982
8050
  cookie?: never;
6983
8051
  };
6984
- requestBody?: never;
6985
- responses: {
6986
- /** @description Bucket detail response */
6987
- 200: {
8052
+ requestBody: {
8053
+ content: {
8054
+ 'multipart/form-data': {
8055
+ /** @description Name of the new table. */
8056
+ name: string;
8057
+ /**
8058
+ * Format: binary
8059
+ * @description CSV file to import. Required unless "dataString" is provided.
8060
+ */
8061
+ data?: string;
8062
+ /** @description Inline CSV data. Used when no "data" file is uploaded. */
8063
+ dataString?: string;
8064
+ /** @description Comma separated list of columns used as the primary key. */
8065
+ primaryKey?: string;
8066
+ /** @description Field delimiter, default ",". */
8067
+ delimiter?: string;
8068
+ /** @description Field enclosure, default '"'. */
8069
+ enclosure?: string;
8070
+ /** @description Escape character, default none. */
8071
+ escapedBy?: string;
8072
+ /** @description Comma separated list of column names, used when the file has no header. */
8073
+ columns?: string;
8074
+ /** @description When true, the first row is treated as data, not as a header. */
8075
+ withoutHeaders?: boolean;
8076
+ };
8077
+ };
8078
+ };
8079
+ responses: {
8080
+ /** @description The created table detail, including its columns and the parent bucket detail. */
8081
+ 201: {
6988
8082
  headers: {
6989
8083
  [name: string]: unknown;
6990
8084
  };
6991
- content: {
6992
- 'application/json': components['schemas']['BucketDetailResponse'];
8085
+ content?: never;
8086
+ };
8087
+ /** @description Validation error in the upload, CSV, table definition or import. */
8088
+ 400: {
8089
+ headers: {
8090
+ [name: string]: unknown;
6993
8091
  };
8092
+ content?: never;
6994
8093
  };
6995
- /** @description Access denied to the bucket. */
8094
+ /** @description Write access to the bucket was denied. */
6996
8095
  403: {
6997
8096
  headers: {
6998
8097
  [name: string]: unknown;
6999
8098
  };
7000
8099
  content?: never;
7001
8100
  };
7002
- /** @description Returned when the bucket is not found. */
8101
+ /** @description The bucket was not found, or synchronous import is disabled on this stack. */
7003
8102
  404: {
7004
8103
  headers: {
7005
8104
  [name: string]: unknown;
@@ -7008,7 +8107,7 @@ type operations = {
7008
8107
  };
7009
8108
  };
7010
8109
  };
7011
- 'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::BucketGetTablesAction': {
8110
+ 'get_/v2/storage/buckets/{bucketId}/tables::BucketGetTablesAction': {
7012
8111
  parameters: {
7013
8112
  query?: {
7014
8113
  /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
@@ -7018,7 +8117,6 @@ type operations = {
7018
8117
  path: {
7019
8118
  /** @description Identifier of the bucket. */
7020
8119
  bucketId: string;
7021
- branchId: string;
7022
8120
  };
7023
8121
  cookie?: never;
7024
8122
  };
@@ -7063,58 +8161,72 @@ type operations = {
7063
8161
  };
7064
8162
  };
7065
8163
  };
7066
- 'get_/v2/storage/buckets/{bucketId}/tables::BucketGetTablesAction': {
8164
+ 'post_/v2/storage/buckets/{bucketId}/tables::CreateTableSyncAction': {
7067
8165
  parameters: {
7068
- query?: {
7069
- /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
7070
- include?: string;
7071
- };
8166
+ query?: never;
7072
8167
  header?: never;
7073
8168
  path: {
7074
- /** @description Identifier of the bucket. */
8169
+ /** @description Identifier of the bucket the table is created in. */
7075
8170
  bucketId: string;
7076
8171
  };
7077
8172
  cookie?: never;
7078
8173
  };
7079
- requestBody?: never;
7080
- responses: {
7081
- /** @description List of tables in the bucket. */
7082
- 200: {
8174
+ requestBody: {
8175
+ content: {
8176
+ 'multipart/form-data': {
8177
+ /** @description Name of the new table. */
8178
+ name: string;
8179
+ /**
8180
+ * Format: binary
8181
+ * @description CSV file to import. Required unless "dataString" is provided.
8182
+ */
8183
+ data?: string;
8184
+ /** @description Inline CSV data. Used when no "data" file is uploaded. */
8185
+ dataString?: string;
8186
+ /** @description Comma separated list of columns used as the primary key. */
8187
+ primaryKey?: string;
8188
+ /** @description Field delimiter, default ",". */
8189
+ delimiter?: string;
8190
+ /** @description Field enclosure, default '"'. */
8191
+ enclosure?: string;
8192
+ /** @description Escape character, default none. */
8193
+ escapedBy?: string;
8194
+ /** @description Comma separated list of column names, used when the file has no header. */
8195
+ columns?: string;
8196
+ /** @description When true, the first row is treated as data, not as a header. */
8197
+ withoutHeaders?: boolean;
8198
+ };
8199
+ };
8200
+ };
8201
+ responses: {
8202
+ /** @description The created table detail, including its columns and the parent bucket detail. */
8203
+ 201: {
7083
8204
  headers: {
7084
8205
  [name: string]: unknown;
7085
8206
  };
7086
- content: {
7087
- 'application/json': Record<string, never>[];
7088
- };
8207
+ content?: never;
7089
8208
  };
7090
- /** @description Invalid value in the include parameter. */
8209
+ /** @description Validation error in the upload, CSV, table definition or import. */
7091
8210
  400: {
7092
8211
  headers: {
7093
8212
  [name: string]: unknown;
7094
8213
  };
7095
8214
  content?: never;
7096
8215
  };
7097
- /** @description Access denied to the bucket. */
8216
+ /** @description Write access to the bucket was denied. */
7098
8217
  403: {
7099
8218
  headers: {
7100
8219
  [name: string]: unknown;
7101
8220
  };
7102
8221
  content?: never;
7103
8222
  };
7104
- /** @description Bucket not found. */
8223
+ /** @description The bucket was not found, or synchronous import is disabled on this stack. */
7105
8224
  404: {
7106
8225
  headers: {
7107
8226
  [name: string]: unknown;
7108
8227
  };
7109
8228
  content?: never;
7110
8229
  };
7111
- /** @description Bucket or its backend connection is under maintenance. */
7112
- 503: {
7113
- headers: {
7114
- [name: string]: unknown;
7115
- };
7116
- content?: never;
7117
- };
7118
8230
  };
7119
8231
  };
7120
8232
  'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/owner::BucketOwnerDetailAction': {
@@ -7385,7 +8497,7 @@ type operations = {
7385
8497
  'application/json': components['schemas']['JobResponse'];
7386
8498
  };
7387
8499
  };
7388
- /** @description Bad request. Validation error or table definition is not supported for the bucket backend. */
8500
+ /** @description Bad request. Validation error (including supplying "columns" together with "source") or table definition is not supported for the bucket backend. */
7389
8501
  400: {
7390
8502
  headers: {
7391
8503
  [name: string]: unknown;
@@ -7399,13 +8511,20 @@ type operations = {
7399
8511
  };
7400
8512
  content?: never;
7401
8513
  };
7402
- /** @description Bucket not found in the project. */
8514
+ /** @description Bucket not found, or the supplied source table was not found in the project. */
7403
8515
  404: {
7404
8516
  headers: {
7405
8517
  [name: string]: unknown;
7406
8518
  };
7407
8519
  content?: never;
7408
8520
  };
8521
+ /** @description source rejected: the bucket backend does not support creating a table from a source, the source is a non-persisted alias, or a referenced column (primary key, partitioning or clustering field) is not present in the source table. */
8522
+ 422: {
8523
+ headers: {
8524
+ [name: string]: unknown;
8525
+ };
8526
+ content?: never;
8527
+ };
7409
8528
  };
7410
8529
  };
7411
8530
  'post_/v2/storage/buckets/{bucketId}/tables-definition::CreateTableDefinitionAction': {
@@ -7438,7 +8557,7 @@ type operations = {
7438
8557
  'application/json': components['schemas']['JobResponse'];
7439
8558
  };
7440
8559
  };
7441
- /** @description Bad request. Validation error or table definition is not supported for the bucket backend. */
8560
+ /** @description Bad request. Validation error (including supplying "columns" together with "source") or table definition is not supported for the bucket backend. */
7442
8561
  400: {
7443
8562
  headers: {
7444
8563
  [name: string]: unknown;
@@ -7452,13 +8571,20 @@ type operations = {
7452
8571
  };
7453
8572
  content?: never;
7454
8573
  };
7455
- /** @description Bucket not found in the project. */
8574
+ /** @description Bucket not found, or the supplied source table was not found in the project. */
7456
8575
  404: {
7457
8576
  headers: {
7458
8577
  [name: string]: unknown;
7459
8578
  };
7460
8579
  content?: never;
7461
8580
  };
8581
+ /** @description source rejected: the bucket backend does not support creating a table from a source, the source is a non-persisted alias, or a referenced column (primary key, partitioning or clustering field) is not present in the source table. */
8582
+ 422: {
8583
+ headers: {
8584
+ [name: string]: unknown;
8585
+ };
8586
+ content?: never;
8587
+ };
7462
8588
  };
7463
8589
  };
7464
8590
  'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/listing::BucketListingDetailAction': {
@@ -8996,7 +10122,10 @@ type operations = {
8996
10122
  };
8997
10123
  'put_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}::ConfigurationUpdateAction': {
8998
10124
  parameters: {
8999
- query?: never;
10125
+ query?: {
10126
+ /** @description When provided, enqueues a workspace output-mapping sync job after the config update. The workspace must be linked to this component and configuration. */
10127
+ workspaceId?: number | null;
10128
+ };
9000
10129
  header?: never;
9001
10130
  path: {
9002
10131
  branchId: string;
@@ -9013,6 +10142,15 @@ type operations = {
9013
10142
  responses: {
9014
10143
  /** @description Configuration updated */
9015
10144
  200: {
10145
+ headers: {
10146
+ /** @description ID of the enqueued workspace output-mapping sync job. Present only when `workspaceId` query parameter is supplied. */
10147
+ 'X-StorageApi-Job-Id'?: string;
10148
+ [name: string]: unknown;
10149
+ };
10150
+ content?: never;
10151
+ };
10152
+ /** @description Workspace does not belong to this component and configuration */
10153
+ 400: {
9016
10154
  headers: {
9017
10155
  [name: string]: unknown;
9018
10156
  };
@@ -9078,7 +10216,10 @@ type operations = {
9078
10216
  };
9079
10217
  'put_/v2/storage/components/{componentId}/configs/{configurationId}::ConfigurationUpdateAction': {
9080
10218
  parameters: {
9081
- query?: never;
10219
+ query?: {
10220
+ /** @description When provided, enqueues a workspace output-mapping sync job after the config update. The workspace must be linked to this component and configuration. */
10221
+ workspaceId?: number | null;
10222
+ };
9082
10223
  header?: never;
9083
10224
  path: {
9084
10225
  componentId: string;
@@ -9094,6 +10235,15 @@ type operations = {
9094
10235
  responses: {
9095
10236
  /** @description Configuration updated */
9096
10237
  200: {
10238
+ headers: {
10239
+ /** @description ID of the enqueued workspace output-mapping sync job. Present only when `workspaceId` query parameter is supplied. */
10240
+ 'X-StorageApi-Job-Id'?: string;
10241
+ [name: string]: unknown;
10242
+ };
10243
+ content?: never;
10244
+ };
10245
+ /** @description Workspace does not belong to this component and configuration */
10246
+ 400: {
9097
10247
  headers: {
9098
10248
  [name: string]: unknown;
9099
10249
  };
@@ -9166,6 +10316,53 @@ type operations = {
9166
10316
  };
9167
10317
  };
9168
10318
  };
10319
+ 'post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase::ConfigurationRebaseAction': {
10320
+ parameters: {
10321
+ query?: never;
10322
+ header?: never;
10323
+ path: {
10324
+ branchId: string;
10325
+ componentId: string;
10326
+ configurationId: string;
10327
+ };
10328
+ cookie?: never;
10329
+ };
10330
+ requestBody: {
10331
+ content: {
10332
+ 'application/json': components['schemas']['RebaseRequest'];
10333
+ };
10334
+ };
10335
+ responses: {
10336
+ /** @description Rebased configuration */
10337
+ 200: {
10338
+ headers: {
10339
+ [name: string]: unknown;
10340
+ };
10341
+ content?: never;
10342
+ };
10343
+ /** @description Not available on the default branch */
10344
+ 400: {
10345
+ headers: {
10346
+ [name: string]: unknown;
10347
+ };
10348
+ content?: never;
10349
+ };
10350
+ /** @description Access to the configuration is denied */
10351
+ 403: {
10352
+ headers: {
10353
+ [name: string]: unknown;
10354
+ };
10355
+ content?: never;
10356
+ };
10357
+ /** @description Component, configuration or version not found */
10358
+ 404: {
10359
+ headers: {
10360
+ [name: string]: unknown;
10361
+ };
10362
+ content?: never;
10363
+ };
10364
+ };
10365
+ };
9169
10366
  'post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/reset-to-default::ConfigurationResetToDefaultAction': {
9170
10367
  parameters: {
9171
10368
  query?: never;
@@ -9423,6 +10620,13 @@ type operations = {
9423
10620
  };
9424
10621
  content?: never;
9425
10622
  };
10623
+ /** @description Returned when the token lacks write access to a direct grant output mapping bucket, or when the user has the read-only role in the project. */
10624
+ 403: {
10625
+ headers: {
10626
+ [name: string]: unknown;
10627
+ };
10628
+ content?: never;
10629
+ };
9426
10630
  /** @description Returned when the component or configuration is not found. */
9427
10631
  404: {
9428
10632
  headers: {
@@ -9517,6 +10721,13 @@ type operations = {
9517
10721
  };
9518
10722
  content?: never;
9519
10723
  };
10724
+ /** @description Returned when the token lacks write access to a direct grant output mapping bucket, or when the user has the read-only role in the project. */
10725
+ 403: {
10726
+ headers: {
10727
+ [name: string]: unknown;
10728
+ };
10729
+ content?: never;
10730
+ };
9520
10731
  /** @description Returned when the component or configuration is not found. */
9521
10732
  404: {
9522
10733
  headers: {
@@ -10016,47 +11227,7 @@ type operations = {
10016
11227
  };
10017
11228
  responses: {
10018
11229
  /** @description Row updated */
10019
- 200: {
10020
- headers: {
10021
- [name: string]: unknown;
10022
- };
10023
- content?: never;
10024
- };
10025
- /** @description Component, configuration or row not found */
10026
- 404: {
10027
- headers: {
10028
- [name: string]: unknown;
10029
- };
10030
- content?: never;
10031
- };
10032
- /** @description Version conflict */
10033
- 409: {
10034
- headers: {
10035
- [name: string]: unknown;
10036
- };
10037
- content?: never;
10038
- };
10039
- };
10040
- };
10041
- 'delete_/v2/storage/components/{componentId}/configs/{configurationId}/rows/{rowId}::ConfigurationRowDeleteAction': {
10042
- parameters: {
10043
- query?: never;
10044
- header?: never;
10045
- path: {
10046
- componentId: string;
10047
- configurationId: string;
10048
- rowId: string;
10049
- };
10050
- cookie?: never;
10051
- };
10052
- requestBody: {
10053
- content: {
10054
- 'application/json': components['schemas']['DeleteConfigurationRowRequest'];
10055
- };
10056
- };
10057
- responses: {
10058
- /** @description Row deleted */
10059
- 204: {
11230
+ 200: {
10060
11231
  headers: {
10061
11232
  [name: string]: unknown;
10062
11233
  };
@@ -10069,39 +11240,40 @@ type operations = {
10069
11240
  };
10070
11241
  content?: never;
10071
11242
  };
11243
+ /** @description Version conflict */
11244
+ 409: {
11245
+ headers: {
11246
+ [name: string]: unknown;
11247
+ };
11248
+ content?: never;
11249
+ };
10072
11250
  };
10073
11251
  };
10074
- 'get_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/diff::ConfigurationRowDiffAction': {
11252
+ 'delete_/v2/storage/components/{componentId}/configs/{configurationId}/rows/{rowId}::ConfigurationRowDeleteAction': {
10075
11253
  parameters: {
10076
11254
  query?: never;
10077
11255
  header?: never;
10078
11256
  path: {
10079
- branchId: string;
10080
11257
  componentId: string;
10081
11258
  configurationId: string;
10082
11259
  rowId: string;
10083
11260
  };
10084
11261
  cookie?: never;
10085
11262
  };
10086
- requestBody?: never;
10087
- responses: {
10088
- /** @description Three-way diff of the configuration row. */
10089
- 200: {
10090
- headers: {
10091
- [name: string]: unknown;
10092
- };
10093
- content: {
10094
- 'application/json': components['schemas']['ConfigurationRowDiffResponse'];
10095
- };
11263
+ requestBody: {
11264
+ content: {
11265
+ 'application/json': components['schemas']['DeleteConfigurationRowRequest'];
10096
11266
  };
10097
- /** @description Called on the default branch — diff is only available in dev branches */
10098
- 400: {
11267
+ };
11268
+ responses: {
11269
+ /** @description Row deleted */
11270
+ 204: {
10099
11271
  headers: {
10100
11272
  [name: string]: unknown;
10101
11273
  };
10102
11274
  content?: never;
10103
11275
  };
10104
- /** @description Component not found, or row absent in both branches */
11276
+ /** @description Component, configuration or row not found */
10105
11277
  404: {
10106
11278
  headers: {
10107
11279
  [name: string]: unknown;
@@ -10969,6 +12141,8 @@ type operations = {
10969
12141
  runId?: string;
10970
12142
  /** @description Full-text search query to filter event data */
10971
12143
  q?: string;
12144
+ /** @description Sort order of events. Use "asc" for oldest first or "desc" for newest first. */
12145
+ sortOrder?: 'asc' | 'desc';
10972
12146
  };
10973
12147
  header?: never;
10974
12148
  path: {
@@ -11044,6 +12218,8 @@ type operations = {
11044
12218
  runId?: string;
11045
12219
  /** @description Full-text search query to filter event data */
11046
12220
  q?: string;
12221
+ /** @description Sort order of events. Use "asc" for oldest first or "desc" for newest first. */
12222
+ sortOrder?: 'asc' | 'desc';
11047
12223
  };
11048
12224
  header?: never;
11049
12225
  path?: never;
@@ -11599,14 +12775,51 @@ type operations = {
11599
12775
  };
11600
12776
  'get_/v2/storage/global-search::SearchAction': {
11601
12777
  parameters: {
11602
- query?: never;
12778
+ query: {
12779
+ /** @description Search query string. */
12780
+ query: string;
12781
+ /**
12782
+ * @description Search mode. Allowed values: standard, regex. Default: standard.
12783
+ *
12784
+ * standard: full-text search with normalisation (accent folding, lower-casing, word splitting).
12785
+ * regex: Lucene regexp matched against the original (un-normalised) storage id and object name.
12786
+ * - Matches if the pattern matches the id OR the name.
12787
+ * - Whole-term semantics: "report" does NOT match "monthly_report"; use ".*report.*" to match a substring.
12788
+ * - Case-insensitive.
12789
+ * - Object names longer than 256 characters are not searchable in regex mode (ids are not length-limited).
12790
+ * - An invalid or overly long pattern returns HTTP 400.
12791
+ */
12792
+ mode?: 'standard' | 'regex';
12793
+ /** @description Maximum number of results to return. Default: 10. */
12794
+ limit?: number;
12795
+ /** @description Number of results to skip (pagination). Default: 0. */
12796
+ offset?: number;
12797
+ /** @description Filter by object type. Repeatable. */
12798
+ types?: string[];
12799
+ /** @description Narrow the search to specific project ids. Repeatable. */
12800
+ projectIds?: number[];
12801
+ /** @description Filter by branch type. Repeatable. */
12802
+ branchTypes?: string[];
12803
+ /** @description Filter by branch ids. Repeatable. */
12804
+ branchIds?: number[];
12805
+ };
11603
12806
  header?: never;
11604
12807
  path?: never;
11605
12808
  cookie?: never;
11606
12809
  };
11607
12810
  requestBody?: never;
11608
12811
  responses: {
11609
- default: {
12812
+ /** @description Search results. */
12813
+ 200: {
12814
+ headers: {
12815
+ [name: string]: unknown;
12816
+ };
12817
+ content: {
12818
+ 'application/json': Record<string, never>;
12819
+ };
12820
+ };
12821
+ /** @description Invalid query, invalid regex pattern, or pattern exceeds the maximum allowed length. */
12822
+ 400: {
11610
12823
  headers: {
11611
12824
  [name: string]: unknown;
11612
12825
  };
@@ -12248,17 +13461,245 @@ type operations = {
12248
13461
  };
12249
13462
  };
12250
13463
  };
12251
- 'get_/v2/storage::StorageIndexAction': {
13464
+ 'get_/v2/storage::StorageIndexAction': {
13465
+ parameters: {
13466
+ query?: never;
13467
+ header?: never;
13468
+ path?: never;
13469
+ cookie?: never;
13470
+ };
13471
+ requestBody?: never;
13472
+ responses: {
13473
+ /** @description Stack info including services, features, and components. */
13474
+ 200: {
13475
+ headers: {
13476
+ [name: string]: unknown;
13477
+ };
13478
+ content?: never;
13479
+ };
13480
+ };
13481
+ };
13482
+ 'delete_/v2/storage/tables/{tableId}/alias-filter::AliasFilterDeleteAction': {
13483
+ parameters: {
13484
+ query?: never;
13485
+ header?: never;
13486
+ path: {
13487
+ /** @description Alias table string id (e.g. `out.c-main.users`). */
13488
+ tableId: string;
13489
+ };
13490
+ cookie?: never;
13491
+ };
13492
+ requestBody?: never;
13493
+ responses: {
13494
+ /** @description Alias filter successfully removed. */
13495
+ 204: {
13496
+ headers: {
13497
+ [name: string]: unknown;
13498
+ };
13499
+ content?: never;
13500
+ };
13501
+ /** @description The table is not a simple alias (`storage.tables.aliasFilteringNotAllowed`). */
13502
+ 400: {
13503
+ headers: {
13504
+ [name: string]: unknown;
13505
+ };
13506
+ content?: never;
13507
+ };
13508
+ /** @description Access denied. */
13509
+ 403: {
13510
+ headers: {
13511
+ [name: string]: unknown;
13512
+ };
13513
+ content?: never;
13514
+ };
13515
+ /** @description The table or its bucket was not found. */
13516
+ 404: {
13517
+ headers: {
13518
+ [name: string]: unknown;
13519
+ };
13520
+ content?: never;
13521
+ };
13522
+ /** @description The bucket or its backend is under maintenance. */
13523
+ 503: {
13524
+ headers: {
13525
+ [name: string]: unknown;
13526
+ };
13527
+ content?: never;
13528
+ };
13529
+ };
13530
+ };
13531
+ 'post_/v2/storage/branch/{branchId}/tables/{id}/columns::ColumnCreateAction': {
13532
+ parameters: {
13533
+ query?: never;
13534
+ header?: {
13535
+ 'X-KBC-Backend'?: {
13536
+ context?: string | null;
13537
+ };
13538
+ };
13539
+ path: {
13540
+ branchId: string;
13541
+ id: string;
13542
+ };
13543
+ cookie?: never;
13544
+ };
13545
+ /** @description Request payload for creating columns */
13546
+ requestBody: {
13547
+ content: {
13548
+ 'application/json':
13549
+ | components['schemas']['BigqueryAddColumnToTableRequest']
13550
+ | components['schemas']['SnowflakeAddColumnToTableRequest']
13551
+ | components['schemas']['ColumnCreateRequest'];
13552
+ };
13553
+ };
13554
+ responses: {
13555
+ /** @description Accepted. */
13556
+ 202: {
13557
+ headers: {
13558
+ [name: string]: unknown;
13559
+ };
13560
+ content?: never;
13561
+ };
13562
+ /** @description Invalid request */
13563
+ 400: {
13564
+ headers: {
13565
+ [name: string]: unknown;
13566
+ };
13567
+ content?: never;
13568
+ };
13569
+ };
13570
+ };
13571
+ 'post_/v2/storage/tables/{id}/columns::ColumnCreateAction': {
13572
+ parameters: {
13573
+ query?: never;
13574
+ header?: {
13575
+ 'X-KBC-Backend'?: {
13576
+ context?: string | null;
13577
+ };
13578
+ };
13579
+ path: {
13580
+ id: string;
13581
+ };
13582
+ cookie?: never;
13583
+ };
13584
+ /** @description Request payload for creating columns */
13585
+ requestBody: {
13586
+ content: {
13587
+ 'application/json':
13588
+ | components['schemas']['BigqueryAddColumnToTableRequest']
13589
+ | components['schemas']['SnowflakeAddColumnToTableRequest']
13590
+ | components['schemas']['ColumnCreateRequest'];
13591
+ };
13592
+ };
13593
+ responses: {
13594
+ /** @description Accepted. */
13595
+ 202: {
13596
+ headers: {
13597
+ [name: string]: unknown;
13598
+ };
13599
+ content?: never;
13600
+ };
13601
+ /** @description Invalid request */
13602
+ 400: {
13603
+ headers: {
13604
+ [name: string]: unknown;
13605
+ };
13606
+ content?: never;
13607
+ };
13608
+ };
13609
+ };
13610
+ 'put_/v2/storage/branch/{branchId}/tables/{id}/columns/{column}/definition::DefinitionUpdateAction': {
13611
+ parameters: {
13612
+ query?: never;
13613
+ header?: never;
13614
+ path: {
13615
+ branchId: string;
13616
+ id: string;
13617
+ column: string;
13618
+ };
13619
+ cookie?: never;
13620
+ };
13621
+ requestBody: {
13622
+ content: {
13623
+ 'application/json':
13624
+ | components['schemas']['SnowflakeColumnsDefinitionUpdateRequest']
13625
+ | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
13626
+ };
13627
+ };
13628
+ responses: {
13629
+ default: {
13630
+ headers: {
13631
+ [name: string]: unknown;
13632
+ };
13633
+ content?: never;
13634
+ };
13635
+ };
13636
+ };
13637
+ 'put_/v2/storage/tables/{id}/columns/{column}/definition::DefinitionUpdateAction': {
13638
+ parameters: {
13639
+ query?: never;
13640
+ header?: never;
13641
+ path: {
13642
+ id: string;
13643
+ column: string;
13644
+ };
13645
+ cookie?: never;
13646
+ };
13647
+ requestBody: {
13648
+ content: {
13649
+ 'application/json':
13650
+ | components['schemas']['SnowflakeColumnsDefinitionUpdateRequest']
13651
+ | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
13652
+ };
13653
+ };
13654
+ responses: {
13655
+ default: {
13656
+ headers: {
13657
+ [name: string]: unknown;
13658
+ };
13659
+ content?: never;
13660
+ };
13661
+ };
13662
+ };
13663
+ 'delete_/v2/storage/branch/{branchId}/tables/{id}/rows::DeleteRowsAction': {
13664
+ parameters: {
13665
+ query?: never;
13666
+ header?: {
13667
+ 'X-KBC-Backend'?: {
13668
+ context?: string | null;
13669
+ };
13670
+ };
13671
+ path: {
13672
+ branchId: string;
13673
+ id: string;
13674
+ };
13675
+ cookie?: never;
13676
+ };
13677
+ requestBody?: never;
13678
+ responses: {
13679
+ default: {
13680
+ headers: {
13681
+ [name: string]: unknown;
13682
+ };
13683
+ content?: never;
13684
+ };
13685
+ };
13686
+ };
13687
+ 'delete_/v2/storage/tables/{id}/rows::DeleteRowsAction': {
12252
13688
  parameters: {
12253
13689
  query?: never;
12254
- header?: never;
12255
- path?: never;
13690
+ header?: {
13691
+ 'X-KBC-Backend'?: {
13692
+ context?: string | null;
13693
+ };
13694
+ };
13695
+ path: {
13696
+ id: string;
13697
+ };
12256
13698
  cookie?: never;
12257
13699
  };
12258
13700
  requestBody?: never;
12259
13701
  responses: {
12260
- /** @description Stack info including services, features, and components. */
12261
- 200: {
13702
+ default: {
12262
13703
  headers: {
12263
13704
  [name: string]: unknown;
12264
13705
  };
@@ -12266,7 +13707,7 @@ type operations = {
12266
13707
  };
12267
13708
  };
12268
13709
  };
12269
- 'post_/v2/storage/branch/{branchId}/tables/{id}/columns::ColumnCreateAction': {
13710
+ 'post_/v2/storage/branch/{branchId}/tables/{tableId}/export-async::ExportAsyncAction': {
12270
13711
  parameters: {
12271
13712
  query?: never;
12272
13713
  header?: {
@@ -12275,38 +13716,51 @@ type operations = {
12275
13716
  };
12276
13717
  };
12277
13718
  path: {
13719
+ /** @description Table string identifier (e.g. in.c-main.my-table). */
13720
+ tableId: string;
12278
13721
  branchId: string;
12279
- id: string;
12280
13722
  };
12281
13723
  cookie?: never;
12282
13724
  };
12283
- /** @description Request payload for creating columns */
12284
- requestBody: {
13725
+ requestBody?: {
12285
13726
  content: {
12286
- 'application/json':
12287
- | components['schemas']['BigqueryAddColumnToTableRequest']
12288
- | components['schemas']['SnowflakeAddColumnToTableRequest']
12289
- | components['schemas']['ColumnCreateRequest'];
13727
+ 'application/json': components['schemas']['ExportTableRequest2'];
12290
13728
  };
12291
13729
  };
12292
13730
  responses: {
12293
- /** @description Accepted. */
13731
+ /** @description Job accepted; returns job details. */
12294
13732
  202: {
12295
13733
  headers: {
12296
13734
  [name: string]: unknown;
12297
13735
  };
12298
- content?: never;
13736
+ content: {
13737
+ 'application/json': components['schemas']['JobResponse'];
13738
+ };
12299
13739
  };
12300
- /** @description Invalid request */
13740
+ /** @description Invalid export options, or a dev-branch source used from the protected production branch. */
12301
13741
  400: {
12302
13742
  headers: {
12303
13743
  [name: string]: unknown;
12304
13744
  };
12305
13745
  content?: never;
12306
13746
  };
13747
+ /** @description Token does not have read access to the table. */
13748
+ 403: {
13749
+ headers: {
13750
+ [name: string]: unknown;
13751
+ };
13752
+ content?: never;
13753
+ };
13754
+ /** @description Table or source branch not found. */
13755
+ 404: {
13756
+ headers: {
13757
+ [name: string]: unknown;
13758
+ };
13759
+ content?: never;
13760
+ };
12307
13761
  };
12308
13762
  };
12309
- 'post_/v2/storage/tables/{id}/columns::ColumnCreateAction': {
13763
+ 'post_/v2/storage/tables/{tableId}/export-async::ExportAsyncAction': {
12310
13764
  parameters: {
12311
13765
  query?: never;
12312
13766
  header?: {
@@ -12315,52 +13769,68 @@ type operations = {
12315
13769
  };
12316
13770
  };
12317
13771
  path: {
12318
- id: string;
13772
+ /** @description Table string identifier (e.g. in.c-main.my-table). */
13773
+ tableId: string;
12319
13774
  };
12320
13775
  cookie?: never;
12321
13776
  };
12322
- /** @description Request payload for creating columns */
12323
- requestBody: {
13777
+ requestBody?: {
12324
13778
  content: {
12325
- 'application/json':
12326
- | components['schemas']['BigqueryAddColumnToTableRequest']
12327
- | components['schemas']['SnowflakeAddColumnToTableRequest']
12328
- | components['schemas']['ColumnCreateRequest'];
13779
+ 'application/json': components['schemas']['ExportTableRequest2'];
12329
13780
  };
12330
13781
  };
12331
13782
  responses: {
12332
- /** @description Accepted. */
13783
+ /** @description Job accepted; returns job details. */
12333
13784
  202: {
12334
13785
  headers: {
12335
13786
  [name: string]: unknown;
12336
13787
  };
12337
- content?: never;
13788
+ content: {
13789
+ 'application/json': components['schemas']['JobResponse'];
13790
+ };
12338
13791
  };
12339
- /** @description Invalid request */
13792
+ /** @description Invalid export options, or a dev-branch source used from the protected production branch. */
12340
13793
  400: {
12341
13794
  headers: {
12342
13795
  [name: string]: unknown;
12343
13796
  };
12344
13797
  content?: never;
12345
13798
  };
13799
+ /** @description Token does not have read access to the table. */
13800
+ 403: {
13801
+ headers: {
13802
+ [name: string]: unknown;
13803
+ };
13804
+ content?: never;
13805
+ };
13806
+ /** @description Table or source branch not found. */
13807
+ 404: {
13808
+ headers: {
13809
+ [name: string]: unknown;
13810
+ };
13811
+ content?: never;
13812
+ };
12346
13813
  };
12347
13814
  };
12348
- 'put_/v2/storage/branch/{branchId}/tables/{id}/columns/{column}/definition::DefinitionUpdateAction': {
13815
+ 'post_/v2/storage/branch/{branchId}/tables/{id}/import-async::ImportAsyncAction': {
12349
13816
  parameters: {
12350
13817
  query?: never;
12351
- header?: never;
13818
+ header?: {
13819
+ 'X-KBC-Backend'?: {
13820
+ context?: string | null;
13821
+ };
13822
+ };
12352
13823
  path: {
12353
13824
  branchId: string;
12354
13825
  id: string;
12355
- column: string;
12356
13826
  };
12357
13827
  cookie?: never;
12358
13828
  };
12359
13829
  requestBody: {
12360
13830
  content: {
12361
13831
  'application/json':
12362
- | components['schemas']['SnowflakeColumnsDefinitionUpdateRequest']
12363
- | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
13832
+ | components['schemas']['ImportDataAsyncFromFileRequest']
13833
+ | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
12364
13834
  };
12365
13835
  };
12366
13836
  responses: {
@@ -12372,21 +13842,24 @@ type operations = {
12372
13842
  };
12373
13843
  };
12374
13844
  };
12375
- 'put_/v2/storage/tables/{id}/columns/{column}/definition::DefinitionUpdateAction': {
13845
+ 'post_/v2/storage/tables/{id}/import-async::ImportAsyncAction': {
12376
13846
  parameters: {
12377
13847
  query?: never;
12378
- header?: never;
13848
+ header?: {
13849
+ 'X-KBC-Backend'?: {
13850
+ context?: string | null;
13851
+ };
13852
+ };
12379
13853
  path: {
12380
13854
  id: string;
12381
- column: string;
12382
13855
  };
12383
13856
  cookie?: never;
12384
13857
  };
12385
13858
  requestBody: {
12386
13859
  content: {
12387
13860
  'application/json':
12388
- | components['schemas']['SnowflakeColumnsDefinitionUpdateRequest']
12389
- | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
13861
+ | components['schemas']['ImportDataAsyncFromFileRequest']
13862
+ | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
12390
13863
  };
12391
13864
  };
12392
13865
  responses: {
@@ -12398,7 +13871,7 @@ type operations = {
12398
13871
  };
12399
13872
  };
12400
13873
  };
12401
- 'delete_/v2/storage/branch/{branchId}/tables/{id}/rows::DeleteRowsAction': {
13874
+ 'post_/v2/storage/branch/{branchId}/tables/{tableId}/primary-key::PrimaryKeyCreateAction': {
12402
13875
  parameters: {
12403
13876
  query?: never;
12404
13877
  header?: {
@@ -12407,14 +13880,48 @@ type operations = {
12407
13880
  };
12408
13881
  };
12409
13882
  path: {
13883
+ /** @description Table string id (e.g. `in.c-main.orders`). */
13884
+ tableId: string;
12410
13885
  branchId: string;
12411
- id: string;
12412
13886
  };
12413
13887
  cookie?: never;
12414
13888
  };
12415
- requestBody?: never;
13889
+ requestBody: {
13890
+ content: {
13891
+ 'application/json': components['schemas']['CreatePrimaryKeyRequest'];
13892
+ };
13893
+ };
12416
13894
  responses: {
12417
- default: {
13895
+ /** @description Accepted - primary key creation was enqueued as a storage job. */
13896
+ 202: {
13897
+ headers: {
13898
+ [name: string]: unknown;
13899
+ };
13900
+ content?: never;
13901
+ };
13902
+ /** @description No primary key columns were specified (`storage.validation.primaryKey`), the backend does not support primary keys (`storage.driver.unsupportedOperation`), or the table has the synthetic primary key feature enabled (`storage.tables.syntheticPrimaryKeyEnabled`). */
13903
+ 400: {
13904
+ headers: {
13905
+ [name: string]: unknown;
13906
+ };
13907
+ content?: never;
13908
+ };
13909
+ /** @description Access to the table was denied. */
13910
+ 403: {
13911
+ headers: {
13912
+ [name: string]: unknown;
13913
+ };
13914
+ content?: never;
13915
+ };
13916
+ /** @description Either the table or its bucket was not found. */
13917
+ 404: {
13918
+ headers: {
13919
+ [name: string]: unknown;
13920
+ };
13921
+ content?: never;
13922
+ };
13923
+ /** @description Bucket or backend is under maintenance. */
13924
+ 503: {
12418
13925
  headers: {
12419
13926
  [name: string]: unknown;
12420
13927
  };
@@ -12422,7 +13929,7 @@ type operations = {
12422
13929
  };
12423
13930
  };
12424
13931
  };
12425
- 'delete_/v2/storage/tables/{id}/rows::DeleteRowsAction': {
13932
+ 'delete_/v2/storage/branch/{branchId}/tables/{tableId}/primary-key::PrimaryKeyDeleteAction': {
12426
13933
  parameters: {
12427
13934
  query?: never;
12428
13935
  header?: {
@@ -12431,13 +13938,46 @@ type operations = {
12431
13938
  };
12432
13939
  };
12433
13940
  path: {
12434
- id: string;
13941
+ /** @description Table string id (e.g. `in.c-main.orders`). */
13942
+ tableId: string;
13943
+ branchId: string;
12435
13944
  };
12436
13945
  cookie?: never;
12437
13946
  };
12438
13947
  requestBody?: never;
12439
13948
  responses: {
12440
- default: {
13949
+ /** @description Job accepted; returns job details. */
13950
+ 202: {
13951
+ headers: {
13952
+ [name: string]: unknown;
13953
+ };
13954
+ content: {
13955
+ 'application/json': components['schemas']['JobResponse'];
13956
+ };
13957
+ };
13958
+ /** @description The backend does not support primary keys (`storage.driver.unsupportedOperation`), or the table has the synthetic primary key feature enabled (`storage.tables.syntheticPrimaryKeyEnabled`). */
13959
+ 400: {
13960
+ headers: {
13961
+ [name: string]: unknown;
13962
+ };
13963
+ content?: never;
13964
+ };
13965
+ /** @description Access to the table was denied. */
13966
+ 403: {
13967
+ headers: {
13968
+ [name: string]: unknown;
13969
+ };
13970
+ content?: never;
13971
+ };
13972
+ /** @description Either the table or its bucket was not found. */
13973
+ 404: {
13974
+ headers: {
13975
+ [name: string]: unknown;
13976
+ };
13977
+ content?: never;
13978
+ };
13979
+ /** @description Bucket or backend is under maintenance. */
13980
+ 503: {
12441
13981
  headers: {
12442
13982
  [name: string]: unknown;
12443
13983
  };
@@ -12445,7 +13985,7 @@ type operations = {
12445
13985
  };
12446
13986
  };
12447
13987
  };
12448
- 'post_/v2/storage/branch/{branchId}/tables/{id}/import-async::ImportAsyncAction': {
13988
+ 'post_/v2/storage/tables/{tableId}/primary-key::PrimaryKeyCreateAction': {
12449
13989
  parameters: {
12450
13990
  query?: never;
12451
13991
  header?: {
@@ -12454,49 +13994,102 @@ type operations = {
12454
13994
  };
12455
13995
  };
12456
13996
  path: {
12457
- branchId: string;
12458
- id: string;
13997
+ /** @description Table string id (e.g. `in.c-main.orders`). */
13998
+ tableId: string;
12459
13999
  };
12460
14000
  cookie?: never;
12461
14001
  };
12462
14002
  requestBody: {
12463
14003
  content: {
12464
- 'application/json':
12465
- | components['schemas']['ImportDataAsyncFromFileRequest']
12466
- | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
14004
+ 'application/json': components['schemas']['CreatePrimaryKeyRequest'];
12467
14005
  };
12468
14006
  };
12469
14007
  responses: {
12470
- default: {
14008
+ /** @description Accepted - primary key creation was enqueued as a storage job. */
14009
+ 202: {
14010
+ headers: {
14011
+ [name: string]: unknown;
14012
+ };
14013
+ content?: never;
14014
+ };
14015
+ /** @description No primary key columns were specified (`storage.validation.primaryKey`), the backend does not support primary keys (`storage.driver.unsupportedOperation`), or the table has the synthetic primary key feature enabled (`storage.tables.syntheticPrimaryKeyEnabled`). */
14016
+ 400: {
14017
+ headers: {
14018
+ [name: string]: unknown;
14019
+ };
14020
+ content?: never;
14021
+ };
14022
+ /** @description Access to the table was denied. */
14023
+ 403: {
14024
+ headers: {
14025
+ [name: string]: unknown;
14026
+ };
14027
+ content?: never;
14028
+ };
14029
+ /** @description Either the table or its bucket was not found. */
14030
+ 404: {
14031
+ headers: {
14032
+ [name: string]: unknown;
14033
+ };
14034
+ content?: never;
14035
+ };
14036
+ /** @description Bucket or backend is under maintenance. */
14037
+ 503: {
14038
+ headers: {
14039
+ [name: string]: unknown;
14040
+ };
14041
+ content?: never;
14042
+ };
14043
+ };
14044
+ };
14045
+ 'delete_/v2/storage/tables/{tableId}/primary-key::PrimaryKeyDeleteAction': {
14046
+ parameters: {
14047
+ query?: never;
14048
+ header?: {
14049
+ 'X-KBC-Backend'?: {
14050
+ context?: string | null;
14051
+ };
14052
+ };
14053
+ path: {
14054
+ /** @description Table string id (e.g. `in.c-main.orders`). */
14055
+ tableId: string;
14056
+ };
14057
+ cookie?: never;
14058
+ };
14059
+ requestBody?: never;
14060
+ responses: {
14061
+ /** @description Job accepted; returns job details. */
14062
+ 202: {
14063
+ headers: {
14064
+ [name: string]: unknown;
14065
+ };
14066
+ content: {
14067
+ 'application/json': components['schemas']['JobResponse'];
14068
+ };
14069
+ };
14070
+ /** @description The backend does not support primary keys (`storage.driver.unsupportedOperation`), or the table has the synthetic primary key feature enabled (`storage.tables.syntheticPrimaryKeyEnabled`). */
14071
+ 400: {
14072
+ headers: {
14073
+ [name: string]: unknown;
14074
+ };
14075
+ content?: never;
14076
+ };
14077
+ /** @description Access to the table was denied. */
14078
+ 403: {
14079
+ headers: {
14080
+ [name: string]: unknown;
14081
+ };
14082
+ content?: never;
14083
+ };
14084
+ /** @description Either the table or its bucket was not found. */
14085
+ 404: {
12471
14086
  headers: {
12472
14087
  [name: string]: unknown;
12473
14088
  };
12474
14089
  content?: never;
12475
14090
  };
12476
- };
12477
- };
12478
- 'post_/v2/storage/tables/{id}/import-async::ImportAsyncAction': {
12479
- parameters: {
12480
- query?: never;
12481
- header?: {
12482
- 'X-KBC-Backend'?: {
12483
- context?: string | null;
12484
- };
12485
- };
12486
- path: {
12487
- id: string;
12488
- };
12489
- cookie?: never;
12490
- };
12491
- requestBody: {
12492
- content: {
12493
- 'application/json':
12494
- | components['schemas']['ImportDataAsyncFromFileRequest']
12495
- | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
12496
- };
12497
- };
12498
- responses: {
12499
- default: {
14091
+ /** @description Bucket or backend is under maintenance. */
14092
+ 503: {
12500
14093
  headers: {
12501
14094
  [name: string]: unknown;
12502
14095
  };
@@ -12980,6 +14573,103 @@ type operations = {
12980
14573
  };
12981
14574
  };
12982
14575
  };
14576
+ 'get_/v2/storage/branch/{branchId}/tables/{tableId}/data-preview::TableDataPreviewAction': {
14577
+ parameters: {
14578
+ query?: never;
14579
+ header?: never;
14580
+ path: {
14581
+ /** @description Table string identifier (e.g. in.c-main.my-table). */
14582
+ tableId: string;
14583
+ branchId: string;
14584
+ };
14585
+ cookie?: never;
14586
+ };
14587
+ requestBody?: never;
14588
+ responses: {
14589
+ /** @description Table data in the requested format (CSV or JSON). */
14590
+ 200: {
14591
+ headers: {
14592
+ [name: string]: unknown;
14593
+ };
14594
+ content: {
14595
+ 'text/csv': string;
14596
+ 'application/json': {
14597
+ columns?: string[];
14598
+ rows?: Record<string, never>[][];
14599
+ };
14600
+ };
14601
+ };
14602
+ /** @description Invalid request parameters. */
14603
+ 400: {
14604
+ headers: {
14605
+ [name: string]: unknown;
14606
+ };
14607
+ content?: never;
14608
+ };
14609
+ /** @description Token does not have read access to the bucket. */
14610
+ 403: {
14611
+ headers: {
14612
+ [name: string]: unknown;
14613
+ };
14614
+ content?: never;
14615
+ };
14616
+ /** @description Table not found. */
14617
+ 404: {
14618
+ headers: {
14619
+ [name: string]: unknown;
14620
+ };
14621
+ content?: never;
14622
+ };
14623
+ };
14624
+ };
14625
+ 'get_/v2/storage/tables/{tableId}/data-preview::TableDataPreviewAction': {
14626
+ parameters: {
14627
+ query?: never;
14628
+ header?: never;
14629
+ path: {
14630
+ /** @description Table string identifier (e.g. in.c-main.my-table). */
14631
+ tableId: string;
14632
+ };
14633
+ cookie?: never;
14634
+ };
14635
+ requestBody?: never;
14636
+ responses: {
14637
+ /** @description Table data in the requested format (CSV or JSON). */
14638
+ 200: {
14639
+ headers: {
14640
+ [name: string]: unknown;
14641
+ };
14642
+ content: {
14643
+ 'text/csv': string;
14644
+ 'application/json': {
14645
+ columns?: string[];
14646
+ rows?: Record<string, never>[][];
14647
+ };
14648
+ };
14649
+ };
14650
+ /** @description Invalid request parameters. */
14651
+ 400: {
14652
+ headers: {
14653
+ [name: string]: unknown;
14654
+ };
14655
+ content?: never;
14656
+ };
14657
+ /** @description Token does not have read access to the bucket. */
14658
+ 403: {
14659
+ headers: {
14660
+ [name: string]: unknown;
14661
+ };
14662
+ content?: never;
14663
+ };
14664
+ /** @description Table not found. */
14665
+ 404: {
14666
+ headers: {
14667
+ [name: string]: unknown;
14668
+ };
14669
+ content?: never;
14670
+ };
14671
+ };
14672
+ };
12983
14673
  'put_/v2/storage/branch/{branchId}/tables/{tableId}/definition::TableDefinitionUpdateAction': {
12984
14674
  parameters: {
12985
14675
  query?: never;
@@ -13294,6 +14984,157 @@ type operations = {
13294
14984
  };
13295
14985
  };
13296
14986
  };
14987
+ 'get_/v2/storage/branch/{branchId}/tables/{tableId}/events::TableEventsListAction': {
14988
+ parameters: {
14989
+ query?: {
14990
+ /** @description Maximum number of events to return */
14991
+ limit?: number;
14992
+ /** @description Number of events to skip */
14993
+ offset?: number;
14994
+ /** @description Only include events with ID less than or equal to this value */
14995
+ maxId?: string;
14996
+ /** @description Only include events with ID greater than this value */
14997
+ sinceId?: string;
14998
+ /** @description Filter events by component */
14999
+ component?: string;
15000
+ /** @description Filter events by configuration ID */
15001
+ configurationId?: string;
15002
+ /** @description Filter events by run ID */
15003
+ runId?: string;
15004
+ /** @description Full-text search query to filter event data */
15005
+ q?: string;
15006
+ /**
15007
+ * @deprecated
15008
+ * @description Deprecated alias of the q parameter.
15009
+ */
15010
+ query?: string;
15011
+ /** @description Sort order of events. Use "asc" for oldest first or "desc" for newest first. */
15012
+ sortOrder?: 'asc' | 'desc';
15013
+ };
15014
+ header?: never;
15015
+ path: {
15016
+ /** @description Identifier of the table to list events for. */
15017
+ tableId: string;
15018
+ branchId: string;
15019
+ };
15020
+ cookie?: never;
15021
+ };
15022
+ requestBody?: never;
15023
+ responses: {
15024
+ /** @description Table events list response */
15025
+ 200: {
15026
+ headers: {
15027
+ [name: string]: unknown;
15028
+ };
15029
+ content: {
15030
+ 'application/json': components['schemas']['TableEventsListResponse'];
15031
+ };
15032
+ };
15033
+ /** @description Returned when the provided events filter parameters are invalid. */
15034
+ 400: {
15035
+ headers: {
15036
+ [name: string]: unknown;
15037
+ };
15038
+ content?: never;
15039
+ };
15040
+ /** @description Access denied to the table. */
15041
+ 403: {
15042
+ headers: {
15043
+ [name: string]: unknown;
15044
+ };
15045
+ content?: never;
15046
+ };
15047
+ /** @description Returned when the table or bucket is not found. */
15048
+ 404: {
15049
+ headers: {
15050
+ [name: string]: unknown;
15051
+ };
15052
+ content?: never;
15053
+ };
15054
+ /** @description Bucket or its backend connection is under maintenance. */
15055
+ 503: {
15056
+ headers: {
15057
+ [name: string]: unknown;
15058
+ };
15059
+ content?: never;
15060
+ };
15061
+ };
15062
+ };
15063
+ 'get_/v2/storage/tables/{tableId}/events::TableEventsListAction': {
15064
+ parameters: {
15065
+ query?: {
15066
+ /** @description Maximum number of events to return */
15067
+ limit?: number;
15068
+ /** @description Number of events to skip */
15069
+ offset?: number;
15070
+ /** @description Only include events with ID less than or equal to this value */
15071
+ maxId?: string;
15072
+ /** @description Only include events with ID greater than this value */
15073
+ sinceId?: string;
15074
+ /** @description Filter events by component */
15075
+ component?: string;
15076
+ /** @description Filter events by configuration ID */
15077
+ configurationId?: string;
15078
+ /** @description Filter events by run ID */
15079
+ runId?: string;
15080
+ /** @description Full-text search query to filter event data */
15081
+ q?: string;
15082
+ /**
15083
+ * @deprecated
15084
+ * @description Deprecated alias of the q parameter.
15085
+ */
15086
+ query?: string;
15087
+ /** @description Sort order of events. Use "asc" for oldest first or "desc" for newest first. */
15088
+ sortOrder?: 'asc' | 'desc';
15089
+ };
15090
+ header?: never;
15091
+ path: {
15092
+ /** @description Identifier of the table to list events for. */
15093
+ tableId: string;
15094
+ };
15095
+ cookie?: never;
15096
+ };
15097
+ requestBody?: never;
15098
+ responses: {
15099
+ /** @description Table events list response */
15100
+ 200: {
15101
+ headers: {
15102
+ [name: string]: unknown;
15103
+ };
15104
+ content: {
15105
+ 'application/json': components['schemas']['TableEventsListResponse'];
15106
+ };
15107
+ };
15108
+ /** @description Returned when the provided events filter parameters are invalid. */
15109
+ 400: {
15110
+ headers: {
15111
+ [name: string]: unknown;
15112
+ };
15113
+ content?: never;
15114
+ };
15115
+ /** @description Access denied to the table. */
15116
+ 403: {
15117
+ headers: {
15118
+ [name: string]: unknown;
15119
+ };
15120
+ content?: never;
15121
+ };
15122
+ /** @description Returned when the table or bucket is not found. */
15123
+ 404: {
15124
+ headers: {
15125
+ [name: string]: unknown;
15126
+ };
15127
+ content?: never;
15128
+ };
15129
+ /** @description Bucket or its backend connection is under maintenance. */
15130
+ 503: {
15131
+ headers: {
15132
+ [name: string]: unknown;
15133
+ };
15134
+ content?: never;
15135
+ };
15136
+ };
15137
+ };
13297
15138
  'post_/v2/storage/branch/{branchId}/tables/{tableId}/swap::TableSwapAction': {
13298
15139
  parameters: {
13299
15140
  query?: never;
@@ -13647,6 +15488,8 @@ type operations = {
13647
15488
  runId?: string;
13648
15489
  /** @description Full-text search query to filter event data */
13649
15490
  q?: string;
15491
+ /** @description Sort order of events. Use "asc" for oldest first or "desc" for newest first. */
15492
+ sortOrder?: 'asc' | 'desc';
13650
15493
  };
13651
15494
  header?: never;
13652
15495
  path: {
@@ -14813,6 +16656,13 @@ type operations = {
14813
16656
  };
14814
16657
  content?: never;
14815
16658
  };
16659
+ /** @description Returned when the token lacks write access to a direct grant output mapping bucket, or when the user has the read-only role in the project. */
16660
+ 403: {
16661
+ headers: {
16662
+ [name: string]: unknown;
16663
+ };
16664
+ content?: never;
16665
+ };
14816
16666
  /** @description Returned when the component or configuration is not found. */
14817
16667
  404: {
14818
16668
  headers: {
@@ -14899,6 +16749,13 @@ type operations = {
14899
16749
  };
14900
16750
  content?: never;
14901
16751
  };
16752
+ /** @description Returned when the token lacks write access to a direct grant output mapping bucket, or when the user has the read-only role in the project. */
16753
+ 403: {
16754
+ headers: {
16755
+ [name: string]: unknown;
16756
+ };
16757
+ content?: never;
16758
+ };
14902
16759
  /** @description Returned when the component or configuration is not found. */
14903
16760
  404: {
14904
16761
  headers: {
@@ -15603,6 +17460,13 @@ type operations = {
15603
17460
  };
15604
17461
  content?: never;
15605
17462
  };
17463
+ /** @description Returned when the token lacks write access to a direct grant output mapping bucket, or when the user has the read-only role in the project. */
17464
+ 403: {
17465
+ headers: {
17466
+ [name: string]: unknown;
17467
+ };
17468
+ content?: never;
17469
+ };
15606
17470
  /** @description Returned when the workspace is not found. */
15607
17471
  404: {
15608
17472
  headers: {