@keboola/api-client 45.0.0 → 47.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 (480) hide show
  1. package/AGENTS.md +86 -21
  2. package/API-SURFACE.md +49 -29
  3. package/CHANGELOG.md +69 -0
  4. package/README.md +47 -37
  5. package/dist/ManagementSessionMintError-4Pkn5Oob.js +36 -0
  6. package/dist/ManagementSessionMintError-4Pkn5Oob.js.map +1 -0
  7. package/dist/ManagementSessionMintError-Cu9beG7j.cjs +47 -0
  8. package/dist/ManagementSessionMintError-Cu9beG7j.cjs.map +1 -0
  9. package/dist/QueryJobError-ZZZ043Nm.js +22 -0
  10. package/dist/QueryJobError-ZZZ043Nm.js.map +1 -0
  11. package/dist/{QueryJobTimeoutError-CVNPdCWX.cjs → QueryJobError-irGiP5zh.cjs} +1 -29
  12. package/dist/QueryJobError-irGiP5zh.cjs.map +1 -0
  13. package/dist/QueueJobError-6qSEizWo.cjs +30 -0
  14. package/dist/QueueJobError-6qSEizWo.cjs.map +1 -0
  15. package/dist/QueueJobError-8bThS_Mc.js +19 -0
  16. package/dist/QueueJobError-8bThS_Mc.js.map +1 -0
  17. package/dist/adminRoles-B40yBcmq.js.map +1 -1
  18. package/dist/adminRoles-CO7J5qAy.cjs.map +1 -1
  19. package/dist/{adminRoles-C696kD_U.d.cts → adminRoles-CvdIUkiC.d.ts} +4 -2
  20. package/dist/{adminRoles-C696kD_U.d.ts → adminRoles-DGM8SuuF.d.cts} +4 -2
  21. package/dist/ai/index.cjs +2 -2
  22. package/dist/ai/index.d.cts +2 -2
  23. package/dist/ai/index.d.ts +2 -2
  24. package/dist/ai/index.js +2 -2
  25. package/dist/ai/types.d.cts +1 -1
  26. package/dist/ai/types.d.ts +1 -1
  27. package/dist/{appLogs-BG9ueGxA.cjs → appLogs-Cix2KWra.cjs} +2 -2
  28. package/dist/{appLogs-BG9ueGxA.cjs.map → appLogs-Cix2KWra.cjs.map} +1 -1
  29. package/dist/{appLogs-C9YlJ2g8.d.cts → appLogs-Cxhm2Rkn.d.cts} +2 -2
  30. package/dist/{appLogs-CEKz68bE.js → appLogs-KslK7qHr.js} +2 -2
  31. package/dist/{appLogs-CEKz68bE.js.map → appLogs-KslK7qHr.js.map} +1 -1
  32. package/dist/{appLogs-BS6ViVGR.d.ts → appLogs-xW0-JQXg.d.ts} +2 -2
  33. package/dist/apps/index.cjs +3 -3
  34. package/dist/apps/index.d.cts +3 -3
  35. package/dist/apps/index.d.ts +3 -3
  36. package/dist/apps/index.js +3 -3
  37. package/dist/apps/types.d.cts +2 -2
  38. package/dist/apps/types.d.ts +2 -2
  39. package/dist/assets/index.cjs +1 -1
  40. package/dist/assets/index.d.cts +1 -1
  41. package/dist/assets/index.d.ts +1 -1
  42. package/dist/assets/index.js +1 -1
  43. package/dist/auth/index.cjs +1 -1
  44. package/dist/auth/index.d.cts +1 -1
  45. package/dist/auth/index.d.ts +1 -1
  46. package/dist/auth/index.js +1 -1
  47. package/dist/auth/types.d.cts +2 -2
  48. package/dist/auth/types.d.ts +2 -2
  49. package/dist/{auth-C6cHWIWx.js → auth-4coY1uwo.js} +2 -2
  50. package/dist/{auth-C6cHWIWx.js.map → auth-4coY1uwo.js.map} +1 -1
  51. package/dist/{auth-C9o_0bft.cjs → auth-C8Pjl0Mu.cjs} +2 -2
  52. package/dist/{auth-C9o_0bft.cjs.map → auth-C8Pjl0Mu.cjs.map} +1 -1
  53. package/dist/{authClient-CACOwVt0.js → authClient-2e8ZmzSP.js} +71 -7
  54. package/dist/authClient-2e8ZmzSP.js.map +1 -0
  55. package/dist/{authClient-CBVAT3v9.d.cts → authClient-Bso5UaXS.d.ts} +45 -33
  56. package/dist/{authClient-DZcAR-eW.cjs → authClient-DfkKlc-2.cjs} +82 -6
  57. package/dist/authClient-DfkKlc-2.cjs.map +1 -0
  58. package/dist/{authClient-CRumc934.d.ts → authClient-aud2dUZd.d.cts} +45 -33
  59. package/dist/billing/index.cjs +2 -2
  60. package/dist/billing/index.d.cts +1 -1
  61. package/dist/billing/index.d.ts +1 -1
  62. package/dist/billing/index.js +2 -2
  63. package/dist/billing/types.d.cts +1 -1
  64. package/dist/billing/types.d.ts +1 -1
  65. package/dist/chat/index.cjs +3 -3
  66. package/dist/chat/index.d.cts +2 -2
  67. package/dist/chat/index.d.ts +2 -2
  68. package/dist/chat/index.js +3 -3
  69. package/dist/chat/types.d.cts +1 -1
  70. package/dist/chat/types.d.ts +1 -1
  71. package/dist/{collect-97WhfEpt.js → collectByOffset-2XzJqmvr.js} +6 -6
  72. package/dist/collectByOffset-2XzJqmvr.js.map +1 -0
  73. package/dist/{collect-B5TCNiT1.cjs → collectByOffset-DQsqtmJg.cjs} +7 -7
  74. package/dist/collectByOffset-DQsqtmJg.cjs.map +1 -0
  75. package/dist/componentsMcp/index.cjs +3 -0
  76. package/dist/componentsMcp/index.d.cts +2 -0
  77. package/dist/componentsMcp/index.d.ts +2 -0
  78. package/dist/componentsMcp/index.js +2 -0
  79. package/dist/componentsMcp/types.cjs +0 -0
  80. package/dist/componentsMcp/types.d.cts +2 -0
  81. package/dist/componentsMcp/types.d.ts +2 -0
  82. package/dist/componentsMcp/types.js +1 -0
  83. package/dist/componentsMcp-CHobIsuU.js +57 -0
  84. package/dist/componentsMcp-CHobIsuU.js.map +1 -0
  85. package/dist/componentsMcp-pG-PcQrg.cjs +62 -0
  86. package/dist/componentsMcp-pG-PcQrg.cjs.map +1 -0
  87. package/dist/configurations-BTRHVSRq.cjs.map +1 -1
  88. package/dist/configurations-Chg_JwJ1.js.map +1 -1
  89. package/dist/constants/index.cjs +1 -1
  90. package/dist/constants/index.d.cts +2 -3
  91. package/dist/constants/index.d.ts +2 -3
  92. package/dist/constants/index.js +1 -1
  93. package/dist/{constants-Cifrqsls.js → constants-CA4UN2Xv.js} +11 -10
  94. package/dist/constants-CA4UN2Xv.js.map +1 -0
  95. package/dist/{constants-BDGRQqij.cjs → constants-a0jswUeK.cjs} +10 -9
  96. package/dist/constants-a0jswUeK.cjs.map +1 -0
  97. package/dist/{createFetchClient-DITkTV2k.js → createFetchClient-CkHdS_IG.js} +5 -5
  98. package/dist/createFetchClient-CkHdS_IG.js.map +1 -0
  99. package/dist/{createFetchClient-ClWD4ua3.cjs → createFetchClient-lZ_93Yrb.cjs} +5 -5
  100. package/dist/createFetchClient-lZ_93Yrb.cjs.map +1 -0
  101. package/dist/{createGenericFetchClient-KqiJhw8G.js → createGenericFetchClient-CQdNcPC3.js} +2 -2
  102. package/dist/{createGenericFetchClient-KqiJhw8G.js.map → createGenericFetchClient-CQdNcPC3.js.map} +1 -1
  103. package/dist/{createGenericFetchClient-B81Iezpb.cjs → createGenericFetchClient-MOx97wi-.cjs} +2 -2
  104. package/dist/{createGenericFetchClient-B81Iezpb.cjs.map → createGenericFetchClient-MOx97wi-.cjs.map} +1 -1
  105. package/dist/{createOpenapiFetchClient-CioTX11-.cjs → createOpenapiFetchClient-DHYo_k3t.cjs} +2 -2
  106. package/dist/{createOpenapiFetchClient-CioTX11-.cjs.map → createOpenapiFetchClient-DHYo_k3t.cjs.map} +1 -1
  107. package/dist/{createOpenapiFetchClient-wq8iGLZM.js → createOpenapiFetchClient-DXiMv9WL.js} +2 -2
  108. package/dist/{createOpenapiFetchClient-wq8iGLZM.js.map → createOpenapiFetchClient-DXiMv9WL.js.map} +1 -1
  109. package/dist/dataScience/index.cjs +2 -2
  110. package/dist/dataScience/index.d.cts +2 -2
  111. package/dist/dataScience/index.d.ts +2 -2
  112. package/dist/dataScience/index.js +2 -2
  113. package/dist/dataScience/types.d.cts +2 -2
  114. package/dist/dataScience/types.d.ts +2 -2
  115. package/dist/{dataScience-BwHmDoQb.js → dataScience-AwPMeGfz.js} +5 -5
  116. package/dist/{dataScience-BwHmDoQb.js.map → dataScience-AwPMeGfz.js.map} +1 -1
  117. package/dist/{dataScience-Hhoqoql_.cjs → dataScience-BjS1p8WO.cjs} +5 -5
  118. package/dist/{dataScience-Hhoqoql_.cjs.map → dataScience-BjS1p8WO.cjs.map} +1 -1
  119. package/dist/developerPortal/index.cjs +1 -1
  120. package/dist/developerPortal/index.d.cts +2 -2
  121. package/dist/developerPortal/index.d.ts +2 -2
  122. package/dist/developerPortal/index.js +1 -1
  123. package/dist/developerPortal/types.d.cts +1 -1
  124. package/dist/developerPortal/types.d.ts +1 -1
  125. package/dist/{developerPortalClient-loKq7X_U.js → developerPortalClient-Bb2suezr.js} +13 -5
  126. package/dist/{developerPortalClient-loKq7X_U.js.map → developerPortalClient-Bb2suezr.js.map} +1 -1
  127. package/dist/{developerPortalClient-COm7wJxS.cjs → developerPortalClient-DUerKw-7.cjs} +13 -5
  128. package/dist/{developerPortalClient-COm7wJxS.cjs.map → developerPortalClient-DUerKw-7.cjs.map} +1 -1
  129. package/dist/domain/permissions/index.cjs +1 -1
  130. package/dist/domain/permissions/index.d.cts +1 -2
  131. package/dist/domain/permissions/index.d.ts +1 -2
  132. package/dist/domain/permissions/index.js +1 -1
  133. package/dist/editor/index.cjs +2 -2
  134. package/dist/editor/index.d.cts +2 -2
  135. package/dist/editor/index.d.ts +2 -2
  136. package/dist/editor/index.js +2 -2
  137. package/dist/editor/types.d.cts +1 -1
  138. package/dist/editor/types.d.ts +1 -1
  139. package/dist/encryption/index.cjs +1 -1
  140. package/dist/encryption/index.d.cts +1 -1
  141. package/dist/encryption/index.d.ts +1 -1
  142. package/dist/encryption/index.js +1 -1
  143. package/dist/encryption/types.d.cts +1 -1
  144. package/dist/encryption/types.d.ts +1 -1
  145. package/dist/import/index.cjs +1 -1
  146. package/dist/import/index.d.cts +3 -3
  147. package/dist/import/index.d.ts +3 -3
  148. package/dist/import/index.js +1 -1
  149. package/dist/{import-B5DcJGMI.cjs → import-BahNYv91.cjs} +3 -3
  150. package/dist/{import-B5DcJGMI.cjs.map → import-BahNYv91.cjs.map} +1 -1
  151. package/dist/{import-JlH_QaDd.js → import-FWy_wQZ1.js} +3 -3
  152. package/dist/{import-JlH_QaDd.js.map → import-FWy_wQZ1.js.map} +1 -1
  153. package/dist/{index-DeQDdut6.d.ts → index-8ZjY7YD8.d.cts} +34 -2
  154. package/dist/{index-CA6QxbhZ.d.ts → index-BGEuaZqI.d.cts} +238 -252
  155. package/dist/{index-R-w0Zncz.d.ts → index-BIP0PoMW.d.ts} +4 -4
  156. package/dist/index-B_MzjCeE.d.ts +46 -0
  157. package/dist/{index-CGCXR_6Q.d.ts → index-BeOd45XE.d.ts} +4 -4
  158. package/dist/{index-DeQDdut6.d.cts → index-BnPmXDVP.d.ts} +34 -2
  159. package/dist/{index-Cvkrjh--.d.cts → index-C2OAOK0s.d.ts} +30 -4
  160. package/dist/{index-Bl2EloC0.d.ts → index-CAWy1qjR.d.ts} +22482 -17133
  161. package/dist/{index-CGFGd3tF.d.cts → index-CkwZ5x7E.d.cts} +22482 -17133
  162. package/dist/{index-D9UsQOuT.d.cts → index-DTysQ_yn.d.cts} +5 -5
  163. package/dist/{index-CX8GAP2g.d.ts → index-DUB0BwQv.d.cts} +30 -4
  164. package/dist/{index-zyxZVJnd.d.ts → index-DloFSSj3.d.ts} +3 -3
  165. package/dist/{index-DtuwWYDR.d.ts → index-Dp-a2DdI.d.ts} +4 -4
  166. package/dist/{index-BHWTa4YN.d.cts → index-Ds0tViQS.d.cts} +3 -3
  167. package/dist/{index-BCgmwncs.d.ts → index-HSkjm3QW.d.ts} +5 -5
  168. package/dist/index-URgNfi5L.d.cts +46 -0
  169. package/dist/{index-04pgr-EO.d.cts → index-XG5cO-4H.d.cts} +4 -4
  170. package/dist/{types-BhEx9iRx.d.ts → index-XaPb6unB.d.cts} +4813 -1757
  171. package/dist/{index-DINB7vsV.d.cts → index-ZYvgoqgW.d.cts} +4 -4
  172. package/dist/{index-DkvrbR2i.d.cts → index-_Va9wynk.d.ts} +238 -252
  173. package/dist/{types-sV9OaqTI.d.cts → index-r6YSe8B-.d.ts} +4813 -1757
  174. package/dist/{index-BKOFRmTB.d.cts → index-x_kS_5x_.d.cts} +4 -4
  175. package/dist/index.cjs +171 -163
  176. package/dist/index.cjs.map +1 -1
  177. package/dist/index.d.cts +7 -7
  178. package/dist/index.d.ts +7 -7
  179. package/dist/index.js +100 -97
  180. package/dist/index.js.map +1 -1
  181. package/dist/{isLoginPageRedirect-CsyRa3_v.js → isLoginPageRedirect-B4QKSiSa.js} +2 -2
  182. package/dist/{isLoginPageRedirect-CsyRa3_v.js.map → isLoginPageRedirect-B4QKSiSa.js.map} +1 -1
  183. package/dist/{isLoginPageRedirect-iNbwl3iz.cjs → isLoginPageRedirect-r0Opgc1n.cjs} +2 -2
  184. package/dist/{isLoginPageRedirect-iNbwl3iz.cjs.map → isLoginPageRedirect-r0Opgc1n.cjs.map} +1 -1
  185. package/dist/kaiAgent/index.cjs +1 -1
  186. package/dist/kaiAgent/index.d.cts +2 -2
  187. package/dist/kaiAgent/index.d.ts +2 -2
  188. package/dist/kaiAgent/index.js +1 -1
  189. package/dist/kaiAgent/types.d.cts +1 -1
  190. package/dist/kaiAgent/types.d.ts +1 -1
  191. package/dist/{kaiAgent-BhcUsBDk.cjs → kaiAgent-BmfUG8bB.cjs} +5 -5
  192. package/dist/{kaiAgent-BhcUsBDk.cjs.map → kaiAgent-BmfUG8bB.cjs.map} +1 -1
  193. package/dist/{kaiAgent-CUeT53-K.js → kaiAgent-CBPbMwBh.js} +5 -5
  194. package/dist/{kaiAgent-CUeT53-K.js.map → kaiAgent-CBPbMwBh.js.map} +1 -1
  195. package/dist/{kaiMemory-DaOh0zVn.js → kaiMemory-C9di17bd.js} +2 -2
  196. package/dist/{kaiMemory-DaOh0zVn.js.map → kaiMemory-C9di17bd.js.map} +1 -1
  197. package/dist/{kaiMemory-Cf81ghNd.cjs → kaiMemory-Qch09f-m.cjs} +2 -2
  198. package/dist/{kaiMemory-Cf81ghNd.cjs.map → kaiMemory-Qch09f-m.cjs.map} +1 -1
  199. package/dist/management/index.cjs +2 -1
  200. package/dist/management/index.d.cts +2 -2
  201. package/dist/management/index.d.ts +2 -2
  202. package/dist/management/index.js +2 -2
  203. package/dist/management/types.d.cts +2 -2
  204. package/dist/management/types.d.ts +2 -2
  205. package/dist/{management-C5lf9nsU.cjs → management-BUGPJ1Bu.cjs} +46 -10
  206. package/dist/management-BUGPJ1Bu.cjs.map +1 -0
  207. package/dist/{management-WAtKH6Tu.js → management-DAg2obYt.js} +39 -9
  208. package/dist/management-DAg2obYt.js.map +1 -0
  209. package/dist/metastore/index.cjs +1 -1
  210. package/dist/metastore/index.d.cts +1 -1
  211. package/dist/metastore/index.d.ts +1 -1
  212. package/dist/metastore/index.js +1 -1
  213. package/dist/metastore/types.d.cts +1 -1
  214. package/dist/metastore/types.d.ts +1 -1
  215. package/dist/{metastore-YPHUK3jJ.cjs → metastore-BXHg33ku.cjs} +4 -4
  216. package/dist/{metastore-YPHUK3jJ.cjs.map → metastore-BXHg33ku.cjs.map} +1 -1
  217. package/dist/{metastore-D0C6uaPX.js → metastore-Ywq08DBz.js} +4 -4
  218. package/dist/{metastore-D0C6uaPX.js.map → metastore-Ywq08DBz.js.map} +1 -1
  219. package/dist/microsoftGraph/index.cjs +2 -2
  220. package/dist/microsoftGraph/index.d.cts +3 -3
  221. package/dist/microsoftGraph/index.d.ts +3 -3
  222. package/dist/microsoftGraph/index.js +2 -2
  223. package/dist/microsoftGraph/types.d.cts +2 -2
  224. package/dist/microsoftGraph/types.d.ts +2 -2
  225. package/dist/{middleware-DmR6OhTY.js → middleware-CWaLMlG1.js} +2 -2
  226. package/dist/{middleware-DmR6OhTY.js.map → middleware-CWaLMlG1.js.map} +1 -1
  227. package/dist/{middleware-D_p5TctO.cjs → middleware-DU_5pFDW.cjs} +2 -2
  228. package/dist/{middleware-D_p5TctO.cjs.map → middleware-DU_5pFDW.cjs.map} +1 -1
  229. package/dist/notifications/index.cjs +3 -3
  230. package/dist/notifications/index.d.cts +2 -2
  231. package/dist/notifications/index.d.ts +2 -2
  232. package/dist/notifications/index.js +3 -3
  233. package/dist/notifications/types.d.cts +1 -1
  234. package/dist/notifications/types.d.ts +1 -1
  235. package/dist/oauth/index.cjs +1 -1
  236. package/dist/oauth/index.d.cts +6 -2
  237. package/dist/oauth/index.d.ts +6 -2
  238. package/dist/oauth/index.js +1 -1
  239. package/dist/oauth/types.d.cts +2 -2
  240. package/dist/oauth/types.d.ts +2 -2
  241. package/dist/{oauth-DyUwTqHJ.cjs → oauth-DKZPuUlt.cjs} +17 -6
  242. package/dist/{oauth-DyUwTqHJ.cjs.map → oauth-DKZPuUlt.cjs.map} +1 -1
  243. package/dist/{oauth-Ck_Fe14o.js → oauth-GXmZ9agP.js} +17 -6
  244. package/dist/{oauth-Ck_Fe14o.js.map → oauth-GXmZ9agP.js.map} +1 -1
  245. package/dist/omnisearch/index.cjs +2 -2
  246. package/dist/omnisearch/index.d.cts +2 -2
  247. package/dist/omnisearch/index.d.ts +2 -2
  248. package/dist/omnisearch/index.js +2 -2
  249. package/dist/omnisearch/types.d.cts +1 -1
  250. package/dist/omnisearch/types.d.ts +1 -1
  251. package/dist/project-BMmfPhXg.d.ts +74 -0
  252. package/dist/{project-DWwZv66D.js → project-BXLFrWJ6.js} +7 -1
  253. package/dist/project-BXLFrWJ6.js.map +1 -0
  254. package/dist/{project-BvFi19K_.cjs → project-CpgplgCr.cjs} +7 -1
  255. package/dist/project-CpgplgCr.cjs.map +1 -0
  256. package/dist/project-dxCJbFay.d.cts +74 -0
  257. package/dist/queryService/index.cjs +1 -1
  258. package/dist/queryService/index.d.cts +1 -1
  259. package/dist/queryService/index.d.ts +1 -1
  260. package/dist/queryService/index.js +1 -1
  261. package/dist/queryService/types.d.cts +2 -2
  262. package/dist/queryService/types.d.ts +2 -2
  263. package/dist/{queryService-Blfz59Ms.js → queryService-C-pZha5p.js} +36 -27
  264. package/dist/queryService-C-pZha5p.js.map +1 -0
  265. package/dist/{queryService-RlNYw7LG.cjs → queryService-CzK53q94.cjs} +36 -27
  266. package/dist/queryService-CzK53q94.cjs.map +1 -0
  267. package/dist/queue/index.cjs +1 -1
  268. package/dist/queue/index.d.cts +75 -7
  269. package/dist/queue/index.d.ts +75 -7
  270. package/dist/queue/index.js +1 -1
  271. package/dist/queue/types.d.cts +1 -1
  272. package/dist/queue/types.d.ts +1 -1
  273. package/dist/{queue-BrgRdtOr.cjs → queue-BJvDWriM.cjs} +35 -25
  274. package/dist/queue-BJvDWriM.cjs.map +1 -0
  275. package/dist/{queue-CNvR-M23.js → queue-D6-x4OGF.js} +35 -25
  276. package/dist/queue-D6-x4OGF.js.map +1 -0
  277. package/dist/scheduler/index.cjs +3 -3
  278. package/dist/scheduler/index.d.cts +2 -2
  279. package/dist/scheduler/index.d.ts +2 -2
  280. package/dist/scheduler/index.js +3 -3
  281. package/dist/scheduler/types.d.cts +1 -1
  282. package/dist/scheduler/types.d.ts +1 -1
  283. package/dist/{schema-DJa9WBjR.d.cts → schema-BUyMwQnM.d.cts} +7 -1
  284. package/dist/{schema-DJa9WBjR.d.ts → schema-BUyMwQnM.d.ts} +7 -1
  285. package/dist/sdk/configurations/index.d.cts +2 -4
  286. package/dist/sdk/configurations/index.d.ts +2 -4
  287. package/dist/sdk/developerPortal/index.cjs +3 -3
  288. package/dist/sdk/developerPortal/index.d.cts +29 -3
  289. package/dist/sdk/developerPortal/index.d.ts +29 -3
  290. package/dist/sdk/developerPortal/index.js +3 -3
  291. package/dist/sdk/kaiMemory/index.cjs +1 -1
  292. package/dist/sdk/kaiMemory/index.d.cts +1 -1
  293. package/dist/sdk/kaiMemory/index.d.ts +1 -1
  294. package/dist/sdk/kaiMemory/index.js +1 -1
  295. package/dist/sdk/kaiMemory/types.d.cts +1 -1
  296. package/dist/sdk/kaiMemory/types.d.ts +1 -1
  297. package/dist/sdk/queryService/index.cjs +34 -55
  298. package/dist/sdk/queryService/index.cjs.map +1 -1
  299. package/dist/sdk/queryService/index.d.cts +2 -2
  300. package/dist/sdk/queryService/index.d.ts +2 -2
  301. package/dist/sdk/queryService/index.js +34 -55
  302. package/dist/sdk/queryService/index.js.map +1 -1
  303. package/dist/sdk/semanticLayer/index.d.cts +1 -1
  304. package/dist/sdk/semanticLayer/index.d.ts +1 -1
  305. package/dist/sdk/semanticLayer/types.d.cts +1 -1
  306. package/dist/sdk/semanticLayer/types.d.ts +1 -1
  307. package/dist/sdk/storage/index.cjs +0 -119
  308. package/dist/sdk/storage/index.cjs.map +1 -1
  309. package/dist/sdk/storage/index.d.cts +103 -2
  310. package/dist/sdk/storage/index.d.ts +103 -2
  311. package/dist/sdk/storage/index.js +1 -119
  312. package/dist/sdk/storage/index.js.map +1 -1
  313. package/dist/sdk/tag/index.d.cts +2 -2
  314. package/dist/sdk/tag/index.d.ts +2 -2
  315. package/dist/sdk/tag/types.d.cts +1 -1
  316. package/dist/sdk/tag/types.d.ts +1 -1
  317. package/dist/sdk/vault/index.d.cts +1 -1
  318. package/dist/sdk/vault/index.d.ts +1 -1
  319. package/dist/status/index.cjs +1 -1
  320. package/dist/status/index.d.cts +1 -1
  321. package/dist/status/index.d.ts +1 -1
  322. package/dist/status/index.js +1 -1
  323. package/dist/storage/index.cjs +15 -10
  324. package/dist/storage/index.d.cts +3 -3
  325. package/dist/storage/index.d.ts +3 -3
  326. package/dist/storage/index.js +7 -6
  327. package/dist/storage/types.d.cts +6 -5
  328. package/dist/storage/types.d.ts +6 -5
  329. package/dist/{storage-RkNaOFJ-.js → storage-DyR7hDdv.js} +347 -168
  330. package/dist/storage-DyR7hDdv.js.map +1 -0
  331. package/dist/{storage-76Sf_z_H.cjs → storage-yovv11k6.cjs} +366 -169
  332. package/dist/storage-yovv11k6.cjs.map +1 -0
  333. package/dist/stream/index.cjs +3 -3
  334. package/dist/stream/index.d.cts +2 -2
  335. package/dist/stream/index.d.ts +2 -2
  336. package/dist/stream/index.js +3 -3
  337. package/dist/stream/types.d.cts +1 -1
  338. package/dist/stream/types.d.ts +1 -1
  339. package/dist/syncActions/index.cjs +1 -1
  340. package/dist/syncActions/index.d.cts +2 -2
  341. package/dist/syncActions/index.d.ts +2 -2
  342. package/dist/syncActions/index.js +1 -1
  343. package/dist/syncActions/types.d.cts +1 -1
  344. package/dist/syncActions/types.d.ts +1 -1
  345. package/dist/{syncActions-DlNPhZY4.cjs → syncActions-C1rE4R3f.cjs} +5 -5
  346. package/dist/{syncActions-DlNPhZY4.cjs.map → syncActions-C1rE4R3f.cjs.map} +1 -1
  347. package/dist/{syncActions-BvFUa9xV.js → syncActions-DM8vP7p3.js} +5 -5
  348. package/dist/{syncActions-BvFUa9xV.js.map → syncActions-DM8vP7p3.js.map} +1 -1
  349. package/dist/telemetry/index.cjs +3 -6
  350. package/dist/telemetry/index.cjs.map +1 -1
  351. package/dist/telemetry/index.d.cts +2 -5
  352. package/dist/telemetry/index.d.ts +2 -5
  353. package/dist/telemetry/index.js +3 -6
  354. package/dist/telemetry/index.js.map +1 -1
  355. package/dist/telemetry/types.d.cts +1 -1
  356. package/dist/telemetry/types.d.ts +1 -1
  357. package/dist/{jobStatus-BJdbZ72V.js → transientRetries-B4iusp69.js} +79 -37
  358. package/dist/transientRetries-B4iusp69.js.map +1 -0
  359. package/dist/{jobStatus-B0E-MZ9I.cjs → transientRetries-DdJfH9QK.cjs} +82 -40
  360. package/dist/transientRetries-DdJfH9QK.cjs.map +1 -0
  361. package/dist/{types-tgU8XvPs.d.cts → types--qQPfxWt.d.cts} +2 -2
  362. package/dist/types-4CjbcUdD.d.cts +1536 -0
  363. package/dist/{types-DaMmgW-O.d.ts → types-4HmtNuJf.d.ts} +2 -2
  364. package/dist/types-4bSZLxq3.d.cts +1973 -0
  365. package/dist/{types-BaSlU0uo.d.ts → types-7DBpH7Rf.d.ts} +2 -2
  366. package/dist/types-B2ZLjagf.d.ts +1536 -0
  367. package/dist/{types-DgPt4LY_.d.cts → types-B6ozaDkl.d.cts} +192 -78
  368. package/dist/{types-YHUEArkR.d.cts → types-BBbzWczQ.d.cts} +2 -2
  369. package/dist/{types-CgBzm1YR.d.cts → types-BG0oWq8u.d.cts} +2 -2
  370. package/dist/types-BIDKSQdc.d.ts +1973 -0
  371. package/dist/{types-ByLH46Dt.d.cts → types-BKIcow3B.d.cts} +2 -2
  372. package/dist/{types-CfwqVkEA.d.ts → types-BNPvFLgC.d.ts} +2 -2
  373. package/dist/{types-DlQw6FCi.d.ts → types-BXgINefw.d.ts} +2 -2
  374. package/dist/{types-CalDJHCX.d.cts → types-BZBU3mwz.d.cts} +3 -3
  375. package/dist/{types-Bydx6ga_.d.cts → types-B_1plf0y.d.cts} +2 -2
  376. package/dist/{types-Ccd9O6ca.d.cts → types-B_3zoXA1.d.cts} +3 -3
  377. package/dist/{types-BBUZ9EHs.d.ts → types-BcQ3j8xK.d.ts} +8 -2
  378. package/dist/{types-B8N_k79M.d.cts → types-BdF6NDvo.d.cts} +2 -2
  379. package/dist/{types-CABWhTa9.d.ts → types-BiBBKcin.d.ts} +3 -3
  380. package/dist/{types-DVt0qlzI.d.cts → types-BiTn_JVW.d.cts} +736 -289
  381. package/dist/{types-CN6huo55.d.ts → types-BjEiUOL6.d.ts} +192 -78
  382. package/dist/{types-z82gSTx8.d.ts → types-BoH7NFCh.d.ts} +3 -3
  383. package/dist/{types-CcYxlqtB.d.cts → types-BwsE-pFo.d.cts} +2 -2
  384. package/dist/{types-DrvKfXXd.d.cts → types-Bx0TSdwF.d.cts} +2 -2
  385. package/dist/{types-DazRtukc.d.ts → types-C2JMisvL.d.ts} +736 -289
  386. package/dist/{types-DVZpKGBJ.d.ts → types-C2j6Jsie.d.ts} +3 -3
  387. package/dist/{types-BZDV8DZk.d.ts → types-C3IQu1gV.d.ts} +11 -6
  388. package/dist/{types-WZBztugL.d.ts → types-C7t_6FLh.d.ts} +2 -2
  389. package/dist/{types-Fs4a3mVs.d.ts → types-CBrNIgEy.d.ts} +64 -5
  390. package/dist/{types-CZJlLCbA.d.ts → types-CEw2IzWk.d.ts} +2 -2
  391. package/dist/{types-DdsYv2WG.d.cts → types-CMKIdreQ.d.cts} +3 -3
  392. package/dist/{types-AYX7VtS6.d.ts → types-COQOzyac.d.ts} +212 -2
  393. package/dist/{types-BiEh5c_t.d.cts → types-CZCPdPqv.d.cts} +132 -5
  394. package/dist/{types-B2w2TtSA.d.ts → types-Cw9UISvM.d.ts} +2 -2
  395. package/dist/{types-D9axmt5o.d.cts → types-D51g4h9w.d.cts} +8 -2
  396. package/dist/{types-CBPKpLTf.d.cts → types-D8w9lyb8.d.cts} +212 -2
  397. package/dist/{types-Dd31Lw4S.d.cts → types-DBJ8c3hN.d.cts} +2 -2
  398. package/dist/{types-DzV6LaZq.d.ts → types-DHlXKVEM.d.ts} +132 -5
  399. package/dist/{types-c_bsDkV6.d.cts → types-DPDq8C4q.d.cts} +16 -4
  400. package/dist/{types-D3wcs4tp.d.ts → types-DWJVbskE.d.ts} +2 -2
  401. package/dist/{types-CAp1VexS.d.ts → types-Dg8a7m7f.d.ts} +16 -4
  402. package/dist/{types-CoJVrRAD.d.ts → types-DgIzXY-Y.d.ts} +2 -2
  403. package/dist/{types-pvQzbgNE.d.cts → types-L50Y6ATu.d.cts} +11 -6
  404. package/dist/{types-DoZtE9tz.d.cts → types-OkQWmonU.d.cts} +2 -2
  405. package/dist/{types-BPy5Ozee.d.cts → types-TRJiPqJr.d.cts} +2 -2
  406. package/dist/{types-B-5ya_L5.d.ts → types-ij6BpTzR.d.ts} +2 -2
  407. package/dist/{types-DicSaNwq.d.ts → types-ituiCs8g.d.ts} +2 -2
  408. package/dist/{types-CGm2fQKK.d.cts → types-kbyIaA7p.d.cts} +64 -5
  409. package/dist/{validateConnectionStatus-DR-0h35y.cjs → validateConnectionStatus-BalWEyRk.cjs} +3 -3
  410. package/dist/{validateConnectionStatus-DR-0h35y.cjs.map → validateConnectionStatus-BalWEyRk.cjs.map} +1 -1
  411. package/dist/{validateConnectionStatus-CdTV3gsP.js → validateConnectionStatus-DyrYpn0G.js} +3 -3
  412. package/dist/{validateConnectionStatus-CdTV3gsP.js.map → validateConnectionStatus-DyrYpn0G.js.map} +1 -1
  413. package/dist/vault/index.cjs +6 -6
  414. package/dist/vault/index.cjs.map +1 -1
  415. package/dist/vault/index.d.cts +1 -1
  416. package/dist/vault/index.d.ts +1 -1
  417. package/dist/vault/index.js +6 -6
  418. package/dist/vault/index.js.map +1 -1
  419. package/dist/vault/types.d.cts +1 -1
  420. package/dist/vault/types.d.ts +1 -1
  421. package/package.json +27 -1
  422. package/surface/apps.md +5 -5
  423. package/surface/auth.md +21 -19
  424. package/surface/chat.md +2 -2
  425. package/surface/componentsMcp.md +9 -0
  426. package/surface/dataScience.md +2 -2
  427. package/surface/kaiAgent.md +2 -2
  428. package/surface/management.md +43 -41
  429. package/surface/oauth.md +1 -0
  430. package/surface/queryService.md +4 -4
  431. package/surface/queue.md +2 -2
  432. package/surface/sdk.md +0 -24
  433. package/surface/storage.md +101 -71
  434. package/dist/ManagementClientAuthError-BcPYxAWZ.js +0 -16
  435. package/dist/ManagementClientAuthError-BcPYxAWZ.js.map +0 -1
  436. package/dist/ManagementClientAuthError-DHuykEPF.cjs +0 -21
  437. package/dist/ManagementClientAuthError-DHuykEPF.cjs.map +0 -1
  438. package/dist/QueryJobTimeoutError-C7JbNGOM.js +0 -38
  439. package/dist/QueryJobTimeoutError-C7JbNGOM.js.map +0 -1
  440. package/dist/QueryJobTimeoutError-CVNPdCWX.cjs.map +0 -1
  441. package/dist/authClient-CACOwVt0.js.map +0 -1
  442. package/dist/authClient-DZcAR-eW.cjs.map +0 -1
  443. package/dist/collect-97WhfEpt.js.map +0 -1
  444. package/dist/collect-B5TCNiT1.cjs.map +0 -1
  445. package/dist/constants-BDGRQqij.cjs.map +0 -1
  446. package/dist/constants-Cifrqsls.js.map +0 -1
  447. package/dist/createFetchClient-ClWD4ua3.cjs.map +0 -1
  448. package/dist/createFetchClient-DITkTV2k.js.map +0 -1
  449. package/dist/index-BVhHt5lx.d.cts +0 -241
  450. package/dist/index-Bf8dr2KQ.d.ts +0 -16
  451. package/dist/index-BgR5zcjJ.d.ts +0 -241
  452. package/dist/index-CWPi7lBF.d.ts +0 -77
  453. package/dist/index-Dd40ojPr.d.cts +0 -77
  454. package/dist/index-DkCXaYsn.d.cts +0 -16
  455. package/dist/jobStatus-B0E-MZ9I.cjs.map +0 -1
  456. package/dist/jobStatus-BJdbZ72V.js.map +0 -1
  457. package/dist/management-C5lf9nsU.cjs.map +0 -1
  458. package/dist/management-WAtKH6Tu.js.map +0 -1
  459. package/dist/project-B8wtlstY.d.cts +0 -18
  460. package/dist/project-BCc3mpAy.d.ts +0 -18
  461. package/dist/project-BvFi19K_.cjs.map +0 -1
  462. package/dist/project-DWwZv66D.js.map +0 -1
  463. package/dist/queryService-Blfz59Ms.js.map +0 -1
  464. package/dist/queryService-RlNYw7LG.cjs.map +0 -1
  465. package/dist/queue-BrgRdtOr.cjs.map +0 -1
  466. package/dist/queue-CNvR-M23.js.map +0 -1
  467. package/dist/serviceIds-DRcoTnSd.d.cts +0 -32
  468. package/dist/serviceIds-DRcoTnSd.d.ts +0 -32
  469. package/dist/storage-76Sf_z_H.cjs.map +0 -1
  470. package/dist/storage-RkNaOFJ-.js.map +0 -1
  471. package/dist/types-9SEE4icc.d.ts +0 -1298
  472. package/dist/types-BhOUS9j1.d.cts +0 -749
  473. package/dist/types-BjR8Yodc.d.cts +0 -1298
  474. package/dist/types-CLHaZv9f.d.cts +0 -1868
  475. package/dist/types-CaOtNjSZ.d.ts +0 -957
  476. package/dist/types-D1A4mAG0.d.cts +0 -66
  477. package/dist/types-D8pGSkRe.d.ts +0 -1868
  478. package/dist/types-DxN2siRW.d.ts +0 -66
  479. package/dist/types-ePSqbXRr.d.cts +0 -957
  480. package/dist/types-gcAb6olM.d.ts +0 -749
@@ -1,1298 +0,0 @@
1
- import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-BgR5zcjJ.js";
2
- //#region src/clients/queue/__generated__/schema.d.ts
3
- /**
4
- * This file was auto-generated by openapi-typescript.
5
- * Do not make direct changes to the file.
6
- */
7
- type paths = {
8
- '/jobs': {
9
- parameters: {
10
- query?: never;
11
- header?: never;
12
- path?: never;
13
- cookie?: never;
14
- };
15
- /**
16
- * List jobs
17
- * @deprecated
18
- * @description List jobs and filter them by various criteria.
19
- *
20
- * This endpoint is DEPRECATED. Use `/search/jobs` instead.
21
- */
22
- get: {
23
- parameters: {
24
- query?: {
25
- /** @description Search jobs by *id*. You can set multiple values. */
26
- id?: string[];
27
- /** @description Search jobs by *runId*. You can set multiple values. */
28
- runId?: string[];
29
- /**
30
- * @description Search jobs by *branchId*. You can set multiple values.
31
- *
32
- * Set **branchId[]=null** to get just jobs belonging to the **main** branch.
33
- */
34
- branchId?: string[];
35
- /** @description Search jobs by *tokenId*. You can set multiple values. */
36
- tokenId?: string[];
37
- /** @description Search jobs by *tokenDescription*. You can set multiple values. */
38
- tokenDescription?: string[];
39
- /** @description Search jobs by *component id*. You can set multiple values. */
40
- component?: string[];
41
- /** @description Search jobs by *configuration id*. You can set multiple values. */
42
- config?: string[];
43
- /** @description Search jobs by *configuration row id*. Each job can have multiple configRowIds or none. You can search for multiple values and all jobs containing at least one of the specified configRowIds will be returned in that case. */
44
- configRowIds?: string[];
45
- /** @description Filter jobs by *mode*. You can use either *run* or *debug* values. */
46
- mode?: ('run' | 'debug')[];
47
- /** @description Search jobs by *status*. You can set multiple values. */
48
- status?: components['schemas']['JobStatus'][];
49
- /** @description Filter jobs by job *type*. */
50
- type?: 'standard' | 'container' | 'phaseContainer' | 'orchestrationContainer' | 'retryContainer';
51
- /** @description Filter jobs by component properties. Only "type" is currently supported. It lists jobs of components with the given type, having a configuration in the project. */
52
- componentProps?: {
53
- type?: string;
54
- };
55
- /** @description Jobs that were created after *createdTimeFrom*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
56
- createdTimeFrom?: string;
57
- /** @description Jobs that were created before *createdTimeTo*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
58
- createdTimeTo?: string;
59
- /** @description Jobs that started after *startTimeFrom*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
60
- startTimeFrom?: string;
61
- /** @description Jobs that started before *startTimeTo*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
62
- startTimeTo?: string;
63
- /** @description Jobs that ended after *endTimeFrom*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
64
- endTimeFrom?: string;
65
- /** @description Jobs that ended before *endTimeTo*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
66
- endTimeTo?: string;
67
- /** @description Jobs that were running for *durationSecondsFrom* seconds or more. */
68
- durationSecondsFrom?: number;
69
- /** @description Jobs that were running less than *durationSecondsTo* seconds. */
70
- durationSecondsTo?: number;
71
- /**
72
- * @description Page offset
73
- * @example 50
74
- */
75
- offset?: number;
76
- /**
77
- * @description Maximum limit of items per page
78
- * @example 1000
79
- */
80
- limit?: number;
81
- /**
82
- * @description Sort the jobs by specified attribute.
83
- * @example runId
84
- */
85
- sortBy?: 'id' | 'runId' | 'branchId' | 'projectId' | 'projectName' | 'tokenId' | 'tokenDescription' | 'componentId' | 'configId' | 'configRowIds' | 'tag' | 'mode' | 'status' | 'startTime' | 'createdTime' | 'endTime' | 'durationSeconds' | 'result';
86
- /**
87
- * @description Order of the sorting. Default is *desc*, newest jobs are displayed at the top.
88
- * @example asc
89
- */
90
- sortOrder?: 'asc' | 'desc';
91
- };
92
- header?: never;
93
- path?: never;
94
- cookie?: never;
95
- };
96
- requestBody?: never;
97
- responses: {
98
- /** @description Success response */
99
- 200: {
100
- headers: {
101
- [name: string]: unknown;
102
- };
103
- content: {
104
- 'application/json': components['schemas']['Job'][];
105
- };
106
- };
107
- /** @description Error response */
108
- default: {
109
- headers: {
110
- [name: string]: unknown;
111
- };
112
- content: {
113
- 'application/json': components['schemas']['Error'];
114
- };
115
- };
116
- };
117
- };
118
- put?: never;
119
- /**
120
- * Create a job
121
- * @description Create a new Job
122
- */
123
- post: operations['createJob'];
124
- delete?: never;
125
- options?: never;
126
- head?: never;
127
- patch?: never;
128
- trace?: never;
129
- };
130
- '/jobs/{jobId}': {
131
- parameters: {
132
- query?: never;
133
- header?: never;
134
- path?: never;
135
- cookie?: never;
136
- };
137
- /**
138
- * Get job detail
139
- * @description Get details of specified job
140
- */
141
- get: operations['getJob'];
142
- put?: never;
143
- post?: never;
144
- delete?: never;
145
- options?: never;
146
- head?: never;
147
- patch?: never;
148
- trace?: never;
149
- };
150
- '/jobs/{jobId}/kill': {
151
- parameters: {
152
- query?: never;
153
- header?: never;
154
- path?: never;
155
- cookie?: never;
156
- };
157
- get?: never;
158
- put?: never;
159
- /**
160
- * Set job for termination
161
- * @description Sets the job desiredStatus to **terminating**. The daemon will pick such a job and depending on its current status, it will either cancell it, if the job was still in the **created** or **waiting** state, or if the job already entered **processing** state, it will be **terminated**.
162
- */
163
- post: operations['killJob'];
164
- delete?: never;
165
- options?: never;
166
- head?: never;
167
- patch?: never;
168
- trace?: never;
169
- };
170
- '/jobs/{jobId}/open-api-lineage': {
171
- parameters: {
172
- query?: never;
173
- header?: never;
174
- path?: never;
175
- cookie?: never;
176
- };
177
- /**
178
- * Get job OpenLineage data
179
- * @description Retreive details about executed job as events list in OpenLineage format. For orchestration, container and phase jobs, events from child jobs are also included.
180
- */
181
- get: operations['getJobOpenApiLineage'];
182
- put?: never;
183
- post?: never;
184
- delete?: never;
185
- options?: never;
186
- head?: never;
187
- patch?: never;
188
- trace?: never;
189
- };
190
- '/configurations-jobs': {
191
- parameters: {
192
- query?: never;
193
- header?: never;
194
- path?: never;
195
- cookie?: never;
196
- };
197
- /**
198
- * List most recent jobs of configurations
199
- * @deprecated
200
- * @description List most recent jobs of configurations.
201
- *
202
- * This endpoint is DEPRECATED. Use `/search/grouped-jobs` instead.
203
- */
204
- get: operations['listConfigurationsJobs'];
205
- put?: never;
206
- post?: never;
207
- delete?: never;
208
- options?: never;
209
- head?: never;
210
- patch?: never;
211
- trace?: never;
212
- };
213
- '/latest-configurations-jobs': {
214
- parameters: {
215
- query?: never;
216
- header?: never;
217
- path?: never;
218
- cookie?: never;
219
- };
220
- /**
221
- * List latest job per each configuration in project that ran during last month
222
- * @deprecated
223
- * @description List latest job per each configuration in project that ran during last month.
224
- *
225
- * This endpoint is DEPRECATED. Use `/search/grouped-jobs` instead.
226
- */
227
- get: operations['listLatestConfigurationsJobs'];
228
- put?: never;
229
- post?: never;
230
- delete?: never;
231
- options?: never;
232
- head?: never;
233
- patch?: never;
234
- trace?: never;
235
- };
236
- '/orchestration-rerun-plan/{jobId}': {
237
- parameters: {
238
- query?: never;
239
- header?: never;
240
- path?: never;
241
- cookie?: never;
242
- };
243
- /**
244
- * Get orchestration rerun plan
245
- * @description Returns list of orchestration tasks possible to re-run.
246
- */
247
- get: operations['getOrchestrationRerunPlan'];
248
- put?: never;
249
- post?: never;
250
- delete?: never;
251
- options?: never;
252
- head?: never;
253
- patch?: never;
254
- trace?: never;
255
- };
256
- '/stats/project': {
257
- parameters: {
258
- query?: never;
259
- header?: never;
260
- path?: never;
261
- cookie?: never;
262
- };
263
- /**
264
- * Get jobs statistics
265
- * @description Get jobs statistics
266
- */
267
- get: operations['getProjectStats'];
268
- put?: never;
269
- post?: never;
270
- delete?: never;
271
- options?: never;
272
- head?: never;
273
- patch?: never;
274
- trace?: never;
275
- };
276
- '/search/jobs': {
277
- parameters: {
278
- query?: never;
279
- header?: never;
280
- path?: never;
281
- cookie?: never;
282
- };
283
- /**
284
- * Search jobs
285
- * @description Search jobs and filter them by various criteria.
286
- *
287
- * Search endpoints result are eventually consistent as it does not return data directly from internal storage but
288
- * from a search index. This means that results are not guaranteed to be 100% consistent. There is always slight
289
- * delay before created/updated job data is propagated to the search.
290
- */
291
- get: {
292
- parameters: {
293
- query?: {
294
- /** @description Search jobs by *id*. You can set multiple values. */
295
- id?: string[];
296
- /** @description Search jobs by *runId*. You can set multiple values. */
297
- runId?: string[];
298
- /**
299
- * @description Search jobs by *branchId*. You can set multiple values.
300
- *
301
- * Set **branchId[]=null** to get just jobs belonging to the **main** branch.
302
- */
303
- branchId?: string[];
304
- /** @description Search jobs by *tokenId*. You can set multiple values. */
305
- tokenId?: string[];
306
- /** @description Search jobs by *tokenDescription*. You can set multiple values. */
307
- tokenDescription?: string[];
308
- /** @description Search jobs by *component id*. You can set multiple values. */
309
- componentId?: string[];
310
- /**
311
- * @deprecated
312
- * @description Alias to `componentId` filter.
313
- */
314
- component?: string[];
315
- /** @description Search jobs by *configuration id*. You can set multiple values. */
316
- configId?: string[];
317
- /**
318
- * @deprecated
319
- * @description Alias to `configId` filter.
320
- */
321
- config?: string[];
322
- /** @description Search jobs by *configuration row id*. Each job can have multiple configRowIds or none. You can search for multiple values and all jobs containing at least one of the specified configRowIds will be returned in that case. */
323
- configRowIds?: string[];
324
- /** @description Filter jobs by *mode*. You can use either *run* or *debug* values. */
325
- mode?: ('run' | 'debug')[];
326
- /** @description Search jobs by *status*. You can set multiple values. */
327
- status?: components['schemas']['JobStatus'][];
328
- /** @description Filter jobs by job *type*. */
329
- type?: 'standard' | 'container' | 'phaseContainer' | 'orchestrationContainer' | 'retryContainer';
330
- /** @description Filter jobs by component properties. Only "type" is currently supported. It lists jobs of components with the given type, having a configuration in the project. */
331
- componentProps?: {
332
- type?: string;
333
- };
334
- /** @description Jobs that were created after *createdTimeFrom*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
335
- createdTimeFrom?: string;
336
- /** @description Jobs that were created before *createdTimeTo*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
337
- createdTimeTo?: string;
338
- /** @description Jobs that started after *startTimeFrom*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
339
- startTimeFrom?: string;
340
- /** @description Jobs that started before *startTimeTo*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
341
- startTimeTo?: string;
342
- /** @description Jobs that ended after *endTimeFrom*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
343
- endTimeFrom?: string;
344
- /** @description Jobs that ended before *endTimeTo*. [Supported date and time formats](https://www.php.net/manual/en/datetime.formats.php) */
345
- endTimeTo?: string;
346
- /** @description Jobs that were running for *durationSecondsFrom* seconds or more. */
347
- durationSecondsFrom?: number;
348
- /** @description Jobs that were running less than *durationSecondsTo* seconds. */
349
- durationSecondsTo?: number;
350
- /**
351
- * @description Page offset
352
- * @example 50
353
- */
354
- offset?: number;
355
- /**
356
- * @description Maximum limit of items per page
357
- * @example 1000
358
- */
359
- limit?: number;
360
- /**
361
- * @description Sort the jobs by specified attribute.
362
- * @example runId
363
- */
364
- sortBy?: 'id' | 'runId' | 'projectId' | 'branchId' | 'componentId' | 'configId' | 'tokenDescription' | 'status' | 'createdTime' | 'updatedTime' | 'startTime' | 'endTime' | 'durationSeconds';
365
- /**
366
- * @description Order of the sorting. Default is *desc*, newest jobs are displayed at the top.
367
- * @example asc
368
- */
369
- sortOrder?: 'asc' | 'desc';
370
- };
371
- header?: never;
372
- path?: never;
373
- cookie?: never;
374
- };
375
- requestBody?: never;
376
- responses: {
377
- /** @description Success response */
378
- 200: {
379
- headers: {
380
- [name: string]: unknown;
381
- };
382
- content: {
383
- 'application/json': components['schemas']['Job'][];
384
- };
385
- };
386
- /** @description Error response */
387
- default: {
388
- headers: {
389
- [name: string]: unknown;
390
- };
391
- content: {
392
- 'application/json': components['schemas']['Error'];
393
- };
394
- };
395
- };
396
- };
397
- put?: never;
398
- post?: never;
399
- delete?: never;
400
- options?: never;
401
- head?: never;
402
- patch?: never;
403
- trace?: never;
404
- };
405
- '/search/grouped-jobs': {
406
- parameters: {
407
- query?: never;
408
- header?: never;
409
- path?: never;
410
- cookie?: never;
411
- };
412
- /**
413
- * Search grouped jobs
414
- * @description Search for jobs by their attributes and aggregating them into specified groups.
415
- *
416
- * Search endpoints result are eventually consistent as it does not return data directly from internal storage but
417
- * from a search index. This means that results are not guaranteed to be 100% consistent. There is always slight
418
- * delay before created/updated job data is propagated to the search.
419
- */
420
- get: {
421
- parameters: {
422
- query: {
423
- /** @description Specifies the fields to group jobs by. */
424
- groupBy: ('projectId' | 'branchId' | 'componentId' | 'configId')[];
425
- /** @description Number of jobs per group. */
426
- jobsPerGroup?: number;
427
- /** @description Field to sort the results by. */
428
- sortBy?: 'id' | 'runId' | 'projectId' | 'branchId' | 'componentId' | 'configId' | 'tokenDescription' | 'status' | 'createdTime' | 'updatedTime' | 'startTime' | 'endTime' | 'durationSeconds';
429
- /** @description Order of sorting (asc or desc). */
430
- sortOrder?: 'asc' | 'desc';
431
- /** @description Maximum number of results to return. */
432
- limit?: number;
433
- /** @description Filter by specific job IDs. */
434
- id?: number[];
435
- /** @description Filter jobs by run IDs. */
436
- runId?: string[];
437
- /** @description Filter jobs by branch IDs. */
438
- branchId?: string[];
439
- /** @description Filter jobs by configuration IDs. */
440
- configId?: string[];
441
- /**
442
- * @deprecated
443
- * @description Alias to `configId` filter.
444
- */
445
- config?: string[];
446
- /** @description Filter jobs by configuration row IDs. */
447
- configRowIds?: string[];
448
- /** @description Filter jobs by project IDs. */
449
- projectId?: string[];
450
- /** @description Filter jobs by token IDs. */
451
- tokenId?: string[];
452
- /** @description Filter jobs by token descriptions. */
453
- tokenDescription?: string[];
454
- /** @description Filter jobs by component names. */
455
- componentId?: string[];
456
- /**
457
- * @deprecated
458
- * @description Alias to `componentId` filter.
459
- */
460
- component?: string[];
461
- /** @description Filter jobs by status. */
462
- status?: string[];
463
- /** @description Filter jobs by desired status. */
464
- desiredStatus?: string[];
465
- /** @description Filter jobs by mode. */
466
- mode?: string[];
467
- /** @description Filter jobs by tags. */
468
- tag?: string[];
469
- /** @description Filter jobs that started from this timestamp onwards. */
470
- startTimeFrom?: string;
471
- /** @description Filter jobs that started up to this timestamp. */
472
- startTimeTo?: string;
473
- /** @description Filter jobs created from this timestamp onwards. */
474
- createdTimeFrom?: string;
475
- /** @description Filter jobs created up to this timestamp. */
476
- createdTimeTo?: string;
477
- /** @description Filter jobs that ended from this timestamp onwards. */
478
- endTimeFrom?: string;
479
- /** @description Filter jobs that ended up to this timestamp. */
480
- endTimeTo?: string;
481
- /** @description Filter jobs with a duration longer than this number of seconds. */
482
- durationSecondsFrom?: number;
483
- /** @description Filter jobs with a duration up to this number of seconds. */
484
- durationSecondsTo?: number;
485
- /** @description Filter jobs by variable values IDs. */
486
- variableValuesId?: string[];
487
- /** @description Filter jobs by parent run IDs. */
488
- parentRunId?: string[];
489
- /** @description Filter jobs by type. */
490
- type?: string[];
491
- /** @description Filter jobs by specific component properties as key-value pairs. */
492
- componentProps?: {
493
- type?: string;
494
- };
495
- };
496
- header?: never;
497
- path?: never;
498
- cookie?: never;
499
- };
500
- requestBody?: never;
501
- responses: {
502
- /** @description Successful response */
503
- 200: {
504
- headers: {
505
- [name: string]: unknown;
506
- };
507
- content: {
508
- 'application/json': {
509
- group?: {
510
- [key: string]: string;
511
- };
512
- jobs?: components['schemas']['Job'][];
513
- }[];
514
- };
515
- };
516
- /** @description Error response */
517
- default: {
518
- headers: {
519
- [name: string]: unknown;
520
- };
521
- content: {
522
- 'application/json': components['schemas']['Error'];
523
- };
524
- };
525
- };
526
- };
527
- put?: never;
528
- post?: never;
529
- delete?: never;
530
- options?: never;
531
- head?: never;
532
- patch?: never;
533
- trace?: never;
534
- };
535
- };
536
- type components = {
537
- schemas: {
538
- Job: {
539
- /** @example 123456789 */
540
- id: string;
541
- /**
542
- * @description Run ID is same as Job ID, unless the job is a child job. A child
543
- * job is created by providing the parent Run ID in the X-KBC-RunId
544
- * parameter. The runId of a child job contains the parent runId and
545
- * the child job ID separated by dot. The nesting depth is not limited.
546
- * A parent-child job relationship means that e.g. when a parent job is terminated
547
- * it's child jobs are terminated too. The parent-child job relationship
548
- * does not mean that the parent will wait for it's children to finish.
549
- * @example 123456790.123456789
550
- */
551
- runId: string;
552
- /**
553
- * @description Jobs from the main branch will have branchId = null
554
- * @example 123456789
555
- */
556
- branchId?: string;
557
- project: {
558
- /** @example 123 */
559
- id: string;
560
- };
561
- token: {
562
- /** @example 12345 */
563
- id?: string;
564
- /** @example user@example.com */
565
- description?: string;
566
- };
567
- status: components['schemas']['JobStatus'];
568
- /** @enum {string|null} */
569
- desiredStatus?: 'processing' | 'terminating' | null;
570
- /** @example keboola.ex-db-snowflake */
571
- component: string;
572
- /** @enum {string} */
573
- mode: 'run' | 'debug';
574
- /** @example 1.2.3 */
575
- tag?: string | null;
576
- /** @example 123456789 */
577
- config?: string | null;
578
- /** @example 123456789 */
579
- configRow?: string | null;
580
- /**
581
- * @example {
582
- * "parameters": {
583
- * "foo": "bar",
584
- * "baz": "mek"
585
- * }
586
- * }
587
- */
588
- configData?: Record<string, never> | null;
589
- result?: {
590
- images?: {
591
- digests?: string[];
592
- id?: string;
593
- }[];
594
- configVersion?: number;
595
- message?: string;
596
- } | null;
597
- /**
598
- * Format: date-time
599
- * @example 2019-06-21T09:12:33.001Z
600
- */
601
- createdTime: string;
602
- /**
603
- * Format: date-time
604
- * @example 2019-06-21T09:12:33.001Z
605
- */
606
- startTime?: string | null;
607
- /**
608
- * Format: date-time
609
- * @example 2019-06-21T09:12:33.001Z
610
- */
611
- endTime?: string | null;
612
- /**
613
- * Format: date-time
614
- * @description Delayed start time - the earliest time when the job can be started
615
- * @example 2019-06-21T09:12:33.001Z
616
- */
617
- delayedStartTime?: string | null;
618
- /** @example 165 */
619
- durationSeconds?: number | null;
620
- /** @example false */
621
- isFinished: boolean;
622
- /**
623
- * @description Whether a finished job delivered what it was asked to do. Derived from `status`; never
624
- * stored, and never sent on input.
625
- *
626
- * - `null` exactly while `isFinished` is `false` — a job that has not finished has not
627
- * answered yet.
628
- * - `true` for `success` and `warning`, `false` for `error`, `cancelled` and `terminated`.
629
- * - `warning` is a success because the configuration asked for it: a child job did not
630
- * succeed and its `behavior.onError` was `warning`, so the container tolerated it and
631
- * went on. The status is being phased out — conditional flows do not support it.
632
- * - `cancelled` and `terminated` are failures of "did this job deliver", not of the job
633
- * itself: a user stopped it, and it did not produce the job's output.
634
- * @example true
635
- */
636
- isSuccess: boolean | null;
637
- /** @example https://queue.east-us-2.azure.keboola-testing.com/jobs/123456789 */
638
- url: string;
639
- /** @example 1234 */
640
- variableValuesId?: string | null;
641
- /**
642
- * @example {
643
- * "items": [
644
- * {
645
- * "name": "testVariable",
646
- * "value": "testValue"
647
- * }
648
- * ]
649
- * }
650
- */
651
- variableValuesData?: {
652
- values?: {
653
- name?: string;
654
- value?: string;
655
- }[];
656
- } | null;
657
- /**
658
- * @example {
659
- * "type": "small",
660
- * "context": "123_extractor"
661
- * }
662
- */
663
- backend?: {
664
- type?: string;
665
- containerType?: string;
666
- context?: string;
667
- } | null;
668
- metrics?: {
669
- storage?: {
670
- inputTablesBytesSum?: number;
671
- outputTablesBytesSum?: number;
672
- };
673
- /**
674
- * @example {
675
- * "type": "small",
676
- * "context": "123_extractor"
677
- * }
678
- */
679
- backend?: {
680
- type?: string;
681
- containerType?: string;
682
- context?: string;
683
- };
684
- } | null;
685
- type?: components['schemas']['JobType'];
686
- orchestrationTaskId?: string | null;
687
- previousJobId?: string | null;
688
- /**
689
- * @deprecated
690
- * @description Deprecated alias of "onlyFlowTaskIds"; both fields always carry the same value.
691
- */
692
- onlyOrchestrationTaskIds?: string[] | null;
693
- onlyFlowTaskIds?: string[] | null;
694
- };
695
- /**
696
- * @description Where the job is in its lifecycle. Use `isSuccess` to ask whether a finished job delivered.
697
- *
698
- * - `terminating` is not terminal: the job is being killed and keeps reporting until it
699
- * reaches a finished status.
700
- * - `isFinished` is true for exactly `success`, `warning`, `error`, `cancelled` and
701
- * `terminated`.
702
- * - This vocabulary is the queue's own. Other Keboola services name their job states
703
- * differently — Query Service, for instance, has `completed`/`failed`/`canceled` with no
704
- * equivalent of `warning` — so a status value is not portable between services.
705
- * `isSuccess` is the part that is meant to read the same everywhere.
706
- * @enum {string}
707
- */
708
- JobStatus: 'created' | 'waiting' | 'processing' | 'success' | 'warning' | 'error' | 'terminating' | 'terminated' | 'cancelled';
709
- /** @enum {string} */
710
- JobType: 'standard' | 'container' | 'phaseContainer' | 'orchestrationContainer' | 'retryContainer';
711
- ProjectStats: {
712
- jobs?: {
713
- /**
714
- * @description Total duration sum of all processed jobs. (in seconds)
715
- * @example 3600
716
- */
717
- durationSum?: number;
718
- };
719
- };
720
- /** @description OpenLineage event list */
721
- OpenLineageEventList: components['schemas']['OpenLineageEvent'][];
722
- OpenLineageEvent: components['schemas']['OpenLineageStartEvent'] | components['schemas']['OpenLineageCompleteEvent'];
723
- /** @description Job execution start event, including information about input mapping tables. */
724
- OpenLineageStartEvent: {
725
- /** @example START */
726
- eventType: string;
727
- /**
728
- * Format: date-time
729
- * @description Job execution start time
730
- */
731
- eventTime: string;
732
- run: {
733
- /** Format: uuid */
734
- runId: string;
735
- facets?: {
736
- parent: {
737
- /**
738
- * Format: uri
739
- * @example https://connection.north-europe.azure.keboola.com
740
- */
741
- _producer: string;
742
- /** @example https://openlineage.io/spec/facets/1-0-0/ParentRunFacet.json#/$defs/ParentRunFacet */
743
- _schemaURL: string;
744
- run: {
745
- /** Format: uuid */
746
- runId: string;
747
- };
748
- job: {
749
- /** @example connection.north-europe.azure.keboola.com/project/1234 */
750
- namespace: string;
751
- /** @example keboola.orchestrator-123 */
752
- name: string;
753
- };
754
- };
755
- };
756
- };
757
- job: {
758
- /** @example connection.north-europe.azure.keboola.com/project/1234 */
759
- namespace: string;
760
- /** @example keboola.snowflake-transformation-123456 */
761
- name: string;
762
- };
763
- /**
764
- * Format: uri
765
- * @description Keboola Connection stack uri
766
- * @example https://connection.north-europe.azure.keboola.com
767
- */
768
- producer: string;
769
- /** @description Input Mapping table list */
770
- inputs: {
771
- /** @example connection.north-europe.azure.keboola.com/project/1234 */
772
- namespace: string;
773
- /**
774
- * @description Table ID in Keboola Storage
775
- * @example in.c-kds-team-ex-shoptet-permalink-1234567.orders
776
- */
777
- name: string;
778
- facets: {
779
- schema: {
780
- /**
781
- * Format: uri
782
- * @example https://connection.north-europe.azure.keboola.com
783
- */
784
- _producer: string;
785
- /** @example https://openlineage.io/spec/1-0-2/OpenLineage.json#/$defs/InputDatasetFacet */
786
- _schemaURL: string;
787
- /**
788
- * @example [
789
- * {
790
- * "name": "code"
791
- * },
792
- * {
793
- * "name": "date"
794
- * },
795
- * {
796
- * "name": "totalPriceWithVat"
797
- * },
798
- * {
799
- * "name": "currency"
800
- * }
801
- * ]
802
- */
803
- fields: {
804
- name: string;
805
- }[];
806
- };
807
- };
808
- }[];
809
- };
810
- /** @description Job execution end event, including information about output mapping tables. */
811
- OpenLineageCompleteEvent: {
812
- /** @example COMPLETE */
813
- eventType: string;
814
- /**
815
- * Format: date-time
816
- * @description Job execution end time
817
- */
818
- eventTime: string;
819
- run: {
820
- /** Format: uuid */
821
- runId: string;
822
- };
823
- job: {
824
- /** @example connection.north-europe.azure.keboola.com/project/1234 */
825
- namespace: string;
826
- /** @example keboola.snowflake-transformation-123456 */
827
- name: string;
828
- };
829
- /**
830
- * Format: uri
831
- * @description Keboola Connection stack uri
832
- * @example https://connection.north-europe.azure.keboola.com
833
- */
834
- producer: string;
835
- /** @description Output Mapping table list */
836
- outputs: {
837
- /** @example connection.north-europe.azure.keboola.com/project/1234 */
838
- namespace: string;
839
- /**
840
- * @description Table ID in Keboola Storage
841
- * @example out.c-orders.dailyStats"
842
- */
843
- name: string;
844
- facets: {
845
- schema: {
846
- /**
847
- * Format: uri
848
- * @example https://connection.north-europe.azure.keboola.com
849
- */
850
- _producer: string;
851
- /** @example https://openlineage.io/spec/1-0-2/OpenLineage.json#/$defs/OutputDatasetFacet */
852
- _schemaURL: string;
853
- /**
854
- * @example [
855
- * {
856
- * "name": "date"
857
- * },
858
- * {
859
- * "name": "ordersCount"
860
- * },
861
- * {
862
- * "name": "totalPriceEuroSum"
863
- * }
864
- * ]
865
- */
866
- fields: {
867
- name: string;
868
- }[];
869
- };
870
- };
871
- }[];
872
- };
873
- Error: {
874
- /** @example The value foobar is invalid */
875
- error: string;
876
- /** @example 400 */
877
- code: number;
878
- /** @enum {string} */
879
- status: 'error';
880
- /** @example job-runner-1234567890 */
881
- exceptionId?: string;
882
- };
883
- };
884
- responses: never;
885
- parameters: never;
886
- requestBodies: never;
887
- headers: never;
888
- pathItems: never;
889
- };
890
- interface operations {
891
- createJob: {
892
- parameters: {
893
- query?: never;
894
- header?: {
895
- /** @description Run ID of the parent job; the created job becomes its child (its runId is prefixed with this value). Omit for a top-level job. See the runId property in the Job schema. */
896
- 'X-KBC-RunId'?: string;
897
- };
898
- path?: never;
899
- cookie?: never;
900
- };
901
- /**
902
- * @description ## Basic Job
903
- * Use "run" **mode** to create a new job of a component specified by **component** with configuration defined either by **config** and optionally **configRow** or provide the whole configuration for the component in the **configData** attribute. Use "forceRun" **mode** to create a new job of a disabled configuration.
904
- *
905
- * ## Job of specific component image tag
906
- * Specify the component image tag in the **tag** attribute.
907
- *
908
- * ## Debug job
909
- * This API call has the same body attributes as the Run call, except the **mode** attribute is set to "debug" (default is "run"). It creates a job that prepares the data folder including the serialized configuration files. Then it compresses the data folder and uploads it to your project's Files in Storage. This way you will get a snapshot of what the data folder looked like before the component started. If processors are used, a snapshot of the data folder is created before each processor. After the entire component finishes, another snapshot is made.
910
- * For example, if you run component a with processor b and c in the after section, you will receive:
911
- * - stage_0 file with contents of the data folder before component a was run
912
- * - stage_1 file with contents of the data folder before processor b was run
913
- * - stage_2 file with contents of the data folder before processor c was run
914
- * - stage_output file with contents of the data folder before output mapping was about to be performed (after c finished).
915
- *
916
- * If configuration rows are used, then the above is repeated for each configuration row. If the job finishes with and error, only the stages before the error are uploaded.
917
- *
918
- * This API call does not upload any tables or files to Storage. I.e. when the component finishes, its output is discarded and the output mapping to storage is **not performed**. This makes this API call generally very safe to call, because it cannot break the KBC project in any way. However keep in mind, that if the component has any outside side effects, these will get executed. This applies typically to writers which will write the data into the external system even with this debug API call.
919
- *
920
- * Note that the snapshot archive will contain all files in the data folder including any temporary files produced be the component. The snapshot will not contain the output state.json file. This is because the snapshot is made before a component is run where the out state of the previous component is not available any more. Also note that all encrypted values are removed from the configuration file and there is no way to retrieve them. It is also advisable to run this command with limited input mapping so that you don't end up with gigabyte size archives.
921
- */
922
- requestBody?: {
923
- content: {
924
- 'application/json': {
925
- component: string;
926
- /**
927
- * @default run
928
- * @enum {string}
929
- */
930
- mode?: 'run' | 'debug' | 'forceRun';
931
- config?: string;
932
- configRowIds?: string[];
933
- configData?: Record<string, never>;
934
- tag?: string;
935
- branchId?: string;
936
- variableValuesId?: string;
937
- variableValuesData?: {
938
- values: {
939
- name: string;
940
- value: string;
941
- }[];
942
- };
943
- backend?: {
944
- /** @enum {string} */
945
- type: 'xsmall' | 'small' | 'medium' | 'large';
946
- context?: string;
947
- };
948
- /** @enum {string} */
949
- executor?: 'dind' | 'k8sContainers';
950
- /**
951
- * Format: date-time
952
- * @description Delayed start time - the earliest time when the job can be started. Cannot be used together with "delay".
953
- * @example 2025-06-21T09:12:33.001Z
954
- */
955
- delayedStartTime?: string;
956
- /**
957
- * @description Delay in seconds before the job can be started. Cannot be used together with "delayedStartTime".
958
- * @example 3600
959
- */
960
- delay?: number;
961
- /** @description Run only the flow tasks with these IDs. Cannot be used together with "onlyOrchestrationTaskIds". */
962
- onlyFlowTaskIds?: string[] | null;
963
- /**
964
- * @deprecated
965
- * @description Deprecated alias of "onlyFlowTaskIds". Cannot be used together with "onlyFlowTaskIds".
966
- */
967
- onlyOrchestrationTaskIds?: string[] | null;
968
- };
969
- };
970
- };
971
- responses: {
972
- /** @description Job created */
973
- 201: {
974
- headers: {
975
- [name: string]: unknown;
976
- };
977
- content: {
978
- 'application/json': components['schemas']['Job'];
979
- };
980
- };
981
- /** @description Error response */
982
- default: {
983
- headers: {
984
- [name: string]: unknown;
985
- };
986
- content: {
987
- 'application/json': components['schemas']['Error'];
988
- };
989
- };
990
- };
991
- };
992
- getJob: {
993
- parameters: {
994
- query?: never;
995
- header?: never;
996
- path: {
997
- /** @description Job ID */
998
- jobId: string;
999
- };
1000
- cookie?: never;
1001
- };
1002
- requestBody?: never;
1003
- responses: {
1004
- /** @description Success response */
1005
- 200: {
1006
- headers: {
1007
- [name: string]: unknown;
1008
- };
1009
- content: {
1010
- 'application/json': components['schemas']['Job'];
1011
- };
1012
- };
1013
- /** @description Error response */
1014
- default: {
1015
- headers: {
1016
- [name: string]: unknown;
1017
- };
1018
- content: {
1019
- 'application/json': components['schemas']['Error'];
1020
- };
1021
- };
1022
- };
1023
- };
1024
- killJob: {
1025
- parameters: {
1026
- query?: never;
1027
- header?: never;
1028
- path: {
1029
- /** @description Job ID */
1030
- jobId: string;
1031
- };
1032
- cookie?: never;
1033
- };
1034
- requestBody?: never;
1035
- responses: {
1036
- /** @description Success response */
1037
- 202: {
1038
- headers: {
1039
- [name: string]: unknown;
1040
- };
1041
- content: {
1042
- 'application/json': components['schemas']['Job'];
1043
- };
1044
- };
1045
- /** @description Error response */
1046
- default: {
1047
- headers: {
1048
- [name: string]: unknown;
1049
- };
1050
- content: {
1051
- 'application/json': components['schemas']['Error'];
1052
- };
1053
- };
1054
- };
1055
- };
1056
- getJobOpenApiLineage: {
1057
- parameters: {
1058
- query?: never;
1059
- header?: never;
1060
- path: {
1061
- /** @description Job ID */
1062
- jobId: string;
1063
- };
1064
- cookie?: never;
1065
- };
1066
- requestBody?: never;
1067
- responses: {
1068
- /** @description Success response */
1069
- 200: {
1070
- headers: {
1071
- [name: string]: unknown;
1072
- };
1073
- content: {
1074
- 'application/json': components['schemas']['OpenLineageEventList'];
1075
- };
1076
- };
1077
- /** @description Error response */
1078
- default: {
1079
- headers: {
1080
- [name: string]: unknown;
1081
- };
1082
- content: {
1083
- 'application/json': components['schemas']['Error'];
1084
- };
1085
- };
1086
- };
1087
- };
1088
- listConfigurationsJobs: {
1089
- parameters: {
1090
- query?: {
1091
- /**
1092
- * @description Search jobs of *componentId*.
1093
- * @example keboola.orchestrator
1094
- */
1095
- componentId?: string;
1096
- /**
1097
- * @description Configuration ID
1098
- * @example my.config
1099
- */
1100
- 'configId[]'?: string[];
1101
- /**
1102
- * @description Filter jobs by job *type*.
1103
- * @example standard
1104
- */
1105
- type?: 'standard' | 'container' | 'phaseContainer' | 'orchestrationContainer' | 'retryContainer';
1106
- /** @description Number of jobs of each configuration to list */
1107
- jobsPerConfiguration?: number;
1108
- /**
1109
- * @description Attribute to sort results by
1110
- * @example startTime
1111
- */
1112
- sortBy?: 'id' | 'configId' | 'configRowId' | 'projectId' | 'componentId' | 'status' | 'desiredStatus' | 'mode' | 'startTime' | 'createdTime' | 'endTime';
1113
- /**
1114
- * @description Order of the sorting, must be used with the "sortBy" parameter
1115
- * @example asc
1116
- */
1117
- sortOrder?: 'asc' | 'desc';
1118
- /**
1119
- * @description Paging offset
1120
- * @example 123
1121
- */
1122
- offset?: number;
1123
- /**
1124
- * @description Results per page
1125
- * @example 1000
1126
- */
1127
- limit?: number;
1128
- /**
1129
- * @description Search jobs by *branchId*.
1130
- *
1131
- * Set **branchId=null** to get just jobs belonging to the **main** branch.
1132
- */
1133
- branchId?: string;
1134
- };
1135
- header?: never;
1136
- path?: never;
1137
- cookie?: never;
1138
- };
1139
- requestBody?: never;
1140
- responses: {
1141
- /** @description Success response */
1142
- 200: {
1143
- headers: {
1144
- [name: string]: unknown;
1145
- };
1146
- content: {
1147
- 'application/json': components['schemas']['Job'][];
1148
- };
1149
- };
1150
- /** @description Bad request parameters */
1151
- 400: {
1152
- headers: {
1153
- [name: string]: unknown;
1154
- };
1155
- content: {
1156
- 'application/json': components['schemas']['Error'];
1157
- };
1158
- };
1159
- };
1160
- };
1161
- listLatestConfigurationsJobs: {
1162
- parameters: {
1163
- query?: {
1164
- /**
1165
- * @description Paging offset
1166
- * @example 123
1167
- */
1168
- offset?: number;
1169
- /**
1170
- * @description Results per page
1171
- * @example 1000
1172
- */
1173
- limit?: number;
1174
- /**
1175
- * @description Search jobs by *branchId*.
1176
- *
1177
- * Set **branchId=default** to get just jobs belonging to the **main** branch.
1178
- */
1179
- branchId?: string;
1180
- };
1181
- header?: never;
1182
- path?: never;
1183
- cookie?: never;
1184
- };
1185
- requestBody?: never;
1186
- responses: {
1187
- /** @description Success response */
1188
- 200: {
1189
- headers: {
1190
- [name: string]: unknown;
1191
- };
1192
- content: {
1193
- 'application/json': components['schemas']['Job'][];
1194
- };
1195
- };
1196
- /** @description Bad request parameters */
1197
- 400: {
1198
- headers: {
1199
- [name: string]: unknown;
1200
- };
1201
- content: {
1202
- 'application/json': components['schemas']['Error'];
1203
- };
1204
- };
1205
- };
1206
- };
1207
- getOrchestrationRerunPlan: {
1208
- parameters: {
1209
- query?: never;
1210
- header?: never;
1211
- path: {
1212
- /** @description Job ID */
1213
- jobId: string;
1214
- };
1215
- cookie?: never;
1216
- };
1217
- requestBody?: never;
1218
- responses: {
1219
- /** @description Success response */
1220
- 200: {
1221
- headers: {
1222
- [name: string]: unknown;
1223
- };
1224
- content: {
1225
- 'application/json': {
1226
- jobId?: string;
1227
- configId?: string | null;
1228
- matchedTasks?: {
1229
- taskId?: string;
1230
- matched?: boolean;
1231
- jobId?: string | null;
1232
- componentId?: string | null;
1233
- configId?: string | null;
1234
- status?: components['schemas']['JobStatus'] & unknown;
1235
- }[];
1236
- };
1237
- };
1238
- };
1239
- /** @description Invalid request parameters */
1240
- 400: {
1241
- headers: {
1242
- [name: string]: unknown;
1243
- };
1244
- content: {
1245
- 'application/json': components['schemas']['Error'];
1246
- };
1247
- };
1248
- };
1249
- };
1250
- getProjectStats: {
1251
- parameters: {
1252
- query?: never;
1253
- header?: never;
1254
- path?: never;
1255
- cookie?: never;
1256
- };
1257
- requestBody?: never;
1258
- responses: {
1259
- /** @description Success response */
1260
- 200: {
1261
- headers: {
1262
- [name: string]: unknown;
1263
- };
1264
- content: {
1265
- 'application/json': components['schemas']['ProjectStats'];
1266
- };
1267
- };
1268
- };
1269
- };
1270
- }
1271
- //#endregion
1272
- //#region src/clients/queue/types.d.ts
1273
- type QueueJob = OpenapiReturnType<paths['/jobs/{jobId}']['get']>;
1274
- type GetQueueJobPath = OpenapiPathType<paths['/jobs/{jobId}']['get']>;
1275
- /**
1276
- * The statuses a queue job reports.
1277
- *
1278
- * - Terminal: `success`, `warning`, `error`, `cancelled`, `terminated`.
1279
- * - Killable: `created`, `waiting`, `processing`; a kill is rejected otherwise.
1280
- * - `terminating`: kill accepted, job still stopping — not an end state.
1281
- * - `desiredStatus: terminating` is set by a kill; it does not mean `status` got there.
1282
- */
1283
- type QueueJobStatus = QueueJob['status'];
1284
- type Flatten<T> = T extends unknown ? { [K in keyof T]: T[K]; } : never;
1285
- type SearchJobsQuery = Flatten<OpenapiQueryType<paths['/search/jobs']['get']> & {
1286
- parentRunId?: string;
1287
- }>;
1288
- type SearchJobsResponse = OpenapiReturnType<paths['/search/jobs']['get']>;
1289
- type SearchAllJobsQuery = Flatten<Omit<SearchJobsQuery, 'offset'>>;
1290
- type CreateJobBody = OpenapiBodyType<paths['/jobs']['post']>;
1291
- type KillJobPath = OpenapiPathType<paths['/jobs/{jobId}/kill']['post']>;
1292
- type SearchGroupedJobsQuery = OpenapiQueryType<paths['/search/grouped-jobs']['get']>;
1293
- type SearchGroupedJobsResponse = OpenapiReturnType<paths['/search/grouped-jobs']['get']>;
1294
- type OrchestrationRerunPlanPath = OpenapiPathType<paths['/orchestration-rerun-plan/{jobId}']['get']>;
1295
- type OrchestrationRerunPlan = OpenapiReturnType<paths['/orchestration-rerun-plan/{jobId}']['get']>;
1296
- //#endregion
1297
- export { OrchestrationRerunPlanPath as a, SearchAllJobsQuery as c, SearchJobsQuery as d, SearchJobsResponse as f, OrchestrationRerunPlan as i, SearchGroupedJobsQuery as l, GetQueueJobPath as n, QueueJob as o, components as p, KillJobPath as r, QueueJobStatus as s, CreateJobBody as t, SearchGroupedJobsResponse as u };
1298
- //# sourceMappingURL=types-9SEE4icc.d.ts.map