@keboola/api-client 47.0.0 → 48.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 (277) hide show
  1. package/AGENTS.md +9 -3
  2. package/API-SURFACE.md +4 -2
  3. package/CHANGELOG.md +31 -0
  4. package/README.md +1 -1
  5. package/dist/{adminRoles-DGM8SuuF.d.cts → adminRoles-BgpaBE7h.d.cts} +2 -2
  6. package/dist/{adminRoles-CvdIUkiC.d.ts → adminRoles-DsoGQipO.d.ts} +2 -2
  7. package/dist/ai/index.cjs +0 -5
  8. package/dist/ai/index.cjs.map +1 -1
  9. package/dist/ai/index.d.cts +2 -3
  10. package/dist/ai/index.d.ts +2 -3
  11. package/dist/ai/index.js +0 -5
  12. package/dist/ai/index.js.map +1 -1
  13. package/dist/ai/types.d.cts +2 -2
  14. package/dist/ai/types.d.ts +2 -2
  15. package/dist/{appLogs-xW0-JQXg.d.ts → appLogs-DpcqeOe5.d.ts} +2 -2
  16. package/dist/{appLogs-Cxhm2Rkn.d.cts → appLogs-SjrflOHk.d.cts} +2 -2
  17. package/dist/apps/index.cjs +2 -2
  18. package/dist/apps/index.cjs.map +1 -1
  19. package/dist/apps/index.d.cts +3 -3
  20. package/dist/apps/index.d.ts +3 -3
  21. package/dist/apps/index.js +2 -2
  22. package/dist/apps/index.js.map +1 -1
  23. package/dist/apps/types.d.cts +2 -2
  24. package/dist/apps/types.d.ts +2 -2
  25. package/dist/assets/index.d.cts +1 -1
  26. package/dist/assets/index.d.ts +1 -1
  27. package/dist/auth/index.d.cts +1 -1
  28. package/dist/auth/index.d.ts +1 -1
  29. package/dist/auth/types.d.cts +1 -1
  30. package/dist/auth/types.d.ts +1 -1
  31. package/dist/{authClient-Bso5UaXS.d.ts → authClient-BYIGzL_u.d.ts} +4 -4
  32. package/dist/{authClient-aud2dUZd.d.cts → authClient-D06srBQE.d.cts} +4 -4
  33. package/dist/billing/index.d.cts +1 -1
  34. package/dist/billing/index.d.ts +1 -1
  35. package/dist/billing/types.d.cts +1 -1
  36. package/dist/billing/types.d.ts +1 -1
  37. package/dist/chat/index.d.cts +2 -2
  38. package/dist/chat/index.d.ts +2 -2
  39. package/dist/chat/types.d.cts +1 -1
  40. package/dist/chat/types.d.ts +1 -1
  41. package/dist/componentsMcp/index.d.cts +1 -1
  42. package/dist/componentsMcp/index.d.ts +1 -1
  43. package/dist/componentsMcp/types.d.cts +1 -1
  44. package/dist/componentsMcp/types.d.ts +1 -1
  45. package/dist/{configurations-D_Rbs0Wl.cjs → configurations-B2O8AAy0.cjs} +2 -2
  46. package/dist/{configurations-D_Rbs0Wl.cjs.map → configurations-B2O8AAy0.cjs.map} +1 -1
  47. package/dist/{configurations-Chg_JwJ1.js → configurations-CL0ouUMa.js} +3 -3
  48. package/dist/configurations-CL0ouUMa.js.map +1 -0
  49. package/dist/{configurations-BTRHVSRq.cjs → configurations-D9J3jh3g.cjs} +3 -3
  50. package/dist/configurations-D9J3jh3g.cjs.map +1 -0
  51. package/dist/{configurations-DcpUlC8I.js → configurations-DKINmjA3.js} +2 -2
  52. package/dist/{configurations-DcpUlC8I.js.map → configurations-DKINmjA3.js.map} +1 -1
  53. package/dist/constants/index.d.cts +2 -2
  54. package/dist/constants/index.d.ts +2 -2
  55. package/dist/dataScience/index.d.cts +2 -2
  56. package/dist/dataScience/index.d.ts +2 -2
  57. package/dist/dataScience/types.d.cts +2 -2
  58. package/dist/dataScience/types.d.ts +2 -2
  59. package/dist/developerPortal/index.d.cts +2 -2
  60. package/dist/developerPortal/index.d.ts +2 -2
  61. package/dist/developerPortal/types.d.cts +1 -1
  62. package/dist/developerPortal/types.d.ts +1 -1
  63. package/dist/domain/permissions/index.cjs +1 -1
  64. package/dist/domain/permissions/index.d.cts +2 -2
  65. package/dist/domain/permissions/index.d.ts +2 -2
  66. package/dist/domain/permissions/index.js +1 -1
  67. package/dist/editor/index.d.cts +2 -2
  68. package/dist/editor/index.d.ts +2 -2
  69. package/dist/editor/types.d.cts +1 -1
  70. package/dist/editor/types.d.ts +1 -1
  71. package/dist/encryption/index.d.cts +1 -1
  72. package/dist/encryption/index.d.ts +1 -1
  73. package/dist/encryption/types.d.cts +1 -1
  74. package/dist/encryption/types.d.ts +1 -1
  75. package/dist/import/index.d.cts +3 -3
  76. package/dist/import/index.d.ts +3 -3
  77. package/dist/{index-CAWy1qjR.d.ts → index-B3QTeqfL.d.ts} +300 -140
  78. package/dist/{index-Ds0tViQS.d.cts → index-BCjU-g9t.d.cts} +3 -3
  79. package/dist/{index-BGEuaZqI.d.cts → index-BHiJu8LF.d.cts} +9 -4
  80. package/dist/{index-BeOd45XE.d.ts → index-BIldED4N.d.ts} +4 -4
  81. package/dist/{index-B_MzjCeE.d.ts → index-BLvmyehw.d.ts} +3 -3
  82. package/dist/{index-DloFSSj3.d.ts → index-BTrxCk90.d.ts} +3 -3
  83. package/dist/{index-x_kS_5x_.d.cts → index-ByLCYBaw.d.cts} +4 -4
  84. package/dist/{index-CkwZ5x7E.d.cts → index-C40Fbj-6.d.cts} +300 -140
  85. package/dist/{index-Dp-a2DdI.d.ts → index-CIqWOEWD.d.ts} +4 -4
  86. package/dist/{index-DTysQ_yn.d.cts → index-Cc5wSIRJ.d.cts} +5 -5
  87. package/dist/{index-XaPb6unB.d.cts → index-ChDl6ig5.d.cts} +256 -33
  88. package/dist/{index-URgNfi5L.d.cts → index-Co2Cd-nw.d.cts} +3 -3
  89. package/dist/{index-DUB0BwQv.d.cts → index-CpGmmJbt.d.cts} +4 -4
  90. package/dist/{index-ZYvgoqgW.d.cts → index-CpUYVB-d.d.cts} +4 -4
  91. package/dist/{index-BnPmXDVP.d.ts → index-CzHrIfZS.d.ts} +2 -2
  92. package/dist/{index-XG5cO-4H.d.cts → index-D91RxB_S.d.cts} +18 -13
  93. package/dist/{index-_Va9wynk.d.ts → index-DlZiWfQb.d.ts} +9 -4
  94. package/dist/{index-HSkjm3QW.d.ts → index-DzLXtE4Q.d.ts} +5 -5
  95. package/dist/{index-8ZjY7YD8.d.cts → index-VlzlOBkc.d.cts} +2 -2
  96. package/dist/{index-BIP0PoMW.d.ts → index-avzO5sLa.d.ts} +18 -13
  97. package/dist/{index-C2OAOK0s.d.ts → index-m7fX76x3.d.ts} +4 -4
  98. package/dist/{index-r6YSe8B-.d.ts → index-sDHBkJhU.d.ts} +256 -33
  99. package/dist/index.cjs +451 -256
  100. package/dist/index.cjs.map +1 -1
  101. package/dist/index.d.cts +6 -6
  102. package/dist/index.d.ts +6 -6
  103. package/dist/index.js +451 -257
  104. package/dist/index.js.map +1 -1
  105. package/dist/kaiAgent/index.cjs +1 -1
  106. package/dist/kaiAgent/index.d.cts +3 -3
  107. package/dist/kaiAgent/index.d.ts +3 -3
  108. package/dist/kaiAgent/index.js +1 -1
  109. package/dist/kaiAgent/types.d.cts +1 -1
  110. package/dist/kaiAgent/types.d.ts +1 -1
  111. package/dist/{kaiAgent-CBPbMwBh.js → kaiAgent-CYvrS8oZ.js} +12 -3
  112. package/dist/kaiAgent-CYvrS8oZ.js.map +1 -0
  113. package/dist/{kaiAgent-BmfUG8bB.cjs → kaiAgent-N2qbUFZm.cjs} +12 -3
  114. package/dist/kaiAgent-N2qbUFZm.cjs.map +1 -0
  115. package/dist/management/index.cjs +1 -1
  116. package/dist/management/index.d.cts +1 -1
  117. package/dist/management/index.d.ts +1 -1
  118. package/dist/management/index.js +1 -1
  119. package/dist/management/types.d.cts +2 -2
  120. package/dist/management/types.d.ts +2 -2
  121. package/dist/{management-BUGPJ1Bu.cjs → management-CXHnxVaZ.cjs} +12 -5
  122. package/dist/management-CXHnxVaZ.cjs.map +1 -0
  123. package/dist/{management-DAg2obYt.js → management-NYAD6ej4.js} +12 -5
  124. package/dist/management-NYAD6ej4.js.map +1 -0
  125. package/dist/metastore/index.d.cts +1 -1
  126. package/dist/metastore/index.d.ts +1 -1
  127. package/dist/metastore/types.d.cts +1 -1
  128. package/dist/metastore/types.d.ts +1 -1
  129. package/dist/microsoftGraph/index.d.cts +2 -2
  130. package/dist/microsoftGraph/index.d.ts +2 -2
  131. package/dist/microsoftGraph/types.d.cts +1 -1
  132. package/dist/microsoftGraph/types.d.ts +1 -1
  133. package/dist/{middleware-DU_5pFDW.cjs → middleware-CEP6uu_D.cjs} +4 -4
  134. package/dist/middleware-CEP6uu_D.cjs.map +1 -0
  135. package/dist/{middleware-CWaLMlG1.js → middleware-GOfx8Apu.js} +4 -4
  136. package/dist/middleware-GOfx8Apu.js.map +1 -0
  137. package/dist/notifications/index.d.cts +2 -2
  138. package/dist/notifications/index.d.ts +2 -2
  139. package/dist/notifications/types.d.cts +1 -1
  140. package/dist/notifications/types.d.ts +1 -1
  141. package/dist/oauth/index.d.cts +2 -2
  142. package/dist/oauth/index.d.ts +2 -2
  143. package/dist/oauth/types.d.cts +1 -1
  144. package/dist/oauth/types.d.ts +1 -1
  145. package/dist/omnisearch/index.d.cts +2 -2
  146. package/dist/omnisearch/index.d.ts +2 -2
  147. package/dist/omnisearch/types.d.cts +1 -1
  148. package/dist/omnisearch/types.d.ts +1 -1
  149. package/dist/{project-dxCJbFay.d.cts → project-Dzu85cqr.d.cts} +3 -3
  150. package/dist/{project-BMmfPhXg.d.ts → project-nbv9yjpl.d.ts} +3 -3
  151. package/dist/queryService/index.d.cts +1 -1
  152. package/dist/queryService/index.d.ts +1 -1
  153. package/dist/queryService/types.d.cts +1 -1
  154. package/dist/queryService/types.d.ts +1 -1
  155. package/dist/queue/index.d.cts +3 -3
  156. package/dist/queue/index.d.ts +3 -3
  157. package/dist/queue/types.d.cts +1 -1
  158. package/dist/queue/types.d.ts +1 -1
  159. package/dist/scheduler/index.d.cts +2 -2
  160. package/dist/scheduler/index.d.ts +2 -2
  161. package/dist/scheduler/types.d.cts +1 -1
  162. package/dist/scheduler/types.d.ts +1 -1
  163. package/dist/sdk/configurations/index.cjs +1 -1
  164. package/dist/sdk/configurations/index.d.cts +2 -2
  165. package/dist/sdk/configurations/index.d.ts +2 -2
  166. package/dist/sdk/configurations/index.js +1 -1
  167. package/dist/sdk/developerPortal/index.cjs +1 -1
  168. package/dist/sdk/developerPortal/index.d.cts +3 -3
  169. package/dist/sdk/developerPortal/index.d.ts +3 -3
  170. package/dist/sdk/developerPortal/index.js +1 -1
  171. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  172. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  173. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  174. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  175. package/dist/sdk/queryService/index.d.cts +1 -1
  176. package/dist/sdk/queryService/index.d.ts +1 -1
  177. package/dist/sdk/semanticLayer/index.d.cts +1 -1
  178. package/dist/sdk/semanticLayer/index.d.ts +1 -1
  179. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  180. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  181. package/dist/sdk/tag/index.d.cts +2 -2
  182. package/dist/sdk/tag/index.d.ts +2 -2
  183. package/dist/sdk/tag/types.d.cts +1 -1
  184. package/dist/sdk/tag/types.d.ts +1 -1
  185. package/dist/sdk/vault/index.d.cts +1 -1
  186. package/dist/sdk/vault/index.d.ts +1 -1
  187. package/dist/status/index.d.cts +1 -1
  188. package/dist/status/index.d.ts +1 -1
  189. package/dist/storage/index.cjs +1 -1
  190. package/dist/storage/index.d.cts +2 -2
  191. package/dist/storage/index.d.ts +2 -2
  192. package/dist/storage/index.js +1 -1
  193. package/dist/storage/types.d.cts +6 -6
  194. package/dist/storage/types.d.ts +6 -6
  195. package/dist/{storage-DyR7hDdv.js → storage-BR-Kgi-6.js} +7 -2
  196. package/dist/storage-BR-Kgi-6.js.map +1 -0
  197. package/dist/{storage-yovv11k6.cjs → storage-CVBXivpB.cjs} +7 -2
  198. package/dist/storage-CVBXivpB.cjs.map +1 -0
  199. package/dist/stream/index.d.cts +2 -2
  200. package/dist/stream/index.d.ts +2 -2
  201. package/dist/stream/types.d.cts +1 -1
  202. package/dist/stream/types.d.ts +1 -1
  203. package/dist/syncActions/index.d.cts +2 -2
  204. package/dist/syncActions/index.d.ts +2 -2
  205. package/dist/syncActions/types.d.cts +1 -1
  206. package/dist/syncActions/types.d.ts +1 -1
  207. package/dist/telemetry/index.d.cts +2 -2
  208. package/dist/telemetry/index.d.ts +2 -2
  209. package/dist/telemetry/types.d.cts +1 -1
  210. package/dist/telemetry/types.d.ts +1 -1
  211. package/dist/{types-L50Y6ATu.d.cts → types-0ZAMQhva.d.cts} +3 -3
  212. package/dist/{types-BoH7NFCh.d.ts → types-1LENlL5h.d.ts} +3 -3
  213. package/dist/{types-kbyIaA7p.d.cts → types-6KabdIyO.d.cts} +3 -3
  214. package/dist/{types-Bx0TSdwF.d.cts → types-9d8ihjZh.d.cts} +2 -2
  215. package/dist/{types-COQOzyac.d.ts → types-B7L6uSYb.d.ts} +7 -3
  216. package/dist/{types-DWJVbskE.d.ts → types-BTy_FFSu.d.ts} +2 -2
  217. package/dist/{types-4HmtNuJf.d.ts → types-BWYtQkHu.d.ts} +2 -2
  218. package/dist/{types-BIDKSQdc.d.ts → types-BXHZQvGy.d.ts} +169 -31
  219. package/dist/{types-B2ZLjagf.d.ts → types-BYFU_6Iz.d.ts} +2 -2
  220. package/dist/{types-BNPvFLgC.d.ts → types-BaqdM92a.d.ts} +3 -4
  221. package/dist/{types-BKIcow3B.d.cts → types-BbwrMl0Q.d.cts} +2 -2
  222. package/dist/{types-Dg8a7m7f.d.ts → types-Bt8CEZ6K.d.ts} +2 -2
  223. package/dist/{types-4bSZLxq3.d.cts → types-BtS3DhGu.d.cts} +169 -31
  224. package/dist/{types-C2j6Jsie.d.ts → types-C-GSYDTN.d.ts} +3 -3
  225. package/dist/{types-BwsE-pFo.d.cts → types-C4eQ-Zcx.d.cts} +2 -2
  226. package/dist/{types-ij6BpTzR.d.ts → types-C9VaQSqV.d.ts} +2 -2
  227. package/dist/{types-BZBU3mwz.d.cts → types-CNkQuWnO.d.cts} +3 -3
  228. package/dist/{types-TRJiPqJr.d.cts → types-CXv_e6xC.d.cts} +2 -2
  229. package/dist/{types-CMKIdreQ.d.cts → types-C_raqbl-.d.cts} +3 -3
  230. package/dist/{types-BjEiUOL6.d.ts → types-Cc4yTEdK.d.ts} +2 -2
  231. package/dist/{types-ituiCs8g.d.ts → types-Ce5Blzhg.d.ts} +2 -2
  232. package/dist/{types-CBrNIgEy.d.ts → types-CfZLdfAL.d.ts} +3 -3
  233. package/dist/{types-4CjbcUdD.d.cts → types-Cfc-fYbq.d.cts} +2 -2
  234. package/dist/{types-DHlXKVEM.d.ts → types-Cn8I0vcr.d.ts} +3 -3
  235. package/dist/{types-C7t_6FLh.d.ts → types-CpWE6Yg2.d.ts} +2 -2
  236. package/dist/{types-DBJ8c3hN.d.cts → types-CrJIILXf.d.cts} +2 -2
  237. package/dist/{types-B_3zoXA1.d.cts → types-CwGbiMF-.d.cts} +3 -3
  238. package/dist/{types-BiTn_JVW.d.cts → types-CwQ8_n8q.d.ts} +94 -13
  239. package/dist/{types-Cw9UISvM.d.ts → types-D3H3EAre.d.ts} +2 -2
  240. package/dist/{types-BG0oWq8u.d.cts → types-D3mj56iq.d.cts} +2 -2
  241. package/dist/{types-D51g4h9w.d.cts → types-D8d5tyGi.d.cts} +2 -2
  242. package/dist/{types-CZCPdPqv.d.cts → types-DMpiG2q4.d.cts} +3 -3
  243. package/dist/{types-DPDq8C4q.d.cts → types-DSBrhK_K.d.cts} +2 -2
  244. package/dist/{types--qQPfxWt.d.cts → types-DXF6faow.d.cts} +2 -2
  245. package/dist/{types-BXgINefw.d.ts → types-DfJP6Dti.d.ts} +2 -2
  246. package/dist/{types-C3IQu1gV.d.ts → types-DgOLSRiy.d.ts} +3 -3
  247. package/dist/{types-BdF6NDvo.d.cts → types-DlgqPU_4.d.cts} +2 -2
  248. package/dist/{types-C2JMisvL.d.ts → types-Dn1G-qv4.d.cts} +94 -13
  249. package/dist/{types-B6ozaDkl.d.cts → types-EkyQ0_10.d.cts} +2 -2
  250. package/dist/{types-B_1plf0y.d.cts → types-EmIcG-8K.d.cts} +2 -2
  251. package/dist/{types-D8w9lyb8.d.cts → types-NSxpnYW5.d.cts} +7 -3
  252. package/dist/{types-CEw2IzWk.d.ts → types-QPW-7dPm.d.ts} +2 -2
  253. package/dist/{types-BcQ3j8xK.d.ts → types-UySfduQo.d.ts} +2 -2
  254. package/dist/{types-7DBpH7Rf.d.ts → types-VehpPOQX.d.ts} +2 -2
  255. package/dist/{types-BiBBKcin.d.ts → types-Vu09EUZs.d.ts} +3 -3
  256. package/dist/{types-DgIzXY-Y.d.ts → types-c4h2YDMC.d.ts} +2 -2
  257. package/dist/{types-OkQWmonU.d.cts → types-sOM2_KPc.d.cts} +2 -2
  258. package/dist/{types-BBbzWczQ.d.cts → types-wNuJUhco.d.cts} +3 -4
  259. package/dist/vault/index.d.cts +1 -1
  260. package/dist/vault/index.d.ts +1 -1
  261. package/dist/vault/types.d.cts +1 -1
  262. package/dist/vault/types.d.ts +1 -1
  263. package/package.json +1 -1
  264. package/surface/ai.md +0 -1
  265. package/surface/kaiAgent.md +5 -4
  266. package/surface/management.md +1 -0
  267. package/surface/storage.md +3 -2
  268. package/dist/configurations-BTRHVSRq.cjs.map +0 -1
  269. package/dist/configurations-Chg_JwJ1.js.map +0 -1
  270. package/dist/kaiAgent-BmfUG8bB.cjs.map +0 -1
  271. package/dist/kaiAgent-CBPbMwBh.js.map +0 -1
  272. package/dist/management-BUGPJ1Bu.cjs.map +0 -1
  273. package/dist/management-DAg2obYt.js.map +0 -1
  274. package/dist/middleware-CWaLMlG1.js.map +0 -1
  275. package/dist/middleware-DU_5pFDW.cjs.map +0 -1
  276. package/dist/storage-DyR7hDdv.js.map +0 -1
  277. package/dist/storage-yovv11k6.cjs.map +0 -1
@@ -5162,6 +5162,31 @@ type paths = {
5162
5162
  patch?: never;
5163
5163
  trace?: never;
5164
5164
  };
5165
+ '/v2/storage/sharing-targets': {
5166
+ parameters: {
5167
+ query?: never;
5168
+ header?: never;
5169
+ path?: never;
5170
+ cookie?: never;
5171
+ };
5172
+ /**
5173
+ * Sharing targets list
5174
+ * @description Lists the projects and users a bucket of the caller's project can be shared to: every project of
5175
+ * the organization and every admin of those projects.
5176
+ *
5177
+ * Requires an admin token whose admin either has the `share` role in the project or is a member
5178
+ * of the project's organization. A `share`-role admin gets the lists even without organization
5179
+ * membership.
5180
+ */
5181
+ get: operations['get_/v2/storage/sharing-targets::SharingTargetsListAction'];
5182
+ put?: never;
5183
+ post?: never;
5184
+ delete?: never;
5185
+ options?: never;
5186
+ head?: never;
5187
+ patch?: never;
5188
+ trace?: never;
5189
+ };
5165
5190
  '/v2/storage/snapshots/{snapshotId}': {
5166
5191
  parameters: {
5167
5192
  query?: never;
@@ -6638,7 +6663,8 @@ type paths = {
6638
6663
  /**
6639
6664
  * Refresh token
6640
6665
  * @description Generates a new token value; the old token value becomes immediately invalid.
6641
- * Any token can refresh itself; refreshing another token requires the `canManageTokens` permission.
6666
+ * Any token can refresh itself, except a read-only personal access token; refreshing another token
6667
+ * requires the `canManageTokens` permission.
6642
6668
  *
6643
6669
  * The decrypted `token` value is returned when refreshing a non-master token, the token used for authorization,
6644
6670
  * or when the project has a dedicated project feature enabled.
@@ -6661,10 +6687,15 @@ type paths = {
6661
6687
  put?: never;
6662
6688
  /**
6663
6689
  * Share token
6690
+ * @deprecated
6664
6691
  * @description Use this call whenever you want to securely deliver a token to someone. The link to the token retrieval page will be sent to the
6665
6692
  * provided email address. The link will expire in 2 hours.
6666
6693
  *
6667
6694
  * Master tokens and protected-branch tokens cannot be shared; other tokens can be shared only by their creator or the creator's admin.
6695
+ *
6696
+ * **Deprecated:** this endpoint will be removed. To get a token value again, use `POST /v2/storage/tokens/{id}/refresh`.
6697
+ * Note that refreshing generates a new token value and the current value becomes immediately invalid, so every existing
6698
+ * user of the token has to be updated.
6668
6699
  */
6669
6700
  post: operations['post_/v2/storage/tokens/{id}/share::TokenShareAction'];
6670
6701
  delete?: never;
@@ -11505,7 +11536,7 @@ type components = {
11505
11536
  /** @description Name of the output file. */
11506
11537
  fileName: string;
11507
11538
  /**
11508
- * @description Export file type (csv or parquet).
11539
+ * @description Export file type (csv or parquet). Parquet writes `TIMESTAMP_LTZ` and `TIMESTAMP_TZ` columns as UTC wall-clock `TIMESTAMP_NTZ`; the original offset is not kept.
11509
11540
  * @default null
11510
11541
  * @enum {string|null}
11511
11542
  */
@@ -12930,13 +12961,13 @@ type components = {
12930
12961
  schema: string | null;
12931
12962
  /** @description Warehouse name (for Snowflake). */
12932
12963
  warehouse: string | null;
12933
- /** @description Username for connecting to the workspace. Empty when loginType is "none". */
12964
+ /** @description Username for connecting to the workspace. Empty when loginType is "none" or "governed". */
12934
12965
  user: string;
12935
12966
  /**
12936
- * @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.
12967
+ * @description Login type used for the connection. Value "none" means the workspace has no direct credentials and is intended for QueryService. Value "governed" means the same, and in addition only QueryService can obtain credentials for it. Create direct connection credentials later using the workspace credentials endpoint.
12937
12968
  * @enum {string}
12938
12969
  */
12939
- loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none';
12970
+ loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none' | 'governed';
12940
12971
  /** @description Indicates if SSO login is available. */
12941
12972
  ssoLoginAvailable: boolean;
12942
12973
  /** @description Snowflake account locator. Present only for Snowflake workspaces. */
@@ -12973,11 +13004,26 @@ type components = {
12973
13004
  * @enum {string}
12974
13005
  */
12975
13006
  state: 'active' | 'deactivated';
13007
+ /**
13008
+ * @description Last observed workspace use (backend login or Storage job), ISO 8601 with a `+hhmm` offset. May be a seeded floor for an unused workspace; null when unknown.
13009
+ * @example 2017-02-13T12:01:05+0100
13010
+ */
13011
+ lastActivityAt: string | null;
13012
+ /**
13013
+ * @description Projected date retention would warn this workspace, ISO 8601 with a `+hhmm` offset. It can move when the workspace is used; null when retention does not apply or activity has not been synced recently.
13014
+ * @example 2017-02-13T12:01:05+0100
13015
+ */
13016
+ warnAt: string | null;
12976
13017
  /**
12977
13018
  * @description When retention will deactivate this unused workspace, ISO 8601 with a `+hhmm` offset. Null unless the owner has been warned. Connecting to the workspace cancels it. Can lie in the past while retention only notifies.
12978
13019
  * @example 2017-02-13T12:01:05+0100
12979
13020
  */
12980
13021
  deactivateAt: string | null;
13022
+ /**
13023
+ * @description When retention will delete this deactivated workspace, ISO 8601 with a `+hhmm` offset. Null unless the workspace is deactivated. Support can reactivate it until then.
13024
+ * @example 2017-02-13T12:01:05+0100
13025
+ */
13026
+ deleteAt: string | null;
12981
13027
  };
12982
13028
  /** @description Workspace detail extended with the freshly created secret. The secret is not stored and is returned only once, right after the workspace is created. */
12983
13029
  WorkspaceCreatedResponse: {
@@ -13018,13 +13064,13 @@ type components = {
13018
13064
  schema: string | null;
13019
13065
  /** @description Warehouse name (for Snowflake). */
13020
13066
  warehouse: string | null;
13021
- /** @description Username for connecting to the workspace. Empty when loginType is "none". Absent for a BigQuery workspace created with a key, which returns `credentials` instead. */
13067
+ /** @description Username for connecting to the workspace. Empty when loginType is "none" or "governed". Absent for a BigQuery workspace created with a key, which returns `credentials` instead. */
13022
13068
  user?: string;
13023
13069
  /**
13024
- * @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.
13070
+ * @description Login type used for the connection. Value "none" means the workspace has no direct credentials and is intended for QueryService. Value "governed" means the same, and in addition only QueryService can obtain credentials for it. Create direct connection credentials later using the workspace credentials endpoint.
13025
13071
  * @enum {string}
13026
13072
  */
13027
- loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none';
13073
+ loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none' | 'governed';
13028
13074
  /** @description Indicates if SSO login is available. */
13029
13075
  ssoLoginAvailable: boolean;
13030
13076
  /** @description Snowflake account locator. Present only for Snowflake workspaces. */
@@ -13079,11 +13125,26 @@ type components = {
13079
13125
  * @enum {string}
13080
13126
  */
13081
13127
  state: 'active' | 'deactivated';
13128
+ /**
13129
+ * @description Last observed workspace use (backend login or Storage job), ISO 8601 with a `+hhmm` offset. May be a seeded floor for an unused workspace; null when unknown.
13130
+ * @example 2017-02-13T12:01:05+0100
13131
+ */
13132
+ lastActivityAt: string | null;
13133
+ /**
13134
+ * @description Projected date retention would warn this workspace, ISO 8601 with a `+hhmm` offset. It can move when the workspace is used; null when retention does not apply or activity has not been synced recently.
13135
+ * @example 2017-02-13T12:01:05+0100
13136
+ */
13137
+ warnAt: string | null;
13082
13138
  /**
13083
13139
  * @description When retention will deactivate this unused workspace, ISO 8601 with a `+hhmm` offset. Null unless the owner has been warned. Connecting to the workspace cancels it. Can lie in the past while retention only notifies.
13084
13140
  * @example 2017-02-13T12:01:05+0100
13085
13141
  */
13086
13142
  deactivateAt: string | null;
13143
+ /**
13144
+ * @description When retention will delete this deactivated workspace, ISO 8601 with a `+hhmm` offset. Null unless the workspace is deactivated. Support can reactivate it until then.
13145
+ * @example 2017-02-13T12:01:05+0100
13146
+ */
13147
+ deleteAt: string | null;
13087
13148
  };
13088
13149
  ConfigurationMetadataResponse: {
13089
13150
  /**
@@ -14306,6 +14367,24 @@ type components = {
14306
14367
  metadata?: components['schemas']['MetadataItemResponse'][];
14307
14368
  columnMetadata?: components['schemas']['TableColumnMetadataResponse'];
14308
14369
  };
14370
+ SharingTargetsListResponse: {
14371
+ /** @description Projects of the organization a bucket can be shared to, including the caller's own project. */
14372
+ projects: {
14373
+ /** @example 123 */
14374
+ id: number;
14375
+ /** @example Project name */
14376
+ name: string;
14377
+ }[];
14378
+ /** @description Admins of the organization's projects a bucket can be shared to, sorted by email. */
14379
+ users: {
14380
+ /** @example 5 */
14381
+ id: number;
14382
+ /** @example Jan Developer */
14383
+ name: string;
14384
+ /** @example jan.dev@keboola.com */
14385
+ email: string;
14386
+ }[];
14387
+ };
14309
14388
  /** @description Table snapshot with the snapshotted table settings. */
14310
14389
  SnapshotDetailResponse: {
14311
14390
  /**
@@ -14636,7 +14715,7 @@ type components = {
14636
14715
  */
14637
14716
  includeInternalTimestamp: boolean;
14638
14717
  /**
14639
- * @description Type of the file created in File Storage. Parquet is supported on Snowflake only.
14718
+ * @description Type of the file created in File Storage. Parquet is supported on Snowflake only. Parquet writes `TIMESTAMP_LTZ` and `TIMESTAMP_TZ` columns as UTC wall-clock `TIMESTAMP_NTZ`; the original offset is not kept.
14640
14719
  * @default csv
14641
14720
  * @enum {string}
14642
14721
  */
@@ -15429,13 +15508,13 @@ type components = {
15429
15508
  schema: string | null;
15430
15509
  /** @description Warehouse name (for Snowflake). */
15431
15510
  warehouse: string | null;
15432
- /** @description Username for connecting to the workspace. Empty when loginType is "none". Absent for a BigQuery workspace, whose key is in `credentials`. */
15511
+ /** @description Username for connecting to the workspace. Empty when loginType is "none" or "governed". Absent for a BigQuery workspace, whose key is in `credentials`. */
15433
15512
  user?: string;
15434
15513
  /**
15435
- * @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.
15514
+ * @description Login type used for the connection. Value "none" means the workspace has no direct credentials and is intended for QueryService. Value "governed" means the same, and in addition only QueryService can obtain credentials for it. Create direct connection credentials later using the workspace credentials endpoint.
15436
15515
  * @enum {string}
15437
15516
  */
15438
- loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none';
15517
+ loginType: 'default' | 'snowflake-legacy-service' | 'snowflake-person-sso' | 'snowflake-person-keypair' | 'snowflake-service-keypair' | 'none' | 'governed';
15439
15518
  /** @description Indicates if SSO login is available. */
15440
15519
  ssoLoginAvailable: boolean;
15441
15520
  /** @description Snowflake account locator. Present only for Snowflake workspaces. */
@@ -15504,11 +15583,26 @@ type components = {
15504
15583
  * @enum {string}
15505
15584
  */
15506
15585
  state: 'active' | 'deactivated';
15586
+ /**
15587
+ * @description Last observed workspace use (backend login or Storage job), ISO 8601 with a `+hhmm` offset. May be a seeded floor for an unused workspace; null when unknown.
15588
+ * @example 2017-02-13T12:01:05+0100
15589
+ */
15590
+ lastActivityAt: string | null;
15591
+ /**
15592
+ * @description Projected date retention would warn this workspace, ISO 8601 with a `+hhmm` offset. It can move when the workspace is used; null when retention does not apply or activity has not been synced recently.
15593
+ * @example 2017-02-13T12:01:05+0100
15594
+ */
15595
+ warnAt: string | null;
15507
15596
  /**
15508
15597
  * @description When retention will deactivate this unused workspace, ISO 8601 with a `+hhmm` offset. Null unless the owner has been warned. Connecting to the workspace cancels it. Can lie in the past while retention only notifies.
15509
15598
  * @example 2017-02-13T12:01:05+0100
15510
15599
  */
15511
15600
  deactivateAt: string | null;
15601
+ /**
15602
+ * @description When retention will delete this deactivated workspace, ISO 8601 with a `+hhmm` offset. Null unless the workspace is deactivated. Support can reactivate it until then.
15603
+ * @example 2017-02-13T12:01:05+0100
15604
+ */
15605
+ deleteAt: string | null;
15512
15606
  };
15513
15607
  ExecuteQueryResponse: {
15514
15608
  /** @description Response status. Possible values: ok or error. */
@@ -18448,7 +18542,7 @@ interface operations {
18448
18542
  'application/json': components['schemas']['JobResponse'];
18449
18543
  };
18450
18544
  };
18451
- /** @description Validation error, the table already exists, the backend does not support the operation (`storage.driver.unsupportedOperation`), or time travel is not available. */
18545
+ /** @description Validation error, the table already exists, the backend does not support the operation (`storage.driver.unsupportedOperation`), time travel is not available, or the source workspace is deactivated (`workspace.workspaceDeactivated`). */
18452
18546
  400: {
18453
18547
  headers: {
18454
18548
  [name: string]: unknown;
@@ -18503,7 +18597,7 @@ interface operations {
18503
18597
  'application/json': components['schemas']['JobResponse'];
18504
18598
  };
18505
18599
  };
18506
- /** @description Validation error, the table already exists, the backend does not support the operation (`storage.driver.unsupportedOperation`), or time travel is not available. */
18600
+ /** @description Validation error, the table already exists, the backend does not support the operation (`storage.driver.unsupportedOperation`), time travel is not available, or the source workspace is deactivated (`workspace.workspaceDeactivated`). */
18507
18601
  400: {
18508
18602
  headers: {
18509
18603
  [name: string]: unknown;
@@ -23305,7 +23399,8 @@ interface operations {
23305
23399
  * "readOnlyStorageAccess": false,
23306
23400
  * "platformUsageType": null,
23307
23401
  * "state": "active",
23308
- * "deactivateAt": null
23402
+ * "deactivateAt": null,
23403
+ * "deleteAt": null
23309
23404
  * }
23310
23405
  * ]
23311
23406
  */
@@ -23394,7 +23489,8 @@ interface operations {
23394
23489
  * "readOnlyStorageAccess": true,
23395
23490
  * "platformUsageType": "user",
23396
23491
  * "state": "active",
23397
- * "deactivateAt": null
23492
+ * "deactivateAt": null,
23493
+ * "deleteAt": null
23398
23494
  * }
23399
23495
  */
23400
23496
  'application/json': components['schemas']['WorkspaceCreatedResponse'];
@@ -23515,7 +23611,8 @@ interface operations {
23515
23611
  * "readOnlyStorageAccess": false,
23516
23612
  * "platformUsageType": null,
23517
23613
  * "state": "active",
23518
- * "deactivateAt": null
23614
+ * "deactivateAt": null,
23615
+ * "deleteAt": null
23519
23616
  * }
23520
23617
  * ]
23521
23618
  */
@@ -23603,7 +23700,8 @@ interface operations {
23603
23700
  * "readOnlyStorageAccess": true,
23604
23701
  * "platformUsageType": "user",
23605
23702
  * "state": "active",
23606
- * "deactivateAt": null
23703
+ * "deactivateAt": null,
23704
+ * "deleteAt": null
23607
23705
  * }
23608
23706
  */
23609
23707
  'application/json': components['schemas']['WorkspaceCreatedResponse'];
@@ -29051,6 +29149,33 @@ interface operations {
29051
29149
  };
29052
29150
  };
29053
29151
  };
29152
+ 'get_/v2/storage/sharing-targets::SharingTargetsListAction': {
29153
+ parameters: {
29154
+ query?: never;
29155
+ header?: never;
29156
+ path?: never;
29157
+ cookie?: never;
29158
+ };
29159
+ requestBody?: never;
29160
+ responses: {
29161
+ /** @description Projects and users a bucket can be shared to. */
29162
+ 200: {
29163
+ headers: {
29164
+ [name: string]: unknown;
29165
+ };
29166
+ content: {
29167
+ 'application/json': components['schemas']['SharingTargetsListResponse'];
29168
+ };
29169
+ };
29170
+ /** @description The token is not an admin token, or its admin has neither the `share` role in the project nor organization membership (`accessDenied`). */
29171
+ 403: {
29172
+ headers: {
29173
+ [name: string]: unknown;
29174
+ };
29175
+ content?: never;
29176
+ };
29177
+ };
29178
+ };
29054
29179
  'get_/v2/storage/snapshots/{snapshotId}::SnapshotDetailAction': {
29055
29180
  parameters: {
29056
29181
  query?: never;
@@ -30562,7 +30687,7 @@ interface operations {
30562
30687
  'application/json': components['schemas']['JobResponse'];
30563
30688
  };
30564
30689
  };
30565
- /** @description Validation error, import into an alias table, import from a reader workspace, or the backend does not support the operation (`storage.driver.unsupportedOperation`). */
30690
+ /** @description Validation error, import into an alias table, import from a reader workspace or a deactivated one (`workspace.workspaceDeactivated`), or the backend does not support the operation (`storage.driver.unsupportedOperation`). */
30566
30691
  400: {
30567
30692
  headers: {
30568
30693
  [name: string]: unknown;
@@ -30658,7 +30783,7 @@ interface operations {
30658
30783
  'application/json': components['schemas']['JobResponse'];
30659
30784
  };
30660
30785
  };
30661
- /** @description Validation error, import into an alias table, import from a reader workspace, or the backend does not support the operation (`storage.driver.unsupportedOperation`). */
30786
+ /** @description Validation error, import into an alias table, import from a reader workspace or a deactivated one (`workspace.workspaceDeactivated`), or the backend does not support the operation (`storage.driver.unsupportedOperation`). */
30662
30787
  400: {
30663
30788
  headers: {
30664
30789
  [name: string]: unknown;
@@ -35422,6 +35547,13 @@ interface operations {
35422
35547
  };
35423
35548
  content?: never;
35424
35549
  };
35550
+ /** @description Returned when the workspace is governed (login type `governed`): no login can be installed on it (`storage.workspace.governedOperationNotAllowed`). */
35551
+ 403: {
35552
+ headers: {
35553
+ [name: string]: unknown;
35554
+ };
35555
+ content?: never;
35556
+ };
35425
35557
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
35426
35558
  404: {
35427
35559
  headers: {
@@ -35471,6 +35603,13 @@ interface operations {
35471
35603
  };
35472
35604
  content?: never;
35473
35605
  };
35606
+ /** @description Returned when the workspace is governed (login type `governed`): no login can be installed on it (`storage.workspace.governedOperationNotAllowed`). */
35607
+ 403: {
35608
+ headers: {
35609
+ [name: string]: unknown;
35610
+ };
35611
+ content?: never;
35612
+ };
35474
35613
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
35475
35614
  404: {
35476
35615
  headers: {
@@ -35522,6 +35661,13 @@ interface operations {
35522
35661
  };
35523
35662
  content?: never;
35524
35663
  };
35664
+ /** @description Returned when the workspace is governed (login type `governed`): no login can be installed on it (`storage.workspace.governedOperationNotAllowed`). */
35665
+ 403: {
35666
+ headers: {
35667
+ [name: string]: unknown;
35668
+ };
35669
+ content?: never;
35670
+ };
35525
35671
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
35526
35672
  404: {
35527
35673
  headers: {
@@ -35572,6 +35718,13 @@ interface operations {
35572
35718
  };
35573
35719
  content?: never;
35574
35720
  };
35721
+ /** @description Returned when the workspace is governed (login type `governed`): no login can be installed on it (`storage.workspace.governedOperationNotAllowed`). */
35722
+ 403: {
35723
+ headers: {
35724
+ [name: string]: unknown;
35725
+ };
35726
+ content?: never;
35727
+ };
35575
35728
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
35576
35729
  404: {
35577
35730
  headers: {
@@ -35884,7 +36037,8 @@ interface operations {
35884
36037
  * "readOnlyStorageAccess": true,
35885
36038
  * "platformUsageType": "user",
35886
36039
  * "state": "active",
35887
- * "deactivateAt": null
36040
+ * "deactivateAt": null,
36041
+ * "deleteAt": null
35888
36042
  * }
35889
36043
  * ]
35890
36044
  */
@@ -35973,7 +36127,8 @@ interface operations {
35973
36127
  * "readOnlyStorageAccess": true,
35974
36128
  * "platformUsageType": "user",
35975
36129
  * "state": "active",
35976
- * "deactivateAt": null
36130
+ * "deactivateAt": null,
36131
+ * "deleteAt": null
35977
36132
  * }
35978
36133
  */
35979
36134
  'application/json': components['schemas']['WorkspaceCreatedResponse'];
@@ -36087,7 +36242,8 @@ interface operations {
36087
36242
  * "readOnlyStorageAccess": true,
36088
36243
  * "platformUsageType": "user",
36089
36244
  * "state": "active",
36090
- * "deactivateAt": null
36245
+ * "deactivateAt": null,
36246
+ * "deleteAt": null
36091
36247
  * }
36092
36248
  * ]
36093
36249
  */
@@ -36175,7 +36331,8 @@ interface operations {
36175
36331
  * "readOnlyStorageAccess": true,
36176
36332
  * "platformUsageType": "user",
36177
36333
  * "state": "active",
36178
- * "deactivateAt": null
36334
+ * "deactivateAt": null,
36335
+ * "deleteAt": null
36179
36336
  * }
36180
36337
  */
36181
36338
  'application/json': components['schemas']['WorkspaceCreatedResponse'];
@@ -36295,7 +36452,8 @@ interface operations {
36295
36452
  * "readOnlyStorageAccess": true,
36296
36453
  * "platformUsageType": "user",
36297
36454
  * "state": "active",
36298
- * "deactivateAt": null
36455
+ * "deactivateAt": null,
36456
+ * "deleteAt": null
36299
36457
  * }
36300
36458
  */
36301
36459
  'application/json': components['schemas']['WorkspaceDetailResponse'];
@@ -36448,7 +36606,8 @@ interface operations {
36448
36606
  * "readOnlyStorageAccess": true,
36449
36607
  * "platformUsageType": "user",
36450
36608
  * "state": "active",
36451
- * "deactivateAt": null
36609
+ * "deactivateAt": null,
36610
+ * "deleteAt": null
36452
36611
  * }
36453
36612
  */
36454
36613
  'application/json': components['schemas']['WorkspaceDetailResponse'];
@@ -37175,6 +37334,13 @@ interface operations {
37175
37334
  };
37176
37335
  content?: never;
37177
37336
  };
37337
+ /** @description Returned when the workspace is governed (login type `governed`), which has no login of its own. */
37338
+ 403: {
37339
+ headers: {
37340
+ [name: string]: unknown;
37341
+ };
37342
+ content?: never;
37343
+ };
37178
37344
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
37179
37345
  404: {
37180
37346
  headers: {
@@ -37246,7 +37412,8 @@ interface operations {
37246
37412
  * "readOnlyStorageAccess": true,
37247
37413
  * "platformUsageType": "user",
37248
37414
  * "state": "active",
37249
- * "deactivateAt": null
37415
+ * "deactivateAt": null,
37416
+ * "deleteAt": null
37250
37417
  * }
37251
37418
  */
37252
37419
  'application/json': components['schemas']['WorkspaceDetailResponseWithSecret'];
@@ -37259,6 +37426,13 @@ interface operations {
37259
37426
  };
37260
37427
  content?: never;
37261
37428
  };
37429
+ /** @description Returned when the workspace is governed (login type `governed`) and the caller is not Query Service (`storage.workspace.governedOperationNotAllowed`). */
37430
+ 403: {
37431
+ headers: {
37432
+ [name: string]: unknown;
37433
+ };
37434
+ content?: never;
37435
+ };
37262
37436
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
37263
37437
  404: {
37264
37438
  headers: {
@@ -37336,7 +37510,8 @@ interface operations {
37336
37510
  * "readOnlyStorageAccess": true,
37337
37511
  * "platformUsageType": "user",
37338
37512
  * "state": "active",
37339
- * "deactivateAt": null
37513
+ * "deactivateAt": null,
37514
+ * "deleteAt": null
37340
37515
  * }
37341
37516
  */
37342
37517
  'application/json': components['schemas']['WorkspaceDetailResponseWithSecret'];
@@ -37349,6 +37524,13 @@ interface operations {
37349
37524
  };
37350
37525
  content?: never;
37351
37526
  };
37527
+ /** @description Returned when the workspace is governed (login type `governed`) and the caller is not Query Service (`storage.workspace.governedOperationNotAllowed`). */
37528
+ 403: {
37529
+ headers: {
37530
+ [name: string]: unknown;
37531
+ };
37532
+ content?: never;
37533
+ };
37352
37534
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
37353
37535
  404: {
37354
37536
  headers: {
@@ -37427,12 +37609,20 @@ interface operations {
37427
37609
  * "readOnlyStorageAccess": true,
37428
37610
  * "platformUsageType": "user",
37429
37611
  * "state": "active",
37430
- * "deactivateAt": null
37612
+ * "deactivateAt": null,
37613
+ * "deleteAt": null
37431
37614
  * }
37432
37615
  */
37433
37616
  'application/json': components['schemas']['WorkspaceDetailResponseWithSecret'];
37434
37617
  };
37435
37618
  };
37619
+ /** @description Returned when the workspace is governed (login type `governed`) and the caller is not Query Service (`storage.workspace.governedOperationNotAllowed`). */
37620
+ 403: {
37621
+ headers: {
37622
+ [name: string]: unknown;
37623
+ };
37624
+ content?: never;
37625
+ };
37436
37626
  /** @description Returned when the workspace (`workspace.workspaceNotFound`) or the credentials (`workspace.workspaceCredentialNotFound`) are not found. */
37437
37627
  404: {
37438
37628
  headers: {
@@ -37470,6 +37660,13 @@ interface operations {
37470
37660
  };
37471
37661
  content?: never;
37472
37662
  };
37663
+ /** @description Returned when the workspace is governed (login type `governed`) and the caller is not Query Service (`storage.workspace.governedOperationNotAllowed`). */
37664
+ 403: {
37665
+ headers: {
37666
+ [name: string]: unknown;
37667
+ };
37668
+ content?: never;
37669
+ };
37473
37670
  /** @description Returned when the workspace (`workspace.workspaceNotFound`) or the credentials (`workspace.workspaceCredentialNotFound`) are not found. */
37474
37671
  404: {
37475
37672
  headers: {
@@ -37547,12 +37744,20 @@ interface operations {
37547
37744
  * "readOnlyStorageAccess": true,
37548
37745
  * "platformUsageType": "user",
37549
37746
  * "state": "active",
37550
- * "deactivateAt": null
37747
+ * "deactivateAt": null,
37748
+ * "deleteAt": null
37551
37749
  * }
37552
37750
  */
37553
37751
  'application/json': components['schemas']['WorkspaceDetailResponseWithSecret'];
37554
37752
  };
37555
37753
  };
37754
+ /** @description Returned when the workspace is governed (login type `governed`) and the caller is not Query Service (`storage.workspace.governedOperationNotAllowed`). */
37755
+ 403: {
37756
+ headers: {
37757
+ [name: string]: unknown;
37758
+ };
37759
+ content?: never;
37760
+ };
37556
37761
  /** @description Returned when the workspace (`workspace.workspaceNotFound`) or the credentials (`workspace.workspaceCredentialNotFound`) are not found. */
37557
37762
  404: {
37558
37763
  headers: {
@@ -37589,6 +37794,13 @@ interface operations {
37589
37794
  };
37590
37795
  content?: never;
37591
37796
  };
37797
+ /** @description Returned when the workspace is governed (login type `governed`) and the caller is not Query Service (`storage.workspace.governedOperationNotAllowed`). */
37798
+ 403: {
37799
+ headers: {
37800
+ [name: string]: unknown;
37801
+ };
37802
+ content?: never;
37803
+ };
37592
37804
  /** @description Returned when the workspace (`workspace.workspaceNotFound`) or the credentials (`workspace.workspaceCredentialNotFound`) are not found. */
37593
37805
  404: {
37594
37806
  headers: {
@@ -37643,7 +37855,7 @@ interface operations {
37643
37855
  'application/json': components['schemas']['JobResponse'];
37644
37856
  };
37645
37857
  };
37646
- /** @description Returned when the table is not found in the workspace or the table cannot be exported (`storage.workspace.cannotExportTableFromWorkspace`), or the workspace backend is not supported (`workspace.backendNotSupported`). */
37858
+ /** @description Returned when the table is not found in the workspace or the table cannot be exported (`storage.workspace.cannotExportTableFromWorkspace`), the workspace backend is not supported (`workspace.backendNotSupported`), or the workspace is deactivated (`workspace.workspaceDeactivated`). */
37647
37859
  400: {
37648
37860
  headers: {
37649
37861
  [name: string]: unknown;
@@ -37696,7 +37908,7 @@ interface operations {
37696
37908
  'application/json': components['schemas']['JobResponse'];
37697
37909
  };
37698
37910
  };
37699
- /** @description Returned when the table is not found in the workspace or the table cannot be exported (`storage.workspace.cannotExportTableFromWorkspace`), or the workspace backend is not supported (`workspace.backendNotSupported`). */
37911
+ /** @description Returned when the table is not found in the workspace or the table cannot be exported (`storage.workspace.cannotExportTableFromWorkspace`), the workspace backend is not supported (`workspace.backendNotSupported`), or the workspace is deactivated (`workspace.workspaceDeactivated`). */
37700
37912
  400: {
37701
37913
  headers: {
37702
37914
  [name: string]: unknown;
@@ -38004,6 +38216,13 @@ interface operations {
38004
38216
  };
38005
38217
  content?: never;
38006
38218
  };
38219
+ /** @description Returned when the workspace is governed (login type `governed`): it can be read only through Query Service (`storage.workspace.governedOperationNotAllowed`). */
38220
+ 403: {
38221
+ headers: {
38222
+ [name: string]: unknown;
38223
+ };
38224
+ content?: never;
38225
+ };
38007
38226
  /** @description Returned when the workspace is not found (`workspace.workspaceNotFound`). */
38008
38227
  404: {
38009
38228
  headers: {
@@ -38507,6 +38726,10 @@ type WorkspaceInputMappingLoadPreviewInput = WorkspaceInputMappingLoadPreviewPat
38507
38726
  type Workspace = OpenapiReturnType<paths['/v2/storage/branch/{branchId}/workspaces/{workspaceId}']['get']> & {
38508
38727
  /** When retention deletes a deactivated workspace (ISO 8601); `null` or absent otherwise. */
38509
38728
  deleteAt?: string | null;
38729
+ /** Last observed use of the workspace (ISO 8601); `null` or absent when unknown. */
38730
+ lastActivityAt?: string | null;
38731
+ /** When retention will warn the owner (ISO 8601); `null` or absent when it will not. */
38732
+ warnAt?: string | null;
38510
38733
  };
38511
38734
  /** The spec's `connection` union: a SQL backend, or a file (ABS) container. */
38512
38735
  type WorkspaceConnection = Workspace['connection'];
@@ -39050,4 +39273,4 @@ type FetchClient<Paths extends OpenapiPaths<Paths>> = {
39050
39273
  declare const createOpenapiFetchClient: <Paths extends OpenapiPaths<Paths>>(defaultOptions: CreateFetchClientOptions) => FetchClient<Paths>;
39051
39274
  //#endregion
39052
39275
  export { UnloadWorkspaceInput as $, PullTableAsyncPath as $n, ManagementSessionMintError as $r, SaveBucketMetadataBody as $t, BatchRestoreConfigurationsResult as A, DeleteTableRowsPath as An, DevBranch as Ar, BucketIncludes as At, DeleteWorkspaceObjectInput as B, GetDataPreviewSchemaQuery as Bn, CreateJobBody as Br, CreatedBucket as Bt, isValidationError as C, CreateTableDefinitionSchemaBody as Cn, UpdateTableDefinitionPath as Cr, Bucket as Ct, BatchConfigurationFailure as D, DeleteTablePath as Dn, WhereFilters as Dr, BucketDetailIncludes as Dt, isStorageJobError as E, DeleteTableMetadataPath as En, UpdateTablePath as Er, BucketDetailInclude as Et, JobOperation as F, ExportAsyncPath as Fn, UpdateDevBranchPath as Fr, BucketWith as Ft, GetWorkspacePath as G, GetTablesQuery as Gn, QueueJob as Gr, GetBucketInput as Gt, DeleteWorkspacePath as H, GetTablePath as Hn, KillJobPath as Hr, DeleteBucketInput as Ht, JobUnion as I, FilterOperator as In, components as Ir, CreateBucketBody as It, ResetWorkspacePassword as J, ImportAsyncPath as Jn, SearchGroupedJobsQuery as Jr, GetBucketQuery as Jt, GetWorkspaceSaml2LoginPath as K, GetTablesSchemaQuery as Kn, QueueJobStatus as Kr, GetBucketOwnerInput as Kt, StorageJobStatus as L, GetDataPreviewInput as Ln, paths as Lr, CreateBucketInput as Lt, GetJobsQuery as M, DeleteTableSchemaQuery as Mn, SaveDevBranchMetadataPath as Mr, BucketOwner as Mt, GetJobsSchemaQuery as N, DeleteTablesInput as Nn, UpdateDevBranchBody as Nr, BucketShared as Nt, BatchConfigurationsOutcome as O, DeleteTableRows as On, CreateDevBranchBody as Or, BucketDetailWith as Ot, Job as P, ExportAsyncInput as Pn, UpdateDevBranchInput as Pr, BucketStage as Pt, SetWorkspacePublicKeyPath as Q, PullTableAsyncInput as Qn, components$1 as Qr, GetBucketsSchemaQuery as Qt, SucceededJob as R, GetDataPreviewPath as Rn, QueueJobError as Rr, CreateBucketPath as Rt, formatValidationIssues as S, CreateTableDefinitionPath as Sn, UpdateTableDefinitionInput as Sr, LoginType as St, StorageJobError as T, DeleteTableMetadataInput as Tn, UpdateTableInput as Tr, BucketDetail as Tt, DeleteWorkspacesInput as U, GetTablesInput as Un, OrchestrationRerunPlan as Ur, DeleteBucketMetadataInput as Ut, DeleteWorkspaceObjectPath as V, GetTableInput as Vn, GetQueueJobPath as Vr, DeleteBucketAsyncInput as Vt, GetWorkspaceObjectsPath as W, GetTablesPath as Wn, OrchestrationRerunPlanPath as Wr, DeleteBucketSchemaQuery as Wt, SetWorkspacePublicInput as X, PrevieData as Xn, SearchJobsQuery as Xr, GetBucketsPath as Xt, ResetWorkspacePasswordPath as Y, Metadata as Yn, SearchGroupedJobsResponse as Yr, GetBucketsInput as Yt, SetWorkspacePublicKeyBody as Z, PreviewData as Zn, SearchJobsResponse as Zr, GetBucketsQuery as Zt, isAbortError as _, CreateTableAsyncInput as _n, TableIncludes as _r, CreateConfigurationWorkspaceInput as _t, OpenapiFormDataType as a, HttpMethod as ai, UpdateBucketOwnerInput as an, SetAliasTableFilterBody as ar, WorkspaceInputMappingLoadPreviewBody as at, isTimeoutError as b, CreateTableDefinitionBody as bn, UpdateTableBody as br, CreatedWorkspace as bt, OpenapiQueryType as c, ApiError as ci, CreateAliasTableBody as cn, SetAliasTableFilterSchemaBody as cr, WorkspaceInputMappingLoadPreviewQuery as ct, WithIncludes as d, CreateAliasTableSchemaBody as dn, TableDetail as dr, WorkspaceObject as dt, ManagementClientAuthError as ei, SaveBucketMetadataInput as en, PullTableAsyncSchemaPath as er, UnloadWorkspacePath as et, UploadProgress as f, CreateTableAsyncBody as fn, TableExportAsyncBody as fr, WorkspaceSaml2Login as ft, FetchClientError as g, CreateTableAsyncFromWorkspaceBody as gn, TableInclude as gr, CreateConfigurationWorkspaceBody as gt, HttpHeader as h, CreateTableAsyncFromTimeTravelBody as hn, TableImportAsyncSchemaBody as hr, ConfigurationUseCaseType as ht, OpenapiExcludeQueryType as i, BaseUrl as ii, UpdateBucketOwnerBody as in, SaveTableMetadataSchemaBody as ir, WorkspaceFileConnection as it, GetJobPath as j, DeleteTableRowsSchemaQuery as jn, SaveDevBranchMetadataInput as jr, BucketMetadata as jt, BatchPurgeConfigurationsResult as k, DeleteTableRowsInput as kn, DeleteDevBranchMetadataPath as kr, BucketInclude as kt, OpenapiReturnType as l, CreateAliasTableInput as ln, Table as lr, WorkspaceInputMappingLoadPreviewResponse as lt, HttpContentType as m, CreateTableAsyncFromSnapshotBody as mn, TableImportAsyncBody as mr, BackendType as mt, ArrayElement as n, isHtmlResponseError as ni, UpdateBucketBody as nn, SaveTableMetadataInput as nr, Workspace as nt, OpenapiIncludeQueryType as o, MiddlewareFn as oi, UpdateBucketOwnerPath as on, SetAliasTableFilterInput as or, WorkspaceInputMappingLoadPreviewInput as ot, createGenericFetchClient as p, CreateTableAsyncFromFileBody as pn, TableExportAsyncSchemaBody as pr, WorkspaceSqlConnection as pt, GetWorkspacesPath as q, ImportAsyncInput as qn, SearchAllJobsQuery as qr, GetBucketPath as qt, OpenapiBodyType as r, ApiResponse as ri, UpdateBucketInput as rn, SaveTableMetadataPath as rr, WorkspaceConnection as rt, OpenapiPathType as s, ValidateStatusFn as si, UpdateBucketPath as sn, SetAliasTableFilterPath as sr, WorkspaceInputMappingLoadPreviewPath as st, createOpenapiFetchClient as t, HtmlResponseError as ti, SaveBucketMetadataPath as tn, SaveMetadataBody as tr, UnloadWorkspaceQuery as tt, WithExcludes as u, CreateAliasTablePath as un, TableDefinitionColumn as ur, WorkspaceLoginType as ut, isApiError as v, CreateTableAsyncPath as vn, TableMetadataResponse as vr, CreateConfigurationWorkspacePath as vt, parseOrThrow as w, DeleteTableInput as wn, UpdateTableDefinitionSchemaBody as wr, BucketBackend as wt, ValidationError as x, CreateTableDefinitionInput as xn, UpdateTableDefinitionBody as xr, GetConfigurationWorkspacesPath as xt, isFetchClientError as y, CreateTableAsyncSchemaBody as yn, TableWith as yr, CreateConfigurationWorkspaceSchemaBody as yt, DeleteWorkspaceObjectBody as z, GetDataPreviewQuery as zn, isQueueJobError as zr, CreateBucketSchemaBody as zt };
39053
- //# sourceMappingURL=index-r6YSe8B-.d.ts.map
39276
+ //# sourceMappingURL=index-sDHBkJhU.d.ts.map