@keboola/api-client 24.0.0 → 27.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 (485) hide show
  1. package/AGENTS.md +489 -0
  2. package/API-SURFACE.md +129 -57
  3. package/README.md +29 -25
  4. package/dist/{ManagementClientAuthError-C7q1Jd9I.d.ts → ManagementClientAuthError-4J0S5tV-.d.ts} +1 -1
  5. package/dist/{ManagementClientAuthError-BuqHAOBO.d.cts → ManagementClientAuthError-CyDpa4NS.d.cts} +1 -1
  6. package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
  7. package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
  8. package/dist/ai/index.cjs +4 -4
  9. package/dist/ai/index.d.cts +6 -3
  10. package/dist/ai/index.d.ts +6 -3
  11. package/dist/ai/index.js +3 -3
  12. package/dist/ai/types.d.cts +2 -2
  13. package/dist/ai/types.d.ts +2 -2
  14. package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
  15. package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
  16. package/dist/apps/index.cjs +16 -0
  17. package/dist/apps/index.cjs.map +1 -0
  18. package/dist/apps/index.d.cts +249 -0
  19. package/dist/apps/index.d.ts +249 -0
  20. package/dist/apps/index.js +7 -0
  21. package/dist/apps/index.js.map +1 -0
  22. package/dist/apps/types.cjs +4 -0
  23. package/dist/apps/types.cjs.map +1 -0
  24. package/dist/apps/types.d.cts +3 -0
  25. package/dist/apps/types.d.ts +3 -0
  26. package/dist/apps/types.js +3 -0
  27. package/dist/apps/types.js.map +1 -0
  28. package/dist/assets/index.cjs +2 -2
  29. package/dist/assets/index.d.cts +1 -1
  30. package/dist/assets/index.d.ts +1 -1
  31. package/dist/assets/index.js +1 -1
  32. package/dist/auth/index.cjs +17 -13
  33. package/dist/auth/index.d.cts +19 -6
  34. package/dist/auth/index.d.ts +19 -6
  35. package/dist/auth/index.js +2 -2
  36. package/dist/auth/types.d.cts +3 -3
  37. package/dist/auth/types.d.ts +3 -3
  38. package/dist/backends-UNp_e5y9.d.cts +7 -0
  39. package/dist/backends-UNp_e5y9.d.ts +7 -0
  40. package/dist/chat/index.cjs +4 -4
  41. package/dist/chat/index.d.cts +6 -3
  42. package/dist/chat/index.d.ts +6 -3
  43. package/dist/chat/index.js +3 -3
  44. package/dist/chat/types.d.cts +2 -2
  45. package/dist/chat/types.d.ts +2 -2
  46. package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
  47. package/dist/chunk-24YVNNAG.js.map +1 -0
  48. package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
  49. package/dist/chunk-255CHZ3U.js.map +1 -0
  50. package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
  51. package/dist/chunk-2BCH2U57.js.map +1 -0
  52. package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
  53. package/dist/chunk-2BQBKU6E.js.map +1 -0
  54. package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
  55. package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
  56. package/dist/chunk-3UBGQFBU.js +29 -0
  57. package/dist/chunk-3UBGQFBU.js.map +1 -0
  58. package/dist/chunk-57Q4CY4H.js +190 -0
  59. package/dist/chunk-57Q4CY4H.js.map +1 -0
  60. package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
  61. package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
  62. package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
  63. package/dist/chunk-5HEIR4DC.js.map +1 -0
  64. package/dist/chunk-5SR2L35Y.cjs +1828 -0
  65. package/dist/chunk-5SR2L35Y.cjs.map +1 -0
  66. package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
  67. package/dist/chunk-62LG5KPI.js.map +1 -0
  68. package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
  69. package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
  70. package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
  71. package/dist/chunk-6PVEHUJL.cjs.map +1 -0
  72. package/dist/chunk-6XFXU5N4.js +119 -0
  73. package/dist/chunk-6XFXU5N4.js.map +1 -0
  74. package/dist/chunk-6ZQBFK2Y.js +24 -0
  75. package/dist/chunk-6ZQBFK2Y.js.map +1 -0
  76. package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
  77. package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
  78. package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
  79. package/dist/chunk-AXYNFDUI.cjs.map +1 -0
  80. package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
  81. package/dist/chunk-B45B4AYG.js.map +1 -0
  82. package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
  83. package/dist/chunk-B4T4QCLB.js.map +1 -0
  84. package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
  85. package/dist/chunk-BGJWHTBJ.js.map +1 -0
  86. package/dist/chunk-BVRPZKRE.cjs +147 -0
  87. package/dist/chunk-BVRPZKRE.cjs.map +1 -0
  88. package/dist/chunk-BZB4UVQA.cjs +192 -0
  89. package/dist/chunk-BZB4UVQA.cjs.map +1 -0
  90. package/dist/{chunk-D3ZZQIY2.cjs → chunk-CHRBWCL7.cjs} +8 -8
  91. package/dist/chunk-CHRBWCL7.cjs.map +1 -0
  92. package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
  93. package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
  94. package/dist/{chunk-D6O5C67S.js → chunk-DVV35AIS.js} +7 -7
  95. package/dist/chunk-DVV35AIS.js.map +1 -0
  96. package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
  97. package/dist/chunk-E7GGDLAH.cjs.map +1 -0
  98. package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
  99. package/dist/chunk-EQPBR3BE.cjs.map +1 -0
  100. package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
  101. package/dist/chunk-ERZEQ5JR.js.map +1 -0
  102. package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
  103. package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
  104. package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
  105. package/dist/chunk-FEAE6L3K.cjs.map +1 -0
  106. package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
  107. package/dist/chunk-FVU7WU2H.cjs.map +1 -0
  108. package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
  109. package/dist/chunk-FW5GBBKL.js.map +1 -0
  110. package/dist/chunk-G2SWCC3X.js +90 -0
  111. package/dist/chunk-G2SWCC3X.js.map +1 -0
  112. package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
  113. package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
  114. package/dist/{chunk-KH6BHTXN.js → chunk-HGKDXF35.js} +59 -108
  115. package/dist/chunk-HGKDXF35.js.map +1 -0
  116. package/dist/chunk-HITKHHWN.cjs +174 -0
  117. package/dist/chunk-HITKHHWN.cjs.map +1 -0
  118. package/dist/chunk-HQO572JW.cjs +34 -0
  119. package/dist/chunk-HQO572JW.cjs.map +1 -0
  120. package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
  121. package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
  122. package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
  123. package/dist/chunk-HZDVMHU6.js.map +1 -0
  124. package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
  125. package/dist/chunk-ICWUR5WA.cjs.map +1 -0
  126. package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
  127. package/dist/chunk-IQFNHQWP.cjs.map +1 -0
  128. package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
  129. package/dist/chunk-IZ4QM7O4.js.map +1 -0
  130. package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
  131. package/dist/chunk-J5JCXSAS.cjs.map +1 -0
  132. package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
  133. package/dist/chunk-JI7HLIDL.cjs.map +1 -0
  134. package/dist/chunk-JWISA775.cjs +92 -0
  135. package/dist/chunk-JWISA775.cjs.map +1 -0
  136. package/dist/chunk-K3BLXPLA.cjs +16 -0
  137. package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
  138. package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
  139. package/dist/chunk-KATUDT3E.js.map +1 -0
  140. package/dist/chunk-KGBWWS6I.js +32 -0
  141. package/dist/chunk-KGBWWS6I.js.map +1 -0
  142. package/dist/chunk-KQENBXPS.cjs +34 -0
  143. package/dist/chunk-KQENBXPS.cjs.map +1 -0
  144. package/dist/chunk-KTKJD4DM.js +60 -0
  145. package/dist/chunk-KTKJD4DM.js.map +1 -0
  146. package/dist/chunk-LNZP2O4P.js +169 -0
  147. package/dist/chunk-LNZP2O4P.js.map +1 -0
  148. package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
  149. package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
  150. package/dist/chunk-N4COL54U.cjs +22 -0
  151. package/dist/chunk-N4COL54U.cjs.map +1 -0
  152. package/dist/chunk-NFJKJGXR.js +397 -0
  153. package/dist/chunk-NFJKJGXR.js.map +1 -0
  154. package/dist/chunk-NH2TQGRL.cjs +28 -0
  155. package/dist/chunk-NH2TQGRL.cjs.map +1 -0
  156. package/dist/{chunk-XMC355U2.js → chunk-NHYL5QPM.js} +17 -3
  157. package/dist/chunk-NHYL5QPM.js.map +1 -0
  158. package/dist/{chunk-WFXW4XU3.js → chunk-ON4ILCHP.js} +899 -555
  159. package/dist/chunk-ON4ILCHP.js.map +1 -0
  160. package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
  161. package/dist/chunk-PLF4JX5B.cjs.map +1 -0
  162. package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
  163. package/dist/chunk-QNF3L4B7.js.map +1 -0
  164. package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
  165. package/dist/chunk-RBN3ITTM.js.map +1 -0
  166. package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
  167. package/dist/chunk-RXYT7EMN.cjs.map +1 -0
  168. package/dist/chunk-S46FMY4G.cjs +64 -0
  169. package/dist/chunk-S46FMY4G.cjs.map +1 -0
  170. package/dist/chunk-S6BWQKHJ.cjs +116 -0
  171. package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
  172. package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
  173. package/dist/chunk-SFTI6QFB.cjs.map +1 -0
  174. package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
  175. package/dist/chunk-SNP577FA.cjs.map +1 -0
  176. package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
  177. package/dist/chunk-SUVM3S2T.cjs.map +1 -0
  178. package/dist/chunk-SYZ5OFNT.js +114 -0
  179. package/dist/chunk-SYZ5OFNT.js.map +1 -0
  180. package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
  181. package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
  182. package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
  183. package/dist/chunk-TBHJQCAE.js.map +1 -0
  184. package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
  185. package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
  186. package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
  187. package/dist/chunk-UVX733BX.js.map +1 -0
  188. package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
  189. package/dist/chunk-V6FT3RTU.cjs.map +1 -0
  190. package/dist/{chunk-35MODDCL.cjs → chunk-VB56OVFM.cjs} +59 -111
  191. package/dist/chunk-VB56OVFM.cjs.map +1 -0
  192. package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
  193. package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
  194. package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
  195. package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
  196. package/dist/{chunk-3KEVPUSX.cjs → chunk-WUJ53PP7.cjs} +17 -3
  197. package/dist/chunk-WUJ53PP7.cjs.map +1 -0
  198. package/dist/chunk-YDOSWWE4.cjs +419 -0
  199. package/dist/chunk-YDOSWWE4.cjs.map +1 -0
  200. package/dist/chunk-YGEJDWGG.js +19 -0
  201. package/dist/chunk-YGEJDWGG.js.map +1 -0
  202. package/dist/constants/index.cjs +16 -164
  203. package/dist/constants/index.cjs.map +1 -1
  204. package/dist/constants/index.d.cts +14 -1
  205. package/dist/constants/index.d.ts +14 -1
  206. package/dist/constants/index.js +2 -163
  207. package/dist/constants/index.js.map +1 -1
  208. package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
  209. package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
  210. package/dist/{createGenericFetchClient-Df_wFqT8.d.cts → createGenericFetchClient-JcbIIqwF.d.cts} +1 -1
  211. package/dist/{createGenericFetchClient-Sl1DH71J.d.ts → createGenericFetchClient-ZGG5wbAC.d.ts} +1 -1
  212. package/dist/{createOpenapiFetchClient-GZxZgYHd.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +2 -2
  213. package/dist/{createOpenapiFetchClient-BSy6dVM5.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +2 -2
  214. package/dist/dataScience/index.cjs +6 -5
  215. package/dist/dataScience/index.d.cts +8 -6
  216. package/dist/dataScience/index.d.ts +8 -6
  217. package/dist/dataScience/index.js +4 -3
  218. package/dist/dataScience/types.d.cts +2172 -2
  219. package/dist/dataScience/types.d.ts +2172 -2
  220. package/dist/domain/permissions/index.cjs +3 -3
  221. package/dist/domain/permissions/index.d.cts +5 -4
  222. package/dist/domain/permissions/index.d.ts +5 -4
  223. package/dist/domain/permissions/index.js +1 -1
  224. package/dist/editor/index.cjs +4 -4
  225. package/dist/editor/index.d.cts +6 -3
  226. package/dist/editor/index.d.ts +6 -3
  227. package/dist/editor/index.js +3 -3
  228. package/dist/editor/types.d.cts +2 -2
  229. package/dist/editor/types.d.ts +2 -2
  230. package/dist/encryption/index.cjs +3 -3
  231. package/dist/encryption/index.d.cts +6 -4
  232. package/dist/encryption/index.d.ts +6 -4
  233. package/dist/encryption/index.js +2 -2
  234. package/dist/encryption/types.d.cts +4 -3
  235. package/dist/encryption/types.d.ts +4 -3
  236. package/dist/import/index.cjs +4 -4
  237. package/dist/import/index.d.cts +6 -3
  238. package/dist/import/index.d.ts +6 -3
  239. package/dist/import/index.js +3 -3
  240. package/dist/index.cjs +228 -135
  241. package/dist/index.cjs.map +1 -1
  242. package/dist/index.d.cts +952 -463
  243. package/dist/index.d.ts +952 -463
  244. package/dist/index.js +98 -46
  245. package/dist/index.js.map +1 -1
  246. package/dist/management/index.cjs +5 -5
  247. package/dist/management/index.d.cts +62 -69
  248. package/dist/management/index.d.ts +62 -69
  249. package/dist/management/index.js +3 -3
  250. package/dist/management/types.d.cts +3 -3
  251. package/dist/management/types.d.ts +3 -3
  252. package/dist/metastore/index.cjs +4 -4
  253. package/dist/metastore/index.d.cts +6 -7
  254. package/dist/metastore/index.d.ts +6 -7
  255. package/dist/metastore/index.js +3 -3
  256. package/dist/metastore/types.d.cts +2 -2
  257. package/dist/metastore/types.d.ts +2 -2
  258. package/dist/notifications/index.cjs +5 -5
  259. package/dist/notifications/index.d.cts +4 -3
  260. package/dist/notifications/index.d.ts +4 -3
  261. package/dist/notifications/index.js +4 -4
  262. package/dist/notifications/types.d.cts +2 -2
  263. package/dist/notifications/types.d.ts +2 -2
  264. package/dist/oauth/index.cjs +4 -4
  265. package/dist/oauth/index.d.cts +3 -2
  266. package/dist/oauth/index.d.ts +3 -2
  267. package/dist/oauth/index.js +3 -3
  268. package/dist/oauth/types.d.cts +1 -1
  269. package/dist/oauth/types.d.ts +1 -1
  270. package/dist/omnisearch/index.cjs +14 -0
  271. package/dist/omnisearch/index.cjs.map +1 -0
  272. package/dist/omnisearch/index.d.cts +32 -0
  273. package/dist/omnisearch/index.d.ts +32 -0
  274. package/dist/omnisearch/index.js +5 -0
  275. package/dist/omnisearch/index.js.map +1 -0
  276. package/dist/omnisearch/types.cjs +4 -0
  277. package/dist/omnisearch/types.cjs.map +1 -0
  278. package/dist/omnisearch/types.d.cts +3 -0
  279. package/dist/omnisearch/types.d.ts +3 -0
  280. package/dist/omnisearch/types.js +3 -0
  281. package/dist/omnisearch/types.js.map +1 -0
  282. package/dist/{project-DmC8vKnh.d.ts → project-Dmr-zrQG.d.ts} +2 -2
  283. package/dist/{project-CSJzVylj.d.cts → project-DstzWVMN.d.cts} +2 -2
  284. package/dist/queryService/index.cjs +4 -4
  285. package/dist/queryService/index.d.cts +4 -3
  286. package/dist/queryService/index.d.ts +4 -3
  287. package/dist/queryService/index.js +3 -3
  288. package/dist/queryService/types.d.cts +2 -2
  289. package/dist/queryService/types.d.ts +2 -2
  290. package/dist/queue/index.cjs +4 -4
  291. package/dist/queue/index.d.cts +9 -3
  292. package/dist/queue/index.d.ts +9 -3
  293. package/dist/queue/index.js +3 -3
  294. package/dist/queue/types.d.cts +2 -2
  295. package/dist/queue/types.d.ts +2 -2
  296. package/dist/scheduler/index.cjs +5 -5
  297. package/dist/scheduler/index.d.cts +3 -2
  298. package/dist/scheduler/index.d.ts +3 -2
  299. package/dist/scheduler/index.js +4 -4
  300. package/dist/scheduler/types.d.cts +3 -3
  301. package/dist/scheduler/types.d.ts +3 -3
  302. package/dist/sdk/configurations/index.cjs +3 -3
  303. package/dist/sdk/configurations/index.d.cts +9 -8
  304. package/dist/sdk/configurations/index.d.ts +9 -8
  305. package/dist/sdk/configurations/index.js +2 -2
  306. package/dist/sdk/queryService/index.cjs +16 -0
  307. package/dist/sdk/queryService/index.cjs.map +1 -0
  308. package/dist/sdk/queryService/index.d.cts +35 -0
  309. package/dist/sdk/queryService/index.d.ts +35 -0
  310. package/dist/sdk/queryService/index.js +7 -0
  311. package/dist/sdk/queryService/index.js.map +1 -0
  312. package/dist/sdk/semanticLayer/index.cjs +18 -14
  313. package/dist/sdk/semanticLayer/index.d.cts +26 -11
  314. package/dist/sdk/semanticLayer/index.d.ts +26 -11
  315. package/dist/sdk/semanticLayer/index.js +2 -2
  316. package/dist/sdk/semanticLayer/types.d.cts +26 -6
  317. package/dist/sdk/semanticLayer/types.d.ts +26 -6
  318. package/dist/sdk/storage/index.cjs +12 -11
  319. package/dist/sdk/storage/index.d.cts +9 -8
  320. package/dist/sdk/storage/index.d.ts +9 -8
  321. package/dist/sdk/storage/index.js +2 -1
  322. package/dist/sdk/tag/index.cjs +3 -3
  323. package/dist/sdk/tag/index.d.cts +4 -4
  324. package/dist/sdk/tag/index.d.ts +4 -4
  325. package/dist/sdk/tag/index.js +2 -2
  326. package/dist/sdk/tag/types.d.cts +11 -5
  327. package/dist/sdk/tag/types.d.ts +11 -5
  328. package/dist/sdk/vault/index.cjs +8 -8
  329. package/dist/sdk/vault/index.d.cts +6 -5
  330. package/dist/sdk/vault/index.d.ts +6 -5
  331. package/dist/sdk/vault/index.js +2 -2
  332. package/dist/status/index.cjs +2 -2
  333. package/dist/status/index.d.cts +1 -1
  334. package/dist/status/index.d.ts +1 -1
  335. package/dist/status/index.js +1 -1
  336. package/dist/storage/index.cjs +59 -12
  337. package/dist/storage/index.d.cts +21 -22
  338. package/dist/storage/index.d.ts +21 -22
  339. package/dist/storage/index.js +8 -5
  340. package/dist/storage/types.d.cts +741 -390
  341. package/dist/storage/types.d.ts +741 -390
  342. package/dist/{storageClient-B4OooGB9.d.ts → storageClient-BAid0vi2.d.cts} +482 -250
  343. package/dist/{storageClient-CdFqTbn3.d.cts → storageClient-BX50Attd.d.ts} +482 -250
  344. package/dist/{storageSdk-DA7U-1Hy.d.ts → storageSdk-BS5982c_.d.cts} +23 -16
  345. package/dist/{storageSdk-U45zMbUb.d.cts → storageSdk-BeJcnEIO.d.ts} +23 -16
  346. package/dist/stream/index.cjs +4 -4
  347. package/dist/stream/index.d.cts +4 -3
  348. package/dist/stream/index.d.ts +4 -3
  349. package/dist/stream/index.js +3 -3
  350. package/dist/stream/types.d.cts +2 -2
  351. package/dist/stream/types.d.ts +2 -2
  352. package/dist/syncActions/index.cjs +9 -4
  353. package/dist/syncActions/index.d.cts +55 -80
  354. package/dist/syncActions/index.d.ts +55 -80
  355. package/dist/syncActions/index.js +8 -3
  356. package/dist/syncActions/types.d.cts +387 -25
  357. package/dist/syncActions/types.d.ts +387 -25
  358. package/dist/telemetry/index.cjs +4 -4
  359. package/dist/telemetry/index.d.cts +2 -2
  360. package/dist/telemetry/index.d.ts +2 -2
  361. package/dist/telemetry/index.js +3 -3
  362. package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
  363. package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
  364. package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
  365. package/dist/types-BcaALDYY.d.cts +2130 -0
  366. package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
  367. package/dist/types-Bp8d9PJf.d.cts +607 -0
  368. package/dist/types-BsejtGjZ.d.ts +2130 -0
  369. package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
  370. package/dist/{types-WGZN6XLN.d.cts → types-C5DdOzx8.d.cts} +1 -1
  371. package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
  372. package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
  373. package/dist/{types-Brc6lq7i.d.ts → types-C_jxWM7A.d.ts} +1 -1
  374. package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
  375. package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
  376. package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
  377. package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
  378. package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
  379. package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
  380. package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
  381. package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
  382. package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
  383. package/dist/types-DOc5_aYZ.d.ts +607 -0
  384. package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
  385. package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
  386. package/dist/{types-BhlJw2f2.d.ts → types-EZBBpiFU.d.ts} +886 -114
  387. package/dist/{types-DNg4M5JV.d.cts → types-UwuKN9Kx.d.cts} +1 -1
  388. package/dist/{types-DNg4M5JV.d.ts → types-UwuKN9Kx.d.ts} +1 -1
  389. package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
  390. package/dist/{types-DVhcwrwN.d.cts → types-cxk-0ftN.d.cts} +886 -114
  391. package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
  392. package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
  393. package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
  394. package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
  395. package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
  396. package/dist/vault/index.cjs +4 -4
  397. package/dist/vault/index.d.cts +3 -2
  398. package/dist/vault/index.d.ts +3 -2
  399. package/dist/vault/index.js +3 -3
  400. package/dist/vault/types.d.cts +3 -3
  401. package/dist/vault/types.d.ts +3 -3
  402. package/package.json +71 -3
  403. package/surface/ai.md +1 -0
  404. package/surface/apps.md +32 -0
  405. package/surface/auth.md +6 -4
  406. package/surface/chat.md +2 -1
  407. package/surface/dataScience.md +1 -0
  408. package/surface/editor.md +1 -0
  409. package/surface/encryption.md +1 -0
  410. package/surface/import.md +1 -0
  411. package/surface/kaiAgent.md +2 -1
  412. package/surface/management.md +17 -16
  413. package/surface/metastore.md +2 -1
  414. package/surface/notifications.md +1 -0
  415. package/surface/oauth.md +1 -0
  416. package/surface/omnisearch.md +9 -0
  417. package/surface/queryService.md +1 -0
  418. package/surface/queue.md +8 -7
  419. package/surface/scheduler.md +1 -0
  420. package/surface/sdk.md +17 -17
  421. package/surface/storage.md +125 -88
  422. package/surface/stream.md +1 -0
  423. package/surface/syncActions.md +19 -7
  424. package/surface/vault.md +1 -0
  425. package/dist/chunk-34GM6NXB.js.map +0 -1
  426. package/dist/chunk-35MODDCL.cjs.map +0 -1
  427. package/dist/chunk-3BFPNM2J.js.map +0 -1
  428. package/dist/chunk-3FZHFTLG.cjs +0 -12
  429. package/dist/chunk-3FZHFTLG.cjs.map +0 -1
  430. package/dist/chunk-3KEVPUSX.cjs.map +0 -1
  431. package/dist/chunk-3MTY6I2W.js +0 -192
  432. package/dist/chunk-3MTY6I2W.js.map +0 -1
  433. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  434. package/dist/chunk-4VVF2PIX.js.map +0 -1
  435. package/dist/chunk-77LILJYX.js.map +0 -1
  436. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  437. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  438. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  439. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  440. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  441. package/dist/chunk-AXEANGGK.js +0 -226
  442. package/dist/chunk-AXEANGGK.js.map +0 -1
  443. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  444. package/dist/chunk-BZA3FGO6.js.map +0 -1
  445. package/dist/chunk-CV2JGHBN.js.map +0 -1
  446. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  447. package/dist/chunk-D3ZZQIY2.cjs.map +0 -1
  448. package/dist/chunk-D6O5C67S.js.map +0 -1
  449. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  450. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  451. package/dist/chunk-G66EP527.js.map +0 -1
  452. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  453. package/dist/chunk-GM3AKU5T.js +0 -10
  454. package/dist/chunk-GM3AKU5T.js.map +0 -1
  455. package/dist/chunk-HMCZUHR7.js.map +0 -1
  456. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  457. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  458. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  459. package/dist/chunk-KH6BHTXN.js.map +0 -1
  460. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  461. package/dist/chunk-L262THNK.cjs +0 -253
  462. package/dist/chunk-L262THNK.cjs.map +0 -1
  463. package/dist/chunk-LD3JERYP.js.map +0 -1
  464. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  465. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  466. package/dist/chunk-NVRVPWNY.js.map +0 -1
  467. package/dist/chunk-OUSPQ55W.js.map +0 -1
  468. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  469. package/dist/chunk-QZKDBVAU.cjs +0 -1482
  470. package/dist/chunk-QZKDBVAU.cjs.map +0 -1
  471. package/dist/chunk-S4JK7DKM.js.map +0 -1
  472. package/dist/chunk-SJZ66FD5.js.map +0 -1
  473. package/dist/chunk-T242YFMT.cjs.map +0 -1
  474. package/dist/chunk-UABYNGBZ.js.map +0 -1
  475. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  476. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  477. package/dist/chunk-WFXW4XU3.js.map +0 -1
  478. package/dist/chunk-XHDYLUM4.js.map +0 -1
  479. package/dist/chunk-XIIER7QQ.js.map +0 -1
  480. package/dist/chunk-XKIENBIE.js.map +0 -1
  481. package/dist/chunk-XMC355U2.js.map +0 -1
  482. package/dist/chunk-Y44G2VDC.cjs +0 -214
  483. package/dist/chunk-Y44G2VDC.cjs.map +0 -1
  484. package/dist/utils-B_SOM1XR.d.ts +0 -3051
  485. package/dist/utils-DK7uJcmR.d.cts +0 -3051
@@ -1,3051 +0,0 @@
1
- import { d as OpenapiPathType, c as OpenapiQueryType, O as OpenapiBodyType, b as OpenapiReturnType } from './types-gcShAmmi.js';
2
-
3
- /**
4
- * This file was auto-generated by openapi-typescript.
5
- * Do not make direct changes to the file.
6
- */
7
-
8
- type paths = {
9
- '/': {
10
- parameters: {
11
- query?: never;
12
- header?: never;
13
- path?: never;
14
- cookie?: never;
15
- };
16
- /**
17
- * Service metadata
18
- * @description Returns the service name, version and a link to this API specification.
19
- * No authentication required.
20
- */
21
- get: operations['index'];
22
- put?: never;
23
- post?: never;
24
- delete?: never;
25
- options?: never;
26
- head?: never;
27
- patch?: never;
28
- trace?: never;
29
- };
30
- '/health-check': {
31
- parameters: {
32
- query?: never;
33
- header?: never;
34
- path?: never;
35
- cookie?: never;
36
- };
37
- /**
38
- * Health-check endpoint
39
- * @description Checks the service is up & running. No authentication required.
40
- */
41
- get: operations['healthCheck'];
42
- put?: never;
43
- post?: never;
44
- delete?: never;
45
- options?: never;
46
- head?: never;
47
- patch?: never;
48
- trace?: never;
49
- };
50
- '/git/repository': {
51
- parameters: {
52
- query?: never;
53
- header?: never;
54
- path?: never;
55
- cookie?: never;
56
- };
57
- get?: never;
58
- put?: never;
59
- /**
60
- * List git repository branches
61
- * @description Clone repository without checkout and list remote branches.
62
- */
63
- post: operations['gitRepository'];
64
- delete?: never;
65
- options?: never;
66
- head?: never;
67
- patch?: never;
68
- trace?: never;
69
- };
70
- '/git/entrypoints': {
71
- parameters: {
72
- query?: never;
73
- header?: never;
74
- path?: never;
75
- cookie?: never;
76
- };
77
- get?: never;
78
- put?: never;
79
- /**
80
- * List repository entrypoints
81
- * @description Checkout repository root and list files in root directory.
82
- */
83
- post: operations['gitEntrypoints'];
84
- delete?: never;
85
- options?: never;
86
- head?: never;
87
- patch?: never;
88
- trace?: never;
89
- };
90
- '/apps': {
91
- parameters: {
92
- query?: never;
93
- header?: never;
94
- path?: never;
95
- cookie?: never;
96
- };
97
- /**
98
- * List apps
99
- * @description List project apps.
100
- */
101
- get: operations['listApps'];
102
- put?: never;
103
- /**
104
- * Create app
105
- * @description Create new app
106
- */
107
- post: operations['createApp'];
108
- delete?: never;
109
- options?: never;
110
- head?: never;
111
- patch?: never;
112
- trace?: never;
113
- };
114
- '/apps/{appId}': {
115
- parameters: {
116
- query?: never;
117
- header?: never;
118
- path?: never;
119
- cookie?: never;
120
- };
121
- /**
122
- * Get app detail
123
- * @description Get app detail.
124
- */
125
- get: operations['getApp'];
126
- put?: never;
127
- post?: never;
128
- /**
129
- * Delete app
130
- * @description Delete app
131
- */
132
- delete: operations['deleteApp'];
133
- options?: never;
134
- head?: never;
135
- /**
136
- * Update app state
137
- * @description Update app state.
138
- * Accepts a Storage API token, or a Manage API application token with the `apps:proxy` scope.
139
- */
140
- patch: operations['patchApp'];
141
- trace?: never;
142
- };
143
- '/apps/{appId}/proxy-config': {
144
- parameters: {
145
- query?: never;
146
- header?: never;
147
- path?: never;
148
- cookie?: never;
149
- };
150
- /**
151
- * Get proxy config for the app
152
- * @description Get proxy config for the app.
153
- * Requires a Manage API application token with the `apps:proxy` scope (or an equivalent ServiceAccount token).
154
- */
155
- get: operations['getAppProxyConfig'];
156
- put?: never;
157
- post?: never;
158
- delete?: never;
159
- options?: never;
160
- head?: never;
161
- patch?: never;
162
- trace?: never;
163
- };
164
- '/apps/{appId}/password': {
165
- parameters: {
166
- query?: never;
167
- header?: never;
168
- path?: never;
169
- cookie?: never;
170
- };
171
- /**
172
- * Get app password
173
- * @description Returns app password. Currently applicable only for apps with auth type `password`.
174
- */
175
- get: operations['getAppPassword'];
176
- put?: never;
177
- post?: never;
178
- delete?: never;
179
- options?: never;
180
- head?: never;
181
- patch?: never;
182
- trace?: never;
183
- };
184
- '/apps/{appId}/reset-password': {
185
- parameters: {
186
- query?: never;
187
- header?: never;
188
- path?: never;
189
- cookie?: never;
190
- };
191
- get?: never;
192
- put?: never;
193
- /**
194
- * Reset app password
195
- * @description Reset app password.
196
- */
197
- post: operations['resetAppPassword'];
198
- delete?: never;
199
- options?: never;
200
- head?: never;
201
- patch?: never;
202
- trace?: never;
203
- };
204
- '/apps/{appId}/git-repo': {
205
- parameters: {
206
- query?: never;
207
- header?: never;
208
- path?: never;
209
- cookie?: never;
210
- };
211
- /**
212
- * Get details of the app's configured Git repository
213
- * @description Returns details of the Git repository configured in the app's config
214
- * (`parameters.dataApp.git`). For managed Git repositories both `sshUrl`
215
- * and `httpsUrl` are returned, fetched from the upstream git-service. For
216
- * externally configured repositories only the URL matching the configured
217
- * protocol is returned and the other field is `null`; any embedded
218
- * credentials are stripped.
219
- */
220
- get: operations['getAppGitRepo'];
221
- put?: never;
222
- post?: never;
223
- delete?: never;
224
- options?: never;
225
- head?: never;
226
- patch?: never;
227
- trace?: never;
228
- };
229
- '/apps/{appId}/git-repo/credentials': {
230
- parameters: {
231
- query?: never;
232
- header?: never;
233
- path?: never;
234
- cookie?: never;
235
- };
236
- /**
237
- * List credentials for managed Git repository
238
- * @description Lists non-deleted credentials for the app's managed Git repository.
239
- * Requires an admin storage API token.
240
- */
241
- get: operations['listAppGitRepoCredentials'];
242
- put?: never;
243
- /**
244
- * Create credential for managed Git repository
245
- * @description Creates a credential (SSH key or HTTP token) for the app's managed Git repository.
246
- * For `http_token` credentials, the response includes a one-time `secret`
247
- * that is not returned on subsequent reads. Requires an admin storage API token.
248
- */
249
- post: operations['createAppGitRepoCredential'];
250
- delete?: never;
251
- options?: never;
252
- head?: never;
253
- patch?: never;
254
- trace?: never;
255
- };
256
- '/apps/{appId}/git-repo/credentials/{credentialId}': {
257
- parameters: {
258
- query?: never;
259
- header?: never;
260
- path?: never;
261
- cookie?: never;
262
- };
263
- /**
264
- * Get credential detail
265
- * @description Returns details of a credential registered with the app's managed Git repository.
266
- * The response never contains the one-time `secret` field. Requires an admin storage API token.
267
- */
268
- get: operations['getAppGitRepoCredential'];
269
- put?: never;
270
- post?: never;
271
- /**
272
- * Revoke and remove a credential
273
- * @description Revokes a credential on git-service and soft-deletes the local row.
274
- * Tolerates git-service 404 as already-removed. Requires an admin storage API token.
275
- */
276
- delete: operations['deleteAppGitRepoCredential'];
277
- options?: never;
278
- head?: never;
279
- patch?: never;
280
- trace?: never;
281
- };
282
- '/apps/{appId}/logs/download': {
283
- parameters: {
284
- query?: never;
285
- header?: never;
286
- path?: never;
287
- cookie?: never;
288
- };
289
- /**
290
- * Download app logs
291
- * @description Download app logs as a file.
292
- */
293
- get: operations['downloadAppLogs'];
294
- put?: never;
295
- post?: never;
296
- delete?: never;
297
- options?: never;
298
- head?: never;
299
- patch?: never;
300
- trace?: never;
301
- };
302
- '/apps/{appId}/logs/tail': {
303
- parameters: {
304
- query?: never;
305
- header?: never;
306
- path?: never;
307
- cookie?: never;
308
- };
309
- /**
310
- * Tail app logs
311
- * @description Tail app logs.
312
- */
313
- get: operations['tailAppLogs'];
314
- put?: never;
315
- post?: never;
316
- delete?: never;
317
- options?: never;
318
- head?: never;
319
- patch?: never;
320
- trace?: never;
321
- };
322
- '/apps/{appId}/runs': {
323
- parameters: {
324
- query?: never;
325
- header?: never;
326
- path?: never;
327
- cookie?: never;
328
- };
329
- /**
330
- * List app runs
331
- * @description List app runs for a specific app.
332
- */
333
- get: operations['listAppRuns'];
334
- put?: never;
335
- post?: never;
336
- delete?: never;
337
- options?: never;
338
- head?: never;
339
- patch?: never;
340
- trace?: never;
341
- };
342
- '/apps/{appId}/runs/{runId}': {
343
- parameters: {
344
- query?: never;
345
- header?: never;
346
- path?: never;
347
- cookie?: never;
348
- };
349
- /**
350
- * Get app run detail
351
- * @description Get detailed information about a specific app run.
352
- */
353
- get: operations['getAppRun'];
354
- put?: never;
355
- post?: never;
356
- delete?: never;
357
- options?: never;
358
- head?: never;
359
- patch?: never;
360
- trace?: never;
361
- };
362
- '/sandboxes': {
363
- parameters: {
364
- query?: never;
365
- header?: never;
366
- path?: never;
367
- cookie?: never;
368
- };
369
- get?: never;
370
- put?: never;
371
- /**
372
- * Create sandbox
373
- * @description This endpoint is intended to create Python/R Sandboxes.
374
- */
375
- post: operations['createSandbox'];
376
- delete?: never;
377
- options?: never;
378
- head?: never;
379
- patch?: never;
380
- trace?: never;
381
- };
382
- '/sandboxes/{appId}': {
383
- parameters: {
384
- query?: never;
385
- header?: never;
386
- path?: never;
387
- cookie?: never;
388
- };
389
- /**
390
- * Get sandbox
391
- * @description This endpoint is intended to get details for Python/R Sandboxes.
392
- */
393
- get: operations['getSandbox'];
394
- put?: never;
395
- post?: never;
396
- /**
397
- * Delete sandbox
398
- * @description This endpoint is intended to delete Python/R Sandboxes.
399
- */
400
- delete: operations['deleteSandbox'];
401
- options?: never;
402
- head?: never;
403
- /**
404
- * Update sandbox
405
- * @description This endpoint is intended to update Python/R Sandboxes.
406
- */
407
- patch: operations['patchSandbox'];
408
- trace?: never;
409
- };
410
- '/sandboxes/project': {
411
- parameters: {
412
- query?: never;
413
- header?: never;
414
- path?: never;
415
- cookie?: never;
416
- };
417
- /**
418
- * Get current project
419
- * @description Get the project resolved from the Storage API token, including its persistent storage status.
420
- */
421
- get: operations['getCurrentProject'];
422
- put?: never;
423
- post?: never;
424
- delete?: never;
425
- options?: never;
426
- head?: never;
427
- patch?: never;
428
- trace?: never;
429
- };
430
- '/runtimes': {
431
- parameters: {
432
- query?: never;
433
- header?: never;
434
- path?: never;
435
- cookie?: never;
436
- };
437
- /**
438
- * List Runtimes
439
- * @description List of registered runtimes. No authentication required.
440
- */
441
- get: operations['listRuntimes'];
442
- put?: never;
443
- post?: never;
444
- delete?: never;
445
- options?: never;
446
- head?: never;
447
- patch?: never;
448
- trace?: never;
449
- };
450
- '/v2/apps': {
451
- parameters: {
452
- query?: never;
453
- header?: never;
454
- path?: never;
455
- cookie?: never;
456
- };
457
- /**
458
- * [v2, EXPERIMENTAL] List apps
459
- * @description **Stub — returns `501`.** Once implemented: lists apps for the project, each
460
- * including `production {desired, actual}` and `undeployedChanges` (whether the
461
- * production deployment's inputs differ from the current config version / branch
462
- * HEAD).
463
- */
464
- get: operations['listAppsV2'];
465
- put?: never;
466
- /**
467
- * [v2, EXPERIMENTAL] Create app
468
- * @description **Stub — returns `501`.** Once implemented: creates the app row plus its AppGroup
469
- * CR (the product's Kubernetes object); the app starts with `production: null` —
470
- * its URL is reserved but publicly 404s until a deployment is promoted.
471
- */
472
- post: operations['createAppV2'];
473
- delete?: never;
474
- options?: never;
475
- head?: never;
476
- patch?: never;
477
- trace?: never;
478
- };
479
- '/v2/apps/{appId}': {
480
- parameters: {
481
- query?: never;
482
- header?: never;
483
- path?: never;
484
- cookie?: never;
485
- };
486
- /**
487
- * [v2, EXPERIMENTAL] Get app detail
488
- * @description **Stub — returns `501`.** Once implemented: same shape as the list entry, incl.
489
- * `production {desired, actual}` and `undeployedChanges`.
490
- */
491
- get: operations['getAppV2'];
492
- put?: never;
493
- post?: never;
494
- /**
495
- * [v2, EXPERIMENTAL] Delete app
496
- * @description **Stub — returns `501`.** Once implemented: deletes the AppGroup CR, cascading to
497
- * every deployment, Secret and pod owned by it; rows are soft-deleted.
498
- */
499
- delete: operations['deleteAppV2'];
500
- options?: never;
501
- head?: never;
502
- /**
503
- * [v2, EXPERIMENTAL] Update app settings
504
- * @description **Stub — returns `501`.** Once implemented: updates plain product settings only
505
- * (e.g. `name`). Per the `/v2` design rule (see API description), operations with
506
- * side effects beyond a plain attribute write — promote, unpublish, suspend, resume
507
- * — are separate action-verb endpoints, not part of this `PATCH`.
508
- */
509
- patch: operations['patchAppV2'];
510
- trace?: never;
511
- };
512
- '/v2/apps/{appId}/unpublish': {
513
- parameters: {
514
- query?: never;
515
- header?: never;
516
- path?: never;
517
- cookie?: never;
518
- };
519
- get?: never;
520
- put?: never;
521
- /**
522
- * [v2, EXPERIMENTAL] Unpublish app
523
- * @description **Stub — returns `501`.** Once implemented: sets `production` to none — routing
524
- * is dropped and the app's URL 404s. Idempotent: unpublishing an already-unpublished
525
- * app is a no-op.
526
- */
527
- post: operations['unpublishAppV2'];
528
- delete?: never;
529
- options?: never;
530
- head?: never;
531
- patch?: never;
532
- trace?: never;
533
- };
534
- '/v2/apps/{appId}/suspend': {
535
- parameters: {
536
- query?: never;
537
- header?: never;
538
- path?: never;
539
- cookie?: never;
540
- };
541
- get?: never;
542
- put?: never;
543
- /**
544
- * [v2, EXPERIMENTAL] Suspend app
545
- * @description **Stub — returns `501`.** Once implemented: sleeps the app's currently serving
546
- * member now, instead of waiting for the idle timer. Not sticky — wake-on-request
547
- * stays armed, so the next visitor resumes it. Idempotent: suspending an
548
- * already-suspended app is a no-op; returns `409` if the app has no serving member
549
- * to suspend.
550
- */
551
- post: operations['suspendAppV2'];
552
- delete?: never;
553
- options?: never;
554
- head?: never;
555
- patch?: never;
556
- trace?: never;
557
- };
558
- '/v2/apps/{appId}/resume': {
559
- parameters: {
560
- query?: never;
561
- header?: never;
562
- path?: never;
563
- cookie?: never;
564
- };
565
- get?: never;
566
- put?: never;
567
- /**
568
- * [v2, EXPERIMENTAL] Resume app
569
- * @description **Stub — returns `501`.** Once implemented: wakes the app's currently serving
570
- * member now (a warm-up), instead of waiting for a visitor to trigger it.
571
- * Idempotent: resuming an already-running app is a no-op; returns `409` if the app
572
- * has no serving member to resume.
573
- */
574
- post: operations['resumeAppV2'];
575
- delete?: never;
576
- options?: never;
577
- head?: never;
578
- patch?: never;
579
- trace?: never;
580
- };
581
- '/v2/apps/{appId}/deployments': {
582
- parameters: {
583
- query?: never;
584
- header?: never;
585
- path?: never;
586
- cookie?: never;
587
- };
588
- /**
589
- * [v2, EXPERIMENTAL] List deployments
590
- * @description **Stub — returns `501`.** Once implemented: full deployment history including
591
- * retired (`archived: true`) deployments — rows outlive their Kubernetes CRs.
592
- */
593
- get: operations['listDeploymentsV2'];
594
- put?: never;
595
- /**
596
- * [v2, EXPERIMENTAL] Create deployment (deploy)
597
- * @description **Stub — returns `501`.** Once implemented: deploys the current config version /
598
- * branch HEAD as a new immutable deployment. `promote: true` by default — deploying
599
- * also promotes to production unless explicitly disabled. The deployment id is
600
- * minted synchronously (deterministic Kubernetes CR name); the display `number` is
601
- * allocated from a per-app DB sequence, also returned synchronously — an optional
602
- * `Idempotency-Key` header makes a retried deploy return the same row instead of a
603
- * duplicate.
604
- */
605
- post: operations['createDeploymentV2'];
606
- delete?: never;
607
- options?: never;
608
- head?: never;
609
- patch?: never;
610
- trace?: never;
611
- };
612
- '/v2/apps/{appId}/deployments/{deploymentId}': {
613
- parameters: {
614
- query?: never;
615
- header?: never;
616
- path?: never;
617
- cookie?: never;
618
- };
619
- /**
620
- * [v2, EXPERIMENTAL] Get deployment detail
621
- * @description **Stub — returns `501`.** Once implemented: deployment detail; served from the DB
622
- * projection, falling through to the Kubernetes CR during the brief sync window
623
- * right after creation (read-your-writes).
624
- */
625
- get: operations['getDeploymentV2'];
626
- put?: never;
627
- post?: never;
628
- /**
629
- * [v2, EXPERIMENTAL] Retire deployment
630
- * @description **Stub — returns `501`.** Once implemented: **retires, does not erase** — deletes
631
- * the member CR and its rendered-config Secret immediately (credential hygiene);
632
- * the row stays in history marked `archived: true` and is re-materializable.
633
- * Deployments have no `PATCH`/`PUT` — they are immutable; retirement is a lifecycle
634
- * transition, not a mutation. `409` if this is the current production deployment
635
- * (promote or roll back to another deployment, or unpublish, before retiring it).
636
- * Row hard-deletion happens only via app deletion.
637
- */
638
- delete: operations['deleteDeploymentV2'];
639
- options?: never;
640
- head?: never;
641
- patch?: never;
642
- trace?: never;
643
- };
644
- '/v2/apps/{appId}/deployments/{deploymentId}/promote': {
645
- parameters: {
646
- query?: never;
647
- header?: never;
648
- path?: never;
649
- cookie?: never;
650
- };
651
- get?: never;
652
- put?: never;
653
- /**
654
- * [v2, EXPERIMENTAL] Promote deployment (promote / rollback)
655
- * @description **Stub — returns `501`.** Once implemented: makes this deployment production.
656
- * Rollback is the same action applied to an older deployment — every repoint is
657
- * audited. Valid only when the target is `READY`; promoting an `archived`
658
- * deployment is allowed (it is re-materialized first). Promotion always validates
659
- * by starting the deployment even when the app is suspended — if that fails, the
660
- * app is left `PromotionBlocked` and production keeps serving the deployment it
661
- * was already serving. Idempotent: promoting the deployment that is already
662
- * production is a no-op. Authorized separately from plain app settings.
663
- */
664
- post: operations['promoteDeploymentV2'];
665
- delete?: never;
666
- options?: never;
667
- head?: never;
668
- patch?: never;
669
- trace?: never;
670
- };
671
- };
672
- type components = {
673
- schemas: {
674
- /**
675
- * @description Git repository request. Provide SSH key or username/password credentials for private repositories,
676
- * or omit auth fields entirely to access a public HTTP(S) repository.
677
- * Sensitive fields (password, sshKey) are write-only and will not be returned in responses.
678
- */
679
- GitRequest:
680
- | components['schemas']['GitRequestWithSshKey']
681
- | components['schemas']['GitRequestWithUsernamePassword']
682
- | components['schemas']['GitRequestPublic'];
683
- /** @description Git request using SSH key authentication. */
684
- GitRequestWithSshKey: {
685
- /** @description Git repository URL (HTTP(S) or SSH format) */
686
- repository: string;
687
- /** @description Optional branch name (default is main for entrypoints) */
688
- branch?: string | null;
689
- /**
690
- * @description SSH private key for repository access in OpenSSH format (must start with -----BEGIN).
691
- * Required when using SSH authentication. Mutually exclusive with username/password.
692
- */
693
- sshKey: string;
694
- };
695
- /** @description Git request using username/password authentication. */
696
- GitRequestWithUsernamePassword: {
697
- /** @description Git repository URL (must be HTTP(S) format for username/password authentication) */
698
- repository: string;
699
- /** @description Optional branch name (default is main for entrypoints) */
700
- branch?: string | null;
701
- /** @description HTTP basic auth username. Required together with password. */
702
- username: string;
703
- /**
704
- * @description HTTP basic auth password. Required together with username.
705
- * Mutually exclusive with sshKey.
706
- */
707
- password: string;
708
- };
709
- /** @description Git request for a public repository without authentication. */
710
- GitRequestPublic: {
711
- /** @description Public Git repository URL. Must be HTTP(S); SSH URLs require an SSH key and are not supported here. */
712
- repository: string;
713
- /** @description Optional branch name (default is main for entrypoints) */
714
- branch?: string | null;
715
- };
716
- GitRepositoryResponse: {
717
- repository: {
718
- /** @description Repository URL without credentials */
719
- url: string;
720
- branches: {
721
- /** @description Branch name */
722
- branch: string;
723
- /** @description Commit message */
724
- comment: string;
725
- /** @description Commit hash (short) */
726
- sha: string;
727
- author: {
728
- /** @description Author name */
729
- name: string;
730
- /**
731
- * @description Author email (normalized, without angle brackets)
732
- * @example user@example.com
733
- */
734
- email: string;
735
- };
736
- /**
737
- * Format: date-time
738
- * @description Author date in ISO8601 format
739
- * @example 2024-01-01T12:00:00+00:00
740
- */
741
- date: string;
742
- }[];
743
- };
744
- };
745
- GitEntrypointsResponse: {
746
- entrypoints: string[];
747
- };
748
- CreateCredentialRequest: {
749
- /** @enum {string} */
750
- type: 'ssh_key' | 'http_token';
751
- /** @description SSH public key. Required iff `type` is `ssh_key`; forbidden otherwise. */
752
- publicKey?: string;
753
- /**
754
- * @description Optional caller-supplied display label.
755
- * @default
756
- */
757
- name: string;
758
- /** @enum {string} */
759
- permissions: 'readOnly' | 'readWrite';
760
- };
761
- Credential: {
762
- /** Format: uuid */
763
- id: string;
764
- /** @enum {string} */
765
- type: 'ssh_key' | 'http_token';
766
- name: string;
767
- /** @enum {string} */
768
- permissions: 'readOnly' | 'readWrite';
769
- ownerAdminId: string;
770
- /** Format: date-time */
771
- createdAt: string;
772
- };
773
- CreatedCredential: components['schemas']['Credential'] & {
774
- /** @description One-time secret returned only at creation for `http_token` credentials. */
775
- secret?: string;
776
- };
777
- CredentialList: {
778
- credentials: components['schemas']['Credential'][];
779
- };
780
- Runtime: {
781
- /** @description Human-readable description of the runtime */
782
- description: string;
783
- /** @description Runtime type (e.g., python, r, streamlit) */
784
- type: string;
785
- /** @description Whether this runtime is the default for its type */
786
- isTypeDefault: boolean;
787
- /**
788
- * Format: date-time
789
- * @description Date when the runtime was released
790
- */
791
- releaseDate: string;
792
- /**
793
- * Format: date-time
794
- * @description Date when the runtime reaches end of life (null if no end date)
795
- */
796
- endOfLifeDate?: string | null;
797
- /** @description Docker image name */
798
- imageName?: string | null;
799
- /** @description Docker image tag */
800
- imageTag?: string | null;
801
- /** @description Transformation component ID (if applicable) */
802
- transformationComponentId?: string | null;
803
- /** @description Transformation component tag (if applicable) */
804
- transformationComponentTag?: string | null;
805
- /** @description Sandbox Docker image name (if different from main image) */
806
- sandboxImageName?: string | null;
807
- /** @description Sandbox Docker image tag (if different from main image) */
808
- sandboxImageTag?: string | null;
809
- };
810
- ExistingApp: {
811
- id: string;
812
- /** @description App type (e.g. streamlit, jupyter, python, python-js) */
813
- type?: string | null;
814
- projectId: string;
815
- componentId: string;
816
- branchId: string | null;
817
- configId: string;
818
- configVersion: string;
819
- /** @enum {string} */
820
- state:
821
- | 'created'
822
- | 'starting'
823
- | 'restarting'
824
- | 'running'
825
- | 'stopping'
826
- | 'stopped'
827
- | 'deleting'
828
- | 'deleted';
829
- /** @enum {string} */
830
- desiredState: 'running' | 'stopped' | 'deleted';
831
- /**
832
- * @description Current run mode for the app. Can be changed via PATCH /apps/{appId}.
833
- * @enum {string}
834
- */
835
- mode: 'prod' | 'dev';
836
- /** Format: date-time */
837
- lastRequestTimestamp: string | null;
838
- /** Format: date-time */
839
- lastStartTimestamp?: string | null;
840
- url?: string | null;
841
- /** @description `0` means whatever default is configured on backend */
842
- autoSuspendAfterSeconds?: number;
843
- /** @description Whether auto-restart is enabled for the app. When disabled, the app can be started only manually by setting `desiredState` to `running`, not by opening the app URL. */
844
- autoRestartEnabled?: boolean;
845
- /** @description App size (e.g. micro, tiny, small, medium, large, external) */
846
- size?: string | null;
847
- /** @description Whether the app has a managed Git repository provisioned by the service. Apps with a managed repository expose additional endpoints under `/apps/{appId}/git-repo/credentials`. */
848
- hasManagedGitRepo?: boolean;
849
- };
850
- /** @description Response schema for sandbox endpoints (GET, POST, PATCH). */
851
- SandboxResponse: {
852
- id?: string;
853
- projectId?: string;
854
- /**
855
- * @deprecated
856
- * @description Always empty string
857
- */
858
- tokenId?: string;
859
- branchId?: string | null;
860
- configurationId?: string;
861
- /**
862
- * @deprecated
863
- * @description Always empty string
864
- */
865
- physicalId?: string;
866
- type?: string;
867
- /** @description Whether the sandbox is currently running. */
868
- active?: boolean;
869
- /** Format: date-time */
870
- createdTimestamp?: string;
871
- /** Format: date-time */
872
- startTimestamp?: string;
873
- /** Format: date-time */
874
- updatedTimestamp?: string;
875
- persistentStorage?: {
876
- pvcName?: string | null;
877
- k8sManifest?: string | null;
878
- /** @description Whether persistent storage is enabled for this sandbox. */
879
- isEnabled?: boolean;
880
- /** @description Whether the project-level persistent storage is ready. */
881
- ready?: boolean | null;
882
- /** @description Kubernetes StorageClass name for the project's persistent storage. */
883
- k8sStorageClassName?: string | null;
884
- };
885
- shared?: boolean;
886
- componentId?: string;
887
- configurationVersion?: string;
888
- size?: string | null;
889
- /**
890
- * Format: date-time
891
- * @deprecated
892
- * @description Always null
893
- */
894
- lastAutosaveTimestamp?: string | null;
895
- /**
896
- * Format: date-time
897
- * @deprecated
898
- * @description Deprecated, always null
899
- */
900
- expirationTimestamp?: string | null;
901
- /** @description Auto-suspend timeout in seconds (defaults to 3600) */
902
- autoSuspendAfterSeconds?: number;
903
- /**
904
- * @deprecated
905
- * @description Deprecated, use autoSuspendAfterSeconds
906
- */
907
- expirationAfterHours?: number;
908
- /**
909
- * @deprecated
910
- * @description Always null
911
- */
912
- user?: string | null;
913
- url?: string | null;
914
- password?: string | null;
915
- /**
916
- * @deprecated
917
- * @description Always null
918
- */
919
- autosaveTokenId?: string | null;
920
- /**
921
- * @deprecated
922
- * @description Deprecated, always null
923
- */
924
- host?: string | null;
925
- imageVersion?: string | null;
926
- packages?: string[] | null;
927
- /**
928
- * @deprecated
929
- * @description Deprecated, always null
930
- */
931
- sizeParameters?: unknown;
932
- /**
933
- * @deprecated
934
- * @description Deprecated, always null
935
- */
936
- stagingWorkspaceId?: unknown;
937
- /**
938
- * @deprecated
939
- * @description Deprecated, always null
940
- */
941
- stagingWorkspaceType?: unknown;
942
- /**
943
- * @deprecated
944
- * @description Deprecated, always null
945
- */
946
- workspaceDetails?: unknown;
947
- /**
948
- * @deprecated
949
- * @description Deprecated, always null
950
- */
951
- databricks?: unknown;
952
- /**
953
- * @deprecated
954
- * @description Deprecated, always null
955
- */
956
- credentials?: unknown;
957
- };
958
- AppRun: {
959
- /** @description Unique identifier for the app run (UUID in RFC 4122 format) */
960
- id: string;
961
- /** @description ID of the app this run belongs to */
962
- appId: string;
963
- /**
964
- * @description Current state of the app run
965
- * @enum {string|null}
966
- */
967
- state?: 'starting' | 'running' | 'failed' | 'finished' | null;
968
- /**
969
- * Format: date-time
970
- * @description Timestamp when the app run was created (ISO 8601 ATOM format)
971
- */
972
- createdAt?: string | null;
973
- /**
974
- * Format: date-time
975
- * @description Timestamp when the app run started (ISO 8601 ATOM format)
976
- */
977
- startedAt?: string | null;
978
- /**
979
- * Format: date-time
980
- * @description Timestamp when the app run stopped (ISO 8601 ATOM format)
981
- */
982
- stoppedAt?: string | null;
983
- /** @description Startup logs from the app run */
984
- startupLogs?: string | null;
985
- /** @description Runtime size used for this app run (e.g., small, medium, large) */
986
- runtimeSize?: string | null;
987
- /** @description Configuration version used for this app run */
988
- configVersion?: string | null;
989
- /** @description User-facing cause of a failed run. Set only when state is "failed". */
990
- failureReason?: {
991
- /** @description Short, stable, machine-readable identifier (UI i18n key) */
992
- reason?: string | null;
993
- /** @description Human-readable description of the failure */
994
- message?: string | null;
995
- } | null;
996
- /**
997
- * @description Run mode this app run was started with
998
- * @default prod
999
- * @enum {string}
1000
- */
1001
- mode: 'prod' | 'dev';
1002
- };
1003
- /** @description Flat error shape used by every v2 endpoint, matching the v1 convention (e.g. 404 → `{"error": "App \"123\" not found"}`). Every stub endpoint currently returns this shape with HTTP 501 — see each operation's `501` response example for its exact message. */
1004
- V2ErrorResponse: {
1005
- error?: string;
1006
- };
1007
- V2App: {
1008
- id: string;
1009
- /**
1010
- * Format: url
1011
- * @description Production URL — stable, unchanged by promote/rollback.
1012
- */
1013
- url: string;
1014
- name?: string;
1015
- /** @description `null` on both fields means the app has never been deployed (URL reserved, publicly 404s). */
1016
- production: {
1017
- /** @description Deployment number most recently asked to be production. */
1018
- desired?: number | null;
1019
- /** @description Deployment number actually serving production traffic right now, per the AppGroup controller's convergence status. */
1020
- actual?: number | null;
1021
- } | null;
1022
- /** @description Whether the production deployment's inputs differ from the current config version / branch HEAD. */
1023
- undeployedChanges?: boolean;
1024
- };
1025
- /** @description Minimal shape — not yet finalized; additional fields may be added before this endpoint is implemented. */
1026
- V2AppCreateRequest: {
1027
- name: string;
1028
- description?: string | null;
1029
- };
1030
- /** @description Plain product settings only — not yet finalized, additional fields may be added before this endpoint is implemented. Promotion, unpublishing, suspend, and resume are separate action-verb endpoints, not part of this shape. */
1031
- V2AppPatchRequest: {
1032
- name?: string;
1033
- };
1034
- V2Deployment: {
1035
- /** @description Deployment id — also the deterministic Kubernetes CR name. */
1036
- id: string;
1037
- /** @description Display/sort number, allocated from a per-app DB sequence. */
1038
- number: number;
1039
- /**
1040
- * @description `BUILDING` is a reserved value for a future build-status distinction; not emitted yet.
1041
- * @enum {string}
1042
- */
1043
- state: 'QUEUED' | 'READY' | 'FAILED';
1044
- /** @description `true` once retired (member CR + rendered-config Secret deleted); the row remains in history and is re-materializable. */
1045
- archived: boolean;
1046
- };
1047
- V2DeploymentCreateRequest: {
1048
- /**
1049
- * @description If true (the default), this deployment is also promoted to production.
1050
- * @default true
1051
- */
1052
- promote: boolean;
1053
- };
1054
- };
1055
- responses: never;
1056
- parameters: never;
1057
- requestBodies: never;
1058
- headers: never;
1059
- pathItems: never;
1060
- };
1061
- type operations = {
1062
- index: {
1063
- parameters: {
1064
- query?: never;
1065
- header?: never;
1066
- path?: never;
1067
- cookie?: never;
1068
- };
1069
- requestBody?: never;
1070
- responses: {
1071
- /** @description Service metadata */
1072
- 200: {
1073
- headers: {
1074
- [name: string]: unknown;
1075
- };
1076
- content: {
1077
- /**
1078
- * @example {
1079
- * "appName": "sandboxes-service",
1080
- * "appVersion": "1.2.3",
1081
- * "apiDocs": "http://localhost/docs/swagger.yaml"
1082
- * }
1083
- */
1084
- 'application/json': {
1085
- appName?: string;
1086
- appVersion?: string;
1087
- /** Format: url */
1088
- apiDocs?: string;
1089
- };
1090
- };
1091
- };
1092
- };
1093
- };
1094
- healthCheck: {
1095
- parameters: {
1096
- query?: never;
1097
- header?: never;
1098
- path?: never;
1099
- cookie?: never;
1100
- };
1101
- requestBody?: never;
1102
- responses: {
1103
- /** @description OK */
1104
- 200: {
1105
- headers: {
1106
- [name: string]: unknown;
1107
- };
1108
- content: {
1109
- 'application/json': {
1110
- api?: string;
1111
- /** Format: url */
1112
- documentation?: string;
1113
- };
1114
- };
1115
- };
1116
- };
1117
- };
1118
- gitRepository: {
1119
- parameters: {
1120
- query?: never;
1121
- header?: never;
1122
- path?: never;
1123
- cookie?: never;
1124
- };
1125
- requestBody: {
1126
- content: {
1127
- 'application/json': components['schemas']['GitRequest'];
1128
- };
1129
- };
1130
- responses: {
1131
- /** @description OK */
1132
- 200: {
1133
- headers: {
1134
- [name: string]: unknown;
1135
- };
1136
- content: {
1137
- 'application/json': components['schemas']['GitRepositoryResponse'];
1138
- };
1139
- };
1140
- /** @description Bad Request */
1141
- 400: {
1142
- headers: {
1143
- [name: string]: unknown;
1144
- };
1145
- content?: never;
1146
- };
1147
- /** @description Unauthorized */
1148
- 401: {
1149
- headers: {
1150
- [name: string]: unknown;
1151
- };
1152
- content?: never;
1153
- };
1154
- /** @description Validation Error */
1155
- 422: {
1156
- headers: {
1157
- [name: string]: unknown;
1158
- };
1159
- content: {
1160
- 'application/json': {
1161
- error?: string;
1162
- violations?: Record<string, never>[];
1163
- };
1164
- };
1165
- };
1166
- };
1167
- };
1168
- gitEntrypoints: {
1169
- parameters: {
1170
- query?: never;
1171
- header?: never;
1172
- path?: never;
1173
- cookie?: never;
1174
- };
1175
- requestBody: {
1176
- content: {
1177
- 'application/json': components['schemas']['GitRequest'];
1178
- };
1179
- };
1180
- responses: {
1181
- /** @description OK */
1182
- 200: {
1183
- headers: {
1184
- [name: string]: unknown;
1185
- };
1186
- content: {
1187
- 'application/json': components['schemas']['GitEntrypointsResponse'];
1188
- };
1189
- };
1190
- /** @description Bad Request */
1191
- 400: {
1192
- headers: {
1193
- [name: string]: unknown;
1194
- };
1195
- content?: never;
1196
- };
1197
- /** @description Unauthorized */
1198
- 401: {
1199
- headers: {
1200
- [name: string]: unknown;
1201
- };
1202
- content?: never;
1203
- };
1204
- /** @description Validation Error */
1205
- 422: {
1206
- headers: {
1207
- [name: string]: unknown;
1208
- };
1209
- content: {
1210
- 'application/json': {
1211
- error?: string;
1212
- violations?: Record<string, never>[];
1213
- };
1214
- };
1215
- };
1216
- };
1217
- };
1218
- listApps: {
1219
- parameters: {
1220
- query?: {
1221
- offset?: number;
1222
- limit?: number;
1223
- /** @description Filter apps by component ID */
1224
- componentId?: string;
1225
- /** @description Filter apps by type (can be specified multiple times) */
1226
- type?: ('bigquery' | 'python' | 'r' | 'snowflake' | 'streamlit' | 'python-js')[];
1227
- /** @description Filter apps by branch ID */
1228
- branchId?: string;
1229
- };
1230
- header?: never;
1231
- path?: never;
1232
- cookie?: never;
1233
- };
1234
- requestBody?: never;
1235
- responses: {
1236
- /** @description OK */
1237
- 200: {
1238
- headers: {
1239
- [name: string]: unknown;
1240
- };
1241
- content: {
1242
- 'application/json': components['schemas']['ExistingApp'][];
1243
- };
1244
- };
1245
- /** @description Unauthorized */
1246
- 401: {
1247
- headers: {
1248
- [name: string]: unknown;
1249
- };
1250
- content?: never;
1251
- };
1252
- /** @description Forbidden */
1253
- 403: {
1254
- headers: {
1255
- [name: string]: unknown;
1256
- };
1257
- content?: never;
1258
- };
1259
- };
1260
- };
1261
- createApp: {
1262
- parameters: {
1263
- query?: never;
1264
- header?: never;
1265
- path?: never;
1266
- cookie?: never;
1267
- };
1268
- /** @description App data */
1269
- requestBody: {
1270
- content: {
1271
- 'application/json': {
1272
- type: string;
1273
- branchId: string | null;
1274
- name: string;
1275
- description?: string | null;
1276
- config?: {
1277
- [key: string]: unknown;
1278
- } | null;
1279
- /**
1280
- * @description If `true`, a managed Git repository is provisioned via the Git Service and linked to the app. Repo creation failure aborts app creation (best-effort rollback). The linked repo is deleted when the app is deleted.
1281
- * @default false
1282
- */
1283
- useManagedGitRepo?: boolean;
1284
- /**
1285
- * @description Initial run mode for the app. Defaults to `prod`. Can be changed later via PATCH /apps/{appId}.
1286
- * @default prod
1287
- * @enum {string}
1288
- */
1289
- mode?: 'prod' | 'dev';
1290
- };
1291
- };
1292
- };
1293
- responses: {
1294
- /** @description OK */
1295
- 200: {
1296
- headers: {
1297
- [name: string]: unknown;
1298
- };
1299
- content: {
1300
- 'application/json': components['schemas']['ExistingApp'];
1301
- };
1302
- };
1303
- /** @description Unauthorized */
1304
- 401: {
1305
- headers: {
1306
- [name: string]: unknown;
1307
- };
1308
- content?: never;
1309
- };
1310
- /** @description Unprocessable Entity */
1311
- 422: {
1312
- headers: {
1313
- [name: string]: unknown;
1314
- };
1315
- content?: never;
1316
- };
1317
- };
1318
- };
1319
- getApp: {
1320
- parameters: {
1321
- query?: never;
1322
- header?: never;
1323
- path: {
1324
- appId: string;
1325
- };
1326
- cookie?: never;
1327
- };
1328
- requestBody?: never;
1329
- responses: {
1330
- /** @description OK */
1331
- 200: {
1332
- headers: {
1333
- [name: string]: unknown;
1334
- };
1335
- content: {
1336
- 'application/json': components['schemas']['ExistingApp'];
1337
- };
1338
- };
1339
- /** @description Unauthorized */
1340
- 401: {
1341
- headers: {
1342
- [name: string]: unknown;
1343
- };
1344
- content?: never;
1345
- };
1346
- /** @description Forbidden */
1347
- 403: {
1348
- headers: {
1349
- [name: string]: unknown;
1350
- };
1351
- content?: never;
1352
- };
1353
- /** @description Not Found */
1354
- 404: {
1355
- headers: {
1356
- [name: string]: unknown;
1357
- };
1358
- content?: never;
1359
- };
1360
- };
1361
- };
1362
- deleteApp: {
1363
- parameters: {
1364
- query?: never;
1365
- header?: never;
1366
- path: {
1367
- appId: string;
1368
- };
1369
- cookie?: never;
1370
- };
1371
- requestBody?: never;
1372
- responses: {
1373
- /** @description Accepted */
1374
- 202: {
1375
- headers: {
1376
- [name: string]: unknown;
1377
- };
1378
- content?: never;
1379
- };
1380
- /** @description Unauthorized */
1381
- 401: {
1382
- headers: {
1383
- [name: string]: unknown;
1384
- };
1385
- content?: never;
1386
- };
1387
- /** @description Forbidden */
1388
- 403: {
1389
- headers: {
1390
- [name: string]: unknown;
1391
- };
1392
- content?: never;
1393
- };
1394
- /** @description Not Found */
1395
- 404: {
1396
- headers: {
1397
- [name: string]: unknown;
1398
- };
1399
- content?: never;
1400
- };
1401
- };
1402
- };
1403
- patchApp: {
1404
- parameters: {
1405
- query?: never;
1406
- header?: never;
1407
- path: {
1408
- appId: string;
1409
- };
1410
- cookie?: never;
1411
- };
1412
- /** @description App state */
1413
- requestBody: {
1414
- content: {
1415
- 'application/json': {
1416
- /** @enum {string} */
1417
- desiredState?: 'running' | 'stopped';
1418
- /** Format: date-time */
1419
- lastRequestTimestamp?: string;
1420
- /** @description If set to `true`, the application will be restarted. Valid only in combination with the `desiredState: "running"`. */
1421
- restartIfRunning?: boolean;
1422
- /** @description If set, the app will be updated to the specified configuration version. Valid only in combination with the `desiredState: "running", restartIfRunning: true`. */
1423
- configVersion?: string;
1424
- /** @description If set to `true`, latest package versions are installed during app startup, instead of using frozen versions. Valid only in combination with the `desiredState: "running", restartIfRunning: true`. */
1425
- updateDependencies?: boolean;
1426
- /**
1427
- * @description Sets the app's run mode. On a stopped app the mode is updated immediately with no transition. On any non-stopped app the request must also include `desiredState: "running"` and `restartIfRunning: true` so the running pod is restarted in the new mode. If omitted, the app's current mode is preserved.
1428
- * @enum {string}
1429
- */
1430
- mode?: 'prod' | 'dev';
1431
- };
1432
- };
1433
- };
1434
- responses: {
1435
- /** @description OK */
1436
- 200: {
1437
- headers: {
1438
- [name: string]: unknown;
1439
- };
1440
- content: {
1441
- 'application/json': components['schemas']['ExistingApp'];
1442
- };
1443
- };
1444
- /** @description Unauthorized */
1445
- 401: {
1446
- headers: {
1447
- [name: string]: unknown;
1448
- };
1449
- content?: never;
1450
- };
1451
- /** @description Forbidden */
1452
- 403: {
1453
- headers: {
1454
- [name: string]: unknown;
1455
- };
1456
- content?: never;
1457
- };
1458
- /** @description Not Found */
1459
- 404: {
1460
- headers: {
1461
- [name: string]: unknown;
1462
- };
1463
- content?: never;
1464
- };
1465
- /** @description Conflict — the app is in a terminal state (`deleting`/`deleted`) and cannot be updated, or the requested state transition conflicts with the current state. */
1466
- 409: {
1467
- headers: {
1468
- [name: string]: unknown;
1469
- };
1470
- content?: never;
1471
- };
1472
- /** @description Unprocessable Entity */
1473
- 422: {
1474
- headers: {
1475
- [name: string]: unknown;
1476
- };
1477
- content?: never;
1478
- };
1479
- };
1480
- };
1481
- getAppProxyConfig: {
1482
- parameters: {
1483
- query?: never;
1484
- header?: {
1485
- 'If-None-Match'?: string;
1486
- };
1487
- path: {
1488
- appId: string;
1489
- };
1490
- cookie?: never;
1491
- };
1492
- requestBody?: never;
1493
- responses: {
1494
- /** @description OK */
1495
- 200: {
1496
- headers: {
1497
- /** @description Response content hash. Client should use this value in `If-None-Match` header in following requests to avoid unnecessary responses. */
1498
- ETag?: string;
1499
- /**
1500
- * @description Client should respect this header and cache the response for the specified time to avoid unnecessary requests.
1501
- * @example max-age=30
1502
- */
1503
- 'Cache-Control'?: string;
1504
- [name: string]: unknown;
1505
- };
1506
- content: {
1507
- /**
1508
- * @example {
1509
- * "upstreamAppUrl": "http://data-app-123.sandbox.svc.cluster.local:8888",
1510
- * "authProviders": [
1511
- * {
1512
- * "id": "okta",
1513
- * "type": "oidc",
1514
- * "allowedRoles": [
1515
- * "user"
1516
- * ],
1517
- * "clientId": "foo",
1518
- * "#clientSecret": "bar",
1519
- * "issuerUrl": null
1520
- * }
1521
- * ],
1522
- * "authRules": [
1523
- * {
1524
- * "type": "pathPrefix",
1525
- * "value": "/",
1526
- * "auth": [
1527
- * "okta"
1528
- * ]
1529
- * }
1530
- * ]
1531
- * }
1532
- */
1533
- 'application/json': {
1534
- appId: string;
1535
- appName: string;
1536
- projectId: string;
1537
- upstreamAppUrl: string;
1538
- authProviders: {
1539
- [key: string]: {
1540
- /** @description ID of the provider. Used to reference provider in `authRules`. Each provider ID must be unique. */
1541
- id: string;
1542
- type: string;
1543
- allowedRoles?: string[];
1544
- } & {
1545
- [key: string]: unknown;
1546
- };
1547
- }[];
1548
- authRules: ({
1549
- type: string;
1550
- auth: string[];
1551
- } & {
1552
- [key: string]: unknown;
1553
- })[];
1554
- };
1555
- };
1556
- };
1557
- /** @description Not Modified. Returned when `If-None-Match` header is specified and the value matches the current response content hash. If returned, client should use the previous cached response. */
1558
- 304: {
1559
- headers: {
1560
- /** @description Response content hash. Client should use this value in `If-None-Match` header in following requests to avoid unnecessary responses. */
1561
- ETag?: string;
1562
- /**
1563
- * @description Client should respect this header and cache the response for the specified time to avoid unnecessary requests.
1564
- * @example max-age=30
1565
- */
1566
- 'Cache-Control'?: string;
1567
- [name: string]: unknown;
1568
- };
1569
- content?: never;
1570
- };
1571
- /** @description Unauthorized */
1572
- 401: {
1573
- headers: {
1574
- [name: string]: unknown;
1575
- };
1576
- content?: never;
1577
- };
1578
- /** @description Forbidden */
1579
- 403: {
1580
- headers: {
1581
- [name: string]: unknown;
1582
- };
1583
- content?: never;
1584
- };
1585
- /** @description Not Found */
1586
- 404: {
1587
- headers: {
1588
- [name: string]: unknown;
1589
- };
1590
- content?: never;
1591
- };
1592
- };
1593
- };
1594
- getAppPassword: {
1595
- parameters: {
1596
- query?: never;
1597
- header?: never;
1598
- path: {
1599
- appId: string;
1600
- };
1601
- cookie?: never;
1602
- };
1603
- requestBody?: never;
1604
- responses: {
1605
- /** @description OK */
1606
- 200: {
1607
- headers: {
1608
- [name: string]: unknown;
1609
- };
1610
- content: {
1611
- 'application/json': {
1612
- password?: string;
1613
- };
1614
- };
1615
- };
1616
- /** @description Unauthorized */
1617
- 401: {
1618
- headers: {
1619
- [name: string]: unknown;
1620
- };
1621
- content?: never;
1622
- };
1623
- /** @description Forbidden */
1624
- 403: {
1625
- headers: {
1626
- [name: string]: unknown;
1627
- };
1628
- content?: never;
1629
- };
1630
- /** @description Not Found */
1631
- 404: {
1632
- headers: {
1633
- [name: string]: unknown;
1634
- };
1635
- content?: never;
1636
- };
1637
- };
1638
- };
1639
- resetAppPassword: {
1640
- parameters: {
1641
- query?: never;
1642
- header?: never;
1643
- path: {
1644
- appId: string;
1645
- };
1646
- cookie?: never;
1647
- };
1648
- requestBody?: never;
1649
- responses: {
1650
- /** @description OK */
1651
- 200: {
1652
- headers: {
1653
- [name: string]: unknown;
1654
- };
1655
- content: {
1656
- 'application/json': components['schemas']['ExistingApp'];
1657
- };
1658
- };
1659
- /** @description Unauthorized */
1660
- 401: {
1661
- headers: {
1662
- [name: string]: unknown;
1663
- };
1664
- content?: never;
1665
- };
1666
- /** @description Forbidden */
1667
- 403: {
1668
- headers: {
1669
- [name: string]: unknown;
1670
- };
1671
- content?: never;
1672
- };
1673
- /** @description Not Found */
1674
- 404: {
1675
- headers: {
1676
- [name: string]: unknown;
1677
- };
1678
- content?: never;
1679
- };
1680
- };
1681
- };
1682
- getAppGitRepo: {
1683
- parameters: {
1684
- query?: never;
1685
- header?: never;
1686
- path: {
1687
- appId: string;
1688
- };
1689
- cookie?: never;
1690
- };
1691
- requestBody?: never;
1692
- responses: {
1693
- /** @description OK */
1694
- 200: {
1695
- headers: {
1696
- [name: string]: unknown;
1697
- };
1698
- content: {
1699
- 'application/json': {
1700
- /** @description SSH clone URL. `null` for externally configured repositories that use HTTP(S). */
1701
- sshUrl: string | null;
1702
- /** @description HTTPS clone URL. `null` for externally configured repositories that use SSH. */
1703
- httpsUrl: string | null;
1704
- /** @description Whether the repository is a managed Git repository provisioned by the service. */
1705
- isManagedGitRepo: boolean;
1706
- };
1707
- };
1708
- };
1709
- /** @description Unauthorized */
1710
- 401: {
1711
- headers: {
1712
- [name: string]: unknown;
1713
- };
1714
- content?: never;
1715
- };
1716
- /** @description Forbidden */
1717
- 403: {
1718
- headers: {
1719
- [name: string]: unknown;
1720
- };
1721
- content?: never;
1722
- };
1723
- /** @description Not Found */
1724
- 404: {
1725
- headers: {
1726
- [name: string]: unknown;
1727
- };
1728
- content?: never;
1729
- };
1730
- /** @description App has no Git repository configured */
1731
- 409: {
1732
- headers: {
1733
- [name: string]: unknown;
1734
- };
1735
- content?: never;
1736
- };
1737
- };
1738
- };
1739
- listAppGitRepoCredentials: {
1740
- parameters: {
1741
- query?: never;
1742
- header?: never;
1743
- path: {
1744
- appId: string;
1745
- };
1746
- cookie?: never;
1747
- };
1748
- requestBody?: never;
1749
- responses: {
1750
- /** @description OK */
1751
- 200: {
1752
- headers: {
1753
- [name: string]: unknown;
1754
- };
1755
- content: {
1756
- 'application/json': components['schemas']['CredentialList'];
1757
- };
1758
- };
1759
- /** @description Unauthorized */
1760
- 401: {
1761
- headers: {
1762
- [name: string]: unknown;
1763
- };
1764
- content?: never;
1765
- };
1766
- /** @description Forbidden — token lacks admin context or CanManageApp fails */
1767
- 403: {
1768
- headers: {
1769
- [name: string]: unknown;
1770
- };
1771
- content?: never;
1772
- };
1773
- /** @description App not found */
1774
- 404: {
1775
- headers: {
1776
- [name: string]: unknown;
1777
- };
1778
- content?: never;
1779
- };
1780
- };
1781
- };
1782
- createAppGitRepoCredential: {
1783
- parameters: {
1784
- query?: never;
1785
- header?: never;
1786
- path: {
1787
- appId: string;
1788
- };
1789
- cookie?: never;
1790
- };
1791
- requestBody: {
1792
- content: {
1793
- 'application/json': components['schemas']['CreateCredentialRequest'];
1794
- };
1795
- };
1796
- responses: {
1797
- /** @description Created */
1798
- 201: {
1799
- headers: {
1800
- [name: string]: unknown;
1801
- };
1802
- content: {
1803
- 'application/json': components['schemas']['CreatedCredential'];
1804
- };
1805
- };
1806
- /** @description Bad Request — invalid payload (wrong type/publicKey combination, missing required fields) */
1807
- 400: {
1808
- headers: {
1809
- [name: string]: unknown;
1810
- };
1811
- content?: never;
1812
- };
1813
- /** @description Unauthorized */
1814
- 401: {
1815
- headers: {
1816
- [name: string]: unknown;
1817
- };
1818
- content?: never;
1819
- };
1820
- /** @description Forbidden — token lacks admin context or CanManageApp fails */
1821
- 403: {
1822
- headers: {
1823
- [name: string]: unknown;
1824
- };
1825
- content?: never;
1826
- };
1827
- /** @description App not found */
1828
- 404: {
1829
- headers: {
1830
- [name: string]: unknown;
1831
- };
1832
- content?: never;
1833
- };
1834
- /** @description App has no managed Git repository */
1835
- 409: {
1836
- headers: {
1837
- [name: string]: unknown;
1838
- };
1839
- content?: never;
1840
- };
1841
- };
1842
- };
1843
- getAppGitRepoCredential: {
1844
- parameters: {
1845
- query?: never;
1846
- header?: never;
1847
- path: {
1848
- appId: string;
1849
- credentialId: string;
1850
- };
1851
- cookie?: never;
1852
- };
1853
- requestBody?: never;
1854
- responses: {
1855
- /** @description OK */
1856
- 200: {
1857
- headers: {
1858
- [name: string]: unknown;
1859
- };
1860
- content: {
1861
- 'application/json': components['schemas']['Credential'];
1862
- };
1863
- };
1864
- /** @description Unauthorized */
1865
- 401: {
1866
- headers: {
1867
- [name: string]: unknown;
1868
- };
1869
- content?: never;
1870
- };
1871
- /** @description Forbidden — token lacks admin context or CanManageApp fails */
1872
- 403: {
1873
- headers: {
1874
- [name: string]: unknown;
1875
- };
1876
- content?: never;
1877
- };
1878
- /** @description App or credential not found */
1879
- 404: {
1880
- headers: {
1881
- [name: string]: unknown;
1882
- };
1883
- content?: never;
1884
- };
1885
- };
1886
- };
1887
- deleteAppGitRepoCredential: {
1888
- parameters: {
1889
- query?: never;
1890
- header?: never;
1891
- path: {
1892
- appId: string;
1893
- credentialId: string;
1894
- };
1895
- cookie?: never;
1896
- };
1897
- requestBody?: never;
1898
- responses: {
1899
- /** @description No Content */
1900
- 204: {
1901
- headers: {
1902
- [name: string]: unknown;
1903
- };
1904
- content?: never;
1905
- };
1906
- /** @description Unauthorized */
1907
- 401: {
1908
- headers: {
1909
- [name: string]: unknown;
1910
- };
1911
- content?: never;
1912
- };
1913
- /** @description Forbidden — token lacks admin context or CanManageApp fails */
1914
- 403: {
1915
- headers: {
1916
- [name: string]: unknown;
1917
- };
1918
- content?: never;
1919
- };
1920
- /** @description App or credential not found */
1921
- 404: {
1922
- headers: {
1923
- [name: string]: unknown;
1924
- };
1925
- content?: never;
1926
- };
1927
- };
1928
- };
1929
- downloadAppLogs: {
1930
- parameters: {
1931
- query?: never;
1932
- header?: never;
1933
- path: {
1934
- appId: string;
1935
- };
1936
- cookie?: never;
1937
- };
1938
- requestBody?: never;
1939
- responses: {
1940
- /** @description OK */
1941
- 200: {
1942
- headers: {
1943
- [name: string]: unknown;
1944
- };
1945
- content: {
1946
- 'text/plain': string;
1947
- };
1948
- };
1949
- /** @description Unauthorized */
1950
- 401: {
1951
- headers: {
1952
- [name: string]: unknown;
1953
- };
1954
- content?: never;
1955
- };
1956
- /** @description Forbidden */
1957
- 403: {
1958
- headers: {
1959
- [name: string]: unknown;
1960
- };
1961
- content?: never;
1962
- };
1963
- /** @description Not Found */
1964
- 404: {
1965
- headers: {
1966
- [name: string]: unknown;
1967
- };
1968
- content?: never;
1969
- };
1970
- };
1971
- };
1972
- tailAppLogs: {
1973
- parameters: {
1974
- query?: {
1975
- since?: string;
1976
- lines?: number;
1977
- };
1978
- header?: never;
1979
- path: {
1980
- appId: string;
1981
- };
1982
- cookie?: never;
1983
- };
1984
- requestBody?: never;
1985
- responses: {
1986
- /** @description OK */
1987
- 200: {
1988
- headers: {
1989
- [name: string]: unknown;
1990
- };
1991
- content: {
1992
- 'text/plain': string;
1993
- };
1994
- };
1995
- /** @description Unauthorized */
1996
- 401: {
1997
- headers: {
1998
- [name: string]: unknown;
1999
- };
2000
- content?: never;
2001
- };
2002
- /** @description Forbidden */
2003
- 403: {
2004
- headers: {
2005
- [name: string]: unknown;
2006
- };
2007
- content?: never;
2008
- };
2009
- /** @description Not Found */
2010
- 404: {
2011
- headers: {
2012
- [name: string]: unknown;
2013
- };
2014
- content?: never;
2015
- };
2016
- };
2017
- };
2018
- listAppRuns: {
2019
- parameters: {
2020
- query?: {
2021
- offset?: number;
2022
- limit?: number;
2023
- };
2024
- header?: never;
2025
- path: {
2026
- appId: string;
2027
- };
2028
- cookie?: never;
2029
- };
2030
- requestBody?: never;
2031
- responses: {
2032
- /** @description OK */
2033
- 200: {
2034
- headers: {
2035
- [name: string]: unknown;
2036
- };
2037
- content: {
2038
- 'application/json': components['schemas']['AppRun'][];
2039
- };
2040
- };
2041
- /** @description Unauthorized */
2042
- 401: {
2043
- headers: {
2044
- [name: string]: unknown;
2045
- };
2046
- content?: never;
2047
- };
2048
- /** @description Forbidden */
2049
- 403: {
2050
- headers: {
2051
- [name: string]: unknown;
2052
- };
2053
- content?: never;
2054
- };
2055
- /** @description Not Found */
2056
- 404: {
2057
- headers: {
2058
- [name: string]: unknown;
2059
- };
2060
- content?: never;
2061
- };
2062
- };
2063
- };
2064
- getAppRun: {
2065
- parameters: {
2066
- query?: never;
2067
- header?: never;
2068
- path: {
2069
- appId: string;
2070
- runId: string;
2071
- };
2072
- cookie?: never;
2073
- };
2074
- requestBody?: never;
2075
- responses: {
2076
- /** @description OK */
2077
- 200: {
2078
- headers: {
2079
- [name: string]: unknown;
2080
- };
2081
- content: {
2082
- 'application/json': components['schemas']['AppRun'];
2083
- };
2084
- };
2085
- /** @description Unauthorized */
2086
- 401: {
2087
- headers: {
2088
- [name: string]: unknown;
2089
- };
2090
- content?: never;
2091
- };
2092
- /** @description Forbidden */
2093
- 403: {
2094
- headers: {
2095
- [name: string]: unknown;
2096
- };
2097
- content?: never;
2098
- };
2099
- /** @description Not Found */
2100
- 404: {
2101
- headers: {
2102
- [name: string]: unknown;
2103
- };
2104
- content?: never;
2105
- };
2106
- };
2107
- };
2108
- createSandbox: {
2109
- parameters: {
2110
- query?: never;
2111
- header?: never;
2112
- path?: never;
2113
- cookie?: never;
2114
- };
2115
- requestBody: {
2116
- content: {
2117
- 'application/json': {
2118
- /** @description Keboola component ID (e.g. keboola.sandboxes) */
2119
- componentId: string;
2120
- /** @description Keboola configuration ID */
2121
- configurationId: string;
2122
- /** @description Configuration version to use. If omitted, the latest version is resolved automatically. */
2123
- configurationVersion?: string;
2124
- /**
2125
- * @description Sandbox type
2126
- * @enum {string}
2127
- */
2128
- type: 'python' | 'r' | 'snowflake' | 'bigquery' | 'streamlit' | 'python-js';
2129
- /** @description Physical identifier of the underlying resource (e.g. Snowflake schema name) */
2130
- physicalId?: string;
2131
- /** @description Hostname of the underlying resource */
2132
- host: string;
2133
- /** @enum {string|null} */
2134
- size?: 'micro' | 'tiny' | 'small' | 'medium' | 'large' | null;
2135
- branchId?: string | null;
2136
- user?: string | null;
2137
- password?: string | null;
2138
- url?: string | null;
2139
- active?: boolean;
2140
- shared?: boolean;
2141
- imageVersion?: string | null;
2142
- /** @deprecated */
2143
- packages?: string[];
2144
- autoSuspendAfterSeconds?: number | null;
2145
- } & {
2146
- [key: string]: unknown;
2147
- };
2148
- };
2149
- };
2150
- responses: {
2151
- /** @description Sandbox created successfully */
2152
- 201: {
2153
- headers: {
2154
- [name: string]: unknown;
2155
- };
2156
- content: {
2157
- 'application/json': components['schemas']['SandboxResponse'];
2158
- };
2159
- };
2160
- /** @description Unauthorized */
2161
- 401: {
2162
- headers: {
2163
- [name: string]: unknown;
2164
- };
2165
- content?: never;
2166
- };
2167
- /** @description Forbidden */
2168
- 403: {
2169
- headers: {
2170
- [name: string]: unknown;
2171
- };
2172
- content?: never;
2173
- };
2174
- /** @description Unprocessable Entity */
2175
- 422: {
2176
- headers: {
2177
- [name: string]: unknown;
2178
- };
2179
- content?: never;
2180
- };
2181
- };
2182
- };
2183
- getSandbox: {
2184
- parameters: {
2185
- query?: never;
2186
- header?: never;
2187
- path: {
2188
- appId: string;
2189
- };
2190
- cookie?: never;
2191
- };
2192
- requestBody?: never;
2193
- responses: {
2194
- /** @description OK */
2195
- 200: {
2196
- headers: {
2197
- [name: string]: unknown;
2198
- };
2199
- content: {
2200
- 'application/json': components['schemas']['SandboxResponse'];
2201
- };
2202
- };
2203
- /** @description Unauthorized */
2204
- 401: {
2205
- headers: {
2206
- [name: string]: unknown;
2207
- };
2208
- content?: never;
2209
- };
2210
- /** @description Forbidden */
2211
- 403: {
2212
- headers: {
2213
- [name: string]: unknown;
2214
- };
2215
- content?: never;
2216
- };
2217
- /** @description Sandbox not found */
2218
- 404: {
2219
- headers: {
2220
- [name: string]: unknown;
2221
- };
2222
- content?: never;
2223
- };
2224
- };
2225
- };
2226
- deleteSandbox: {
2227
- parameters: {
2228
- query?: never;
2229
- header?: never;
2230
- path: {
2231
- appId: string;
2232
- };
2233
- cookie?: never;
2234
- };
2235
- requestBody?: never;
2236
- responses: {
2237
- /** @description Sandbox deleted successfully */
2238
- 204: {
2239
- headers: {
2240
- [name: string]: unknown;
2241
- };
2242
- content?: never;
2243
- };
2244
- /** @description Unauthorized */
2245
- 401: {
2246
- headers: {
2247
- [name: string]: unknown;
2248
- };
2249
- content?: never;
2250
- };
2251
- /** @description Forbidden */
2252
- 403: {
2253
- headers: {
2254
- [name: string]: unknown;
2255
- };
2256
- content?: never;
2257
- };
2258
- /** @description Sandbox not found */
2259
- 404: {
2260
- headers: {
2261
- [name: string]: unknown;
2262
- };
2263
- content?: never;
2264
- };
2265
- };
2266
- };
2267
- patchSandbox: {
2268
- parameters: {
2269
- query?: never;
2270
- header?: never;
2271
- path: {
2272
- appId: string;
2273
- };
2274
- cookie?: never;
2275
- };
2276
- requestBody: {
2277
- content: {
2278
- 'application/json': {
2279
- configurationVersion: string;
2280
- active?: boolean | null;
2281
- url?: string | null;
2282
- expirationAfterHours?: number | null;
2283
- autoSuspendAfterSeconds?: number | null;
2284
- password?: string | null;
2285
- /** @description Persistent volume claim data; populated by the sandboxes component after PVC provisioning. */
2286
- persistentStorage?: {
2287
- /** @description Name of the PVC in Kubernetes (e.g. "sandbox-123"). */
2288
- pvcName?: string | null;
2289
- /** @description Serialized YAML of the PVC Kubernetes manifest. */
2290
- k8sManifest?: string | null;
2291
- /** @description Whether persistent storage is enabled for this sandbox. */
2292
- isEnabled?: boolean;
2293
- /** @description Whether the project-level persistent storage is ready. */
2294
- ready?: boolean | null;
2295
- /** @description Kubernetes StorageClass name for the project's persistent storage. */
2296
- k8sStorageClassName?: string | null;
2297
- } | null;
2298
- /** @description Size parameters for the sandbox; used to store the PVC storage size. */
2299
- sizeParameters?: {
2300
- /** @description PVC storage size in GB. */
2301
- storageSize_GB?: number | null;
2302
- } | null;
2303
- } & {
2304
- [key: string]: unknown;
2305
- };
2306
- };
2307
- };
2308
- responses: {
2309
- /** @description Sandbox updated successfully. */
2310
- 200: {
2311
- headers: {
2312
- [name: string]: unknown;
2313
- };
2314
- content: {
2315
- 'application/json': components['schemas']['SandboxResponse'];
2316
- };
2317
- };
2318
- /** @description Unauthorized */
2319
- 401: {
2320
- headers: {
2321
- [name: string]: unknown;
2322
- };
2323
- content?: never;
2324
- };
2325
- /** @description Forbidden */
2326
- 403: {
2327
- headers: {
2328
- [name: string]: unknown;
2329
- };
2330
- content?: never;
2331
- };
2332
- /** @description Sandbox not found */
2333
- 404: {
2334
- headers: {
2335
- [name: string]: unknown;
2336
- };
2337
- content?: never;
2338
- };
2339
- /** @description Unprocessable Entity */
2340
- 422: {
2341
- headers: {
2342
- [name: string]: unknown;
2343
- };
2344
- content?: never;
2345
- };
2346
- };
2347
- };
2348
- getCurrentProject: {
2349
- parameters: {
2350
- query?: never;
2351
- header?: never;
2352
- path?: never;
2353
- cookie?: never;
2354
- };
2355
- requestBody?: never;
2356
- responses: {
2357
- /** @description OK */
2358
- 200: {
2359
- headers: {
2360
- [name: string]: unknown;
2361
- };
2362
- content: {
2363
- 'application/json': {
2364
- id?: string;
2365
- /** Format: date-time */
2366
- createdTimestamp?: string;
2367
- /** Format: date-time */
2368
- updatedTimestamp?: string;
2369
- persistentStorage?: {
2370
- ready?: boolean | null;
2371
- k8sStorageClassName?: string | null;
2372
- };
2373
- };
2374
- };
2375
- };
2376
- /** @description Project not found */
2377
- 404: {
2378
- headers: {
2379
- [name: string]: unknown;
2380
- };
2381
- content?: never;
2382
- };
2383
- };
2384
- };
2385
- listRuntimes: {
2386
- parameters: {
2387
- query?: {
2388
- type?: string;
2389
- includeExpired?: boolean;
2390
- limit?: number;
2391
- offset?: number;
2392
- };
2393
- header?: never;
2394
- path?: never;
2395
- cookie?: never;
2396
- };
2397
- requestBody?: never;
2398
- responses: {
2399
- /** @description OK */
2400
- 200: {
2401
- headers: {
2402
- [name: string]: unknown;
2403
- };
2404
- content: {
2405
- 'application/json': components['schemas']['Runtime'][];
2406
- };
2407
- };
2408
- };
2409
- };
2410
- listAppsV2: {
2411
- parameters: {
2412
- query?: never;
2413
- header?: never;
2414
- path?: never;
2415
- cookie?: never;
2416
- };
2417
- requestBody?: never;
2418
- responses: {
2419
- /** @description OK (once implemented) */
2420
- 200: {
2421
- headers: {
2422
- [name: string]: unknown;
2423
- };
2424
- content: {
2425
- 'application/json': components['schemas']['V2App'][];
2426
- };
2427
- };
2428
- /** @description Not Implemented (current behavior) */
2429
- 501: {
2430
- headers: {
2431
- [name: string]: unknown;
2432
- };
2433
- content: {
2434
- /**
2435
- * @example {
2436
- * "error": "This endpoint is not implemented yet."
2437
- * }
2438
- */
2439
- 'application/json': components['schemas']['V2ErrorResponse'];
2440
- };
2441
- };
2442
- };
2443
- };
2444
- createAppV2: {
2445
- parameters: {
2446
- query?: never;
2447
- header?: never;
2448
- path?: never;
2449
- cookie?: never;
2450
- };
2451
- requestBody: {
2452
- content: {
2453
- 'application/json': components['schemas']['V2AppCreateRequest'];
2454
- };
2455
- };
2456
- responses: {
2457
- /** @description Created (once implemented) */
2458
- 201: {
2459
- headers: {
2460
- [name: string]: unknown;
2461
- };
2462
- content: {
2463
- 'application/json': components['schemas']['V2App'];
2464
- };
2465
- };
2466
- /** @description Not Implemented (current behavior) */
2467
- 501: {
2468
- headers: {
2469
- [name: string]: unknown;
2470
- };
2471
- content: {
2472
- /**
2473
- * @example {
2474
- * "error": "This endpoint is not implemented yet."
2475
- * }
2476
- */
2477
- 'application/json': components['schemas']['V2ErrorResponse'];
2478
- };
2479
- };
2480
- };
2481
- };
2482
- getAppV2: {
2483
- parameters: {
2484
- query?: never;
2485
- header?: never;
2486
- path: {
2487
- appId: string;
2488
- };
2489
- cookie?: never;
2490
- };
2491
- requestBody?: never;
2492
- responses: {
2493
- /** @description OK (once implemented) */
2494
- 200: {
2495
- headers: {
2496
- [name: string]: unknown;
2497
- };
2498
- content: {
2499
- 'application/json': components['schemas']['V2App'];
2500
- };
2501
- };
2502
- /** @description Not Found (once implemented) */
2503
- 404: {
2504
- headers: {
2505
- [name: string]: unknown;
2506
- };
2507
- content?: never;
2508
- };
2509
- /** @description Not Implemented (current behavior) */
2510
- 501: {
2511
- headers: {
2512
- [name: string]: unknown;
2513
- };
2514
- content: {
2515
- /**
2516
- * @example {
2517
- * "error": "This endpoint is not implemented yet."
2518
- * }
2519
- */
2520
- 'application/json': components['schemas']['V2ErrorResponse'];
2521
- };
2522
- };
2523
- };
2524
- };
2525
- deleteAppV2: {
2526
- parameters: {
2527
- query?: never;
2528
- header?: never;
2529
- path: {
2530
- appId: string;
2531
- };
2532
- cookie?: never;
2533
- };
2534
- requestBody?: never;
2535
- responses: {
2536
- /** @description Accepted (once implemented) */
2537
- 202: {
2538
- headers: {
2539
- [name: string]: unknown;
2540
- };
2541
- content?: never;
2542
- };
2543
- /** @description Not Found (once implemented) */
2544
- 404: {
2545
- headers: {
2546
- [name: string]: unknown;
2547
- };
2548
- content?: never;
2549
- };
2550
- /** @description Not Implemented (current behavior) */
2551
- 501: {
2552
- headers: {
2553
- [name: string]: unknown;
2554
- };
2555
- content: {
2556
- /**
2557
- * @example {
2558
- * "error": "This endpoint is not implemented yet."
2559
- * }
2560
- */
2561
- 'application/json': components['schemas']['V2ErrorResponse'];
2562
- };
2563
- };
2564
- };
2565
- };
2566
- patchAppV2: {
2567
- parameters: {
2568
- query?: never;
2569
- header?: never;
2570
- path: {
2571
- appId: string;
2572
- };
2573
- cookie?: never;
2574
- };
2575
- requestBody: {
2576
- content: {
2577
- 'application/json': components['schemas']['V2AppPatchRequest'];
2578
- };
2579
- };
2580
- responses: {
2581
- /** @description OK (once implemented) */
2582
- 200: {
2583
- headers: {
2584
- [name: string]: unknown;
2585
- };
2586
- content: {
2587
- 'application/json': components['schemas']['V2App'];
2588
- };
2589
- };
2590
- /** @description Not Found (once implemented) */
2591
- 404: {
2592
- headers: {
2593
- [name: string]: unknown;
2594
- };
2595
- content?: never;
2596
- };
2597
- /** @description Not Implemented (current behavior) */
2598
- 501: {
2599
- headers: {
2600
- [name: string]: unknown;
2601
- };
2602
- content: {
2603
- /**
2604
- * @example {
2605
- * "error": "This endpoint is not implemented yet."
2606
- * }
2607
- */
2608
- 'application/json': components['schemas']['V2ErrorResponse'];
2609
- };
2610
- };
2611
- };
2612
- };
2613
- unpublishAppV2: {
2614
- parameters: {
2615
- query?: never;
2616
- header?: never;
2617
- path: {
2618
- appId: string;
2619
- };
2620
- cookie?: never;
2621
- };
2622
- requestBody?: never;
2623
- responses: {
2624
- /** @description Accepted (once implemented) — production is being unset */
2625
- 202: {
2626
- headers: {
2627
- [name: string]: unknown;
2628
- };
2629
- content: {
2630
- 'application/json': components['schemas']['V2App'];
2631
- };
2632
- };
2633
- /** @description No Content (once implemented) — already unpublished; no-op */
2634
- 204: {
2635
- headers: {
2636
- [name: string]: unknown;
2637
- };
2638
- content?: never;
2639
- };
2640
- /** @description Not Found (once implemented) */
2641
- 404: {
2642
- headers: {
2643
- [name: string]: unknown;
2644
- };
2645
- content?: never;
2646
- };
2647
- /** @description Not Implemented (current behavior) */
2648
- 501: {
2649
- headers: {
2650
- [name: string]: unknown;
2651
- };
2652
- content: {
2653
- /**
2654
- * @example {
2655
- * "error": "This endpoint is not implemented yet."
2656
- * }
2657
- */
2658
- 'application/json': components['schemas']['V2ErrorResponse'];
2659
- };
2660
- };
2661
- };
2662
- };
2663
- suspendAppV2: {
2664
- parameters: {
2665
- query?: never;
2666
- header?: never;
2667
- path: {
2668
- appId: string;
2669
- };
2670
- cookie?: never;
2671
- };
2672
- requestBody?: never;
2673
- responses: {
2674
- /** @description Accepted (once implemented) — suspend is being applied */
2675
- 202: {
2676
- headers: {
2677
- [name: string]: unknown;
2678
- };
2679
- content: {
2680
- 'application/json': components['schemas']['V2App'];
2681
- };
2682
- };
2683
- /** @description No Content (once implemented) — already suspended; no-op */
2684
- 204: {
2685
- headers: {
2686
- [name: string]: unknown;
2687
- };
2688
- content?: never;
2689
- };
2690
- /** @description Not Found (once implemented) */
2691
- 404: {
2692
- headers: {
2693
- [name: string]: unknown;
2694
- };
2695
- content?: never;
2696
- };
2697
- /** @description Conflict (once implemented) — the app has no currently serving member to suspend. */
2698
- 409: {
2699
- headers: {
2700
- [name: string]: unknown;
2701
- };
2702
- content: {
2703
- 'application/json': components['schemas']['V2ErrorResponse'];
2704
- };
2705
- };
2706
- /** @description Not Implemented (current behavior) */
2707
- 501: {
2708
- headers: {
2709
- [name: string]: unknown;
2710
- };
2711
- content: {
2712
- /**
2713
- * @example {
2714
- * "error": "This endpoint is not implemented yet."
2715
- * }
2716
- */
2717
- 'application/json': components['schemas']['V2ErrorResponse'];
2718
- };
2719
- };
2720
- };
2721
- };
2722
- resumeAppV2: {
2723
- parameters: {
2724
- query?: never;
2725
- header?: never;
2726
- path: {
2727
- appId: string;
2728
- };
2729
- cookie?: never;
2730
- };
2731
- requestBody?: never;
2732
- responses: {
2733
- /** @description Accepted (once implemented) — resume is being applied */
2734
- 202: {
2735
- headers: {
2736
- [name: string]: unknown;
2737
- };
2738
- content: {
2739
- 'application/json': components['schemas']['V2App'];
2740
- };
2741
- };
2742
- /** @description No Content (once implemented) — already running; no-op */
2743
- 204: {
2744
- headers: {
2745
- [name: string]: unknown;
2746
- };
2747
- content?: never;
2748
- };
2749
- /** @description Not Found (once implemented) */
2750
- 404: {
2751
- headers: {
2752
- [name: string]: unknown;
2753
- };
2754
- content?: never;
2755
- };
2756
- /** @description Conflict (once implemented) — the app has no currently serving member to resume. */
2757
- 409: {
2758
- headers: {
2759
- [name: string]: unknown;
2760
- };
2761
- content: {
2762
- 'application/json': components['schemas']['V2ErrorResponse'];
2763
- };
2764
- };
2765
- /** @description Not Implemented (current behavior) */
2766
- 501: {
2767
- headers: {
2768
- [name: string]: unknown;
2769
- };
2770
- content: {
2771
- /**
2772
- * @example {
2773
- * "error": "This endpoint is not implemented yet."
2774
- * }
2775
- */
2776
- 'application/json': components['schemas']['V2ErrorResponse'];
2777
- };
2778
- };
2779
- };
2780
- };
2781
- listDeploymentsV2: {
2782
- parameters: {
2783
- query?: never;
2784
- header?: never;
2785
- path: {
2786
- appId: string;
2787
- };
2788
- cookie?: never;
2789
- };
2790
- requestBody?: never;
2791
- responses: {
2792
- /** @description OK (once implemented) */
2793
- 200: {
2794
- headers: {
2795
- [name: string]: unknown;
2796
- };
2797
- content: {
2798
- 'application/json': components['schemas']['V2Deployment'][];
2799
- };
2800
- };
2801
- /** @description Not Implemented (current behavior) */
2802
- 501: {
2803
- headers: {
2804
- [name: string]: unknown;
2805
- };
2806
- content: {
2807
- /**
2808
- * @example {
2809
- * "error": "This endpoint is not implemented yet."
2810
- * }
2811
- */
2812
- 'application/json': components['schemas']['V2ErrorResponse'];
2813
- };
2814
- };
2815
- };
2816
- };
2817
- createDeploymentV2: {
2818
- parameters: {
2819
- query?: never;
2820
- header?: never;
2821
- path: {
2822
- appId: string;
2823
- };
2824
- cookie?: never;
2825
- };
2826
- requestBody?: {
2827
- content: {
2828
- 'application/json': components['schemas']['V2DeploymentCreateRequest'];
2829
- };
2830
- };
2831
- responses: {
2832
- /** @description Accepted (once implemented) — deployment created in `QUEUED` state */
2833
- 202: {
2834
- headers: {
2835
- [name: string]: unknown;
2836
- };
2837
- content: {
2838
- 'application/json': components['schemas']['V2Deployment'];
2839
- };
2840
- };
2841
- /** @description Not Implemented (current behavior) */
2842
- 501: {
2843
- headers: {
2844
- [name: string]: unknown;
2845
- };
2846
- content: {
2847
- /**
2848
- * @example {
2849
- * "error": "This endpoint is not implemented yet."
2850
- * }
2851
- */
2852
- 'application/json': components['schemas']['V2ErrorResponse'];
2853
- };
2854
- };
2855
- };
2856
- };
2857
- getDeploymentV2: {
2858
- parameters: {
2859
- query?: never;
2860
- header?: never;
2861
- path: {
2862
- appId: string;
2863
- deploymentId: string;
2864
- };
2865
- cookie?: never;
2866
- };
2867
- requestBody?: never;
2868
- responses: {
2869
- /** @description OK (once implemented) */
2870
- 200: {
2871
- headers: {
2872
- [name: string]: unknown;
2873
- };
2874
- content: {
2875
- 'application/json': components['schemas']['V2Deployment'];
2876
- };
2877
- };
2878
- /** @description Not Found (once implemented) */
2879
- 404: {
2880
- headers: {
2881
- [name: string]: unknown;
2882
- };
2883
- content?: never;
2884
- };
2885
- /** @description Not Implemented (current behavior) */
2886
- 501: {
2887
- headers: {
2888
- [name: string]: unknown;
2889
- };
2890
- content: {
2891
- /**
2892
- * @example {
2893
- * "error": "This endpoint is not implemented yet."
2894
- * }
2895
- */
2896
- 'application/json': components['schemas']['V2ErrorResponse'];
2897
- };
2898
- };
2899
- };
2900
- };
2901
- deleteDeploymentV2: {
2902
- parameters: {
2903
- query?: never;
2904
- header?: never;
2905
- path: {
2906
- appId: string;
2907
- deploymentId: string;
2908
- };
2909
- cookie?: never;
2910
- };
2911
- requestBody?: never;
2912
- responses: {
2913
- /** @description Accepted (once implemented) */
2914
- 202: {
2915
- headers: {
2916
- [name: string]: unknown;
2917
- };
2918
- content?: never;
2919
- };
2920
- /** @description Not Found (once implemented) */
2921
- 404: {
2922
- headers: {
2923
- [name: string]: unknown;
2924
- };
2925
- content?: never;
2926
- };
2927
- /** @description Conflict (once implemented) — this deployment is the current production deployment. */
2928
- 409: {
2929
- headers: {
2930
- [name: string]: unknown;
2931
- };
2932
- content: {
2933
- 'application/json': components['schemas']['V2ErrorResponse'];
2934
- };
2935
- };
2936
- /** @description Not Implemented (current behavior) */
2937
- 501: {
2938
- headers: {
2939
- [name: string]: unknown;
2940
- };
2941
- content: {
2942
- /**
2943
- * @example {
2944
- * "error": "This endpoint is not implemented yet."
2945
- * }
2946
- */
2947
- 'application/json': components['schemas']['V2ErrorResponse'];
2948
- };
2949
- };
2950
- };
2951
- };
2952
- promoteDeploymentV2: {
2953
- parameters: {
2954
- query?: never;
2955
- header?: never;
2956
- path: {
2957
- appId: string;
2958
- deploymentId: string;
2959
- };
2960
- cookie?: never;
2961
- };
2962
- requestBody?: never;
2963
- responses: {
2964
- /** @description Accepted (once implemented) — promotion is being applied */
2965
- 202: {
2966
- headers: {
2967
- [name: string]: unknown;
2968
- };
2969
- content: {
2970
- 'application/json': components['schemas']['V2App'];
2971
- };
2972
- };
2973
- /** @description No Content (once implemented) — already production; no-op */
2974
- 204: {
2975
- headers: {
2976
- [name: string]: unknown;
2977
- };
2978
- content?: never;
2979
- };
2980
- /** @description Not Found (once implemented) */
2981
- 404: {
2982
- headers: {
2983
- [name: string]: unknown;
2984
- };
2985
- content?: never;
2986
- };
2987
- /** @description Conflict (once implemented) — this deployment is not `READY` (and is not a re-materializable `archived` deployment). */
2988
- 409: {
2989
- headers: {
2990
- [name: string]: unknown;
2991
- };
2992
- content: {
2993
- 'application/json': components['schemas']['V2ErrorResponse'];
2994
- };
2995
- };
2996
- /** @description Not Implemented (current behavior) */
2997
- 501: {
2998
- headers: {
2999
- [name: string]: unknown;
3000
- };
3001
- content: {
3002
- /**
3003
- * @example {
3004
- * "error": "This endpoint is not implemented yet."
3005
- * }
3006
- */
3007
- 'application/json': components['schemas']['V2ErrorResponse'];
3008
- };
3009
- };
3010
- };
3011
- };
3012
- };
3013
-
3014
- type GetAppsQuery = OpenapiQueryType<paths['/apps']['get']>;
3015
- type CreateDataAppBody = OpenapiBodyType<paths['/apps']['post']>;
3016
- type GetDataAppPath = OpenapiPathType<paths['/apps/{appId}']['get']>;
3017
- type DeleteDataAppPath = OpenapiPathType<paths['/apps/{appId}']['delete']>;
3018
- type GetDataAppPasswordPath = OpenapiPathType<paths['/apps/{appId}/password']['get']>;
3019
- type ResetDataAppPasswordPath = OpenapiPathType<paths['/apps/{appId}/reset-password']['post']>;
3020
- type GetDataAppRunsPath = OpenapiPathType<paths['/apps/{appId}/runs']['get']>;
3021
- type GetDataAppRunsQuery = OpenapiQueryType<paths['/apps/{appId}/runs']['get']>;
3022
- type GetDataAppRunPath = OpenapiPathType<paths['/apps/{appId}/runs/{runId}']['get']>;
3023
- type RawAppRun = OpenapiReturnType<paths['/apps/{appId}/runs']['get']>[number];
3024
- type DataAppRun = Omit<RawAppRun, 'state'> & {
3025
- state: 'running' | 'failed' | 'starting' | 'finished';
3026
- };
3027
- type GetDataAppLogsDownloadPath = OpenapiPathType<paths['/apps/{appId}/logs/download']['get']>;
3028
- type GetDataAppLogsTailPath = OpenapiPathType<paths['/apps/{appId}/logs/tail']['get']>;
3029
- type GetDataAppLogsTailQuery = OpenapiQueryType<paths['/apps/{appId}/logs/tail']['get']>;
3030
- type GetSandboxPath = OpenapiPathType<paths['/sandboxes/{appId}']['get']>;
3031
- type DeleteSandboxPath = OpenapiPathType<paths['/sandboxes/{appId}']['delete']>;
3032
- type DataApp = OpenapiReturnType<paths['/apps/{appId}']['get']>;
3033
- type Sandbox = OpenapiReturnType<paths['/sandboxes/{appId}']['get']>;
3034
- type Runtime = OpenapiReturnType<paths['/runtimes']['get']>[number];
3035
- type RuntimeImageKey = Extract<keyof Runtime, 'imageTag' | 'sandboxImageTag' | 'transformationComponentTag'>;
3036
- type PatchDataAppPath = OpenapiPathType<paths['/apps/{appId}']['patch']>;
3037
- type PatchDataAppBodyRunning = {
3038
- desiredState: 'running';
3039
- } & Omit<OpenapiBodyType<paths['/apps/{appId}']['patch']>, 'desiredState'>;
3040
- type PatchDataAppBodyStopped = {
3041
- desiredState: 'stopped';
3042
- };
3043
- type PatchDataAppBody = PatchDataAppBodyRunning | PatchDataAppBodyStopped;
3044
-
3045
- type LogEntry = {
3046
- timestamp: string | null;
3047
- message: string;
3048
- };
3049
- declare const parseLogLines: (raw: unknown) => LogEntry[];
3050
-
3051
- export { type CreateDataAppBody as C, type DeleteDataAppPath as D, type GetDataAppRunsPath as G, type LogEntry as L, type PatchDataAppPath as P, type ResetDataAppPasswordPath as R, type Sandbox as S, type GetDataAppRunsQuery as a, type GetDataAppRunPath as b, type GetDataAppLogsDownloadPath as c, type GetDataAppLogsTailPath as d, type GetDataAppLogsTailQuery as e, type GetAppsQuery as f, type GetDataAppPath as g, type PatchDataAppBody as h, type GetDataAppPasswordPath as i, type GetSandboxPath as j, type DeleteSandboxPath as k, type DataApp as l, type DataAppRun as m, type RawAppRun as n, type Runtime as o, parseLogLines as p, type RuntimeImageKey as q };