@keboola/api-client 41.0.0 → 43.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 (395) hide show
  1. package/API-SURFACE.md +44 -3
  2. package/CHANGELOG.md +170 -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/collect-97WhfEpt.js +30 -0
  45. package/dist/collect-97WhfEpt.js.map +1 -0
  46. package/dist/collect-B5TCNiT1.cjs +35 -0
  47. package/dist/collect-B5TCNiT1.cjs.map +1 -0
  48. package/dist/{componentId-_IKXxICq.cjs → componentId-D4jp6a13.cjs} +17 -1
  49. package/dist/componentId-D4jp6a13.cjs.map +1 -0
  50. package/dist/{componentId-BJLfnaGc.js → componentId-DmHwHG5V.js} +17 -1
  51. package/dist/componentId-DmHwHG5V.js.map +1 -0
  52. package/dist/{configurations-VlfQ_37Y.cjs → configurations-D_Rbs0Wl.cjs} +2 -2
  53. package/dist/{configurations-VlfQ_37Y.cjs.map → configurations-D_Rbs0Wl.cjs.map} +1 -1
  54. package/dist/{configurations-CF3xz7RB.js → configurations-DcpUlC8I.js} +2 -2
  55. package/dist/{configurations-CF3xz7RB.js.map → configurations-DcpUlC8I.js.map} +1 -1
  56. package/dist/constants/index.cjs +1 -1
  57. package/dist/constants/index.d.cts +1 -1
  58. package/dist/constants/index.d.ts +1 -1
  59. package/dist/constants/index.js +1 -1
  60. package/dist/createAbortError-BxupOt-6.js +6 -0
  61. package/dist/createAbortError-BxupOt-6.js.map +1 -0
  62. package/dist/createAbortError-RendOpo7.cjs +11 -0
  63. package/dist/createAbortError-RendOpo7.cjs.map +1 -0
  64. package/dist/{createFetchClient-Cwp8max9.cjs → createFetchClient-BgihytBn.cjs} +2 -1
  65. package/dist/createFetchClient-BgihytBn.cjs.map +1 -0
  66. package/dist/{createFetchClient-DXHQK63w.js → createFetchClient-cgWkwgAQ.js} +2 -1
  67. package/dist/createFetchClient-cgWkwgAQ.js.map +1 -0
  68. package/dist/{createGenericFetchClient-Dl9cqTvR.cjs → createGenericFetchClient-C7Y0YVfc.cjs} +2 -2
  69. package/dist/{createGenericFetchClient-Dl9cqTvR.cjs.map → createGenericFetchClient-C7Y0YVfc.cjs.map} +1 -1
  70. package/dist/{createGenericFetchClient-Dg1rgzmG.js → createGenericFetchClient-CX9Hn3Aq.js} +2 -2
  71. package/dist/{createGenericFetchClient-Dg1rgzmG.js.map → createGenericFetchClient-CX9Hn3Aq.js.map} +1 -1
  72. package/dist/{createOpenapiFetchClient-DZUOVupy.js → createOpenapiFetchClient-BxcLLU_N.js} +2 -2
  73. package/dist/{createOpenapiFetchClient-DZUOVupy.js.map → createOpenapiFetchClient-BxcLLU_N.js.map} +1 -1
  74. package/dist/{createOpenapiFetchClient-BYqW-9tm.cjs → createOpenapiFetchClient-DY5s-aH6.cjs} +2 -2
  75. package/dist/{createOpenapiFetchClient-BYqW-9tm.cjs.map → createOpenapiFetchClient-DY5s-aH6.cjs.map} +1 -1
  76. package/dist/dataScience/index.cjs +2 -2
  77. package/dist/dataScience/index.d.cts +1 -1
  78. package/dist/dataScience/index.d.ts +1 -1
  79. package/dist/dataScience/index.js +2 -2
  80. package/dist/dataScience/types.d.cts +1 -1
  81. package/dist/dataScience/types.d.ts +1 -1
  82. package/dist/{dataScience-B5QxZnvW.cjs → dataScience-BoS8Xfvx.cjs} +5 -5
  83. package/dist/{dataScience-B5QxZnvW.cjs.map → dataScience-BoS8Xfvx.cjs.map} +1 -1
  84. package/dist/{dataScience-OXcwdk1p.js → dataScience-BxRoGfnG.js} +5 -5
  85. package/dist/{dataScience-OXcwdk1p.js.map → dataScience-BxRoGfnG.js.map} +1 -1
  86. package/dist/developerPortal/index.cjs +1 -1
  87. package/dist/developerPortal/index.d.cts +2 -2
  88. package/dist/developerPortal/index.d.ts +2 -2
  89. package/dist/developerPortal/index.js +1 -1
  90. package/dist/developerPortal/types.d.cts +1 -1
  91. package/dist/developerPortal/types.d.ts +1 -1
  92. package/dist/{developerPortalClient-B1QZ1rYi.js → developerPortalClient-C7s0kpjK.js} +3 -3
  93. package/dist/{developerPortalClient-B1QZ1rYi.js.map → developerPortalClient-C7s0kpjK.js.map} +1 -1
  94. package/dist/{developerPortalClient-CLPpBksD.cjs → developerPortalClient-DFHEsrlt.cjs} +3 -3
  95. package/dist/{developerPortalClient-CLPpBksD.cjs.map → developerPortalClient-DFHEsrlt.cjs.map} +1 -1
  96. package/dist/domain/permissions/index.d.cts +2 -2
  97. package/dist/domain/permissions/index.d.ts +2 -2
  98. package/dist/domain/storageTable/index.cjs +7 -1
  99. package/dist/domain/storageTable/index.d.cts +2 -2
  100. package/dist/domain/storageTable/index.d.ts +2 -2
  101. package/dist/domain/storageTable/index.js +2 -2
  102. package/dist/editor/index.cjs +2 -2
  103. package/dist/editor/index.js +2 -2
  104. package/dist/encryption/index.cjs +1 -1
  105. package/dist/encryption/index.d.cts +1 -1
  106. package/dist/encryption/index.d.ts +1 -1
  107. package/dist/encryption/index.js +1 -1
  108. package/dist/encryption/types.d.cts +1 -1
  109. package/dist/encryption/types.d.ts +1 -1
  110. package/dist/import/index.cjs +1 -1
  111. package/dist/import/index.js +1 -1
  112. package/dist/{import-CNk89mqy.cjs → import-BSYvG3Uy.cjs} +3 -3
  113. package/dist/{import-CNk89mqy.cjs.map → import-BSYvG3Uy.cjs.map} +1 -1
  114. package/dist/{import-DiMQCzLa.js → import-CXBcFVbk.js} +3 -3
  115. package/dist/{import-DiMQCzLa.js.map → import-CXBcFVbk.js.map} +1 -1
  116. package/dist/{index-DNThyEej.d.cts → index-04pgr-EO.d.cts} +14 -3
  117. package/dist/{index-DCRKjihs.d.ts → index-B03vhWSX.d.ts} +117 -90
  118. package/dist/{index-BDZvaRud.d.ts → index-B72LTF-k.d.ts} +6 -3
  119. package/dist/{index-CcMHJcuP.d.cts → index-BHWTa4YN.d.cts} +3 -2
  120. package/dist/{index-DOAZmWvh.d.cts → index-BMiZx-4_.d.cts} +6 -3
  121. package/dist/{index-CaaTOANF.d.ts → index-BQZ9njUC.d.ts} +598 -85
  122. package/dist/{index--ZpnE3YT.d.cts → index-BUsLHNOA.d.cts} +2 -2
  123. package/dist/{index-Cz0MXhzs.d.cts → index-C7KThHI3.d.cts} +6 -2
  124. package/dist/{index-D-VMgpGc.d.ts → index-CAvT_ahE.d.ts} +6 -2
  125. package/dist/{index-D7-o-oGa.d.ts → index-CBWfpd-0.d.ts} +2 -2
  126. package/dist/index-CGCXR_6Q.d.ts +273 -0
  127. package/dist/{index-C11JSxBY.d.ts → index-CX8GAP2g.d.ts} +13 -8
  128. package/dist/{index-Cvbjp3jx.d.cts → index-CdS-c6sC.d.cts} +6 -6
  129. package/dist/{index-cWp_V6K5.d.cts → index-Cm04GKm9.d.cts} +598 -85
  130. package/dist/{index-C4TNAA8-.d.cts → index-Cvkrjh--.d.cts} +13 -8
  131. package/dist/{index-ByRpNVcs.d.cts → index-D3HFMfJJ.d.cts} +117 -90
  132. package/dist/{index-DnQTuc6t.d.ts → index-D7of2MMN.d.ts} +6 -6
  133. package/dist/index-DINB7vsV.d.cts +273 -0
  134. package/dist/{index-B5w7WlaU.d.cts → index-DeQDdut6.d.cts} +17 -1
  135. package/dist/{index-B5w7WlaU.d.ts → index-DeQDdut6.d.ts} +17 -1
  136. package/dist/{index-CXcWpZQ2.d.ts → index-P1vR966i.d.cts} +74 -2
  137. package/dist/{index-CXcWpZQ2.d.cts → index-P1vR966i.d.ts} +74 -2
  138. package/dist/{index-Qb7X6-ph.d.ts → index-R-w0Zncz.d.ts} +14 -3
  139. package/dist/{index-D_-4uQF8.d.ts → index-zyxZVJnd.d.ts} +3 -2
  140. package/dist/index.cjs +68 -41
  141. package/dist/index.cjs.map +1 -1
  142. package/dist/index.d.cts +3 -3
  143. package/dist/index.d.ts +3 -3
  144. package/dist/index.js +67 -41
  145. package/dist/index.js.map +1 -1
  146. package/dist/{isLoginPageRedirect-XPwAOKK3.js → isLoginPageRedirect-CsjF95_P.js} +2 -2
  147. package/dist/{isLoginPageRedirect-XPwAOKK3.js.map → isLoginPageRedirect-CsjF95_P.js.map} +1 -1
  148. package/dist/{isLoginPageRedirect-jQHiLrG7.cjs → isLoginPageRedirect-c451CoWW.cjs} +2 -2
  149. package/dist/{isLoginPageRedirect-jQHiLrG7.cjs.map → isLoginPageRedirect-c451CoWW.cjs.map} +1 -1
  150. package/dist/{jobStatus-CfRtsIpv.js → jobStatus-CDp4r5JQ.js} +3 -5
  151. package/dist/jobStatus-CDp4r5JQ.js.map +1 -0
  152. package/dist/{jobStatus-BMlsyXWI.cjs → jobStatus-CcNlIy5R.cjs} +5 -13
  153. package/dist/{jobStatus-CfRtsIpv.js.map → jobStatus-CcNlIy5R.cjs.map} +1 -1
  154. package/dist/kaiAgent/index.cjs +1 -1
  155. package/dist/kaiAgent/index.d.cts +2 -2
  156. package/dist/kaiAgent/index.d.ts +2 -2
  157. package/dist/kaiAgent/index.js +1 -1
  158. package/dist/kaiAgent/types.d.cts +1 -1
  159. package/dist/kaiAgent/types.d.ts +1 -1
  160. package/dist/{kaiAgent-QNoeVKPs.cjs → kaiAgent-ph4DRKlT.cjs} +21 -5
  161. package/dist/kaiAgent-ph4DRKlT.cjs.map +1 -0
  162. package/dist/{kaiAgent-Dp20HLTh.js → kaiAgent-xBpUwLeQ.js} +21 -5
  163. package/dist/kaiAgent-xBpUwLeQ.js.map +1 -0
  164. package/dist/{kaiMemory-D0Y_16U4.js → kaiMemory-BAniZZAN.js} +2 -2
  165. package/dist/{kaiMemory-D0Y_16U4.js.map → kaiMemory-BAniZZAN.js.map} +1 -1
  166. package/dist/{kaiMemory-CClSPInt.cjs → kaiMemory-U0DG-CpY.cjs} +2 -2
  167. package/dist/{kaiMemory-CClSPInt.cjs.map → kaiMemory-U0DG-CpY.cjs.map} +1 -1
  168. package/dist/management/index.cjs +1 -1
  169. package/dist/management/index.d.cts +1 -1
  170. package/dist/management/index.d.ts +1 -1
  171. package/dist/management/index.js +1 -1
  172. package/dist/management/types.d.cts +2 -2
  173. package/dist/management/types.d.ts +2 -2
  174. package/dist/{management-CCY0IYnq.cjs → management-5597SiC7.cjs} +79 -11
  175. package/dist/management-5597SiC7.cjs.map +1 -0
  176. package/dist/{management-DvmPiG64.js → management-D46KlXts.js} +79 -11
  177. package/dist/management-D46KlXts.js.map +1 -0
  178. package/dist/metastore/index.cjs +1 -1
  179. package/dist/metastore/index.d.cts +1 -1
  180. package/dist/metastore/index.d.ts +1 -1
  181. package/dist/metastore/index.js +1 -1
  182. package/dist/metastore/types.d.cts +2 -2
  183. package/dist/metastore/types.d.ts +2 -2
  184. package/dist/{metastore-XtWciCZT.cjs → metastore-DwMFlP2d.cjs} +52 -7
  185. package/dist/metastore-DwMFlP2d.cjs.map +1 -0
  186. package/dist/{metastore-BycJxe7A.js → metastore-_OskcLGz.js} +52 -7
  187. package/dist/metastore-_OskcLGz.js.map +1 -0
  188. package/dist/microsoftGraph/index.cjs +2 -2
  189. package/dist/microsoftGraph/index.d.cts +2 -1
  190. package/dist/microsoftGraph/index.d.ts +2 -1
  191. package/dist/microsoftGraph/index.js +2 -2
  192. package/dist/microsoftGraph/types.d.cts +1 -1
  193. package/dist/microsoftGraph/types.d.ts +1 -1
  194. package/dist/{middleware-CBwrtgQd.js → middleware-Drbo_UIZ.js} +2 -2
  195. package/dist/{middleware-CBwrtgQd.js.map → middleware-Drbo_UIZ.js.map} +1 -1
  196. package/dist/{middleware-IjYx3d5u.cjs → middleware-xhg2r2fE.cjs} +2 -2
  197. package/dist/{middleware-IjYx3d5u.cjs.map → middleware-xhg2r2fE.cjs.map} +1 -1
  198. package/dist/notifications/index.cjs +3 -3
  199. package/dist/notifications/index.js +3 -3
  200. package/dist/oauth/index.cjs +1 -1
  201. package/dist/oauth/index.d.cts +1 -1
  202. package/dist/oauth/index.d.ts +1 -1
  203. package/dist/oauth/index.js +1 -1
  204. package/dist/oauth/types.d.cts +1 -1
  205. package/dist/oauth/types.d.ts +1 -1
  206. package/dist/{oauth--2p8jkJf.cjs → oauth-L0Uic3YA.cjs} +5 -5
  207. package/dist/{oauth--2p8jkJf.cjs.map → oauth-L0Uic3YA.cjs.map} +1 -1
  208. package/dist/{oauth-l5zE39cD.js → oauth-TWwAv-va.js} +5 -5
  209. package/dist/{oauth-l5zE39cD.js.map → oauth-TWwAv-va.js.map} +1 -1
  210. package/dist/omnisearch/index.cjs +2 -2
  211. package/dist/omnisearch/index.d.cts +1 -1
  212. package/dist/omnisearch/index.d.ts +1 -1
  213. package/dist/omnisearch/index.js +2 -2
  214. package/dist/omnisearch/types.d.cts +1 -1
  215. package/dist/omnisearch/types.d.ts +1 -1
  216. package/dist/{project-cHKuGvqJ.d.cts → project-B8wtlstY.d.cts} +2 -2
  217. package/dist/{project-B15gStbM.d.ts → project-BCc3mpAy.d.ts} +2 -2
  218. package/dist/queryService/index.cjs +1 -1
  219. package/dist/queryService/index.d.cts +1 -1
  220. package/dist/queryService/index.d.ts +1 -1
  221. package/dist/queryService/index.js +1 -1
  222. package/dist/{queryService-CQzclHdL.cjs → queryService-DSww_TJp.cjs} +6 -6
  223. package/dist/{queryService-CQzclHdL.cjs.map → queryService-DSww_TJp.cjs.map} +1 -1
  224. package/dist/{queryService-CCOYbRbw.js → queryService-Drvy1ztW.js} +6 -6
  225. package/dist/{queryService-CCOYbRbw.js.map → queryService-Drvy1ztW.js.map} +1 -1
  226. package/dist/queue/index.cjs +1 -1
  227. package/dist/queue/index.d.cts +1 -1
  228. package/dist/queue/index.d.ts +1 -1
  229. package/dist/queue/index.js +1 -1
  230. package/dist/{queue-Cowbg6bR.js → queue-Ci_f_5TI.js} +7 -32
  231. package/dist/queue-Ci_f_5TI.js.map +1 -0
  232. package/dist/{queue-UG_BWKIC.cjs → queue-DpMvv8C-.cjs} +7 -38
  233. package/dist/{queue-Cowbg6bR.js.map → queue-DpMvv8C-.cjs.map} +1 -1
  234. package/dist/scheduler/index.cjs +3 -3
  235. package/dist/scheduler/index.d.cts +13 -1
  236. package/dist/scheduler/index.d.ts +13 -1
  237. package/dist/scheduler/index.js +3 -3
  238. package/dist/scheduler/types.d.cts +1 -1
  239. package/dist/scheduler/types.d.ts +1 -1
  240. package/dist/{schema-D1oxyn1O.d.cts → schema-DJa9WBjR.d.cts} +28 -1
  241. package/dist/{schema-D1oxyn1O.d.ts → schema-DJa9WBjR.d.ts} +28 -1
  242. package/dist/sdk/configurations/index.cjs +1 -1
  243. package/dist/sdk/configurations/index.d.cts +4 -4
  244. package/dist/sdk/configurations/index.d.ts +4 -4
  245. package/dist/sdk/configurations/index.js +1 -1
  246. package/dist/sdk/developerPortal/index.cjs +3 -3
  247. package/dist/sdk/developerPortal/index.d.cts +13 -8
  248. package/dist/sdk/developerPortal/index.d.ts +13 -8
  249. package/dist/sdk/developerPortal/index.js +3 -3
  250. package/dist/sdk/kaiMemory/index.cjs +1 -1
  251. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  252. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  253. package/dist/sdk/kaiMemory/index.js +1 -1
  254. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  255. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  256. package/dist/sdk/queryService/index.cjs +1 -1
  257. package/dist/sdk/queryService/index.d.cts +1 -1
  258. package/dist/sdk/queryService/index.d.ts +1 -1
  259. package/dist/sdk/queryService/index.js +1 -1
  260. package/dist/sdk/semanticLayer/index.cjs +2 -1
  261. package/dist/sdk/semanticLayer/index.d.cts +10 -3
  262. package/dist/sdk/semanticLayer/index.d.ts +10 -3
  263. package/dist/sdk/semanticLayer/index.js +2 -2
  264. package/dist/sdk/semanticLayer/types.d.cts +2 -2
  265. package/dist/sdk/semanticLayer/types.d.ts +2 -2
  266. package/dist/sdk/storage/index.cjs +12 -24
  267. package/dist/sdk/storage/index.cjs.map +1 -1
  268. package/dist/sdk/storage/index.d.cts +1 -1
  269. package/dist/sdk/storage/index.d.ts +1 -1
  270. package/dist/sdk/storage/index.js +12 -24
  271. package/dist/sdk/storage/index.js.map +1 -1
  272. package/dist/sdk/tag/index.d.cts +2 -2
  273. package/dist/sdk/tag/index.d.ts +2 -2
  274. package/dist/sdk/tag/types.d.cts +1 -1
  275. package/dist/sdk/tag/types.d.ts +1 -1
  276. package/dist/sdk/vault/index.d.cts +1 -1
  277. package/dist/sdk/vault/index.d.ts +1 -1
  278. package/dist/{semanticLayer-CKDVkU56.cjs → semanticLayer-D3NDh_QH.cjs} +115 -20
  279. package/dist/semanticLayer-D3NDh_QH.cjs.map +1 -0
  280. package/dist/{semanticLayer-pYy082Ju.js → semanticLayer-Ddg0LSnt.js} +110 -21
  281. package/dist/semanticLayer-Ddg0LSnt.js.map +1 -0
  282. package/dist/status/index.cjs +1 -1
  283. package/dist/status/index.js +1 -1
  284. package/dist/storage/index.cjs +4 -4
  285. package/dist/storage/index.d.cts +2 -2
  286. package/dist/storage/index.d.ts +2 -2
  287. package/dist/storage/index.js +4 -4
  288. package/dist/storage/types.d.cts +3 -3
  289. package/dist/storage/types.d.ts +3 -3
  290. package/dist/{storage-CZQHZcXG.js → storage-C-lyo_iX.js} +273 -135
  291. package/dist/storage-C-lyo_iX.js.map +1 -0
  292. package/dist/{storage-JinL1y1s.cjs → storage-DAJquqEw.cjs} +273 -135
  293. package/dist/storage-DAJquqEw.cjs.map +1 -0
  294. package/dist/{storageTable-C9crh4Ef.cjs → storageTable-BNOR2FCh.cjs} +137 -5
  295. package/dist/storageTable-BNOR2FCh.cjs.map +1 -0
  296. package/dist/{storageTable-DslXtqNL.js → storageTable-BldTNyEk.js} +102 -6
  297. package/dist/storageTable-BldTNyEk.js.map +1 -0
  298. package/dist/stream/index.cjs +3 -3
  299. package/dist/stream/index.js +3 -3
  300. package/dist/syncActions/index.cjs +4 -1
  301. package/dist/syncActions/index.d.cts +3 -2
  302. package/dist/syncActions/index.d.ts +3 -2
  303. package/dist/syncActions/index.js +2 -2
  304. package/dist/syncActions/types.d.cts +2 -2
  305. package/dist/syncActions/types.d.ts +2 -2
  306. package/dist/syncActions-BQ8kMgL6.js +1191 -0
  307. package/dist/syncActions-BQ8kMgL6.js.map +1 -0
  308. package/dist/syncActions-DyxNmbUR.cjs +1216 -0
  309. package/dist/syncActions-DyxNmbUR.cjs.map +1 -0
  310. package/dist/telemetry/index.cjs +3 -3
  311. package/dist/telemetry/index.js +3 -3
  312. package/dist/{types-DWiLcrxt.d.cts → types-04GTqleJ.d.cts} +3 -3
  313. package/dist/{types-DRCMBt89.d.ts → types-2Do0DZ60.d.ts} +3 -3
  314. package/dist/{types-n4PTnLii.d.ts → types-AYX7VtS6.d.ts} +179 -2
  315. package/dist/{types-DIiOMV-t.d.ts → types-B3P5yAuI.d.ts} +5 -1
  316. package/dist/{types-BLNB882w.d.cts → types-B3i04d_A.d.cts} +5 -1
  317. package/dist/{types-CZXPu3gn.d.ts → types-BBUZ9EHs.d.ts} +4 -1
  318. package/dist/{types-Dtuvhm3K.d.cts → types-BWmLo73i.d.cts} +749 -186
  319. package/dist/{types-CQFOCQzk.d.ts → types-BaSlU0uo.d.ts} +510 -5
  320. package/dist/{types-DEzW1CfI.d.cts → types-BgHtMe8s.d.cts} +3 -3
  321. package/dist/{types-BiMahEK8.d.cts → types-BgVt8SUY.d.cts} +126 -62
  322. package/dist/{types-BS4jwuMi.d.ts → types-BhEx9iRx.d.ts} +3068 -621
  323. package/dist/{types-CP_LBmw3.d.cts → types-BhOUS9j1.d.cts} +26 -3
  324. package/dist/{types-tKkeLa2B.d.cts → types-BiEh5c_t.d.cts} +60 -8
  325. package/dist/{types-CMzQSHAQ.d.cts → types-BzPuxmaR.d.cts} +3 -3
  326. package/dist/{types-CKmTZSPG.d.ts → types-C0rVtqz2.d.ts} +126 -62
  327. package/dist/{types-Bl03Cg2n.d.cts → types-CAAgCRmE.d.cts} +31 -5
  328. package/dist/{types-RbrfiY8T.d.ts → types-CAp1VexS.d.ts} +3 -3
  329. package/dist/{types-DinIJ1D_.d.cts → types-CBPKpLTf.d.cts} +179 -2
  330. package/dist/{types-BIECJYun.d.ts → types-CN6huo55.d.ts} +406 -5
  331. package/dist/{types-Cg14ncdV.d.ts → types-CV7jmgtX.d.ts} +3 -3
  332. package/dist/{types-CqwHP7mN.d.cts → types-CcYxlqtB.d.cts} +510 -5
  333. package/dist/{types-DE9hgr7i.d.cts → types-CgBzm1YR.d.cts} +106 -1
  334. package/dist/{types-FwRmjsNN.d.ts → types-CigD_EF5.d.ts} +18 -6
  335. package/dist/{types-B_iLJlp4.d.ts → types-CwZgZqrA.d.ts} +31 -5
  336. package/dist/{types-B61aCifg.d.cts → types-D9axmt5o.d.cts} +4 -1
  337. package/dist/{types-CWyXTMwy.d.ts → types-DaMmgW-O.d.ts} +106 -1
  338. package/dist/{types-BTK7Bv3n.d.cts → types-DgPt4LY_.d.cts} +406 -5
  339. package/dist/{types-bc-4z_gc.d.cts → types-DyArI_Jq.d.cts} +18 -6
  340. package/dist/{types-q-1r_9d1.d.ts → types-DzV6LaZq.d.ts} +60 -8
  341. package/dist/{types-DekYAlA-.d.ts → types-QSchmyvO.d.ts} +3 -3
  342. package/dist/{types-DKc1gmd9.d.ts → types-R3AFJD6r.d.ts} +749 -186
  343. package/dist/{types-6kuMW4JW.d.cts → types-c_bsDkV6.d.cts} +3 -3
  344. package/dist/{types-DgJeO9Nd.d.ts → types-gcAb6olM.d.ts} +26 -3
  345. package/dist/{types-DDOa07rU.d.cts → types-sV9OaqTI.d.cts} +3068 -621
  346. package/dist/{validateConnectionStatus-BEYkQpu9.cjs → validateConnectionStatus-Ca1uEizv.cjs} +3 -3
  347. package/dist/{validateConnectionStatus-BEYkQpu9.cjs.map → validateConnectionStatus-Ca1uEizv.cjs.map} +1 -1
  348. package/dist/{validateConnectionStatus-BEGu8wXT.js → validateConnectionStatus-gFsBi5FV.js} +3 -3
  349. package/dist/{validateConnectionStatus-BEGu8wXT.js.map → validateConnectionStatus-gFsBi5FV.js.map} +1 -1
  350. package/dist/vault/index.cjs +31 -6
  351. package/dist/vault/index.cjs.map +1 -1
  352. package/dist/vault/index.d.cts +1 -1
  353. package/dist/vault/index.d.ts +1 -1
  354. package/dist/vault/index.js +31 -6
  355. package/dist/vault/index.js.map +1 -1
  356. package/dist/vault/types.d.cts +1 -1
  357. package/dist/vault/types.d.ts +1 -1
  358. package/package.json +7 -7
  359. package/surface/auth.md +7 -0
  360. package/surface/dataScience.md +2 -2
  361. package/surface/kaiAgent.md +5 -3
  362. package/surface/management.md +28 -13
  363. package/surface/metastore.md +4 -1
  364. package/surface/queue.md +1 -1
  365. package/surface/scheduler.md +3 -3
  366. package/surface/sdk.md +13 -8
  367. package/surface/storage.md +27 -24
  368. package/surface/syncActions.md +48 -1
  369. package/surface/vault.md +1 -0
  370. package/dist/authClient-BmuUo0J4.cjs.map +0 -1
  371. package/dist/authClient-CgcDGd30.js.map +0 -1
  372. package/dist/componentId-BJLfnaGc.js.map +0 -1
  373. package/dist/componentId-_IKXxICq.cjs.map +0 -1
  374. package/dist/createFetchClient-Cwp8max9.cjs.map +0 -1
  375. package/dist/createFetchClient-DXHQK63w.js.map +0 -1
  376. package/dist/index-DbLFwXgb.d.cts +0 -116
  377. package/dist/index-rwK7GcB2.d.ts +0 -116
  378. package/dist/jobStatus-BMlsyXWI.cjs.map +0 -1
  379. package/dist/kaiAgent-Dp20HLTh.js.map +0 -1
  380. package/dist/kaiAgent-QNoeVKPs.cjs.map +0 -1
  381. package/dist/management-CCY0IYnq.cjs.map +0 -1
  382. package/dist/management-DvmPiG64.js.map +0 -1
  383. package/dist/metastore-BycJxe7A.js.map +0 -1
  384. package/dist/metastore-XtWciCZT.cjs.map +0 -1
  385. package/dist/queue-UG_BWKIC.cjs.map +0 -1
  386. package/dist/semanticLayer-CKDVkU56.cjs.map +0 -1
  387. package/dist/semanticLayer-pYy082Ju.js.map +0 -1
  388. package/dist/storage-CZQHZcXG.js.map +0 -1
  389. package/dist/storage-JinL1y1s.cjs.map +0 -1
  390. package/dist/storageTable-C9crh4Ef.cjs.map +0 -1
  391. package/dist/storageTable-DslXtqNL.js.map +0 -1
  392. package/dist/syncActions-ChNWuhYA.js +0 -646
  393. package/dist/syncActions-ChNWuhYA.js.map +0 -1
  394. package/dist/syncActions-mFlF16cl.cjs +0 -653
  395. package/dist/syncActions-mFlF16cl.cjs.map +0 -1
@@ -62,6 +62,32 @@ type paths = {
62
62
  patch?: never;
63
63
  trace?: never;
64
64
  };
65
+ '/schedules/migrate': {
66
+ parameters: {
67
+ query?: never;
68
+ header?: never;
69
+ path?: never;
70
+ cookie?: never;
71
+ };
72
+ get?: never;
73
+ put?: never;
74
+ /**
75
+ * Activate Schedule With A Reused Token
76
+ * @description Activates a configuration of `keboola.scheduler` so that it becomes an active schedule, reusing the Storage token of an already activated schedule instead of creating a new one.
77
+ *
78
+ * Restricted to migrating a schedule from `keboola.orchestrator` to `keboola.flow`: the source schedule must target `keboola.orchestrator` and the activated configuration must target `keboola.flow`, otherwise the request is rejected with `400`. No Storage token is created, so the caller does not have to be allowed to create tokens - and because this endpoint accepts a role-less token where `POST /schedules` does not, the allowed component pair is deliberately narrow. The token is shared, not moved - the source schedule keeps running under it, and the token is dropped only once the last schedule using it is deleted.
79
+ *
80
+ * If there already is a schedule for the given `configurationId`, it is updated and `sourceConfigurationId` is ignored, so repeated calls stay idempotent.
81
+ *
82
+ * Unlike `POST /schedules`, this endpoint also accepts a role-less (machine-minted) project token, because it mints no token of its own. Everything else about the authorization is the same.
83
+ */
84
+ post: operations['migrateSchedule'];
85
+ delete?: never;
86
+ options?: never;
87
+ head?: never;
88
+ patch?: never;
89
+ trace?: never;
90
+ };
65
91
  '/schedules/{scheduleId}': {
66
92
  parameters: {
67
93
  query?: never;
@@ -160,6 +186,38 @@ type components = {
160
186
  timezone: string;
161
187
  /** @enum {string} */
162
188
  state: 'enabled' | 'disabled';
189
+ /**
190
+ * Format: date-time
191
+ * @description ISO-8601 timestamp of the next firing, evaluated in the schedule's timezone.
192
+ * Null when the schedule is not enabled or the expression can not be evaluated.
193
+ * Reflects the schedule's own state only: a schedule pointing at a disabled target
194
+ * configuration still reports its next fire time even though the run would be skipped.
195
+ * @example 2021-03-13T06:30:00+00:00
196
+ */
197
+ nextRunAt: string | null;
198
+ /**
199
+ * @description The next four firings, same semantics as nextRunAt (which is the first element).
200
+ * Empty when the schedule is not enabled or the expression can not be evaluated.
201
+ * @example [
202
+ * "2021-03-13T06:30:00+00:00",
203
+ * "2021-03-14T06:30:00+00:00",
204
+ * "2021-03-15T06:30:00+00:00",
205
+ * "2021-03-16T06:30:00+00:00"
206
+ * ]
207
+ */
208
+ nextRunsAt: string[];
209
+ /**
210
+ * @description Human-readable prose describing the cron expression, with the timezone appended.
211
+ * Falls back to the raw cron expression when it can not be parsed.
212
+ * @example Every 2 minutes (UTC)
213
+ */
214
+ humanCron: string;
215
+ /**
216
+ * @description Coarse grouping of the schedule cadence for display purposes.
217
+ * @example custom
218
+ * @enum {string}
219
+ */
220
+ periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
163
221
  };
164
222
  target: {
165
223
  /** @example keboola.ex-db-snowflake */
@@ -237,6 +295,53 @@ interface operations {
237
295
  };
238
296
  };
239
297
  };
298
+ migrateSchedule: {
299
+ parameters: {
300
+ query?: never;
301
+ header?: never;
302
+ path?: never;
303
+ cookie?: never;
304
+ };
305
+ requestBody?: {
306
+ content: {
307
+ 'application/json': {
308
+ /** @description Id of the `keboola.scheduler` configuration to activate. */
309
+ configurationId: string;
310
+ /** @description Id of the `keboola.scheduler` configuration whose schedule owns the Storage token the new schedule will run under. That configuration must already have a schedule in the same project as the caller's token - it is the schedule row that is looked up, so a configuration that was never activated is rejected - and that schedule must target `keboola.orchestrator`. Its state does not matter: a disabled schedule still owns a usable token. */
311
+ sourceConfigurationId: string;
312
+ };
313
+ };
314
+ };
315
+ responses: {
316
+ /** @description Schedule Activated */
317
+ 200: {
318
+ headers: {
319
+ [name: string]: unknown;
320
+ };
321
+ content: {
322
+ 'application/json': components['schemas']['Schedule'];
323
+ };
324
+ };
325
+ /** @description There is no schedule for the given `sourceConfigurationId` in this project, or the component pair is not `keboola.orchestrator` to `keboola.flow` */
326
+ 400: {
327
+ headers: {
328
+ [name: string]: unknown;
329
+ };
330
+ content: {
331
+ 'application/json': components['schemas']['Error'];
332
+ };
333
+ };
334
+ /** @description Error response */
335
+ default: {
336
+ headers: {
337
+ [name: string]: unknown;
338
+ };
339
+ content: {
340
+ 'application/json': components['schemas']['Error'];
341
+ };
342
+ };
343
+ };
344
+ };
240
345
  getSchedule: {
241
346
  parameters: {
242
347
  query?: never;
@@ -370,4 +475,4 @@ type SchedulePath = OpenapiPathType<paths['/schedules/{scheduleId}']['get']>;
370
475
  type ConfigurationPath = OpenapiPathType<paths['/configurations/{configurationId}']['delete']>;
371
476
  //#endregion
372
477
  export { SchedulePath as a, Schedule as i, ConfigurationPath as n, Schedules as o, GetSchedulesQuery as r, ActivateScheduleBody as t };
373
- //# sourceMappingURL=types-DE9hgr7i.d.cts.map
478
+ //# sourceMappingURL=types-CgBzm1YR.d.cts.map
@@ -1,8 +1,8 @@
1
- import { i as CreateMetaObjectInput } from "./types-B_iLJlp4.js";
2
- import { n as createMetastoreClient } from "./index-BDZvaRud.js";
1
+ import { i as CreateMetaObjectInput } from "./types-CwZgZqrA.js";
2
+ import { n as createMetastoreClient } from "./index-B72LTF-k.js";
3
3
  //#region src/sdks/semanticLayer/vocabulary.d.ts
4
4
  /**
5
- * The closed value sets the metastore accepts inside a semantic object's `data`.
5
+ * The closed value sets the metastore accepts on a semantic object.
6
6
  *
7
7
  * - The single runtime source for the unions `./types` derives from these arrays.
8
8
  * - Imports nothing: `./types` reads it, never the reverse.
@@ -22,6 +22,8 @@ declare const CONSTRAINT_SEVERITIES: readonly ['error', 'warning', 'info'];
22
22
  declare const CONSTRAINT_SCOPES: readonly ['global', 'per_location', 'per_date', 'per_category'];
23
23
  declare const RULE_OPERATORS: readonly ['<', '<=', '=', '>=', '>', '!=', 'between', 'in', 'sum_equals', 'ratio_between'];
24
24
  declare const RELATIONSHIP_JOIN_TYPES: readonly ['left', 'inner'];
25
+ /** Who can read an object, narrowest first; an envelope `meta` field, not part of `data`. */
26
+ declare const SEMANTIC_OBJECT_SCOPES: readonly ['project', 'targeted', 'organization'];
25
27
  //#endregion
26
28
  //#region src/sdks/semanticLayer/types.d.ts
27
29
  type MetastoreClient = ReturnType<typeof createMetastoreClient>;
@@ -133,16 +135,24 @@ type SemanticChildObjectDataMap = {
133
135
  };
134
136
  type SemanticChildObjectType = keyof SemanticChildObjectDataMap;
135
137
  type SemanticObjectType = SemanticChildObjectType | 'semantic-model';
138
+ type SemanticObjectScope = (typeof SEMANTIC_OBJECT_SCOPES)[number];
136
139
  type SemanticObjectMeta = {
137
140
  name?: string;
138
141
  branch?: string;
139
- projectId?: number;
142
+ projectId?: number | null;
140
143
  organizationId?: string;
141
144
  revision?: number;
142
145
  schemaVersion?: string;
143
146
  createdAt?: string;
144
147
  lastUpdated?: string;
145
148
  revisionCreatedAt?: string;
149
+ scope?: SemanticObjectScope;
150
+ sourceProjectId?: number;
151
+ /** The projects a `targeted` object is shared with, read-only. */
152
+ targetProjectIds?: number[];
153
+ /** Set while a `project`-scope object awaits an org-admin decision. Cleared by promoting
154
+ * (PATCH `{scope:"organization"}`) or withdrawing the request. */
155
+ scopeElevationRequestedAt?: string;
146
156
  };
147
157
  /**
148
158
  * Normalized metastore object as returned by this SDK. Matches the live metastore
@@ -171,6 +181,8 @@ type SemanticModelChildRef = {
171
181
  objectType: SemanticChildObjectType;
172
182
  objectUUID: string;
173
183
  name: string | undefined;
184
+ /** What sibling objects point at it by: a dataset's `tableId`, a metric's `name`; else absent. */
185
+ referenceKey?: string;
174
186
  };
175
187
  /**
176
188
  * An object a read could not parse, as far as the raw envelope can be trusted to say.
@@ -190,5 +202,5 @@ type SemanticModelChildDeleteFailure = SemanticModelChildRef & {
190
202
  error: unknown;
191
203
  };
192
204
  //#endregion
193
- export { CONSTRAINT_TYPES as A, SemanticRuleExpression as C, UpdateSemanticObjectMeta as D, SemanticValidationQuery as E, RELATIONSHIP_JOIN_TYPES as M, RULE_OPERATORS as N, CONSTRAINT_SCOPES as O, SQL_DIALECTS as P, SemanticRelationshipJoinType as S, SemanticUnreadableObjectRef as T, SemanticModelData as _, SemanticChildObjectType as a, SemanticObjectType as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelChildRef as g, SemanticModelChildDeleteFailure as h, SemanticChildObjectDataMap as i, FIELD_ROLES as j, CONSTRAINT_SEVERITIES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObject as v, SemanticRuleOperator as w, SemanticRelationshipData as x, SemanticObjectMeta as y };
194
- //# sourceMappingURL=types-FwRmjsNN.d.ts.map
205
+ export { CONSTRAINT_SEVERITIES as A, SemanticRelationshipJoinType as C, SemanticValidationQuery as D, SemanticUnreadableObjectRef as E, SEMANTIC_OBJECT_SCOPES as F, SQL_DIALECTS as I, FIELD_ROLES as M, RELATIONSHIP_JOIN_TYPES as N, UpdateSemanticObjectMeta as O, RULE_OPERATORS as P, SemanticRelationshipData as S, SemanticRuleOperator as T, SemanticModelData as _, SemanticChildObjectType as a, SemanticObjectScope as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelChildRef as g, SemanticModelChildDeleteFailure as h, SemanticChildObjectDataMap as i, CONSTRAINT_TYPES as j, CONSTRAINT_SCOPES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObject as v, SemanticRuleExpression as w, SemanticObjectType as x, SemanticObjectMeta as y };
206
+ //# sourceMappingURL=types-CigD_EF5.d.ts.map
@@ -1663,7 +1663,12 @@ type components = {
1663
1663
  };
1664
1664
  //#endregion
1665
1665
  //#region src/clients/metastore/repository/types.d.ts
1666
- type MetaObjectMeta = NonNullable<components['schemas']['handlers.JSONAPIMetaObjectResource']['meta']>;
1666
+ type MetaObjectScope = 'project' | 'organization' | 'targeted';
1667
+ type MetaObjectMeta = Omit<NonNullable<components['schemas']['handlers.JSONAPIMetaObjectResource']['meta']>, 'projectId' | 'scope'> & {
1668
+ targetProjectIds?: number[];
1669
+ projectId?: number | null;
1670
+ scope?: MetaObjectScope;
1671
+ };
1667
1672
  type MetaObject<TData extends Record<string, unknown>, TDataOptional extends boolean = false> = {
1668
1673
  uuid: string;
1669
1674
  meta: MetaObjectMeta;
@@ -1675,14 +1680,30 @@ type MetaObject<TData extends Record<string, unknown>, TDataOptional extends boo
1675
1680
  type GetMetaObjectsPath = OpenapiPathType<paths['/api/v1/repository/{objectType}']['get']>;
1676
1681
  type GetMetaObjectsSchemaQuery = OpenapiQueryType<paths['/api/v1/repository/{objectType}']['get']>;
1677
1682
  type GetMetaObjectsQuery = GetMetaObjectsSchemaQuery & Record<string, string | number | boolean>;
1683
+ /**
1684
+ * `GetMetaObjectsPath` plus the dynamic-filter `query` hybrid, plus the server-side filters this
1685
+ * list endpoint supports beyond what the generated query type expresses (`limit`/`offset` only —
1686
+ * swaggo can't declare a dynamic per-field query key in its annotations).
1687
+ */
1678
1688
  type GetMetaObjectsInput = GetMetaObjectsPath & {
1679
1689
  query?: GetMetaObjectsQuery;
1690
+ /** Every child object schema declares this `x-filterable: true` server-side. Passed as a real
1691
+ * query filter instead of fetching the whole type's list and filtering client-side. */
1692
+ modelUUID?: string;
1693
+ /** Filters to project-scope objects with a pending request. Backs "my pending requests" for
1694
+ * the requester, on the regular per-project list — the org-wide queue filters `/organization`. */
1695
+ pendingElevationOnly?: boolean;
1696
+ /** Opt-in: sorts `scope[order]=asc` (organization, targeted, project). Off by default —
1697
+ * `getMetaObjects` backs every object-type SDK, not just semantic-layer's. */
1698
+ sortByScope?: boolean;
1680
1699
  };
1681
1700
  type CreateMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}']['post']>;
1682
1701
  type CreateMetaObjectBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}']['post']>;
1683
1702
  type CreateMetaObjectReturn = OpenapiReturnType<paths['/api/v1/repository/{objectType}']['post']>;
1684
- type CreateMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = CreateMetaObjectPath & Omit<CreateMetaObjectBody, 'data'> & {
1703
+ type CreateMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = CreateMetaObjectPath & Omit<CreateMetaObjectBody, 'data' | 'scope'> & {
1685
1704
  data: TData;
1705
+ scope?: MetaObjectScope;
1706
+ dropSourceProject?: boolean;
1686
1707
  };
1687
1708
  type GetMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['get']>;
1688
1709
  type DeleteMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['delete']>;
@@ -1703,9 +1724,10 @@ type UpdateMetaObjectContentPatch<TData extends Record<string, unknown>> = {
1703
1724
  scope?: never;
1704
1725
  };
1705
1726
  type UpdateMetaObjectScopeStepUp = {
1706
- scope: NonNullable<UpdateMetaObjectBody['scope']>;
1727
+ scope: 'organization';
1707
1728
  data?: never;
1708
1729
  name?: never;
1730
+ dropSourceProject?: boolean;
1709
1731
  };
1710
1732
  /**
1711
1733
  * A PATCH is exactly one of two operations, and the metastore enforces the split server-side: a
@@ -1719,6 +1741,10 @@ type UpdateMetaObjectInput<TData extends Record<string, unknown> = Record<string
1719
1741
  type ReplaceTargetProjectsPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}/target-projects']['put']>;
1720
1742
  type ReplaceTargetProjectsBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}/{UUID}/target-projects']['put']>;
1721
1743
  type ReplaceTargetProjectsInput = ReplaceTargetProjectsPath & ReplaceTargetProjectsBody;
1744
+ type ScopeElevationRequestPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}/scope-elevation-request']['put']>;
1745
+ type GetOrganizationMetaObjectsPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/organization']['get']>;
1746
+ type GetOrganizationMetaObjectsSchemaQuery = OpenapiQueryType<paths['/api/v1/repository/{objectType}/organization']['get']>;
1747
+ type GetOrganizationMetaObjectsQuery = GetOrganizationMetaObjectsSchemaQuery & Record<string, string | number | boolean>;
1722
1748
  type ReplaceMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['put']>;
1723
1749
  type ReplaceMetaObjectBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}/{UUID}']['put']>;
1724
1750
  type ReplaceMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = ReplaceMetaObjectPath & Omit<ReplaceMetaObjectBody, 'data'> & {
@@ -1749,5 +1775,5 @@ type MetaStoreListResponse<TData extends Record<string, unknown>> = {
1749
1775
  type GetSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}']['get']>;
1750
1776
  type GetVersionedSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}/{version}']['get']>;
1751
1777
  //#endregion
1752
- export { UpdateMetaObjectBody as A, RawMetaObject as C, ReplaceTargetProjectsBody as D, ReplaceMetaObjectPath as E, UpdateMetaObjectPath as M, components as N, ReplaceTargetProjectsInput as O, paths as P, MetaStoreObjectResponse as S, ReplaceMetaObjectInput as T, GetMetaObjectsQuery as _, CreateMetaObjectPath as a, MetaObjectMeta as b, DeleteMetaObjectRevisionPath as c, GetMetaObjectRevisionsInput as d, GetMetaObjectRevisionsPath as f, GetMetaObjectsPath as g, GetMetaObjectsInput as h, CreateMetaObjectInput as i, UpdateMetaObjectInput as j, ReplaceTargetProjectsPath as k, GetMetaObjectPath as l, GetMetaObjectRevisionsSchemaQuery as m, GetVersionedSchemaPath as n, CreateMetaObjectReturn as o, GetMetaObjectRevisionsQuery as p, CreateMetaObjectBody as r, DeleteMetaObjectPath as s, GetSchemaPath as t, GetMetaObjectRevisionPath as u, GetMetaObjectsSchemaQuery as v, ReplaceMetaObjectBody as w, MetaStoreListResponse as x, MetaObject as y };
1753
- //# sourceMappingURL=types-B_iLJlp4.d.ts.map
1778
+ export { ReplaceMetaObjectPath as A, MetaObjectMeta as C, RawMetaObject as D, MetaStoreObjectResponse as E, UpdateMetaObjectBody as F, UpdateMetaObjectInput as I, UpdateMetaObjectPath as L, ReplaceTargetProjectsInput as M, ReplaceTargetProjectsPath as N, ReplaceMetaObjectBody as O, ScopeElevationRequestPath as P, components as R, MetaObject as S, MetaStoreListResponse as T, GetMetaObjectsQuery as _, CreateMetaObjectPath as a, GetOrganizationMetaObjectsQuery as b, DeleteMetaObjectRevisionPath as c, GetMetaObjectRevisionsInput as d, GetMetaObjectRevisionsPath as f, GetMetaObjectsPath as g, GetMetaObjectsInput as h, CreateMetaObjectInput as i, ReplaceTargetProjectsBody as j, ReplaceMetaObjectInput as k, GetMetaObjectPath as l, GetMetaObjectRevisionsSchemaQuery as m, GetVersionedSchemaPath as n, CreateMetaObjectReturn as o, GetMetaObjectRevisionsQuery as p, CreateMetaObjectBody as r, DeleteMetaObjectPath as s, GetSchemaPath as t, GetMetaObjectRevisionPath as u, GetMetaObjectsSchemaQuery as v, MetaObjectScope as w, GetOrganizationMetaObjectsSchemaQuery as x, GetOrganizationMetaObjectsPath as y, paths as z };
1779
+ //# sourceMappingURL=types-CwZgZqrA.d.ts.map
@@ -150,6 +150,9 @@ type components = {
150
150
  *
151
151
  * Attributes are part of the variable identity, so two variables with the same key but different attributes
152
152
  * are considered different.
153
+ *
154
+ * The attribute names `key` and `projectId` are reserved and are rejected with a 422 when creating a
155
+ * variable. Existing variables that already contain such attributes are still returned unchanged.
153
156
  * @default {}
154
157
  */
155
158
  attributes: {
@@ -383,4 +386,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
383
386
  type AnyVariable = VariableWithHash | CreateVariableBody;
384
387
  //#endregion
385
388
  export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
386
- //# sourceMappingURL=types-B61aCifg.d.cts.map
389
+ //# sourceMappingURL=types-D9axmt5o.d.cts.map
@@ -62,6 +62,32 @@ type paths = {
62
62
  patch?: never;
63
63
  trace?: never;
64
64
  };
65
+ '/schedules/migrate': {
66
+ parameters: {
67
+ query?: never;
68
+ header?: never;
69
+ path?: never;
70
+ cookie?: never;
71
+ };
72
+ get?: never;
73
+ put?: never;
74
+ /**
75
+ * Activate Schedule With A Reused Token
76
+ * @description Activates a configuration of `keboola.scheduler` so that it becomes an active schedule, reusing the Storage token of an already activated schedule instead of creating a new one.
77
+ *
78
+ * Restricted to migrating a schedule from `keboola.orchestrator` to `keboola.flow`: the source schedule must target `keboola.orchestrator` and the activated configuration must target `keboola.flow`, otherwise the request is rejected with `400`. No Storage token is created, so the caller does not have to be allowed to create tokens - and because this endpoint accepts a role-less token where `POST /schedules` does not, the allowed component pair is deliberately narrow. The token is shared, not moved - the source schedule keeps running under it, and the token is dropped only once the last schedule using it is deleted.
79
+ *
80
+ * If there already is a schedule for the given `configurationId`, it is updated and `sourceConfigurationId` is ignored, so repeated calls stay idempotent.
81
+ *
82
+ * Unlike `POST /schedules`, this endpoint also accepts a role-less (machine-minted) project token, because it mints no token of its own. Everything else about the authorization is the same.
83
+ */
84
+ post: operations['migrateSchedule'];
85
+ delete?: never;
86
+ options?: never;
87
+ head?: never;
88
+ patch?: never;
89
+ trace?: never;
90
+ };
65
91
  '/schedules/{scheduleId}': {
66
92
  parameters: {
67
93
  query?: never;
@@ -160,6 +186,38 @@ type components = {
160
186
  timezone: string;
161
187
  /** @enum {string} */
162
188
  state: 'enabled' | 'disabled';
189
+ /**
190
+ * Format: date-time
191
+ * @description ISO-8601 timestamp of the next firing, evaluated in the schedule's timezone.
192
+ * Null when the schedule is not enabled or the expression can not be evaluated.
193
+ * Reflects the schedule's own state only: a schedule pointing at a disabled target
194
+ * configuration still reports its next fire time even though the run would be skipped.
195
+ * @example 2021-03-13T06:30:00+00:00
196
+ */
197
+ nextRunAt: string | null;
198
+ /**
199
+ * @description The next four firings, same semantics as nextRunAt (which is the first element).
200
+ * Empty when the schedule is not enabled or the expression can not be evaluated.
201
+ * @example [
202
+ * "2021-03-13T06:30:00+00:00",
203
+ * "2021-03-14T06:30:00+00:00",
204
+ * "2021-03-15T06:30:00+00:00",
205
+ * "2021-03-16T06:30:00+00:00"
206
+ * ]
207
+ */
208
+ nextRunsAt: string[];
209
+ /**
210
+ * @description Human-readable prose describing the cron expression, with the timezone appended.
211
+ * Falls back to the raw cron expression when it can not be parsed.
212
+ * @example Every 2 minutes (UTC)
213
+ */
214
+ humanCron: string;
215
+ /**
216
+ * @description Coarse grouping of the schedule cadence for display purposes.
217
+ * @example custom
218
+ * @enum {string}
219
+ */
220
+ periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
163
221
  };
164
222
  target: {
165
223
  /** @example keboola.ex-db-snowflake */
@@ -237,6 +295,53 @@ interface operations {
237
295
  };
238
296
  };
239
297
  };
298
+ migrateSchedule: {
299
+ parameters: {
300
+ query?: never;
301
+ header?: never;
302
+ path?: never;
303
+ cookie?: never;
304
+ };
305
+ requestBody?: {
306
+ content: {
307
+ 'application/json': {
308
+ /** @description Id of the `keboola.scheduler` configuration to activate. */
309
+ configurationId: string;
310
+ /** @description Id of the `keboola.scheduler` configuration whose schedule owns the Storage token the new schedule will run under. That configuration must already have a schedule in the same project as the caller's token - it is the schedule row that is looked up, so a configuration that was never activated is rejected - and that schedule must target `keboola.orchestrator`. Its state does not matter: a disabled schedule still owns a usable token. */
311
+ sourceConfigurationId: string;
312
+ };
313
+ };
314
+ };
315
+ responses: {
316
+ /** @description Schedule Activated */
317
+ 200: {
318
+ headers: {
319
+ [name: string]: unknown;
320
+ };
321
+ content: {
322
+ 'application/json': components['schemas']['Schedule'];
323
+ };
324
+ };
325
+ /** @description There is no schedule for the given `sourceConfigurationId` in this project, or the component pair is not `keboola.orchestrator` to `keboola.flow` */
326
+ 400: {
327
+ headers: {
328
+ [name: string]: unknown;
329
+ };
330
+ content: {
331
+ 'application/json': components['schemas']['Error'];
332
+ };
333
+ };
334
+ /** @description Error response */
335
+ default: {
336
+ headers: {
337
+ [name: string]: unknown;
338
+ };
339
+ content: {
340
+ 'application/json': components['schemas']['Error'];
341
+ };
342
+ };
343
+ };
344
+ };
240
345
  getSchedule: {
241
346
  parameters: {
242
347
  query?: never;
@@ -370,4 +475,4 @@ type SchedulePath = OpenapiPathType<paths['/schedules/{scheduleId}']['get']>;
370
475
  type ConfigurationPath = OpenapiPathType<paths['/configurations/{configurationId}']['delete']>;
371
476
  //#endregion
372
477
  export { SchedulePath as a, Schedule as i, ConfigurationPath as n, Schedules as o, GetSchedulesQuery as r, ActivateScheduleBody as t };
373
- //# sourceMappingURL=types-CWyXTMwy.d.ts.map
478
+ //# sourceMappingURL=types-DaMmgW-O.d.ts.map