@keboola/api-client 24.0.0 → 27.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (485) hide show
  1. package/AGENTS.md +489 -0
  2. package/API-SURFACE.md +129 -57
  3. package/README.md +29 -25
  4. package/dist/{ManagementClientAuthError-C7q1Jd9I.d.ts → ManagementClientAuthError-4J0S5tV-.d.ts} +1 -1
  5. package/dist/{ManagementClientAuthError-BuqHAOBO.d.cts → ManagementClientAuthError-CyDpa4NS.d.cts} +1 -1
  6. package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
  7. package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
  8. package/dist/ai/index.cjs +4 -4
  9. package/dist/ai/index.d.cts +6 -3
  10. package/dist/ai/index.d.ts +6 -3
  11. package/dist/ai/index.js +3 -3
  12. package/dist/ai/types.d.cts +2 -2
  13. package/dist/ai/types.d.ts +2 -2
  14. package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
  15. package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
  16. package/dist/apps/index.cjs +16 -0
  17. package/dist/apps/index.cjs.map +1 -0
  18. package/dist/apps/index.d.cts +249 -0
  19. package/dist/apps/index.d.ts +249 -0
  20. package/dist/apps/index.js +7 -0
  21. package/dist/apps/index.js.map +1 -0
  22. package/dist/apps/types.cjs +4 -0
  23. package/dist/apps/types.cjs.map +1 -0
  24. package/dist/apps/types.d.cts +3 -0
  25. package/dist/apps/types.d.ts +3 -0
  26. package/dist/apps/types.js +3 -0
  27. package/dist/apps/types.js.map +1 -0
  28. package/dist/assets/index.cjs +2 -2
  29. package/dist/assets/index.d.cts +1 -1
  30. package/dist/assets/index.d.ts +1 -1
  31. package/dist/assets/index.js +1 -1
  32. package/dist/auth/index.cjs +17 -13
  33. package/dist/auth/index.d.cts +19 -6
  34. package/dist/auth/index.d.ts +19 -6
  35. package/dist/auth/index.js +2 -2
  36. package/dist/auth/types.d.cts +3 -3
  37. package/dist/auth/types.d.ts +3 -3
  38. package/dist/backends-UNp_e5y9.d.cts +7 -0
  39. package/dist/backends-UNp_e5y9.d.ts +7 -0
  40. package/dist/chat/index.cjs +4 -4
  41. package/dist/chat/index.d.cts +6 -3
  42. package/dist/chat/index.d.ts +6 -3
  43. package/dist/chat/index.js +3 -3
  44. package/dist/chat/types.d.cts +2 -2
  45. package/dist/chat/types.d.ts +2 -2
  46. package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
  47. package/dist/chunk-24YVNNAG.js.map +1 -0
  48. package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
  49. package/dist/chunk-255CHZ3U.js.map +1 -0
  50. package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
  51. package/dist/chunk-2BCH2U57.js.map +1 -0
  52. package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
  53. package/dist/chunk-2BQBKU6E.js.map +1 -0
  54. package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
  55. package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
  56. package/dist/chunk-3UBGQFBU.js +29 -0
  57. package/dist/chunk-3UBGQFBU.js.map +1 -0
  58. package/dist/chunk-57Q4CY4H.js +190 -0
  59. package/dist/chunk-57Q4CY4H.js.map +1 -0
  60. package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
  61. package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
  62. package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
  63. package/dist/chunk-5HEIR4DC.js.map +1 -0
  64. package/dist/chunk-5SR2L35Y.cjs +1828 -0
  65. package/dist/chunk-5SR2L35Y.cjs.map +1 -0
  66. package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
  67. package/dist/chunk-62LG5KPI.js.map +1 -0
  68. package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
  69. package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
  70. package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
  71. package/dist/chunk-6PVEHUJL.cjs.map +1 -0
  72. package/dist/chunk-6XFXU5N4.js +119 -0
  73. package/dist/chunk-6XFXU5N4.js.map +1 -0
  74. package/dist/chunk-6ZQBFK2Y.js +24 -0
  75. package/dist/chunk-6ZQBFK2Y.js.map +1 -0
  76. package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
  77. package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
  78. package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
  79. package/dist/chunk-AXYNFDUI.cjs.map +1 -0
  80. package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
  81. package/dist/chunk-B45B4AYG.js.map +1 -0
  82. package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
  83. package/dist/chunk-B4T4QCLB.js.map +1 -0
  84. package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
  85. package/dist/chunk-BGJWHTBJ.js.map +1 -0
  86. package/dist/chunk-BVRPZKRE.cjs +147 -0
  87. package/dist/chunk-BVRPZKRE.cjs.map +1 -0
  88. package/dist/chunk-BZB4UVQA.cjs +192 -0
  89. package/dist/chunk-BZB4UVQA.cjs.map +1 -0
  90. package/dist/{chunk-D3ZZQIY2.cjs → chunk-CHRBWCL7.cjs} +8 -8
  91. package/dist/chunk-CHRBWCL7.cjs.map +1 -0
  92. package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
  93. package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
  94. package/dist/{chunk-D6O5C67S.js → chunk-DVV35AIS.js} +7 -7
  95. package/dist/chunk-DVV35AIS.js.map +1 -0
  96. package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
  97. package/dist/chunk-E7GGDLAH.cjs.map +1 -0
  98. package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
  99. package/dist/chunk-EQPBR3BE.cjs.map +1 -0
  100. package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
  101. package/dist/chunk-ERZEQ5JR.js.map +1 -0
  102. package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
  103. package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
  104. package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
  105. package/dist/chunk-FEAE6L3K.cjs.map +1 -0
  106. package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
  107. package/dist/chunk-FVU7WU2H.cjs.map +1 -0
  108. package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
  109. package/dist/chunk-FW5GBBKL.js.map +1 -0
  110. package/dist/chunk-G2SWCC3X.js +90 -0
  111. package/dist/chunk-G2SWCC3X.js.map +1 -0
  112. package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
  113. package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
  114. package/dist/{chunk-KH6BHTXN.js → chunk-HGKDXF35.js} +59 -108
  115. package/dist/chunk-HGKDXF35.js.map +1 -0
  116. package/dist/chunk-HITKHHWN.cjs +174 -0
  117. package/dist/chunk-HITKHHWN.cjs.map +1 -0
  118. package/dist/chunk-HQO572JW.cjs +34 -0
  119. package/dist/chunk-HQO572JW.cjs.map +1 -0
  120. package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
  121. package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
  122. package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
  123. package/dist/chunk-HZDVMHU6.js.map +1 -0
  124. package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
  125. package/dist/chunk-ICWUR5WA.cjs.map +1 -0
  126. package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
  127. package/dist/chunk-IQFNHQWP.cjs.map +1 -0
  128. package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
  129. package/dist/chunk-IZ4QM7O4.js.map +1 -0
  130. package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
  131. package/dist/chunk-J5JCXSAS.cjs.map +1 -0
  132. package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
  133. package/dist/chunk-JI7HLIDL.cjs.map +1 -0
  134. package/dist/chunk-JWISA775.cjs +92 -0
  135. package/dist/chunk-JWISA775.cjs.map +1 -0
  136. package/dist/chunk-K3BLXPLA.cjs +16 -0
  137. package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
  138. package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
  139. package/dist/chunk-KATUDT3E.js.map +1 -0
  140. package/dist/chunk-KGBWWS6I.js +32 -0
  141. package/dist/chunk-KGBWWS6I.js.map +1 -0
  142. package/dist/chunk-KQENBXPS.cjs +34 -0
  143. package/dist/chunk-KQENBXPS.cjs.map +1 -0
  144. package/dist/chunk-KTKJD4DM.js +60 -0
  145. package/dist/chunk-KTKJD4DM.js.map +1 -0
  146. package/dist/chunk-LNZP2O4P.js +169 -0
  147. package/dist/chunk-LNZP2O4P.js.map +1 -0
  148. package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
  149. package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
  150. package/dist/chunk-N4COL54U.cjs +22 -0
  151. package/dist/chunk-N4COL54U.cjs.map +1 -0
  152. package/dist/chunk-NFJKJGXR.js +397 -0
  153. package/dist/chunk-NFJKJGXR.js.map +1 -0
  154. package/dist/chunk-NH2TQGRL.cjs +28 -0
  155. package/dist/chunk-NH2TQGRL.cjs.map +1 -0
  156. package/dist/{chunk-XMC355U2.js → chunk-NHYL5QPM.js} +17 -3
  157. package/dist/chunk-NHYL5QPM.js.map +1 -0
  158. package/dist/{chunk-WFXW4XU3.js → chunk-ON4ILCHP.js} +899 -555
  159. package/dist/chunk-ON4ILCHP.js.map +1 -0
  160. package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
  161. package/dist/chunk-PLF4JX5B.cjs.map +1 -0
  162. package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
  163. package/dist/chunk-QNF3L4B7.js.map +1 -0
  164. package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
  165. package/dist/chunk-RBN3ITTM.js.map +1 -0
  166. package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
  167. package/dist/chunk-RXYT7EMN.cjs.map +1 -0
  168. package/dist/chunk-S46FMY4G.cjs +64 -0
  169. package/dist/chunk-S46FMY4G.cjs.map +1 -0
  170. package/dist/chunk-S6BWQKHJ.cjs +116 -0
  171. package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
  172. package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
  173. package/dist/chunk-SFTI6QFB.cjs.map +1 -0
  174. package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
  175. package/dist/chunk-SNP577FA.cjs.map +1 -0
  176. package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
  177. package/dist/chunk-SUVM3S2T.cjs.map +1 -0
  178. package/dist/chunk-SYZ5OFNT.js +114 -0
  179. package/dist/chunk-SYZ5OFNT.js.map +1 -0
  180. package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
  181. package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
  182. package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
  183. package/dist/chunk-TBHJQCAE.js.map +1 -0
  184. package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
  185. package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
  186. package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
  187. package/dist/chunk-UVX733BX.js.map +1 -0
  188. package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
  189. package/dist/chunk-V6FT3RTU.cjs.map +1 -0
  190. package/dist/{chunk-35MODDCL.cjs → chunk-VB56OVFM.cjs} +59 -111
  191. package/dist/chunk-VB56OVFM.cjs.map +1 -0
  192. package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
  193. package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
  194. package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
  195. package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
  196. package/dist/{chunk-3KEVPUSX.cjs → chunk-WUJ53PP7.cjs} +17 -3
  197. package/dist/chunk-WUJ53PP7.cjs.map +1 -0
  198. package/dist/chunk-YDOSWWE4.cjs +419 -0
  199. package/dist/chunk-YDOSWWE4.cjs.map +1 -0
  200. package/dist/chunk-YGEJDWGG.js +19 -0
  201. package/dist/chunk-YGEJDWGG.js.map +1 -0
  202. package/dist/constants/index.cjs +16 -164
  203. package/dist/constants/index.cjs.map +1 -1
  204. package/dist/constants/index.d.cts +14 -1
  205. package/dist/constants/index.d.ts +14 -1
  206. package/dist/constants/index.js +2 -163
  207. package/dist/constants/index.js.map +1 -1
  208. package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
  209. package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
  210. package/dist/{createGenericFetchClient-Df_wFqT8.d.cts → createGenericFetchClient-JcbIIqwF.d.cts} +1 -1
  211. package/dist/{createGenericFetchClient-Sl1DH71J.d.ts → createGenericFetchClient-ZGG5wbAC.d.ts} +1 -1
  212. package/dist/{createOpenapiFetchClient-GZxZgYHd.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +2 -2
  213. package/dist/{createOpenapiFetchClient-BSy6dVM5.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +2 -2
  214. package/dist/dataScience/index.cjs +6 -5
  215. package/dist/dataScience/index.d.cts +8 -6
  216. package/dist/dataScience/index.d.ts +8 -6
  217. package/dist/dataScience/index.js +4 -3
  218. package/dist/dataScience/types.d.cts +2172 -2
  219. package/dist/dataScience/types.d.ts +2172 -2
  220. package/dist/domain/permissions/index.cjs +3 -3
  221. package/dist/domain/permissions/index.d.cts +5 -4
  222. package/dist/domain/permissions/index.d.ts +5 -4
  223. package/dist/domain/permissions/index.js +1 -1
  224. package/dist/editor/index.cjs +4 -4
  225. package/dist/editor/index.d.cts +6 -3
  226. package/dist/editor/index.d.ts +6 -3
  227. package/dist/editor/index.js +3 -3
  228. package/dist/editor/types.d.cts +2 -2
  229. package/dist/editor/types.d.ts +2 -2
  230. package/dist/encryption/index.cjs +3 -3
  231. package/dist/encryption/index.d.cts +6 -4
  232. package/dist/encryption/index.d.ts +6 -4
  233. package/dist/encryption/index.js +2 -2
  234. package/dist/encryption/types.d.cts +4 -3
  235. package/dist/encryption/types.d.ts +4 -3
  236. package/dist/import/index.cjs +4 -4
  237. package/dist/import/index.d.cts +6 -3
  238. package/dist/import/index.d.ts +6 -3
  239. package/dist/import/index.js +3 -3
  240. package/dist/index.cjs +228 -135
  241. package/dist/index.cjs.map +1 -1
  242. package/dist/index.d.cts +952 -463
  243. package/dist/index.d.ts +952 -463
  244. package/dist/index.js +98 -46
  245. package/dist/index.js.map +1 -1
  246. package/dist/management/index.cjs +5 -5
  247. package/dist/management/index.d.cts +62 -69
  248. package/dist/management/index.d.ts +62 -69
  249. package/dist/management/index.js +3 -3
  250. package/dist/management/types.d.cts +3 -3
  251. package/dist/management/types.d.ts +3 -3
  252. package/dist/metastore/index.cjs +4 -4
  253. package/dist/metastore/index.d.cts +6 -7
  254. package/dist/metastore/index.d.ts +6 -7
  255. package/dist/metastore/index.js +3 -3
  256. package/dist/metastore/types.d.cts +2 -2
  257. package/dist/metastore/types.d.ts +2 -2
  258. package/dist/notifications/index.cjs +5 -5
  259. package/dist/notifications/index.d.cts +4 -3
  260. package/dist/notifications/index.d.ts +4 -3
  261. package/dist/notifications/index.js +4 -4
  262. package/dist/notifications/types.d.cts +2 -2
  263. package/dist/notifications/types.d.ts +2 -2
  264. package/dist/oauth/index.cjs +4 -4
  265. package/dist/oauth/index.d.cts +3 -2
  266. package/dist/oauth/index.d.ts +3 -2
  267. package/dist/oauth/index.js +3 -3
  268. package/dist/oauth/types.d.cts +1 -1
  269. package/dist/oauth/types.d.ts +1 -1
  270. package/dist/omnisearch/index.cjs +14 -0
  271. package/dist/omnisearch/index.cjs.map +1 -0
  272. package/dist/omnisearch/index.d.cts +32 -0
  273. package/dist/omnisearch/index.d.ts +32 -0
  274. package/dist/omnisearch/index.js +5 -0
  275. package/dist/omnisearch/index.js.map +1 -0
  276. package/dist/omnisearch/types.cjs +4 -0
  277. package/dist/omnisearch/types.cjs.map +1 -0
  278. package/dist/omnisearch/types.d.cts +3 -0
  279. package/dist/omnisearch/types.d.ts +3 -0
  280. package/dist/omnisearch/types.js +3 -0
  281. package/dist/omnisearch/types.js.map +1 -0
  282. package/dist/{project-DmC8vKnh.d.ts → project-Dmr-zrQG.d.ts} +2 -2
  283. package/dist/{project-CSJzVylj.d.cts → project-DstzWVMN.d.cts} +2 -2
  284. package/dist/queryService/index.cjs +4 -4
  285. package/dist/queryService/index.d.cts +4 -3
  286. package/dist/queryService/index.d.ts +4 -3
  287. package/dist/queryService/index.js +3 -3
  288. package/dist/queryService/types.d.cts +2 -2
  289. package/dist/queryService/types.d.ts +2 -2
  290. package/dist/queue/index.cjs +4 -4
  291. package/dist/queue/index.d.cts +9 -3
  292. package/dist/queue/index.d.ts +9 -3
  293. package/dist/queue/index.js +3 -3
  294. package/dist/queue/types.d.cts +2 -2
  295. package/dist/queue/types.d.ts +2 -2
  296. package/dist/scheduler/index.cjs +5 -5
  297. package/dist/scheduler/index.d.cts +3 -2
  298. package/dist/scheduler/index.d.ts +3 -2
  299. package/dist/scheduler/index.js +4 -4
  300. package/dist/scheduler/types.d.cts +3 -3
  301. package/dist/scheduler/types.d.ts +3 -3
  302. package/dist/sdk/configurations/index.cjs +3 -3
  303. package/dist/sdk/configurations/index.d.cts +9 -8
  304. package/dist/sdk/configurations/index.d.ts +9 -8
  305. package/dist/sdk/configurations/index.js +2 -2
  306. package/dist/sdk/queryService/index.cjs +16 -0
  307. package/dist/sdk/queryService/index.cjs.map +1 -0
  308. package/dist/sdk/queryService/index.d.cts +35 -0
  309. package/dist/sdk/queryService/index.d.ts +35 -0
  310. package/dist/sdk/queryService/index.js +7 -0
  311. package/dist/sdk/queryService/index.js.map +1 -0
  312. package/dist/sdk/semanticLayer/index.cjs +18 -14
  313. package/dist/sdk/semanticLayer/index.d.cts +26 -11
  314. package/dist/sdk/semanticLayer/index.d.ts +26 -11
  315. package/dist/sdk/semanticLayer/index.js +2 -2
  316. package/dist/sdk/semanticLayer/types.d.cts +26 -6
  317. package/dist/sdk/semanticLayer/types.d.ts +26 -6
  318. package/dist/sdk/storage/index.cjs +12 -11
  319. package/dist/sdk/storage/index.d.cts +9 -8
  320. package/dist/sdk/storage/index.d.ts +9 -8
  321. package/dist/sdk/storage/index.js +2 -1
  322. package/dist/sdk/tag/index.cjs +3 -3
  323. package/dist/sdk/tag/index.d.cts +4 -4
  324. package/dist/sdk/tag/index.d.ts +4 -4
  325. package/dist/sdk/tag/index.js +2 -2
  326. package/dist/sdk/tag/types.d.cts +11 -5
  327. package/dist/sdk/tag/types.d.ts +11 -5
  328. package/dist/sdk/vault/index.cjs +8 -8
  329. package/dist/sdk/vault/index.d.cts +6 -5
  330. package/dist/sdk/vault/index.d.ts +6 -5
  331. package/dist/sdk/vault/index.js +2 -2
  332. package/dist/status/index.cjs +2 -2
  333. package/dist/status/index.d.cts +1 -1
  334. package/dist/status/index.d.ts +1 -1
  335. package/dist/status/index.js +1 -1
  336. package/dist/storage/index.cjs +59 -12
  337. package/dist/storage/index.d.cts +21 -22
  338. package/dist/storage/index.d.ts +21 -22
  339. package/dist/storage/index.js +8 -5
  340. package/dist/storage/types.d.cts +741 -390
  341. package/dist/storage/types.d.ts +741 -390
  342. package/dist/{storageClient-B4OooGB9.d.ts → storageClient-BAid0vi2.d.cts} +482 -250
  343. package/dist/{storageClient-CdFqTbn3.d.cts → storageClient-BX50Attd.d.ts} +482 -250
  344. package/dist/{storageSdk-DA7U-1Hy.d.ts → storageSdk-BS5982c_.d.cts} +23 -16
  345. package/dist/{storageSdk-U45zMbUb.d.cts → storageSdk-BeJcnEIO.d.ts} +23 -16
  346. package/dist/stream/index.cjs +4 -4
  347. package/dist/stream/index.d.cts +4 -3
  348. package/dist/stream/index.d.ts +4 -3
  349. package/dist/stream/index.js +3 -3
  350. package/dist/stream/types.d.cts +2 -2
  351. package/dist/stream/types.d.ts +2 -2
  352. package/dist/syncActions/index.cjs +9 -4
  353. package/dist/syncActions/index.d.cts +55 -80
  354. package/dist/syncActions/index.d.ts +55 -80
  355. package/dist/syncActions/index.js +8 -3
  356. package/dist/syncActions/types.d.cts +387 -25
  357. package/dist/syncActions/types.d.ts +387 -25
  358. package/dist/telemetry/index.cjs +4 -4
  359. package/dist/telemetry/index.d.cts +2 -2
  360. package/dist/telemetry/index.d.ts +2 -2
  361. package/dist/telemetry/index.js +3 -3
  362. package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
  363. package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
  364. package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
  365. package/dist/types-BcaALDYY.d.cts +2130 -0
  366. package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
  367. package/dist/types-Bp8d9PJf.d.cts +607 -0
  368. package/dist/types-BsejtGjZ.d.ts +2130 -0
  369. package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
  370. package/dist/{types-WGZN6XLN.d.cts → types-C5DdOzx8.d.cts} +1 -1
  371. package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
  372. package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
  373. package/dist/{types-Brc6lq7i.d.ts → types-C_jxWM7A.d.ts} +1 -1
  374. package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
  375. package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
  376. package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
  377. package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
  378. package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
  379. package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
  380. package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
  381. package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
  382. package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
  383. package/dist/types-DOc5_aYZ.d.ts +607 -0
  384. package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
  385. package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
  386. package/dist/{types-BhlJw2f2.d.ts → types-EZBBpiFU.d.ts} +886 -114
  387. package/dist/{types-DNg4M5JV.d.cts → types-UwuKN9Kx.d.cts} +1 -1
  388. package/dist/{types-DNg4M5JV.d.ts → types-UwuKN9Kx.d.ts} +1 -1
  389. package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
  390. package/dist/{types-DVhcwrwN.d.cts → types-cxk-0ftN.d.cts} +886 -114
  391. package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
  392. package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
  393. package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
  394. package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
  395. package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
  396. package/dist/vault/index.cjs +4 -4
  397. package/dist/vault/index.d.cts +3 -2
  398. package/dist/vault/index.d.ts +3 -2
  399. package/dist/vault/index.js +3 -3
  400. package/dist/vault/types.d.cts +3 -3
  401. package/dist/vault/types.d.ts +3 -3
  402. package/package.json +71 -3
  403. package/surface/ai.md +1 -0
  404. package/surface/apps.md +32 -0
  405. package/surface/auth.md +6 -4
  406. package/surface/chat.md +2 -1
  407. package/surface/dataScience.md +1 -0
  408. package/surface/editor.md +1 -0
  409. package/surface/encryption.md +1 -0
  410. package/surface/import.md +1 -0
  411. package/surface/kaiAgent.md +2 -1
  412. package/surface/management.md +17 -16
  413. package/surface/metastore.md +2 -1
  414. package/surface/notifications.md +1 -0
  415. package/surface/oauth.md +1 -0
  416. package/surface/omnisearch.md +9 -0
  417. package/surface/queryService.md +1 -0
  418. package/surface/queue.md +8 -7
  419. package/surface/scheduler.md +1 -0
  420. package/surface/sdk.md +17 -17
  421. package/surface/storage.md +125 -88
  422. package/surface/stream.md +1 -0
  423. package/surface/syncActions.md +19 -7
  424. package/surface/vault.md +1 -0
  425. package/dist/chunk-34GM6NXB.js.map +0 -1
  426. package/dist/chunk-35MODDCL.cjs.map +0 -1
  427. package/dist/chunk-3BFPNM2J.js.map +0 -1
  428. package/dist/chunk-3FZHFTLG.cjs +0 -12
  429. package/dist/chunk-3FZHFTLG.cjs.map +0 -1
  430. package/dist/chunk-3KEVPUSX.cjs.map +0 -1
  431. package/dist/chunk-3MTY6I2W.js +0 -192
  432. package/dist/chunk-3MTY6I2W.js.map +0 -1
  433. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  434. package/dist/chunk-4VVF2PIX.js.map +0 -1
  435. package/dist/chunk-77LILJYX.js.map +0 -1
  436. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  437. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  438. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  439. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  440. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  441. package/dist/chunk-AXEANGGK.js +0 -226
  442. package/dist/chunk-AXEANGGK.js.map +0 -1
  443. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  444. package/dist/chunk-BZA3FGO6.js.map +0 -1
  445. package/dist/chunk-CV2JGHBN.js.map +0 -1
  446. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  447. package/dist/chunk-D3ZZQIY2.cjs.map +0 -1
  448. package/dist/chunk-D6O5C67S.js.map +0 -1
  449. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  450. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  451. package/dist/chunk-G66EP527.js.map +0 -1
  452. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  453. package/dist/chunk-GM3AKU5T.js +0 -10
  454. package/dist/chunk-GM3AKU5T.js.map +0 -1
  455. package/dist/chunk-HMCZUHR7.js.map +0 -1
  456. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  457. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  458. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  459. package/dist/chunk-KH6BHTXN.js.map +0 -1
  460. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  461. package/dist/chunk-L262THNK.cjs +0 -253
  462. package/dist/chunk-L262THNK.cjs.map +0 -1
  463. package/dist/chunk-LD3JERYP.js.map +0 -1
  464. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  465. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  466. package/dist/chunk-NVRVPWNY.js.map +0 -1
  467. package/dist/chunk-OUSPQ55W.js.map +0 -1
  468. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  469. package/dist/chunk-QZKDBVAU.cjs +0 -1482
  470. package/dist/chunk-QZKDBVAU.cjs.map +0 -1
  471. package/dist/chunk-S4JK7DKM.js.map +0 -1
  472. package/dist/chunk-SJZ66FD5.js.map +0 -1
  473. package/dist/chunk-T242YFMT.cjs.map +0 -1
  474. package/dist/chunk-UABYNGBZ.js.map +0 -1
  475. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  476. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  477. package/dist/chunk-WFXW4XU3.js.map +0 -1
  478. package/dist/chunk-XHDYLUM4.js.map +0 -1
  479. package/dist/chunk-XIIER7QQ.js.map +0 -1
  480. package/dist/chunk-XKIENBIE.js.map +0 -1
  481. package/dist/chunk-XMC355U2.js.map +0 -1
  482. package/dist/chunk-Y44G2VDC.cjs +0 -214
  483. package/dist/chunk-Y44G2VDC.cjs.map +0 -1
  484. package/dist/utils-B_SOM1XR.d.ts +0 -3051
  485. package/dist/utils-DK7uJcmR.d.cts +0 -3051
@@ -1,8 +1,67 @@
1
- import { c as OpenapiQueryType, O as OpenapiBodyType, b as OpenapiReturnType, d as OpenapiPathType } from '../types-gcShAmmi.cjs';
2
- import { p as paths, c as components } from '../types-DVhcwrwN.cjs';
3
- export { C as CreateTokenBody, b as CreateTokenResponse, P as ProjectId, a as ShareTokenBody, S as StorageToken, T as TokenListItem, U as UpdateTokenBody } from '../types-DVhcwrwN.cjs';
4
- export { A as AdminRole, B as Backend } from '../adminRoles-Cil1lavB.cjs';
1
+ import { c as OpenapiQueryType, b as OpenapiReturnType, O as OpenapiBodyType, d as OpenapiPathType, A as ArrayElement } from '../types-f8dUjMX4.cjs';
2
+ import { p as paths, c as components } from '../types-cxk-0ftN.cjs';
3
+ export { C as CreateTokenBody, b as CreateTokenRequestSchema, d as CreateTokenResponse, P as ProjectId, e as ShareTokenBody, a as ShareTokenInput, f as ShareTokenRequestSchema, S as StorageToken, T as TokenListItem, g as UpdateTokenBody, U as UpdateTokenInput, h as UpdateTokenRequestSchema } from '../types-cxk-0ftN.cjs';
4
+ export { A as AdminRole } from '../adminRoles-BSUPLfNf.cjs';
5
+ export { B as Backend } from '../backends-UNp_e5y9.cjs';
5
6
 
7
+ type RegisterBucketSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/register']['post']>;
8
+ type RegisterBucketSchemaQuery = OpenapiQueryType<paths['/v2/storage/buckets/register']['post']>;
9
+ /**
10
+ * Body for `POST /v2/storage/buckets/register`. The generated schema stubs the request body, so it
11
+ * is hand-authored from the Storage API contract.
12
+ */
13
+ type RegisterBucketBody = {
14
+ name: string;
15
+ /** Snowflake: `['database', 'schema']`; BigQuery: `['projectId', 'location', 'exchanger', 'listing']`. */
16
+ path: string[];
17
+ stage?: BucketStage;
18
+ description?: string;
19
+ backend?: 'snowflake' | 'bigquery';
20
+ displayName?: string;
21
+ isSnowflakeSharedDatabase?: boolean;
22
+ };
23
+ /** Markdown guide returned by `GET /v2/storage/buckets/register-guide`. */
24
+ type BucketRegistrationGuide = OpenapiReturnType<paths['/v2/storage/buckets/register-guide']['get']>;
25
+ type BucketRegistrationGuideSchemaQuery = OpenapiQueryType<paths['/v2/storage/buckets/register-guide']['get']>;
26
+ /**
27
+ * Query for `GET /v2/storage/buckets/register-guide`.
28
+ *
29
+ * The spec names the repeatable segment `path[]`, brackets and all, which would put a bracketed key
30
+ * in every call site. Only that one field is remapped: `queryArrayFormat: 'brackets'` builds the
31
+ * same wire format from a clean `path`, which is how `files` and `jobs` spell their repeatable
32
+ * fields — and how `RegisterBucketBody` right below already spells this one.
33
+ */
34
+ type BucketRegistrationGuideQuery = Omit<BucketRegistrationGuideSchemaQuery, 'path[]'> & {
35
+ path: string[];
36
+ };
37
+ /** Optional query for `PUT /v2/storage/buckets/{bucketId}/refresh`. */
38
+ type RefreshExternalBucketQuery = {
39
+ force?: boolean;
40
+ lastChangeDate?: string;
41
+ };
42
+ type RefreshExternalBucketInput = {
43
+ bucketId: string;
44
+ } & RefreshExternalBucketQuery;
45
+ type CreateScheduledRefreshPath = {
46
+ branchId: string;
47
+ bucketId: string;
48
+ };
49
+ type CreateScheduledRefreshBody = {
50
+ cronExpression: string;
51
+ };
52
+ type CreateScheduledRefreshInput = CreateScheduledRefreshPath & CreateScheduledRefreshBody;
53
+ type ScheduledTask = {
54
+ uuid: string;
55
+ job: string;
56
+ relatedEntity: string;
57
+ relatedId: string;
58
+ cronExpression: string;
59
+ createdAt: string;
60
+ };
61
+
62
+ type GetBucketsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets']['get']>;
63
+ type CreateBucketSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets']['post']>;
64
+ type UpdateBucketOwnerSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/owner']['post']>;
6
65
  type BucketStage = 'in' | 'out';
7
66
  type BucketBackend = 'snowflake' | 'redshift' | 'bigquery' | 'teradata';
8
67
  type Bucket = {
@@ -125,8 +184,22 @@ type BucketDetail = Bucket & {
125
184
  scheduledTasks?: ScheduledTask[];
126
185
  tables: unknown[];
127
186
  };
187
+ type GetBucketsInput = {
188
+ branchId: string;
189
+ } & GetBucketsQuery;
128
190
  type GetBucketsQuery = {
129
- include?: ('attributes' | 'metadata')[];
191
+ include?: ('attributes' | 'metadata' | 'linkedBuckets')[];
192
+ };
193
+ type GetBucketQuery = {
194
+ include?: ('columns' | 'metadata' | 'columnMetadata' | 'sourceMetadata')[];
195
+ };
196
+ type GetBucketInput = {
197
+ branchId: string;
198
+ bucketId: string;
199
+ } & GetBucketQuery;
200
+ type GetBucketOwnerInput = {
201
+ branchId: string;
202
+ bucketId: string;
130
203
  };
131
204
  type CreateBucketBody = {
132
205
  name: string;
@@ -138,64 +211,15 @@ type CreateBucketBody = {
138
211
  type UpdateBucketBody = {
139
212
  displayName?: string;
140
213
  description?: string;
214
+ color?: string;
141
215
  };
142
- type CreateScheduledRefreshPath = {
143
- branchId: string;
216
+ type UpdateBucketInput = {
144
217
  bucketId: string;
145
- };
146
- type CreateScheduledRefreshBody = {
147
- cronExpression: string;
148
- };
149
- type ScheduledTask = {
150
- uuid: string;
151
- job: string;
152
- relatedEntity: string;
153
- relatedId: string;
154
- cronExpression: string;
155
- createdAt: string;
156
- };
157
- type Subscriber = {
158
- type: 'user' | 'group';
159
- email: string;
160
- };
161
- type BucketListing = {
218
+ } & UpdateBucketBody;
219
+ /** `force` deletes every table in the bucket before removing it. */
220
+ type DeleteBucketAsyncInput = {
162
221
  bucketId: string;
163
- name: string;
164
- description: string | null;
165
- listingId: string;
166
- subscribers: Subscriber[];
167
- createdAt: string;
168
- };
169
- type RawBucketListingResponse = {
170
- name: string;
171
- description: string | null;
172
- bigquery: {
173
- listingId: string;
174
- subscribers: string[];
175
- };
176
- createdAt: string;
177
- };
178
- type RawBucketListingRow = RawBucketListingResponse & {
179
- bucketId: string;
180
- };
181
- type CreateBucketListingInput = {
182
- name: string;
183
- description: string | null;
184
- listingId: string;
185
- subscribers: Subscriber[];
186
- };
187
- type UpdateBucketListingInput = {
188
- name?: string;
189
- description?: string | null;
190
- subscribers?: Subscriber[];
191
- };
192
- /** Body for `POST /v2/storage/buckets/{bucketId}/share-to-projects`. */
193
- type ShareBucketToProjectsBody = {
194
- targetProjectIds: string[];
195
- };
196
- /** Body for `POST /v2/storage/buckets/{bucketId}/share-to-users` — target user IDs or e-mails. */
197
- type ShareBucketToUsersBody = {
198
- targetUsers: string[];
222
+ force?: boolean;
199
223
  };
200
224
  /**
201
225
  * Body for `POST /v2/storage/buckets/{bucketId}/owner`. The generated schema stubs the request
@@ -206,123 +230,105 @@ type UpdateBucketOwnerBody = {
206
230
  } | {
207
231
  id: number;
208
232
  };
233
+ type UpdateBucketOwnerInput = {
234
+ bucketId: string;
235
+ } & UpdateBucketOwnerBody;
236
+ /** Owner detail returned by `GET /v2/storage/branch/{branchId}/buckets/{bucketId}/owner`. */
237
+ type BucketOwner = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/owner']['get']>;
238
+ /** Body for `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/metadata`. */
239
+ type SaveBucketMetadataBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata']['post']>;
240
+ /** Metadata items returned by `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/metadata`. */
241
+ type BucketMetadata = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata']['post']>;
242
+ type SaveBucketMetadataInput = {
243
+ branchId: string;
244
+ bucketId: string;
245
+ } & SaveBucketMetadataBody;
246
+ type DeleteBucketMetadataInput = {
247
+ branchId: string;
248
+ bucketId: string;
249
+ metadataId: MetadataId;
250
+ };
251
+
252
+ type LinkBucketSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets']['post']>;
209
253
  /**
210
- * Body for `POST /v2/storage/buckets/register`. The generated schema stubs the request body, so it
211
- * is hand-authored from the Storage API contract.
254
+ * The `LinkBucketRequest` arm of the create-or-link union `POST /v2/storage/buckets` accepts, picked
255
+ * by the discriminating field rather than hand-authored so the stage enum stays spec-derived.
212
256
  */
213
- type RegisterBucketBody = {
214
- name: string;
215
- /** Snowflake: `['database', 'schema']`; BigQuery: `['projectId', 'location', 'exchanger', 'listing']`. */
216
- path: string[];
217
- stage?: BucketStage;
218
- description?: string;
219
- backend?: 'snowflake' | 'bigquery';
220
- displayName?: string;
221
- isSnowflakeSharedDatabase?: boolean;
257
+ type LinkBucketBody = Extract<LinkBucketSchemaBody, {
258
+ sourceBucketId: string;
259
+ }>;
260
+ type ShareBucketToOrganizationSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization']['post']>;
261
+ type ShareBucketToOrganizationInput = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization']['post']>;
262
+ type ShareBucketToOrganizationProjectSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization-project']['post']>;
263
+ type ShareBucketToOrganizationProjectInput = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-organization-project']['post']>;
264
+ type ShareBucketToProjectsSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects']['post']>;
265
+ type ShareBucketToProjectsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects']['post']>;
266
+ type ShareBucketToProjectsPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects']['post']>;
267
+ /** Body for `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-projects`. */
268
+ type ShareBucketToProjectsBody = {
269
+ targetProjectIds: number[];
222
270
  };
223
- /** Optional query for `PUT /v2/storage/buckets/{bucketId}/refresh`. */
224
- type RefreshExternalBucketQuery = {
225
- force?: boolean;
226
- lastChangeDate?: string;
271
+ type ShareBucketToProjectsInput = ShareBucketToProjectsPath & ShareBucketToProjectsBody;
272
+ type ShareBucketToUsersSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users']['post']>;
273
+ type ShareBucketToUsersSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users']['post']>;
274
+ type ShareBucketToUsersPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users']['post']>;
275
+ /**
276
+ * Body for `POST /v2/storage/branch/{branchId}/buckets/{bucketId}/share-to-users` — admin ids, which
277
+ * the endpoint also accepts as e-mails.
278
+ */
279
+ type ShareBucketToUsersBody = {
280
+ targetUsers: (number | string)[];
281
+ };
282
+ type ShareBucketToUsersInput = ShareBucketToUsersPath & ShareBucketToUsersBody;
283
+ type UnshareBucketSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share']['delete']>;
284
+ type UnshareBucketInput = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/share']['delete']>;
285
+ type ForceUnlinkBucketSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}']['delete']>;
286
+ type ForceUnlinkBucketSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}']['delete']>;
287
+ type ForceUnlinkBucketInput = {
288
+ branchId: string;
289
+ bucketId: string;
290
+ linkedProjectId: string;
227
291
  };
228
- /** Owner detail returned by `GET /v2/storage/buckets/{bucketId}/owner`. */
229
- type BucketOwner = OpenapiReturnType<paths['/v2/storage/buckets/{bucketId}/owner']['get']>;
230
- /** Markdown guide returned by `GET /v2/storage/buckets/register-guide`. */
231
- type BucketRegistrationGuide = OpenapiReturnType<paths['/v2/storage/buckets/register-guide']['get']>;
232
- /** Query for `GET /v2/storage/buckets/register-guide`. */
233
- type BucketRegistrationGuideQuery = OpenapiQueryType<paths['/v2/storage/buckets/register-guide']['get']>;
234
- /** Body for `POST /v2/storage/buckets/{bucketId}/metadata`. */
235
- type SaveBucketMetadataBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/metadata']['post']>;
236
- /** Metadata items returned by `POST /v2/storage/buckets/{bucketId}/metadata`. */
237
- type BucketMetadata = OpenapiReturnType<paths['/v2/storage/buckets/{bucketId}/metadata']['post']>;
238
292
  /** Buckets shared with the current project, returned by `GET /v2/storage/shared-buckets`. */
239
293
  type SharedBuckets = OpenapiReturnType<paths['/v2/storage/shared-buckets']['get']>;
240
294
 
241
- /** Body for `POST /v2/storage/tables/{id}/columns`. */
242
- type AddTableColumnBody = {
243
- name: string;
244
- /** Column settings for typed tables. */
245
- definition?: {
246
- type: string;
247
- length?: string;
248
- nullable?: boolean;
249
- default?: string;
250
- };
251
- /** Base datatype for non-typed tables (e.g. `STRING`, `INTEGER`, `BOOLEAN`). */
252
- basetype?: string;
253
- };
254
- /** Optional query for `DELETE /v2/storage/tables/{id}/columns/{column}`. */
255
- type DeleteTableColumnQuery = {
256
- force?: boolean;
257
- };
258
- /** Body for `POST /v2/storage/tables/{id}/primary-key`. */
259
- type CreateTablePrimaryKeyBody = {
260
- columns: string[];
261
- /** Skip the duplicate-values check (Snowflake only). */
262
- skipDuplicatesCheck?: boolean;
263
- };
264
-
265
- type EventType = 'info' | 'warn' | 'error' | 'success';
266
- type CreateEventBody = {
267
- component: string;
268
- message: string;
269
- type?: EventType;
270
- results?: Record<string, unknown>;
271
- params?: Record<string, unknown>;
272
- duration?: number;
273
- runId?: string;
274
- configurationId?: string;
275
- };
276
- type GetEventsQuery = {
277
- component?: string;
278
- runId?: string;
279
- configurationId?: string;
280
- q?: string;
281
- limit?: number;
282
- offset?: number;
283
- sinceId?: string | number;
284
- maxId?: string | number;
285
- };
286
- type StorageEvent = {
287
- id: string | number;
288
- component: string;
289
- message: string;
290
- type: EventType;
291
- runId?: string;
292
- configurationId?: string;
293
- results?: Record<string, unknown>;
294
- params?: Record<string, unknown>;
295
- duration?: number;
296
- createdTime: string;
297
- };
298
- type EventPath = {
299
- eventId: string | number;
295
+ type CreateBucketListingPath = OpenapiPathType<paths['/v2/storage/buckets/{bucketId}/listing']['post']>;
296
+ type CreateBucketListingSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/listing']['post']>;
297
+ type UpdateBucketListingPath = OpenapiPathType<paths['/v2/storage/buckets/{bucketId}/listing']['patch']>;
298
+ type UpdateBucketListingSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/listing']['patch']>;
299
+ type BucketListingDetail = OpenapiReturnType<paths['/v2/storage/buckets/{bucketId}/listing']['get']>;
300
+ type ProjectBucketListing = ArrayElement<OpenapiReturnType<paths['/v2/storage/listings']['get']>>;
301
+ /**
302
+ * A listing subscriber, decoded from the `user:`/`group:`-prefixed IAM principal the API carries in
303
+ * `bigquery.subscribers`. Convert with `toBackendSubscribers` / `fromBackendSubscribers`.
304
+ */
305
+ type Subscriber = {
306
+ type: 'user' | 'group';
307
+ email: string;
300
308
  };
301
- type GetTableEventsQuery = Omit<GetEventsQuery, 'runId' | 'configurationId'>;
302
- type TableEventPath = {
303
- tableId: string;
309
+ type CreateBucketListingBody = {
310
+ name: string;
311
+ description: string | null;
312
+ listingId: string;
313
+ subscribers: Subscriber[];
304
314
  };
305
- type TableEvent = {
306
- uuid: string;
307
- event: string;
308
- component: string;
309
- type: EventType;
310
- message: string;
311
- created: string;
312
- runId?: string;
313
- objectId?: string;
314
- objectName?: string;
315
- objectType?: string;
316
- params?: Record<string, unknown>;
317
- results?: {
318
- rowsCount?: number;
319
- sizeBytes?: number;
320
- };
321
- performance?: {
322
- importDuration?: number;
323
- };
315
+ type CreateBucketListingInput = CreateBucketListingPath & CreateBucketListingBody;
316
+ type UpdateBucketListingBody = {
317
+ name?: string;
318
+ description?: string | null;
319
+ subscribers?: Subscriber[];
324
320
  };
321
+ type UpdateBucketListingInput = UpdateBucketListingPath & UpdateBucketListingBody;
325
322
 
323
+ type GetTablesSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables']['get']>;
324
+ type GetDataPreviewSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/data-preview']['get']>;
325
+ type DeleteTableRowsSchemaQuery = OpenapiQueryType<paths['/v2/storage/tables/{id}/rows']['delete']>;
326
+ type CreateTableAsyncSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{id}/tables-async']['post']>;
327
+ type CreateTableDefinitionSchemaBody = OpenapiBodyType<paths['/v2/storage/buckets/{bucketId}/tables-definition']['post']>;
328
+ type TableImportAsyncBody = OpenapiBodyType<paths['/v2/storage/tables/{id}/import-async']['post']>;
329
+ type UpdateTableDefinitionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/definition']['put']>;
330
+ type SaveTableMetadataSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{id}/metadata']['post']>;
331
+ type TableMetadataResponse = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/tables/{id}/metadata']['post']>;
326
332
  type FilterOperator = 'eq' | 'ne' | 'gt' | 'lt' | 'ge' | 'le';
327
333
  type DataType = 'INTEGER' | 'DOUBLE' | 'BIGINT' | 'REAL' | 'DECIMAL';
328
334
  type WhereFilters = {
@@ -336,12 +342,19 @@ type DeleteTableRows = {
336
342
  changedUntil?: string;
337
343
  whereFilters?: WhereFilters[];
338
344
  };
339
- type GetDataPreview = {
345
+ type OrderBy = {
346
+ column: string;
347
+ order: 'ASC' | 'DESC';
348
+ dataType?: DataType;
349
+ };
350
+ type GetDataPreviewQuery = {
340
351
  format?: 'json' | 'rfc';
341
352
  limit?: number;
342
353
  changedSince?: string;
343
354
  changedUntil?: string;
355
+ fulltextSearch?: string;
344
356
  whereFilters?: WhereFilters[];
357
+ orderBy?: OrderBy[];
345
358
  };
346
359
  type GetTablesQuery = {
347
360
  include?: ('attributes' | 'buckets' | 'columns' | 'metadata' | 'columnMetadata' | 'bucketsWithoutSourceTables')[];
@@ -490,7 +503,7 @@ type CreateTableAsyncFromFileBody = {
490
503
  * from the generated schema with the generated file variant excluded, so new
491
504
  * request-body variants in the OpenAPI schema are picked up automatically.
492
505
  */
493
- type CreateTableAsyncBody = CreateTableAsyncFromFileBody | Exclude<OpenapiBodyType<paths['/v2/storage/buckets/{id}/tables-async']['post']>, components['schemas']['CreateTableAsyncFromFileRequest']>;
506
+ type CreateTableAsyncBody = CreateTableAsyncFromFileBody | Exclude<CreateTableAsyncSchemaBody, components['schemas']['CreateTableAsyncFromFileRequest']>;
494
507
  /**
495
508
  * Body for `POST /v2/storage/buckets/{bucketId}/tables-definition` — creates a typed
496
509
  * table from an explicit column definition (no data). Returns a `tableDefinitionCreate` storage job.
@@ -507,20 +520,15 @@ type CreateTableDefinitionBody = {
507
520
  };
508
521
  }[];
509
522
  };
510
- type TableImportAsyncBody = OpenapiBodyType<paths['/v2/storage/tables/{id}/import-async']['post']>;
511
- type UpdateTableDefinitionPath = {
512
- branchId: string;
513
- tableId: string;
514
- };
515
- /**
516
- * Body for `PUT /v2/storage/branch/{branchId}/tables/{tableId}/definition`.
517
- *
518
- * Server-side validation limits: `description` ≤ 16,384 chars (table),
519
- * each `columns[].description` ≤ 1,024 chars.
520
- */
521
- type UpdateTableDefinitionBody = {
523
+ type TableDefinitionPatchFields = {
522
524
  displayName: string;
523
- description?: string | null;
525
+ description: string | null;
526
+ /**
527
+ * `false` marks the description user-authored, which stops Output Mapping from
528
+ * overwriting it on the next component run. Tables default to `true`
529
+ * (system-managed).
530
+ */
531
+ isDescriptionSystemManaged: boolean;
524
532
  columns: {
525
533
  name: string;
526
534
  length?: string;
@@ -529,10 +537,21 @@ type UpdateTableDefinitionBody = {
529
537
  description?: string | null;
530
538
  }[];
531
539
  };
532
- type UpdateTableDefinitionInput = {
533
- branchId?: string;
534
- tableId: string;
535
- } & UpdateTableDefinitionBody;
540
+ /**
541
+ * Body for `PUT /v2/storage/branch/{branchId}/tables/{tableId}/definition`.
542
+ *
543
+ * Every field is a patch — omitted keys are left untouched — and the server
544
+ * rejects a body carrying none of them, so the type requires at least one:
545
+ * it distributes into one variant per field, each pinning that field required
546
+ * and leaving the rest optional. `columns` is positive-only: columns absent from
547
+ * it keep their current definition. Server-side validation caps `description`
548
+ * and each `columns[].description` at 65,535 chars; the value is stored in full
549
+ * and truncated only where the backend is narrower (BigQuery 1,024 / Snowflake
550
+ * 16,384).
551
+ */
552
+ type UpdateTableDefinitionBody = {
553
+ [K in keyof TableDefinitionPatchFields]: Required<Pick<TableDefinitionPatchFields, K>> & Partial<Omit<TableDefinitionPatchFields, K>>;
554
+ }[keyof TableDefinitionPatchFields];
536
555
  /** Body for `PUT /v2/storage/tables/{id}` — synchronous table update (display name). */
537
556
  type UpdateTableBody = {
538
557
  displayName?: string;
@@ -554,24 +573,6 @@ type SetAliasTableFilterBody = {
554
573
  values: string[];
555
574
  operator?: 'eq' | 'ne';
556
575
  };
557
- /** Body for `POST /v2/storage/tables/{id}/snapshots`. */
558
- type CreateSnapshotBody = {
559
- description?: string;
560
- };
561
- /** A table snapshot, returned by `GET /v2/storage/tables/{id}/snapshots`. */
562
- type Snapshot = {
563
- id: string;
564
- description: string;
565
- created: string;
566
- creatorToken: {
567
- id: number;
568
- description: string;
569
- };
570
- };
571
- /**
572
- * Body for the metadata POST endpoints (`.../{id}/metadata`) — a provider plus key/value items.
573
- * Shared by table and column metadata; hand-authored (the table path is absent from the schema).
574
- */
575
576
  type SaveMetadataBody = {
576
577
  provider: string;
577
578
  metadata: {
@@ -579,6 +580,182 @@ type SaveMetadataBody = {
579
580
  value: string;
580
581
  }[];
581
582
  };
583
+ type GetTablesInput = {
584
+ branchId: string;
585
+ } & GetTablesQuery;
586
+ type GetTableInput = {
587
+ branchId: string;
588
+ tableId: string;
589
+ };
590
+ /**
591
+ * Input for `POST /v2/storage/branch/{branchId}/tables/{id}/pull`. The branch is the *target* — the
592
+ * table is pulled from the default branch into it — so pass the dev branch you are pulling into; a
593
+ * pull into the default branch is a no-op.
594
+ */
595
+ type PullTableAsyncInput = {
596
+ branchId?: string;
597
+ tableId: string;
598
+ };
599
+ type GetDataPreviewInput = {
600
+ branchId: string;
601
+ tableId: string;
602
+ } & GetDataPreviewQuery;
603
+ type DeleteTableRowsInput = {
604
+ tableId: string;
605
+ } & DeleteTableRows;
606
+ type CreateTableAsyncInput = {
607
+ bucketId: string;
608
+ } & CreateTableAsyncBody;
609
+ type CreateTableDefinitionInput = {
610
+ bucketId: string;
611
+ } & CreateTableDefinitionBody;
612
+ type CreateAliasTableInput = {
613
+ bucketId: string;
614
+ } & CreateAliasTableBody;
615
+ type SetAliasTableFilterInput = {
616
+ tableId: string;
617
+ } & SetAliasTableFilterBody;
618
+ type UpdateTableInput = {
619
+ tableId: string;
620
+ } & UpdateTableBody;
621
+ type ExportAsyncInput = {
622
+ tableId: string;
623
+ } & TableExportAsyncBody;
624
+ type ImportAsyncInput = {
625
+ tableId: string;
626
+ } & TableImportAsyncBody;
627
+ type UpdateTableDefinitionInput = {
628
+ branchId?: string;
629
+ tableId: string;
630
+ } & UpdateTableDefinitionBody;
631
+ type SaveTableMetadataInput = {
632
+ branchId: string;
633
+ tableId: string;
634
+ } & SaveMetadataBody;
635
+ type DeleteTableMetadataInput = {
636
+ branchId: string;
637
+ tableId: string;
638
+ metadataId: MetadataId;
639
+ };
640
+
641
+ type AddTableColumnSchemaBody = OpenapiBodyType<paths['/v2/storage/tables/{id}/columns']['post']>;
642
+ type CreateTablePrimaryKeySchemaBody = OpenapiBodyType<paths['/v2/storage/tables/{tableId}/primary-key']['post']>;
643
+ type AddTableColumnPath = OpenapiPathType<paths['/v2/storage/tables/{id}/columns']['post']>;
644
+ type DeleteTableColumnPath = OpenapiPathType<paths['/v2/storage/tables/{tableId}/columns/{columnName}']['delete']>;
645
+ type DeleteTableColumnQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/tables/{tableId}/columns/{columnName}']['delete']>>;
646
+ type CreateTablePrimaryKeyPath = OpenapiPathType<paths['/v2/storage/tables/{tableId}/primary-key']['post']>;
647
+ /** Body for `POST /v2/storage/tables/{id}/columns`. */
648
+ type AddTableColumnBody = {
649
+ name: string;
650
+ /** Column settings for typed tables. */
651
+ definition?: {
652
+ type: string;
653
+ length?: string;
654
+ nullable?: boolean;
655
+ default?: string;
656
+ };
657
+ /** Base datatype for non-typed tables (e.g. `STRING`, `INTEGER`, `BOOLEAN`). */
658
+ basetype?: string;
659
+ };
660
+ /** Body for `POST /v2/storage/tables/{id}/primary-key`. */
661
+ type CreateTablePrimaryKeyBody = {
662
+ columns: string[];
663
+ /** Skip the duplicate-values check (Snowflake only). */
664
+ skipDuplicatesCheck?: boolean;
665
+ };
666
+ type AddTableColumnInput = AddTableColumnPath & AddTableColumnBody;
667
+ type DeleteTableColumnInput = DeleteTableColumnPath & DeleteTableColumnQuery;
668
+ type CreateTablePrimaryKeyInput = CreateTablePrimaryKeyPath & CreateTablePrimaryKeyBody;
669
+ type SaveColumnMetadataInput = {
670
+ branchId: string;
671
+ columnId: string;
672
+ } & SaveMetadataBody;
673
+ type DeleteColumnMetadataInput = {
674
+ branchId: string;
675
+ columnId: string;
676
+ metadataId: MetadataId;
677
+ };
678
+
679
+ type EventType = 'info' | 'warn' | 'error' | 'success';
680
+ type CreateEventBody = {
681
+ component: string;
682
+ message: string;
683
+ type?: EventType;
684
+ results?: Record<string, unknown>;
685
+ params?: Record<string, unknown>;
686
+ duration?: number;
687
+ runId?: string;
688
+ configurationId?: string;
689
+ };
690
+ type GetEventsQuery = {
691
+ component?: string;
692
+ runId?: string;
693
+ configurationId?: string;
694
+ q?: string;
695
+ limit?: number;
696
+ offset?: number;
697
+ sinceId?: string | number;
698
+ maxId?: string | number;
699
+ };
700
+ type StorageEvent = {
701
+ id: string | number;
702
+ component: string;
703
+ message: string;
704
+ type: EventType;
705
+ runId?: string;
706
+ configurationId?: string;
707
+ results?: Record<string, unknown>;
708
+ params?: Record<string, unknown>;
709
+ duration?: number;
710
+ createdTime: string;
711
+ };
712
+ type EventPath = {
713
+ eventId: string | number;
714
+ };
715
+ type GetObjectEventsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{tableId}/events']['get']>>;
716
+ type GetTableEventsInput = {
717
+ branchId: string;
718
+ tableId: string;
719
+ } & GetObjectEventsQuery;
720
+ type GetBucketEventsInput = {
721
+ branchId: string;
722
+ bucketId: string;
723
+ } & GetObjectEventsQuery;
724
+ type TableEvent = {
725
+ uuid: string;
726
+ event: string;
727
+ component: string;
728
+ type: EventType;
729
+ message: string;
730
+ description?: string;
731
+ created: string;
732
+ runId?: string | null;
733
+ configurationId?: string | null;
734
+ objectId?: string | number;
735
+ objectName?: string;
736
+ objectType?: string;
737
+ idBranch?: number | null;
738
+ uri?: string;
739
+ attachments?: unknown[];
740
+ context?: {
741
+ remoteAddr: string | null;
742
+ httpReferer: string;
743
+ httpUserAgent: string;
744
+ apiVersion: string;
745
+ };
746
+ token?: {
747
+ id: number;
748
+ name: string;
749
+ };
750
+ params?: Record<string, unknown>;
751
+ results?: {
752
+ rowsCount?: number;
753
+ sizeBytes?: number;
754
+ };
755
+ performance?: {
756
+ importDuration?: number;
757
+ };
758
+ };
582
759
 
583
760
  type FilePath = {
584
761
  fileId: number;
@@ -600,13 +777,13 @@ type GetFilesQuery = {
600
777
  offset?: number;
601
778
  showExpired?: boolean;
602
779
  };
603
- type CreatorToken$2 = {
780
+ type CreatorToken$1 = {
604
781
  id: number;
605
782
  description: string;
606
783
  };
607
784
  type File = {
608
785
  created: string;
609
- creatorToken: CreatorToken$2;
786
+ creatorToken: CreatorToken$1;
610
787
  id: number;
611
788
  isExpired: boolean;
612
789
  isEncrypted: boolean;
@@ -672,18 +849,11 @@ type PreparedFile = {
672
849
  gcsUploadParams?: GcsUploadParams;
673
850
  };
674
851
 
675
- type BranchMetadataRaw = {
676
- id: string;
677
- key: string;
678
- timestamp: string;
679
- value: string;
680
- };
681
- type BranchMetadata = {
682
- id: string;
683
- key: string;
684
- timestamp: Date;
685
- value: string;
686
- };
852
+ type BranchMetadataRaw = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/metadata']['get']>[number];
853
+ type CreateDevBranchSchemaBody = OpenapiBodyType<paths['/v2/storage/dev-branches']['post']>;
854
+ type UpdateDevBranchSchemaBody = OpenapiBodyType<paths['/v2/storage/dev-branches/{id}']['put']>;
855
+ type SaveDevBranchMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/metadata']['post']>;
856
+ type DeleteDevBranchMetadataSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/metadata/{metadataId}']['delete']>;
687
857
  type BranchMetadataEntry = {
688
858
  key: string;
689
859
  value: string;
@@ -699,17 +869,24 @@ type DevBranch = {
699
869
  name: string;
700
870
  } | [];
701
871
  };
702
- type CreateDevBranchJobBody = {
872
+ type CreateDevBranchBody = {
703
873
  name: string;
704
874
  description?: string;
705
875
  };
706
876
  type DevBranchPath = {
707
877
  id: number;
708
878
  };
879
+ type UpdateDevBranchInput = DevBranchPath & CreateDevBranchBody;
880
+ type SaveDevBranchMetadataInput = SaveDevBranchMetadataPath & {
881
+ metadata: BranchMetadataEntry[];
882
+ };
883
+ type DeleteDevBranchMetadataPath = Omit<DeleteDevBranchMetadataSchemaPath, 'metadataId'> & {
884
+ metadataId: MetadataId;
885
+ };
709
886
 
710
- type BranchId$2 = number | string;
887
+ type BranchId$3 = number | string;
711
888
  type WorkspacesPath = {
712
- branchId: BranchId$2;
889
+ branchId: BranchId$3;
713
890
  };
714
891
  type WorkspacePath = WorkspacesPath & {
715
892
  workspaceId: number;
@@ -729,7 +906,7 @@ type WorkspaceConnection = {
729
906
  warehouse: string;
730
907
  user: string;
731
908
  /**
732
- * Available only upon creation with `storage.componentsAndConfigurations.createConfigurationWorkspace`.
909
+ * Available only upon creation with `storage.configurationWorkspaces.createConfigurationWorkspace`.
733
910
  */
734
911
  password?: string;
735
912
  loginType: WorkspaceLoginType;
@@ -764,7 +941,7 @@ type Workspace = {
764
941
  readOnlyStorageAccess: boolean;
765
942
  };
766
943
  type SetWorkspacePublicKeyPath = {
767
- branchId: BranchId$2;
944
+ branchId: BranchId$3;
768
945
  workspaceId: number;
769
946
  };
770
947
  type SetWorkspacePublicKeyBody = {
@@ -773,7 +950,7 @@ type SetWorkspacePublicKeyBody = {
773
950
  type SetWorkspacePublicInput = SetWorkspacePublicKeyPath & SetWorkspacePublicKeyBody;
774
951
  type GetWorkspaceSaml2LoginPath = {
775
952
  workspaceId: string;
776
- branchId: BranchId$2;
953
+ branchId: BranchId$3;
777
954
  };
778
955
  type WorkspaceSaml2Login = {
779
956
  acsUrl: string;
@@ -806,78 +983,127 @@ type WorkspaceInputMappingLoadPreviewInput = WorkspacesPath & {
806
983
  backend?: string;
807
984
  };
808
985
 
809
- type BranchId$1 = number | string | 'default';
810
- type GetComponentsPath = {
811
- branchId?: BranchId$1;
812
- };
813
- type GetComponentPath = {
814
- componentId: string;
815
- } & GetComponentsPath;
816
- type GetComponentsQuery = {
817
- componentType?: string;
818
- include?: ('configuration' | 'rows' | 'state')[];
819
- isDeleted?: boolean;
820
- };
821
- type GetSearchComponentConfigurationsPath = {
822
- branchId?: BranchId$1;
986
+ type CreateConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows']['post']>;
987
+ type CreateConfigurationRowSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows']['post']>;
988
+ type GetConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['get']>;
989
+ type UpdateConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['put']>;
990
+ type UpdateConfigurationRowSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['put']>;
991
+ type DeleteConfigurationRowPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['delete']>;
992
+ type DeleteConfigurationRowSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}']['delete']>;
993
+ type UpdateConfigurationRowStatePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/state']['put']>;
994
+ type UpdateConfigurationRowStateSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/state']['put']>;
995
+ type RowPayload = {
996
+ isDisabled?: boolean | number;
997
+ configuration?: string | Record<string, unknown>;
998
+ state?: string | Record<string, unknown>;
999
+ };
1000
+ type CreateConfigurationRowBody = RowPayload & {
1001
+ rowId?: string;
1002
+ name?: string;
1003
+ description?: string;
1004
+ changeDescription?: string;
823
1005
  };
824
- type GetConfigurationsPath<ComponentId extends string = string> = {
825
- branchId?: BranchId$1;
826
- componentId: ComponentId;
1006
+ type UpdateConfigurationRowBody = RowPayload & {
1007
+ name?: string;
1008
+ description?: string;
1009
+ changeDescription?: string;
827
1010
  };
828
- type ConfigurationPath<ComponentId extends string = string> = {
829
- configId: string;
830
- } & GetConfigurationsPath<ComponentId>;
831
- type DeleteConfigurationRowPath<ComponentId extends string = string> = {
832
- rowId: string;
833
- configId: string;
834
- } & GetConfigurationsPath<ComponentId>;
1011
+ type UpdateConfigurationRowStateBody = Pick<RowPayload, 'state'>;
835
1012
  type DeleteConfigurationRowBody = {
836
1013
  changeDescription?: string;
837
1014
  };
1015
+ type CreateConfigurationRowInput = CreateConfigurationRowPath & CreateConfigurationRowBody;
1016
+ type CreateConfigurationRowsInput = CreateConfigurationRowPath & {
1017
+ data: CreateConfigurationRowBody[];
1018
+ };
1019
+ type GetConfigurationRowInput = GetConfigurationRowPath;
1020
+ type UpdateConfigurationRowInput = UpdateConfigurationRowPath & UpdateConfigurationRowBody;
1021
+ type UpdateConfigurationRowStateInput = UpdateConfigurationRowStatePath & UpdateConfigurationRowStateBody;
838
1022
  type DeleteConfigurationRowInput = DeleteConfigurationRowPath & DeleteConfigurationRowBody;
839
- type DeleteConfigurationRowsInput = {
1023
+ type DeleteConfigurationRowsInput = Omit<DeleteConfigurationRowInput, 'rowId' | 'changeDescription'> & {
840
1024
  rowIds: string[];
841
1025
  changeDescription?: string | ((rowId: string) => string);
842
- } & Omit<DeleteConfigurationRowInput, 'rowId' | 'changeDescription'>;
1026
+ };
843
1027
  type Row = {
844
1028
  id: string;
845
1029
  name: string;
846
1030
  description: string;
847
1031
  isDisabled: boolean;
848
1032
  created: string;
849
- creatorToken: CreatorToken$1;
1033
+ creatorToken: CreatorToken;
850
1034
  changeDescription: string;
851
1035
  versionIdentifier: string;
852
1036
  state: Record<string, unknown>;
853
1037
  configuration: Record<string, unknown>;
854
1038
  };
855
- type CreateConfigurationRowBody = {
856
- rowId?: string;
857
- name?: string;
858
- description?: string;
859
- changeDescription?: string;
860
- isDisabled?: boolean;
861
- configuration?: Record<string, unknown>;
862
- state?: Record<string, unknown>;
1039
+ type WrDbRow = Omit<Row, 'configuration'> & {
1040
+ configuration: {
1041
+ parameters?: {
1042
+ dbName?: string;
1043
+ incremental?: boolean;
1044
+ items?: {
1045
+ name: string;
1046
+ dbName: string;
1047
+ default: string;
1048
+ nullable: boolean;
1049
+ size: string;
1050
+ type: number;
1051
+ }[];
1052
+ primaryKey?: string[];
1053
+ tableId?: string;
1054
+ };
1055
+ storage?: {
1056
+ input?: {
1057
+ tables?: {
1058
+ columns: string[];
1059
+ destination: string;
1060
+ overwrite: boolean;
1061
+ source: string;
1062
+ }[];
1063
+ };
1064
+ };
1065
+ };
863
1066
  };
864
- type CreateConfigurationRowPath = {
865
- branchId: number | string | 'default';
866
- componentId: string;
867
- configId: string;
1067
+
1068
+ type CreateConfigurationSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs']['post']>;
1069
+ type UpdateConfigurationSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}']['put']>;
1070
+ type UpdateConfigurationStateSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/state']['put']>;
1071
+ type RebaseConfigurationSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase']['post']>;
1072
+ type SearchComponentConfigurationsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/search/component-configurations']['get']>;
1073
+ type BranchId$2 = number | string | 'default';
1074
+ type GetSearchComponentConfigurationsPath = {
1075
+ branchId?: BranchId$2;
868
1076
  };
869
- type CreateConfigurationRowInput = CreateConfigurationRowPath & CreateConfigurationRowBody;
870
- type CreateConfigurationRowsInput = CreateConfigurationRowPath & {
871
- data: CreateConfigurationRowBody[];
1077
+ type GetConfigurationsPath<ComponentId extends string = string> = {
1078
+ branchId?: BranchId$2;
1079
+ componentId: ComponentId;
1080
+ };
1081
+ type ConfigurationPath<ComponentId extends string = string> = {
1082
+ configId: string;
1083
+ } & GetConfigurationsPath<ComponentId>;
1084
+ type CreatorToken = {
1085
+ id: number;
1086
+ description: string;
872
1087
  };
873
1088
  type CreateConfigurationBody<ConfigData extends Record<string, unknown> = Record<string, unknown>> = {
874
1089
  name: string;
875
1090
  description?: string;
876
1091
  changeDescription?: string;
877
1092
  isDisabled?: boolean;
878
- configuration: ConfigData;
1093
+ /**
1094
+ * Id to create the configuration under. Omit to have Storage generate one — which is what
1095
+ * most callers want; pass it only to mirror an id that already exists somewhere else (the
1096
+ * same configuration in another branch, a fixed id for a first-run flow).
1097
+ */
1098
+ configurationId?: string;
1099
+ /**
1100
+ * Omit it to have Storage create the configuration empty, which is what a "new configuration"
1101
+ * flow with nothing filled in yet does.
1102
+ */
1103
+ configuration?: ConfigData;
879
1104
  };
880
1105
  type CreateConfigurationInput<ComponentId extends string = string, ConfigData extends Record<string, unknown> = Record<string, unknown>> = GetConfigurationsPath<ComponentId> & CreateConfigurationBody<ConfigData>;
1106
+ type UpdateConfigurationSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}']['put']>;
881
1107
  type UpdateConfigurationBody<ConfigData extends Record<string, unknown> = Record<string, unknown>> = {
882
1108
  name?: string;
883
1109
  description?: string;
@@ -887,30 +1113,44 @@ type UpdateConfigurationBody<ConfigData extends Record<string, unknown> = Record
887
1113
  state?: Record<string, unknown>;
888
1114
  rowsSortOrder?: string[];
889
1115
  };
890
- type UpdateConfigurationInput<ComponentId extends string = string, ConfigData extends Record<string, unknown> = Record<string, unknown>> = ConfigurationPath<ComponentId> & UpdateConfigurationBody<ConfigData>;
891
- type UpdateConfigurationRequestBody = Omit<UpdateConfigurationBody, 'configuration'> & {
892
- configuration?: string;
893
- };
894
- type CreateConfigurationWorkspaceQuery = {
895
- async: boolean;
1116
+ type UpdateConfigurationInput<ComponentId extends string = string, ConfigData extends Record<string, unknown> = Record<string, unknown>> = ConfigurationPath<ComponentId> & UpdateConfigurationBody<ConfigData> & UpdateConfigurationSchemaQuery;
1117
+ type UpdateConfigurationResult<T extends ConfigType = 'unknown'> = {
1118
+ /** The updated configuration. This part of the write is complete. */
1119
+ configuration: ComponentConfig<T>;
1120
+ /**
1121
+ * The output-mapping sync job `workspaceId` enqueued, to poll via `jobs.getJob`.
1122
+ *
1123
+ * - `null` whenever no `workspaceId` was sent.
1124
+ * - `null` for components outside Storage's sync allow-list, which ignore `workspaceId`.
1125
+ */
1126
+ syncJobId: number | null;
896
1127
  };
897
- type BackendType = 'snowflake' | 'bigquery';
898
- type ConfigurationUseCaseType = 'reader' | 'normal';
899
- type LoginType = 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair';
900
- type CreateConfigurationWorkspaceBody = {
901
- backend: BackendType;
902
- readOnlyStorageAccess: boolean;
903
- useCase: ConfigurationUseCaseType;
904
- loginType?: LoginType;
905
- publicKey?: string;
1128
+ type DeleteConfigurationInput = Required<ConfigurationPath> & {
1129
+ /**
1130
+ * Configuration `version` the delete was decided on, sent as the `If-Match` precondition:
1131
+ * Storage answers 412 when the configuration has moved on since it was read.
1132
+ */
1133
+ expectedVersion?: number;
1134
+ };
1135
+ type PurgeConfigurationInput = ConfigurationPath & {
1136
+ /** Configuration `version` to purge, from the trash listing. Storage answers 428 without it. */
1137
+ expectedVersion: number;
1138
+ };
1139
+ /** One `concurrent` fan-out over the whole trash, whatever component each configuration belongs to. */
1140
+ type PurgeConfigurationsInput = Pick<ConfigurationPath, 'branchId'> & {
1141
+ configs: {
1142
+ componentId: string;
1143
+ configId: string;
1144
+ expectedVersion: number;
1145
+ }[];
906
1146
  };
907
- type CreatorToken$1 = {
908
- id: number;
909
- description: string;
1147
+ type UpdateConfigurationStateBody = {
1148
+ state?: string | Record<string, unknown>;
910
1149
  };
1150
+ type UpdateConfigurationStateInput<ComponentId extends string = string> = ConfigurationPath<ComponentId> & UpdateConfigurationStateBody;
911
1151
  type ConfigurationCurrentVersion = {
912
1152
  created: string;
913
- creatorToken: CreatorToken$1;
1153
+ creatorToken: CreatorToken;
914
1154
  changeDescription: string;
915
1155
  versionIdentifier: string;
916
1156
  };
@@ -919,7 +1159,7 @@ type BaseComponentConfig<ConfigData extends Record<string, unknown> = Record<str
919
1159
  name: string;
920
1160
  description: string;
921
1161
  created: string;
922
- creatorToken: CreatorToken$1;
1162
+ creatorToken: CreatorToken;
923
1163
  changeDescription: string;
924
1164
  isDisabled: boolean;
925
1165
  isDeleted: boolean;
@@ -979,34 +1219,6 @@ type DataAppConfig = Omit<BaseComponentConfig, 'configuration' | 'state'> & {
979
1219
  configuration: DataAppConfigConfiguration;
980
1220
  state: DataAppConfigState;
981
1221
  };
982
- type WrDbRow = Omit<Row, 'configuration'> & {
983
- configuration: {
984
- parameters?: {
985
- dbName?: string;
986
- incremental?: boolean;
987
- items?: {
988
- name: string;
989
- dbName: string;
990
- default: string;
991
- nullable: boolean;
992
- size: string;
993
- type: number;
994
- }[];
995
- primaryKey?: string[];
996
- tableId?: string;
997
- };
998
- storage?: {
999
- input?: {
1000
- tables?: {
1001
- columns: string[];
1002
- destination: string;
1003
- overwrite: boolean;
1004
- source: string;
1005
- }[];
1006
- };
1007
- };
1008
- };
1009
- };
1010
1222
  type WrDbConfig = BaseComponentConfig & {
1011
1223
  configuration: {
1012
1224
  parameters: {
@@ -1024,9 +1236,6 @@ type ConfigurationDiffPath = {
1024
1236
  componentId: string;
1025
1237
  configId: string;
1026
1238
  };
1027
- type ConfigurationRowDiffPath = ConfigurationDiffPath & {
1028
- rowId: string;
1029
- };
1030
1239
  type ConfigurationDiffSideContent = {
1031
1240
  name: string;
1032
1241
  description: string;
@@ -1054,17 +1263,6 @@ type ConfigurationDiff = {
1054
1263
  ours: ConfigurationDiffSide | null;
1055
1264
  theirs: ConfigurationDiffSide | null;
1056
1265
  };
1057
- type ConfigurationRowDiffSide = {
1058
- id: string;
1059
- version: number;
1060
- isDeleted: boolean;
1061
- diff: ConfigurationDiffSideContent;
1062
- };
1063
- type ConfigurationRowDiff = {
1064
- base: ConfigurationRowDiffSide | null;
1065
- ours: ConfigurationRowDiffSide | null;
1066
- theirs: ConfigurationRowDiffSide | null;
1067
- };
1068
1266
  type RebaseConfigurationPath = ConfigurationDiffPath;
1069
1267
  type RebaseConfigurationRow = {
1070
1268
  /** Omit to have the backend create a row with a generated id. */
@@ -1074,9 +1272,7 @@ type RebaseConfigurationRow = {
1074
1272
  isDisabled: boolean;
1075
1273
  configuration: Record<string, unknown>;
1076
1274
  };
1077
- type RebaseConfigurationBody = {
1078
- /** Default-branch version to rebase the dev branch onto. */
1079
- version: number;
1275
+ type RebaseConfigurationDiff = {
1080
1276
  /** Resolved configuration name (head). Required — a configuration always has a name. */
1081
1277
  name: string;
1082
1278
  /** Resolved configuration description (head, the 3-way diff result). */
@@ -1095,9 +1291,60 @@ type RebaseConfigurationBody = {
1095
1291
  */
1096
1292
  rows: RebaseConfigurationRow[];
1097
1293
  };
1294
+ type RebaseConfigurationBody = {
1295
+ /** Default-branch version to rebase the dev branch onto. */
1296
+ version: number;
1297
+ /**
1298
+ * Resolved configuration content (the 3-way diff result) wrapped in the same
1299
+ * envelope the /diff endpoint returns its sides in. The API also accepts an
1300
+ * empty `diff` (`{}` or an empty string) to resolve the conflict by deleting
1301
+ * the configuration — not modeled here until the UI exposes delete resolution
1302
+ * (widening the accepted type later is non-breaking).
1303
+ */
1304
+ diff: RebaseConfigurationDiff;
1305
+ };
1098
1306
  type RebaseConfigurationInput = RebaseConfigurationPath & RebaseConfigurationBody;
1099
1307
  type ConfigType = 'data-app' | 'wr-db' | 'unknown';
1100
1308
  type ComponentConfig<T extends ConfigType = 'unknown'> = T extends 'data-app' ? DataAppConfig : T extends 'wr-db' ? WrDbConfig : BaseComponentConfig;
1309
+ type SearchComponentConfigurationsQuery = {
1310
+ /**
1311
+ * The API's field name, per the spec and what kbc-ui's legacy client sends in production. This
1312
+ * used to be `componentId`, which Storage rejects with "This field was not expected" — the live
1313
+ * nightly caught it, so the previous divergence from the spec was a bug, not a deliberate choice.
1314
+ */
1315
+ idComponent?: string | null;
1316
+ configurationId?: string | null;
1317
+ /** Comma-joined by the client, which is how the spec types it (`include?: string`). */
1318
+ include?: 'filteredMetadata'[];
1319
+ metadataKeys?: string[];
1320
+ };
1321
+ type SearchComponentConfigurationsInput = GetSearchComponentConfigurationsPath & SearchComponentConfigurationsQuery;
1322
+ type SearchComponentConfiguration = {
1323
+ configurationId: string;
1324
+ idComponent: string;
1325
+ metadata?: {
1326
+ id: string;
1327
+ key: string;
1328
+ timestamp: string;
1329
+ value: string;
1330
+ }[];
1331
+ };
1332
+
1333
+ type GetComponentSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}']['get']>;
1334
+ type GetComponentsSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components']['get']>;
1335
+ type GetComponentsSchemaQuery = OpenapiQueryType<paths['/v2/storage/branch/{branchId}/components']['get']>;
1336
+ type BranchId$1 = number | string | 'default';
1337
+ type GetComponentsPath = {
1338
+ branchId?: BranchId$1;
1339
+ };
1340
+ type GetComponentPath = Omit<GetComponentSchemaPath, 'branchId'> & {
1341
+ branchId?: BranchId$1;
1342
+ };
1343
+ type GetComponentsQuery = Pick<GetComponentsSchemaQuery, 'componentType'> & {
1344
+ include?: ('configuration' | 'rows' | 'state')[];
1345
+ isDeleted?: boolean;
1346
+ };
1347
+ type GetComponentsInput = GetComponentsPath & GetComponentsQuery;
1101
1348
  type ComponentDefinition = {
1102
1349
  type: string;
1103
1350
  uri: string;
@@ -1157,23 +1404,24 @@ type Component = StackComponent & {
1157
1404
  documentationUrl?: string;
1158
1405
  configurations?: ComponentConfig[];
1159
1406
  };
1160
- type SearchComponentConfigurationsQuery = {
1161
- componentId?: string | null;
1162
- configurationId?: string | null;
1163
- include?: 'filteredMetadata'[];
1164
- metadataKeys?: string[];
1165
- };
1166
- type SearchComponentConfiguration = {
1167
- configurationId: string;
1168
- idComponent: string;
1169
- metadata?: {
1170
- id: string;
1171
- key: string;
1172
- timestamp: string;
1173
- value: string;
1174
- }[];
1407
+
1408
+ type GetConfigurationWorkspacesPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/workspaces']['get']>;
1409
+ type CreateConfigurationWorkspacePath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/workspaces']['post']>;
1410
+ type CreateConfigurationWorkspaceSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/workspaces']['post']>;
1411
+ type BackendType = Exclude<NonNullable<CreateConfigurationWorkspaceSchemaBody['backend']>, 'abs'>;
1412
+ type LoginType = NonNullable<CreateConfigurationWorkspaceSchemaBody['loginType']>;
1413
+ type ConfigurationUseCaseType = NonNullable<CreateConfigurationWorkspaceSchemaBody['useCase']>;
1414
+ type CreateConfigurationWorkspaceBody = Omit<CreateConfigurationWorkspaceSchemaBody, 'backend' | 'readOnlyStorageAccess' | 'useCase'> & {
1415
+ backend: BackendType;
1416
+ readOnlyStorageAccess: boolean;
1417
+ useCase: ConfigurationUseCaseType;
1175
1418
  };
1419
+ type CreateConfigurationWorkspaceInput = CreateConfigurationWorkspacePath & CreateConfigurationWorkspaceBody;
1176
1420
 
1421
+ type GetConfigurationMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata']['get']>;
1422
+ type SaveConfigurationMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata']['post']>;
1423
+ type SaveConfigurationMetadataSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata']['post']>;
1424
+ type DeleteConfigurationMetadataPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/metadata/{metadataId}']['delete']>;
1177
1425
  type ConfigurationMetadataItem = {
1178
1426
  id: string;
1179
1427
  key: string;
@@ -1186,35 +1434,38 @@ type SaveConfigurationMetadataBody = {
1186
1434
  value: string;
1187
1435
  }[];
1188
1436
  };
1189
- type SaveConfigurationMetadataInput = ConfigurationPath & SaveConfigurationMetadataBody;
1437
+ type SaveConfigurationMetadataInput = SaveConfigurationMetadataPath & SaveConfigurationMetadataBody;
1438
+ type DeleteConfigurationMetadataInput = DeleteConfigurationMetadataPath;
1439
+ type GetConfigurationMetadataInput = GetConfigurationMetadataPath;
1190
1440
 
1441
+ type ConfigurationVersionsSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions']['get']>;
1442
+ type ConfigurationVersionSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions/{versionId}']['get']>;
1443
+ type CopyConfigurationFromVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions/{versionId}/create']['post']>;
1444
+ type RollbackConfigurationToVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/versions/{versionId}/rollback']['post']>;
1445
+ type ConfigurationRowVersionsSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions']['get']>;
1446
+ type ConfigurationRowVersionSchemaPath = OpenapiPathType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions/{versionId}']['get']>;
1447
+ type CopyConfigurationRowFromVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions/{versionId}/create']['post']>;
1448
+ type RollbackConfigurationRowToVersionSchemaBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rows/{rowId}/versions/{versionId}/rollback']['post']>;
1191
1449
  type BranchId = number | string | 'default';
1192
- type RollbackConfigurationToVersionInput = {
1193
- versionId: number | string;
1194
- } & ConfigurationPath;
1195
- type CopyConfigurationFromVersionPath = {
1450
+ type VersionId = number | string;
1451
+ type ConfigurationVersionPath = Omit<ConfigurationVersionsSchemaPath, 'branchId'> & {
1452
+ branchId: BranchId;
1453
+ };
1454
+ type ConfigurationVersionDetailPath = Omit<ConfigurationVersionSchemaPath, 'branchId' | 'versionId'> & {
1455
+ branchId: BranchId;
1456
+ versionId: VersionId;
1457
+ };
1458
+ /** Roll a configuration back to one of its versions. Takes no request body. */
1459
+ type RollbackConfigurationToVersionInput = Omit<ConfigurationVersionSchemaPath, 'branchId' | 'versionId'> & {
1196
1460
  branchId?: BranchId;
1197
- componentId: string;
1198
- configId: string;
1199
- versionId: number | string;
1461
+ versionId: VersionId;
1200
1462
  };
1463
+ type CopyConfigurationFromVersionPath = RollbackConfigurationToVersionInput;
1201
1464
  type CopyConfigurationFromVersionBody = {
1202
1465
  name: string;
1203
1466
  description?: string;
1204
1467
  };
1205
1468
  type CopyConfigurationFromVersionInput = CopyConfigurationFromVersionPath & CopyConfigurationFromVersionBody;
1206
- type ConfigurationVersionPath = {
1207
- branchId: BranchId;
1208
- componentId: string;
1209
- configId: string;
1210
- };
1211
- type ConfigurationVersionDetailPath = ConfigurationVersionPath & {
1212
- versionId: number;
1213
- };
1214
- type CreatorToken = {
1215
- id: number;
1216
- description: string;
1217
- };
1218
1469
  type ConfigurationVersion = {
1219
1470
  version: number;
1220
1471
  created: string;
@@ -1224,6 +1475,18 @@ type ConfigurationVersion = {
1224
1475
  description: string;
1225
1476
  versionIdentifier: string;
1226
1477
  };
1478
+ /**
1479
+ * What the rollback endpoint answers with — only the new version number, and as a **string**, unlike
1480
+ * the `number` the same field carries on `ConfigurationVersion`. The inconsistency is the API's; it is
1481
+ * mirrored here rather than hidden, and the nightly smoke pins the string-ness.
1482
+ */
1483
+ type RollbackConfigurationToVersionResult = {
1484
+ version: string;
1485
+ };
1486
+ /** What the copy endpoint answers with — only the new configuration's id. */
1487
+ type CopyConfigurationFromVersionResult = {
1488
+ id: string;
1489
+ };
1227
1490
  type ConfigurationVersionDetail = ConfigurationVersion & {
1228
1491
  configuration: Record<string, unknown>;
1229
1492
  state: Record<string, unknown>;
@@ -1238,6 +1501,37 @@ type ConfigurationVersionDetail = ConfigurationVersion & {
1238
1501
  state: Record<string, unknown>;
1239
1502
  }[];
1240
1503
  };
1504
+ type ConfigurationRowVersionPath = Omit<ConfigurationRowVersionsSchemaPath, 'branchId'> & {
1505
+ branchId: BranchId;
1506
+ };
1507
+ type ConfigurationRowVersionDetailPath = Omit<ConfigurationRowVersionSchemaPath, 'branchId' | 'versionId'> & {
1508
+ branchId: BranchId;
1509
+ versionId: VersionId;
1510
+ };
1511
+ /** Roll a configuration row back to one of its versions. Takes no request body. */
1512
+ type RollbackConfigurationRowToVersionInput = Omit<ConfigurationRowVersionSchemaPath, 'branchId' | 'versionId'> & {
1513
+ branchId?: BranchId;
1514
+ versionId: VersionId;
1515
+ };
1516
+ type CopyConfigurationRowFromVersionInput = Omit<ConfigurationRowVersionSchemaPath, 'branchId' | 'versionId'> & {
1517
+ branchId?: BranchId;
1518
+ versionId: VersionId;
1519
+ };
1520
+ type ConfigurationRowVersion = {
1521
+ version: number;
1522
+ created: string;
1523
+ creatorToken: CreatorToken;
1524
+ changeDescription: string;
1525
+ name: string;
1526
+ description: string;
1527
+ isDisabled: boolean;
1528
+ versionIdentifier: string;
1529
+ };
1530
+ type ConfigurationRowVersionDetail = ConfigurationRowVersion & {
1531
+ id: string;
1532
+ configuration: Record<string, unknown>;
1533
+ state: Record<string, unknown>;
1534
+ };
1241
1535
 
1242
1536
  type CreateMergeRequestParams = OpenapiBodyType<paths['/v2/storage/merge-request']['post']>;
1243
1537
  type UpdateMergeRequestParams = OpenapiBodyType<paths['/v2/storage/merge-request/{id}']['put']>;
@@ -1264,7 +1558,7 @@ type MergeRequestDetailWithActivityLog = MergeRequestDetail & {
1264
1558
  type MergeRequestConflict = OpenapiReturnType<paths['/v2/storage/merge-request/{id}/conflicts']['get']>[number];
1265
1559
 
1266
1560
  type JobStatus = 'created' | 'waiting' | 'processing' | 'success' | 'error' | 'terminating' | 'terminated' | 'cancelled' | 'warning';
1267
- type JobOperation = 'bucketDelete' | 'bucketListingCreate' | 'bucketListingUpdate' | 'bucketListingDelete' | 'bucketShareToOrganization' | 'bucketShareToOrganizationProject' | 'bucketShareToProjects' | 'bucketShareToAdmins' | 'bucketRemoveShare' | 'bucketForceUnlink' | 'bucketRegister' | 'bucketRefresh' | 'devBranchCreate' | 'devBranchDelete' | 'workspaceDrop' | 'workspaceCreate' | 'tableDefinitionCreate' | 'tableDefinitionUpdate' | 'tableCreate' | 'tableExport' | 'tableImport' | 'tableSnapshotCreate' | 'aliasCreate' | 'devBranchTablePull' | 'tableColumnAdd' | 'tableColumnDelete' | 'tablePrimaryKeyAdd' | 'tablePrimaryKeyDelete' | 'workspaceBatchDeleteObject';
1561
+ type JobOperation = 'bucketDelete' | 'bucketListingCreate' | 'bucketListingUpdate' | 'bucketListingDelete' | 'bucketShareToOrganization' | 'bucketShareToOrganizationProject' | 'bucketShareToProjects' | 'bucketShareToAdmins' | 'bucketRemoveShare' | 'bucketForceUnlink' | 'bucketLink' | 'bucketRegister' | 'bucketRefresh' | 'devBranchCreate' | 'devBranchDelete' | 'workspaceDrop' | 'workspaceCreate' | 'workspaceOutputMappingSync' | 'tableDefinitionCreate' | 'tableDefinitionUpdate' | 'tableCreate' | 'tableExport' | 'tableImport' | 'tableSnapshotCreate' | 'aliasCreate' | 'devBranchTablePull' | 'tableColumnAdd' | 'tableColumnDelete' | 'tablePrimaryKeyAdd' | 'tablePrimaryKeyDelete' | 'workspaceBatchDeleteObjects';
1268
1562
  type JobResult<SuccessData = unknown, ErrorData = null> = {
1269
1563
  status: 'success';
1270
1564
  results: SuccessData;
@@ -1317,6 +1611,10 @@ type DeleteDevBranchJob = StorageJob<'devBranchDelete', null, {
1317
1611
  id: number;
1318
1612
  };
1319
1613
  }>;
1614
+ type WorkspaceOutputMappingSyncJob = StorageJob<'workspaceOutputMappingSync', unknown, {
1615
+ workspaceId: number;
1616
+ targetConfigurationVersion: number;
1617
+ }>;
1320
1618
  type CreateWorkspaceJob = StorageJob<'workspaceCreate', Workspace, {
1321
1619
  backend: string;
1322
1620
  backendConfiguration: [];
@@ -1400,8 +1698,17 @@ type ShareBucketToProjectsJob = StorageJob<'bucketShareToProjects', null>;
1400
1698
  type ShareBucketToAdminsJob = StorageJob<'bucketShareToAdmins', null>;
1401
1699
  type RemoveBucketShareJob = StorageJob<'bucketRemoveShare', null>;
1402
1700
  type ForceUnlinkBucketJob = StorageJob<'bucketForceUnlink', null>;
1403
- type RegisterBucketJob = StorageJob<'bucketRegister', null>;
1404
- type RefreshBucketJob = StorageJob<'bucketRefresh', null>;
1701
+ type LinkBucketJob = StorageJob<'bucketLink', BucketDetail>;
1702
+ type ExternalBucketWarning = {
1703
+ message: string;
1704
+ };
1705
+ type RegisterBucketJob = StorageJob<'bucketRegister', {
1706
+ id: string;
1707
+ warnings?: ExternalBucketWarning[];
1708
+ }>;
1709
+ type RefreshBucketJob = StorageJob<'bucketRefresh', {
1710
+ warnings?: ExternalBucketWarning[];
1711
+ }>;
1405
1712
  type WorkspaceBatchDeleteObjectResult = {
1406
1713
  deleted: {
1407
1714
  objectName: string;
@@ -1411,14 +1718,14 @@ type WorkspaceBatchDeleteObjectResult = {
1411
1718
  error: string;
1412
1719
  }[];
1413
1720
  };
1414
- type DeleteWorkspaceObjectsJob = StorageJob<'workspaceBatchDeleteObject', WorkspaceBatchDeleteObjectResult, {
1721
+ type DeleteWorkspaceObjectsJob = StorageJob<'workspaceBatchDeleteObjects', WorkspaceBatchDeleteObjectResult, {
1415
1722
  workspaceId: string;
1416
1723
  objects: string[];
1417
1724
  }, WorkspaceBatchDeleteObjectResult>;
1418
1725
  type GetJobPath = {
1419
1726
  id: number;
1420
1727
  };
1421
- type JobUnion = CreateDevBranchJob | DeleteDevBranchJob | DeleteBucketJob | BucketListingCreateJob | BucketListingUpdateJob | BucketListingDeleteJob | ShareBucketToOrganizationJob | ShareBucketToOrganizationProjectJob | ShareBucketToProjectsJob | ShareBucketToAdminsJob | RemoveBucketShareJob | ForceUnlinkBucketJob | RegisterBucketJob | RefreshBucketJob | WorkspaceDropJob | CreateWorkspaceJob | TableDefinitionCreateJob | TableDefinitionUpdateJob | TableCreateJob | TableExportJob | TableImportJob | CreateSnapshotJob | PullTableJob | AddTableColumnJob | DeleteTableColumnJob | CreateTablePrimaryKeyJob | RemoveTablePrimaryKeyJob | CreateAliasJob | DeleteWorkspaceObjectsJob;
1728
+ type JobUnion = CreateDevBranchJob | DeleteDevBranchJob | DeleteBucketJob | BucketListingCreateJob | BucketListingUpdateJob | BucketListingDeleteJob | ShareBucketToOrganizationJob | ShareBucketToOrganizationProjectJob | ShareBucketToProjectsJob | ShareBucketToAdminsJob | RemoveBucketShareJob | ForceUnlinkBucketJob | LinkBucketJob | RegisterBucketJob | RefreshBucketJob | WorkspaceDropJob | CreateWorkspaceJob | TableDefinitionCreateJob | TableDefinitionUpdateJob | TableCreateJob | TableExportJob | TableImportJob | CreateSnapshotJob | PullTableJob | AddTableColumnJob | DeleteTableColumnJob | CreateTablePrimaryKeyJob | RemoveTablePrimaryKeyJob | CreateAliasJob | DeleteWorkspaceObjectsJob;
1422
1729
  type GetJobsQuery = {
1423
1730
  created_time?: string;
1424
1731
  created_time_from?: string;
@@ -1445,12 +1752,14 @@ type JobByOperation = {
1445
1752
  bucketShareToAdmins: ShareBucketToAdminsJob;
1446
1753
  bucketRemoveShare: RemoveBucketShareJob;
1447
1754
  bucketForceUnlink: ForceUnlinkBucketJob;
1755
+ bucketLink: LinkBucketJob;
1448
1756
  bucketRegister: RegisterBucketJob;
1449
1757
  bucketRefresh: RefreshBucketJob;
1450
1758
  devBranchCreate: CreateDevBranchJob;
1451
1759
  devBranchDelete: DeleteDevBranchJob;
1452
1760
  workspaceDrop: WorkspaceDropJob;
1453
1761
  workspaceCreate: CreateWorkspaceJob;
1762
+ workspaceOutputMappingSync: WorkspaceOutputMappingSyncJob;
1454
1763
  tableDefinitionCreate: TableDefinitionCreateJob;
1455
1764
  tableDefinitionUpdate: TableDefinitionUpdateJob;
1456
1765
  tableCreate: TableCreateJob;
@@ -1463,19 +1772,26 @@ type JobByOperation = {
1463
1772
  tablePrimaryKeyAdd: CreateTablePrimaryKeyJob;
1464
1773
  tablePrimaryKeyDelete: RemoveTablePrimaryKeyJob;
1465
1774
  aliasCreate: CreateAliasJob;
1466
- workspaceBatchDeleteObject: DeleteWorkspaceObjectsJob;
1775
+ workspaceBatchDeleteObjects: DeleteWorkspaceObjectsJob;
1467
1776
  };
1468
1777
  type Job<T extends JobOperation | string = string> = T extends keyof JobByOperation ? JobByOperation[T] : JobUnion;
1469
1778
 
1470
- /** A trigger as returned by the Storage API. */
1471
1779
  type Trigger = OpenapiReturnType<paths['/v2/storage/triggers']['get']>[number];
1472
- /** Optional filters for `GET /v2/storage/triggers`. */
1473
- type ListTriggersQuery = OpenapiQueryType<paths['/v2/storage/triggers']['get']>;
1474
- /** Body for `POST /v2/storage/triggers`. */
1780
+ type GetTriggersQuery = OpenapiQueryType<paths['/v2/storage/triggers']['get']>;
1475
1781
  type CreateTriggerBody = OpenapiBodyType<paths['/v2/storage/triggers']['post']>;
1476
- /** Body for `PUT /v2/storage/triggers/{triggerId}`. */
1477
- type UpdateTriggerBody = OpenapiBodyType<paths['/v2/storage/triggers/{triggerId}']['put']>;
1782
+ type UpdateTriggerRequest = OpenapiBodyType<paths['/v2/storage/triggers/{triggerId}']['put']>;
1783
+ type UpdateTriggerBody = Partial<UpdateTriggerRequest>;
1784
+ type UpdateTriggerInput = {
1785
+ triggerId: Trigger['id'];
1786
+ } & UpdateTriggerBody;
1478
1787
 
1788
+ type GlobalSearchSchemaQuery = OpenapiQueryType<paths['/v2/storage/global-search']['get']>;
1789
+ type SearchTablesSchemaQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/search/tables']['get']>>;
1790
+ /**
1791
+ * Object types the `types` filter accepts, spec-derived so the allow-list can't drift. Narrower than
1792
+ * `GlobalSearchItemType`: the spec has no `component` filter, though a hit can carry that type.
1793
+ */
1794
+ type GlobalSearchFilterType = NonNullable<GlobalSearchSchemaQuery['types[]']>[number];
1479
1795
  /** Result categories returned by global search. */
1480
1796
  type GlobalSearchItemType = 'flow' | 'bucket' | 'table' | 'transformation' | 'component' | 'configuration' | 'configuration-row' | 'workspace' | 'shared-code';
1481
1797
  /** A single global-search hit. */
@@ -1515,15 +1831,14 @@ type GlobalSearchItem = {
1515
1831
  };
1516
1832
  };
1517
1833
  /**
1518
- * Query for `GET /v2/storage/global-search`. The generated schema stubs this operation, so the
1519
- * query/response are hand-authored from the Storage API contract.
1834
+ * Query for `GET /v2/storage/global-search`. Derived from the spec, minus its `[]` suffixes: the
1835
+ * document names every repeatable filter the way PHP receives it (`types[]`), which is
1836
+ * wire-serialization detail rather than something a caller should have to type — `globalSearch` casts
1837
+ * back. `branchTypes` also stays `string[]` where the spec says `('production' | 'development')[]`,
1838
+ * because callers build it from a set of filter strings.
1520
1839
  */
1521
- type GlobalSearchQuery = {
1522
- query: string;
1523
- limit?: number;
1524
- offset?: number;
1525
- mode?: 'regex';
1526
- types?: GlobalSearchItemType[];
1840
+ type GlobalSearchQuery = Omit<GlobalSearchSchemaQuery, 'types[]' | 'projectIds[]' | 'branchTypes[]' | 'branchIds[]'> & {
1841
+ types?: GlobalSearchFilterType[];
1527
1842
  projectIds?: number[];
1528
1843
  branchTypes?: string[];
1529
1844
  branchIds?: number[];
@@ -1536,6 +1851,44 @@ type GlobalSearchResponse = {
1536
1851
  } & Partial<Record<GlobalSearchItemType, number>>;
1537
1852
  byProject: Record<number, string>;
1538
1853
  };
1854
+ /**
1855
+ * Query for `GET /v2/storage/search/tables`. Two tightenings on top of the spec: at least one of the
1856
+ * three metadata filters is required (the endpoint answers 400 without one), and `include` narrows
1857
+ * from `string | string[]` to the one documented value, sent comma-joined like every other table read.
1858
+ */
1859
+ type SearchTablesQuery = Omit<SearchTablesSchemaQuery, 'include' | 'metadataKey' | 'metadataValue' | 'metadataProvider'> & {
1860
+ include?: 'buckets'[];
1861
+ } & ({
1862
+ metadataKey: string;
1863
+ } | {
1864
+ metadataValue: string;
1865
+ } | {
1866
+ metadataProvider: string;
1867
+ });
1868
+
1869
+ type CreateSnapshotBody = OpenapiBodyType<paths['/v2/storage/branch/{branchId}/tables/{id}/snapshots']['post']>;
1870
+ type GetSnapshotsQuery = NonNullable<OpenapiQueryType<paths['/v2/storage/branch/{branchId}/tables/{id}/snapshots']['get']>>;
1871
+ /**
1872
+ * A table snapshot. The schema types the list items as a bare `Record<string, never>` because the
1873
+ * backend OpenAPI declares them as plain objects — this is the real shape.
1874
+ */
1875
+ type Snapshot = {
1876
+ id: string;
1877
+ description: string;
1878
+ created: string;
1879
+ creatorToken: {
1880
+ id: number;
1881
+ description: string;
1882
+ };
1883
+ };
1884
+ type CreateSnapshotInput = {
1885
+ branchId: string;
1886
+ tableId: string;
1887
+ } & CreateSnapshotBody;
1888
+ type GetTableSnapshotsInput = {
1889
+ branchId: string;
1890
+ tableId: string;
1891
+ } & GetSnapshotsQuery;
1539
1892
 
1540
1893
  /** A table entry in run stats. Consumers currently only count entries; `id` identifies the table. */
1541
1894
  type RunIdTableStat = {
@@ -1555,13 +1908,11 @@ type RunIdStats = {
1555
1908
  };
1556
1909
  };
1557
1910
  };
1558
- type GetRunIdStatsQuery = {
1559
- runId: string;
1560
- };
1561
1911
 
1562
1912
  type GetStackInfoQuery = {
1563
1913
  exclude: 'componentDetails';
1564
1914
  };
1915
+ type MetadataId = string | number;
1565
1916
  type ServiceId = 'vault' | 'data-science' | 'encryption' | 'telemetry' | 'ai' | 'editor' | 'import' | 'oauth' | 'query' | 'queue' | 'kai-assistant' | 'kai-agent' | 'sync-actions' | 'stream' | 'notification' | 'scheduler' | 'metastore';
1566
1917
  type Service = {
1567
1918
  id: ServiceId;
@@ -1595,4 +1946,4 @@ type StackInfo = {
1595
1946
  };
1596
1947
  type PartialKey<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
1597
1948
 
1598
- export type { AddFileTagBody, AddTableColumnBody, BackendType, BaseComponentConfig, BranchId$2 as BranchId, BranchMetadata, BranchMetadataEntry, BranchMetadataRaw, Bucket, BucketBackend, BucketDetail, BucketListing, BucketMetadata, BucketOwner, BucketRegistrationGuide, BucketRegistrationGuideQuery, BucketShared, BucketStage, Component, ComponentConfig, ComponentData, ComponentDataTypesConfiguration, ComponentDefinition, ComponentLogging, ComponentProcessorConfiguration, ComponentStagingStorage, ComponentType, ComponentVendor, ConfigType, ConfigurationDiff, ConfigurationDiffContent, ConfigurationDiffPath, ConfigurationDiffRow, ConfigurationDiffSide, ConfigurationDiffSideContent, ConfigurationMetadataItem, ConfigurationPath, ConfigurationRowDiff, ConfigurationRowDiffPath, ConfigurationRowDiffSide, ConfigurationUseCaseType, ConfigurationVersion, ConfigurationVersionDetail, ConfigurationVersionDetailPath, ConfigurationVersionPath, CopyConfigurationFromVersionBody, CopyConfigurationFromVersionInput, CopyConfigurationFromVersionPath, CreateAliasTableBody, CreateBucketBody, CreateBucketListingInput, CreateConfigurationBody, CreateConfigurationInput, CreateConfigurationRowBody, CreateConfigurationRowInput, CreateConfigurationRowPath, CreateConfigurationRowsInput, CreateConfigurationWorkspaceBody, CreateConfigurationWorkspaceQuery, CreateDevBranchJobBody, CreateEventBody, CreateMergeRequestParams, CreateScheduledRefreshBody, CreateScheduledRefreshPath, CreateSnapshotBody, CreateTableAsyncBody, CreateTableAsyncFromFileBody, CreateTableDefinitionBody, CreateTablePrimaryKeyBody, CreateTriggerBody, DeleteConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowPath, DeleteConfigurationRowsInput, DeleteFileTagPath, DeleteTableColumnQuery, DeleteTableRows, DeleteWorkspaceObjectBody, DeleteWorkspaceObjectInput, DeleteWorkspaceQuery, DevBranch, DevBranchPath, EventPath, EventType, File, FilePath, FilterOperator, GetBucketsQuery, GetComponentPath, GetComponentsPath, GetComponentsQuery, GetConfigurationsPath, GetDataPreview, GetEventsQuery, GetFilesQuery, GetJobPath, GetJobsQuery, GetRunIdStatsQuery, GetSearchComponentConfigurationsPath, GetStackInfoQuery, GetTableEventsQuery, GetTablesQuery, GetWorkspaceSaml2LoginPath, GlobalSearchItem, GlobalSearchItemType, GlobalSearchQuery, GlobalSearchResponse, Job, JobOperation, JobStatus, JobUnion, ListTriggersQuery, LoginType, MergeRequest, MergeRequestActivityEventType, MergeRequestActivityLogEntry, MergeRequestChangeLog, MergeRequestChangeLogEntry, MergeRequestConflict, MergeRequestDetail, MergeRequestDetailWithActivityLog, MergeRequestReviewer, MergeRequestReviewerStatus, Metadata, PartialKey, PrepareFileBody, PreparedFile, PrevieData, PreviewData, RawBucketListingResponse, RawBucketListingRow, RebaseConfigurationBody, RebaseConfigurationInput, RebaseConfigurationPath, RebaseConfigurationRow, RefreshExternalBucketQuery, RegisterBucketBody, ResetWorkspacePassword, RollbackConfigurationToVersionInput, Row, RunIdStats, RunIdTableStat, SaveBucketMetadataBody, SaveConfigurationMetadataBody, SaveConfigurationMetadataInput, SaveMetadataBody, ScheduledTask, SearchComponentConfiguration, SearchComponentConfigurationsQuery, Service, ServiceId, SetAliasTableFilterBody, SetWorkspacePublicInput, SetWorkspacePublicKeyBody, SetWorkspacePublicKeyPath, ShareBucketToProjectsBody, ShareBucketToUsersBody, SharedBuckets, Snapshot, StackComponent, StackInfo, StorageEvent, Subscriber, Table, TableCreateJob, TableDetail, TableEvent, TableEventPath, TableExportAsyncBody, TableExportJob, TableImportAsyncBody, TableImportJob, Trigger, UnloadWorkspaceInput, UnloadWorkspacePath, UnloadWorkspaceQuery, UpdateBucketBody, UpdateBucketListingInput, UpdateBucketOwnerBody, UpdateConfigurationBody, UpdateConfigurationInput, UpdateConfigurationRequestBody, UpdateMergeRequestParams, UpdateTableBody, UpdateTableDefinitionBody, UpdateTableDefinitionInput, UpdateTableDefinitionPath, UpdateTriggerBody, WhereFilters, Workspace, WorkspaceConnection, WorkspaceInputMappingLoadPreviewBody, WorkspaceInputMappingLoadPreviewInput, WorkspaceInputMappingLoadPreviewResponse, WorkspaceLoginType, WorkspaceObject, WorkspacePath, WorkspaceSaml2Login, WorkspacesPath, WrDbRow };
1949
+ export type { AddFileTagBody, AddTableColumnBody, AddTableColumnInput, AddTableColumnPath, AddTableColumnSchemaBody, BackendType, BaseComponentConfig, BranchId$3 as BranchId, BranchMetadataEntry, BranchMetadataRaw, Bucket, BucketBackend, BucketDetail, BucketListingDetail, BucketMetadata, BucketOwner, BucketRegistrationGuide, BucketRegistrationGuideQuery, BucketRegistrationGuideSchemaQuery, BucketShared, BucketStage, Component, ComponentConfig, ComponentData, ComponentDataTypesConfiguration, ComponentDefinition, ComponentLogging, ComponentProcessorConfiguration, ComponentStagingStorage, ComponentType, ComponentVendor, ConfigType, ConfigurationDiff, ConfigurationDiffContent, ConfigurationDiffPath, ConfigurationDiffRow, ConfigurationDiffSide, ConfigurationDiffSideContent, ConfigurationMetadataItem, ConfigurationPath, ConfigurationRowVersion, ConfigurationRowVersionDetail, ConfigurationRowVersionDetailPath, ConfigurationRowVersionPath, ConfigurationRowVersionSchemaPath, ConfigurationRowVersionsSchemaPath, ConfigurationUseCaseType, ConfigurationVersion, ConfigurationVersionDetail, ConfigurationVersionDetailPath, ConfigurationVersionPath, ConfigurationVersionSchemaPath, ConfigurationVersionsSchemaPath, CopyConfigurationFromVersionBody, CopyConfigurationFromVersionInput, CopyConfigurationFromVersionPath, CopyConfigurationFromVersionResult, CopyConfigurationFromVersionSchemaBody, CopyConfigurationRowFromVersionInput, CopyConfigurationRowFromVersionSchemaBody, CreateAliasTableBody, CreateAliasTableInput, CreateBucketBody, CreateBucketListingBody, CreateBucketListingInput, CreateBucketListingPath, CreateBucketListingSchemaBody, CreateBucketSchemaBody, CreateConfigurationBody, CreateConfigurationInput, CreateConfigurationRowBody, CreateConfigurationRowInput, CreateConfigurationRowPath, CreateConfigurationRowSchemaBody, CreateConfigurationRowsInput, CreateConfigurationSchemaBody, CreateConfigurationWorkspaceBody, CreateConfigurationWorkspaceInput, CreateConfigurationWorkspacePath, CreateConfigurationWorkspaceSchemaBody, CreateDevBranchBody, CreateDevBranchSchemaBody, CreateEventBody, CreateMergeRequestParams, CreateScheduledRefreshBody, CreateScheduledRefreshInput, CreateScheduledRefreshPath, CreateSnapshotBody, CreateSnapshotInput, CreateTableAsyncBody, CreateTableAsyncFromFileBody, CreateTableAsyncInput, CreateTableAsyncSchemaBody, CreateTableDefinitionBody, CreateTableDefinitionInput, CreateTableDefinitionSchemaBody, CreateTablePrimaryKeyBody, CreateTablePrimaryKeyInput, CreateTablePrimaryKeyPath, CreateTablePrimaryKeySchemaBody, CreateTriggerBody, CreatorToken, DeleteBucketAsyncInput, DeleteBucketMetadataInput, DeleteColumnMetadataInput, DeleteConfigurationInput, DeleteConfigurationMetadataInput, DeleteConfigurationMetadataPath, DeleteConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowPath, DeleteConfigurationRowSchemaBody, DeleteConfigurationRowsInput, DeleteDevBranchMetadataPath, DeleteDevBranchMetadataSchemaPath, DeleteFileTagPath, DeleteTableColumnInput, DeleteTableColumnPath, DeleteTableColumnQuery, DeleteTableMetadataInput, DeleteTableRows, DeleteTableRowsInput, DeleteTableRowsSchemaQuery, DeleteWorkspaceObjectBody, DeleteWorkspaceObjectInput, DeleteWorkspaceQuery, DevBranch, DevBranchPath, EventPath, EventType, ExportAsyncInput, File, FilePath, FilterOperator, ForceUnlinkBucketInput, ForceUnlinkBucketSchemaPath, ForceUnlinkBucketSchemaQuery, GetBucketEventsInput, GetBucketInput, GetBucketOwnerInput, GetBucketQuery, GetBucketsInput, GetBucketsQuery, GetBucketsSchemaQuery, GetComponentPath, GetComponentSchemaPath, GetComponentsInput, GetComponentsPath, GetComponentsQuery, GetComponentsSchemaPath, GetComponentsSchemaQuery, GetConfigurationMetadataInput, GetConfigurationMetadataPath, GetConfigurationRowInput, GetConfigurationRowPath, GetConfigurationWorkspacesPath, GetConfigurationsPath, GetDataPreviewInput, GetDataPreviewQuery, GetDataPreviewSchemaQuery, GetEventsQuery, GetFilesQuery, GetJobPath, GetJobsQuery, GetObjectEventsQuery, GetSearchComponentConfigurationsPath, GetSnapshotsQuery, GetStackInfoQuery, GetTableEventsInput, GetTableInput, GetTableSnapshotsInput, GetTablesInput, GetTablesQuery, GetTablesSchemaQuery, GetTriggersQuery, GetWorkspaceSaml2LoginPath, GlobalSearchFilterType, GlobalSearchItem, GlobalSearchItemType, GlobalSearchQuery, GlobalSearchResponse, GlobalSearchSchemaQuery, ImportAsyncInput, Job, JobOperation, JobStatus, JobUnion, LinkBucketBody, LinkBucketSchemaBody, LoginType, MergeRequest, MergeRequestActivityEventType, MergeRequestActivityLogEntry, MergeRequestChangeLog, MergeRequestChangeLogEntry, MergeRequestConflict, MergeRequestDetail, MergeRequestDetailWithActivityLog, MergeRequestReviewer, MergeRequestReviewerStatus, Metadata, MetadataId, PartialKey, PrepareFileBody, PreparedFile, PrevieData, PreviewData, ProjectBucketListing, PullTableAsyncInput, PurgeConfigurationInput, PurgeConfigurationsInput, RebaseConfigurationBody, RebaseConfigurationDiff, RebaseConfigurationInput, RebaseConfigurationPath, RebaseConfigurationRow, RebaseConfigurationSchemaBody, RefreshExternalBucketInput, RefreshExternalBucketQuery, RegisterBucketBody, RegisterBucketSchemaBody, RegisterBucketSchemaQuery, ResetWorkspacePassword, RollbackConfigurationRowToVersionInput, RollbackConfigurationRowToVersionSchemaBody, RollbackConfigurationToVersionInput, RollbackConfigurationToVersionResult, RollbackConfigurationToVersionSchemaBody, Row, RunIdStats, RunIdTableStat, SaveBucketMetadataBody, SaveBucketMetadataInput, SaveColumnMetadataInput, SaveConfigurationMetadataBody, SaveConfigurationMetadataInput, SaveConfigurationMetadataPath, SaveConfigurationMetadataSchemaBody, SaveDevBranchMetadataInput, SaveDevBranchMetadataPath, SaveMetadataBody, SaveTableMetadataInput, SaveTableMetadataSchemaBody, ScheduledTask, SearchComponentConfiguration, SearchComponentConfigurationsInput, SearchComponentConfigurationsQuery, SearchComponentConfigurationsSchemaQuery, SearchTablesQuery, SearchTablesSchemaQuery, Service, ServiceId, SetAliasTableFilterBody, SetAliasTableFilterInput, SetWorkspacePublicInput, SetWorkspacePublicKeyBody, SetWorkspacePublicKeyPath, ShareBucketToOrganizationInput, ShareBucketToOrganizationProjectInput, ShareBucketToOrganizationProjectSchemaQuery, ShareBucketToOrganizationSchemaQuery, ShareBucketToProjectsBody, ShareBucketToProjectsInput, ShareBucketToProjectsPath, ShareBucketToProjectsSchemaBody, ShareBucketToProjectsSchemaQuery, ShareBucketToUsersBody, ShareBucketToUsersInput, ShareBucketToUsersPath, ShareBucketToUsersSchemaBody, ShareBucketToUsersSchemaQuery, SharedBuckets, Snapshot, StackComponent, StackInfo, StorageEvent, Subscriber, Table, TableCreateJob, TableDetail, TableEvent, TableExportAsyncBody, TableExportJob, TableImportAsyncBody, TableImportJob, TableMetadataResponse, Trigger, UnloadWorkspaceInput, UnloadWorkspacePath, UnloadWorkspaceQuery, UnshareBucketInput, UnshareBucketSchemaQuery, UpdateBucketBody, UpdateBucketInput, UpdateBucketListingBody, UpdateBucketListingInput, UpdateBucketListingPath, UpdateBucketListingSchemaBody, UpdateBucketOwnerBody, UpdateBucketOwnerInput, UpdateBucketOwnerSchemaBody, UpdateConfigurationBody, UpdateConfigurationInput, UpdateConfigurationResult, UpdateConfigurationRowBody, UpdateConfigurationRowInput, UpdateConfigurationRowPath, UpdateConfigurationRowSchemaBody, UpdateConfigurationRowStateBody, UpdateConfigurationRowStateInput, UpdateConfigurationRowStatePath, UpdateConfigurationRowStateSchemaBody, UpdateConfigurationSchemaBody, UpdateConfigurationSchemaQuery, UpdateConfigurationStateBody, UpdateConfigurationStateInput, UpdateConfigurationStateSchemaBody, UpdateDevBranchInput, UpdateDevBranchSchemaBody, UpdateMergeRequestParams, UpdateTableBody, UpdateTableDefinitionBody, UpdateTableDefinitionInput, UpdateTableDefinitionSchemaBody, UpdateTableInput, UpdateTriggerBody, UpdateTriggerInput, UpdateTriggerRequest, WhereFilters, Workspace, WorkspaceConnection, WorkspaceInputMappingLoadPreviewBody, WorkspaceInputMappingLoadPreviewInput, WorkspaceInputMappingLoadPreviewResponse, WorkspaceLoginType, WorkspaceObject, WorkspacePath, WorkspaceSaml2Login, WorkspacesPath, WrDbRow };