@keboola/api-client 25.0.0 → 29.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 (812) hide show
  1. package/AGENTS.md +623 -0
  2. package/API-SURFACE.md +133 -57
  3. package/README.md +81 -42
  4. package/dist/ManagementClientAuthError-B97OtOQ7.js +15 -0
  5. package/dist/ManagementClientAuthError-B97OtOQ7.js.map +1 -0
  6. package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs +20 -0
  7. package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs.map +1 -0
  8. package/dist/QueryJobTimeoutError-C7JbNGOM.js +38 -0
  9. package/dist/QueryJobTimeoutError-C7JbNGOM.js.map +1 -0
  10. package/dist/QueryJobTimeoutError-CVNPdCWX.cjs +61 -0
  11. package/dist/QueryJobTimeoutError-CVNPdCWX.cjs.map +1 -0
  12. package/dist/SyncActionError-BG0zwchi.cjs +35 -0
  13. package/dist/SyncActionError-BG0zwchi.cjs.map +1 -0
  14. package/dist/SyncActionError-CoZFsdUk.js +24 -0
  15. package/dist/SyncActionError-CoZFsdUk.js.map +1 -0
  16. package/dist/UserError-By_Zckmc.js +10 -0
  17. package/dist/UserError-By_Zckmc.js.map +1 -0
  18. package/dist/UserError-CSGO1qII.cjs +15 -0
  19. package/dist/UserError-CSGO1qII.cjs.map +1 -0
  20. package/dist/ValidationError-CzPWydEb.js +44 -0
  21. package/dist/ValidationError-CzPWydEb.js.map +1 -0
  22. package/dist/ValidationError-h5qvwahi.cjs +61 -0
  23. package/dist/ValidationError-h5qvwahi.cjs.map +1 -0
  24. package/dist/adminRoles-B40yBcmq.js +14 -0
  25. package/dist/adminRoles-B40yBcmq.js.map +1 -0
  26. package/dist/adminRoles-C696kD_U.d.cts +14 -0
  27. package/dist/adminRoles-C696kD_U.d.ts +14 -0
  28. package/dist/adminRoles-CO7J5qAy.cjs +19 -0
  29. package/dist/adminRoles-CO7J5qAy.cjs.map +1 -0
  30. package/dist/ai/index.cjs +62 -12
  31. package/dist/ai/index.cjs.map +1 -1
  32. package/dist/ai/index.d.cts +52 -50
  33. package/dist/ai/index.d.ts +52 -50
  34. package/dist/ai/index.js +62 -4
  35. package/dist/ai/index.js.map +1 -1
  36. package/dist/ai/types.cjs +0 -4
  37. package/dist/ai/types.d.cts +2 -2
  38. package/dist/ai/types.d.ts +2 -2
  39. package/dist/ai/types.js +1 -3
  40. package/dist/appLogs-CNG3yby-.cjs +153 -0
  41. package/dist/appLogs-CNG3yby-.cjs.map +1 -0
  42. package/dist/appLogs-Dl5BcCSD.d.cts +10 -0
  43. package/dist/appLogs-VdgP08aX.d.ts +10 -0
  44. package/dist/appLogs-enL9XR9r.js +132 -0
  45. package/dist/appLogs-enL9XR9r.js.map +1 -0
  46. package/dist/apps/index.cjs +231 -0
  47. package/dist/apps/index.cjs.map +1 -0
  48. package/dist/apps/index.d.cts +248 -0
  49. package/dist/apps/index.d.ts +248 -0
  50. package/dist/apps/index.js +230 -0
  51. package/dist/apps/index.js.map +1 -0
  52. package/dist/apps/types.cjs +0 -0
  53. package/dist/apps/types.d.cts +3 -0
  54. package/dist/apps/types.d.ts +3 -0
  55. package/dist/apps/types.js +1 -0
  56. package/dist/assets/index.cjs +33 -38
  57. package/dist/assets/index.cjs.map +1 -1
  58. package/dist/assets/index.d.cts +22 -22
  59. package/dist/assets/index.d.ts +22 -22
  60. package/dist/assets/index.js +32 -36
  61. package/dist/assets/index.js.map +1 -1
  62. package/dist/assets/schema.cjs +23 -13
  63. package/dist/assets/schema.cjs.map +1 -1
  64. package/dist/assets/schema.d.cts +29 -28
  65. package/dist/assets/schema.d.ts +29 -28
  66. package/dist/assets/schema.js +21 -2
  67. package/dist/assets/schema.js.map +1 -1
  68. package/dist/auth/index.cjs +14 -53
  69. package/dist/auth/index.d.cts +2 -305
  70. package/dist/auth/index.d.ts +2 -305
  71. package/dist/auth/index.js +2 -4
  72. package/dist/auth/types.cjs +0 -4
  73. package/dist/auth/types.d.cts +2 -7
  74. package/dist/auth/types.d.ts +2 -7
  75. package/dist/auth/types.js +1 -3
  76. package/dist/auth-5HCvCsZO.cjs +18 -0
  77. package/dist/auth-5HCvCsZO.cjs.map +1 -0
  78. package/dist/auth-D2jfNlpX.js +13 -0
  79. package/dist/{chunk-EDX5D6UY.js.map → auth-D2jfNlpX.js.map} +1 -1
  80. package/dist/authClient-Bgj2Ay7h.d.cts +320 -0
  81. package/dist/authClient-DOk6VKdV.js +332 -0
  82. package/dist/authClient-DOk6VKdV.js.map +1 -0
  83. package/dist/authClient-Dsd7W99W.d.ts +320 -0
  84. package/dist/authClient-Z8Eg8rlN.cjs +405 -0
  85. package/dist/authClient-Z8Eg8rlN.cjs.map +1 -0
  86. package/dist/backends-DKBz5OxE.d.cts +9 -0
  87. package/dist/backends-DKBz5OxE.d.ts +9 -0
  88. package/dist/chat/index.cjs +134 -13
  89. package/dist/chat/index.cjs.map +1 -1
  90. package/dist/chat/index.d.cts +49 -48
  91. package/dist/chat/index.d.ts +49 -48
  92. package/dist/chat/index.js +134 -5
  93. package/dist/chat/index.js.map +1 -1
  94. package/dist/chat/suggestions.cjs +152 -74
  95. package/dist/chat/suggestions.cjs.map +1 -1
  96. package/dist/chat/suggestions.d.cts +2 -437
  97. package/dist/chat/suggestions.d.ts +2 -437
  98. package/dist/chat/suggestions.js +136 -2
  99. package/dist/chat/suggestions.js.map +1 -1
  100. package/dist/chat/types.cjs +6 -8
  101. package/dist/chat/types.cjs.map +1 -1
  102. package/dist/chat/types.d.cts +2 -3
  103. package/dist/chat/types.d.ts +2 -3
  104. package/dist/chat/types.js +5 -6
  105. package/dist/chat/types.js.map +1 -1
  106. package/dist/componentId-DkyQ8PM0.cjs +73 -0
  107. package/dist/componentId-DkyQ8PM0.cjs.map +1 -0
  108. package/dist/componentId-vJz-kWs6.js +68 -0
  109. package/dist/componentId-vJz-kWs6.js.map +1 -0
  110. package/dist/concurrent-CH9fbNr3.js +34 -0
  111. package/dist/concurrent-CH9fbNr3.js.map +1 -0
  112. package/dist/concurrent-tbiIa0UL.cjs +39 -0
  113. package/dist/concurrent-tbiIa0UL.cjs.map +1 -0
  114. package/dist/configurations-Byt59bIa.js +726 -0
  115. package/dist/{chunk-IAYPOSMM.cjs.map → configurations-Byt59bIa.js.map} +1 -1
  116. package/dist/configurations-CujCwDcB.cjs +743 -0
  117. package/dist/configurations-CujCwDcB.cjs.map +1 -0
  118. package/dist/configurations-DCOJONZZ.cjs +313 -0
  119. package/dist/configurations-DCOJONZZ.cjs.map +1 -0
  120. package/dist/configurations-iCbhe0tb.js +158 -0
  121. package/dist/configurations-iCbhe0tb.js.map +1 -0
  122. package/dist/constants/index.cjs +10 -34
  123. package/dist/constants/index.d.cts +4 -92
  124. package/dist/constants/index.d.ts +4 -92
  125. package/dist/constants/index.js +4 -5
  126. package/dist/constants-CqyyBkXW.cjs +197 -0
  127. package/dist/constants-CqyyBkXW.cjs.map +1 -0
  128. package/dist/constants-_HhqKvBg.js +174 -0
  129. package/dist/constants-_HhqKvBg.js.map +1 -0
  130. package/dist/createFetchClient-BK0TZK-U.js +184 -0
  131. package/dist/createFetchClient-BK0TZK-U.js.map +1 -0
  132. package/dist/createFetchClient-BsG719K1.cjs +263 -0
  133. package/dist/createFetchClient-BsG719K1.cjs.map +1 -0
  134. package/dist/createGenericFetchClient-CVZYekDk.js +7 -0
  135. package/dist/createGenericFetchClient-CVZYekDk.js.map +1 -0
  136. package/dist/createGenericFetchClient-DLbjX0eM.cjs +12 -0
  137. package/dist/createGenericFetchClient-DLbjX0eM.cjs.map +1 -0
  138. package/dist/createOpenapiFetchClient-B5U1fCHS.js +7 -0
  139. package/dist/createOpenapiFetchClient-B5U1fCHS.js.map +1 -0
  140. package/dist/createOpenapiFetchClient-Cr90VXY4.cjs +12 -0
  141. package/dist/createOpenapiFetchClient-Cr90VXY4.cjs.map +1 -0
  142. package/dist/createStore-BNiCRQXa.js +148 -0
  143. package/dist/createStore-BNiCRQXa.js.map +1 -0
  144. package/dist/createStore-MQbboXcB.cjs +177 -0
  145. package/dist/createStore-MQbboXcB.cjs.map +1 -0
  146. package/dist/credential-0c6yFwtp.cjs +44 -0
  147. package/dist/credential-0c6yFwtp.cjs.map +1 -0
  148. package/dist/credential-kEGLnVez.js +33 -0
  149. package/dist/credential-kEGLnVez.js.map +1 -0
  150. package/dist/dataScience/index.cjs +5 -19
  151. package/dist/dataScience/index.d.cts +3 -207
  152. package/dist/dataScience/index.d.ts +3 -207
  153. package/dist/dataScience/index.js +3 -6
  154. package/dist/dataScience/types.cjs +0 -4
  155. package/dist/dataScience/types.d.cts +3 -2
  156. package/dist/dataScience/types.d.ts +3 -2
  157. package/dist/dataScience/types.js +1 -3
  158. package/dist/dataScience-C-JrA0Uk.cjs +114 -0
  159. package/dist/dataScience-C-JrA0Uk.cjs.map +1 -0
  160. package/dist/dataScience-CE0pSWbl.js +109 -0
  161. package/dist/dataScience-CE0pSWbl.js.map +1 -0
  162. package/dist/dedupe-CiskLkGR.cjs +30 -0
  163. package/dist/dedupe-CiskLkGR.cjs.map +1 -0
  164. package/dist/dedupe-DYIHgZoG.js +25 -0
  165. package/dist/dedupe-DYIHgZoG.js.map +1 -0
  166. package/dist/developerPortal/index.cjs +6 -0
  167. package/dist/developerPortal/index.d.cts +3 -0
  168. package/dist/developerPortal/index.d.ts +3 -0
  169. package/dist/developerPortal/index.js +2 -0
  170. package/dist/developerPortal/types.cjs +0 -0
  171. package/dist/developerPortal/types.d.cts +2 -0
  172. package/dist/developerPortal/types.d.ts +2 -0
  173. package/dist/developerPortal/types.js +1 -0
  174. package/dist/developerPortalClient-BPPEAdJW.js +485 -0
  175. package/dist/developerPortalClient-BPPEAdJW.js.map +1 -0
  176. package/dist/developerPortalClient-C8oq48xW.cjs +508 -0
  177. package/dist/developerPortalClient-C8oq48xW.cjs.map +1 -0
  178. package/dist/domain/permissions/index.cjs +31 -122
  179. package/dist/domain/permissions/index.d.cts +19 -51
  180. package/dist/domain/permissions/index.d.ts +19 -51
  181. package/dist/domain/permissions/index.js +3 -5
  182. package/dist/domain/storageTable/index.cjs +4 -16
  183. package/dist/domain/storageTable/index.d.cts +2 -131
  184. package/dist/domain/storageTable/index.d.ts +2 -131
  185. package/dist/domain/storageTable/index.js +2 -3
  186. package/dist/editor/index.cjs +96 -12
  187. package/dist/editor/index.cjs.map +1 -1
  188. package/dist/editor/index.d.cts +163 -161
  189. package/dist/editor/index.d.ts +163 -161
  190. package/dist/editor/index.js +96 -4
  191. package/dist/editor/index.js.map +1 -1
  192. package/dist/editor/types.cjs +0 -4
  193. package/dist/editor/types.d.cts +2 -2
  194. package/dist/editor/types.d.ts +2 -2
  195. package/dist/editor/types.js +1 -3
  196. package/dist/encryption/index.cjs +58 -11
  197. package/dist/encryption/index.cjs.map +1 -1
  198. package/dist/encryption/index.d.cts +2 -18
  199. package/dist/encryption/index.d.ts +2 -18
  200. package/dist/encryption/index.js +58 -3
  201. package/dist/encryption/index.js.map +1 -1
  202. package/dist/encryption/types.cjs +0 -4
  203. package/dist/encryption/types.d.cts +2 -68
  204. package/dist/encryption/types.d.ts +2 -68
  205. package/dist/encryption/types.js +1 -3
  206. package/dist/generateUUID-C6qKBPIv.cjs +11 -0
  207. package/dist/generateUUID-C6qKBPIv.cjs.map +1 -0
  208. package/dist/generateUUID-Dr8l-aoc.js +6 -0
  209. package/dist/generateUUID-Dr8l-aoc.js.map +1 -0
  210. package/dist/import/index.cjs +3 -14
  211. package/dist/import/index.d.cts +41 -38
  212. package/dist/import/index.d.ts +41 -38
  213. package/dist/import/index.js +2 -5
  214. package/dist/import-Cf0W-7YD.js +116 -0
  215. package/dist/import-Cf0W-7YD.js.map +1 -0
  216. package/dist/import-KLH1uRtx.cjs +121 -0
  217. package/dist/import-KLH1uRtx.cjs.map +1 -0
  218. package/dist/index-8pN6Emos.d.ts +218 -0
  219. package/dist/index-BEKaJ7Cc.d.cts +1388 -0
  220. package/dist/index-BMqLPS6S.d.cts +135 -0
  221. package/dist/index-BMqLPS6S.d.ts +135 -0
  222. package/dist/index-BWBScAYc.d.cts +16 -0
  223. package/dist/index-BmjeNd9u.d.ts +1075 -0
  224. package/dist/index-BthgbVdd.d.ts +31 -0
  225. package/dist/index-CLPrlyIz.d.cts +218 -0
  226. package/dist/index-CXQRvZ-f.d.cts +31 -0
  227. package/dist/index-CeistZnj.d.ts +1388 -0
  228. package/dist/index-Cfrl7sd5.d.ts +65 -0
  229. package/dist/index-DIM8KZly.d.ts +16 -0
  230. package/dist/index-DNlX-H1V.d.ts +208 -0
  231. package/dist/index-DVsnxZap.d.cts +65 -0
  232. package/dist/index-DXi6wsr5.d.cts +77 -0
  233. package/dist/index-DYQt4zxC.d.ts +77 -0
  234. package/dist/index-DplMbm9E.d.cts +19882 -0
  235. package/dist/index-Dwp8tF6O.d.ts +19882 -0
  236. package/dist/index-IN0qzs52.d.cts +208 -0
  237. package/dist/index-KKJkrxjx.d.ts +26 -0
  238. package/dist/index-NC1dXRTD.d.cts +40 -0
  239. package/dist/index-NC1dXRTD.d.ts +40 -0
  240. package/dist/index-WQkVzx5e.d.cts +1075 -0
  241. package/dist/index-eEBVG5s3.d.cts +26 -0
  242. package/dist/index-vb9Rfqca.d.cts +115 -0
  243. package/dist/index-vb9Rfqca.d.ts +115 -0
  244. package/dist/index.cjs +1728 -1802
  245. package/dist/index.cjs.map +1 -1
  246. package/dist/index.d.cts +7 -15301
  247. package/dist/index.d.ts +7 -15301
  248. package/dist/index.js +1678 -1675
  249. package/dist/index.js.map +1 -1
  250. package/dist/isPlainObject-BB3iy87C.cjs +16 -0
  251. package/dist/isPlainObject-BB3iy87C.cjs.map +1 -0
  252. package/dist/isPlainObject-LYW-03uB.js +11 -0
  253. package/dist/isPlainObject-LYW-03uB.js.map +1 -0
  254. package/dist/jobStatus-DbMupQEK.js +423 -0
  255. package/dist/jobStatus-DbMupQEK.js.map +1 -0
  256. package/dist/jobStatus-kQ9JqF8t.cjs +494 -0
  257. package/dist/jobStatus-kQ9JqF8t.cjs.map +1 -0
  258. package/dist/management/index.cjs +4 -18
  259. package/dist/management/index.d.cts +2 -1083
  260. package/dist/management/index.d.ts +2 -1083
  261. package/dist/management/index.js +2 -5
  262. package/dist/management/types.cjs +0 -4
  263. package/dist/management/types.d.cts +2 -12
  264. package/dist/management/types.d.ts +2 -12
  265. package/dist/management/types.js +1 -3
  266. package/dist/management-DqwQcDCx.js +1065 -0
  267. package/dist/management-DqwQcDCx.js.map +1 -0
  268. package/dist/management-WOmlBt6H.cjs +1076 -0
  269. package/dist/management-WOmlBt6H.cjs.map +1 -0
  270. package/dist/metastore/index.cjs +3 -14
  271. package/dist/metastore/index.d.cts +2 -33
  272. package/dist/metastore/index.d.ts +2 -33
  273. package/dist/metastore/index.js +2 -5
  274. package/dist/metastore/types.cjs +0 -4
  275. package/dist/metastore/types.d.cts +2 -2
  276. package/dist/metastore/types.d.ts +2 -2
  277. package/dist/metastore/types.js +1 -3
  278. package/dist/metastore-CNEhL66f.js +134 -0
  279. package/dist/metastore-CNEhL66f.js.map +1 -0
  280. package/dist/metastore-CkQluyX1.cjs +139 -0
  281. package/dist/metastore-CkQluyX1.cjs.map +1 -0
  282. package/dist/notifications/index.cjs +67 -13
  283. package/dist/notifications/index.cjs.map +1 -1
  284. package/dist/notifications/index.d.cts +56 -56
  285. package/dist/notifications/index.d.ts +56 -56
  286. package/dist/notifications/index.js +67 -5
  287. package/dist/notifications/index.js.map +1 -1
  288. package/dist/notifications/types.cjs +0 -4
  289. package/dist/notifications/types.d.cts +2 -2
  290. package/dist/notifications/types.d.ts +2 -2
  291. package/dist/notifications/types.js +1 -3
  292. package/dist/oauth/index.cjs +3 -14
  293. package/dist/oauth/index.d.cts +49 -49
  294. package/dist/oauth/index.d.ts +49 -49
  295. package/dist/oauth/index.js +2 -5
  296. package/dist/oauth/types.cjs +0 -4
  297. package/dist/oauth/types.d.cts +2 -725
  298. package/dist/oauth/types.d.ts +2 -725
  299. package/dist/oauth/types.js +1 -3
  300. package/dist/oauth-DTvrqe6P.cjs +88 -0
  301. package/dist/oauth-DTvrqe6P.cjs.map +1 -0
  302. package/dist/oauth-DYDObUX9.js +83 -0
  303. package/dist/oauth-DYDObUX9.js.map +1 -0
  304. package/dist/omnisearch/index.cjs +49 -0
  305. package/dist/omnisearch/index.cjs.map +1 -0
  306. package/dist/omnisearch/index.d.cts +30 -0
  307. package/dist/omnisearch/index.d.ts +30 -0
  308. package/dist/omnisearch/index.js +48 -0
  309. package/dist/omnisearch/index.js.map +1 -0
  310. package/dist/omnisearch/types.cjs +0 -0
  311. package/dist/omnisearch/types.d.cts +2 -0
  312. package/dist/omnisearch/types.d.ts +2 -0
  313. package/dist/omnisearch/types.js +1 -0
  314. package/dist/project-BvFi19K_.cjs +56 -0
  315. package/dist/project-BvFi19K_.cjs.map +1 -0
  316. package/dist/project-CcGxXIW_.d.cts +18 -0
  317. package/dist/project-DWwZv66D.js +39 -0
  318. package/dist/project-DWwZv66D.js.map +1 -0
  319. package/dist/project-io1pY-hW.d.ts +18 -0
  320. package/dist/queryService/index.cjs +3 -14
  321. package/dist/queryService/index.d.cts +2 -39
  322. package/dist/queryService/index.d.ts +2 -39
  323. package/dist/queryService/index.js +2 -5
  324. package/dist/queryService/types.cjs +0 -4
  325. package/dist/queryService/types.d.cts +2 -2
  326. package/dist/queryService/types.d.ts +2 -2
  327. package/dist/queryService/types.js +1 -3
  328. package/dist/queryService-BHV_OZI2.js +114 -0
  329. package/dist/queryService-BHV_OZI2.js.map +1 -0
  330. package/dist/queryService-CvqDqigW.cjs +119 -0
  331. package/dist/queryService-CvqDqigW.cjs.map +1 -0
  332. package/dist/queue/index.cjs +3 -15
  333. package/dist/queue/index.d.cts +411 -334
  334. package/dist/queue/index.d.ts +411 -334
  335. package/dist/queue/index.js +2 -6
  336. package/dist/queue/types.cjs +0 -4
  337. package/dist/queue/types.d.cts +2 -2
  338. package/dist/queue/types.d.ts +2 -2
  339. package/dist/queue/types.js +1 -3
  340. package/dist/queue-CUHKupTA.cjs +137 -0
  341. package/dist/queue-CUHKupTA.cjs.map +1 -0
  342. package/dist/queue-uofE4Eu6.js +126 -0
  343. package/dist/queue-uofE4Eu6.js.map +1 -0
  344. package/dist/rolldown-runtime-VH7oDXx4.cjs +28 -0
  345. package/dist/scheduler/index.cjs +61 -13
  346. package/dist/scheduler/index.cjs.map +1 -1
  347. package/dist/scheduler/index.d.cts +73 -73
  348. package/dist/scheduler/index.d.ts +73 -73
  349. package/dist/scheduler/index.js +61 -5
  350. package/dist/scheduler/index.js.map +1 -1
  351. package/dist/scheduler/types.cjs +0 -4
  352. package/dist/scheduler/types.d.cts +2 -372
  353. package/dist/scheduler/types.d.ts +2 -372
  354. package/dist/scheduler/types.js +1 -3
  355. package/dist/sdk/configurations/index.cjs +3 -16
  356. package/dist/sdk/configurations/index.d.cts +3066 -3077
  357. package/dist/sdk/configurations/index.d.ts +3066 -3077
  358. package/dist/sdk/configurations/index.js +2 -7
  359. package/dist/sdk/developerPortal/index.cjs +203 -0
  360. package/dist/sdk/developerPortal/index.cjs.map +1 -0
  361. package/dist/sdk/developerPortal/index.d.cts +1371 -0
  362. package/dist/sdk/developerPortal/index.d.ts +1371 -0
  363. package/dist/sdk/developerPortal/index.js +202 -0
  364. package/dist/sdk/developerPortal/index.js.map +1 -0
  365. package/dist/sdk/queryService/index.cjs +93 -0
  366. package/dist/sdk/queryService/index.cjs.map +1 -0
  367. package/dist/sdk/queryService/index.d.cts +2 -0
  368. package/dist/sdk/queryService/index.d.ts +2 -0
  369. package/dist/sdk/queryService/index.js +92 -0
  370. package/dist/sdk/queryService/index.js.map +1 -0
  371. package/dist/sdk/semanticLayer/index.cjs +352 -50
  372. package/dist/sdk/semanticLayer/index.cjs.map +1 -1
  373. package/dist/sdk/semanticLayer/index.d.cts +105 -94
  374. package/dist/sdk/semanticLayer/index.d.ts +105 -94
  375. package/dist/sdk/semanticLayer/index.js +346 -4
  376. package/dist/sdk/semanticLayer/index.js.map +1 -1
  377. package/dist/sdk/semanticLayer/types.cjs +0 -4
  378. package/dist/sdk/semanticLayer/types.d.cts +2 -132
  379. package/dist/sdk/semanticLayer/types.d.ts +2 -132
  380. package/dist/sdk/semanticLayer/types.js +1 -3
  381. package/dist/sdk/storage/index.cjs +267 -47
  382. package/dist/sdk/storage/index.cjs.map +1 -1
  383. package/dist/sdk/storage/index.d.cts +2 -119
  384. package/dist/sdk/storage/index.d.ts +2 -119
  385. package/dist/sdk/storage/index.js +258 -3
  386. package/dist/sdk/storage/index.js.map +1 -1
  387. package/dist/sdk/tag/index.cjs +3 -14
  388. package/dist/sdk/tag/index.d.cts +16 -20
  389. package/dist/sdk/tag/index.d.ts +16 -20
  390. package/dist/sdk/tag/index.js +2 -5
  391. package/dist/sdk/tag/types.cjs +0 -4
  392. package/dist/sdk/tag/types.d.cts +2 -30
  393. package/dist/sdk/tag/types.d.ts +2 -30
  394. package/dist/sdk/tag/types.js +1 -3
  395. package/dist/sdk/vault/index.cjs +93 -31
  396. package/dist/sdk/vault/index.cjs.map +1 -1
  397. package/dist/sdk/vault/index.d.cts +2 -72
  398. package/dist/sdk/vault/index.d.ts +2 -72
  399. package/dist/sdk/vault/index.js +88 -3
  400. package/dist/sdk/vault/index.js.map +1 -1
  401. package/dist/status/index.cjs +16 -20
  402. package/dist/status/index.cjs.map +1 -1
  403. package/dist/status/index.d.cts +8 -9
  404. package/dist/status/index.d.ts +8 -9
  405. package/dist/status/index.js +15 -18
  406. package/dist/status/index.js.map +1 -1
  407. package/dist/status/types.cjs +0 -6
  408. package/dist/status/types.d.cts +17 -15
  409. package/dist/status/types.d.ts +17 -15
  410. package/dist/status/types.js +1 -3
  411. package/dist/storage/index.cjs +27 -54
  412. package/dist/storage/index.d.cts +3 -43
  413. package/dist/storage/index.d.ts +3 -43
  414. package/dist/storage/index.js +8 -9
  415. package/dist/storage/types.cjs +0 -4
  416. package/dist/storage/types.d.cts +5 -1654
  417. package/dist/storage/types.d.ts +5 -1654
  418. package/dist/storage/types.js +1 -3
  419. package/dist/storage-DbyNnkIJ.cjs +2458 -0
  420. package/dist/storage-DbyNnkIJ.cjs.map +1 -0
  421. package/dist/storage-luq7YBZF.js +2429 -0
  422. package/dist/storage-luq7YBZF.js.map +1 -0
  423. package/dist/storageTable-C9crh4Ef.cjs +310 -0
  424. package/dist/storageTable-C9crh4Ef.cjs.map +1 -0
  425. package/dist/storageTable-DslXtqNL.js +299 -0
  426. package/dist/storageTable-DslXtqNL.js.map +1 -0
  427. package/dist/stream/index.cjs +363 -12
  428. package/dist/stream/index.cjs.map +1 -1
  429. package/dist/stream/index.d.cts +345 -345
  430. package/dist/stream/index.d.ts +345 -345
  431. package/dist/stream/index.js +363 -4
  432. package/dist/stream/index.js.map +1 -1
  433. package/dist/stream/types.cjs +0 -4
  434. package/dist/stream/types.d.cts +2 -2
  435. package/dist/stream/types.d.ts +2 -2
  436. package/dist/stream/types.js +1 -3
  437. package/dist/suggestions-BH3x7xU7.d.cts +438 -0
  438. package/dist/suggestions-BH3x7xU7.d.ts +438 -0
  439. package/dist/syncActions/index.cjs +3 -18
  440. package/dist/syncActions/index.d.cts +2 -112
  441. package/dist/syncActions/index.d.ts +2 -112
  442. package/dist/syncActions/index.js +2 -9
  443. package/dist/syncActions/types.cjs +0 -4
  444. package/dist/syncActions/types.d.cts +2 -298
  445. package/dist/syncActions/types.d.ts +2 -298
  446. package/dist/syncActions/types.js +1 -3
  447. package/dist/syncActions-DKWeJ8GH.cjs +504 -0
  448. package/dist/syncActions-DKWeJ8GH.cjs.map +1 -0
  449. package/dist/syncActions-ssWWVN_4.js +497 -0
  450. package/dist/syncActions-ssWWVN_4.js.map +1 -0
  451. package/dist/tag-CsoOZWB_.cjs +175 -0
  452. package/dist/tag-CsoOZWB_.cjs.map +1 -0
  453. package/dist/tag-DCsoewjL.js +164 -0
  454. package/dist/{chunk-DHOVQ2TW.js.map → tag-DCsoewjL.js.map} +1 -1
  455. package/dist/telemetry/index.cjs +3 -14
  456. package/dist/telemetry/index.d.cts +10 -10
  457. package/dist/telemetry/index.d.ts +10 -10
  458. package/dist/telemetry/index.js +2 -5
  459. package/dist/telemetry/types.cjs +0 -4
  460. package/dist/telemetry/types.d.cts +2 -12
  461. package/dist/telemetry/types.d.ts +2 -12
  462. package/dist/telemetry/types.js +1 -3
  463. package/dist/telemetry-2IrE8HaZ.cjs +29 -0
  464. package/dist/telemetry-2IrE8HaZ.cjs.map +1 -0
  465. package/dist/telemetry-yQfQxBBI.js +24 -0
  466. package/dist/telemetry-yQfQxBBI.js.map +1 -0
  467. package/dist/types--T-vBqdd.d.cts +2835 -0
  468. package/dist/{types-CM1zHzgm.d.ts → types-2mHlPakp.d.cts} +893 -69
  469. package/dist/types-7H6Dnz0Y.d.ts +23 -0
  470. package/dist/types-B06L4-WE.d.cts +2124 -0
  471. package/dist/types-B1S2H7q1.d.ts +373 -0
  472. package/dist/types-B1glyy_Q.d.ts +726 -0
  473. package/dist/{utils-DK7uJcmR.d.cts → types-BCt0EMiO.d.ts} +16 -905
  474. package/dist/{types-BX1xr4CX.d.cts → types-BD6czYPH.d.ts} +43 -108
  475. package/dist/{types-BEnE7LHB.d.cts → types-BO-mTxKb.d.cts} +57 -81
  476. package/dist/{types-BieLFMW1.d.cts → types-BREBK0xX.d.ts} +9 -8
  477. package/dist/types-BRQAKEC1.d.cts +32 -0
  478. package/dist/types-BXK6Ebtm.d.ts +32 -0
  479. package/dist/types-BefwoXik.d.cts +373 -0
  480. package/dist/{types-DeoA45gz.d.cts → types-BhBvnvqe.d.ts} +632 -464
  481. package/dist/{types-Cgh3jqrV.d.cts → types-BmFyDKe6.d.ts} +893 -69
  482. package/dist/types-BpWqpMkL.d.ts +66 -0
  483. package/dist/types-C8XiTXxi.d.cts +23 -0
  484. package/dist/{types-BfuVN8Pk.d.cts → types-CAOvDtMC.d.cts} +11 -16
  485. package/dist/types-CC0wymfG.d.ts +2088 -0
  486. package/dist/{types-YzkNUuYo.d.ts → types-CI1mW2lA.d.ts} +11 -16
  487. package/dist/{types-00IaLn3S.d.ts → types-CRYtdj5w.d.ts} +876 -374
  488. package/dist/{types-CrLjE5xf.d.ts → types-CSmttcZ_.d.ts} +10 -12
  489. package/dist/{types-DgSyBwP3.d.cts → types-CbZ8aMKW.d.cts} +11 -14
  490. package/dist/{types-DwMezEHT.d.ts → types-CexuN7Mw.d.cts} +43 -108
  491. package/dist/types-CjAia48k.d.ts +386 -0
  492. package/dist/{types-D-MuJHwl.d.cts → types-CtdyAkzI.d.cts} +28 -16
  493. package/dist/{types-DpUcInCX.d.ts → types-CvADp-x-.d.ts} +11 -14
  494. package/dist/types-CwvOcTOm.d.cts +2088 -0
  495. package/dist/types-CyRK5z-E.d.cts +386 -0
  496. package/dist/{types-DbAO-Tgk.d.ts → types-D2n3h1gp.d.ts} +57 -81
  497. package/dist/types-DBOEA7l0.d.cts +148 -0
  498. package/dist/{types-DYnHIm7m.d.cts → types-DCBKso0t.d.cts} +10 -12
  499. package/dist/{types-Hj1CaKtV.d.ts → types-DEKF5pbg.d.cts} +632 -464
  500. package/dist/{types-B30y9Lhc.d.ts → types-DMvU4kZ2.d.cts} +208 -24
  501. package/dist/{types-B-vmDlWB.d.cts → types-DS8uFAeq.d.cts} +10 -15
  502. package/dist/types-DeApSCzx.d.cts +602 -0
  503. package/dist/types-DebL68-g.d.ts +148 -0
  504. package/dist/types-DgaYUtu_.d.cts +726 -0
  505. package/dist/{types-CiJ5ULtS.d.ts → types-DkbfBOBr.d.cts} +9 -8
  506. package/dist/types-DvsGS8By.d.cts +66 -0
  507. package/dist/{types-DHXZZKb3.d.ts → types-DwX1uxp_.d.ts} +10 -15
  508. package/dist/{types-sVyfECai.d.cts → types-ISUNM_BR.d.cts} +876 -374
  509. package/dist/{utils-B_SOM1XR.d.ts → types-QOIQ-dZU.d.cts} +16 -905
  510. package/dist/types-SGuvOEV8.d.ts +2124 -0
  511. package/dist/types-V8rC5if7.d.cts +621 -0
  512. package/dist/{types-CSZoV4lM.d.cts → types-Z-vUwgym.d.ts} +208 -24
  513. package/dist/types-bws2RtKq.d.ts +602 -0
  514. package/dist/types-h9TTimS_.d.ts +2835 -0
  515. package/dist/types-lFsTSkhe.d.cts +14 -0
  516. package/dist/types-lFsTSkhe.d.ts +14 -0
  517. package/dist/types-n4FFKqa4.d.ts +621 -0
  518. package/dist/{types-DeS-oVdn.d.ts → types-x4xPlrr0.d.ts} +28 -16
  519. package/dist/vault/index.cjs +49 -13
  520. package/dist/vault/index.cjs.map +1 -1
  521. package/dist/vault/index.d.cts +2 -26
  522. package/dist/vault/index.d.ts +2 -26
  523. package/dist/vault/index.js +49 -5
  524. package/dist/vault/index.js.map +1 -1
  525. package/dist/vault/types.cjs +0 -4
  526. package/dist/vault/types.d.cts +2 -385
  527. package/dist/vault/types.d.ts +2 -385
  528. package/dist/vault/types.js +1 -3
  529. package/package.json +113 -7
  530. package/surface/ai.md +1 -0
  531. package/surface/apps.md +32 -0
  532. package/surface/auth.md +6 -4
  533. package/surface/chat.md +3 -2
  534. package/surface/dataScience.md +3 -2
  535. package/surface/editor.md +1 -0
  536. package/surface/encryption.md +1 -0
  537. package/surface/import.md +1 -0
  538. package/surface/kaiAgent.md +2 -1
  539. package/surface/management.md +17 -16
  540. package/surface/metastore.md +2 -1
  541. package/surface/notifications.md +1 -0
  542. package/surface/oauth.md +1 -0
  543. package/surface/omnisearch.md +9 -0
  544. package/surface/queryService.md +5 -3
  545. package/surface/queue.md +8 -6
  546. package/surface/scheduler.md +1 -0
  547. package/surface/sdk.md +22 -22
  548. package/surface/storage.md +147 -106
  549. package/surface/stream.md +1 -0
  550. package/surface/syncActions.md +13 -6
  551. package/surface/vault.md +1 -0
  552. package/dist/ManagementClientAuthError-4J0S5tV-.d.ts +0 -9
  553. package/dist/ManagementClientAuthError-CyDpa4NS.d.cts +0 -9
  554. package/dist/adminRoles-Cil1lavB.d.cts +0 -18
  555. package/dist/adminRoles-Cil1lavB.d.ts +0 -18
  556. package/dist/ai/types.cjs.map +0 -1
  557. package/dist/ai/types.js.map +0 -1
  558. package/dist/auth/index.cjs.map +0 -1
  559. package/dist/auth/index.js.map +0 -1
  560. package/dist/auth/types.cjs.map +0 -1
  561. package/dist/auth/types.js.map +0 -1
  562. package/dist/chunk-22E6IGXR.js +0 -6
  563. package/dist/chunk-22E6IGXR.js.map +0 -1
  564. package/dist/chunk-2BOG5U7C.js +0 -75
  565. package/dist/chunk-2BOG5U7C.js.map +0 -1
  566. package/dist/chunk-2CFM7K4U.cjs +0 -55
  567. package/dist/chunk-2CFM7K4U.cjs.map +0 -1
  568. package/dist/chunk-34GM6NXB.js +0 -77
  569. package/dist/chunk-34GM6NXB.js.map +0 -1
  570. package/dist/chunk-3BFPNM2J.js +0 -61
  571. package/dist/chunk-3BFPNM2J.js.map +0 -1
  572. package/dist/chunk-3PVERYSF.js +0 -16
  573. package/dist/chunk-3PVERYSF.js.map +0 -1
  574. package/dist/chunk-3YWQQ3OG.cjs +0 -79
  575. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  576. package/dist/chunk-4RC5E3SL.js +0 -140
  577. package/dist/chunk-4RC5E3SL.js.map +0 -1
  578. package/dist/chunk-4VVF2PIX.js +0 -110
  579. package/dist/chunk-4VVF2PIX.js.map +0 -1
  580. package/dist/chunk-552FC4ZV.js +0 -14
  581. package/dist/chunk-552FC4ZV.js.map +0 -1
  582. package/dist/chunk-5XWVWFTC.js +0 -33
  583. package/dist/chunk-5XWVWFTC.js.map +0 -1
  584. package/dist/chunk-6YZQIMML.cjs +0 -163
  585. package/dist/chunk-6YZQIMML.cjs.map +0 -1
  586. package/dist/chunk-77LILJYX.js +0 -110
  587. package/dist/chunk-77LILJYX.js.map +0 -1
  588. package/dist/chunk-7J2R6XHB.js +0 -3
  589. package/dist/chunk-7J2R6XHB.js.map +0 -1
  590. package/dist/chunk-7R22VKV7.cjs +0 -62
  591. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  592. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  593. package/dist/chunk-7RO6PKZ4.cjs.map +0 -1
  594. package/dist/chunk-7YXL4FKN.cjs +0 -340
  595. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  596. package/dist/chunk-7Z4MU7ZB.js +0 -1294
  597. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  598. package/dist/chunk-AFJGNBVM.cjs +0 -63
  599. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  600. package/dist/chunk-AVH6F5LB.js +0 -1492
  601. package/dist/chunk-AVH6F5LB.js.map +0 -1
  602. package/dist/chunk-AXEANGGK.js +0 -226
  603. package/dist/chunk-AXEANGGK.js.map +0 -1
  604. package/dist/chunk-BCZPCMGL.cjs +0 -49
  605. package/dist/chunk-BCZPCMGL.cjs.map +0 -1
  606. package/dist/chunk-BR6WZE3O.cjs +0 -42
  607. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  608. package/dist/chunk-BZA3FGO6.js +0 -40
  609. package/dist/chunk-BZA3FGO6.js.map +0 -1
  610. package/dist/chunk-CV2JGHBN.js +0 -183
  611. package/dist/chunk-CV2JGHBN.js.map +0 -1
  612. package/dist/chunk-CWCUQACX.cjs +0 -18
  613. package/dist/chunk-CWCUQACX.cjs.map +0 -1
  614. package/dist/chunk-CWUQ6ZAO.cjs +0 -185
  615. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  616. package/dist/chunk-D4WOOKMI.js +0 -350
  617. package/dist/chunk-D4WOOKMI.js.map +0 -1
  618. package/dist/chunk-DHOVQ2TW.js +0 -177
  619. package/dist/chunk-DRNOCC6W.cjs +0 -295
  620. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  621. package/dist/chunk-EDX5D6UY.js +0 -14
  622. package/dist/chunk-EWMXK3EI.cjs +0 -8
  623. package/dist/chunk-EWMXK3EI.cjs.map +0 -1
  624. package/dist/chunk-EYIPM2XB.cjs +0 -82
  625. package/dist/chunk-EYIPM2XB.cjs.map +0 -1
  626. package/dist/chunk-F6ZAYTBX.cjs +0 -364
  627. package/dist/chunk-F6ZAYTBX.cjs.map +0 -1
  628. package/dist/chunk-FJBP3MRI.cjs +0 -63
  629. package/dist/chunk-FJBP3MRI.cjs.map +0 -1
  630. package/dist/chunk-FMS5PNM2.cjs +0 -37
  631. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  632. package/dist/chunk-FPB6OGTV.js +0 -26
  633. package/dist/chunk-FPB6OGTV.js.map +0 -1
  634. package/dist/chunk-FRLSKIUI.cjs +0 -180
  635. package/dist/chunk-FRLSKIUI.cjs.map +0 -1
  636. package/dist/chunk-G3N5KDEY.js +0 -10
  637. package/dist/chunk-G3N5KDEY.js.map +0 -1
  638. package/dist/chunk-G66EP527.js +0 -59
  639. package/dist/chunk-G66EP527.js.map +0 -1
  640. package/dist/chunk-GF4XZK5N.cjs +0 -43
  641. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  642. package/dist/chunk-HITKHHWN.cjs +0 -174
  643. package/dist/chunk-HITKHHWN.cjs.map +0 -1
  644. package/dist/chunk-HMCZUHR7.js +0 -53
  645. package/dist/chunk-HMCZUHR7.js.map +0 -1
  646. package/dist/chunk-HTVJR5WS.cjs +0 -305
  647. package/dist/chunk-HTVJR5WS.cjs.map +0 -1
  648. package/dist/chunk-HY7J3OD3.cjs +0 -1298
  649. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  650. package/dist/chunk-IAYPOSMM.cjs +0 -472
  651. package/dist/chunk-IDWGBCSB.cjs +0 -61
  652. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  653. package/dist/chunk-J3NLKXQ5.cjs +0 -79
  654. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  655. package/dist/chunk-KEFXOJD7.js +0 -61
  656. package/dist/chunk-KEFXOJD7.js.map +0 -1
  657. package/dist/chunk-KUYVBCUM.cjs +0 -231
  658. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  659. package/dist/chunk-L262THNK.cjs +0 -253
  660. package/dist/chunk-L262THNK.cjs.map +0 -1
  661. package/dist/chunk-LD3JERYP.js +0 -77
  662. package/dist/chunk-LD3JERYP.js.map +0 -1
  663. package/dist/chunk-LIXSIM3H.cjs +0 -113
  664. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  665. package/dist/chunk-LNZP2O4P.js +0 -169
  666. package/dist/chunk-LNZP2O4P.js.map +0 -1
  667. package/dist/chunk-MMOAH3EH.cjs +0 -288
  668. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  669. package/dist/chunk-MRHQJNWF.cjs +0 -8
  670. package/dist/chunk-MRHQJNWF.cjs.map +0 -1
  671. package/dist/chunk-MSI6FVGG.js +0 -6
  672. package/dist/chunk-MSI6FVGG.js.map +0 -1
  673. package/dist/chunk-N4COL54U.cjs +0 -22
  674. package/dist/chunk-N4COL54U.cjs.map +0 -1
  675. package/dist/chunk-NVQ6LGDO.cjs +0 -35
  676. package/dist/chunk-NVQ6LGDO.cjs.map +0 -1
  677. package/dist/chunk-NVRVPWNY.js +0 -148
  678. package/dist/chunk-NVRVPWNY.js.map +0 -1
  679. package/dist/chunk-OUSPQ55W.js +0 -263
  680. package/dist/chunk-OUSPQ55W.js.map +0 -1
  681. package/dist/chunk-PPQF7LTS.cjs +0 -63
  682. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  683. package/dist/chunk-PSR3N4NC.js +0 -136
  684. package/dist/chunk-PSR3N4NC.js.map +0 -1
  685. package/dist/chunk-QHD4LPAQ.cjs +0 -8
  686. package/dist/chunk-QHD4LPAQ.cjs.map +0 -1
  687. package/dist/chunk-RRC5RKF7.cjs +0 -12
  688. package/dist/chunk-RRC5RKF7.cjs.map +0 -1
  689. package/dist/chunk-RVBGE2Z4.js +0 -468
  690. package/dist/chunk-RVBGE2Z4.js.map +0 -1
  691. package/dist/chunk-S4JK7DKM.js +0 -61
  692. package/dist/chunk-S4JK7DKM.js.map +0 -1
  693. package/dist/chunk-SJZ66FD5.js +0 -35
  694. package/dist/chunk-SJZ66FD5.js.map +0 -1
  695. package/dist/chunk-T242YFMT.cjs +0 -150
  696. package/dist/chunk-T242YFMT.cjs.map +0 -1
  697. package/dist/chunk-T526LPBK.js +0 -6
  698. package/dist/chunk-T526LPBK.js.map +0 -1
  699. package/dist/chunk-U5SE6W5M.cjs +0 -158
  700. package/dist/chunk-U5SE6W5M.cjs.map +0 -1
  701. package/dist/chunk-UABYNGBZ.js +0 -39
  702. package/dist/chunk-UABYNGBZ.js.map +0 -1
  703. package/dist/chunk-UP5SEEYZ.js +0 -218
  704. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  705. package/dist/chunk-UQ5CACMW.js +0 -283
  706. package/dist/chunk-UQ5CACMW.js.map +0 -1
  707. package/dist/chunk-UUY6LQT6.cjs +0 -267
  708. package/dist/chunk-UUY6LQT6.cjs.map +0 -1
  709. package/dist/chunk-UWQUHP3T.cjs +0 -112
  710. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  711. package/dist/chunk-XHDYLUM4.js +0 -268
  712. package/dist/chunk-XHDYLUM4.js.map +0 -1
  713. package/dist/chunk-XIIER7QQ.js +0 -60
  714. package/dist/chunk-XIIER7QQ.js.map +0 -1
  715. package/dist/chunk-XKIENBIE.js +0 -338
  716. package/dist/chunk-XKIENBIE.js.map +0 -1
  717. package/dist/chunk-XPDEQND7.cjs +0 -4
  718. package/dist/chunk-XPDEQND7.cjs.map +0 -1
  719. package/dist/chunk-YGEJDWGG.js +0 -19
  720. package/dist/chunk-YGEJDWGG.js.map +0 -1
  721. package/dist/chunk-YXGBD4WP.cjs +0 -16
  722. package/dist/chunk-YXGBD4WP.cjs.map +0 -1
  723. package/dist/chunk-Z3HZ4MP4.cjs +0 -1496
  724. package/dist/chunk-Z3HZ4MP4.cjs.map +0 -1
  725. package/dist/chunk-ZOREOLGE.js +0 -264
  726. package/dist/chunk-ZOREOLGE.js.map +0 -1
  727. package/dist/constants/index.cjs.map +0 -1
  728. package/dist/constants/index.js.map +0 -1
  729. package/dist/createGenericFetchClient-JcbIIqwF.d.cts +0 -18
  730. package/dist/createGenericFetchClient-ZGG5wbAC.d.ts +0 -18
  731. package/dist/createOpenapiFetchClient-6RX67Hws.d.ts +0 -24
  732. package/dist/createOpenapiFetchClient-BFmiJ9C5.d.cts +0 -24
  733. package/dist/dataScience/index.cjs.map +0 -1
  734. package/dist/dataScience/index.js.map +0 -1
  735. package/dist/dataScience/types.cjs.map +0 -1
  736. package/dist/dataScience/types.js.map +0 -1
  737. package/dist/domain/permissions/index.cjs.map +0 -1
  738. package/dist/domain/permissions/index.js.map +0 -1
  739. package/dist/domain/storageTable/index.cjs.map +0 -1
  740. package/dist/domain/storageTable/index.js.map +0 -1
  741. package/dist/editor/types.cjs.map +0 -1
  742. package/dist/editor/types.js.map +0 -1
  743. package/dist/encryption/types.cjs.map +0 -1
  744. package/dist/encryption/types.js.map +0 -1
  745. package/dist/import/index.cjs.map +0 -1
  746. package/dist/import/index.js.map +0 -1
  747. package/dist/keboolaUID-D1DGSbge.d.cts +0 -19
  748. package/dist/keboolaUID-D1DGSbge.d.ts +0 -19
  749. package/dist/management/index.cjs.map +0 -1
  750. package/dist/management/index.js.map +0 -1
  751. package/dist/management/types.cjs.map +0 -1
  752. package/dist/management/types.js.map +0 -1
  753. package/dist/metastore/index.cjs.map +0 -1
  754. package/dist/metastore/index.js.map +0 -1
  755. package/dist/metastore/types.cjs.map +0 -1
  756. package/dist/metastore/types.js.map +0 -1
  757. package/dist/notifications/types.cjs.map +0 -1
  758. package/dist/notifications/types.js.map +0 -1
  759. package/dist/oauth/index.cjs.map +0 -1
  760. package/dist/oauth/index.js.map +0 -1
  761. package/dist/oauth/types.cjs.map +0 -1
  762. package/dist/oauth/types.js.map +0 -1
  763. package/dist/project-CXqPYo4T.d.ts +0 -17
  764. package/dist/project-CZPvcxRW.d.cts +0 -17
  765. package/dist/queryService/index.cjs.map +0 -1
  766. package/dist/queryService/index.js.map +0 -1
  767. package/dist/queryService/types.cjs.map +0 -1
  768. package/dist/queryService/types.js.map +0 -1
  769. package/dist/queue/index.cjs.map +0 -1
  770. package/dist/queue/index.js.map +0 -1
  771. package/dist/queue/types.cjs.map +0 -1
  772. package/dist/queue/types.js.map +0 -1
  773. package/dist/registry-CcKlB-yY.d.ts +0 -1046
  774. package/dist/registry-Cg0Yng1z.d.cts +0 -1046
  775. package/dist/scheduler/types.cjs.map +0 -1
  776. package/dist/scheduler/types.js.map +0 -1
  777. package/dist/sdk/configurations/index.cjs.map +0 -1
  778. package/dist/sdk/configurations/index.js.map +0 -1
  779. package/dist/sdk/semanticLayer/types.cjs.map +0 -1
  780. package/dist/sdk/semanticLayer/types.js.map +0 -1
  781. package/dist/sdk/tag/index.cjs.map +0 -1
  782. package/dist/sdk/tag/index.js.map +0 -1
  783. package/dist/sdk/tag/types.cjs.map +0 -1
  784. package/dist/sdk/tag/types.js.map +0 -1
  785. package/dist/status/types.cjs.map +0 -1
  786. package/dist/status/types.js.map +0 -1
  787. package/dist/storage/index.cjs.map +0 -1
  788. package/dist/storage/index.js.map +0 -1
  789. package/dist/storage/types.cjs.map +0 -1
  790. package/dist/storage/types.js.map +0 -1
  791. package/dist/storageClient-Cd4jVt58.d.ts +0 -1519
  792. package/dist/storageClient-Dkcg7hKa.d.cts +0 -1519
  793. package/dist/storageSdk-15_Fbucc.d.cts +0 -746
  794. package/dist/storageSdk-L6NOdgSJ.d.ts +0 -746
  795. package/dist/stream/types.cjs.map +0 -1
  796. package/dist/stream/types.js.map +0 -1
  797. package/dist/syncActions/index.cjs.map +0 -1
  798. package/dist/syncActions/index.js.map +0 -1
  799. package/dist/syncActions/types.cjs.map +0 -1
  800. package/dist/syncActions/types.js.map +0 -1
  801. package/dist/telemetry/index.cjs.map +0 -1
  802. package/dist/telemetry/index.js.map +0 -1
  803. package/dist/telemetry/types.cjs.map +0 -1
  804. package/dist/telemetry/types.js.map +0 -1
  805. package/dist/types-BqC3U0k0.d.cts +0 -12
  806. package/dist/types-Dkipk6NN.d.ts +0 -12
  807. package/dist/types-UwuKN9Kx.d.cts +0 -60
  808. package/dist/types-UwuKN9Kx.d.ts +0 -60
  809. package/dist/types-gcShAmmi.d.cts +0 -90
  810. package/dist/types-gcShAmmi.d.ts +0 -90
  811. package/dist/vault/types.cjs.map +0 -1
  812. package/dist/vault/types.js.map +0 -1
@@ -1,11 +1,11 @@
1
- import { B as Backend, A as AdminRole } from './adminRoles-Cil1lavB.cjs';
2
- import { b as OpenapiReturnType } from './types-gcShAmmi.cjs';
3
-
1
+ import { c as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-CLPrlyIz.cjs";
2
+ import { t as AdminRole } from "./adminRoles-C696kD_U.cjs";
3
+ import { t as Backend } from "./backends-DKBz5OxE.cjs";
4
+ //#region src/clients/storage/__generated__/schema.d.ts
4
5
  /**
5
6
  * This file was auto-generated by openapi-typescript.
6
7
  * Do not make direct changes to the file.
7
8
  */
8
-
9
9
  type paths = {
10
10
  '/v2/storage/branch/{branchId}/tokens/verify': {
11
11
  parameters: {
@@ -315,6 +315,54 @@ type paths = {
315
315
  patch?: never;
316
316
  trace?: never;
317
317
  };
318
+ '/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}': {
319
+ parameters: {
320
+ query?: never;
321
+ header?: never;
322
+ path?: never;
323
+ cookie?: never;
324
+ };
325
+ get?: never;
326
+ put?: never;
327
+ post?: never;
328
+ /**
329
+ * Force-unlink a bucket from a project
330
+ * @description Removes the link of a shared bucket from the given project, from the side of the source (sharing) project. Async-only - returns 202 with a storage job; poll it for completion.
331
+ *
332
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [BucketForceUnlinkJobResult](#model-BucketForceUnlinkJobResult).
333
+ *
334
+ * Parameters of job will be [BucketForceUnlinkJobParams](#components-schemas-BucketForceUnlinkJobParams).
335
+ */
336
+ delete: operations['delete_/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction'];
337
+ options?: never;
338
+ head?: never;
339
+ patch?: never;
340
+ trace?: never;
341
+ };
342
+ '/v2/storage/buckets/{bucketId}/links/{linkedProjectId}': {
343
+ parameters: {
344
+ query?: never;
345
+ header?: never;
346
+ path?: never;
347
+ cookie?: never;
348
+ };
349
+ get?: never;
350
+ put?: never;
351
+ post?: never;
352
+ /**
353
+ * Force-unlink a bucket from a project
354
+ * @description Removes the link of a shared bucket from the given project, from the side of the source (sharing) project. Async-only - returns 202 with a storage job; poll it for completion.
355
+ *
356
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [BucketForceUnlinkJobResult](#model-BucketForceUnlinkJobResult).
357
+ *
358
+ * Parameters of job will be [BucketForceUnlinkJobParams](#components-schemas-BucketForceUnlinkJobParams).
359
+ */
360
+ delete: operations['delete_/v2/storage/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction'];
361
+ options?: never;
362
+ head?: never;
363
+ patch?: never;
364
+ trace?: never;
365
+ };
318
366
  '/v2/storage/branch/{branchId}/buckets/{bucketId}/tables': {
319
367
  parameters: {
320
368
  query?: never;
@@ -1137,6 +1185,10 @@ type paths = {
1137
1185
  */
1138
1186
  put: operations['put_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}::ConfigurationUpdateAction'];
1139
1187
  post?: never;
1188
+ /**
1189
+ * Delete configuration
1190
+ * @description Move a configuration to the trash. Calling delete on a configuration that is already in the trash purges it permanently (default branch only, requires the `canPurgeTrash` token permission) — prefer the explicit purge endpoint for that.
1191
+ */
1140
1192
  delete: operations['delete_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction'];
1141
1193
  options?: never;
1142
1194
  head?: never;
@@ -1161,6 +1213,10 @@ type paths = {
1161
1213
  */
1162
1214
  put: operations['put_/v2/storage/components/{componentId}/configs/{configurationId}::ConfigurationUpdateAction'];
1163
1215
  post?: never;
1216
+ /**
1217
+ * Delete configuration
1218
+ * @description Move a configuration to the trash. Calling delete on a configuration that is already in the trash purges it permanently (default branch only, requires the `canPurgeTrash` token permission) — prefer the explicit purge endpoint for that.
1219
+ */
1164
1220
  delete: operations['delete_/v2/storage/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction'];
1165
1221
  options?: never;
1166
1222
  head?: never;
@@ -1187,6 +1243,46 @@ type paths = {
1187
1243
  patch?: never;
1188
1244
  trace?: never;
1189
1245
  };
1246
+ '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/purge': {
1247
+ parameters: {
1248
+ query?: never;
1249
+ header?: never;
1250
+ path?: never;
1251
+ cookie?: never;
1252
+ };
1253
+ get?: never;
1254
+ put?: never;
1255
+ /**
1256
+ * Purge configuration
1257
+ * @description Permanently remove a trashed configuration, including its versions, rows and metadata. The configuration must already be in the trash — unlike the delete endpoint, purge never falls back to a soft delete, so the caller's intent is unambiguous. Default branch only; requires the `canPurgeTrash` token permission.
1258
+ */
1259
+ post: operations['post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction'];
1260
+ delete?: never;
1261
+ options?: never;
1262
+ head?: never;
1263
+ patch?: never;
1264
+ trace?: never;
1265
+ };
1266
+ '/v2/storage/components/{componentId}/configs/{configurationId}/purge': {
1267
+ parameters: {
1268
+ query?: never;
1269
+ header?: never;
1270
+ path?: never;
1271
+ cookie?: never;
1272
+ };
1273
+ get?: never;
1274
+ put?: never;
1275
+ /**
1276
+ * Purge configuration
1277
+ * @description Permanently remove a trashed configuration, including its versions, rows and metadata. The configuration must already be in the trash — unlike the delete endpoint, purge never falls back to a soft delete, so the caller's intent is unambiguous. Default branch only; requires the `canPurgeTrash` token permission.
1278
+ */
1279
+ post: operations['post_/v2/storage/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction'];
1280
+ delete?: never;
1281
+ options?: never;
1282
+ head?: never;
1283
+ patch?: never;
1284
+ trace?: never;
1285
+ };
1190
1286
  '/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase': {
1191
1287
  parameters: {
1192
1288
  query?: never;
@@ -1198,7 +1294,7 @@ type paths = {
1198
1294
  put?: never;
1199
1295
  /**
1200
1296
  * Rebase configuration onto default branch
1201
- * @description Re-anchor a dev branch configuration onto a version of the default branch, preserving the dev branch work. The resolved three-way-diff result is sent as the request body, including "rows" — the complete resolved row set (required for a keep rebase; [] deletes all rows; the array order becomes the row sort order). Sending only "version" (omitting all content fields: name, description, changeDescription, isDisabled, configuration, rows) resolves the conflict by deleting the configuration — the new head version is a tombstone. Only available in dev branches.
1297
+ * @description Re-anchor a dev branch configuration onto a version of the default branch, preserving the dev branch work. The resolved three-way-diff result is sent wrapped in "diff" — the same shape a /diff response side carries it in — including "diff.rows", the complete resolved row set (required for a keep rebase; [] deletes all rows; the array order becomes the row sort order). Sending an empty "diff" ({} or an empty/whitespace-only string) resolves the conflict by deleting the configuration — the new head version is a tombstone. Only available in dev branches.
1202
1298
  */
1203
1299
  post: operations['post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase::ConfigurationRebaseAction'];
1204
1300
  delete?: never;
@@ -2757,6 +2853,50 @@ type paths = {
2757
2853
  patch?: never;
2758
2854
  trace?: never;
2759
2855
  };
2856
+ '/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}': {
2857
+ parameters: {
2858
+ query?: never;
2859
+ header?: never;
2860
+ path?: never;
2861
+ cookie?: never;
2862
+ };
2863
+ get?: never;
2864
+ put?: never;
2865
+ post?: never;
2866
+ /**
2867
+ * Delete a table column
2868
+ * @description Deletes the given column from the table. Async-only - returns 202 with a storage job; poll it for completion. The job rejects deleting the last remaining column, a column that is part of the primary key, or a column referenced by an alias, unless `force` is set.
2869
+ *
2870
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [ColumnDeleteJobResult](#model-ColumnDeleteJobResult).
2871
+ */
2872
+ delete: operations['delete_/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}::ColumnDeleteAction'];
2873
+ options?: never;
2874
+ head?: never;
2875
+ patch?: never;
2876
+ trace?: never;
2877
+ };
2878
+ '/v2/storage/tables/{tableId}/columns/{columnName}': {
2879
+ parameters: {
2880
+ query?: never;
2881
+ header?: never;
2882
+ path?: never;
2883
+ cookie?: never;
2884
+ };
2885
+ get?: never;
2886
+ put?: never;
2887
+ post?: never;
2888
+ /**
2889
+ * Delete a table column
2890
+ * @description Deletes the given column from the table. Async-only - returns 202 with a storage job; poll it for completion. The job rejects deleting the last remaining column, a column that is part of the primary key, or a column referenced by an alias, unless `force` is set.
2891
+ *
2892
+ * Initial response returns job details [JobResponse](#model-JobResponse). The result of the asynchronous job can be fetched via `/v2/storage/jobs/{id}`. When the job completes, final result is [ColumnDeleteJobResult](#model-ColumnDeleteJobResult).
2893
+ */
2894
+ delete: operations['delete_/v2/storage/tables/{tableId}/columns/{columnName}::ColumnDeleteAction'];
2895
+ options?: never;
2896
+ head?: never;
2897
+ patch?: never;
2898
+ trace?: never;
2899
+ };
2760
2900
  '/v2/storage/branch/{branchId}/tables/{id}/columns/{column}/definition': {
2761
2901
  parameters: {
2762
2902
  query?: never;
@@ -4474,6 +4614,8 @@ type components = {
4474
4614
  value?: string | null;
4475
4615
  }[];
4476
4616
  };
4617
+ /** @description The bucketForceUnlink job produces no results - the value is always null. */
4618
+ BucketForceUnlinkJobResult: Record<string, never> | null;
4477
4619
  BucketListingUpdateJobResponse: {
4478
4620
  bucketId: string;
4479
4621
  exposureName: string;
@@ -4800,6 +4942,8 @@ type components = {
4800
4942
  /** @description Custom SQL for alias (for custom SQL aliases) */
4801
4943
  selectSql?: string | null;
4802
4944
  };
4945
+ /** @description The tableColumnDelete job produces no results - the value is always null. */
4946
+ ColumnDeleteJobResult: Record<string, never> | null;
4803
4947
  TableExportJobResponse: {
4804
4948
  file?: {
4805
4949
  id?: number | null;
@@ -4836,19 +4980,7 @@ type components = {
4836
4980
  endTime?: string | null;
4837
4981
  /** @description Run ID for the job. */
4838
4982
  runId: string;
4839
- results?:
4840
- | components['schemas']['BucketListingUpdateJobResponse']
4841
- | components['schemas']['BucketListingCreateJobResult']
4842
- | components['schemas']['BucketListingDeleteResponse']
4843
- | components['schemas']['BucketDeleteResponse']
4844
- | components['schemas']['RefreshJobResponse']
4845
- | components['schemas']['FileDeleteResponse']
4846
- | components['schemas']['TableSnapshotCreateJobResult']
4847
- | components['schemas']['TableExportAsyncJobResponse']
4848
- | components['schemas']['PrimaryKeyDeleteJobResult']
4849
- | components['schemas']['TableSwapResult']
4850
- | components['schemas']['TableCreateResponse']
4851
- | components['schemas']['TableExportJobResponse'];
4983
+ results?: components['schemas']['BucketForceUnlinkJobResult'] | components['schemas']['BucketListingUpdateJobResponse'] | components['schemas']['BucketListingCreateJobResult'] | components['schemas']['BucketListingDeleteResponse'] | components['schemas']['BucketDeleteResponse'] | components['schemas']['RefreshJobResponse'] | components['schemas']['FileDeleteResponse'] | components['schemas']['TableSnapshotCreateJobResult'] | components['schemas']['TableExportAsyncJobResponse'] | components['schemas']['PrimaryKeyDeleteJobResult'] | components['schemas']['TableSwapResult'] | components['schemas']['TableCreateResponse'] | components['schemas']['ColumnDeleteJobResult'] | components['schemas']['TableExportJobResponse'];
4852
4984
  /** @description Creator token info. */
4853
4985
  creatorToken: {
4854
4986
  /** @description Access token ID. */
@@ -4930,6 +5062,12 @@ type components = {
4930
5062
  */
4931
5063
  sortOrder?: 'asc' | 'desc' | null;
4932
5064
  };
5065
+ BucketForceUnlinkJobParams: {
5066
+ linkedIdProject: number;
5067
+ linkedIdBucket: number;
5068
+ jobParams: unknown[];
5069
+ jobOperationParams: unknown[];
5070
+ };
4933
5071
  BucketGetTablesRequest: {
4934
5072
  /** @description Comma-separated list of data to include. Allowed values: attributes, buckets, bucketsWithoutSourceTables, columns, metadata, columnMetadata, sourceMetadata, sourceColumnMetadata. */
4935
5073
  include?: string | null;
@@ -5283,18 +5421,21 @@ type components = {
5283
5421
  RebaseRequest: {
5284
5422
  /** @description Default branch configuration version to rebase the dev branch onto. Always required, even when deleting — the base is always re-anchored. */
5285
5423
  version: number;
5286
- /** @description Resolved configuration name (head). Required for a keep rebase. Omit it together with all other content fields (send only "version") to delete the configuration as the rebase result. */
5287
- name: string;
5288
- /** @description Resolved configuration description (head, the 3-way diff result). */
5289
- description: string;
5290
- /** @description Resolved configuration body (head, the 3-way diff result). */
5291
- configuration: Record<string, never>;
5292
- /** @description Change description for the resolved head version. If omitted, a default rebase message is used. */
5293
- changeDescription: string;
5294
- /** @description Resolved disabled flag (head, the 3-way diff result). Defaults to false if omitted. */
5295
- isDisabled: boolean;
5296
- /** @description Complete resolved row set (the diff's `diff.rows` posted back). Required for a keep rebase — omitting it is an error; `[]` deletes all rows. The array order becomes the row sort order. Not sent when deleting the configuration (rows are deleted with it). */
5297
- rows: components['schemas']['RebaseRowData'][];
5424
+ /** @description Resolved configuration content (head, the 3-way diff result) — the "diff" object of a /diff response side posted back after resolution. Send an empty "diff" ({} or an empty/whitespace-only string) to resolve the conflict by deleting the configuration. */
5425
+ diff: {
5426
+ /** @description Resolved configuration name. Required for a keep rebase. */
5427
+ name?: string;
5428
+ /** @description Resolved configuration description. */
5429
+ description?: string;
5430
+ /** @description Change description for the resolved head version. If omitted, a default rebase message is used. */
5431
+ changeDescription?: string;
5432
+ /** @description Resolved disabled flag. Defaults to false if omitted. */
5433
+ isDisabled?: boolean;
5434
+ /** @description Resolved configuration body. */
5435
+ configuration?: Record<string, never>;
5436
+ /** @description Complete resolved row set. Required for a keep rebase — omitting it is an error; [] deletes all rows. The array order becomes the row sort order. */
5437
+ rows?: components['schemas']['RebaseRowData'][];
5438
+ } | string;
5298
5439
  };
5299
5440
  UpdateConfigurationStateRequest: Record<string, never>;
5300
5441
  UpdateConfigurationRequest: Record<string, never>;
@@ -5391,18 +5532,7 @@ type components = {
5391
5532
  */
5392
5533
  offset: number;
5393
5534
  /** @description Filter by object type. Repeatable. */
5394
- types?:
5395
- | (
5396
- | 'flow'
5397
- | 'bucket'
5398
- | 'table'
5399
- | 'transformation'
5400
- | 'configuration'
5401
- | 'configuration-row'
5402
- | 'workspace'
5403
- | 'shared-code'
5404
- )[]
5405
- | null;
5535
+ types?: ('flow' | 'bucket' | 'table' | 'transformation' | 'configuration' | 'configuration-row' | 'workspace' | 'shared-code')[] | null;
5406
5536
  /** @description Narrow the search to specific project ids. Repeatable. */
5407
5537
  projectIds?: number[] | null;
5408
5538
  /** @description Filter by branch type. Repeatable. */
@@ -5918,14 +6048,7 @@ type components = {
5918
6048
  * @description Preferred login type. Use "none" to create a workspace without credentials for QueryService. Create direct connection credentials later using the workspace credentials endpoint.
5919
6049
  * @enum {string|null}
5920
6050
  */
5921
- loginType?:
5922
- | null
5923
- | 'default'
5924
- | 'snowflake-legacy-service'
5925
- | 'snowflake-person-sso'
5926
- | 'snowflake-person-keypair'
5927
- | 'snowflake-service-keypair'
5928
- | 'none';
6051
+ loginType?: null | 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none';
5929
6052
  /** @description RSA public key for key pair login. */
5930
6053
  publicKey?: string | null;
5931
6054
  /**
@@ -6621,47 +6744,39 @@ type components = {
6621
6744
  */
6622
6745
  created: string;
6623
6746
  /** @description Connection details for the workspace. */
6624
- connection:
6625
- | {
6626
- /**
6627
- * @description Workspace backend type.
6628
- * @enum {string}
6629
- */
6630
- backend: 'snowflake' | 'bigquery';
6631
- /** @description Region of the workspace backend. */
6632
- region?: string | null;
6633
- /** @description Hostname of the workspace backend. */
6634
- host: string;
6635
- /** @description Database name (project name for Snowflake). */
6636
- database?: string | null;
6637
- /** @description Schema name. */
6638
- schema?: string | null;
6639
- /** @description Warehouse name (for Snowflake). */
6640
- warehouse?: string | null;
6641
- /** @description Username for connecting to the workspace. Empty when loginType is "none". */
6642
- user: string;
6643
- /**
6644
- * @description Login type used for the connection. Value "none" means the workspace has no direct credentials and is intended for QueryService. Create direct connection credentials later using the workspace credentials endpoint.
6645
- * @enum {string}
6646
- */
6647
- loginType:
6648
- | 'default'
6649
- | 'snowflake-legacy-service'
6650
- | 'snowflake-person-sso'
6651
- | 'snowflake-person-keypair'
6652
- | 'snowflake-service-keypair'
6653
- | 'none';
6654
- /** @description Indicates if SSO login is available. */
6655
- ssoLoginAvailable: boolean;
6656
- }
6657
- | {
6658
- /** @description File storage backend type (e.g., azure, aws). */
6659
- backend: string;
6660
- /** @description Container name for file storage. */
6661
- container?: string | null;
6662
- /** @description Region of the file storage. */
6663
- region?: string | null;
6664
- };
6747
+ connection: {
6748
+ /**
6749
+ * @description Workspace backend type.
6750
+ * @enum {string}
6751
+ */
6752
+ backend: 'snowflake' | 'bigquery';
6753
+ /** @description Region of the workspace backend. */
6754
+ region?: string | null;
6755
+ /** @description Hostname of the workspace backend. */
6756
+ host: string;
6757
+ /** @description Database name (project name for Snowflake). */
6758
+ database?: string | null;
6759
+ /** @description Schema name. */
6760
+ schema?: string | null;
6761
+ /** @description Warehouse name (for Snowflake). */
6762
+ warehouse?: string | null;
6763
+ /** @description Username for connecting to the workspace. Empty when loginType is "none". */
6764
+ user: string;
6765
+ /**
6766
+ * @description Login type used for the connection. Value "none" means the workspace has no direct credentials and is intended for QueryService. Create direct connection credentials later using the workspace credentials endpoint.
6767
+ * @enum {string}
6768
+ */
6769
+ loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none';
6770
+ /** @description Indicates if SSO login is available. */
6771
+ ssoLoginAvailable: boolean;
6772
+ } | {
6773
+ /** @description File storage backend type (e.g., azure, aws). */
6774
+ backend: string;
6775
+ /** @description Container name for file storage. */
6776
+ container?: string | null;
6777
+ /** @description Region of the file storage. */
6778
+ region?: string | null;
6779
+ };
6665
6780
  /** @description Size of the backend (e.g., for Snowflake). */
6666
6781
  backendSize?: string | null;
6667
6782
  /** @description Statement timeout in seconds. */
@@ -7384,66 +7499,32 @@ type components = {
7384
7499
  columns?: string[];
7385
7500
  } | null;
7386
7501
  /** @description Legacy per-column datatype overrides, one entry per column. Each item is either a plain type name string, or an object with detailed column settings (the object form carries its own `column` field). */
7387
- datatypes?:
7388
- | (
7389
- | string
7390
- | {
7391
- column?: string;
7392
- type?: string;
7393
- length?: string | number;
7394
- nullable?: boolean;
7395
- convertEmptyValuesToNull?: boolean;
7396
- /**
7397
- * @description Legacy Redshift compression encoding, kept for backward compatibility.
7398
- * @enum {string}
7399
- */
7400
- compression?:
7401
- | 'RAW'
7402
- | 'BYTEDICT'
7403
- | 'DELTA'
7404
- | 'DELTA32K'
7405
- | 'LZO'
7406
- | 'MOSTLY8'
7407
- | 'MOSTLY16'
7408
- | 'MOSTLY32'
7409
- | 'RUNLENGTH'
7410
- | 'TEXT255'
7411
- | 'TEXT32K'
7412
- | 'ZSTD';
7413
- }
7414
- )[]
7415
- | null;
7502
+ datatypes?: (string | {
7503
+ column?: string;
7504
+ type?: string;
7505
+ length?: string | number;
7506
+ nullable?: boolean;
7507
+ convertEmptyValuesToNull?: boolean;
7508
+ /**
7509
+ * @description Legacy Redshift compression encoding, kept for backward compatibility.
7510
+ * @enum {string}
7511
+ */
7512
+ compression?: 'RAW' | 'BYTEDICT' | 'DELTA' | 'DELTA32K' | 'LZO' | 'MOSTLY8' | 'MOSTLY16' | 'MOSTLY32' | 'RUNLENGTH' | 'TEXT255' | 'TEXT32K' | 'ZSTD';
7513
+ })[] | null;
7416
7514
  /** @description Per-column load settings. Each item is either a legacy column name string, or an object; `source` is required on the object form. */
7417
- columns?:
7418
- | (
7419
- | string
7420
- | {
7421
- source: string;
7422
- destination?: string;
7423
- type?: string;
7424
- length?: string | number;
7425
- nullable?: boolean;
7426
- convertEmptyValuesToNull?: boolean;
7427
- /**
7428
- * @description Legacy Redshift compression encoding, kept for backward compatibility.
7429
- * @enum {string}
7430
- */
7431
- compression?:
7432
- | 'RAW'
7433
- | 'BYTEDICT'
7434
- | 'DELTA'
7435
- | 'DELTA32K'
7436
- | 'LZO'
7437
- | 'MOSTLY8'
7438
- | 'MOSTLY16'
7439
- | 'MOSTLY32'
7440
- | 'RUNLENGTH'
7441
- | 'TEXT255'
7442
- | 'TEXT32K'
7443
- | 'ZSTD';
7444
- }
7445
- )[]
7446
- | null;
7515
+ columns?: (string | {
7516
+ source: string;
7517
+ destination?: string;
7518
+ type?: string;
7519
+ length?: string | number;
7520
+ nullable?: boolean;
7521
+ convertEmptyValuesToNull?: boolean;
7522
+ /**
7523
+ * @description Legacy Redshift compression encoding, kept for backward compatibility.
7524
+ * @enum {string}
7525
+ */
7526
+ compression?: 'RAW' | 'BYTEDICT' | 'DELTA' | 'DELTA32K' | 'LZO' | 'MOSTLY8' | 'MOSTLY16' | 'MOSTLY32' | 'RUNLENGTH' | 'TEXT255' | 'TEXT32K' | 'ZSTD';
7527
+ })[] | null;
7447
7528
  /** @description Name of the column to filter rows by. Must be set together with `whereValues`. */
7448
7529
  whereColumn?: string | null;
7449
7530
  /** @description Values to filter `whereColumn` by. Must be set together with `whereColumn`. */
@@ -7454,21 +7535,19 @@ type components = {
7454
7535
  */
7455
7536
  whereOperator?: 'eq' | 'ne' | null;
7456
7537
  /** @description Row filters, an alternative to `whereColumn`/`whereValues`/`whereOperator` supporting multiple columns and richer operators. */
7457
- whereFilters?:
7458
- | {
7459
- column: string;
7460
- values: string[];
7461
- /**
7462
- * @description Defaults to `eq`. `eq`/`ne` support multiple values (IN/NOT IN); `lt`/`gt`/`le`/`ge` support a single value only.
7463
- * @enum {string}
7464
- */
7465
- operator?: 'eq' | 'ne' | 'lt' | 'gt' | 'le' | 'ge';
7466
- /** @description Data type used to interpret `values` (e.g. for numeric comparisons). */
7467
- dataType?: string;
7468
- /** @enum {string} */
7469
- type?: 'SCALAR' | 'TIME_STRING';
7470
- }[]
7471
- | null;
7538
+ whereFilters?: {
7539
+ column: string;
7540
+ values: string[];
7541
+ /**
7542
+ * @description Defaults to `eq`. `eq`/`ne` support multiple values (IN/NOT IN); `lt`/`gt`/`le`/`ge` support a single value only.
7543
+ * @enum {string}
7544
+ */
7545
+ operator?: 'eq' | 'ne' | 'lt' | 'gt' | 'le' | 'ge';
7546
+ /** @description Data type used to interpret `values` (e.g. for numeric comparisons). */
7547
+ dataType?: string;
7548
+ /** @enum {string} */
7549
+ type?: 'SCALAR' | 'TIME_STRING';
7550
+ }[] | null;
7472
7551
  /** @description Whether to load incrementally (append/update) instead of a full overwrite. */
7473
7552
  incremental?: boolean | null;
7474
7553
  /** @description Whether to drop and recreate the destination table before loading. */
@@ -7515,57 +7594,49 @@ type components = {
7515
7594
  */
7516
7595
  created: string;
7517
7596
  /** @description Connection details for the workspace. */
7518
- connection:
7519
- | {
7520
- /**
7521
- * @description Workspace backend type.
7522
- * @enum {string}
7523
- */
7524
- backend: 'snowflake' | 'bigquery';
7525
- /** @description Region of the workspace backend. */
7526
- region?: string | null;
7527
- /** @description Hostname of the workspace backend. */
7528
- host: string;
7529
- /** @description Database name (project name for Snowflake). */
7530
- database?: string | null;
7531
- /** @description Schema name. */
7532
- schema?: string | null;
7533
- /** @description Warehouse name (for Snowflake). */
7534
- warehouse?: string | null;
7535
- /** @description Username for connecting to the workspace. Empty when loginType is "none". */
7536
- user: string;
7537
- /**
7538
- * @description Login type used for the connection. Value "none" means the workspace has no direct credentials and is intended for QueryService. Create direct connection credentials later using the workspace credentials endpoint.
7539
- * @enum {string}
7540
- */
7541
- loginType:
7542
- | 'default'
7543
- | 'snowflake-legacy-service'
7544
- | 'snowflake-person-sso'
7545
- | 'snowflake-person-keypair'
7546
- | 'snowflake-service-keypair'
7547
- | 'none';
7548
- /** @description Indicates if SSO login is available. */
7549
- ssoLoginAvailable: boolean;
7550
- /** @description Private key for workspace user. */
7551
- privateKey?: string | null;
7552
- credentials?: {
7553
- /** @description ID of the token that created the workspace. */
7554
- id: number;
7555
- /** @description Private key for workspace user. */
7556
- private_key?: string | null;
7557
- /** @description password to workspace user. */
7558
- password?: string | null;
7559
- };
7560
- }
7561
- | {
7562
- /** @description File storage backend type (e.g., azure, aws). */
7563
- backend: string;
7564
- /** @description Container name for file storage. */
7565
- container?: string | null;
7566
- /** @description Region of the file storage. */
7567
- region?: string | null;
7568
- };
7597
+ connection: {
7598
+ /**
7599
+ * @description Workspace backend type.
7600
+ * @enum {string}
7601
+ */
7602
+ backend: 'snowflake' | 'bigquery';
7603
+ /** @description Region of the workspace backend. */
7604
+ region?: string | null;
7605
+ /** @description Hostname of the workspace backend. */
7606
+ host: string;
7607
+ /** @description Database name (project name for Snowflake). */
7608
+ database?: string | null;
7609
+ /** @description Schema name. */
7610
+ schema?: string | null;
7611
+ /** @description Warehouse name (for Snowflake). */
7612
+ warehouse?: string | null;
7613
+ /** @description Username for connecting to the workspace. Empty when loginType is "none". */
7614
+ user: string;
7615
+ /**
7616
+ * @description Login type used for the connection. Value "none" means the workspace has no direct credentials and is intended for QueryService. Create direct connection credentials later using the workspace credentials endpoint.
7617
+ * @enum {string}
7618
+ */
7619
+ loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none';
7620
+ /** @description Indicates if SSO login is available. */
7621
+ ssoLoginAvailable: boolean;
7622
+ /** @description Private key for workspace user. */
7623
+ privateKey?: string | null;
7624
+ credentials?: {
7625
+ /** @description ID of the token that created the workspace. */
7626
+ id: number;
7627
+ /** @description Private key for workspace user. */
7628
+ private_key?: string | null;
7629
+ /** @description password to workspace user. */
7630
+ password?: string | null;
7631
+ };
7632
+ } | {
7633
+ /** @description File storage backend type (e.g., azure, aws). */
7634
+ backend: string;
7635
+ /** @description Container name for file storage. */
7636
+ container?: string | null;
7637
+ /** @description Region of the file storage. */
7638
+ region?: string | null;
7639
+ };
7569
7640
  /** @description Size of the backend (e.g., for Snowflake). */
7570
7641
  backendSize?: string | null;
7571
7642
  /** @description Statement timeout in seconds. */
@@ -7604,7 +7675,7 @@ type components = {
7604
7675
  headers: never;
7605
7676
  pathItems: never;
7606
7677
  };
7607
- type operations = {
7678
+ interface operations {
7608
7679
  'get_/v2/storage/branch/{branchId}/tokens/verify::TokenVerifyAction': {
7609
7680
  parameters: {
7610
7681
  query?: never;
@@ -7801,9 +7872,7 @@ type operations = {
7801
7872
  };
7802
7873
  requestBody: {
7803
7874
  content: {
7804
- 'application/json':
7805
- | components['schemas']['CreateBucketRequest']
7806
- | components['schemas']['LinkBucketRequest'];
7875
+ 'application/json': components['schemas']['CreateBucketRequest'] | components['schemas']['LinkBucketRequest'];
7807
7876
  };
7808
7877
  };
7809
7878
  responses: {
@@ -7893,9 +7962,7 @@ type operations = {
7893
7962
  };
7894
7963
  requestBody: {
7895
7964
  content: {
7896
- 'application/json':
7897
- | components['schemas']['CreateBucketRequest']
7898
- | components['schemas']['LinkBucketRequest'];
7965
+ 'application/json': components['schemas']['CreateBucketRequest'] | components['schemas']['LinkBucketRequest'];
7899
7966
  };
7900
7967
  };
7901
7968
  responses: {
@@ -8495,6 +8562,113 @@ type operations = {
8495
8562
  };
8496
8563
  };
8497
8564
  };
8565
+ 'delete_/v2/storage/branch/{branchId}/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction': {
8566
+ parameters: {
8567
+ query?: never;
8568
+ header?: never;
8569
+ path: {
8570
+ /** @description Identifier of the shared source bucket (e.g. `in.c-main`). */
8571
+ bucketId: string;
8572
+ /** @description Identifier of the project the bucket is linked into. */
8573
+ linkedProjectId: number;
8574
+ branchId: string;
8575
+ };
8576
+ cookie?: never;
8577
+ };
8578
+ requestBody?: never;
8579
+ responses: {
8580
+ /** @description Job accepted; returns job details. */
8581
+ 202: {
8582
+ headers: {
8583
+ [name: string]: unknown;
8584
+ };
8585
+ content: {
8586
+ 'application/json': components['schemas']['JobResponse'];
8587
+ };
8588
+ };
8589
+ /** @description The bucket is not linked into the given project (`storage.buckets.linkedBucketNotFound`), or the project id is not a digits-only value (`storage.buckets.validation`). */
8590
+ 400: {
8591
+ headers: {
8592
+ [name: string]: unknown;
8593
+ };
8594
+ content?: never;
8595
+ };
8596
+ /** @description Access to the bucket was denied. */
8597
+ 403: {
8598
+ headers: {
8599
+ [name: string]: unknown;
8600
+ };
8601
+ content?: never;
8602
+ };
8603
+ /** @description The bucket was not found. */
8604
+ 404: {
8605
+ headers: {
8606
+ [name: string]: unknown;
8607
+ };
8608
+ content?: never;
8609
+ };
8610
+ /** @description Bucket or backend is under maintenance. */
8611
+ 503: {
8612
+ headers: {
8613
+ [name: string]: unknown;
8614
+ };
8615
+ content?: never;
8616
+ };
8617
+ };
8618
+ };
8619
+ 'delete_/v2/storage/buckets/{bucketId}/links/{linkedProjectId}::BucketForceUnlinkAction': {
8620
+ parameters: {
8621
+ query?: never;
8622
+ header?: never;
8623
+ path: {
8624
+ /** @description Identifier of the shared source bucket (e.g. `in.c-main`). */
8625
+ bucketId: string;
8626
+ /** @description Identifier of the project the bucket is linked into. */
8627
+ linkedProjectId: number;
8628
+ };
8629
+ cookie?: never;
8630
+ };
8631
+ requestBody?: never;
8632
+ responses: {
8633
+ /** @description Job accepted; returns job details. */
8634
+ 202: {
8635
+ headers: {
8636
+ [name: string]: unknown;
8637
+ };
8638
+ content: {
8639
+ 'application/json': components['schemas']['JobResponse'];
8640
+ };
8641
+ };
8642
+ /** @description The bucket is not linked into the given project (`storage.buckets.linkedBucketNotFound`), or the project id is not a digits-only value (`storage.buckets.validation`). */
8643
+ 400: {
8644
+ headers: {
8645
+ [name: string]: unknown;
8646
+ };
8647
+ content?: never;
8648
+ };
8649
+ /** @description Access to the bucket was denied. */
8650
+ 403: {
8651
+ headers: {
8652
+ [name: string]: unknown;
8653
+ };
8654
+ content?: never;
8655
+ };
8656
+ /** @description The bucket was not found. */
8657
+ 404: {
8658
+ headers: {
8659
+ [name: string]: unknown;
8660
+ };
8661
+ content?: never;
8662
+ };
8663
+ /** @description Bucket or backend is under maintenance. */
8664
+ 503: {
8665
+ headers: {
8666
+ [name: string]: unknown;
8667
+ };
8668
+ content?: never;
8669
+ };
8670
+ };
8671
+ };
8498
8672
  'get_/v2/storage/branch/{branchId}/buckets/{bucketId}/tables::BucketGetTablesAction': {
8499
8673
  parameters: {
8500
8674
  query?: {
@@ -8883,11 +9057,7 @@ type operations = {
8883
9057
  };
8884
9058
  requestBody: {
8885
9059
  content: {
8886
- 'application/json':
8887
- | components['schemas']['CreateTableAsyncFromFileRequest']
8888
- | components['schemas']['CreateTableAsyncFromSnapshotRequest']
8889
- | components['schemas']['CreateTableAsyncFromTimeTravelRequest']
8890
- | components['schemas']['CreateTableAsyncFromWorkspaceRequest'];
9060
+ 'application/json': components['schemas']['CreateTableAsyncFromFileRequest'] | components['schemas']['CreateTableAsyncFromSnapshotRequest'] | components['schemas']['CreateTableAsyncFromTimeTravelRequest'] | components['schemas']['CreateTableAsyncFromWorkspaceRequest'];
8891
9061
  };
8892
9062
  };
8893
9063
  responses: {
@@ -8938,11 +9108,7 @@ type operations = {
8938
9108
  };
8939
9109
  requestBody: {
8940
9110
  content: {
8941
- 'application/json':
8942
- | components['schemas']['CreateTableAsyncFromFileRequest']
8943
- | components['schemas']['CreateTableAsyncFromSnapshotRequest']
8944
- | components['schemas']['CreateTableAsyncFromTimeTravelRequest']
8945
- | components['schemas']['CreateTableAsyncFromWorkspaceRequest'];
9111
+ 'application/json': components['schemas']['CreateTableAsyncFromFileRequest'] | components['schemas']['CreateTableAsyncFromSnapshotRequest'] | components['schemas']['CreateTableAsyncFromTimeTravelRequest'] | components['schemas']['CreateTableAsyncFromWorkspaceRequest'];
8946
9112
  };
8947
9113
  };
8948
9114
  responses: {
@@ -8994,9 +9160,7 @@ type operations = {
8994
9160
  };
8995
9161
  requestBody: {
8996
9162
  content: {
8997
- 'application/json':
8998
- | components['schemas']['SnowflakeCreateTableDefinitionRequest']
8999
- | components['schemas']['BigqueryCreateTableDefinitionRequest'];
9163
+ 'application/json': components['schemas']['SnowflakeCreateTableDefinitionRequest'] | components['schemas']['BigqueryCreateTableDefinitionRequest'];
9000
9164
  };
9001
9165
  };
9002
9166
  responses: {
@@ -9054,9 +9218,7 @@ type operations = {
9054
9218
  };
9055
9219
  requestBody: {
9056
9220
  content: {
9057
- 'application/json':
9058
- | components['schemas']['SnowflakeCreateTableDefinitionRequest']
9059
- | components['schemas']['BigqueryCreateTableDefinitionRequest'];
9221
+ 'application/json': components['schemas']['SnowflakeCreateTableDefinitionRequest'] | components['schemas']['BigqueryCreateTableDefinitionRequest'];
9060
9222
  };
9061
9223
  };
9062
9224
  responses: {
@@ -10652,7 +10814,10 @@ type operations = {
10652
10814
  /** @description When provided, enqueues a workspace output-mapping sync job after the config update. The workspace must be linked to this component and configuration. */
10653
10815
  workspaceId?: number | null;
10654
10816
  };
10655
- header?: never;
10817
+ header?: {
10818
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the update is applied only if the configuration is still at that version, otherwise it fails with 412. `*` only requires that the configuration still exists. Weak validators and tag lists are rejected with 400. No `ETag` is emitted on reads: the version does not change when `state` is written, so it is not a valid strong validator for the whole representation. */
10819
+ 'If-Match'?: string;
10820
+ };
10656
10821
  path: {
10657
10822
  branchId: string;
10658
10823
  componentId: string;
@@ -10675,7 +10840,7 @@ type operations = {
10675
10840
  };
10676
10841
  content?: never;
10677
10842
  };
10678
- /** @description Workspace does not belong to this component and configuration */
10843
+ /** @description Workspace does not belong to this component and configuration, or the `If-Match` value is unusable */
10679
10844
  400: {
10680
10845
  headers: {
10681
10846
  [name: string]: unknown;
@@ -10689,12 +10854,29 @@ type operations = {
10689
10854
  };
10690
10855
  content?: never;
10691
10856
  };
10857
+ /** @description Another request is mid-write on the configuration; retryable */
10858
+ 409: {
10859
+ headers: {
10860
+ [name: string]: unknown;
10861
+ };
10862
+ content?: never;
10863
+ };
10864
+ /** @description `If-Match` does not match the current version */
10865
+ 412: {
10866
+ headers: {
10867
+ [name: string]: unknown;
10868
+ };
10869
+ content?: never;
10870
+ };
10692
10871
  };
10693
10872
  };
10694
10873
  'delete_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction': {
10695
10874
  parameters: {
10696
10875
  query?: never;
10697
- header?: never;
10876
+ header?: {
10877
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the delete is applied only if the configuration is still at that version, otherwise it fails with 412. This guards against the double-delete race: a delete sent from a stale view cannot purge a configuration that moved to the trash in the meantime. */
10878
+ 'If-Match'?: string;
10879
+ };
10698
10880
  path: {
10699
10881
  branchId: string;
10700
10882
  componentId: string;
@@ -10704,7 +10886,43 @@ type operations = {
10704
10886
  };
10705
10887
  requestBody?: never;
10706
10888
  responses: {
10707
- default: {
10889
+ /** @description Configuration moved to trash, or purged when it already was in the trash */
10890
+ 204: {
10891
+ headers: {
10892
+ [name: string]: unknown;
10893
+ };
10894
+ content?: never;
10895
+ };
10896
+ /** @description Configuration is in the trash of a development branch, or the `If-Match` value is unusable */
10897
+ 400: {
10898
+ headers: {
10899
+ [name: string]: unknown;
10900
+ };
10901
+ content?: never;
10902
+ };
10903
+ /** @description Token lacks the `canPurgeTrash` permission required to purge */
10904
+ 403: {
10905
+ headers: {
10906
+ [name: string]: unknown;
10907
+ };
10908
+ content?: never;
10909
+ };
10910
+ /** @description Component or configuration not found */
10911
+ 404: {
10912
+ headers: {
10913
+ [name: string]: unknown;
10914
+ };
10915
+ content?: never;
10916
+ };
10917
+ /** @description Another request is mid-write on the configuration; retryable */
10918
+ 409: {
10919
+ headers: {
10920
+ [name: string]: unknown;
10921
+ };
10922
+ content?: never;
10923
+ };
10924
+ /** @description `If-Match` does not match the current version */
10925
+ 412: {
10708
10926
  headers: {
10709
10927
  [name: string]: unknown;
10710
10928
  };
@@ -10746,7 +10964,10 @@ type operations = {
10746
10964
  /** @description When provided, enqueues a workspace output-mapping sync job after the config update. The workspace must be linked to this component and configuration. */
10747
10965
  workspaceId?: number | null;
10748
10966
  };
10749
- header?: never;
10967
+ header?: {
10968
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the update is applied only if the configuration is still at that version, otherwise it fails with 412. `*` only requires that the configuration still exists. Weak validators and tag lists are rejected with 400. No `ETag` is emitted on reads: the version does not change when `state` is written, so it is not a valid strong validator for the whole representation. */
10969
+ 'If-Match'?: string;
10970
+ };
10750
10971
  path: {
10751
10972
  componentId: string;
10752
10973
  configurationId: string;
@@ -10768,7 +10989,7 @@ type operations = {
10768
10989
  };
10769
10990
  content?: never;
10770
10991
  };
10771
- /** @description Workspace does not belong to this component and configuration */
10992
+ /** @description Workspace does not belong to this component and configuration, or the `If-Match` value is unusable */
10772
10993
  400: {
10773
10994
  headers: {
10774
10995
  [name: string]: unknown;
@@ -10782,12 +11003,29 @@ type operations = {
10782
11003
  };
10783
11004
  content?: never;
10784
11005
  };
11006
+ /** @description Another request is mid-write on the configuration; retryable */
11007
+ 409: {
11008
+ headers: {
11009
+ [name: string]: unknown;
11010
+ };
11011
+ content?: never;
11012
+ };
11013
+ /** @description `If-Match` does not match the current version */
11014
+ 412: {
11015
+ headers: {
11016
+ [name: string]: unknown;
11017
+ };
11018
+ content?: never;
11019
+ };
10785
11020
  };
10786
11021
  };
10787
11022
  'delete_/v2/storage/components/{componentId}/configs/{configurationId}::ConfigurationDeleteAction': {
10788
11023
  parameters: {
10789
11024
  query?: never;
10790
- header?: never;
11025
+ header?: {
11026
+ /** @description Optimistic concurrency precondition, RFC 9110 form. Send the `version` field of the configuration detail response as a strong entity tag, e.g. `"5"`; the delete is applied only if the configuration is still at that version, otherwise it fails with 412. This guards against the double-delete race: a delete sent from a stale view cannot purge a configuration that moved to the trash in the meantime. */
11027
+ 'If-Match'?: string;
11028
+ };
10791
11029
  path: {
10792
11030
  componentId: string;
10793
11031
  configurationId: string;
@@ -10796,7 +11034,43 @@ type operations = {
10796
11034
  };
10797
11035
  requestBody?: never;
10798
11036
  responses: {
10799
- default: {
11037
+ /** @description Configuration moved to trash, or purged when it already was in the trash */
11038
+ 204: {
11039
+ headers: {
11040
+ [name: string]: unknown;
11041
+ };
11042
+ content?: never;
11043
+ };
11044
+ /** @description Configuration is in the trash of a development branch, or the `If-Match` value is unusable */
11045
+ 400: {
11046
+ headers: {
11047
+ [name: string]: unknown;
11048
+ };
11049
+ content?: never;
11050
+ };
11051
+ /** @description Token lacks the `canPurgeTrash` permission required to purge */
11052
+ 403: {
11053
+ headers: {
11054
+ [name: string]: unknown;
11055
+ };
11056
+ content?: never;
11057
+ };
11058
+ /** @description Component or configuration not found */
11059
+ 404: {
11060
+ headers: {
11061
+ [name: string]: unknown;
11062
+ };
11063
+ content?: never;
11064
+ };
11065
+ /** @description Another request is mid-write on the configuration; retryable */
11066
+ 409: {
11067
+ headers: {
11068
+ [name: string]: unknown;
11069
+ };
11070
+ content?: never;
11071
+ };
11072
+ /** @description `If-Match` does not match the current version */
11073
+ 412: {
10800
11074
  headers: {
10801
11075
  [name: string]: unknown;
10802
11076
  };
@@ -10842,6 +11116,139 @@ type operations = {
10842
11116
  };
10843
11117
  };
10844
11118
  };
11119
+ 'post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction': {
11120
+ parameters: {
11121
+ query?: never;
11122
+ header: {
11123
+ /** @description Required optimistic-concurrency precondition, RFC 9110 form. Send the `version` field of the configuration as a strong entity tag, e.g. `"5"`; the purge is applied only if the configuration is still at that version, otherwise it fails with 412. A request without the header (or with `*`, which does not pin a version) fails with 428. */
11124
+ 'If-Match': string;
11125
+ };
11126
+ path: {
11127
+ branchId: string;
11128
+ componentId: string;
11129
+ configurationId: string;
11130
+ };
11131
+ cookie?: never;
11132
+ };
11133
+ requestBody?: never;
11134
+ responses: {
11135
+ /** @description Configuration purged */
11136
+ 204: {
11137
+ headers: {
11138
+ [name: string]: unknown;
11139
+ };
11140
+ content?: never;
11141
+ };
11142
+ /** @description Configuration is not in the trash, the branch is a development branch, or the `If-Match` value is unusable */
11143
+ 400: {
11144
+ headers: {
11145
+ [name: string]: unknown;
11146
+ };
11147
+ content?: never;
11148
+ };
11149
+ /** @description Token lacks the `canPurgeTrash` permission */
11150
+ 403: {
11151
+ headers: {
11152
+ [name: string]: unknown;
11153
+ };
11154
+ content?: never;
11155
+ };
11156
+ /** @description Component or configuration not found */
11157
+ 404: {
11158
+ headers: {
11159
+ [name: string]: unknown;
11160
+ };
11161
+ content?: never;
11162
+ };
11163
+ /** @description Another request is mid-write on the configuration; retryable */
11164
+ 409: {
11165
+ headers: {
11166
+ [name: string]: unknown;
11167
+ };
11168
+ content?: never;
11169
+ };
11170
+ /** @description `If-Match` does not match the current version */
11171
+ 412: {
11172
+ headers: {
11173
+ [name: string]: unknown;
11174
+ };
11175
+ content?: never;
11176
+ };
11177
+ /** @description `If-Match` header is missing or does not pin a specific version */
11178
+ 428: {
11179
+ headers: {
11180
+ [name: string]: unknown;
11181
+ };
11182
+ content?: never;
11183
+ };
11184
+ };
11185
+ };
11186
+ 'post_/v2/storage/components/{componentId}/configs/{configurationId}/purge::ConfigurationPurgeAction': {
11187
+ parameters: {
11188
+ query?: never;
11189
+ header: {
11190
+ /** @description Required optimistic-concurrency precondition, RFC 9110 form. Send the `version` field of the configuration as a strong entity tag, e.g. `"5"`; the purge is applied only if the configuration is still at that version, otherwise it fails with 412. A request without the header (or with `*`, which does not pin a version) fails with 428. */
11191
+ 'If-Match': string;
11192
+ };
11193
+ path: {
11194
+ componentId: string;
11195
+ configurationId: string;
11196
+ };
11197
+ cookie?: never;
11198
+ };
11199
+ requestBody?: never;
11200
+ responses: {
11201
+ /** @description Configuration purged */
11202
+ 204: {
11203
+ headers: {
11204
+ [name: string]: unknown;
11205
+ };
11206
+ content?: never;
11207
+ };
11208
+ /** @description Configuration is not in the trash, the branch is a development branch, or the `If-Match` value is unusable */
11209
+ 400: {
11210
+ headers: {
11211
+ [name: string]: unknown;
11212
+ };
11213
+ content?: never;
11214
+ };
11215
+ /** @description Token lacks the `canPurgeTrash` permission */
11216
+ 403: {
11217
+ headers: {
11218
+ [name: string]: unknown;
11219
+ };
11220
+ content?: never;
11221
+ };
11222
+ /** @description Component or configuration not found */
11223
+ 404: {
11224
+ headers: {
11225
+ [name: string]: unknown;
11226
+ };
11227
+ content?: never;
11228
+ };
11229
+ /** @description Another request is mid-write on the configuration; retryable */
11230
+ 409: {
11231
+ headers: {
11232
+ [name: string]: unknown;
11233
+ };
11234
+ content?: never;
11235
+ };
11236
+ /** @description `If-Match` does not match the current version */
11237
+ 412: {
11238
+ headers: {
11239
+ [name: string]: unknown;
11240
+ };
11241
+ content?: never;
11242
+ };
11243
+ /** @description `If-Match` header is missing or does not pin a specific version */
11244
+ 428: {
11245
+ headers: {
11246
+ [name: string]: unknown;
11247
+ };
11248
+ content?: never;
11249
+ };
11250
+ };
11251
+ };
10845
11252
  'post_/v2/storage/branch/{branchId}/components/{componentId}/configs/{configurationId}/rebase::ConfigurationRebaseAction': {
10846
11253
  parameters: {
10847
11254
  query?: never;
@@ -13235,10 +13642,7 @@ type operations = {
13235
13642
  };
13236
13643
  requestBody: {
13237
13644
  content: {
13238
- 'application/json':
13239
- | components['schemas']['AbsFilePrepareRequest']
13240
- | components['schemas']['GcsFilePrepareRequest']
13241
- | components['schemas']['S3FilePrepareRequest'];
13645
+ 'application/json': components['schemas']['AbsFilePrepareRequest'] | components['schemas']['GcsFilePrepareRequest'] | components['schemas']['S3FilePrepareRequest'];
13242
13646
  };
13243
13647
  };
13244
13648
  responses: {
@@ -13259,10 +13663,7 @@ type operations = {
13259
13663
  };
13260
13664
  requestBody: {
13261
13665
  content: {
13262
- 'application/json':
13263
- | components['schemas']['AbsFilePrepareRequest']
13264
- | components['schemas']['GcsFilePrepareRequest']
13265
- | components['schemas']['S3FilePrepareRequest'];
13666
+ 'application/json': components['schemas']['AbsFilePrepareRequest'] | components['schemas']['GcsFilePrepareRequest'] | components['schemas']['S3FilePrepareRequest'];
13266
13667
  };
13267
13668
  };
13268
13669
  responses: {
@@ -13323,18 +13724,7 @@ type operations = {
13323
13724
  /** @description Number of results to skip (pagination). */
13324
13725
  offset?: number;
13325
13726
  /** @description Filter by object type. Repeatable. */
13326
- 'types[]'?:
13327
- | (
13328
- | 'flow'
13329
- | 'bucket'
13330
- | 'table'
13331
- | 'transformation'
13332
- | 'configuration'
13333
- | 'configuration-row'
13334
- | 'workspace'
13335
- | 'shared-code'
13336
- )[]
13337
- | null;
13727
+ 'types[]'?: ('flow' | 'bucket' | 'table' | 'transformation' | 'configuration' | 'configuration-row' | 'workspace' | 'shared-code')[] | null;
13338
13728
  /** @description Narrow the search to specific project ids. Repeatable. */
13339
13729
  'projectIds[]'?: number[] | null;
13340
13730
  /** @description Filter by branch type. Repeatable. */
@@ -14154,10 +14544,7 @@ type operations = {
14154
14544
  /** @description Request payload for creating columns */
14155
14545
  requestBody: {
14156
14546
  content: {
14157
- 'application/json':
14158
- | components['schemas']['BigqueryAddColumnToTableRequest']
14159
- | components['schemas']['SnowflakeAddColumnToTableRequest']
14160
- | components['schemas']['ColumnCreateRequest'];
14547
+ 'application/json': components['schemas']['BigqueryAddColumnToTableRequest'] | components['schemas']['SnowflakeAddColumnToTableRequest'] | components['schemas']['ColumnCreateRequest'];
14161
14548
  };
14162
14549
  };
14163
14550
  responses: {
@@ -14193,10 +14580,7 @@ type operations = {
14193
14580
  /** @description Request payload for creating columns */
14194
14581
  requestBody: {
14195
14582
  content: {
14196
- 'application/json':
14197
- | components['schemas']['BigqueryAddColumnToTableRequest']
14198
- | components['schemas']['SnowflakeAddColumnToTableRequest']
14199
- | components['schemas']['ColumnCreateRequest'];
14583
+ 'application/json': components['schemas']['BigqueryAddColumnToTableRequest'] | components['schemas']['SnowflakeAddColumnToTableRequest'] | components['schemas']['ColumnCreateRequest'];
14200
14584
  };
14201
14585
  };
14202
14586
  responses: {
@@ -14216,6 +14600,127 @@ type operations = {
14216
14600
  };
14217
14601
  };
14218
14602
  };
14603
+ 'delete_/v2/storage/branch/{branchId}/tables/{tableId}/columns/{columnName}::ColumnDeleteAction': {
14604
+ parameters: {
14605
+ query?: {
14606
+ /** @description Drop the column even when aliases or filters reference it. */
14607
+ force?: boolean;
14608
+ };
14609
+ header?: {
14610
+ 'X-KBC-Backend'?: {
14611
+ context?: string | null;
14612
+ };
14613
+ };
14614
+ path: {
14615
+ /** @description Table string id (e.g. `in.c-main.orders`). */
14616
+ tableId: string;
14617
+ /** @description Name of the column to delete. */
14618
+ columnName: string;
14619
+ branchId: string;
14620
+ };
14621
+ cookie?: never;
14622
+ };
14623
+ requestBody?: never;
14624
+ responses: {
14625
+ /** @description Job accepted; returns job details. */
14626
+ 202: {
14627
+ headers: {
14628
+ [name: string]: unknown;
14629
+ };
14630
+ content: {
14631
+ 'application/json': components['schemas']['JobResponse'];
14632
+ };
14633
+ };
14634
+ /** @description The backend does not support dropping columns (`storage.driver.unsupportedOperation`). */
14635
+ 400: {
14636
+ headers: {
14637
+ [name: string]: unknown;
14638
+ };
14639
+ content?: never;
14640
+ };
14641
+ /** @description Access to the table was denied. */
14642
+ 403: {
14643
+ headers: {
14644
+ [name: string]: unknown;
14645
+ };
14646
+ content?: never;
14647
+ };
14648
+ /** @description Either the table or its bucket was not found. */
14649
+ 404: {
14650
+ headers: {
14651
+ [name: string]: unknown;
14652
+ };
14653
+ content?: never;
14654
+ };
14655
+ /** @description Bucket or backend is under maintenance. */
14656
+ 503: {
14657
+ headers: {
14658
+ [name: string]: unknown;
14659
+ };
14660
+ content?: never;
14661
+ };
14662
+ };
14663
+ };
14664
+ 'delete_/v2/storage/tables/{tableId}/columns/{columnName}::ColumnDeleteAction': {
14665
+ parameters: {
14666
+ query?: {
14667
+ /** @description Drop the column even when aliases or filters reference it. */
14668
+ force?: boolean;
14669
+ };
14670
+ header?: {
14671
+ 'X-KBC-Backend'?: {
14672
+ context?: string | null;
14673
+ };
14674
+ };
14675
+ path: {
14676
+ /** @description Table string id (e.g. `in.c-main.orders`). */
14677
+ tableId: string;
14678
+ /** @description Name of the column to delete. */
14679
+ columnName: string;
14680
+ };
14681
+ cookie?: never;
14682
+ };
14683
+ requestBody?: never;
14684
+ responses: {
14685
+ /** @description Job accepted; returns job details. */
14686
+ 202: {
14687
+ headers: {
14688
+ [name: string]: unknown;
14689
+ };
14690
+ content: {
14691
+ 'application/json': components['schemas']['JobResponse'];
14692
+ };
14693
+ };
14694
+ /** @description The backend does not support dropping columns (`storage.driver.unsupportedOperation`). */
14695
+ 400: {
14696
+ headers: {
14697
+ [name: string]: unknown;
14698
+ };
14699
+ content?: never;
14700
+ };
14701
+ /** @description Access to the table was denied. */
14702
+ 403: {
14703
+ headers: {
14704
+ [name: string]: unknown;
14705
+ };
14706
+ content?: never;
14707
+ };
14708
+ /** @description Either the table or its bucket was not found. */
14709
+ 404: {
14710
+ headers: {
14711
+ [name: string]: unknown;
14712
+ };
14713
+ content?: never;
14714
+ };
14715
+ /** @description Bucket or backend is under maintenance. */
14716
+ 503: {
14717
+ headers: {
14718
+ [name: string]: unknown;
14719
+ };
14720
+ content?: never;
14721
+ };
14722
+ };
14723
+ };
14219
14724
  'put_/v2/storage/branch/{branchId}/tables/{id}/columns/{column}/definition::DefinitionUpdateAction': {
14220
14725
  parameters: {
14221
14726
  query?: never;
@@ -14229,9 +14734,7 @@ type operations = {
14229
14734
  };
14230
14735
  requestBody: {
14231
14736
  content: {
14232
- 'application/json':
14233
- | components['schemas']['SnowflakeColumnsDefinitionUpdateRequest']
14234
- | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
14737
+ 'application/json': components['schemas']['SnowflakeColumnsDefinitionUpdateRequest'] | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
14235
14738
  };
14236
14739
  };
14237
14740
  responses: {
@@ -14255,9 +14758,7 @@ type operations = {
14255
14758
  };
14256
14759
  requestBody: {
14257
14760
  content: {
14258
- 'application/json':
14259
- | components['schemas']['SnowflakeColumnsDefinitionUpdateRequest']
14260
- | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
14761
+ 'application/json': components['schemas']['SnowflakeColumnsDefinitionUpdateRequest'] | components['schemas']['BigQueryColumnsDefinitionUpdateRequest'];
14261
14762
  };
14262
14763
  };
14263
14764
  responses: {
@@ -14437,9 +14938,7 @@ type operations = {
14437
14938
  };
14438
14939
  requestBody: {
14439
14940
  content: {
14440
- 'application/json':
14441
- | components['schemas']['ImportDataAsyncFromFileRequest']
14442
- | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
14941
+ 'application/json': components['schemas']['ImportDataAsyncFromFileRequest'] | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
14443
14942
  };
14444
14943
  };
14445
14944
  responses: {
@@ -14466,9 +14965,7 @@ type operations = {
14466
14965
  };
14467
14966
  requestBody: {
14468
14967
  content: {
14469
- 'application/json':
14470
- | components['schemas']['ImportDataAsyncFromFileRequest']
14471
- | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
14968
+ 'application/json': components['schemas']['ImportDataAsyncFromFileRequest'] | components['schemas']['ImportDataAsyncFromWorkspaceRequest'];
14472
14969
  };
14473
14970
  };
14474
14971
  responses: {
@@ -15925,9 +16422,7 @@ type operations = {
15925
16422
  };
15926
16423
  requestBody: {
15927
16424
  content: {
15928
- 'application/json':
15929
- | components['schemas']['TokenCreateRequest']
15930
- | components['schemas']['TokenCreateLimitedRequest'];
16425
+ 'application/json': components['schemas']['TokenCreateRequest'] | components['schemas']['TokenCreateLimitedRequest'];
15931
16426
  };
15932
16427
  };
15933
16428
  responses: {
@@ -18180,103 +18675,110 @@ type operations = {
18180
18675
  };
18181
18676
  };
18182
18677
  };
18183
- };
18184
-
18678
+ }
18679
+ //#endregion
18680
+ //#region src/clients/storage/tokens/types.d.ts
18185
18681
  type ProjectId = number;
18682
+ type CreateTokenSchemaBody = OpenapiBodyType<paths['/v2/storage/tokens']['post']>;
18683
+ type UpdateTokenSchemaBody = OpenapiBodyType<paths['/v2/storage/tokens/{id}']['put']>;
18684
+ type ShareTokenSchemaBody = OpenapiBodyType<paths['/v2/storage/tokens/{id}/share']['post']>;
18685
+ type TokenListItem = OpenapiReturnType<paths['/v2/storage/tokens']['get']>[number];
18686
+ type GetTokenEventsInput = {
18687
+ id: string;
18688
+ } & NonNullable<OpenapiQueryType<paths['/v2/storage/tokens/{id}/events']['get']>>;
18689
+ type CreateTokenResponse = OpenapiReturnType<paths['/v2/storage/tokens']['post']>;
18186
18690
  type StorageTokenOwner = {
18187
- id: ProjectId;
18691
+ id: ProjectId;
18692
+ name: string;
18693
+ type: string;
18694
+ region: string;
18695
+ created: string;
18696
+ expires: string | null;
18697
+ features: string[];
18698
+ dataSizeBytes: number;
18699
+ rowsCount: number;
18700
+ hasMysql: boolean;
18701
+ hasSynapse: boolean;
18702
+ hasRedshift: boolean;
18703
+ hasSnowflake: boolean;
18704
+ hasExasol: boolean;
18705
+ hasTeradata: boolean;
18706
+ hasBigquery: boolean;
18707
+ defaultBackend: string;
18708
+ hasTryModeOn: string;
18709
+ limits: Record<string, {
18188
18710
  name: string;
18189
- type: string;
18190
- region: string;
18191
- created: string;
18192
- expires: string | null;
18193
- features: string[];
18194
- dataSizeBytes: number;
18195
- rowsCount: number;
18196
- hasMysql: boolean;
18197
- hasSynapse: boolean;
18198
- hasRedshift: boolean;
18199
- hasSnowflake: boolean;
18200
- hasExasol: boolean;
18201
- hasTeradata: boolean;
18202
- hasBigquery: boolean;
18203
- defaultBackend: string;
18204
- hasTryModeOn: string;
18205
- limits: Record<string, {
18206
- name: string;
18207
- value: number;
18208
- }>;
18209
- metrics: Record<string, {
18210
- name: string;
18211
- value: number;
18212
- }>;
18213
- isDisabled: boolean;
18214
- billedMonthlyPrice: number | null;
18215
- dataRetentionTimeInDays: number;
18216
- assignedBackends: Backend[];
18217
- fileStorageProvider: string;
18711
+ value: number;
18712
+ }>;
18713
+ metrics: Record<string, {
18714
+ name: string;
18715
+ value: number;
18716
+ }>;
18717
+ isDisabled: boolean;
18718
+ billedMonthlyPrice: number | null;
18719
+ dataRetentionTimeInDays: number;
18720
+ assignedBackends: Backend[];
18721
+ fileStorageProvider: string;
18218
18722
  };
18219
18723
  type StorageTokenAdmin = {
18220
- id: number;
18221
- name: string;
18222
- features: string[];
18223
- isOrganizationMember: boolean;
18224
- role: AdminRole;
18724
+ id: number;
18725
+ name: string;
18726
+ features: string[];
18727
+ isOrganizationMember: boolean;
18728
+ role: AdminRole;
18225
18729
  };
18226
18730
  type StorageTokenAdminOwner = {
18227
- id: number;
18228
- name: string;
18229
- email: string;
18731
+ id: number;
18732
+ name: string;
18733
+ email: string;
18230
18734
  };
18231
- type StorageToken = {
18232
- id: string;
18233
- created: string;
18234
- refreshed: string;
18235
- description: string;
18236
- uri: string;
18237
- isMasterToken: boolean;
18238
- canManageBuckets: boolean;
18239
- canManageTokens: boolean;
18240
- canReadAllFileUploads: boolean;
18241
- canPurgeTrash: boolean;
18242
- canManageProtectedDefaultBranch: boolean;
18243
- canCreateJobs: boolean;
18244
- expires: string | null;
18245
- isExpired: boolean;
18246
- isDisabled: boolean;
18247
- isBYODB: boolean;
18248
- dailyCapacity: number;
18249
- bucketPermissions: Record<string, string>;
18250
- owner: StorageTokenOwner;
18251
- organization: {
18252
- id: string;
18253
- };
18254
- admin: StorageTokenAdmin;
18255
- adminOwner: StorageTokenAdminOwner;
18256
- };
18257
- /** A single token as returned by `GET /v2/storage/tokens` (lighter than the verify/detail shape). */
18258
- type TokenListItem = OpenapiReturnType<paths['/v2/storage/tokens']['get']>[number];
18735
+ /** The verify payload as the spec declares it — `StorageToken` is the corrected shape. */
18736
+ type StorageTokenRaw = OpenapiReturnType<paths['/v2/storage/tokens/verify']['get']>;
18259
18737
  /**
18260
- * Body for `POST /v2/storage/tokens`. All fields are optional: the generated `TokenCreateRequest`
18261
- * marks the permission flags / `bucketPermissions` / `componentAccess` as required, but the API
18262
- * applies documented defaults for any omitted field (the legacy `StorageApi.createToken` call sites
18263
- * send only a subset, e.g. `createTriggerToken`), so this is the permissive partial of that schema.
18738
+ * Derived from `StorageTokenRaw`, overriding only the fields the spec models badly. Everything not
18739
+ * listed in the `Omit` tracks the schema, so a new flag added by the backend arrives with
18740
+ * `pnpm gen:types` instead of being transcribed by hand. Each override below names the spec bug it
18741
+ * works around — if one of them is ever fixed upstream, delete the override.
18264
18742
  */
18265
- type CreateTokenBody = Partial<components['schemas']['TokenCreateRequest']>;
18266
- /** Response of `POST /v2/storage/tokens` — includes the freshly issued `token` secret. */
18267
- type CreateTokenResponse = OpenapiReturnType<paths['/v2/storage/tokens']['post']>;
18743
+ type StorageToken = Omit<StorageTokenRaw, 'token' | 'owner' | 'organization' | 'admin' | 'adminOwner'> & {
18744
+ token?: string;
18745
+ owner: StorageTokenOwner;
18746
+ organization: {
18747
+ id: string;
18748
+ };
18749
+ admin: StorageTokenAdmin;
18750
+ adminOwner: StorageTokenAdminOwner;
18751
+ };
18268
18752
  /**
18269
- * Body for `PUT /v2/storage/tokens/{id}`. The generated schema models `UpdateTokenRequest` as an
18270
- * empty object, so this is hand-authored from the mutable subset of the create request.
18753
+ * Spec: `bucketPermissions: string[]`. The API takes a map of bucket id to permission, which is what
18754
+ * kbc-ui's own token form has always sent (`tokenEditor/BucketsSelector` builds a Map, and the New
18755
+ * Token page submits it through `toJS()`), and what a live create accepts. Typing it as the spec
18756
+ * claims forces every caller into a cast, so correct it here instead — same as the two fields above.
18271
18757
  */
18272
- type UpdateTokenBody = Partial<components['schemas']['TokenCreateRequest']>;
18758
+ type BucketPermissions = Record<string, 'read' | 'write'>;
18273
18759
  /**
18274
- * Body for `POST /v2/storage/tokens/{id}/share`. The generated schema models `ShareTokenRequest`
18275
- * as an empty object, so this is hand-authored.
18760
+ * The full create body, every field optional because the API defaults each one.
18761
+ *
18762
+ * - `CreateTokenSchemaBody` is a union: the full request plus a limited arm carrying only
18763
+ * `description` and `expiresIn`, which this one already covers.
18764
+ * - Picked by a field only the full arm declares, so the arm stays spec-derived.
18276
18765
  */
18766
+ type CreateTokenBody = Omit<Partial<Extract<CreateTokenSchemaBody, {
18767
+ canManageBuckets: boolean;
18768
+ }>>, 'bucketPermissions'> & {
18769
+ bucketPermissions?: BucketPermissions;
18770
+ };
18771
+ type UpdateTokenBody = CreateTokenBody;
18772
+ type UpdateTokenInput = {
18773
+ id: string;
18774
+ } & UpdateTokenBody;
18277
18775
  type ShareTokenBody = {
18278
- recipientEmail: string;
18279
- message?: string;
18776
+ recipientEmail: string;
18777
+ message?: string;
18280
18778
  };
18281
-
18282
- export type { CreateTokenBody as C, ProjectId as P, StorageToken as S, TokenListItem as T, UpdateTokenBody as U, ShareTokenBody as a, CreateTokenResponse as b, components as c, paths as p };
18779
+ type ShareTokenInput = {
18780
+ id: string;
18781
+ } & ShareTokenBody;
18782
+ //#endregion
18783
+ export { ProjectId as a, ShareTokenSchemaBody as c, TokenListItem as d, UpdateTokenBody as f, paths as g, components as h, GetTokenEventsInput as i, StorageToken as l, UpdateTokenSchemaBody as m, CreateTokenResponse as n, ShareTokenBody as o, UpdateTokenInput as p, CreateTokenSchemaBody as r, ShareTokenInput as s, CreateTokenBody as t, StorageTokenRaw as u };
18784
+ //# sourceMappingURL=types-ISUNM_BR.d.cts.map