@keboola/api-client 40.0.0 → 42.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 (322) hide show
  1. package/API-SURFACE.md +47 -3
  2. package/CHANGELOG.md +167 -0
  3. package/README.md +1 -1
  4. package/dist/{ManagementClientAuthError-DE7lNGZQ.cjs → ManagementClientAuthError-BFZOtLgj.cjs} +2 -2
  5. package/dist/{ManagementClientAuthError-DE7lNGZQ.cjs.map → ManagementClientAuthError-BFZOtLgj.cjs.map} +1 -1
  6. package/dist/{ManagementClientAuthError-H30lti_Q.js → ManagementClientAuthError-DUbXlry2.js} +2 -2
  7. package/dist/{ManagementClientAuthError-H30lti_Q.js.map → ManagementClientAuthError-DUbXlry2.js.map} +1 -1
  8. package/dist/ai/index.cjs +2 -2
  9. package/dist/ai/index.js +2 -2
  10. package/dist/{appLogs-BBkkUOW1.js → appLogs-DfkItQCO.js} +2 -2
  11. package/dist/{appLogs-BBkkUOW1.js.map → appLogs-DfkItQCO.js.map} +1 -1
  12. package/dist/{appLogs-B9zFJIuy.cjs → appLogs-oZvt59mk.cjs} +2 -2
  13. package/dist/{appLogs-B9zFJIuy.cjs.map → appLogs-oZvt59mk.cjs.map} +1 -1
  14. package/dist/apps/index.cjs +3 -3
  15. package/dist/apps/index.js +3 -3
  16. package/dist/assets/index.cjs +1 -1
  17. package/dist/assets/index.js +1 -1
  18. package/dist/auth/index.cjs +1 -1
  19. package/dist/auth/index.d.cts +1 -1
  20. package/dist/auth/index.d.ts +1 -1
  21. package/dist/auth/index.js +1 -1
  22. package/dist/auth/types.d.cts +2 -2
  23. package/dist/auth/types.d.ts +2 -2
  24. package/dist/{auth-DworfoPy.js → auth-DUHTJTwS.js} +2 -2
  25. package/dist/{auth-DworfoPy.js.map → auth-DUHTJTwS.js.map} +1 -1
  26. package/dist/{auth-Dm0F2rOh.cjs → auth-zfI04oj7.cjs} +2 -2
  27. package/dist/{auth-Dm0F2rOh.cjs.map → auth-zfI04oj7.cjs.map} +1 -1
  28. package/dist/{authClient-BmuUo0J4.cjs → authClient-BxqRGR5c.cjs} +39 -5
  29. package/dist/authClient-BxqRGR5c.cjs.map +1 -0
  30. package/dist/{authClient-vEt_7_uk.d.cts → authClient-CBVAT3v9.d.cts} +49 -2
  31. package/dist/{authClient-CHXWJ9x3.d.ts → authClient-CRumc934.d.ts} +49 -2
  32. package/dist/{authClient-CgcDGd30.js → authClient-CX4buUMc.js} +39 -5
  33. package/dist/authClient-CX4buUMc.js.map +1 -0
  34. package/dist/billing/index.cjs +2 -2
  35. package/dist/billing/index.js +2 -2
  36. package/dist/businessWorkspaceApi/index.cjs +1 -1
  37. package/dist/businessWorkspaceApi/index.js +1 -1
  38. package/dist/{businessWorkspaceApi-BLUdefRF.js → businessWorkspaceApi-DFky1k61.js} +3 -3
  39. package/dist/{businessWorkspaceApi-BLUdefRF.js.map → businessWorkspaceApi-DFky1k61.js.map} +1 -1
  40. package/dist/{businessWorkspaceApi-6tCDdpnY.cjs → businessWorkspaceApi-Uzqu0PJM.cjs} +3 -3
  41. package/dist/{businessWorkspaceApi-6tCDdpnY.cjs.map → businessWorkspaceApi-Uzqu0PJM.cjs.map} +1 -1
  42. package/dist/chat/index.cjs +3 -3
  43. package/dist/chat/index.js +3 -3
  44. package/dist/{componentId-57vjsa2i.cjs → componentId-D4jp6a13.cjs} +19 -1
  45. package/dist/componentId-D4jp6a13.cjs.map +1 -0
  46. package/dist/{componentId-C6WZa_R1.js → componentId-DmHwHG5V.js} +19 -1
  47. package/dist/componentId-DmHwHG5V.js.map +1 -0
  48. package/dist/{configurations-IYyOvhI3.cjs → configurations-D_Rbs0Wl.cjs} +2 -2
  49. package/dist/{configurations-IYyOvhI3.cjs.map → configurations-D_Rbs0Wl.cjs.map} +1 -1
  50. package/dist/{configurations-BPKGGy-M.js → configurations-DcpUlC8I.js} +2 -2
  51. package/dist/{configurations-BPKGGy-M.js.map → configurations-DcpUlC8I.js.map} +1 -1
  52. package/dist/constants/index.cjs +1 -1
  53. package/dist/constants/index.d.cts +1 -1
  54. package/dist/constants/index.d.ts +1 -1
  55. package/dist/constants/index.js +1 -1
  56. package/dist/{createFetchClient-Cwp8max9.cjs → createFetchClient-BgihytBn.cjs} +2 -1
  57. package/dist/createFetchClient-BgihytBn.cjs.map +1 -0
  58. package/dist/{createFetchClient-DXHQK63w.js → createFetchClient-cgWkwgAQ.js} +2 -1
  59. package/dist/createFetchClient-cgWkwgAQ.js.map +1 -0
  60. package/dist/{createGenericFetchClient-Dl9cqTvR.cjs → createGenericFetchClient-C7Y0YVfc.cjs} +2 -2
  61. package/dist/{createGenericFetchClient-Dl9cqTvR.cjs.map → createGenericFetchClient-C7Y0YVfc.cjs.map} +1 -1
  62. package/dist/{createGenericFetchClient-Dg1rgzmG.js → createGenericFetchClient-CX9Hn3Aq.js} +2 -2
  63. package/dist/{createGenericFetchClient-Dg1rgzmG.js.map → createGenericFetchClient-CX9Hn3Aq.js.map} +1 -1
  64. package/dist/{createOpenapiFetchClient-DZUOVupy.js → createOpenapiFetchClient-BxcLLU_N.js} +2 -2
  65. package/dist/{createOpenapiFetchClient-DZUOVupy.js.map → createOpenapiFetchClient-BxcLLU_N.js.map} +1 -1
  66. package/dist/{createOpenapiFetchClient-BYqW-9tm.cjs → createOpenapiFetchClient-DY5s-aH6.cjs} +2 -2
  67. package/dist/{createOpenapiFetchClient-BYqW-9tm.cjs.map → createOpenapiFetchClient-DY5s-aH6.cjs.map} +1 -1
  68. package/dist/dataScience/index.cjs +2 -2
  69. package/dist/dataScience/index.js +2 -2
  70. package/dist/{dataScience-B5QxZnvW.cjs → dataScience-BoS8Xfvx.cjs} +5 -5
  71. package/dist/{dataScience-B5QxZnvW.cjs.map → dataScience-BoS8Xfvx.cjs.map} +1 -1
  72. package/dist/{dataScience-OXcwdk1p.js → dataScience-BxRoGfnG.js} +5 -5
  73. package/dist/{dataScience-OXcwdk1p.js.map → dataScience-BxRoGfnG.js.map} +1 -1
  74. package/dist/developerPortal/index.cjs +1 -1
  75. package/dist/developerPortal/index.js +1 -1
  76. package/dist/{developerPortalClient-B1QZ1rYi.js → developerPortalClient-C7s0kpjK.js} +3 -3
  77. package/dist/{developerPortalClient-B1QZ1rYi.js.map → developerPortalClient-C7s0kpjK.js.map} +1 -1
  78. package/dist/{developerPortalClient-CLPpBksD.cjs → developerPortalClient-DFHEsrlt.cjs} +3 -3
  79. package/dist/{developerPortalClient-CLPpBksD.cjs.map → developerPortalClient-DFHEsrlt.cjs.map} +1 -1
  80. package/dist/domain/permissions/index.d.cts +2 -2
  81. package/dist/domain/permissions/index.d.ts +2 -2
  82. package/dist/domain/storageTable/index.cjs +7 -1
  83. package/dist/domain/storageTable/index.d.cts +2 -2
  84. package/dist/domain/storageTable/index.d.ts +2 -2
  85. package/dist/domain/storageTable/index.js +2 -2
  86. package/dist/editor/index.cjs +2 -2
  87. package/dist/editor/index.js +2 -2
  88. package/dist/encryption/index.cjs +1 -1
  89. package/dist/encryption/index.d.cts +1 -1
  90. package/dist/encryption/index.d.ts +1 -1
  91. package/dist/encryption/index.js +1 -1
  92. package/dist/encryption/types.d.cts +1 -1
  93. package/dist/encryption/types.d.ts +1 -1
  94. package/dist/import/index.cjs +1 -1
  95. package/dist/import/index.js +1 -1
  96. package/dist/{import-CNk89mqy.cjs → import-BSYvG3Uy.cjs} +3 -3
  97. package/dist/{import-CNk89mqy.cjs.map → import-BSYvG3Uy.cjs.map} +1 -1
  98. package/dist/{import-DiMQCzLa.js → import-CXBcFVbk.js} +3 -3
  99. package/dist/{import-DiMQCzLa.js.map → import-CXBcFVbk.js.map} +1 -1
  100. package/dist/{index-DCRKjihs.d.ts → index-B03vhWSX.d.ts} +117 -90
  101. package/dist/{index-DXYASsPP.d.cts → index-B2-7WJ-E.d.cts} +599 -78
  102. package/dist/{index-BDZvaRud.d.ts → index-B72LTF-k.d.ts} +6 -3
  103. package/dist/{index-DOAZmWvh.d.cts → index-BMiZx-4_.d.cts} +6 -3
  104. package/dist/{index--ZpnE3YT.d.cts → index-BUsLHNOA.d.cts} +2 -2
  105. package/dist/{index-D7-o-oGa.d.ts → index-CBWfpd-0.d.ts} +2 -2
  106. package/dist/index-CGCXR_6Q.d.ts +273 -0
  107. package/dist/{index-Cvbjp3jx.d.cts → index-CKENwClW.d.cts} +4 -4
  108. package/dist/{index-BkqackZf.d.ts → index-CpE_NWuq.d.ts} +599 -78
  109. package/dist/{index-DnQTuc6t.d.ts → index-Cw-d6vV3.d.ts} +4 -4
  110. package/dist/{index-ByRpNVcs.d.cts → index-D3HFMfJJ.d.cts} +117 -90
  111. package/dist/index-DINB7vsV.d.cts +273 -0
  112. package/dist/{index-C8gRRWHL.d.cts → index-DeQDdut6.d.cts} +19 -1
  113. package/dist/{index-C8gRRWHL.d.ts → index-DeQDdut6.d.ts} +19 -1
  114. package/dist/{index-Qb7X6-ph.d.ts → index-DwM1EpnZ.d.ts} +12 -2
  115. package/dist/{index-CXcWpZQ2.d.ts → index-P1vR966i.d.cts} +74 -2
  116. package/dist/{index-CXcWpZQ2.d.cts → index-P1vR966i.d.ts} +74 -2
  117. package/dist/{index-DNThyEej.d.cts → index-VnJCp8IL.d.cts} +12 -2
  118. package/dist/index.cjs +65 -39
  119. package/dist/index.cjs.map +1 -1
  120. package/dist/index.d.cts +3 -3
  121. package/dist/index.d.ts +3 -3
  122. package/dist/index.js +65 -40
  123. package/dist/index.js.map +1 -1
  124. package/dist/{isLoginPageRedirect-XPwAOKK3.js → isLoginPageRedirect-CsjF95_P.js} +2 -2
  125. package/dist/{isLoginPageRedirect-XPwAOKK3.js.map → isLoginPageRedirect-CsjF95_P.js.map} +1 -1
  126. package/dist/{isLoginPageRedirect-jQHiLrG7.cjs → isLoginPageRedirect-c451CoWW.cjs} +2 -2
  127. package/dist/{isLoginPageRedirect-jQHiLrG7.cjs.map → isLoginPageRedirect-c451CoWW.cjs.map} +1 -1
  128. package/dist/kaiAgent/index.cjs +1 -1
  129. package/dist/kaiAgent/index.d.cts +2 -2
  130. package/dist/kaiAgent/index.d.ts +2 -2
  131. package/dist/kaiAgent/index.js +1 -1
  132. package/dist/{kaiAgent-QNoeVKPs.cjs → kaiAgent-ph4DRKlT.cjs} +21 -5
  133. package/dist/kaiAgent-ph4DRKlT.cjs.map +1 -0
  134. package/dist/{kaiAgent-Dp20HLTh.js → kaiAgent-xBpUwLeQ.js} +21 -5
  135. package/dist/kaiAgent-xBpUwLeQ.js.map +1 -0
  136. package/dist/{kaiMemory-D0Y_16U4.js → kaiMemory-BAniZZAN.js} +2 -2
  137. package/dist/{kaiMemory-D0Y_16U4.js.map → kaiMemory-BAniZZAN.js.map} +1 -1
  138. package/dist/{kaiMemory-CClSPInt.cjs → kaiMemory-U0DG-CpY.cjs} +2 -2
  139. package/dist/{kaiMemory-CClSPInt.cjs.map → kaiMemory-U0DG-CpY.cjs.map} +1 -1
  140. package/dist/management/index.cjs +1 -1
  141. package/dist/management/index.d.cts +1 -1
  142. package/dist/management/index.d.ts +1 -1
  143. package/dist/management/index.js +1 -1
  144. package/dist/management/types.d.cts +2 -2
  145. package/dist/management/types.d.ts +2 -2
  146. package/dist/{management-CCY0IYnq.cjs → management-5597SiC7.cjs} +79 -11
  147. package/dist/management-5597SiC7.cjs.map +1 -0
  148. package/dist/{management-DvmPiG64.js → management-D46KlXts.js} +79 -11
  149. package/dist/management-D46KlXts.js.map +1 -0
  150. package/dist/metastore/index.cjs +1 -1
  151. package/dist/metastore/index.d.cts +1 -1
  152. package/dist/metastore/index.d.ts +1 -1
  153. package/dist/metastore/index.js +1 -1
  154. package/dist/metastore/types.d.cts +2 -2
  155. package/dist/metastore/types.d.ts +2 -2
  156. package/dist/{metastore-XtWciCZT.cjs → metastore-DwMFlP2d.cjs} +52 -7
  157. package/dist/metastore-DwMFlP2d.cjs.map +1 -0
  158. package/dist/{metastore-BycJxe7A.js → metastore-_OskcLGz.js} +52 -7
  159. package/dist/metastore-_OskcLGz.js.map +1 -0
  160. package/dist/microsoftGraph/index.cjs +2 -2
  161. package/dist/microsoftGraph/index.js +2 -2
  162. package/dist/{middleware-CBwrtgQd.js → middleware-Drbo_UIZ.js} +2 -2
  163. package/dist/{middleware-CBwrtgQd.js.map → middleware-Drbo_UIZ.js.map} +1 -1
  164. package/dist/{middleware-IjYx3d5u.cjs → middleware-xhg2r2fE.cjs} +2 -2
  165. package/dist/{middleware-IjYx3d5u.cjs.map → middleware-xhg2r2fE.cjs.map} +1 -1
  166. package/dist/notifications/index.cjs +3 -3
  167. package/dist/notifications/index.js +3 -3
  168. package/dist/oauth/index.cjs +1 -1
  169. package/dist/oauth/index.js +1 -1
  170. package/dist/{oauth--2p8jkJf.cjs → oauth-L0Uic3YA.cjs} +5 -5
  171. package/dist/{oauth--2p8jkJf.cjs.map → oauth-L0Uic3YA.cjs.map} +1 -1
  172. package/dist/{oauth-l5zE39cD.js → oauth-TWwAv-va.js} +5 -5
  173. package/dist/{oauth-l5zE39cD.js.map → oauth-TWwAv-va.js.map} +1 -1
  174. package/dist/omnisearch/index.cjs +2 -2
  175. package/dist/omnisearch/index.js +2 -2
  176. package/dist/{project-cHKuGvqJ.d.cts → project-B8wtlstY.d.cts} +2 -2
  177. package/dist/{project-B15gStbM.d.ts → project-BCc3mpAy.d.ts} +2 -2
  178. package/dist/queryService/index.cjs +1 -1
  179. package/dist/queryService/index.d.cts +1 -1
  180. package/dist/queryService/index.d.ts +1 -1
  181. package/dist/queryService/index.js +1 -1
  182. package/dist/{queryService-CCOYbRbw.js → queryService-CdtogGr7.js} +5 -5
  183. package/dist/{queryService-CCOYbRbw.js.map → queryService-CdtogGr7.js.map} +1 -1
  184. package/dist/{queryService-CQzclHdL.cjs → queryService-Dx6AdxOl.cjs} +5 -5
  185. package/dist/{queryService-CQzclHdL.cjs.map → queryService-Dx6AdxOl.cjs.map} +1 -1
  186. package/dist/queue/index.cjs +1 -1
  187. package/dist/queue/index.d.cts +1 -1
  188. package/dist/queue/index.d.ts +1 -1
  189. package/dist/queue/index.js +1 -1
  190. package/dist/{queue-Cowbg6bR.js → queue-f2xsjy0o.js} +4 -4
  191. package/dist/{queue-Cowbg6bR.js.map → queue-f2xsjy0o.js.map} +1 -1
  192. package/dist/{queue-UG_BWKIC.cjs → queue-wIdnMtaZ.cjs} +4 -4
  193. package/dist/{queue-UG_BWKIC.cjs.map → queue-wIdnMtaZ.cjs.map} +1 -1
  194. package/dist/scheduler/index.cjs +3 -3
  195. package/dist/scheduler/index.js +3 -3
  196. package/dist/sdk/configurations/index.cjs +1 -1
  197. package/dist/sdk/configurations/index.d.cts +4 -4
  198. package/dist/sdk/configurations/index.d.ts +4 -4
  199. package/dist/sdk/configurations/index.js +1 -1
  200. package/dist/sdk/developerPortal/index.cjs +3 -3
  201. package/dist/sdk/developerPortal/index.js +3 -3
  202. package/dist/sdk/kaiMemory/index.cjs +1 -1
  203. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  204. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  205. package/dist/sdk/kaiMemory/index.js +1 -1
  206. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  207. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  208. package/dist/sdk/queryService/index.d.cts +1 -1
  209. package/dist/sdk/queryService/index.d.ts +1 -1
  210. package/dist/sdk/semanticLayer/index.cjs +2 -1
  211. package/dist/sdk/semanticLayer/index.d.cts +10 -3
  212. package/dist/sdk/semanticLayer/index.d.ts +10 -3
  213. package/dist/sdk/semanticLayer/index.js +2 -2
  214. package/dist/sdk/semanticLayer/types.d.cts +2 -2
  215. package/dist/sdk/semanticLayer/types.d.ts +2 -2
  216. package/dist/sdk/storage/index.cjs +12 -24
  217. package/dist/sdk/storage/index.cjs.map +1 -1
  218. package/dist/sdk/storage/index.d.cts +1 -1
  219. package/dist/sdk/storage/index.d.ts +1 -1
  220. package/dist/sdk/storage/index.js +12 -24
  221. package/dist/sdk/storage/index.js.map +1 -1
  222. package/dist/sdk/tag/index.d.cts +2 -2
  223. package/dist/sdk/tag/index.d.ts +2 -2
  224. package/dist/sdk/tag/types.d.cts +1 -1
  225. package/dist/sdk/tag/types.d.ts +1 -1
  226. package/dist/sdk/vault/index.d.cts +1 -1
  227. package/dist/sdk/vault/index.d.ts +1 -1
  228. package/dist/{semanticLayer-CKDVkU56.cjs → semanticLayer-D3NDh_QH.cjs} +115 -20
  229. package/dist/semanticLayer-D3NDh_QH.cjs.map +1 -0
  230. package/dist/{semanticLayer-pYy082Ju.js → semanticLayer-Ddg0LSnt.js} +110 -21
  231. package/dist/semanticLayer-Ddg0LSnt.js.map +1 -0
  232. package/dist/status/index.cjs +1 -1
  233. package/dist/status/index.js +1 -1
  234. package/dist/storage/index.cjs +4 -4
  235. package/dist/storage/index.d.cts +2 -2
  236. package/dist/storage/index.d.ts +2 -2
  237. package/dist/storage/index.js +4 -4
  238. package/dist/storage/types.d.cts +3 -3
  239. package/dist/storage/types.d.ts +3 -3
  240. package/dist/{storage-CZQHZcXG.js → storage-BkdjgtCU.js} +272 -134
  241. package/dist/storage-BkdjgtCU.js.map +1 -0
  242. package/dist/{storage-JinL1y1s.cjs → storage-CXQTTVXl.cjs} +272 -134
  243. package/dist/storage-CXQTTVXl.cjs.map +1 -0
  244. package/dist/{storageTable-C9crh4Ef.cjs → storageTable-BNOR2FCh.cjs} +137 -5
  245. package/dist/storageTable-BNOR2FCh.cjs.map +1 -0
  246. package/dist/{storageTable-DslXtqNL.js → storageTable-BldTNyEk.js} +102 -6
  247. package/dist/storageTable-BldTNyEk.js.map +1 -0
  248. package/dist/stream/index.cjs +3 -3
  249. package/dist/stream/index.js +3 -3
  250. package/dist/syncActions/index.cjs +4 -1
  251. package/dist/syncActions/index.d.cts +3 -2
  252. package/dist/syncActions/index.d.ts +3 -2
  253. package/dist/syncActions/index.js +2 -2
  254. package/dist/syncActions/types.d.cts +2 -2
  255. package/dist/syncActions/types.d.ts +2 -2
  256. package/dist/syncActions-BQ8kMgL6.js +1191 -0
  257. package/dist/syncActions-BQ8kMgL6.js.map +1 -0
  258. package/dist/syncActions-DyxNmbUR.cjs +1216 -0
  259. package/dist/syncActions-DyxNmbUR.cjs.map +1 -0
  260. package/dist/telemetry/index.cjs +3 -3
  261. package/dist/telemetry/index.js +3 -3
  262. package/dist/{types-DWiLcrxt.d.cts → types-04GTqleJ.d.cts} +3 -3
  263. package/dist/{types-DRCMBt89.d.ts → types-2Do0DZ60.d.ts} +3 -3
  264. package/dist/{types-Dtuvhm3K.d.cts → types-BWmLo73i.d.cts} +749 -186
  265. package/dist/types-BaSlU0uo.d.ts +1313 -0
  266. package/dist/{types-DEzW1CfI.d.cts → types-BgHtMe8s.d.cts} +3 -3
  267. package/dist/{types-BiMahEK8.d.cts → types-BgVt8SUY.d.cts} +126 -62
  268. package/dist/{types-BS4jwuMi.d.ts → types-BhEx9iRx.d.ts} +3068 -621
  269. package/dist/{types-CMzQSHAQ.d.cts → types-BzPuxmaR.d.cts} +3 -3
  270. package/dist/{types-CKmTZSPG.d.ts → types-C0rVtqz2.d.ts} +126 -62
  271. package/dist/{types-Bl03Cg2n.d.cts → types-CAAgCRmE.d.cts} +31 -5
  272. package/dist/{types-BIECJYun.d.ts → types-CN6huo55.d.ts} +406 -5
  273. package/dist/{types-Cg14ncdV.d.ts → types-CV7jmgtX.d.ts} +3 -3
  274. package/dist/types-CcYxlqtB.d.cts +1313 -0
  275. package/dist/{types-FwRmjsNN.d.ts → types-CigD_EF5.d.ts} +18 -6
  276. package/dist/{types-B_iLJlp4.d.ts → types-CwZgZqrA.d.ts} +31 -5
  277. package/dist/{types-BTK7Bv3n.d.cts → types-DgPt4LY_.d.cts} +406 -5
  278. package/dist/{types-bc-4z_gc.d.cts → types-DyArI_Jq.d.cts} +18 -6
  279. package/dist/{types-DekYAlA-.d.ts → types-QSchmyvO.d.ts} +3 -3
  280. package/dist/{types-DKc1gmd9.d.ts → types-R3AFJD6r.d.ts} +749 -186
  281. package/dist/{types-DDOa07rU.d.cts → types-sV9OaqTI.d.cts} +3068 -621
  282. package/dist/{validateConnectionStatus-BEYkQpu9.cjs → validateConnectionStatus-Ca1uEizv.cjs} +3 -3
  283. package/dist/{validateConnectionStatus-BEYkQpu9.cjs.map → validateConnectionStatus-Ca1uEizv.cjs.map} +1 -1
  284. package/dist/{validateConnectionStatus-BEGu8wXT.js → validateConnectionStatus-gFsBi5FV.js} +3 -3
  285. package/dist/{validateConnectionStatus-BEGu8wXT.js.map → validateConnectionStatus-gFsBi5FV.js.map} +1 -1
  286. package/dist/vault/index.cjs +4 -4
  287. package/dist/vault/index.js +4 -4
  288. package/package.json +7 -7
  289. package/surface/auth.md +7 -0
  290. package/surface/kaiAgent.md +4 -2
  291. package/surface/management.md +28 -13
  292. package/surface/metastore.md +4 -1
  293. package/surface/queue.md +1 -1
  294. package/surface/sdk.md +13 -8
  295. package/surface/storage.md +27 -24
  296. package/surface/syncActions.md +55 -1
  297. package/dist/authClient-BmuUo0J4.cjs.map +0 -1
  298. package/dist/authClient-CgcDGd30.js.map +0 -1
  299. package/dist/componentId-57vjsa2i.cjs.map +0 -1
  300. package/dist/componentId-C6WZa_R1.js.map +0 -1
  301. package/dist/createFetchClient-Cwp8max9.cjs.map +0 -1
  302. package/dist/createFetchClient-DXHQK63w.js.map +0 -1
  303. package/dist/index-CPu4Nezo.d.cts +0 -90
  304. package/dist/index-Dazy-meb.d.ts +0 -90
  305. package/dist/kaiAgent-Dp20HLTh.js.map +0 -1
  306. package/dist/kaiAgent-QNoeVKPs.cjs.map +0 -1
  307. package/dist/management-CCY0IYnq.cjs.map +0 -1
  308. package/dist/management-DvmPiG64.js.map +0 -1
  309. package/dist/metastore-BycJxe7A.js.map +0 -1
  310. package/dist/metastore-XtWciCZT.cjs.map +0 -1
  311. package/dist/semanticLayer-CKDVkU56.cjs.map +0 -1
  312. package/dist/semanticLayer-pYy082Ju.js.map +0 -1
  313. package/dist/storage-CZQHZcXG.js.map +0 -1
  314. package/dist/storage-JinL1y1s.cjs.map +0 -1
  315. package/dist/storageTable-C9crh4Ef.cjs.map +0 -1
  316. package/dist/storageTable-DslXtqNL.js.map +0 -1
  317. package/dist/syncActions-BmmoqZO_.js +0 -516
  318. package/dist/syncActions-BmmoqZO_.js.map +0 -1
  319. package/dist/syncActions-CtcLGQiy.cjs +0 -523
  320. package/dist/syncActions-CtcLGQiy.cjs.map +0 -1
  321. package/dist/types-BYM9Ptz5.d.ts +0 -671
  322. package/dist/types-CFeZCQ9p.d.cts +0 -671
@@ -41,6 +41,46 @@ type paths = {
41
41
  patch?: never;
42
42
  trace?: never;
43
43
  };
44
+ '/snowflake-partner-connect/project/{projectId}/check': {
45
+ parameters: {
46
+ query?: never;
47
+ header?: never;
48
+ path?: never;
49
+ cookie?: never;
50
+ };
51
+ /**
52
+ * Check Snowflake Partner Connect unlock grants
53
+ * @description Tests whether the Keboola role in the customer's Snowflake account has every grant the unlock needs, and lists the queries the account admin still has to run. Requires a session Manage token or a programmatic session bearer token (`kbc_at_`).
54
+ */
55
+ get: operations['get_/snowflake-partner-connect/project/{projectId}/check::ProjectCheckAction'];
56
+ put?: never;
57
+ post?: never;
58
+ delete?: never;
59
+ options?: never;
60
+ head?: never;
61
+ patch?: never;
62
+ trace?: never;
63
+ };
64
+ '/snowflake-partner-connect/project/{projectId}/unlock': {
65
+ parameters: {
66
+ query?: never;
67
+ header?: never;
68
+ path?: never;
69
+ cookie?: never;
70
+ };
71
+ get?: never;
72
+ put?: never;
73
+ /**
74
+ * Unlock Snowflake Partner Connect project
75
+ * @description Runs the grant test and, when it passes, turns the limited Snowflake Partner Connect project into a regular Snowflake project: creates its read-only role and grants it the project's buckets. The 400 answer and a failed unlock carry the `status` body below; a failure of the grant test itself is a 500 with the standard error body. Requires a session Manage token or a programmatic session bearer token (`kbc_at_`).
76
+ */
77
+ post: operations['post_/snowflake-partner-connect/project/{projectId}/unlock::ProjectUnlockAction'];
78
+ delete?: never;
79
+ options?: never;
80
+ head?: never;
81
+ patch?: never;
82
+ trace?: never;
83
+ };
44
84
  '/manage/application-tokens': {
45
85
  parameters: {
46
86
  query?: never;
@@ -385,17 +425,39 @@ type paths = {
385
425
  * List deleted projects
386
426
  * @description Listing deleted projects is allowed only for a super admin or user with feature `can-manage-deleted-projects`.
387
427
  *
428
+ * Returns a cursor-paginated collection: `data` holds the projects on the page, `meta` the `total`
429
+ * matching the filters regardless of pagination, the applied `limit` and the structure of the `cursor`,
430
+ * and `links` absolute URLs of this endpoint (`self`, `first`, `next`) that keep every active filter.
431
+ * `next` is `null` on the last page.
432
+ *
388
433
  * #### Projects filtering
389
434
  *
390
- * Projects can be filtered by various filters:
435
+ * Filters use the JSON:API `filter` family and combine with AND:
436
+ *
437
+ * * *filter[organizationId]* - organization ID
438
+ * * *filter[name]* - substring of the project name
439
+ * * *filter[status]* - `deleted` (awaiting purge, default), `purged` or `all`
440
+ * * *filter[overdue]* - `true` keeps only projects awaiting purge whose scheduled purge time has passed;
441
+ * `false` keeps only projects that are not overdue (still within the purge period, without a `deletedTime`,
442
+ * or purged); omitted, overdue is not filtered. `filter[status]=deleted&filter[overdue]=false` and
443
+ * `filter[overdue]=true` split the projects awaiting purge without overlap.
444
+ * `filter[status]=purged&filter[overdue]=true` contradict each other and the page is empty (`total` 0);
445
+ * the request is not rejected.
391
446
  *
392
- * * *organizationId* - organization ID
393
- * * *name* - name of the project
447
+ * Bare `organizationId` / `name` / `status` / `overdue` parameters are rejected with a validation error.
394
448
  *
395
449
  * #### Projects pagination
396
450
  *
397
- * * *limit* - number of returned projects; default value: 100
398
- * * *offset* - pagination offset
451
+ * Projects are ordered `deletedTime DESC NULLS LAST, id DESC`.
452
+ *
453
+ * * *page[limit]* - number of returned projects; default value: 20, maximum: 1000
454
+ * * *page[after]* - cursor of the last project already read; omit it for the first page.
455
+ * It is the base64url (padding optional) of the JSON object `{"deletedTime": <date-time|null>, "id": <integer>}`
456
+ * holding that project's `deletedTime` and `id` as the list prints them, e.g.
457
+ * `{"deletedTime":"2018-02-11T14:25:15+0100","id":101}` → `eyJkZWxldGVkVGltZSI6IjIwMTgtMDItMTFUMTQ6MjU6MTUrMDEwMCIsImlkIjoxMDF9`.
458
+ * `links.next` already carries the cursor of the page's last project; `meta.cursor` repeats this structure.
459
+ *
460
+ * An undecodable cursor, bare `limit` / `offset` and `page[offset]` are rejected with a validation error.
399
461
  */
400
462
  get: operations['get_/manage/deleted-projects::DeletedProjectsListAction'];
401
463
  put?: never;
@@ -406,6 +468,32 @@ type paths = {
406
468
  patch?: never;
407
469
  trace?: never;
408
470
  };
471
+ '/manage/deleted-projects/stats': {
472
+ parameters: {
473
+ query?: never;
474
+ header?: never;
475
+ path?: never;
476
+ cookie?: never;
477
+ };
478
+ /**
479
+ * Deleted projects stats
480
+ * @description Global counts of soft-deleted projects, unaffected by any list filter:
481
+ *
482
+ * * *deleted* - awaiting purge
483
+ * * *purged* - already purged
484
+ * * *overdue* - awaiting purge with the scheduled purge time already in the past (a subset of *deleted*)
485
+ *
486
+ * Allowed only for a super admin or user with feature `can-manage-deleted-projects`.
487
+ */
488
+ get: operations['get_/manage/deleted-projects/stats::DeletedProjectsStatsAction'];
489
+ put?: never;
490
+ post?: never;
491
+ delete?: never;
492
+ options?: never;
493
+ head?: never;
494
+ patch?: never;
495
+ trace?: never;
496
+ };
409
497
  '/manage/deleted-projects/{projectId}/purge': {
410
498
  parameters: {
411
499
  query?: never;
@@ -2743,7 +2831,7 @@ type paths = {
2743
2831
  put?: never;
2744
2832
  /**
2745
2833
  * List pay-as-you-go credit purchases
2746
- * @description Lists the credit purchases of a pay-as-you-go project. Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token.
2834
+ * @description Lists the credit purchases of a pay-as-you-go project. Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token. The session-cookie lane additionally requires the CSRF token rendered into the project bootstrap payload, sent as `_token` (or `xsrf`) in the JSON body.
2747
2835
  */
2748
2836
  post: operations['post_/pay-as-you-go/billing/credits::BillingCreditListAction'];
2749
2837
  delete?: never;
@@ -2763,7 +2851,7 @@ type paths = {
2763
2851
  put?: never;
2764
2852
  /**
2765
2853
  * Create a pay-as-you-go payment request
2766
- * @description Creates a Stripe payment intent for buying credits and returns its client secret. Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token.
2854
+ * @description Creates a Stripe payment intent for buying credits and returns its client secret. Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token. The session-cookie lane additionally requires the CSRF token rendered into the project bootstrap payload, sent as `_token` (or `xsrf`) in the JSON body.
2767
2855
  */
2768
2856
  post: operations['post_/pay-as-you-go/billing/create-payment-request::BillingPaymentRequestCreateAction'];
2769
2857
  delete?: never;
@@ -2786,7 +2874,7 @@ type paths = {
2786
2874
  get: operations['get_/pay-as-you-go/billing/stripe-customer::BillingStripeCustomerDetailAction'];
2787
2875
  /**
2788
2876
  * Update pay-as-you-go Stripe customer
2789
- * @description Creates the Stripe customer when the project does not have one yet, then updates its billing details. A saved card can be removed by sending `dropCardId`. Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token.
2877
+ * @description Creates the Stripe customer when the project does not have one yet, then updates its billing details. A saved card can be removed by sending `dropCardId`. Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token. The session-cookie lane additionally requires the CSRF token rendered into the project bootstrap payload, sent as `_token` (or `xsrf`) in the JSON body.
2790
2878
  */
2791
2879
  put: operations['put_/pay-as-you-go/billing/stripe-customer::BillingStripeCustomerUpdateAction'];
2792
2880
  post?: never;
@@ -2826,7 +2914,7 @@ type paths = {
2826
2914
  get?: never;
2827
2915
  /**
2828
2916
  * Create or update automatic top-up configuration
2829
- * @description Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token.
2917
+ * @description Authenticated by an admin browser session cookie, a Manage API token (admin or session type), or a programmatic bearer token. The session-cookie lane additionally requires the CSRF token rendered into the project bootstrap payload, sent as `_token` (or `xsrf`) in the JSON body.
2830
2918
  */
2831
2919
  put: operations['put_/pay-as-you-go/billing/top-up::BillingTopUpUpdateAction'];
2832
2920
  post?: never;
@@ -2878,6 +2966,26 @@ type paths = {
2878
2966
  patch?: never;
2879
2967
  trace?: never;
2880
2968
  };
2969
+ '/integration/partners/gcp/project/{projectId}/set-up/big-query': {
2970
+ parameters: {
2971
+ query?: never;
2972
+ header?: never;
2973
+ path?: never;
2974
+ cookie?: never;
2975
+ };
2976
+ get?: never;
2977
+ put?: never;
2978
+ /**
2979
+ * Set up BigQuery backend
2980
+ * @description Create BigQuery backend and related Google Cloud resources.
2981
+ */
2982
+ post: operations['post_keboola_integration_partners_gcp_project_bigquery_bigquerysetupaction__invoke'];
2983
+ delete?: never;
2984
+ options?: never;
2985
+ head?: never;
2986
+ patch?: never;
2987
+ trace?: never;
2988
+ };
2881
2989
  };
2882
2990
  type components = {
2883
2991
  schemas: {
@@ -2926,16 +3034,7 @@ type components = {
2926
3034
  */
2927
3035
  parameters: string[];
2928
3036
  };
2929
- DeletedProjectsListRequest: {
2930
- /** @description Maximum number of projects to return. */
2931
- limit?: number | null;
2932
- /** @description Offset for paginated results. */
2933
- offset?: number | null;
2934
- /** @description Filter projects by organization identifier. */
2935
- organizationId?: number | null;
2936
- /** @description Filter projects by name. */
2937
- name?: string | null;
2938
- };
3037
+ DeletedProjectsListRequest: Record<string, never>;
2939
3038
  CancelProjectDeletionRequest: {
2940
3039
  /** @description Days to postpone project deletion again. */
2941
3040
  expirationDays?: number | null;
@@ -3048,15 +3147,15 @@ type components = {
3048
3147
  /** @description Partial update of a file storage; at least one of `owner`, `region` must be supplied. */
3049
3148
  FileStorageUpdateRequest: {
3050
3149
  /**
3051
- * @description Associated account owner (mostly: keboola, client-<name>).
3150
+ * @description Associated account owner (mostly: keboola, client-<name>). Omit the key to leave it unchanged; `null` is rejected.
3052
3151
  * @example keboola
3053
3152
  */
3054
- owner: string;
3153
+ owner?: string | null;
3055
3154
  /**
3056
- * @description Region the files bucket or container lives in. Changing it only moves the record, not the files themselves.
3155
+ * @description Region the files bucket or container lives in. Changing it only moves the record, not the files themselves. Omit the key to leave it unchanged; `null` is rejected.
3057
3156
  * @example us-east-1
3058
3157
  */
3059
- region: string;
3158
+ region?: string | null;
3060
3159
  };
3061
3160
  FileStorageCreateGcsRequest: {
3062
3161
  /**
@@ -3901,6 +4000,25 @@ type components = {
3901
4000
  /** @description Identifier of the project to top up. Must be a positive integer. */
3902
4001
  idProject: number;
3903
4002
  };
4003
+ SetUpBigQueryRequest: {
4004
+ /** @description GCP service account credentials. */
4005
+ serviceAccountKey: {
4006
+ type: string;
4007
+ project_id: string;
4008
+ private_key_id: string;
4009
+ private_key: string;
4010
+ client_email: string;
4011
+ client_id: string;
4012
+ auth_uri: string;
4013
+ token_uri: string;
4014
+ auth_provider_x509_cert_url: string;
4015
+ client_x509_cert_url: string;
4016
+ };
4017
+ /** @description GCP folder identifier. */
4018
+ folderId: number;
4019
+ /** @description Google Cloud Storage bucket ID. */
4020
+ gcsBucketId: string;
4021
+ };
3904
4022
  UserListResponse: {
3905
4023
  /**
3906
4024
  * @description User identifier.
@@ -3955,6 +4073,39 @@ type components = {
3955
4073
  */
3956
4074
  maintainersCount: number;
3957
4075
  }[];
4076
+ ProjectCheckResponse: {
4077
+ /**
4078
+ * @description Whether the Keboola role in the Snowflake account has every grant the unlock needs.
4079
+ * @example false
4080
+ */
4081
+ testPassed: boolean;
4082
+ /**
4083
+ * @description Snowflake queries the account admin has to run before the project can be unlocked. Empty when the test passed.
4084
+ * @example [
4085
+ * "USE ROLE \"ACCOUNTADMIN\";",
4086
+ * "GRANT CREATE ROLE ON ACCOUNT TO ROLE \"PC_KEBOOLA_ROLE\" WITH GRANT OPTION;"
4087
+ * ]
4088
+ */
4089
+ queriesToRun: string[];
4090
+ };
4091
+ ProjectUnlockResponse: {
4092
+ /**
4093
+ * @description Outcome of the unlock.
4094
+ * @example ok
4095
+ * @enum {string}
4096
+ */
4097
+ status: 'ok' | 'test-failed' | 'error';
4098
+ /**
4099
+ * @description Human-readable outcome.
4100
+ * @example Project unlocked.
4101
+ */
4102
+ message: string;
4103
+ /**
4104
+ * @description Present only with status `error`; quote it to support.
4105
+ * @example connection-1234abcd
4106
+ */
4107
+ exceptionId?: string | null;
4108
+ };
3958
4109
  ApplicationTokenResponse: {
3959
4110
  id: number;
3960
4111
  description: string;
@@ -4232,12 +4383,12 @@ type components = {
4232
4383
  * Format: date-time
4233
4384
  * @description Project creation time.
4234
4385
  */
4235
- created?: string | null;
4386
+ created: string | null;
4236
4387
  /**
4237
4388
  * Format: date-time
4238
4389
  * @description Project expiration time.
4239
4390
  */
4240
- expires?: string | null;
4391
+ expires: string | null;
4241
4392
  /** @description Enabled features. */
4242
4393
  features: string[];
4243
4394
  /** @description Total data size. */
@@ -4259,10 +4410,12 @@ type components = {
4259
4410
  [key: string]: Record<string, never>;
4260
4411
  };
4261
4412
  isDisabled: boolean;
4262
- billedMonthlyPrice?: number | null;
4413
+ billedMonthlyPrice: number | null;
4263
4414
  dataRetentionTimeInDays: number;
4264
4415
  isBYODB: boolean;
4265
4416
  assignedBackends: string[];
4417
+ /** @description Number of project members. */
4418
+ usersCount: number;
4266
4419
  fileStorageProvider?: string | null;
4267
4420
  payAsYouGo?: {
4268
4421
  /** Format: float */
@@ -4275,11 +4428,21 @@ type components = {
4275
4428
  } | null;
4276
4429
  isPurged: boolean;
4277
4430
  isDeleted: boolean;
4431
+ /**
4432
+ * Format: date-time
4433
+ * @description `null` for projects deleted before the deletion time was recorded.
4434
+ */
4435
+ deletedTime: string | null;
4278
4436
  /** Format: date-time */
4279
- deletedTime: string;
4280
- /** Format: date-time */
4281
- purgedTime?: string | null;
4282
- /** @description IDs of the default storage backends assigned to the project, keyed by backend name. */
4437
+ purgedTime: string | null;
4438
+ /**
4439
+ * Format: date-time
4440
+ * @description When the purge scheduler picks the project up: `deletedTime` plus the purge period. For purged projects, the time the purge was due. `null` when `deletedTime` is `null`.
4441
+ */
4442
+ scheduledPurgeTime: string | null;
4443
+ /** @description True when the project still awaits purge and `scheduledPurgeTime` is in the past. Always false for purged projects. */
4444
+ isPurgeOverdue: boolean;
4445
+ /** @description IDs of the default storage backends assigned to the project, keyed by backend name. A backend whose credentials are already removed by a running purge is omitted. */
4283
4446
  backends: {
4284
4447
  snowflake?: {
4285
4448
  /** @example 353 */
@@ -4314,7 +4477,75 @@ type components = {
4314
4477
  mfaRequired?: boolean;
4315
4478
  };
4316
4479
  };
4317
- DeletedProjectsListResponse: components['schemas']['DeletedProjectResponse'][];
4480
+ PaginationMeta: {
4481
+ /** @description Number of items matching the filters, ignoring pagination. */
4482
+ total: number;
4483
+ /** @description Page size applied (`page[limit]`). */
4484
+ limit: number;
4485
+ /** @description How to build the `page[after]` cursor from the last row read, without another call. */
4486
+ cursor: {
4487
+ /**
4488
+ * @description Query parameter the cursor goes in.
4489
+ * @example page[after]
4490
+ */
4491
+ param: string;
4492
+ /**
4493
+ * @description base64url (RFC 4648 §5, padding optional) of a JSON object.
4494
+ * @example base64url(json)
4495
+ */
4496
+ encoding: string;
4497
+ /** @description Keys of the JSON object, each the last row's value of the item field of the same name. */
4498
+ fields: {
4499
+ name: string;
4500
+ /** @enum {string} */
4501
+ type: 'integer' | 'string' | 'date-time';
4502
+ nullable: boolean;
4503
+ }[];
4504
+ /**
4505
+ * @description Order of the rows; the cursor keys follow it.
4506
+ * @example deletedTime DESC NULLS LAST, id DESC
4507
+ */
4508
+ order: string;
4509
+ };
4510
+ };
4511
+ PaginationLinks: {
4512
+ /**
4513
+ * Format: uri
4514
+ * @description This page.
4515
+ */
4516
+ self: string;
4517
+ /**
4518
+ * Format: uri
4519
+ * @description The first page (no `page[after]`).
4520
+ */
4521
+ first: string;
4522
+ /**
4523
+ * Format: uri
4524
+ * @description The page after this one; `null` on the last page.
4525
+ */
4526
+ next: string | null;
4527
+ };
4528
+ DeletedProjectsListResponse: {
4529
+ /** @description Projects on the requested page. */
4530
+ data: components['schemas']['DeletedProjectResponse'][];
4531
+ meta: components['schemas']['PaginationMeta'];
4532
+ links: components['schemas']['PaginationLinks'];
4533
+ };
4534
+ /**
4535
+ * @example {
4536
+ * "deleted": 12,
4537
+ * "purged": 340,
4538
+ * "overdue": 2
4539
+ * }
4540
+ */
4541
+ DeletedProjectsStatsResponse: {
4542
+ /** @description Projects soft-deleted and awaiting purge. */
4543
+ deleted: number;
4544
+ /** @description Projects already purged. */
4545
+ purged: number;
4546
+ /** @description Projects awaiting purge whose scheduled purge time has passed; a subset of `deleted`. */
4547
+ overdue: number;
4548
+ };
4318
4549
  /**
4319
4550
  * @example {
4320
4551
  * "id": 1,
@@ -4778,8 +5009,11 @@ type components = {
4778
5009
  id?: number;
4779
5010
  features?: string[];
4780
5011
  isOrganizationMember?: boolean;
4781
- /** @example admin */
4782
- role?: string;
5012
+ /**
5013
+ * @description Null when the project membership has no role stored.
5014
+ * @example admin
5015
+ */
5016
+ role?: string | null;
4783
5017
  isActivated?: boolean;
4784
5018
  /** @description Raw SAML attribute statement asserted by the IdP on last login, keyed by IdP-defined attribute name (e.g. a role or group claim); attribute names and count vary per IdP configuration. Present only when SAML is enabled on the stack. */
4785
5019
  samlParameters?: {
@@ -6192,6 +6426,61 @@ type components = {
6192
6426
  email: string;
6193
6427
  } | null;
6194
6428
  }[];
6429
+ SetUpBigQueryResponse: {
6430
+ /** @description Job ID. */
6431
+ id: number;
6432
+ /** @description Job status. */
6433
+ status: string;
6434
+ /** @description URL to retrieve job details. */
6435
+ url: string;
6436
+ /** @description Table identifier if applicable. */
6437
+ tableId?: string | null;
6438
+ /** @description Name of the operation. */
6439
+ operationName: string;
6440
+ /** @description Parameters passed to the operation. */
6441
+ operationParams: {
6442
+ [key: string]: Record<string, never>;
6443
+ };
6444
+ /**
6445
+ * Format: date-time
6446
+ * @description Job creation timestamp.
6447
+ */
6448
+ createdTime: string;
6449
+ /**
6450
+ * Format: date-time
6451
+ * @description Job start timestamp.
6452
+ */
6453
+ startTime?: string | null;
6454
+ /**
6455
+ * Format: date-time
6456
+ * @description Job completion timestamp.
6457
+ */
6458
+ endTime?: string | null;
6459
+ /** @description Unique run identifier. */
6460
+ runId?: string | null;
6461
+ /** @description Operation results; content varies. */
6462
+ results?: Record<string, never> | null;
6463
+ /** @description Creator token information. */
6464
+ creatorToken: {
6465
+ /** @description ID of the token that created this job. */
6466
+ id?: number;
6467
+ /** @description Description of the creator token. */
6468
+ description?: string | null;
6469
+ };
6470
+ /** @description Job execution metrics. */
6471
+ metrics: {
6472
+ [key: string]: Record<string, never>;
6473
+ };
6474
+ /** @description Job error information if the job failed. */
6475
+ error?: {
6476
+ /** @description Error code if job failed. */
6477
+ code?: string | null;
6478
+ /** @description Error message if job failed. */
6479
+ message?: string | null;
6480
+ /** @description Exception identifier. */
6481
+ exceptionId?: string | null;
6482
+ } | null;
6483
+ };
6195
6484
  };
6196
6485
  responses: never;
6197
6486
  parameters: never;
@@ -6241,6 +6530,118 @@ interface operations {
6241
6530
  };
6242
6531
  };
6243
6532
  };
6533
+ 'get_/snowflake-partner-connect/project/{projectId}/check::ProjectCheckAction': {
6534
+ parameters: {
6535
+ query?: never;
6536
+ header?: never;
6537
+ path: {
6538
+ /**
6539
+ * @description Identifier of the Snowflake Partner Connect project.
6540
+ * @example 123
6541
+ */
6542
+ projectId: number;
6543
+ };
6544
+ cookie?: never;
6545
+ };
6546
+ requestBody?: never;
6547
+ responses: {
6548
+ /** @description Result of the grant test. */
6549
+ 200: {
6550
+ headers: {
6551
+ [name: string]: unknown;
6552
+ };
6553
+ content: {
6554
+ 'application/json': components['schemas']['ProjectCheckResponse'];
6555
+ };
6556
+ };
6557
+ /** @description Returned when the token is missing or invalid. */
6558
+ 401: {
6559
+ headers: {
6560
+ [name: string]: unknown;
6561
+ };
6562
+ content?: never;
6563
+ };
6564
+ /** @description Returned when the token is neither a session Manage token nor a programmatic session bearer token, the session is pinned to other projects, or its admin may not act on the project. */
6565
+ 403: {
6566
+ headers: {
6567
+ [name: string]: unknown;
6568
+ };
6569
+ content?: never;
6570
+ };
6571
+ /** @description Returned when the project does not exist, or Snowflake Partner Connect is not available on this stack. */
6572
+ 404: {
6573
+ headers: {
6574
+ [name: string]: unknown;
6575
+ };
6576
+ content?: never;
6577
+ };
6578
+ };
6579
+ };
6580
+ 'post_/snowflake-partner-connect/project/{projectId}/unlock::ProjectUnlockAction': {
6581
+ parameters: {
6582
+ query?: never;
6583
+ header?: never;
6584
+ path: {
6585
+ /**
6586
+ * @description Identifier of the Snowflake Partner Connect project.
6587
+ * @example 123
6588
+ */
6589
+ projectId: number;
6590
+ };
6591
+ cookie?: never;
6592
+ };
6593
+ requestBody?: never;
6594
+ responses: {
6595
+ /** @description Project unlocked; `status` is `ok`. */
6596
+ 200: {
6597
+ headers: {
6598
+ [name: string]: unknown;
6599
+ };
6600
+ content: {
6601
+ 'application/json': components['schemas']['ProjectUnlockResponse'];
6602
+ };
6603
+ };
6604
+ /** @description The grant test failed; `status` is `test-failed`. The check endpoint lists the queries to run. */
6605
+ 400: {
6606
+ headers: {
6607
+ [name: string]: unknown;
6608
+ };
6609
+ content: {
6610
+ 'application/json': components['schemas']['ProjectUnlockResponse'];
6611
+ };
6612
+ };
6613
+ /** @description Returned when the token is missing or invalid. */
6614
+ 401: {
6615
+ headers: {
6616
+ [name: string]: unknown;
6617
+ };
6618
+ content?: never;
6619
+ };
6620
+ /** @description Returned when the token is neither a session Manage token nor a programmatic session bearer token, the session is pinned to other projects, or its admin may not act on the project. */
6621
+ 403: {
6622
+ headers: {
6623
+ [name: string]: unknown;
6624
+ };
6625
+ content?: never;
6626
+ };
6627
+ /** @description Returned when the project does not exist, or Snowflake Partner Connect is not available on this stack. */
6628
+ 404: {
6629
+ headers: {
6630
+ [name: string]: unknown;
6631
+ };
6632
+ content?: never;
6633
+ };
6634
+ /** @description Unlocking failed after the grant test passed: the `status` body below, with `status` `error` and the `exceptionId` of the logged failure. When the grant test itself fails, the body is the standard error body instead. */
6635
+ 500: {
6636
+ headers: {
6637
+ [name: string]: unknown;
6638
+ };
6639
+ content: {
6640
+ 'application/json': components['schemas']['ProjectUnlockResponse'];
6641
+ };
6642
+ };
6643
+ };
6644
+ };
6244
6645
  'get_/manage/application-tokens::ApplicationTokenListAction': {
6245
6646
  parameters: {
6246
6647
  query?: never;
@@ -7269,6 +7670,7 @@ interface operations {
7269
7670
  * "hasExasol": false,
7270
7671
  * "hasTeradata": false,
7271
7672
  * "hasSnowflake": true,
7673
+ * "hasBigquery": false,
7272
7674
  * "defaultBackend": "snowflake",
7273
7675
  * "hasTryModeOn": "0",
7274
7676
  * "limits": {},
@@ -7280,7 +7682,19 @@ interface operations {
7280
7682
  * "isDeleted": true,
7281
7683
  * "deletedTime": "2018-02-11T14:25:15+0100",
7282
7684
  * "purgedTime": null,
7685
+ * "scheduledPurgeTime": "2018-04-12T14:25:15+0200",
7686
+ * "isPurgeOverdue": true,
7687
+ * "backends": {
7688
+ * "snowflake": {
7689
+ * "id": 353
7690
+ * }
7691
+ * },
7283
7692
  * "isBYODB": false,
7693
+ * "assignedBackends": [
7694
+ * "snowflake"
7695
+ * ],
7696
+ * "usersCount": 3,
7697
+ * "fileStorageProvider": "aws",
7284
7698
  * "organization": {
7285
7699
  * "id": 1,
7286
7700
  * "name": "Keboola Tests",
@@ -7384,25 +7798,32 @@ interface operations {
7384
7798
  parameters: {
7385
7799
  query?: {
7386
7800
  /**
7387
- * @description Number of returned projects. Default value: 100.
7388
- * @example 100
7389
- */
7390
- limit?: number;
7391
- /**
7392
- * @description Pagination offset.
7393
- * @example 0
7394
- */
7395
- offset?: number;
7396
- /**
7397
- * @description Filter projects by organization identifier.
7398
- * @example 1
7399
- */
7400
- organizationId?: number;
7401
- /**
7402
- * @description Filter projects by name.
7403
- * @example test project
7801
+ * @description Pagination: `page[limit]` (default 20, maximum 1000) and `page[after]`, the cursor of the last row read — base64url(json) of `{"deletedTime": date-time|null, "id": integer}`, rows ordered `deletedTime DESC NULLS LAST, id DESC`. Omit `page[after]` for the first page; `links.next` carries the next one.
7802
+ * @example {
7803
+ * "limit": 20
7804
+ * }
7404
7805
  */
7405
- name?: string;
7806
+ page?: {
7807
+ /** @description base64url(json) of `{"deletedTime": date-time|null, "id": integer}`. */
7808
+ after?: string;
7809
+ /** @default 20 */
7810
+ limit?: number;
7811
+ };
7812
+ /** @description Filters, JSON:API style: `filter[<name>]=<value>`. Filters combine with AND. */
7813
+ filter?: {
7814
+ /** @description Organization identifier. */
7815
+ organizationId?: number;
7816
+ /** @description Substring of the project name. */
7817
+ name?: string;
7818
+ /**
7819
+ * @description `deleted` (awaiting purge), `purged`, or `all`.
7820
+ * @default deleted
7821
+ * @enum {string}
7822
+ */
7823
+ status?: 'deleted' | 'purged' | 'all';
7824
+ /** @description `true`: only projects awaiting purge whose scheduled purge time is in the past (with `status=purged` the page is empty). `false`: only projects that are not overdue. Omitted: no overdue filter. */
7825
+ overdue?: boolean;
7826
+ };
7406
7827
  };
7407
7828
  header?: never;
7408
7829
  path?: never;
@@ -7417,81 +7838,88 @@ interface operations {
7417
7838
  };
7418
7839
  content: {
7419
7840
  /**
7420
- * @example [
7421
- * {
7422
- * "id": 101,
7423
- * "name": "test project",
7424
- * "type": "production",
7425
- * "region": "eu-west-1",
7426
- * "created": "2017-02-15T14:25:15+0100",
7427
- * "expires": null,
7428
- * "features": [],
7429
- * "dataSizeBytes": 49152,
7430
- * "rowsCount": 200,
7431
- * "hasMysql": false,
7432
- * "hasSnowflake": true,
7433
- * "hasSynapse": false,
7434
- * "hasTeradata": false,
7435
- * "hasExasol": false,
7436
- * "defaultBackend": "snowflake",
7437
- * "hasTryModeOn": "0",
7438
- * "limits": {},
7439
- * "metrics": {},
7440
- * "isDisabled": false,
7441
- * "billedMonthlyPrice": null,
7442
- * "dataRetentionTimeInDays": 7,
7443
- * "isBYODB": false,
7444
- * "isPurged": false,
7445
- * "isDeleted": true,
7446
- * "deletedTime": "2018-02-11T14:25:15+0100",
7447
- * "purgedTime": null,
7448
- * "organization": {
7449
- * "id": 1,
7450
- * "name": "Keboola Tests",
7451
- * "created": "",
7452
- * "allowAutoJoin": true
7841
+ * @example {
7842
+ * "data": [
7843
+ * {
7844
+ * "id": 101,
7845
+ * "name": "test project",
7846
+ * "type": "production",
7847
+ * "region": "eu-west-1",
7848
+ * "created": "2017-02-15T14:25:15+0100",
7849
+ * "expires": null,
7850
+ * "features": [],
7851
+ * "dataSizeBytes": 49152,
7852
+ * "rowsCount": 200,
7853
+ * "hasMysql": false,
7854
+ * "hasSnowflake": true,
7855
+ * "hasSynapse": false,
7856
+ * "hasTeradata": false,
7857
+ * "hasExasol": false,
7858
+ * "hasBigquery": false,
7859
+ * "defaultBackend": "snowflake",
7860
+ * "hasTryModeOn": "0",
7861
+ * "limits": {},
7862
+ * "metrics": {},
7863
+ * "isDisabled": false,
7864
+ * "billedMonthlyPrice": null,
7865
+ * "dataRetentionTimeInDays": 7,
7866
+ * "isBYODB": false,
7867
+ * "assignedBackends": [
7868
+ * "snowflake"
7869
+ * ],
7870
+ * "usersCount": 3,
7871
+ * "fileStorageProvider": "aws",
7872
+ * "isPurged": false,
7873
+ * "isDeleted": true,
7874
+ * "deletedTime": "2018-02-11T14:25:15+0100",
7875
+ * "purgedTime": null,
7876
+ * "scheduledPurgeTime": "2018-04-12T14:25:15+0200",
7877
+ * "isPurgeOverdue": true,
7878
+ * "backends": {
7879
+ * "snowflake": {
7880
+ * "id": 353
7881
+ * }
7882
+ * },
7883
+ * "organization": {
7884
+ * "id": 1,
7885
+ * "name": "Keboola Tests",
7886
+ * "created": "",
7887
+ * "allowAutoJoin": true
7888
+ * }
7453
7889
  * }
7454
- * },
7455
- * {
7456
- * "id": 104,
7457
- * "name": "another test project",
7458
- * "type": "production",
7459
- * "region": "eu-west-1",
7460
- * "created": "2017-02-15T14:25:15+0100",
7461
- * "expires": null,
7462
- * "features": [],
7463
- * "dataSizeBytes": 49152,
7464
- * "rowsCount": 200,
7465
- * "hasMysql": false,
7466
- * "hasSnowflake": true,
7467
- * "hasSynapse": false,
7468
- * "hasTeradata": false,
7469
- * "hasExasol": false,
7470
- * "defaultBackend": "snowflake",
7471
- * "hasTryModeOn": "0",
7472
- * "limits": {},
7473
- * "metrics": {},
7474
- * "isDisabled": false,
7475
- * "billedMonthlyPrice": null,
7476
- * "dataRetentionTimeInDays": 7,
7477
- * "isBYODB": false,
7478
- * "isPurged": false,
7479
- * "isDeleted": true,
7480
- * "deletedTime": "2018-02-11T14:25:15+0100",
7481
- * "purgedTime": null,
7482
- * "organization": {
7483
- * "id": 1,
7484
- * "name": "Keboola Tests",
7485
- * "created": "",
7486
- * "allowAutoJoin": true
7890
+ * ],
7891
+ * "meta": {
7892
+ * "total": 41,
7893
+ * "limit": 20,
7894
+ * "cursor": {
7895
+ * "param": "page[after]",
7896
+ * "encoding": "base64url(json)",
7897
+ * "fields": [
7898
+ * {
7899
+ * "name": "deletedTime",
7900
+ * "type": "date-time",
7901
+ * "nullable": true
7902
+ * },
7903
+ * {
7904
+ * "name": "id",
7905
+ * "type": "integer",
7906
+ * "nullable": false
7907
+ * }
7908
+ * ],
7909
+ * "order": "deletedTime DESC NULLS LAST, id DESC"
7487
7910
  * }
7911
+ * },
7912
+ * "links": {
7913
+ * "self": "https://connection.keboola.com/manage/deleted-projects?filter[status]=deleted&page[limit]=20&page[after]=eyJkZWxldGVkVGltZSI6IjIwMTgtMDMtMDJUMDk6MDA6MDArMDEwMCIsImlkIjo4N30",
7914
+ * "first": "https://connection.keboola.com/manage/deleted-projects?filter[status]=deleted&page[limit]=20",
7915
+ * "next": "https://connection.keboola.com/manage/deleted-projects?filter[status]=deleted&page[limit]=20&page[after]=eyJkZWxldGVkVGltZSI6IjIwMTgtMDItMTFUMTQ6MjU6MTUrMDEwMCIsImlkIjoxMDF9"
7488
7916
  * }
7489
- * ]
7917
+ * }
7490
7918
  */
7491
7919
  'application/json': components['schemas']['DeletedProjectsListResponse'];
7492
7920
  };
7493
7921
  };
7494
- /** @description Returned when the supplied organization is not found. */
7922
+ /** @description Returned when the supplied organization is not found, a filter value or the `page[after]` cursor is invalid, or bare `limit` / `offset` or `page[offset]` are used instead of `page[limit]` / `page[after]`. */
7495
7923
  400: {
7496
7924
  headers: {
7497
7925
  [name: string]: unknown;
@@ -7514,6 +7942,40 @@ interface operations {
7514
7942
  };
7515
7943
  };
7516
7944
  };
7945
+ 'get_/manage/deleted-projects/stats::DeletedProjectsStatsAction': {
7946
+ parameters: {
7947
+ query?: never;
7948
+ header?: never;
7949
+ path?: never;
7950
+ cookie?: never;
7951
+ };
7952
+ requestBody?: never;
7953
+ responses: {
7954
+ /** @description Deleted projects counters. */
7955
+ 200: {
7956
+ headers: {
7957
+ [name: string]: unknown;
7958
+ };
7959
+ content: {
7960
+ 'application/json': components['schemas']['DeletedProjectsStatsResponse'];
7961
+ };
7962
+ };
7963
+ /** @description Returned when the Manage token is missing or invalid. */
7964
+ 401: {
7965
+ headers: {
7966
+ [name: string]: unknown;
7967
+ };
7968
+ content?: never;
7969
+ };
7970
+ /** @description Returned when the token does not have permission to view deleted projects. */
7971
+ 403: {
7972
+ headers: {
7973
+ [name: string]: unknown;
7974
+ };
7975
+ content?: never;
7976
+ };
7977
+ };
7978
+ };
7517
7979
  'post_/manage/deleted-projects/{projectId}/purge::ProjectPurgeAction': {
7518
7980
  parameters: {
7519
7981
  query?: never;
@@ -9767,15 +10229,15 @@ interface operations {
9767
10229
  */
9768
10230
  'application/json': {
9769
10231
  /** @example 123 */
9770
- id?: number;
10232
+ id: number;
9771
10233
  /** @example user */
9772
- provider?: string;
10234
+ provider: string;
9773
10235
  /** @example 2021-02-17T15:05:21+0100 */
9774
- timestamp?: string;
10236
+ timestamp: string;
9775
10237
  /** @example KBC.SomeEnity.metadataKey */
9776
- key?: string;
10238
+ key: string;
9777
10239
  /** @example Some value */
9778
- value?: string;
10240
+ value: string;
9779
10241
  }[];
9780
10242
  };
9781
10243
  };
@@ -9847,15 +10309,15 @@ interface operations {
9847
10309
  */
9848
10310
  'application/json': {
9849
10311
  /** @example 123 */
9850
- id?: number;
10312
+ id: number;
9851
10313
  /** @example user */
9852
- provider?: string;
10314
+ provider: string;
9853
10315
  /** @example 2021-02-17T15:05:21+0100 */
9854
- timestamp?: string;
10316
+ timestamp: string;
9855
10317
  /** @example KBC.SomeEnity.metadataKey */
9856
- key?: string;
10318
+ key: string;
9857
10319
  /** @example Some value */
9858
- value?: string;
10320
+ value: string;
9859
10321
  }[];
9860
10322
  };
9861
10323
  };
@@ -11334,15 +11796,15 @@ interface operations {
11334
11796
  */
11335
11797
  'application/json': {
11336
11798
  /** @example 123 */
11337
- id?: number;
11799
+ id: number;
11338
11800
  /** @example user */
11339
- provider?: string;
11801
+ provider: string;
11340
11802
  /** @example 2021-02-17T15:05:21+0100 */
11341
- timestamp?: string;
11803
+ timestamp: string;
11342
11804
  /** @example KBC.SomeEnity.metadataKey */
11343
- key?: string;
11805
+ key: string;
11344
11806
  /** @example Some value */
11345
- value?: string;
11807
+ value: string;
11346
11808
  }[];
11347
11809
  };
11348
11810
  };
@@ -11436,15 +11898,15 @@ interface operations {
11436
11898
  */
11437
11899
  'application/json': {
11438
11900
  /** @example 123 */
11439
- id?: number;
11901
+ id: number;
11440
11902
  /** @example user */
11441
- provider?: string;
11903
+ provider: string;
11442
11904
  /** @example 2021-02-17T15:05:21+0100 */
11443
- timestamp?: string;
11905
+ timestamp: string;
11444
11906
  /** @example KBC.SomeEnity.metadataKey */
11445
- key?: string;
11907
+ key: string;
11446
11908
  /** @example Some value */
11447
- value?: string;
11909
+ value: string;
11448
11910
  }[];
11449
11911
  };
11450
11912
  };
@@ -13729,15 +14191,15 @@ interface operations {
13729
14191
  */
13730
14192
  'application/json': {
13731
14193
  /** @example 123 */
13732
- id?: number;
14194
+ id: number;
13733
14195
  /** @example user */
13734
- provider?: string;
14196
+ provider: string;
13735
14197
  /** @example 2021-02-17T15:05:21+0100 */
13736
- timestamp?: string;
14198
+ timestamp: string;
13737
14199
  /** @example KBC.SomeEnity.metadataKey */
13738
- key?: string;
14200
+ key: string;
13739
14201
  /** @example Some value */
13740
- value?: string;
14202
+ value: string;
13741
14203
  }[];
13742
14204
  };
13743
14205
  };
@@ -13824,15 +14286,15 @@ interface operations {
13824
14286
  */
13825
14287
  'application/json': {
13826
14288
  /** @example 123 */
13827
- id?: number;
14289
+ id: number;
13828
14290
  /** @example user */
13829
- provider?: string;
14291
+ provider: string;
13830
14292
  /** @example 2021-02-17T15:05:21+0100 */
13831
- timestamp?: string;
14293
+ timestamp: string;
13832
14294
  /** @example KBC.SomeEnity.metadataKey */
13833
- key?: string;
14295
+ key: string;
13834
14296
  /** @example Some value */
13835
- value?: string;
14297
+ value: string;
13836
14298
  }[];
13837
14299
  };
13838
14300
  };
@@ -15906,27 +16368,27 @@ interface operations {
15906
16368
  * @description Metadata identifier.
15907
16369
  * @example 123
15908
16370
  */
15909
- id?: number;
16371
+ id: number;
15910
16372
  /**
15911
16373
  * @description Metadata provider.
15912
16374
  * @example user
15913
16375
  */
15914
- provider?: string;
16376
+ provider: string;
15915
16377
  /**
15916
16378
  * @description Last update timestamp.
15917
16379
  * @example 2021-02-17T15:05:21+0100
15918
16380
  */
15919
- timestamp?: string;
16381
+ timestamp: string;
15920
16382
  /**
15921
16383
  * @description Metadata key.
15922
16384
  * @example KBC.SomeEnity.metadataKey
15923
16385
  */
15924
- key?: string;
16386
+ key: string;
15925
16387
  /**
15926
16388
  * @description Metadata value.
15927
16389
  * @example Some value
15928
16390
  */
15929
- value?: string;
16391
+ value: string;
15930
16392
  }[];
15931
16393
  };
15932
16394
  };
@@ -16009,27 +16471,27 @@ interface operations {
16009
16471
  * @description Metadata identifier.
16010
16472
  * @example 123
16011
16473
  */
16012
- id?: number;
16474
+ id: number;
16013
16475
  /**
16014
16476
  * @description Metadata provider.
16015
16477
  * @example user
16016
16478
  */
16017
- provider?: string;
16479
+ provider: string;
16018
16480
  /**
16019
16481
  * @description Last update timestamp.
16020
16482
  * @example 2021-02-17T15:05:21+0100
16021
16483
  */
16022
- timestamp?: string;
16484
+ timestamp: string;
16023
16485
  /**
16024
16486
  * @description Metadata key.
16025
16487
  * @example KBC.SomeEnity.metadataKey
16026
16488
  */
16027
- key?: string;
16489
+ key: string;
16028
16490
  /**
16029
16491
  * @description Metadata value.
16030
16492
  * @example Some value
16031
16493
  */
16032
- value?: string;
16494
+ value: string;
16033
16495
  }[];
16034
16496
  };
16035
16497
  };
@@ -16141,7 +16603,7 @@ interface operations {
16141
16603
  };
16142
16604
  content?: never;
16143
16605
  };
16144
- /** @description Returned when the current admin cannot access this user. */
16606
+ /** @description Returned when the current admin cannot access this user, or with code `manage.users.membershipRoleMissing` when one of the user's project memberships has no role stored. */
16145
16607
  403: {
16146
16608
  headers: {
16147
16609
  [name: string]: unknown;
@@ -16332,7 +16794,10 @@ interface operations {
16332
16794
  };
16333
16795
  requestBody: {
16334
16796
  content: {
16335
- 'application/json': components['schemas']['BillingCreditListRequest'];
16797
+ 'application/json': components['schemas']['BillingCreditListRequest'] & {
16798
+ /** @description CSRF token from the project bootstrap payload, required on the browser-session-cookie lane only. The legacy field name `xsrf` is also accepted. */
16799
+ _token?: string;
16800
+ };
16336
16801
  };
16337
16802
  };
16338
16803
  responses: {
@@ -16389,7 +16854,10 @@ interface operations {
16389
16854
  };
16390
16855
  requestBody: {
16391
16856
  content: {
16392
- 'application/json': components['schemas']['BillingPaymentRequestCreateRequest'];
16857
+ 'application/json': components['schemas']['BillingPaymentRequestCreateRequest'] & {
16858
+ /** @description CSRF token from the project bootstrap payload, required on the browser-session-cookie lane only. The legacy field name `xsrf` is also accepted. */
16859
+ _token?: string;
16860
+ };
16393
16861
  };
16394
16862
  };
16395
16863
  responses: {
@@ -16512,7 +16980,10 @@ interface operations {
16512
16980
  };
16513
16981
  requestBody: {
16514
16982
  content: {
16515
- 'application/json': components['schemas']['BillingStripeCustomerUpdateRequest'];
16983
+ 'application/json': components['schemas']['BillingStripeCustomerUpdateRequest'] & {
16984
+ /** @description CSRF token from the project bootstrap payload, required on the browser-session-cookie lane only. The legacy field name `xsrf` is also accepted. */
16985
+ _token?: string;
16986
+ };
16516
16987
  };
16517
16988
  };
16518
16989
  responses: {
@@ -16633,7 +17104,10 @@ interface operations {
16633
17104
  };
16634
17105
  requestBody: {
16635
17106
  content: {
16636
- 'application/json': components['schemas']['BillingTopUpUpdateRequest'];
17107
+ 'application/json': components['schemas']['BillingTopUpUpdateRequest'] & {
17108
+ /** @description CSRF token from the project bootstrap payload, required on the browser-session-cookie lane only. The legacy field name `xsrf` is also accepted. */
17109
+ _token?: string;
17110
+ };
16637
17111
  };
16638
17112
  };
16639
17113
  responses: {
@@ -16780,6 +17254,61 @@ interface operations {
16780
17254
  };
16781
17255
  };
16782
17256
  };
17257
+ post_keboola_integration_partners_gcp_project_bigquery_bigquerysetupaction__invoke: {
17258
+ parameters: {
17259
+ query?: never;
17260
+ header?: never;
17261
+ path: {
17262
+ /** @description Project identifier. */
17263
+ projectId: number;
17264
+ };
17265
+ cookie?: never;
17266
+ };
17267
+ requestBody: {
17268
+ content: {
17269
+ 'application/json': components['schemas']['SetUpBigQueryRequest'];
17270
+ };
17271
+ };
17272
+ responses: {
17273
+ /** @description Job detail of the setup. */
17274
+ 200: {
17275
+ headers: {
17276
+ [name: string]: unknown;
17277
+ };
17278
+ content: {
17279
+ 'application/json': components['schemas']['SetUpBigQueryResponse'];
17280
+ };
17281
+ };
17282
+ /** @description Returned when the project is not eligible or already configured. */
17283
+ 400: {
17284
+ headers: {
17285
+ [name: string]: unknown;
17286
+ };
17287
+ content?: never;
17288
+ };
17289
+ /** @description Returned when no Manage token or session bearer is sent, or it is invalid. */
17290
+ 401: {
17291
+ headers: {
17292
+ [name: string]: unknown;
17293
+ };
17294
+ content?: never;
17295
+ };
17296
+ /** @description Returned when the Manage token is not a session token, the bearer is a personal access token or a session restricted to other projects, or the caller has no admin Storage token in the project. */
17297
+ 403: {
17298
+ headers: {
17299
+ [name: string]: unknown;
17300
+ };
17301
+ content?: never;
17302
+ };
17303
+ /** @description Returned when a setup process is already running. */
17304
+ 409: {
17305
+ headers: {
17306
+ [name: string]: unknown;
17307
+ };
17308
+ content?: never;
17309
+ };
17310
+ };
17311
+ };
16783
17312
  }
16784
17313
  //#endregion
16785
17314
  //#region src/clients/management/applicationTokens/types.d.ts
@@ -16798,13 +17327,21 @@ type ProjectInvitation = components['schemas']['ProjectInvitationResponse'];
16798
17327
  type ProjectJoinRequest = components['schemas']['ProjectJoinRequestResponse'];
16799
17328
  //#endregion
16800
17329
  //#region src/clients/management/deletedProjects/types.d.ts
16801
- /** A single deleted project as returned by `GET /manage/deleted-projects` or
16802
- * `GET /manage/deleted-projects/{projectId}`. The generated schema models the owning `organization`
16803
- * (added to the backend OpenAPI by keboola/connection#7794), so no overlay is needed; note its
16804
- * `id`/`name` members are optional in the spec, so consumers access them defensively. */
17330
+ /** A deleted project, as listed by `GET /manage/deleted-projects` and returned by
17331
+ * `GET /manage/deleted-projects/{projectId}`. */
16805
17332
  type DeletedProject = components['schemas']['DeletedProjectResponse'];
16806
- /** Query parameters accepted by `GET /manage/deleted-projects`. */
16807
- type DeletedProjectsListQuery = components['schemas']['DeletedProjectsListRequest'];
17333
+ /** Query parameters of `GET /manage/deleted-projects`: the `filter` and `page` deep objects, sent as
17334
+ * `filter[status]=…` / `page[after]=…`. */
17335
+ type DeletedProjectsListQuery = OpenapiQueryType<paths['/manage/deleted-projects']['get']>;
17336
+ /** The `filter` family; `status` defaults to `deleted`. */
17337
+ type DeletedProjectsListFilter = NonNullable<DeletedProjectsListQuery['filter']>;
17338
+ /** Which projects `GET /manage/deleted-projects` lists. */
17339
+ type DeletedProjectsStatus = NonNullable<DeletedProjectsListFilter['status']>;
17340
+ /** One page of `GET /manage/deleted-projects`: `data` rows, `meta.total` across every page,
17341
+ * `links.next` carrying the next page's `page[after]` cursor, `null` on the last page. */
17342
+ type DeletedProjectsPage = OpenapiReturnType<paths['/manage/deleted-projects']['get']>;
17343
+ /** `GET /manage/deleted-projects/stats`: global counts; `overdue` is a subset of `deleted`. */
17344
+ type DeletedProjectsStats = OpenapiReturnType<paths['/manage/deleted-projects/stats']['get']>;
16808
17345
  /** The enqueued-command response returned by `POST /manage/deleted-projects/{id}/purge`. */
16809
17346
  type DeletedProjectPurgeResult = components['schemas']['EnqueueCommandResponse'];
16810
17347
  //#endregion
@@ -16848,6 +17385,9 @@ type RotateFileStorageGcsPath = OpenapiPathType<paths['/manage/file-storage-gcs/
16848
17385
  type RotateFileStorageGcsBody = components['schemas']['FileStorageRotateGcsRequest'];
16849
17386
  type RotateFileStorageGcsInput = RotateFileStorageGcsPath & RotateFileStorageGcsBody;
16850
17387
  //#endregion
17388
+ //#region src/clients/management/gcpPartner/types.d.ts
17389
+ type SetUpBigQueryBody = OpenapiBodyType<paths['/integration/partners/gcp/project/{projectId}/set-up/big-query']['post']>;
17390
+ //#endregion
16851
17391
  //#region src/clients/management/organizations/types.d.ts
16852
17392
  type UpdateOrganizationBody = paths['/manage/organizations/{id}']['patch']['requestBody']['content']['application/json'] & {
16853
17393
  mfaRequired?: boolean;
@@ -16939,13 +17479,7 @@ type MaintainerUser = {
16939
17479
  canAccessLogs: boolean;
16940
17480
  isSuperAdmin: boolean;
16941
17481
  };
16942
- type MetadataItem = {
16943
- id: number;
16944
- provider: string;
16945
- timestamp: string;
16946
- key: string;
16947
- value: string;
16948
- };
17482
+ type MetadataItem = OpenapiReturnType<paths['/manage/maintainers/{id}/metadata']['get']>[number];
16949
17483
  type CreateSamlConfigPath = OpenapiPathType<paths['/manage/maintainers/{maintainerId}/saml']['post']>;
16950
17484
  type CreateSamlConfigBody = components['schemas']['SamlConfigCreateRequest'];
16951
17485
  type CreateSamlConfigInput = CreateSamlConfigPath & CreateSamlConfigBody;
@@ -17156,13 +17690,7 @@ type GetProjectMetadataPath = {
17156
17690
  type SetProjectMetadataPath = {
17157
17691
  projectId: number;
17158
17692
  };
17159
- type ProjectMetadataItem = {
17160
- id: number;
17161
- provider: string;
17162
- timestamp: string;
17163
- key: string;
17164
- value: string;
17165
- };
17693
+ type ProjectMetadataItem = OpenapiReturnType<paths['/manage/projects/{projectId}/metadata']['get']>[number];
17166
17694
  type SetProjectMetadataBody = components['schemas']['MetadataRequest'];
17167
17695
  type ProjectMetadataInput = SetProjectMetadataBody['metadata'][number];
17168
17696
  type GetProjectReviewersPath = {
@@ -17316,8 +17844,43 @@ type RegisterUiAppBody = OpenapiBodyType<paths['/manage/ui-apps']['post']>;
17316
17844
  type RenameUiAppBody = OpenapiBodyType<paths['/manage/ui-apps/{id}']['patch']>;
17317
17845
  type UiAppRegistrationResult = OpenapiReturnType<paths['/manage/ui-apps']['post']>;
17318
17846
  //#endregion
17847
+ //#region src/clients/management/workspaces/types.d.ts
17848
+ /**
17849
+ * `POST /manage/workspaces/{workspaceId}/reactivate`, hand-declared.
17850
+ *
17851
+ * The generated schema is produced from production's spec, which does not carry this path yet
17852
+ * (it ships from keboola/connection alongside this client). Replace with
17853
+ * `operations['post_/manage/workspaces/{workspaceId}/reactivate::…']` once a regenerated
17854
+ * `__generated__/schema.d.ts` contains it.
17855
+ */
17856
+ type ReactivateWorkspaceResult = {
17857
+ id: number;
17858
+ projectId: number;
17859
+ state: 'active';
17860
+ };
17861
+ /**
17862
+ * `GET /manage/projects/{projectId}/workspaces`, hand-declared — same reason as
17863
+ * `ReactivateWorkspaceResult` above (ships from keboola/connection, schema not regenerated yet).
17864
+ */
17865
+ type ProjectRetentionWorkspaceState = 'warned' | 'deactivated';
17866
+ type ProjectRetentionWorkspace = {
17867
+ id: number;
17868
+ name: string;
17869
+ componentId: string | null;
17870
+ configurationId: string | null;
17871
+ backend: string;
17872
+ state: ProjectRetentionWorkspaceState;
17873
+ lastActivityAt: string | null;
17874
+ deactivateAt: string | null;
17875
+ deleteAt: string | null;
17876
+ creator: {
17877
+ id: number;
17878
+ email: string;
17879
+ } | null;
17880
+ };
17881
+ //#endregion
17319
17882
  //#region src/clients/management/tokenTypes.d.ts
17320
17883
  type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
17321
17884
  //#endregion
17322
- export { ProjectTemplatePath as $, RotateFileStorageGcsPath as $n, CreateSamlConfigBody as $t, CreateProjectInvitationPath as A, OrganizationInvitationPath as An, UserOrganizationMembership as At, ListProjectUsersPath as B, UpdateOrganizationInput as Bn, StripeCustomerCard as Bt, AssignProjectTemplateFeatureInput as C, CreateOrganizationInvitationBody as Cn, SetUserMetadataInput as Ct, CreateProjectFeatureBody as D, Organization as Dn, UserDetail as Dt, ChangeProjectUserRolePath as E, CreateOrganizationProjectInput as En, User as Et, GetProjectReviewersPath as F, OrganizationProject as Fn, CreatePaymentRequestBody as Ft, ProjectInvitableRole as G, FileStorageAbs as Gn, AddMaintainerUserInput as Gt, MoveProjectInput as H, CreateFileStorageGcsBody as Hn, UpdateStripeCustomerBody as Ht, JoinProjectBody as I, OrganizationUserPath as In, CreditPaymentRequest as It, ProjectJoinRequestPath as J, RotateFileStorageAbsBody as Jn, CreateMaintainerBody as Jt, ProjectInvitationDetail as K, FileStorageGcs as Kn, CompleteSamlSetupBody as Kt, JoinProjectInput as L, SetOrganizationMetadataBody as Ln, CreditPurchase as Lt, DeleteProjectMetadataPath as M, OrganizationMaintainer as Mn, UserProjectMembership as Mt, GetProjectMetadataPath as N, OrganizationMetadataItemPath as Nn, ConfirmProgrammaticProjectPayload as Nt, CreateProjectFeaturePath as O, OrganizationDetail as On, UserListItem as Ot, GetProjectPath as P, OrganizationPath as Pn, ConfirmProgrammaticProjectResult as Pt, ProjectTemplate as Q, RotateFileStorageGcsInput as Qn, CreateMaintainerOrganizationInput as Qt, ListProjectInvitationsPath as R, SetOrganizationMetadataInput as Rn, PayAsYouGoBillingConfiguration as Rt, AssignFeatureBody as S, AdminUser as Sn, SetUserMetadataBody as St, ChangeProjectUserRoleInput as T, CreateOrganizationProjectBody as Tn, UpdateUserInput as Tt, Project as U, CreateFileStorageS3Body as Un, UpdateTopUpSettingBody as Ut, MoveProjectBody as V, CreateFileStorageAbsBody as Vn, TopUpSetting as Vt, ProjectBase as W, FileStorage as Wn, AddMaintainerUserBody as Wt, ProjectMetadataItem as X, RotateFileStorageAbsPath as Xn, CreateMaintainerInvitationInput as Xt, ProjectMetadataInput as Y, RotateFileStorageAbsInput as Yn, CreateMaintainerInvitationBody as Yt, ProjectPath as Z, RotateFileStorageGcsBody as Zn, CreateMaintainerOrganizationBody as Zt, UpdateBigqueryStorageBackendInput as _, UpdateMaintainerInput as _n, CreateApplicationTokenBody as _r, AddUserFeatureBody as _t, UiApp as a, MaintainerInvitationPath as an, FeatureProject as ar, RequestProjectAccessInput as at, AddProjectUserBody as b, AddOrganizationUserBody as bn, GetUsersQuery as bt, UiAppVersion as c, MaintainerUser as cn, DeletedProject as cr, SetProjectDisabledInput as ct, GetStorageBackendProjectsQuery as d, SamlConfigDetail as dn, MaintainerInvitation as dr, SetProjectMetadataBody as dt, CreateSamlConfigInput as en, RotateFileStorageS3Body as er, RemoveProjectFeaturePath as et, StorageBackend as f, SamlConfigPath as fn, OrganizationInvitation as fr, SetProjectMetadataPath as ft, UpdateBigqueryStorageBackendBody as g, UpdateMaintainerBody as gn, ApplicationTokenScope as gr, UpdateProjectInput as gt, StorageBackendProject as h, SetMaintainerMetadataInput as hn, ApplicationToken as hr, UpdateProjectBody as ht, RenameUiAppBody as i, MaintainerInvitationDetail as in, FeatureAdmin as ir, RequestProjectAccessBody as it, DeleteProjectInvitationPath as j, OrganizationListItem as jn, UserPath as jt, CreateProjectInvitationBody as k, OrganizationInvitationDetail as kn, UserMaintainerMembership as kt, CreateBigqueryStorageBackendBody as l, MaintainerUserPath as ln, DeletedProjectPurgeResult as lr, SetProjectLimitsBody as lt, StorageBackendPath as m, SetMaintainerMetadataBody as mn, ProjectJoinRequest as mr, SetProjectReviewersPath as mt, GetUiAppsQuery as n, Maintainer as nn, RotateFileStorageS3Path as nr, RemoveProjectTemplateFeaturePath as nt, UiAppDetail as o, MaintainerMetadataItemPath as on, FeatureType as or, Reviewer as ot, StorageBackendMaintainer as p, SamlConfigSummary as pn, ProjectInvitation as pr, SetProjectReviewersBody as pt, ProjectJoinRequestDetail as q, FileStorageS3 as qn, CompleteSamlSetupInput as qt, RegisterUiAppBody as r, MaintainerDetail as rn, Feature as rr, RemoveProjectUserPath as rt, UiAppRegistrationResult as s, MaintainerPath as sn, GetAllFeaturesQuery as sr, SetProjectDisabledBody as st, ManagementToken as t, CreateSamlConfigPath as tn, RotateFileStorageS3Input as tr, RemoveProjectLimitPath as tt, CreateSnowflakeStorageBackendBody as u, MetadataItem as un, DeletedProjectsListQuery as ur, SetProjectLimitsInput as ut, UpdateStorageBackendBody as v, UpdateSamlConfigBody as vn, CreatedApplicationToken as vr, AddUserFeaturePath as vt, ChangeProjectUserRoleBody as w, CreateOrganizationInvitationInput as wn, UpdateUserBody as wt, AddProjectUserPath as x, AddOrganizationUserInput as xn, RemoveUserFeaturePath as xt, UpdateStorageBackendInput as y, UpdateSamlConfigInput as yn, paths as yr, DeleteUserMetadataPath as yt, ListProjectJoinRequestsPath as z, UpdateOrganizationBody as zn, StripeCustomer as zt };
17323
- //# sourceMappingURL=types-Dtuvhm3K.d.cts.map
17885
+ export { ProjectMetadataItem as $, RotateFileStorageAbsInput as $n, CreateMaintainerInvitationInput as $t, CreateProjectFeatureBody as A, Organization as An, UserDetail as At, JoinProjectInput as B, SetOrganizationMetadataBody as Bn, CreditPurchase as Bt, AddProjectUserBody as C, AddOrganizationUserBody as Cn, ApplicationToken as Cr, GetUsersQuery as Ct, ChangeProjectUserRoleBody as D, CreateOrganizationInvitationInput as Dn, components as Dr, UpdateUserBody as Dt, AssignProjectTemplateFeatureInput as E, CreateOrganizationInvitationBody as En, CreatedApplicationToken as Er, SetUserMetadataInput as Et, DeleteProjectMetadataPath as F, OrganizationMaintainer as Fn, UserProjectMembership as Ft, MoveProjectInput as G, CreateFileStorageAbsBody as Gn, UpdateStripeCustomerBody as Gt, ListProjectJoinRequestsPath as H, UpdateOrganizationBody as Hn, StripeCustomer as Ht, GetProjectMetadataPath as I, OrganizationMetadataItemPath as In, ConfirmProgrammaticProjectPayload as It, ProjectInvitableRole as J, FileStorage as Jn, AddMaintainerUserInput as Jt, Project as K, CreateFileStorageGcsBody as Kn, UpdateTopUpSettingBody as Kt, GetProjectPath as L, OrganizationPath as Ln, ConfirmProgrammaticProjectResult as Lt, CreateProjectInvitationBody as M, OrganizationInvitationDetail as Mn, UserMaintainerMembership as Mt, CreateProjectInvitationPath as N, OrganizationInvitationPath as Nn, UserOrganizationMembership as Nt, ChangeProjectUserRoleInput as O, CreateOrganizationProjectBody as On, paths as Or, UpdateUserInput as Ot, DeleteProjectInvitationPath as P, OrganizationListItem as Pn, UserPath as Pt, ProjectMetadataInput as Q, RotateFileStorageAbsBody as Qn, CreateMaintainerInvitationBody as Qt, GetProjectReviewersPath as R, OrganizationProject as Rn, CreatePaymentRequestBody as Rt, UpdateStorageBackendInput as S, UpdateSamlConfigInput as Sn, ProjectJoinRequest as Sr, DeleteUserMetadataPath as St, AssignFeatureBody as T, AdminUser as Tn, CreateApplicationTokenBody as Tr, SetUserMetadataBody as Tt, ListProjectUsersPath as U, UpdateOrganizationInput as Un, StripeCustomerCard as Ut, ListProjectInvitationsPath as V, SetOrganizationMetadataInput as Vn, PayAsYouGoBillingConfiguration as Vt, MoveProjectBody as W, SetUpBigQueryBody as Wn, TopUpSetting as Wt, ProjectJoinRequestDetail as X, FileStorageGcs as Xn, CompleteSamlSetupInput as Xt, ProjectInvitationDetail as Y, FileStorageAbs as Yn, CompleteSamlSetupBody as Yt, ProjectJoinRequestPath as Z, FileStorageS3 as Zn, CreateMaintainerBody as Zt, StorageBackendPath as _, SetMaintainerMetadataBody as _n, DeletedProjectsStats as _r, SetProjectReviewersPath as _t, GetUiAppsQuery as a, Maintainer as an, RotateFileStorageS3Input as ar, RemoveProjectTemplateFeaturePath as at, UpdateBigqueryStorageBackendInput as b, UpdateMaintainerInput as bn, OrganizationInvitation as br, AddUserFeatureBody as bt, UiApp as c, MaintainerInvitationPath as cn, FeatureAdmin as cr, RequestProjectAccessInput as ct, UiAppVersion as d, MaintainerUser as dn, GetAllFeaturesQuery as dr, SetProjectDisabledInput as dt, CreateMaintainerOrganizationBody as en, RotateFileStorageAbsPath as er, ProjectPath as et, CreateBigqueryStorageBackendBody as f, MaintainerUserPath as fn, DeletedProject as fr, SetProjectLimitsBody as ft, StorageBackendMaintainer as g, SamlConfigSummary as gn, DeletedProjectsPage as gr, SetProjectReviewersBody as gt, StorageBackend as h, SamlConfigPath as hn, DeletedProjectsListQuery as hr, SetProjectMetadataPath as ht, ReactivateWorkspaceResult as i, CreateSamlConfigPath as in, RotateFileStorageS3Body as ir, RemoveProjectLimitPath as it, CreateProjectFeaturePath as j, OrganizationDetail as jn, UserListItem as jt, ChangeProjectUserRolePath as k, CreateOrganizationProjectInput as kn, User as kt, UiAppDetail as l, MaintainerMetadataItemPath as ln, FeatureProject as lr, Reviewer as lt, GetStorageBackendProjectsQuery as m, SamlConfigDetail as mn, DeletedProjectsListFilter as mr, SetProjectMetadataBody as mt, ProjectRetentionWorkspace as n, CreateSamlConfigBody as nn, RotateFileStorageGcsInput as nr, ProjectTemplatePath as nt, RegisterUiAppBody as o, MaintainerDetail as on, RotateFileStorageS3Path as or, RemoveProjectUserPath as ot, CreateSnowflakeStorageBackendBody as p, MetadataItem as pn, DeletedProjectPurgeResult as pr, SetProjectLimitsInput as pt, ProjectBase as q, CreateFileStorageS3Body as qn, AddMaintainerUserBody as qt, ProjectRetentionWorkspaceState as r, CreateSamlConfigInput as rn, RotateFileStorageGcsPath as rr, RemoveProjectFeaturePath as rt, RenameUiAppBody as s, MaintainerInvitationDetail as sn, Feature as sr, RequestProjectAccessBody as st, ManagementToken as t, CreateMaintainerOrganizationInput as tn, RotateFileStorageGcsBody as tr, ProjectTemplate as tt, UiAppRegistrationResult as u, MaintainerPath as un, FeatureType as ur, SetProjectDisabledBody as ut, StorageBackendProject as v, SetMaintainerMetadataInput as vn, DeletedProjectsStatus as vr, UpdateProjectBody as vt, AddProjectUserPath as w, AddOrganizationUserInput as wn, ApplicationTokenScope as wr, RemoveUserFeaturePath as wt, UpdateStorageBackendBody as x, UpdateSamlConfigBody as xn, ProjectInvitation as xr, AddUserFeaturePath as xt, UpdateBigqueryStorageBackendBody as y, UpdateMaintainerBody as yn, MaintainerInvitation as yr, UpdateProjectInput as yt, JoinProjectBody as z, OrganizationUserPath as zn, CreditPaymentRequest as zt };
17886
+ //# sourceMappingURL=types-BWmLo73i.d.cts.map