@keboola/api-client 25.0.0 → 29.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 (812) hide show
  1. package/AGENTS.md +623 -0
  2. package/API-SURFACE.md +133 -57
  3. package/README.md +81 -42
  4. package/dist/ManagementClientAuthError-B97OtOQ7.js +15 -0
  5. package/dist/ManagementClientAuthError-B97OtOQ7.js.map +1 -0
  6. package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs +20 -0
  7. package/dist/ManagementClientAuthError-ZJ2-RoKT.cjs.map +1 -0
  8. package/dist/QueryJobTimeoutError-C7JbNGOM.js +38 -0
  9. package/dist/QueryJobTimeoutError-C7JbNGOM.js.map +1 -0
  10. package/dist/QueryJobTimeoutError-CVNPdCWX.cjs +61 -0
  11. package/dist/QueryJobTimeoutError-CVNPdCWX.cjs.map +1 -0
  12. package/dist/SyncActionError-BG0zwchi.cjs +35 -0
  13. package/dist/SyncActionError-BG0zwchi.cjs.map +1 -0
  14. package/dist/SyncActionError-CoZFsdUk.js +24 -0
  15. package/dist/SyncActionError-CoZFsdUk.js.map +1 -0
  16. package/dist/UserError-By_Zckmc.js +10 -0
  17. package/dist/UserError-By_Zckmc.js.map +1 -0
  18. package/dist/UserError-CSGO1qII.cjs +15 -0
  19. package/dist/UserError-CSGO1qII.cjs.map +1 -0
  20. package/dist/ValidationError-CzPWydEb.js +44 -0
  21. package/dist/ValidationError-CzPWydEb.js.map +1 -0
  22. package/dist/ValidationError-h5qvwahi.cjs +61 -0
  23. package/dist/ValidationError-h5qvwahi.cjs.map +1 -0
  24. package/dist/adminRoles-B40yBcmq.js +14 -0
  25. package/dist/adminRoles-B40yBcmq.js.map +1 -0
  26. package/dist/adminRoles-C696kD_U.d.cts +14 -0
  27. package/dist/adminRoles-C696kD_U.d.ts +14 -0
  28. package/dist/adminRoles-CO7J5qAy.cjs +19 -0
  29. package/dist/adminRoles-CO7J5qAy.cjs.map +1 -0
  30. package/dist/ai/index.cjs +62 -12
  31. package/dist/ai/index.cjs.map +1 -1
  32. package/dist/ai/index.d.cts +52 -50
  33. package/dist/ai/index.d.ts +52 -50
  34. package/dist/ai/index.js +62 -4
  35. package/dist/ai/index.js.map +1 -1
  36. package/dist/ai/types.cjs +0 -4
  37. package/dist/ai/types.d.cts +2 -2
  38. package/dist/ai/types.d.ts +2 -2
  39. package/dist/ai/types.js +1 -3
  40. package/dist/appLogs-CNG3yby-.cjs +153 -0
  41. package/dist/appLogs-CNG3yby-.cjs.map +1 -0
  42. package/dist/appLogs-Dl5BcCSD.d.cts +10 -0
  43. package/dist/appLogs-VdgP08aX.d.ts +10 -0
  44. package/dist/appLogs-enL9XR9r.js +132 -0
  45. package/dist/appLogs-enL9XR9r.js.map +1 -0
  46. package/dist/apps/index.cjs +231 -0
  47. package/dist/apps/index.cjs.map +1 -0
  48. package/dist/apps/index.d.cts +248 -0
  49. package/dist/apps/index.d.ts +248 -0
  50. package/dist/apps/index.js +230 -0
  51. package/dist/apps/index.js.map +1 -0
  52. package/dist/apps/types.cjs +0 -0
  53. package/dist/apps/types.d.cts +3 -0
  54. package/dist/apps/types.d.ts +3 -0
  55. package/dist/apps/types.js +1 -0
  56. package/dist/assets/index.cjs +33 -38
  57. package/dist/assets/index.cjs.map +1 -1
  58. package/dist/assets/index.d.cts +22 -22
  59. package/dist/assets/index.d.ts +22 -22
  60. package/dist/assets/index.js +32 -36
  61. package/dist/assets/index.js.map +1 -1
  62. package/dist/assets/schema.cjs +23 -13
  63. package/dist/assets/schema.cjs.map +1 -1
  64. package/dist/assets/schema.d.cts +29 -28
  65. package/dist/assets/schema.d.ts +29 -28
  66. package/dist/assets/schema.js +21 -2
  67. package/dist/assets/schema.js.map +1 -1
  68. package/dist/auth/index.cjs +14 -53
  69. package/dist/auth/index.d.cts +2 -305
  70. package/dist/auth/index.d.ts +2 -305
  71. package/dist/auth/index.js +2 -4
  72. package/dist/auth/types.cjs +0 -4
  73. package/dist/auth/types.d.cts +2 -7
  74. package/dist/auth/types.d.ts +2 -7
  75. package/dist/auth/types.js +1 -3
  76. package/dist/auth-5HCvCsZO.cjs +18 -0
  77. package/dist/auth-5HCvCsZO.cjs.map +1 -0
  78. package/dist/auth-D2jfNlpX.js +13 -0
  79. package/dist/{chunk-EDX5D6UY.js.map → auth-D2jfNlpX.js.map} +1 -1
  80. package/dist/authClient-Bgj2Ay7h.d.cts +320 -0
  81. package/dist/authClient-DOk6VKdV.js +332 -0
  82. package/dist/authClient-DOk6VKdV.js.map +1 -0
  83. package/dist/authClient-Dsd7W99W.d.ts +320 -0
  84. package/dist/authClient-Z8Eg8rlN.cjs +405 -0
  85. package/dist/authClient-Z8Eg8rlN.cjs.map +1 -0
  86. package/dist/backends-DKBz5OxE.d.cts +9 -0
  87. package/dist/backends-DKBz5OxE.d.ts +9 -0
  88. package/dist/chat/index.cjs +134 -13
  89. package/dist/chat/index.cjs.map +1 -1
  90. package/dist/chat/index.d.cts +49 -48
  91. package/dist/chat/index.d.ts +49 -48
  92. package/dist/chat/index.js +134 -5
  93. package/dist/chat/index.js.map +1 -1
  94. package/dist/chat/suggestions.cjs +152 -74
  95. package/dist/chat/suggestions.cjs.map +1 -1
  96. package/dist/chat/suggestions.d.cts +2 -437
  97. package/dist/chat/suggestions.d.ts +2 -437
  98. package/dist/chat/suggestions.js +136 -2
  99. package/dist/chat/suggestions.js.map +1 -1
  100. package/dist/chat/types.cjs +6 -8
  101. package/dist/chat/types.cjs.map +1 -1
  102. package/dist/chat/types.d.cts +2 -3
  103. package/dist/chat/types.d.ts +2 -3
  104. package/dist/chat/types.js +5 -6
  105. package/dist/chat/types.js.map +1 -1
  106. package/dist/componentId-DkyQ8PM0.cjs +73 -0
  107. package/dist/componentId-DkyQ8PM0.cjs.map +1 -0
  108. package/dist/componentId-vJz-kWs6.js +68 -0
  109. package/dist/componentId-vJz-kWs6.js.map +1 -0
  110. package/dist/concurrent-CH9fbNr3.js +34 -0
  111. package/dist/concurrent-CH9fbNr3.js.map +1 -0
  112. package/dist/concurrent-tbiIa0UL.cjs +39 -0
  113. package/dist/concurrent-tbiIa0UL.cjs.map +1 -0
  114. package/dist/configurations-Byt59bIa.js +726 -0
  115. package/dist/{chunk-IAYPOSMM.cjs.map → configurations-Byt59bIa.js.map} +1 -1
  116. package/dist/configurations-CujCwDcB.cjs +743 -0
  117. package/dist/configurations-CujCwDcB.cjs.map +1 -0
  118. package/dist/configurations-DCOJONZZ.cjs +313 -0
  119. package/dist/configurations-DCOJONZZ.cjs.map +1 -0
  120. package/dist/configurations-iCbhe0tb.js +158 -0
  121. package/dist/configurations-iCbhe0tb.js.map +1 -0
  122. package/dist/constants/index.cjs +10 -34
  123. package/dist/constants/index.d.cts +4 -92
  124. package/dist/constants/index.d.ts +4 -92
  125. package/dist/constants/index.js +4 -5
  126. package/dist/constants-CqyyBkXW.cjs +197 -0
  127. package/dist/constants-CqyyBkXW.cjs.map +1 -0
  128. package/dist/constants-_HhqKvBg.js +174 -0
  129. package/dist/constants-_HhqKvBg.js.map +1 -0
  130. package/dist/createFetchClient-BK0TZK-U.js +184 -0
  131. package/dist/createFetchClient-BK0TZK-U.js.map +1 -0
  132. package/dist/createFetchClient-BsG719K1.cjs +263 -0
  133. package/dist/createFetchClient-BsG719K1.cjs.map +1 -0
  134. package/dist/createGenericFetchClient-CVZYekDk.js +7 -0
  135. package/dist/createGenericFetchClient-CVZYekDk.js.map +1 -0
  136. package/dist/createGenericFetchClient-DLbjX0eM.cjs +12 -0
  137. package/dist/createGenericFetchClient-DLbjX0eM.cjs.map +1 -0
  138. package/dist/createOpenapiFetchClient-B5U1fCHS.js +7 -0
  139. package/dist/createOpenapiFetchClient-B5U1fCHS.js.map +1 -0
  140. package/dist/createOpenapiFetchClient-Cr90VXY4.cjs +12 -0
  141. package/dist/createOpenapiFetchClient-Cr90VXY4.cjs.map +1 -0
  142. package/dist/createStore-BNiCRQXa.js +148 -0
  143. package/dist/createStore-BNiCRQXa.js.map +1 -0
  144. package/dist/createStore-MQbboXcB.cjs +177 -0
  145. package/dist/createStore-MQbboXcB.cjs.map +1 -0
  146. package/dist/credential-0c6yFwtp.cjs +44 -0
  147. package/dist/credential-0c6yFwtp.cjs.map +1 -0
  148. package/dist/credential-kEGLnVez.js +33 -0
  149. package/dist/credential-kEGLnVez.js.map +1 -0
  150. package/dist/dataScience/index.cjs +5 -19
  151. package/dist/dataScience/index.d.cts +3 -207
  152. package/dist/dataScience/index.d.ts +3 -207
  153. package/dist/dataScience/index.js +3 -6
  154. package/dist/dataScience/types.cjs +0 -4
  155. package/dist/dataScience/types.d.cts +3 -2
  156. package/dist/dataScience/types.d.ts +3 -2
  157. package/dist/dataScience/types.js +1 -3
  158. package/dist/dataScience-C-JrA0Uk.cjs +114 -0
  159. package/dist/dataScience-C-JrA0Uk.cjs.map +1 -0
  160. package/dist/dataScience-CE0pSWbl.js +109 -0
  161. package/dist/dataScience-CE0pSWbl.js.map +1 -0
  162. package/dist/dedupe-CiskLkGR.cjs +30 -0
  163. package/dist/dedupe-CiskLkGR.cjs.map +1 -0
  164. package/dist/dedupe-DYIHgZoG.js +25 -0
  165. package/dist/dedupe-DYIHgZoG.js.map +1 -0
  166. package/dist/developerPortal/index.cjs +6 -0
  167. package/dist/developerPortal/index.d.cts +3 -0
  168. package/dist/developerPortal/index.d.ts +3 -0
  169. package/dist/developerPortal/index.js +2 -0
  170. package/dist/developerPortal/types.cjs +0 -0
  171. package/dist/developerPortal/types.d.cts +2 -0
  172. package/dist/developerPortal/types.d.ts +2 -0
  173. package/dist/developerPortal/types.js +1 -0
  174. package/dist/developerPortalClient-BPPEAdJW.js +485 -0
  175. package/dist/developerPortalClient-BPPEAdJW.js.map +1 -0
  176. package/dist/developerPortalClient-C8oq48xW.cjs +508 -0
  177. package/dist/developerPortalClient-C8oq48xW.cjs.map +1 -0
  178. package/dist/domain/permissions/index.cjs +31 -122
  179. package/dist/domain/permissions/index.d.cts +19 -51
  180. package/dist/domain/permissions/index.d.ts +19 -51
  181. package/dist/domain/permissions/index.js +3 -5
  182. package/dist/domain/storageTable/index.cjs +4 -16
  183. package/dist/domain/storageTable/index.d.cts +2 -131
  184. package/dist/domain/storageTable/index.d.ts +2 -131
  185. package/dist/domain/storageTable/index.js +2 -3
  186. package/dist/editor/index.cjs +96 -12
  187. package/dist/editor/index.cjs.map +1 -1
  188. package/dist/editor/index.d.cts +163 -161
  189. package/dist/editor/index.d.ts +163 -161
  190. package/dist/editor/index.js +96 -4
  191. package/dist/editor/index.js.map +1 -1
  192. package/dist/editor/types.cjs +0 -4
  193. package/dist/editor/types.d.cts +2 -2
  194. package/dist/editor/types.d.ts +2 -2
  195. package/dist/editor/types.js +1 -3
  196. package/dist/encryption/index.cjs +58 -11
  197. package/dist/encryption/index.cjs.map +1 -1
  198. package/dist/encryption/index.d.cts +2 -18
  199. package/dist/encryption/index.d.ts +2 -18
  200. package/dist/encryption/index.js +58 -3
  201. package/dist/encryption/index.js.map +1 -1
  202. package/dist/encryption/types.cjs +0 -4
  203. package/dist/encryption/types.d.cts +2 -68
  204. package/dist/encryption/types.d.ts +2 -68
  205. package/dist/encryption/types.js +1 -3
  206. package/dist/generateUUID-C6qKBPIv.cjs +11 -0
  207. package/dist/generateUUID-C6qKBPIv.cjs.map +1 -0
  208. package/dist/generateUUID-Dr8l-aoc.js +6 -0
  209. package/dist/generateUUID-Dr8l-aoc.js.map +1 -0
  210. package/dist/import/index.cjs +3 -14
  211. package/dist/import/index.d.cts +41 -38
  212. package/dist/import/index.d.ts +41 -38
  213. package/dist/import/index.js +2 -5
  214. package/dist/import-Cf0W-7YD.js +116 -0
  215. package/dist/import-Cf0W-7YD.js.map +1 -0
  216. package/dist/import-KLH1uRtx.cjs +121 -0
  217. package/dist/import-KLH1uRtx.cjs.map +1 -0
  218. package/dist/index-8pN6Emos.d.ts +218 -0
  219. package/dist/index-BEKaJ7Cc.d.cts +1388 -0
  220. package/dist/index-BMqLPS6S.d.cts +135 -0
  221. package/dist/index-BMqLPS6S.d.ts +135 -0
  222. package/dist/index-BWBScAYc.d.cts +16 -0
  223. package/dist/index-BmjeNd9u.d.ts +1075 -0
  224. package/dist/index-BthgbVdd.d.ts +31 -0
  225. package/dist/index-CLPrlyIz.d.cts +218 -0
  226. package/dist/index-CXQRvZ-f.d.cts +31 -0
  227. package/dist/index-CeistZnj.d.ts +1388 -0
  228. package/dist/index-Cfrl7sd5.d.ts +65 -0
  229. package/dist/index-DIM8KZly.d.ts +16 -0
  230. package/dist/index-DNlX-H1V.d.ts +208 -0
  231. package/dist/index-DVsnxZap.d.cts +65 -0
  232. package/dist/index-DXi6wsr5.d.cts +77 -0
  233. package/dist/index-DYQt4zxC.d.ts +77 -0
  234. package/dist/index-DplMbm9E.d.cts +19882 -0
  235. package/dist/index-Dwp8tF6O.d.ts +19882 -0
  236. package/dist/index-IN0qzs52.d.cts +208 -0
  237. package/dist/index-KKJkrxjx.d.ts +26 -0
  238. package/dist/index-NC1dXRTD.d.cts +40 -0
  239. package/dist/index-NC1dXRTD.d.ts +40 -0
  240. package/dist/index-WQkVzx5e.d.cts +1075 -0
  241. package/dist/index-eEBVG5s3.d.cts +26 -0
  242. package/dist/index-vb9Rfqca.d.cts +115 -0
  243. package/dist/index-vb9Rfqca.d.ts +115 -0
  244. package/dist/index.cjs +1728 -1802
  245. package/dist/index.cjs.map +1 -1
  246. package/dist/index.d.cts +7 -15301
  247. package/dist/index.d.ts +7 -15301
  248. package/dist/index.js +1678 -1675
  249. package/dist/index.js.map +1 -1
  250. package/dist/isPlainObject-BB3iy87C.cjs +16 -0
  251. package/dist/isPlainObject-BB3iy87C.cjs.map +1 -0
  252. package/dist/isPlainObject-LYW-03uB.js +11 -0
  253. package/dist/isPlainObject-LYW-03uB.js.map +1 -0
  254. package/dist/jobStatus-DbMupQEK.js +423 -0
  255. package/dist/jobStatus-DbMupQEK.js.map +1 -0
  256. package/dist/jobStatus-kQ9JqF8t.cjs +494 -0
  257. package/dist/jobStatus-kQ9JqF8t.cjs.map +1 -0
  258. package/dist/management/index.cjs +4 -18
  259. package/dist/management/index.d.cts +2 -1083
  260. package/dist/management/index.d.ts +2 -1083
  261. package/dist/management/index.js +2 -5
  262. package/dist/management/types.cjs +0 -4
  263. package/dist/management/types.d.cts +2 -12
  264. package/dist/management/types.d.ts +2 -12
  265. package/dist/management/types.js +1 -3
  266. package/dist/management-DqwQcDCx.js +1065 -0
  267. package/dist/management-DqwQcDCx.js.map +1 -0
  268. package/dist/management-WOmlBt6H.cjs +1076 -0
  269. package/dist/management-WOmlBt6H.cjs.map +1 -0
  270. package/dist/metastore/index.cjs +3 -14
  271. package/dist/metastore/index.d.cts +2 -33
  272. package/dist/metastore/index.d.ts +2 -33
  273. package/dist/metastore/index.js +2 -5
  274. package/dist/metastore/types.cjs +0 -4
  275. package/dist/metastore/types.d.cts +2 -2
  276. package/dist/metastore/types.d.ts +2 -2
  277. package/dist/metastore/types.js +1 -3
  278. package/dist/metastore-CNEhL66f.js +134 -0
  279. package/dist/metastore-CNEhL66f.js.map +1 -0
  280. package/dist/metastore-CkQluyX1.cjs +139 -0
  281. package/dist/metastore-CkQluyX1.cjs.map +1 -0
  282. package/dist/notifications/index.cjs +67 -13
  283. package/dist/notifications/index.cjs.map +1 -1
  284. package/dist/notifications/index.d.cts +56 -56
  285. package/dist/notifications/index.d.ts +56 -56
  286. package/dist/notifications/index.js +67 -5
  287. package/dist/notifications/index.js.map +1 -1
  288. package/dist/notifications/types.cjs +0 -4
  289. package/dist/notifications/types.d.cts +2 -2
  290. package/dist/notifications/types.d.ts +2 -2
  291. package/dist/notifications/types.js +1 -3
  292. package/dist/oauth/index.cjs +3 -14
  293. package/dist/oauth/index.d.cts +49 -49
  294. package/dist/oauth/index.d.ts +49 -49
  295. package/dist/oauth/index.js +2 -5
  296. package/dist/oauth/types.cjs +0 -4
  297. package/dist/oauth/types.d.cts +2 -725
  298. package/dist/oauth/types.d.ts +2 -725
  299. package/dist/oauth/types.js +1 -3
  300. package/dist/oauth-DTvrqe6P.cjs +88 -0
  301. package/dist/oauth-DTvrqe6P.cjs.map +1 -0
  302. package/dist/oauth-DYDObUX9.js +83 -0
  303. package/dist/oauth-DYDObUX9.js.map +1 -0
  304. package/dist/omnisearch/index.cjs +49 -0
  305. package/dist/omnisearch/index.cjs.map +1 -0
  306. package/dist/omnisearch/index.d.cts +30 -0
  307. package/dist/omnisearch/index.d.ts +30 -0
  308. package/dist/omnisearch/index.js +48 -0
  309. package/dist/omnisearch/index.js.map +1 -0
  310. package/dist/omnisearch/types.cjs +0 -0
  311. package/dist/omnisearch/types.d.cts +2 -0
  312. package/dist/omnisearch/types.d.ts +2 -0
  313. package/dist/omnisearch/types.js +1 -0
  314. package/dist/project-BvFi19K_.cjs +56 -0
  315. package/dist/project-BvFi19K_.cjs.map +1 -0
  316. package/dist/project-CcGxXIW_.d.cts +18 -0
  317. package/dist/project-DWwZv66D.js +39 -0
  318. package/dist/project-DWwZv66D.js.map +1 -0
  319. package/dist/project-io1pY-hW.d.ts +18 -0
  320. package/dist/queryService/index.cjs +3 -14
  321. package/dist/queryService/index.d.cts +2 -39
  322. package/dist/queryService/index.d.ts +2 -39
  323. package/dist/queryService/index.js +2 -5
  324. package/dist/queryService/types.cjs +0 -4
  325. package/dist/queryService/types.d.cts +2 -2
  326. package/dist/queryService/types.d.ts +2 -2
  327. package/dist/queryService/types.js +1 -3
  328. package/dist/queryService-BHV_OZI2.js +114 -0
  329. package/dist/queryService-BHV_OZI2.js.map +1 -0
  330. package/dist/queryService-CvqDqigW.cjs +119 -0
  331. package/dist/queryService-CvqDqigW.cjs.map +1 -0
  332. package/dist/queue/index.cjs +3 -15
  333. package/dist/queue/index.d.cts +411 -334
  334. package/dist/queue/index.d.ts +411 -334
  335. package/dist/queue/index.js +2 -6
  336. package/dist/queue/types.cjs +0 -4
  337. package/dist/queue/types.d.cts +2 -2
  338. package/dist/queue/types.d.ts +2 -2
  339. package/dist/queue/types.js +1 -3
  340. package/dist/queue-CUHKupTA.cjs +137 -0
  341. package/dist/queue-CUHKupTA.cjs.map +1 -0
  342. package/dist/queue-uofE4Eu6.js +126 -0
  343. package/dist/queue-uofE4Eu6.js.map +1 -0
  344. package/dist/rolldown-runtime-VH7oDXx4.cjs +28 -0
  345. package/dist/scheduler/index.cjs +61 -13
  346. package/dist/scheduler/index.cjs.map +1 -1
  347. package/dist/scheduler/index.d.cts +73 -73
  348. package/dist/scheduler/index.d.ts +73 -73
  349. package/dist/scheduler/index.js +61 -5
  350. package/dist/scheduler/index.js.map +1 -1
  351. package/dist/scheduler/types.cjs +0 -4
  352. package/dist/scheduler/types.d.cts +2 -372
  353. package/dist/scheduler/types.d.ts +2 -372
  354. package/dist/scheduler/types.js +1 -3
  355. package/dist/sdk/configurations/index.cjs +3 -16
  356. package/dist/sdk/configurations/index.d.cts +3066 -3077
  357. package/dist/sdk/configurations/index.d.ts +3066 -3077
  358. package/dist/sdk/configurations/index.js +2 -7
  359. package/dist/sdk/developerPortal/index.cjs +203 -0
  360. package/dist/sdk/developerPortal/index.cjs.map +1 -0
  361. package/dist/sdk/developerPortal/index.d.cts +1371 -0
  362. package/dist/sdk/developerPortal/index.d.ts +1371 -0
  363. package/dist/sdk/developerPortal/index.js +202 -0
  364. package/dist/sdk/developerPortal/index.js.map +1 -0
  365. package/dist/sdk/queryService/index.cjs +93 -0
  366. package/dist/sdk/queryService/index.cjs.map +1 -0
  367. package/dist/sdk/queryService/index.d.cts +2 -0
  368. package/dist/sdk/queryService/index.d.ts +2 -0
  369. package/dist/sdk/queryService/index.js +92 -0
  370. package/dist/sdk/queryService/index.js.map +1 -0
  371. package/dist/sdk/semanticLayer/index.cjs +352 -50
  372. package/dist/sdk/semanticLayer/index.cjs.map +1 -1
  373. package/dist/sdk/semanticLayer/index.d.cts +105 -94
  374. package/dist/sdk/semanticLayer/index.d.ts +105 -94
  375. package/dist/sdk/semanticLayer/index.js +346 -4
  376. package/dist/sdk/semanticLayer/index.js.map +1 -1
  377. package/dist/sdk/semanticLayer/types.cjs +0 -4
  378. package/dist/sdk/semanticLayer/types.d.cts +2 -132
  379. package/dist/sdk/semanticLayer/types.d.ts +2 -132
  380. package/dist/sdk/semanticLayer/types.js +1 -3
  381. package/dist/sdk/storage/index.cjs +267 -47
  382. package/dist/sdk/storage/index.cjs.map +1 -1
  383. package/dist/sdk/storage/index.d.cts +2 -119
  384. package/dist/sdk/storage/index.d.ts +2 -119
  385. package/dist/sdk/storage/index.js +258 -3
  386. package/dist/sdk/storage/index.js.map +1 -1
  387. package/dist/sdk/tag/index.cjs +3 -14
  388. package/dist/sdk/tag/index.d.cts +16 -20
  389. package/dist/sdk/tag/index.d.ts +16 -20
  390. package/dist/sdk/tag/index.js +2 -5
  391. package/dist/sdk/tag/types.cjs +0 -4
  392. package/dist/sdk/tag/types.d.cts +2 -30
  393. package/dist/sdk/tag/types.d.ts +2 -30
  394. package/dist/sdk/tag/types.js +1 -3
  395. package/dist/sdk/vault/index.cjs +93 -31
  396. package/dist/sdk/vault/index.cjs.map +1 -1
  397. package/dist/sdk/vault/index.d.cts +2 -72
  398. package/dist/sdk/vault/index.d.ts +2 -72
  399. package/dist/sdk/vault/index.js +88 -3
  400. package/dist/sdk/vault/index.js.map +1 -1
  401. package/dist/status/index.cjs +16 -20
  402. package/dist/status/index.cjs.map +1 -1
  403. package/dist/status/index.d.cts +8 -9
  404. package/dist/status/index.d.ts +8 -9
  405. package/dist/status/index.js +15 -18
  406. package/dist/status/index.js.map +1 -1
  407. package/dist/status/types.cjs +0 -6
  408. package/dist/status/types.d.cts +17 -15
  409. package/dist/status/types.d.ts +17 -15
  410. package/dist/status/types.js +1 -3
  411. package/dist/storage/index.cjs +27 -54
  412. package/dist/storage/index.d.cts +3 -43
  413. package/dist/storage/index.d.ts +3 -43
  414. package/dist/storage/index.js +8 -9
  415. package/dist/storage/types.cjs +0 -4
  416. package/dist/storage/types.d.cts +5 -1654
  417. package/dist/storage/types.d.ts +5 -1654
  418. package/dist/storage/types.js +1 -3
  419. package/dist/storage-DbyNnkIJ.cjs +2458 -0
  420. package/dist/storage-DbyNnkIJ.cjs.map +1 -0
  421. package/dist/storage-luq7YBZF.js +2429 -0
  422. package/dist/storage-luq7YBZF.js.map +1 -0
  423. package/dist/storageTable-C9crh4Ef.cjs +310 -0
  424. package/dist/storageTable-C9crh4Ef.cjs.map +1 -0
  425. package/dist/storageTable-DslXtqNL.js +299 -0
  426. package/dist/storageTable-DslXtqNL.js.map +1 -0
  427. package/dist/stream/index.cjs +363 -12
  428. package/dist/stream/index.cjs.map +1 -1
  429. package/dist/stream/index.d.cts +345 -345
  430. package/dist/stream/index.d.ts +345 -345
  431. package/dist/stream/index.js +363 -4
  432. package/dist/stream/index.js.map +1 -1
  433. package/dist/stream/types.cjs +0 -4
  434. package/dist/stream/types.d.cts +2 -2
  435. package/dist/stream/types.d.ts +2 -2
  436. package/dist/stream/types.js +1 -3
  437. package/dist/suggestions-BH3x7xU7.d.cts +438 -0
  438. package/dist/suggestions-BH3x7xU7.d.ts +438 -0
  439. package/dist/syncActions/index.cjs +3 -18
  440. package/dist/syncActions/index.d.cts +2 -112
  441. package/dist/syncActions/index.d.ts +2 -112
  442. package/dist/syncActions/index.js +2 -9
  443. package/dist/syncActions/types.cjs +0 -4
  444. package/dist/syncActions/types.d.cts +2 -298
  445. package/dist/syncActions/types.d.ts +2 -298
  446. package/dist/syncActions/types.js +1 -3
  447. package/dist/syncActions-DKWeJ8GH.cjs +504 -0
  448. package/dist/syncActions-DKWeJ8GH.cjs.map +1 -0
  449. package/dist/syncActions-ssWWVN_4.js +497 -0
  450. package/dist/syncActions-ssWWVN_4.js.map +1 -0
  451. package/dist/tag-CsoOZWB_.cjs +175 -0
  452. package/dist/tag-CsoOZWB_.cjs.map +1 -0
  453. package/dist/tag-DCsoewjL.js +164 -0
  454. package/dist/{chunk-DHOVQ2TW.js.map → tag-DCsoewjL.js.map} +1 -1
  455. package/dist/telemetry/index.cjs +3 -14
  456. package/dist/telemetry/index.d.cts +10 -10
  457. package/dist/telemetry/index.d.ts +10 -10
  458. package/dist/telemetry/index.js +2 -5
  459. package/dist/telemetry/types.cjs +0 -4
  460. package/dist/telemetry/types.d.cts +2 -12
  461. package/dist/telemetry/types.d.ts +2 -12
  462. package/dist/telemetry/types.js +1 -3
  463. package/dist/telemetry-2IrE8HaZ.cjs +29 -0
  464. package/dist/telemetry-2IrE8HaZ.cjs.map +1 -0
  465. package/dist/telemetry-yQfQxBBI.js +24 -0
  466. package/dist/telemetry-yQfQxBBI.js.map +1 -0
  467. package/dist/types--T-vBqdd.d.cts +2835 -0
  468. package/dist/{types-CM1zHzgm.d.ts → types-2mHlPakp.d.cts} +893 -69
  469. package/dist/types-7H6Dnz0Y.d.ts +23 -0
  470. package/dist/types-B06L4-WE.d.cts +2124 -0
  471. package/dist/types-B1S2H7q1.d.ts +373 -0
  472. package/dist/types-B1glyy_Q.d.ts +726 -0
  473. package/dist/{utils-DK7uJcmR.d.cts → types-BCt0EMiO.d.ts} +16 -905
  474. package/dist/{types-BX1xr4CX.d.cts → types-BD6czYPH.d.ts} +43 -108
  475. package/dist/{types-BEnE7LHB.d.cts → types-BO-mTxKb.d.cts} +57 -81
  476. package/dist/{types-BieLFMW1.d.cts → types-BREBK0xX.d.ts} +9 -8
  477. package/dist/types-BRQAKEC1.d.cts +32 -0
  478. package/dist/types-BXK6Ebtm.d.ts +32 -0
  479. package/dist/types-BefwoXik.d.cts +373 -0
  480. package/dist/{types-DeoA45gz.d.cts → types-BhBvnvqe.d.ts} +632 -464
  481. package/dist/{types-Cgh3jqrV.d.cts → types-BmFyDKe6.d.ts} +893 -69
  482. package/dist/types-BpWqpMkL.d.ts +66 -0
  483. package/dist/types-C8XiTXxi.d.cts +23 -0
  484. package/dist/{types-BfuVN8Pk.d.cts → types-CAOvDtMC.d.cts} +11 -16
  485. package/dist/types-CC0wymfG.d.ts +2088 -0
  486. package/dist/{types-YzkNUuYo.d.ts → types-CI1mW2lA.d.ts} +11 -16
  487. package/dist/{types-00IaLn3S.d.ts → types-CRYtdj5w.d.ts} +876 -374
  488. package/dist/{types-CrLjE5xf.d.ts → types-CSmttcZ_.d.ts} +10 -12
  489. package/dist/{types-DgSyBwP3.d.cts → types-CbZ8aMKW.d.cts} +11 -14
  490. package/dist/{types-DwMezEHT.d.ts → types-CexuN7Mw.d.cts} +43 -108
  491. package/dist/types-CjAia48k.d.ts +386 -0
  492. package/dist/{types-D-MuJHwl.d.cts → types-CtdyAkzI.d.cts} +28 -16
  493. package/dist/{types-DpUcInCX.d.ts → types-CvADp-x-.d.ts} +11 -14
  494. package/dist/types-CwvOcTOm.d.cts +2088 -0
  495. package/dist/types-CyRK5z-E.d.cts +386 -0
  496. package/dist/{types-DbAO-Tgk.d.ts → types-D2n3h1gp.d.ts} +57 -81
  497. package/dist/types-DBOEA7l0.d.cts +148 -0
  498. package/dist/{types-DYnHIm7m.d.cts → types-DCBKso0t.d.cts} +10 -12
  499. package/dist/{types-Hj1CaKtV.d.ts → types-DEKF5pbg.d.cts} +632 -464
  500. package/dist/{types-B30y9Lhc.d.ts → types-DMvU4kZ2.d.cts} +208 -24
  501. package/dist/{types-B-vmDlWB.d.cts → types-DS8uFAeq.d.cts} +10 -15
  502. package/dist/types-DeApSCzx.d.cts +602 -0
  503. package/dist/types-DebL68-g.d.ts +148 -0
  504. package/dist/types-DgaYUtu_.d.cts +726 -0
  505. package/dist/{types-CiJ5ULtS.d.ts → types-DkbfBOBr.d.cts} +9 -8
  506. package/dist/types-DvsGS8By.d.cts +66 -0
  507. package/dist/{types-DHXZZKb3.d.ts → types-DwX1uxp_.d.ts} +10 -15
  508. package/dist/{types-sVyfECai.d.cts → types-ISUNM_BR.d.cts} +876 -374
  509. package/dist/{utils-B_SOM1XR.d.ts → types-QOIQ-dZU.d.cts} +16 -905
  510. package/dist/types-SGuvOEV8.d.ts +2124 -0
  511. package/dist/types-V8rC5if7.d.cts +621 -0
  512. package/dist/{types-CSZoV4lM.d.cts → types-Z-vUwgym.d.ts} +208 -24
  513. package/dist/types-bws2RtKq.d.ts +602 -0
  514. package/dist/types-h9TTimS_.d.ts +2835 -0
  515. package/dist/types-lFsTSkhe.d.cts +14 -0
  516. package/dist/types-lFsTSkhe.d.ts +14 -0
  517. package/dist/types-n4FFKqa4.d.ts +621 -0
  518. package/dist/{types-DeS-oVdn.d.ts → types-x4xPlrr0.d.ts} +28 -16
  519. package/dist/vault/index.cjs +49 -13
  520. package/dist/vault/index.cjs.map +1 -1
  521. package/dist/vault/index.d.cts +2 -26
  522. package/dist/vault/index.d.ts +2 -26
  523. package/dist/vault/index.js +49 -5
  524. package/dist/vault/index.js.map +1 -1
  525. package/dist/vault/types.cjs +0 -4
  526. package/dist/vault/types.d.cts +2 -385
  527. package/dist/vault/types.d.ts +2 -385
  528. package/dist/vault/types.js +1 -3
  529. package/package.json +113 -7
  530. package/surface/ai.md +1 -0
  531. package/surface/apps.md +32 -0
  532. package/surface/auth.md +6 -4
  533. package/surface/chat.md +3 -2
  534. package/surface/dataScience.md +3 -2
  535. package/surface/editor.md +1 -0
  536. package/surface/encryption.md +1 -0
  537. package/surface/import.md +1 -0
  538. package/surface/kaiAgent.md +2 -1
  539. package/surface/management.md +17 -16
  540. package/surface/metastore.md +2 -1
  541. package/surface/notifications.md +1 -0
  542. package/surface/oauth.md +1 -0
  543. package/surface/omnisearch.md +9 -0
  544. package/surface/queryService.md +5 -3
  545. package/surface/queue.md +8 -6
  546. package/surface/scheduler.md +1 -0
  547. package/surface/sdk.md +22 -22
  548. package/surface/storage.md +147 -106
  549. package/surface/stream.md +1 -0
  550. package/surface/syncActions.md +13 -6
  551. package/surface/vault.md +1 -0
  552. package/dist/ManagementClientAuthError-4J0S5tV-.d.ts +0 -9
  553. package/dist/ManagementClientAuthError-CyDpa4NS.d.cts +0 -9
  554. package/dist/adminRoles-Cil1lavB.d.cts +0 -18
  555. package/dist/adminRoles-Cil1lavB.d.ts +0 -18
  556. package/dist/ai/types.cjs.map +0 -1
  557. package/dist/ai/types.js.map +0 -1
  558. package/dist/auth/index.cjs.map +0 -1
  559. package/dist/auth/index.js.map +0 -1
  560. package/dist/auth/types.cjs.map +0 -1
  561. package/dist/auth/types.js.map +0 -1
  562. package/dist/chunk-22E6IGXR.js +0 -6
  563. package/dist/chunk-22E6IGXR.js.map +0 -1
  564. package/dist/chunk-2BOG5U7C.js +0 -75
  565. package/dist/chunk-2BOG5U7C.js.map +0 -1
  566. package/dist/chunk-2CFM7K4U.cjs +0 -55
  567. package/dist/chunk-2CFM7K4U.cjs.map +0 -1
  568. package/dist/chunk-34GM6NXB.js +0 -77
  569. package/dist/chunk-34GM6NXB.js.map +0 -1
  570. package/dist/chunk-3BFPNM2J.js +0 -61
  571. package/dist/chunk-3BFPNM2J.js.map +0 -1
  572. package/dist/chunk-3PVERYSF.js +0 -16
  573. package/dist/chunk-3PVERYSF.js.map +0 -1
  574. package/dist/chunk-3YWQQ3OG.cjs +0 -79
  575. package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
  576. package/dist/chunk-4RC5E3SL.js +0 -140
  577. package/dist/chunk-4RC5E3SL.js.map +0 -1
  578. package/dist/chunk-4VVF2PIX.js +0 -110
  579. package/dist/chunk-4VVF2PIX.js.map +0 -1
  580. package/dist/chunk-552FC4ZV.js +0 -14
  581. package/dist/chunk-552FC4ZV.js.map +0 -1
  582. package/dist/chunk-5XWVWFTC.js +0 -33
  583. package/dist/chunk-5XWVWFTC.js.map +0 -1
  584. package/dist/chunk-6YZQIMML.cjs +0 -163
  585. package/dist/chunk-6YZQIMML.cjs.map +0 -1
  586. package/dist/chunk-77LILJYX.js +0 -110
  587. package/dist/chunk-77LILJYX.js.map +0 -1
  588. package/dist/chunk-7J2R6XHB.js +0 -3
  589. package/dist/chunk-7J2R6XHB.js.map +0 -1
  590. package/dist/chunk-7R22VKV7.cjs +0 -62
  591. package/dist/chunk-7R22VKV7.cjs.map +0 -1
  592. package/dist/chunk-7RO6PKZ4.cjs +0 -16
  593. package/dist/chunk-7RO6PKZ4.cjs.map +0 -1
  594. package/dist/chunk-7YXL4FKN.cjs +0 -340
  595. package/dist/chunk-7YXL4FKN.cjs.map +0 -1
  596. package/dist/chunk-7Z4MU7ZB.js +0 -1294
  597. package/dist/chunk-7Z4MU7ZB.js.map +0 -1
  598. package/dist/chunk-AFJGNBVM.cjs +0 -63
  599. package/dist/chunk-AFJGNBVM.cjs.map +0 -1
  600. package/dist/chunk-AVH6F5LB.js +0 -1492
  601. package/dist/chunk-AVH6F5LB.js.map +0 -1
  602. package/dist/chunk-AXEANGGK.js +0 -226
  603. package/dist/chunk-AXEANGGK.js.map +0 -1
  604. package/dist/chunk-BCZPCMGL.cjs +0 -49
  605. package/dist/chunk-BCZPCMGL.cjs.map +0 -1
  606. package/dist/chunk-BR6WZE3O.cjs +0 -42
  607. package/dist/chunk-BR6WZE3O.cjs.map +0 -1
  608. package/dist/chunk-BZA3FGO6.js +0 -40
  609. package/dist/chunk-BZA3FGO6.js.map +0 -1
  610. package/dist/chunk-CV2JGHBN.js +0 -183
  611. package/dist/chunk-CV2JGHBN.js.map +0 -1
  612. package/dist/chunk-CWCUQACX.cjs +0 -18
  613. package/dist/chunk-CWCUQACX.cjs.map +0 -1
  614. package/dist/chunk-CWUQ6ZAO.cjs +0 -185
  615. package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
  616. package/dist/chunk-D4WOOKMI.js +0 -350
  617. package/dist/chunk-D4WOOKMI.js.map +0 -1
  618. package/dist/chunk-DHOVQ2TW.js +0 -177
  619. package/dist/chunk-DRNOCC6W.cjs +0 -295
  620. package/dist/chunk-DRNOCC6W.cjs.map +0 -1
  621. package/dist/chunk-EDX5D6UY.js +0 -14
  622. package/dist/chunk-EWMXK3EI.cjs +0 -8
  623. package/dist/chunk-EWMXK3EI.cjs.map +0 -1
  624. package/dist/chunk-EYIPM2XB.cjs +0 -82
  625. package/dist/chunk-EYIPM2XB.cjs.map +0 -1
  626. package/dist/chunk-F6ZAYTBX.cjs +0 -364
  627. package/dist/chunk-F6ZAYTBX.cjs.map +0 -1
  628. package/dist/chunk-FJBP3MRI.cjs +0 -63
  629. package/dist/chunk-FJBP3MRI.cjs.map +0 -1
  630. package/dist/chunk-FMS5PNM2.cjs +0 -37
  631. package/dist/chunk-FMS5PNM2.cjs.map +0 -1
  632. package/dist/chunk-FPB6OGTV.js +0 -26
  633. package/dist/chunk-FPB6OGTV.js.map +0 -1
  634. package/dist/chunk-FRLSKIUI.cjs +0 -180
  635. package/dist/chunk-FRLSKIUI.cjs.map +0 -1
  636. package/dist/chunk-G3N5KDEY.js +0 -10
  637. package/dist/chunk-G3N5KDEY.js.map +0 -1
  638. package/dist/chunk-G66EP527.js +0 -59
  639. package/dist/chunk-G66EP527.js.map +0 -1
  640. package/dist/chunk-GF4XZK5N.cjs +0 -43
  641. package/dist/chunk-GF4XZK5N.cjs.map +0 -1
  642. package/dist/chunk-HITKHHWN.cjs +0 -174
  643. package/dist/chunk-HITKHHWN.cjs.map +0 -1
  644. package/dist/chunk-HMCZUHR7.js +0 -53
  645. package/dist/chunk-HMCZUHR7.js.map +0 -1
  646. package/dist/chunk-HTVJR5WS.cjs +0 -305
  647. package/dist/chunk-HTVJR5WS.cjs.map +0 -1
  648. package/dist/chunk-HY7J3OD3.cjs +0 -1298
  649. package/dist/chunk-HY7J3OD3.cjs.map +0 -1
  650. package/dist/chunk-IAYPOSMM.cjs +0 -472
  651. package/dist/chunk-IDWGBCSB.cjs +0 -61
  652. package/dist/chunk-IDWGBCSB.cjs.map +0 -1
  653. package/dist/chunk-J3NLKXQ5.cjs +0 -79
  654. package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
  655. package/dist/chunk-KEFXOJD7.js +0 -61
  656. package/dist/chunk-KEFXOJD7.js.map +0 -1
  657. package/dist/chunk-KUYVBCUM.cjs +0 -231
  658. package/dist/chunk-KUYVBCUM.cjs.map +0 -1
  659. package/dist/chunk-L262THNK.cjs +0 -253
  660. package/dist/chunk-L262THNK.cjs.map +0 -1
  661. package/dist/chunk-LD3JERYP.js +0 -77
  662. package/dist/chunk-LD3JERYP.js.map +0 -1
  663. package/dist/chunk-LIXSIM3H.cjs +0 -113
  664. package/dist/chunk-LIXSIM3H.cjs.map +0 -1
  665. package/dist/chunk-LNZP2O4P.js +0 -169
  666. package/dist/chunk-LNZP2O4P.js.map +0 -1
  667. package/dist/chunk-MMOAH3EH.cjs +0 -288
  668. package/dist/chunk-MMOAH3EH.cjs.map +0 -1
  669. package/dist/chunk-MRHQJNWF.cjs +0 -8
  670. package/dist/chunk-MRHQJNWF.cjs.map +0 -1
  671. package/dist/chunk-MSI6FVGG.js +0 -6
  672. package/dist/chunk-MSI6FVGG.js.map +0 -1
  673. package/dist/chunk-N4COL54U.cjs +0 -22
  674. package/dist/chunk-N4COL54U.cjs.map +0 -1
  675. package/dist/chunk-NVQ6LGDO.cjs +0 -35
  676. package/dist/chunk-NVQ6LGDO.cjs.map +0 -1
  677. package/dist/chunk-NVRVPWNY.js +0 -148
  678. package/dist/chunk-NVRVPWNY.js.map +0 -1
  679. package/dist/chunk-OUSPQ55W.js +0 -263
  680. package/dist/chunk-OUSPQ55W.js.map +0 -1
  681. package/dist/chunk-PPQF7LTS.cjs +0 -63
  682. package/dist/chunk-PPQF7LTS.cjs.map +0 -1
  683. package/dist/chunk-PSR3N4NC.js +0 -136
  684. package/dist/chunk-PSR3N4NC.js.map +0 -1
  685. package/dist/chunk-QHD4LPAQ.cjs +0 -8
  686. package/dist/chunk-QHD4LPAQ.cjs.map +0 -1
  687. package/dist/chunk-RRC5RKF7.cjs +0 -12
  688. package/dist/chunk-RRC5RKF7.cjs.map +0 -1
  689. package/dist/chunk-RVBGE2Z4.js +0 -468
  690. package/dist/chunk-RVBGE2Z4.js.map +0 -1
  691. package/dist/chunk-S4JK7DKM.js +0 -61
  692. package/dist/chunk-S4JK7DKM.js.map +0 -1
  693. package/dist/chunk-SJZ66FD5.js +0 -35
  694. package/dist/chunk-SJZ66FD5.js.map +0 -1
  695. package/dist/chunk-T242YFMT.cjs +0 -150
  696. package/dist/chunk-T242YFMT.cjs.map +0 -1
  697. package/dist/chunk-T526LPBK.js +0 -6
  698. package/dist/chunk-T526LPBK.js.map +0 -1
  699. package/dist/chunk-U5SE6W5M.cjs +0 -158
  700. package/dist/chunk-U5SE6W5M.cjs.map +0 -1
  701. package/dist/chunk-UABYNGBZ.js +0 -39
  702. package/dist/chunk-UABYNGBZ.js.map +0 -1
  703. package/dist/chunk-UP5SEEYZ.js +0 -218
  704. package/dist/chunk-UP5SEEYZ.js.map +0 -1
  705. package/dist/chunk-UQ5CACMW.js +0 -283
  706. package/dist/chunk-UQ5CACMW.js.map +0 -1
  707. package/dist/chunk-UUY6LQT6.cjs +0 -267
  708. package/dist/chunk-UUY6LQT6.cjs.map +0 -1
  709. package/dist/chunk-UWQUHP3T.cjs +0 -112
  710. package/dist/chunk-UWQUHP3T.cjs.map +0 -1
  711. package/dist/chunk-XHDYLUM4.js +0 -268
  712. package/dist/chunk-XHDYLUM4.js.map +0 -1
  713. package/dist/chunk-XIIER7QQ.js +0 -60
  714. package/dist/chunk-XIIER7QQ.js.map +0 -1
  715. package/dist/chunk-XKIENBIE.js +0 -338
  716. package/dist/chunk-XKIENBIE.js.map +0 -1
  717. package/dist/chunk-XPDEQND7.cjs +0 -4
  718. package/dist/chunk-XPDEQND7.cjs.map +0 -1
  719. package/dist/chunk-YGEJDWGG.js +0 -19
  720. package/dist/chunk-YGEJDWGG.js.map +0 -1
  721. package/dist/chunk-YXGBD4WP.cjs +0 -16
  722. package/dist/chunk-YXGBD4WP.cjs.map +0 -1
  723. package/dist/chunk-Z3HZ4MP4.cjs +0 -1496
  724. package/dist/chunk-Z3HZ4MP4.cjs.map +0 -1
  725. package/dist/chunk-ZOREOLGE.js +0 -264
  726. package/dist/chunk-ZOREOLGE.js.map +0 -1
  727. package/dist/constants/index.cjs.map +0 -1
  728. package/dist/constants/index.js.map +0 -1
  729. package/dist/createGenericFetchClient-JcbIIqwF.d.cts +0 -18
  730. package/dist/createGenericFetchClient-ZGG5wbAC.d.ts +0 -18
  731. package/dist/createOpenapiFetchClient-6RX67Hws.d.ts +0 -24
  732. package/dist/createOpenapiFetchClient-BFmiJ9C5.d.cts +0 -24
  733. package/dist/dataScience/index.cjs.map +0 -1
  734. package/dist/dataScience/index.js.map +0 -1
  735. package/dist/dataScience/types.cjs.map +0 -1
  736. package/dist/dataScience/types.js.map +0 -1
  737. package/dist/domain/permissions/index.cjs.map +0 -1
  738. package/dist/domain/permissions/index.js.map +0 -1
  739. package/dist/domain/storageTable/index.cjs.map +0 -1
  740. package/dist/domain/storageTable/index.js.map +0 -1
  741. package/dist/editor/types.cjs.map +0 -1
  742. package/dist/editor/types.js.map +0 -1
  743. package/dist/encryption/types.cjs.map +0 -1
  744. package/dist/encryption/types.js.map +0 -1
  745. package/dist/import/index.cjs.map +0 -1
  746. package/dist/import/index.js.map +0 -1
  747. package/dist/keboolaUID-D1DGSbge.d.cts +0 -19
  748. package/dist/keboolaUID-D1DGSbge.d.ts +0 -19
  749. package/dist/management/index.cjs.map +0 -1
  750. package/dist/management/index.js.map +0 -1
  751. package/dist/management/types.cjs.map +0 -1
  752. package/dist/management/types.js.map +0 -1
  753. package/dist/metastore/index.cjs.map +0 -1
  754. package/dist/metastore/index.js.map +0 -1
  755. package/dist/metastore/types.cjs.map +0 -1
  756. package/dist/metastore/types.js.map +0 -1
  757. package/dist/notifications/types.cjs.map +0 -1
  758. package/dist/notifications/types.js.map +0 -1
  759. package/dist/oauth/index.cjs.map +0 -1
  760. package/dist/oauth/index.js.map +0 -1
  761. package/dist/oauth/types.cjs.map +0 -1
  762. package/dist/oauth/types.js.map +0 -1
  763. package/dist/project-CXqPYo4T.d.ts +0 -17
  764. package/dist/project-CZPvcxRW.d.cts +0 -17
  765. package/dist/queryService/index.cjs.map +0 -1
  766. package/dist/queryService/index.js.map +0 -1
  767. package/dist/queryService/types.cjs.map +0 -1
  768. package/dist/queryService/types.js.map +0 -1
  769. package/dist/queue/index.cjs.map +0 -1
  770. package/dist/queue/index.js.map +0 -1
  771. package/dist/queue/types.cjs.map +0 -1
  772. package/dist/queue/types.js.map +0 -1
  773. package/dist/registry-CcKlB-yY.d.ts +0 -1046
  774. package/dist/registry-Cg0Yng1z.d.cts +0 -1046
  775. package/dist/scheduler/types.cjs.map +0 -1
  776. package/dist/scheduler/types.js.map +0 -1
  777. package/dist/sdk/configurations/index.cjs.map +0 -1
  778. package/dist/sdk/configurations/index.js.map +0 -1
  779. package/dist/sdk/semanticLayer/types.cjs.map +0 -1
  780. package/dist/sdk/semanticLayer/types.js.map +0 -1
  781. package/dist/sdk/tag/index.cjs.map +0 -1
  782. package/dist/sdk/tag/index.js.map +0 -1
  783. package/dist/sdk/tag/types.cjs.map +0 -1
  784. package/dist/sdk/tag/types.js.map +0 -1
  785. package/dist/status/types.cjs.map +0 -1
  786. package/dist/status/types.js.map +0 -1
  787. package/dist/storage/index.cjs.map +0 -1
  788. package/dist/storage/index.js.map +0 -1
  789. package/dist/storage/types.cjs.map +0 -1
  790. package/dist/storage/types.js.map +0 -1
  791. package/dist/storageClient-Cd4jVt58.d.ts +0 -1519
  792. package/dist/storageClient-Dkcg7hKa.d.cts +0 -1519
  793. package/dist/storageSdk-15_Fbucc.d.cts +0 -746
  794. package/dist/storageSdk-L6NOdgSJ.d.ts +0 -746
  795. package/dist/stream/types.cjs.map +0 -1
  796. package/dist/stream/types.js.map +0 -1
  797. package/dist/syncActions/index.cjs.map +0 -1
  798. package/dist/syncActions/index.js.map +0 -1
  799. package/dist/syncActions/types.cjs.map +0 -1
  800. package/dist/syncActions/types.js.map +0 -1
  801. package/dist/telemetry/index.cjs.map +0 -1
  802. package/dist/telemetry/index.js.map +0 -1
  803. package/dist/telemetry/types.cjs.map +0 -1
  804. package/dist/telemetry/types.js.map +0 -1
  805. package/dist/types-BqC3U0k0.d.cts +0 -12
  806. package/dist/types-Dkipk6NN.d.ts +0 -12
  807. package/dist/types-UwuKN9Kx.d.cts +0 -60
  808. package/dist/types-UwuKN9Kx.d.ts +0 -60
  809. package/dist/types-gcShAmmi.d.cts +0 -90
  810. package/dist/types-gcShAmmi.d.ts +0 -90
  811. package/dist/vault/types.cjs.map +0 -1
  812. package/dist/vault/types.js.map +0 -1
@@ -0,0 +1,2124 @@
1
+ import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType, s as OpenapiQueryType } from "./index-8pN6Emos.js";
2
+ import "./appLogs-VdgP08aX.js";
3
+ //#region src/clients/apps/__generated__/schema.d.ts
4
+ /**
5
+ * This file was auto-generated by openapi-typescript.
6
+ * Do not make direct changes to the file.
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
+ '/apps': {
31
+ parameters: {
32
+ query?: never;
33
+ header?: never;
34
+ path?: never;
35
+ cookie?: never;
36
+ };
37
+ /**
38
+ * List apps
39
+ * @description Lists apps for the project, each including `production {desiredNumber, desiredId,
40
+ * actualNumber, actualId}` and `undeployedChanges` (whether the production
41
+ * deployment's config version differs from the app's current config version — a
42
+ * future branch-HEAD comparison is not implemented yet).
43
+ */
44
+ get: operations['listApps'];
45
+ put?: never;
46
+ /**
47
+ * Create app
48
+ * @description Creates the app row plus its AppGroup CR (the product's Kubernetes object); the
49
+ * app starts with `production: null` — its URL is reserved but publicly 404s until
50
+ * a deployment is promoted. An optional `Idempotency-Key` header makes a retried
51
+ * create return the same app instead of a duplicate Storage config, DB row, and
52
+ * App CRD — `201` only on the request that actually created it, `200` on every
53
+ * replay, so the status code alone tells a caller which happened without diffing
54
+ * the body. A retry with no `Idempotency-Key` is always a genuine create (`201`):
55
+ * nothing links it to the earlier request.
56
+ *
57
+ * The Storage config this creates has no app content and only the platform's
58
+ * default auth (`authorization.app_proxy` requiring a password nobody has set
59
+ * yet, so the URL stays unopenable) — this endpoint reserves the app and its
60
+ * config address, nothing more. Set `parameters` (what the app runs) and
61
+ * `authorization.app_proxy` (who can open it) via the Storage API, on the config
62
+ * named by the response's `componentId`/`branchId`/`configId`, before deploying.
63
+ */
64
+ post: operations['createApp'];
65
+ delete?: never;
66
+ options?: never;
67
+ head?: never;
68
+ patch?: never;
69
+ trace?: never;
70
+ };
71
+ '/apps/{appId}': {
72
+ parameters: {
73
+ query?: never;
74
+ header?: never;
75
+ path?: never;
76
+ cookie?: never;
77
+ };
78
+ /**
79
+ * Get app detail
80
+ * @description Same shape as the list entry, incl. `production {desiredNumber, desiredId,
81
+ * actualNumber, actualId}` and `undeployedChanges`.
82
+ */
83
+ get: operations['getApp'];
84
+ put?: never;
85
+ post?: never;
86
+ /**
87
+ * Delete app
88
+ * @description Deletes the AppGroup CR, cascading to every deployment, Secret and pod owned by
89
+ * it; rows are soft-deleted.
90
+ */
91
+ delete: operations['deleteApp'];
92
+ options?: never;
93
+ head?: never;
94
+ /**
95
+ * Update app settings
96
+ * @description Updates plain product settings. Per the `/v2` design rule (see API description),
97
+ * operations with side effects beyond a plain attribute write — promote, unpublish,
98
+ * suspend, resume — are separate action-verb endpoints, not part of this `PATCH`.
99
+ *
100
+ * No patchable field exists yet: `name` and `description` are create-only (see
101
+ * `AppCreateRequest`) and live in the app's Storage configuration, not on the App
102
+ * row, so there is nothing here to rename them into. Sending either is rejected as
103
+ * an unknown field (`422`), not silently accepted — the only currently valid body is
104
+ * `{}`. Additional fields will land here as the `/v2` surface grows.
105
+ */
106
+ patch: operations['patchApp'];
107
+ trace?: never;
108
+ };
109
+ '/apps/{appId}/unpublish': {
110
+ parameters: {
111
+ query?: never;
112
+ header?: never;
113
+ path?: never;
114
+ cookie?: never;
115
+ };
116
+ get?: never;
117
+ put?: never;
118
+ /**
119
+ * Unpublish app
120
+ * @description Sets `production` to none — routing is dropped and the app's URL 404s.
121
+ * Idempotent: unpublishing an already-unpublished app is a no-op, and so is
122
+ * unpublishing an app that has no App CRD at all (never deployed via `/v2`) — from a
123
+ * caller's perspective "no App CRD" and "an App CRD with nothing published" are the
124
+ * same fact, so both return `204` rather than one of them 409ing.
125
+ */
126
+ post: operations['unpublishApp'];
127
+ delete?: never;
128
+ options?: never;
129
+ head?: never;
130
+ patch?: never;
131
+ trace?: never;
132
+ };
133
+ '/apps/{appId}/suspend': {
134
+ parameters: {
135
+ query?: never;
136
+ header?: never;
137
+ path?: never;
138
+ cookie?: never;
139
+ };
140
+ get?: never;
141
+ put?: never;
142
+ /**
143
+ * Suspend app
144
+ * @description Sleeps the app's currently serving member now, instead of waiting for the idle
145
+ * timer, and disarms wake-on-request: unlike idle auto-suspend, a visitor hitting
146
+ * the app's URL afterwards gets a 503 rather than triggering a wakeup. Stays
147
+ * suspended until an explicit `resume`. Idempotent: suspending an already-suspended
148
+ * app is a no-op; returns `409` if the app has no serving member to suspend.
149
+ *
150
+ * The returned App's `state` becomes `SUSPENDED` — immediately, not on the next
151
+ * list/get poll.
152
+ */
153
+ post: operations['suspendApp'];
154
+ delete?: never;
155
+ options?: never;
156
+ head?: never;
157
+ patch?: never;
158
+ trace?: never;
159
+ };
160
+ '/apps/{appId}/resume': {
161
+ parameters: {
162
+ query?: never;
163
+ header?: never;
164
+ path?: never;
165
+ cookie?: never;
166
+ };
167
+ get?: never;
168
+ put?: never;
169
+ /**
170
+ * Resume app
171
+ * @description Wakes the app's currently serving member now (a warm-up) and re-arms
172
+ * wake-on-request, instead of waiting for a visitor to trigger it. Idempotent:
173
+ * resuming an already-running app is a no-op; returns `409` if the app has no
174
+ * serving member to resume.
175
+ *
176
+ * The returned App's `state` is `STARTING` immediately after resuming an app that
177
+ * was actually stopped — the operator has not confirmed the member serving yet at
178
+ * the instant this call returns — settling to `RUNNING` once it does.
179
+ */
180
+ post: operations['resumeApp'];
181
+ delete?: never;
182
+ options?: never;
183
+ head?: never;
184
+ patch?: never;
185
+ trace?: never;
186
+ };
187
+ '/apps/{appId}/activity': {
188
+ parameters: {
189
+ query?: never;
190
+ header?: never;
191
+ path?: never;
192
+ cookie?: never;
193
+ };
194
+ get?: never;
195
+ put?: never;
196
+ /**
197
+ * Record app activity
198
+ * @description Records the timestamp of the app's most recent request — the heartbeat that drives
199
+ * idle auto-suspend. Caller-supplied rather than server-stamped, so a caller can batch
200
+ * several observed requests into one call and report the actual last-seen time instead
201
+ * of the time of the call itself.
202
+ *
203
+ * Callable only by apps-proxy: requires a Manage API application token with the
204
+ * `apps:proxy` scope (or an equivalent ServiceAccount token). A Storage API token is
205
+ * not accepted here, unlike `PATCH /apps/{appId}`.
206
+ *
207
+ * Idempotent by nature: re-reporting the same or an older timestamp has no side effect
208
+ * beyond overwriting the stored value, so no `Idempotency-Key` is needed.
209
+ */
210
+ post: operations['recordAppActivity'];
211
+ delete?: never;
212
+ options?: never;
213
+ head?: never;
214
+ patch?: never;
215
+ trace?: never;
216
+ };
217
+ '/apps/{appId}/password': {
218
+ parameters: {
219
+ query?: never;
220
+ header?: never;
221
+ path?: never;
222
+ cookie?: never;
223
+ };
224
+ /**
225
+ * Get app password
226
+ * @description Returns the app's current password for its `password`-type auth provider. `null`
227
+ * if none has been minted yet — that happens on the app's first deployment (see
228
+ * `POST .../deployments`) or on demand via `POST .../reset-password`. Mirrors
229
+ * `/v1`'s `GET /apps/{appId}/password`.
230
+ */
231
+ get: operations['getAppPassword'];
232
+ put?: never;
233
+ post?: never;
234
+ delete?: never;
235
+ options?: never;
236
+ head?: never;
237
+ patch?: never;
238
+ trace?: never;
239
+ };
240
+ '/apps/{appId}/reset-password': {
241
+ parameters: {
242
+ query?: never;
243
+ header?: never;
244
+ path?: never;
245
+ cookie?: never;
246
+ };
247
+ get?: never;
248
+ put?: never;
249
+ /**
250
+ * Reset app password
251
+ * @description Mints a new password, replacing any existing one. Not idempotent by design: the
252
+ * minted value is unpredictable, so there is no target state a retry could
253
+ * re-declare — each call always generates a fresh secret. `400` if the app's config
254
+ * has no `password`-type auth provider (nothing to reset). The new password is not
255
+ * returned here; fetch it with `GET .../password` immediately after.
256
+ */
257
+ post: operations['resetAppPassword'];
258
+ delete?: never;
259
+ options?: never;
260
+ head?: never;
261
+ patch?: never;
262
+ trace?: never;
263
+ };
264
+ '/apps/{appId}/runs': {
265
+ parameters: {
266
+ query?: never;
267
+ header?: never;
268
+ path?: never;
269
+ cookie?: never;
270
+ };
271
+ /**
272
+ * List runs
273
+ * @description Runs of this app, newest first — app-wide, mirroring `/v1`'s paths. The rollup is
274
+ * what you want when something is wrong and you do not yet know which deployment to
275
+ * look at; each run carries its own `deploymentId`, and `deploymentId=` narrows the
276
+ * list once you do.
277
+ *
278
+ * This is where a failed deployment's cause lives: a run carries `failureReason` and
279
+ * `startupLogs`. A deployment reported `FAILED` has an explanation here. One reported
280
+ * `PENDING` does not, and that is not an omission — nothing upstream records a cause
281
+ * for a container that never executed.
282
+ *
283
+ * `since`/`until` filter on `createdAt`, not `startedAt`: `createdAt` is stamped
284
+ * before any compute exists, so it is the only timestamp every run has, including one
285
+ * that never started. Filtering on `startedAt` would silently drop exactly the runs
286
+ * this endpoint exists to explain. `offset`/`limit` page through the filtered window,
287
+ * not the full history — pass `since`/`until` and page until the response is shorter
288
+ * than `limit` to know you have the whole window, rather than an arbitrary slice of a
289
+ * larger, unbounded one.
290
+ */
291
+ get: operations['listRuns'];
292
+ put?: never;
293
+ post?: never;
294
+ delete?: never;
295
+ options?: never;
296
+ head?: never;
297
+ patch?: never;
298
+ trace?: never;
299
+ };
300
+ '/apps/{appId}/runs/{runId}': {
301
+ parameters: {
302
+ query?: never;
303
+ header?: never;
304
+ path?: never;
305
+ cookie?: never;
306
+ };
307
+ /**
308
+ * Get run detail
309
+ * @description A single run. Addressed under the app rather than under its deployment, matching `/v1`: a run id is unique on its own, so nesting it would add a path segment carrying no information and force a caller holding an id from the app-wide list to find its deployment first.
310
+ */
311
+ get: operations['getRun'];
312
+ put?: never;
313
+ post?: never;
314
+ delete?: never;
315
+ options?: never;
316
+ head?: never;
317
+ patch?: never;
318
+ trace?: never;
319
+ };
320
+ '/apps/{appId}/deployments': {
321
+ parameters: {
322
+ query?: never;
323
+ header?: never;
324
+ path?: never;
325
+ cookie?: never;
326
+ };
327
+ /**
328
+ * List deployments
329
+ * @description Full deployment history including retired (`archived: true`) deployments —
330
+ * rows outlive their Kubernetes CRs.
331
+ */
332
+ get: operations['listDeployments'];
333
+ put?: never;
334
+ /**
335
+ * Create deployment (deploy)
336
+ * @description Deploys the current config version / branch HEAD as a new immutable deployment.
337
+ * `promote: true` by default — deploying also promotes to production unless
338
+ * explicitly disabled, in which case the deployment is staged for a later
339
+ * promotion and never runs in the meantime. The deployment id is minted synchronously (deterministic
340
+ * Kubernetes CR name); the display `number` is allocated from a per-app DB
341
+ * sequence, also returned synchronously — an optional `Idempotency-Key` header
342
+ * makes a retried deploy return the same row instead of a duplicate: `202` only on
343
+ * the request that actually created it, `200` on every replay. A request with no
344
+ * `Idempotency-Key` is always a genuine deploy (`202`): nothing links it to an
345
+ * earlier request, so it can never be recognised as a replay.
346
+ *
347
+ * Nothing here validates app content: a config with no `parameters` builds
348
+ * (`buildState: PREBUILT`) and promotes successfully, then crashes on every run.
349
+ * Content lives in the Storage config named by the app's `componentId`/
350
+ * `branchId`/`configId`, set via the Storage API — not this request.
351
+ *
352
+ * If the app's config has a `password`-type auth provider and the app has no
353
+ * password yet, this call mints one — the same lazy, one-time generation `/v1`
354
+ * does when an app with simple auth is first started. Fetch it with
355
+ * `GET .../password`; a later deployment never rotates it.
356
+ */
357
+ post: operations['createDeployment'];
358
+ delete?: never;
359
+ options?: never;
360
+ head?: never;
361
+ patch?: never;
362
+ trace?: never;
363
+ };
364
+ '/apps/{appId}/deployments/{deploymentId}': {
365
+ parameters: {
366
+ query?: never;
367
+ header?: never;
368
+ path?: never;
369
+ cookie?: never;
370
+ };
371
+ /**
372
+ * Get deployment detail
373
+ * @description Deployment detail; served from the DB projection. The row is written
374
+ * synchronously before the create request returns, so there is no window
375
+ * where it is missing (read-your-writes) and no Kubernetes CR fallback.
376
+ */
377
+ get: operations['getDeployment'];
378
+ put?: never;
379
+ post?: never;
380
+ /**
381
+ * Retire deployment
382
+ * @description **Retires, does not erase** — deletes the member CR and its rendered-config
383
+ * Secret immediately (credential hygiene); the row stays in history marked
384
+ * `archived: true` and is re-materializable. Deployments have no `PATCH`/`PUT` —
385
+ * they are immutable; retirement is a lifecycle transition, not a mutation. `409`
386
+ * if this deployment's id is named production by either `production.desiredId` or
387
+ * `production.actualId` on the app (promote or roll back to another deployment, or
388
+ * unpublish, before retiring it) — a promotion in flight can leave those two
389
+ * different for a while, and retiring the one not currently named `desiredId` is
390
+ * just as unsafe as retiring the one not currently named `actualId`, since either
391
+ * one is still something the app depends on. Idempotent: retiring an already
392
+ * `archived` deployment is a no-op. Row hard-deletion happens only via app
393
+ * deletion.
394
+ */
395
+ delete: operations['deleteDeployment'];
396
+ options?: never;
397
+ head?: never;
398
+ patch?: never;
399
+ trace?: never;
400
+ };
401
+ '/apps/{appId}/deployments/{deploymentId}/promote': {
402
+ parameters: {
403
+ query?: never;
404
+ header?: never;
405
+ path?: never;
406
+ cookie?: never;
407
+ };
408
+ get?: never;
409
+ put?: never;
410
+ /**
411
+ * Promote deployment (promote / rollback)
412
+ * @description Makes this deployment production. Rollback is the same action applied to an
413
+ * older deployment — every repoint is audited. Promoting an `archived` deployment
414
+ * is allowed (it is re-materialized first).
415
+ *
416
+ * Promotion is **declarative**: this records the intent and returns. The operator
417
+ * validates by starting the target deployment — including when the app is
418
+ * suspended — and switches the route only once that deployment is serving. A
419
+ * target that fails to start never becomes production, and the deployment that was
420
+ * already serving keeps serving. There is deliberately no readiness precondition:
421
+ * a deployment cannot become ready until it has been asked to be production.
422
+ *
423
+ * Idempotent: re-declaring the deployment that is already production is a no-op.
424
+ * Authorized separately from plain app settings.
425
+ *
426
+ * `runState`/`buildState` are not inputs to this decision — a `FAILED`,
427
+ * non-archived deployment is promoted exactly like any other non-archived one, by
428
+ * whether it is already production, not by why it stopped running. Re-declaring it
429
+ * while it is still `production.desired`/`.actual` is the no-op above (`204`).
430
+ * Re-declaring it while it is **not** currently production — rolled back away from,
431
+ * or never promoted — repoints `production.desired` (`202`) and the operator starts
432
+ * it, which from the outside looks like restarting a failed deployment; it is the
433
+ * same repoint any not-yet-run deployment gets, not special-cased recovery.
434
+ */
435
+ post: operations['promoteDeployment'];
436
+ delete?: never;
437
+ options?: never;
438
+ head?: never;
439
+ patch?: never;
440
+ trace?: never;
441
+ };
442
+ '/apps/{appId}/logs/tail': {
443
+ parameters: {
444
+ query?: never;
445
+ header?: never;
446
+ path?: never;
447
+ cookie?: never;
448
+ };
449
+ /**
450
+ * Tail app logs
451
+ * @description Streams recent container output of the app's currently serving member — the same
452
+ * member `promote` most recently switched traffic to, resolved by the operator from
453
+ * the App CRD's serving pointer, not looked up by this service. Mirrors `/v1`'s
454
+ * `GET /apps/{appId}/logs/tail`.
455
+ *
456
+ * `since` and `lines` are mutually exclusive filters on where the tail starts;
457
+ * omitting both returns the log from its start. `404` if the app has no App CRD at
458
+ * all (never deployed via `/v2`); `400` (`apps.appNotRunning`) if it has one but
459
+ * nothing is currently serving — both are "there is nothing to tail right now",
460
+ * distinguished only by whether the app was ever deployed.
461
+ */
462
+ get: operations['tailAppLogs'];
463
+ put?: never;
464
+ post?: never;
465
+ delete?: never;
466
+ options?: never;
467
+ head?: never;
468
+ patch?: never;
469
+ trace?: never;
470
+ };
471
+ '/apps/{appId}/logs/download': {
472
+ parameters: {
473
+ query?: never;
474
+ header?: never;
475
+ path?: never;
476
+ cookie?: never;
477
+ };
478
+ /**
479
+ * Download app logs
480
+ * @description The full container output of the app's currently serving member, as a file
481
+ * download. Same underlying call as `tail` with neither `since` nor `lines` set —
482
+ * no separate retention or size limit applies. Mirrors `/v1`'s
483
+ * `GET /apps/{appId}/logs/download`.
484
+ */
485
+ get: operations['downloadAppLogs'];
486
+ put?: never;
487
+ post?: never;
488
+ delete?: never;
489
+ options?: never;
490
+ head?: never;
491
+ patch?: never;
492
+ trace?: never;
493
+ };
494
+ '/apps/{appId}/deployments/{deploymentId}/logs/tail': {
495
+ parameters: {
496
+ query?: never;
497
+ header?: never;
498
+ path?: never;
499
+ cookie?: never;
500
+ };
501
+ /**
502
+ * Tail deployment logs
503
+ * @description Streams recent container output of this specific deployment's own member — not
504
+ * resolved through the app's serving pointer, so this works for a deployment that
505
+ * is not (or never was) production, e.g. a candidate that failed to promote. The
506
+ * operator streams directly from the deployment's Sandbox CR, which is named after
507
+ * the deployment id.
508
+ *
509
+ * `since` and `lines` are mutually exclusive filters on where the tail starts;
510
+ * omitting both returns the log from its start. `404` if the app or the deployment
511
+ * doesn't exist (or the deployment belongs to a different app); `400`
512
+ * (`apps.deploymentNotRunning`) if the deployment exists but has nothing currently
513
+ * running to read logs from.
514
+ */
515
+ get: operations['tailDeploymentLogs'];
516
+ put?: never;
517
+ post?: never;
518
+ delete?: never;
519
+ options?: never;
520
+ head?: never;
521
+ patch?: never;
522
+ trace?: never;
523
+ };
524
+ '/apps/{appId}/deployments/{deploymentId}/logs/download': {
525
+ parameters: {
526
+ query?: never;
527
+ header?: never;
528
+ path?: never;
529
+ cookie?: never;
530
+ };
531
+ /**
532
+ * Download deployment logs
533
+ * @description The full container output of this specific deployment's own member, as a file
534
+ * download — same underlying call as `tail` with neither `since` nor `lines` set.
535
+ * Not resolved through the app's serving pointer; see `tail` for why that matters.
536
+ */
537
+ get: operations['downloadDeploymentLogs'];
538
+ put?: never;
539
+ post?: never;
540
+ delete?: never;
541
+ options?: never;
542
+ head?: never;
543
+ patch?: never;
544
+ trace?: never;
545
+ };
546
+ '/apps/{appId}/git-repo': {
547
+ parameters: {
548
+ query?: never;
549
+ header?: never;
550
+ path?: never;
551
+ cookie?: never;
552
+ };
553
+ /**
554
+ * Get app's Git repository
555
+ * @description Returns details of the Git repository configured in the app's config
556
+ * (`parameters.dataApp.git`). For a managed Git repository both `sshUrl` and
557
+ * `httpsUrl` are returned, fetched from the upstream git-service. For an
558
+ * externally configured repository only the URL matching the configured protocol
559
+ * is returned and the other field is `null`; any embedded credentials are
560
+ * stripped.
561
+ */
562
+ get: operations['getAppGitRepo'];
563
+ put?: never;
564
+ post?: never;
565
+ delete?: never;
566
+ options?: never;
567
+ head?: never;
568
+ patch?: never;
569
+ trace?: never;
570
+ };
571
+ '/apps/{appId}/git-repo/credentials': {
572
+ parameters: {
573
+ query?: never;
574
+ header?: never;
575
+ path?: never;
576
+ cookie?: never;
577
+ };
578
+ /**
579
+ * List credentials for the app's managed Git repository
580
+ * @description Lists non-deleted credentials for the app's managed Git repository. Requires an
581
+ * admin Storage API token.
582
+ */
583
+ get: operations['listAppGitRepoCredentials'];
584
+ put?: never;
585
+ /**
586
+ * Create credential for the app's managed Git repository
587
+ * @description Creates a credential (SSH key or HTTP token) for the app's managed Git
588
+ * repository. For `http_token` credentials, the response includes a one-time
589
+ * `secret` that is never returned again — not on subsequent reads, and not on an
590
+ * `Idempotency-Key` replay of this request. Requires an admin Storage API token.
591
+ * An optional `Idempotency-Key` header makes a retried create return the existing
592
+ * credential instead of a duplicate: `201` only on the request that actually
593
+ * created it, `200` on every replay.
594
+ */
595
+ post: operations['createAppGitRepoCredential'];
596
+ delete?: never;
597
+ options?: never;
598
+ head?: never;
599
+ patch?: never;
600
+ trace?: never;
601
+ };
602
+ '/apps/{appId}/git-repo/credentials/{credentialId}': {
603
+ parameters: {
604
+ query?: never;
605
+ header?: never;
606
+ path?: never;
607
+ cookie?: never;
608
+ };
609
+ /**
610
+ * Get credential detail
611
+ * @description Returns details of a credential registered with the app's managed Git
612
+ * repository. The response never contains the one-time `secret` field. Requires
613
+ * an admin Storage API token.
614
+ */
615
+ get: operations['getAppGitRepoCredential'];
616
+ put?: never;
617
+ post?: never;
618
+ /**
619
+ * Revoke and remove a credential
620
+ * @description Revokes a credential on git-service and soft-deletes the local row. Tolerates
621
+ * git-service `404` as already-removed. Requires an admin Storage API token.
622
+ */
623
+ delete: operations['deleteAppGitRepoCredential'];
624
+ options?: never;
625
+ head?: never;
626
+ patch?: never;
627
+ trace?: never;
628
+ };
629
+ };
630
+ type components = {
631
+ schemas: {
632
+ /** @description Flat error shape used by every v2 endpoint, matching the v1 convention (e.g. 404 → `{"error": "App \"123\" not found"}`). */
633
+ ErrorResponse: {
634
+ error?: string;
635
+ };
636
+ App: {
637
+ id: string;
638
+ projectId: string;
639
+ /**
640
+ * @description Together with `branchId` and `configId`, the Storage address of this app's configuration. The app's **name** and **description** — both set once at creation via `AppCreateRequest` and never editable afterwards — live there and are deliberately not copied onto this response — pointing at where they authoritatively live keeps them correct by construction. Resolve labels for a page of apps with one bulk `listComponentConfigurations` call.
641
+ * The app's **content** (`parameters` — what it runs) and **auth** (`authorization.app_proxy` — who can open it) live there too, for the same reason: `/v2` manages apps and deployments, not their configuration. A newly created app's config has neither — no content, and an auth block that requires a password nobody has set — until configured via the Storage API.
642
+ */
643
+ componentId: string;
644
+ /** @description `null` on an app created through `/v1` without a branch. Apps created through `/v2` always resolve the project's default branch at creation, so this is never null for them. */
645
+ branchId: string | null;
646
+ configId: string;
647
+ /** @description The app's current configuration revision. */
648
+ configVersion: string;
649
+ /** @enum {string|null} */
650
+ type?: 'streamlit' | 'python-js' | null;
651
+ /**
652
+ * @description Apps created through `/v2` are always `prod`; `dev` occurs only on an app created through `/v1` in dev mode and later adopted.
653
+ * @enum {string}
654
+ */
655
+ mode?: 'prod' | 'dev';
656
+ /**
657
+ * Format: url
658
+ * @description Production URL — stable, unchanged by promote/rollback.
659
+ * Mirrored from the operator, which derives the address and publishes it on the App resource; it is not computed here, so it cannot disagree with where the app actually answers. `null` only in the window between creating an app and the first state-sync pass picking the address up, so a freshly created app can report `null` here for a short time.
660
+ * Null does not mean "not deployed" — check `production` for that. A URL is reserved from creation and 404s publicly until something is promoted to it.
661
+ */
662
+ url: string | null;
663
+ /**
664
+ * @description Always present. `null` on all four fields means the app has never been deployed (URL reserved, publicly 404s). Carries both the display number and the id for each of `desired`/`actual` because `promote`/`retire` take a deployment id, not a number — a client holding only the number would have to fetch the deployment list just to find the id it needs to act.
665
+ * `desired` and `actual` differ while a promotion is in flight — the operator only moves `actual` once the newly desired deployment reports ready — and this is the supported way to detect that in progress, independently of `state`, which deliberately does not encode it. See `App.state`'s own description.
666
+ */
667
+ production: {
668
+ /** @description Deployment number most recently asked to be production. */
669
+ desiredNumber?: number | null;
670
+ /** @description Id of the deployment most recently asked to be production — pass this to `promote`/`retire`, not `desiredNumber`. */
671
+ desiredId?: string | null;
672
+ /** @description Deployment number actually serving production traffic right now, per the AppGroup controller's convergence status. */
673
+ actualNumber?: number | null;
674
+ /** @description Id of the deployment actually serving production traffic right now — pass this to `promote`/`retire`, not `actualNumber`. */
675
+ actualId?: string | null;
676
+ };
677
+ /** @description Whether the production deployment's config version differs from the app's current config version. A future branch-HEAD comparison is not implemented yet. */
678
+ undeployedChanges?: boolean;
679
+ /**
680
+ * @description Is this app's production currently serving traffic, and if not, why? Answers
681
+ * exactly that one question — not "is my code healthy" (that's a deployment's
682
+ * own `runState`, which can be `FAILED` while this stays `RUNNING`, because an
683
+ * older, still-serving deployment and the newest built one are different
684
+ * things at the same instant) and not "will a request wake it" alone (both
685
+ * `SLEEPING` and `SUSPENDED` are stopped; only the label tells you which).
686
+ *
687
+ * Deliberately does NOT encode rollout progress — whether a promotion is in
688
+ * flight is an orthogonal question to whether production is serving, and this
689
+ * field answers only the latter. A promotion can be started from an app that is
690
+ * currently `RUNNING` (the old deployment keeps serving throughout) just as much
691
+ * as from one that is `SUSPENDED`/`SLEEPING`/`NOT_DEPLOYED` (nothing serves until
692
+ * the new one comes up), so "is a promotion in progress" cannot be read off this
693
+ * field's value under any reading of it. To detect one, compare `production`'s
694
+ * `desiredId`/`desiredNumber` against `actualId`/`actualNumber`: while they
695
+ * differ, the deployment named `desired` has been asked for but the one named
696
+ * `actual` is still what traffic actually reaches (or nothing is serving yet, if
697
+ * `actual` is still `null`). A client that needs both facts — is production
698
+ * serving, and is a rollout in progress — must read both `state` and `production`;
699
+ * neither can be derived from the other.
700
+ *
701
+ * | Value | Meaning for a caller |
702
+ * |---|---|
703
+ * | `NOT_DEPLOYED` | No `/v2` deployment has ever been promoted to this app's production. Its URL is reserved and publicly 404s. Also shown for an app that only runs via `/v1` and was never adopted into the deployments model — `production` is `{null, null}` for it too, for the same reason. |
704
+ * | `STARTING` | Production is named but not yet confirmed serving — right after a first `promote`/`resume`, during a normal startup, or a promotion in flight where nothing was already serving beforehand (`production.actualId` was `null` going in). |
705
+ * | `RUNNING` | Production is named and serving. Normal and healthy — including for the entire duration of a blue/green promotion started from a `RUNNING` app: the old, still-`actual` deployment keeps serving traffic throughout, so this stays `RUNNING` rather than dropping to `STARTING` for the length of the rollout. Compare `production.desiredId`/`actualId` if you need to know whether that rollout is still in progress. |
706
+ * | `SLEEPING` | Stopped, but **will** wake on the next request — apps-proxy's wake-on-request path is still armed. This is the NORMAL, expected condition for an idle data app between visits, not an outage; do not alert on it. Produced by idle auto-suspend, which patches only the workload state and deliberately leaves wake-on-request armed. No idle-auto-suspend mechanism exists for a purely `/v2`-created app yet (deferred, not built) — today this is reachable only for a `/v1`-adopted app still picked up by the legacy idle-suspend job, the same way `Deployment.buildState`'s non-`PREBUILT` values are not reachable until builds land. |
707
+ * | `SUSPENDED` | Stopped and will **not** wake on the next request — a visitor gets a `503` instead. Produced only by an explicit `POST .../suspend`; cleared only by `POST .../resume`. This is the field this whole enum exists to make distinguishable from `SLEEPING`: before it, both looked identical from the outside, and the only way to tell them apart was `POST .../resume` and inspecting `202` vs `204` — a write used as a read, which could itself wake a sleeping app. |
708
+ *
709
+ * Mirrored from the App CRD (`spec.state`, `spec.autoRestartEnabled`,
710
+ * `status.currentState`, `status.production`) by the same background sync that
711
+ * mirrors `production`, so reading it costs no extra cluster call — including on
712
+ * `GET /apps`, which would otherwise be one cluster round trip per row. The one
713
+ * exception: `suspend`/`resume`/`promote`/`unpublish` write this field
714
+ * themselves, immediately, in the same call that changes it, so the App they
715
+ * return is never one sync cycle stale about its own action.
716
+ *
717
+ * Deliberately not `Stopping`, even though the App CRD's `status.currentState`
718
+ * names a fourth value: verified against the operator's product-role
719
+ * controller, which never publishes it for a product App — its derivation has
720
+ * exactly three branches. Also deliberately not `FAILED` — see above.
721
+ * @enum {string}
722
+ */
723
+ state: 'NOT_DEPLOYED' | 'STARTING' | 'RUNNING' | 'SLEEPING' | 'SUSPENDED';
724
+ };
725
+ /** @description Minimal shape — additional fields may be added as the `/v2` surface grows. Deliberately excludes app content and auth: both are Storage API concerns, configured after creation on the config named by the response's `componentId`/`branchId`/`configId` — content via `parameters`, auth via `authorization.app_proxy`. */
726
+ AppCreateRequest: {
727
+ /** @description Create-only: stored in the app's Storage configuration (see `App.componentId`) and never copied onto the `App` response. There is no way to rename it after creation — `AppPatchRequest` carries no field for it. */
728
+ name: string;
729
+ /**
730
+ * @description App type. Only data-app types are supported by `/v2/apps` — workspace types (e.g. `snowflake`, `bigquery`) are created via `/apps`, not this endpoint.
731
+ * @enum {string}
732
+ */
733
+ type: 'streamlit' | 'python-js';
734
+ /** @description Create-only, same as `name` — stored in the app's Storage configuration (see `App.componentId`) and never copied onto the `App` response or editable afterwards. */
735
+ description?: string | null;
736
+ };
737
+ /** @description No patchable field exists yet — `name` and `description` are create-only (see `AppCreateRequest`), so the only currently valid body is `{}`; sending either is rejected as an unknown field (`422`), not silently ignored. Additional fields may be added here as the `/v2` surface grows. Promotion, unpublishing, suspend, and resume are separate action-verb endpoints, not part of this shape. */
738
+ AppPatchRequest: Record<string, never>;
739
+ Deployment: {
740
+ /** @description Deployment id — also the deterministic Kubernetes CR name. */
741
+ id: string;
742
+ /** @description Display/sort number, allocated from a per-app DB sequence. */
743
+ number: number;
744
+ /** @description Storage config id this deployment was created from. Paired with `configVersion` below because a version number alone cannot be resolved via the Storage API without knowing which config it belongs to — the pairing mirrors `GET /apps/{appId}`, whose own `configId`/`configVersion` describe the app's *current* config rather than what a specific deployment was pinned to. */
745
+ configId: string;
746
+ /** @description Storage config version pinned at deploy time. Resolved fresh from Storage on every `POST .../deployments` call, so it can differ from the app's own `configVersion` (which only reflects the config as of app creation). */
747
+ configVersion: string;
748
+ /** @description Git commit the deployment's code was built from. Always `null` today: no /v2 app type builds from a git-managed source yet, so nothing ever resolves a commit SHA to attach here. Present as a field now so a future git-backed build path has nowhere else to put it. */
749
+ gitCommitSha: string | null;
750
+ /**
751
+ * @description Backend size, pinned per version at deploy time from the config's `runtime.backend.size` (falling back to `parameters.size`). `null` when the config named no size, or named one that is not a recognised value — in both cases the platform default applies.
752
+ * @enum {string|null}
753
+ */
754
+ size?: 'micro' | 'tiny' | 'small' | 'medium' | 'large' | 'external' | null;
755
+ /**
756
+ * @description Does a runnable artifact exist for this deployment?
757
+ *
758
+ * Only `PREBUILT` occurs today, and it is a fact rather than a placeholder: a
759
+ * deployment is created with `source.image`, so an image is supplied and the
760
+ * platform builds nothing. The remaining values become reachable when builds
761
+ * land and a deployment can name a commit or branch instead. `PREBUILT` does
762
+ * not become obsolete then — supplying a ready image stays legitimate, so it
763
+ * stops being the only value rather than becoming a wrong one.
764
+ *
765
+ * `FAILED` here means no artifact was produced, so the deployment can never
766
+ * run. That is a different problem, with a different fix, from a run failure.
767
+ * @enum {string}
768
+ */
769
+ buildState: 'PREBUILT' | 'PENDING' | 'BUILDING' | 'BUILT' | 'FAILED';
770
+ /**
771
+ * @description Is there a live workload for this deployment right now, and is it healthy?
772
+ *
773
+ * * `NEVER_RUN` — nothing ever started it. Deployments are created stopped and
774
+ * only become running once promoted, so this is the normal state of a staged
775
+ * deployment, not a stall.
776
+ * * `PENDING` — a run was requested but nothing is executing yet: pulling an
777
+ * image, waiting to be scheduled, or unable to be placed at all.
778
+ * * `STARTING` — a container is executing but not ready yet.
779
+ * * `RUNNING` — up and ready.
780
+ * * `STOPPING` / `STOPPED` — shutting down, or stopped having run before.
781
+ * * `FAILED` — the workload crashed, could not start, or hit a terminal
782
+ * dependency error. `GET /apps/{appId}/runs` carries the cause.
783
+ *
784
+ * **Known limitation.** A promoted deployment blocked by a *platform* failure —
785
+ * an image that cannot be pulled, a pod that cannot be scheduled — stays
786
+ * `PENDING` indefinitely with no reason attached and no automatic resolution.
787
+ * Its container never executes, so nothing records a workload failure. This is
788
+ * accepted behaviour, not a transient state to wait out: a `PENDING` that is
789
+ * not advancing, with the app's `production.desiredId` naming this deployment's
790
+ * `id` while `production.actualId` names another, is what it looks like.
791
+ * Production is unaffected — the previously promoted deployment keeps serving.
792
+ *
793
+ * This axis says nothing about whether the deployment is production. That is a
794
+ * property of the app's pointer, not of the version, and lives on the app as
795
+ * `production.desiredId` / `production.actualId` (plus their `Number` twins).
796
+ *
797
+ * **Deriving a single headline status**, for clients that want one. Apply in
798
+ * order, first match wins — recorded here so every client agrees rather than
799
+ * inventing its own rule:
800
+ *
801
+ * | condition | headline |
802
+ * |---|---|
803
+ * | `buildState == FAILED` | build failed |
804
+ * | `buildState in (PENDING, BUILDING)` | building |
805
+ * | `runState == FAILED` | failed |
806
+ * | `runState in (PENDING, STARTING)` | starting |
807
+ * | `runState == RUNNING` | running |
808
+ * | `runState == STOPPING` | stopping |
809
+ * | `runState == STOPPED` | stopped |
810
+ * | `runState == NEVER_RUN` | ready — built, idle, promotable |
811
+ *
812
+ * Not published as a field: with `buildState` fixed at `PREBUILT`, it would be
813
+ * a pure function of `runState` and so a rename of the field beside it. It
814
+ * becomes worth shipping once builds make `buildState` vary.
815
+ * @enum {string}
816
+ */
817
+ runState: 'NEVER_RUN' | 'PENDING' | 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED' | 'FAILED';
818
+ /** @description `true` once retired (member CR + rendered-config Secret deleted); the row remains in history and is re-materializable. */
819
+ archived: boolean;
820
+ /**
821
+ * Format: date-time
822
+ * @description When the deployment was retired; `null` while `archived` is `false`.
823
+ */
824
+ archivedAt: string | null;
825
+ /**
826
+ * Format: date-time
827
+ * @description When this deployment row was created (i.e. deployed).
828
+ */
829
+ createdAt: string;
830
+ };
831
+ /** @description A single execution of a deployment. Shares every field with `/v1`'s run payload except `deploymentId`, which `/v1` does not carry: `/v1` has no concept of deployments, so unlike the rest of this shape it does not travel back there. This is a deliberate, permanent divergence — not drift to "fix" by adding `deploymentId` to `/v1` or by removing it here. */
832
+ Run: {
833
+ /** Format: uuid */
834
+ id: string;
835
+ appId: string;
836
+ /** @description The deployment this run belongs to. `null` for a run that belongs to the app itself rather than to a deployment (a `/v1`-style run), which is why it is nullable rather than required-and-present. */
837
+ deploymentId: string | null;
838
+ /**
839
+ * @description Lower-case, unlike the `UPPER_SNAKE` of a deployment's `buildState` and `runState`. That is deliberate, not an oversight: this field is shared with `/v1`'s run payload, and changing the casing on the `/v2` copy alone would fork the two. If it is ever normalised, both surfaces move together.
840
+ * @enum {string|null}
841
+ */
842
+ state?: 'starting' | 'running' | 'failed' | 'finished' | null;
843
+ /**
844
+ * Format: date-time
845
+ * @description When the run was opened — stamped before any compute exists, so `now - createdAt` on a deployment still reported `PENDING` is how long it has failed to start.
846
+ */
847
+ createdAt?: string | null;
848
+ /**
849
+ * Format: date-time
850
+ * @description When the run's workload became ready — stamped only once a Pod matching this run reports `Ready`. A run that never got that far keeps `null` here for good, so `startedAt: null` means "no compute ever became healthy", not "no information". It is not a failure signal on its own: a run can end `failed` with `startedAt: null` and still carry a classified `failureReason`.
851
+ */
852
+ startedAt?: string | null;
853
+ /** Format: date-time */
854
+ stoppedAt?: string | null;
855
+ startupLogs?: string | null;
856
+ runtimeSize?: string | null;
857
+ runtimeBackendType?: string | null;
858
+ configVersion?: string | null;
859
+ imageVersion?: string | null;
860
+ /**
861
+ * @description Why the run failed, when it did. The cause a failed deployment points at. Set at the moment a cause is attributed and never updated afterwards.
862
+ * A cause is recorded whenever one can be attributed, which happens on both sides of the container ever executing: **before compute** — configuration, decryption, storage-token and workspace failures — and **after the container has executed** — a startup probe that never passed, a startup deadline exceeded. So a classified failure says nothing about how far the run got: plenty of them never started at all.
863
+ * **The one gap is a container that never executed for a platform reason** — `ImagePullBackOff`, `CreateContainerError`, a Pod that cannot be scheduled. Such a run keeps its `createdAt`, never gets a `startedAt`, and never gets a `failureReason`; it stays open indefinitely rather than being closed as failed. That is deliberate — platform problems are left to recover once the platform issue is fixed — and it is the same gap a deployment stuck at `runState: PENDING` is the visible form of. A run left open this way is never billed: billing needs `startedAt`, and there is no fallback to `createdAt`.
864
+ * Absence therefore means "no cause was attributable", not "look again later" — for the platform case nothing further will ever arrive. Runs predating the field are also unclassified.
865
+ * Both members are present whenever the object is, but either may be `null`. Branch on `reason`, not on `message`.
866
+ */
867
+ failureReason?: {
868
+ /**
869
+ * @description Short, stable, machine-readable identifier, intended as a UI i18n key — the member to switch on when headlining a failure. The value set is owned by the operator and is not enumerated here, so a client must keep a default branch for identifiers it does not know.
870
+ * Stable, but **coarser than the names suggest**: one identifier is deliberately reused across related causes rather than split, because each value is an i18n key a client has to learn before it can be emitted. Do not infer the precise cause from `reason` alone — `message` carries the actionable detail, and two failures sharing a `reason` need not share a remedy.
871
+ */
872
+ reason?: string | null;
873
+ /** @description Human-readable description of the failure, free of internal resource names and cluster-internal detail. Safe to show verbatim. */
874
+ message?: string | null;
875
+ } | null;
876
+ mode?: string;
877
+ };
878
+ DeploymentCreateRequest: {
879
+ /**
880
+ * @description If true (the default), this deployment is also promoted to production. Set `false` to stage a release now and promote it later: the deployment is created and its config version pinned immutably, but nothing starts it and it is not reachable — a staged deployment only ever runs once promoted, at which point the operator validates it by starting it and switches the route only if it becomes healthy.
881
+ * @default true
882
+ */
883
+ promote: boolean;
884
+ };
885
+ CreateCredentialRequest: {
886
+ /** @enum {string} */
887
+ type: 'ssh_key' | 'http_token';
888
+ /** @description SSH public key. Required iff `type` is `ssh_key`; forbidden otherwise. */
889
+ publicKey?: string;
890
+ /**
891
+ * @description Optional caller-supplied display label.
892
+ * @default
893
+ */
894
+ name: string;
895
+ /** @enum {string} */
896
+ permissions: 'readOnly' | 'readWrite';
897
+ };
898
+ Credential: {
899
+ /** Format: uuid */
900
+ id: string;
901
+ /** @enum {string} */
902
+ type: 'ssh_key' | 'http_token';
903
+ name: string;
904
+ /** @enum {string} */
905
+ permissions: 'readOnly' | 'readWrite';
906
+ ownerAdminId: string;
907
+ /** Format: date-time */
908
+ createdAt: string;
909
+ };
910
+ CreatedCredential: components['schemas']['Credential'] & {
911
+ /** @description One-time secret returned only at creation for `http_token` credentials. */
912
+ secret?: string;
913
+ };
914
+ CredentialList: {
915
+ credentials: components['schemas']['Credential'][];
916
+ };
917
+ };
918
+ responses: never;
919
+ parameters: never;
920
+ requestBodies: never;
921
+ headers: never;
922
+ pathItems: never;
923
+ };
924
+ interface operations {
925
+ index: {
926
+ parameters: {
927
+ query?: never;
928
+ header?: never;
929
+ path?: never;
930
+ cookie?: never;
931
+ };
932
+ requestBody?: never;
933
+ responses: {
934
+ /** @description Service metadata */
935
+ 200: {
936
+ headers: {
937
+ [name: string]: unknown;
938
+ };
939
+ content: {
940
+ /**
941
+ * @example {
942
+ * "appName": "sandboxes-service",
943
+ * "appVersion": "1.2.3",
944
+ * "apiDocs": "http://apps.eu-west-1.aws.keboola.dev/docs/swagger.yaml"
945
+ * }
946
+ */
947
+ 'application/json': {
948
+ appName?: string;
949
+ appVersion?: string;
950
+ /** Format: url */
951
+ apiDocs?: string;
952
+ };
953
+ };
954
+ };
955
+ };
956
+ };
957
+ listApps: {
958
+ parameters: {
959
+ query?: {
960
+ offset?: number;
961
+ limit?: number;
962
+ };
963
+ header?: never;
964
+ path?: never;
965
+ cookie?: never;
966
+ };
967
+ requestBody?: never;
968
+ responses: {
969
+ /** @description OK */
970
+ 200: {
971
+ headers: {
972
+ [name: string]: unknown;
973
+ };
974
+ content: {
975
+ 'application/json': components['schemas']['App'][];
976
+ };
977
+ };
978
+ };
979
+ };
980
+ createApp: {
981
+ parameters: {
982
+ query?: never;
983
+ header?: {
984
+ 'Idempotency-Key'?: string;
985
+ };
986
+ path?: never;
987
+ cookie?: never;
988
+ };
989
+ requestBody: {
990
+ content: {
991
+ 'application/json': components['schemas']['AppCreateRequest'];
992
+ };
993
+ };
994
+ responses: {
995
+ /** @description OK — an `Idempotency-Key` replay; the app already existed and nothing was created. */
996
+ 200: {
997
+ headers: {
998
+ [name: string]: unknown;
999
+ };
1000
+ content: {
1001
+ 'application/json': components['schemas']['App'];
1002
+ };
1003
+ };
1004
+ /** @description Created */
1005
+ 201: {
1006
+ headers: {
1007
+ [name: string]: unknown;
1008
+ };
1009
+ content: {
1010
+ 'application/json': components['schemas']['App'];
1011
+ };
1012
+ };
1013
+ /** @description Unprocessable Entity */
1014
+ 422: {
1015
+ headers: {
1016
+ [name: string]: unknown;
1017
+ };
1018
+ content?: never;
1019
+ };
1020
+ };
1021
+ };
1022
+ getApp: {
1023
+ parameters: {
1024
+ query?: never;
1025
+ header?: never;
1026
+ path: {
1027
+ appId: string;
1028
+ };
1029
+ cookie?: never;
1030
+ };
1031
+ requestBody?: never;
1032
+ responses: {
1033
+ /** @description OK */
1034
+ 200: {
1035
+ headers: {
1036
+ [name: string]: unknown;
1037
+ };
1038
+ content: {
1039
+ 'application/json': components['schemas']['App'];
1040
+ };
1041
+ };
1042
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1043
+ 403: {
1044
+ headers: {
1045
+ [name: string]: unknown;
1046
+ };
1047
+ content?: never;
1048
+ };
1049
+ /** @description Not Found */
1050
+ 404: {
1051
+ headers: {
1052
+ [name: string]: unknown;
1053
+ };
1054
+ content?: never;
1055
+ };
1056
+ };
1057
+ };
1058
+ deleteApp: {
1059
+ parameters: {
1060
+ query?: never;
1061
+ header?: never;
1062
+ path: {
1063
+ appId: string;
1064
+ };
1065
+ cookie?: never;
1066
+ };
1067
+ requestBody?: never;
1068
+ responses: {
1069
+ /** @description Accepted */
1070
+ 202: {
1071
+ headers: {
1072
+ [name: string]: unknown;
1073
+ };
1074
+ content?: never;
1075
+ };
1076
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1077
+ 403: {
1078
+ headers: {
1079
+ [name: string]: unknown;
1080
+ };
1081
+ content?: never;
1082
+ };
1083
+ /** @description Not Found */
1084
+ 404: {
1085
+ headers: {
1086
+ [name: string]: unknown;
1087
+ };
1088
+ content?: never;
1089
+ };
1090
+ };
1091
+ };
1092
+ patchApp: {
1093
+ parameters: {
1094
+ query?: never;
1095
+ header?: never;
1096
+ path: {
1097
+ appId: string;
1098
+ };
1099
+ cookie?: never;
1100
+ };
1101
+ requestBody: {
1102
+ content: {
1103
+ 'application/json': components['schemas']['AppPatchRequest'];
1104
+ };
1105
+ };
1106
+ responses: {
1107
+ /** @description OK */
1108
+ 200: {
1109
+ headers: {
1110
+ [name: string]: unknown;
1111
+ };
1112
+ content: {
1113
+ 'application/json': components['schemas']['App'];
1114
+ };
1115
+ };
1116
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1117
+ 403: {
1118
+ headers: {
1119
+ [name: string]: unknown;
1120
+ };
1121
+ content?: never;
1122
+ };
1123
+ /** @description Not Found */
1124
+ 404: {
1125
+ headers: {
1126
+ [name: string]: unknown;
1127
+ };
1128
+ content?: never;
1129
+ };
1130
+ };
1131
+ };
1132
+ unpublishApp: {
1133
+ parameters: {
1134
+ query?: never;
1135
+ header?: never;
1136
+ path: {
1137
+ appId: string;
1138
+ };
1139
+ cookie?: never;
1140
+ };
1141
+ requestBody?: never;
1142
+ responses: {
1143
+ /** @description Accepted — production is being unset */
1144
+ 202: {
1145
+ headers: {
1146
+ [name: string]: unknown;
1147
+ };
1148
+ content: {
1149
+ 'application/json': components['schemas']['App'];
1150
+ };
1151
+ };
1152
+ /** @description No Content — already unpublished (with or without an App CRD); no-op */
1153
+ 204: {
1154
+ headers: {
1155
+ [name: string]: unknown;
1156
+ };
1157
+ content?: never;
1158
+ };
1159
+ /** @description Not Found */
1160
+ 404: {
1161
+ headers: {
1162
+ [name: string]: unknown;
1163
+ };
1164
+ content?: never;
1165
+ };
1166
+ };
1167
+ };
1168
+ suspendApp: {
1169
+ parameters: {
1170
+ query?: never;
1171
+ header?: never;
1172
+ path: {
1173
+ appId: string;
1174
+ };
1175
+ cookie?: never;
1176
+ };
1177
+ requestBody?: never;
1178
+ responses: {
1179
+ /** @description Accepted — suspend is being applied */
1180
+ 202: {
1181
+ headers: {
1182
+ [name: string]: unknown;
1183
+ };
1184
+ content: {
1185
+ 'application/json': components['schemas']['App'];
1186
+ };
1187
+ };
1188
+ /** @description No Content — already suspended; no-op */
1189
+ 204: {
1190
+ headers: {
1191
+ [name: string]: unknown;
1192
+ };
1193
+ content?: never;
1194
+ };
1195
+ /** @description Not Found */
1196
+ 404: {
1197
+ headers: {
1198
+ [name: string]: unknown;
1199
+ };
1200
+ content?: never;
1201
+ };
1202
+ /** @description Conflict — either the app has no currently serving member to suspend, or the app has no App CRD (it was never deployed via /v2). */
1203
+ 409: {
1204
+ headers: {
1205
+ [name: string]: unknown;
1206
+ };
1207
+ content: {
1208
+ 'application/json': components['schemas']['ErrorResponse'];
1209
+ };
1210
+ };
1211
+ };
1212
+ };
1213
+ resumeApp: {
1214
+ parameters: {
1215
+ query?: never;
1216
+ header?: never;
1217
+ path: {
1218
+ appId: string;
1219
+ };
1220
+ cookie?: never;
1221
+ };
1222
+ requestBody?: never;
1223
+ responses: {
1224
+ /** @description Accepted — resume is being applied */
1225
+ 202: {
1226
+ headers: {
1227
+ [name: string]: unknown;
1228
+ };
1229
+ content: {
1230
+ 'application/json': components['schemas']['App'];
1231
+ };
1232
+ };
1233
+ /** @description No Content — already running; no-op */
1234
+ 204: {
1235
+ headers: {
1236
+ [name: string]: unknown;
1237
+ };
1238
+ content?: never;
1239
+ };
1240
+ /** @description Not Found */
1241
+ 404: {
1242
+ headers: {
1243
+ [name: string]: unknown;
1244
+ };
1245
+ content?: never;
1246
+ };
1247
+ /** @description Conflict — either the app has no currently serving member to resume, or the app has no App CRD (it was never deployed via /v2). */
1248
+ 409: {
1249
+ headers: {
1250
+ [name: string]: unknown;
1251
+ };
1252
+ content: {
1253
+ 'application/json': components['schemas']['ErrorResponse'];
1254
+ };
1255
+ };
1256
+ };
1257
+ };
1258
+ recordAppActivity: {
1259
+ parameters: {
1260
+ query?: never;
1261
+ header?: never;
1262
+ path: {
1263
+ appId: string;
1264
+ };
1265
+ cookie?: never;
1266
+ };
1267
+ requestBody: {
1268
+ content: {
1269
+ 'application/json': {
1270
+ /** Format: date-time */
1271
+ lastRequestTimestamp: string;
1272
+ };
1273
+ };
1274
+ };
1275
+ responses: {
1276
+ /** @description No Content — recorded */
1277
+ 204: {
1278
+ headers: {
1279
+ [name: string]: unknown;
1280
+ };
1281
+ content?: never;
1282
+ };
1283
+ /** @description Unauthorized */
1284
+ 401: {
1285
+ headers: {
1286
+ [name: string]: unknown;
1287
+ };
1288
+ content?: never;
1289
+ };
1290
+ /** @description Forbidden */
1291
+ 403: {
1292
+ headers: {
1293
+ [name: string]: unknown;
1294
+ };
1295
+ content?: never;
1296
+ };
1297
+ /** @description Not Found */
1298
+ 404: {
1299
+ headers: {
1300
+ [name: string]: unknown;
1301
+ };
1302
+ content?: never;
1303
+ };
1304
+ /** @description Unprocessable Entity — missing or malformed `lastRequestTimestamp` */
1305
+ 422: {
1306
+ headers: {
1307
+ [name: string]: unknown;
1308
+ };
1309
+ content: {
1310
+ 'application/json': components['schemas']['ErrorResponse'];
1311
+ };
1312
+ };
1313
+ };
1314
+ };
1315
+ getAppPassword: {
1316
+ parameters: {
1317
+ query?: never;
1318
+ header?: never;
1319
+ path: {
1320
+ appId: string;
1321
+ };
1322
+ cookie?: never;
1323
+ };
1324
+ requestBody?: never;
1325
+ responses: {
1326
+ /** @description OK */
1327
+ 200: {
1328
+ headers: {
1329
+ [name: string]: unknown;
1330
+ };
1331
+ content: {
1332
+ 'application/json': {
1333
+ password?: string | null;
1334
+ };
1335
+ };
1336
+ };
1337
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1338
+ 403: {
1339
+ headers: {
1340
+ [name: string]: unknown;
1341
+ };
1342
+ content?: never;
1343
+ };
1344
+ /** @description Not Found */
1345
+ 404: {
1346
+ headers: {
1347
+ [name: string]: unknown;
1348
+ };
1349
+ content?: never;
1350
+ };
1351
+ };
1352
+ };
1353
+ resetAppPassword: {
1354
+ parameters: {
1355
+ query?: never;
1356
+ header?: never;
1357
+ path: {
1358
+ appId: string;
1359
+ };
1360
+ cookie?: never;
1361
+ };
1362
+ requestBody?: never;
1363
+ responses: {
1364
+ /** @description OK */
1365
+ 200: {
1366
+ headers: {
1367
+ [name: string]: unknown;
1368
+ };
1369
+ content: {
1370
+ 'application/json': components['schemas']['App'];
1371
+ };
1372
+ };
1373
+ /** @description Bad Request — the app's config has no `password`-type auth provider. */
1374
+ 400: {
1375
+ headers: {
1376
+ [name: string]: unknown;
1377
+ };
1378
+ content: {
1379
+ 'application/json': components['schemas']['ErrorResponse'];
1380
+ };
1381
+ };
1382
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1383
+ 403: {
1384
+ headers: {
1385
+ [name: string]: unknown;
1386
+ };
1387
+ content?: never;
1388
+ };
1389
+ /** @description Not Found */
1390
+ 404: {
1391
+ headers: {
1392
+ [name: string]: unknown;
1393
+ };
1394
+ content?: never;
1395
+ };
1396
+ };
1397
+ };
1398
+ listRuns: {
1399
+ parameters: {
1400
+ query?: {
1401
+ /** @description Restrict to runs of a single deployment. */
1402
+ deploymentId?: string;
1403
+ /** @description Restrict to runs with `createdAt >= since` (RFC 3339 / ISO-8601, e.g. `2026-01-01T00:00:00+00:00`). */
1404
+ since?: string;
1405
+ /** @description Restrict to runs with `createdAt <= until` (RFC 3339 / ISO-8601). */
1406
+ until?: string;
1407
+ /** @description Applies to the window already narrowed by `since`/`until`/`deploymentId`, not to the app's full run history. */
1408
+ offset?: number;
1409
+ limit?: number;
1410
+ };
1411
+ header?: never;
1412
+ path: {
1413
+ appId: string;
1414
+ };
1415
+ cookie?: never;
1416
+ };
1417
+ requestBody?: never;
1418
+ responses: {
1419
+ /** @description OK */
1420
+ 200: {
1421
+ headers: {
1422
+ [name: string]: unknown;
1423
+ };
1424
+ content: {
1425
+ 'application/json': components['schemas']['Run'][];
1426
+ };
1427
+ };
1428
+ /** @description Bad Request — `since` or `until` is not a parseable RFC 3339 timestamp. */
1429
+ 400: {
1430
+ headers: {
1431
+ [name: string]: unknown;
1432
+ };
1433
+ content: {
1434
+ 'application/json': components['schemas']['ErrorResponse'];
1435
+ };
1436
+ };
1437
+ /** @description Forbidden — the token belongs to a different project */
1438
+ 403: {
1439
+ headers: {
1440
+ [name: string]: unknown;
1441
+ };
1442
+ content?: never;
1443
+ };
1444
+ /** @description Not Found */
1445
+ 404: {
1446
+ headers: {
1447
+ [name: string]: unknown;
1448
+ };
1449
+ content: {
1450
+ 'application/json': components['schemas']['ErrorResponse'];
1451
+ };
1452
+ };
1453
+ };
1454
+ };
1455
+ getRun: {
1456
+ parameters: {
1457
+ query?: never;
1458
+ header?: never;
1459
+ path: {
1460
+ appId: string;
1461
+ runId: string;
1462
+ };
1463
+ cookie?: never;
1464
+ };
1465
+ requestBody?: never;
1466
+ responses: {
1467
+ /** @description OK */
1468
+ 200: {
1469
+ headers: {
1470
+ [name: string]: unknown;
1471
+ };
1472
+ content: {
1473
+ 'application/json': components['schemas']['Run'];
1474
+ };
1475
+ };
1476
+ /** @description Forbidden — the token belongs to a different project */
1477
+ 403: {
1478
+ headers: {
1479
+ [name: string]: unknown;
1480
+ };
1481
+ content?: never;
1482
+ };
1483
+ /** @description Not Found */
1484
+ 404: {
1485
+ headers: {
1486
+ [name: string]: unknown;
1487
+ };
1488
+ content: {
1489
+ 'application/json': components['schemas']['ErrorResponse'];
1490
+ };
1491
+ };
1492
+ };
1493
+ };
1494
+ listDeployments: {
1495
+ parameters: {
1496
+ query?: never;
1497
+ header?: never;
1498
+ path: {
1499
+ appId: string;
1500
+ };
1501
+ cookie?: never;
1502
+ };
1503
+ requestBody?: never;
1504
+ responses: {
1505
+ /** @description OK */
1506
+ 200: {
1507
+ headers: {
1508
+ [name: string]: unknown;
1509
+ };
1510
+ content: {
1511
+ 'application/json': components['schemas']['Deployment'][];
1512
+ };
1513
+ };
1514
+ /** @description Not Found */
1515
+ 404: {
1516
+ headers: {
1517
+ [name: string]: unknown;
1518
+ };
1519
+ content?: never;
1520
+ };
1521
+ };
1522
+ };
1523
+ createDeployment: {
1524
+ parameters: {
1525
+ query?: never;
1526
+ header?: {
1527
+ 'Idempotency-Key'?: string;
1528
+ };
1529
+ path: {
1530
+ appId: string;
1531
+ };
1532
+ cookie?: never;
1533
+ };
1534
+ requestBody?: {
1535
+ content: {
1536
+ 'application/json': components['schemas']['DeploymentCreateRequest'];
1537
+ };
1538
+ };
1539
+ responses: {
1540
+ /** @description OK — an `Idempotency-Key` replay; the deployment already existed and nothing was created. */
1541
+ 200: {
1542
+ headers: {
1543
+ [name: string]: unknown;
1544
+ };
1545
+ content: {
1546
+ 'application/json': components['schemas']['Deployment'];
1547
+ };
1548
+ };
1549
+ /** @description Accepted — deployment created. It starts at `buildState: PREBUILT`, `runState: NEVER_RUN`; promoting it is what causes it to run. */
1550
+ 202: {
1551
+ headers: {
1552
+ [name: string]: unknown;
1553
+ };
1554
+ content: {
1555
+ 'application/json': components['schemas']['Deployment'];
1556
+ };
1557
+ };
1558
+ /** @description Not Found */
1559
+ 404: {
1560
+ headers: {
1561
+ [name: string]: unknown;
1562
+ };
1563
+ content?: never;
1564
+ };
1565
+ };
1566
+ };
1567
+ getDeployment: {
1568
+ parameters: {
1569
+ query?: never;
1570
+ header?: never;
1571
+ path: {
1572
+ appId: string;
1573
+ deploymentId: string;
1574
+ };
1575
+ cookie?: never;
1576
+ };
1577
+ requestBody?: never;
1578
+ responses: {
1579
+ /** @description OK */
1580
+ 200: {
1581
+ headers: {
1582
+ [name: string]: unknown;
1583
+ };
1584
+ content: {
1585
+ 'application/json': components['schemas']['Deployment'];
1586
+ };
1587
+ };
1588
+ /** @description Not Found */
1589
+ 404: {
1590
+ headers: {
1591
+ [name: string]: unknown;
1592
+ };
1593
+ content?: never;
1594
+ };
1595
+ };
1596
+ };
1597
+ deleteDeployment: {
1598
+ parameters: {
1599
+ query?: never;
1600
+ header?: never;
1601
+ path: {
1602
+ appId: string;
1603
+ deploymentId: string;
1604
+ };
1605
+ cookie?: never;
1606
+ };
1607
+ requestBody?: never;
1608
+ responses: {
1609
+ /** @description Accepted — the member CR and its rendered-config Secret are being deleted */
1610
+ 202: {
1611
+ headers: {
1612
+ [name: string]: unknown;
1613
+ };
1614
+ content?: never;
1615
+ };
1616
+ /** @description No Content — already archived; no-op */
1617
+ 204: {
1618
+ headers: {
1619
+ [name: string]: unknown;
1620
+ };
1621
+ content?: never;
1622
+ };
1623
+ /** @description Not Found */
1624
+ 404: {
1625
+ headers: {
1626
+ [name: string]: unknown;
1627
+ };
1628
+ content?: never;
1629
+ };
1630
+ /** @description Conflict — this deployment's id is named production.desiredId or production.actualId on the app. */
1631
+ 409: {
1632
+ headers: {
1633
+ [name: string]: unknown;
1634
+ };
1635
+ content: {
1636
+ 'application/json': components['schemas']['ErrorResponse'];
1637
+ };
1638
+ };
1639
+ };
1640
+ };
1641
+ promoteDeployment: {
1642
+ parameters: {
1643
+ query?: never;
1644
+ header?: never;
1645
+ path: {
1646
+ appId: string;
1647
+ deploymentId: string;
1648
+ };
1649
+ cookie?: never;
1650
+ };
1651
+ requestBody?: never;
1652
+ responses: {
1653
+ /** @description Accepted — the intent was recorded. The operator validates and switches the route asynchronously; `production.desiredId`/`desiredNumber` and `production.actualId`/`actualNumber` on the app differ until it converges, and the deployment's own `runState` reports a target that failed to start. */
1654
+ 202: {
1655
+ headers: {
1656
+ [name: string]: unknown;
1657
+ };
1658
+ content: {
1659
+ 'application/json': components['schemas']['App'];
1660
+ };
1661
+ };
1662
+ /** @description No Content — already production; no-op */
1663
+ 204: {
1664
+ headers: {
1665
+ [name: string]: unknown;
1666
+ };
1667
+ content?: never;
1668
+ };
1669
+ /** @description Not Found */
1670
+ 404: {
1671
+ headers: {
1672
+ [name: string]: unknown;
1673
+ };
1674
+ content?: never;
1675
+ };
1676
+ /** @description Conflict — the app has no App CRD (it was never deployed via /v2). */
1677
+ 409: {
1678
+ headers: {
1679
+ [name: string]: unknown;
1680
+ };
1681
+ content: {
1682
+ 'application/json': components['schemas']['ErrorResponse'];
1683
+ };
1684
+ };
1685
+ };
1686
+ };
1687
+ tailAppLogs: {
1688
+ parameters: {
1689
+ query?: {
1690
+ since?: string;
1691
+ lines?: number;
1692
+ };
1693
+ header?: never;
1694
+ path: {
1695
+ appId: string;
1696
+ };
1697
+ cookie?: never;
1698
+ };
1699
+ requestBody?: never;
1700
+ responses: {
1701
+ /** @description OK */
1702
+ 200: {
1703
+ headers: {
1704
+ [name: string]: unknown;
1705
+ };
1706
+ content: {
1707
+ 'text/plain': string;
1708
+ };
1709
+ };
1710
+ /** @description Bad Request — the app has an App CRD but no currently serving member (`apps.appNotRunning`). */
1711
+ 400: {
1712
+ headers: {
1713
+ [name: string]: unknown;
1714
+ };
1715
+ content: {
1716
+ 'application/json': components['schemas']['ErrorResponse'];
1717
+ };
1718
+ };
1719
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1720
+ 403: {
1721
+ headers: {
1722
+ [name: string]: unknown;
1723
+ };
1724
+ content?: never;
1725
+ };
1726
+ /** @description Not Found */
1727
+ 404: {
1728
+ headers: {
1729
+ [name: string]: unknown;
1730
+ };
1731
+ content?: never;
1732
+ };
1733
+ };
1734
+ };
1735
+ downloadAppLogs: {
1736
+ parameters: {
1737
+ query?: never;
1738
+ header?: never;
1739
+ path: {
1740
+ appId: string;
1741
+ };
1742
+ cookie?: never;
1743
+ };
1744
+ requestBody?: never;
1745
+ responses: {
1746
+ /** @description OK */
1747
+ 200: {
1748
+ headers: {
1749
+ [name: string]: unknown;
1750
+ };
1751
+ content: {
1752
+ 'text/plain': string;
1753
+ };
1754
+ };
1755
+ /** @description Bad Request — the app has an App CRD but no currently serving member (`apps.appNotRunning`). */
1756
+ 400: {
1757
+ headers: {
1758
+ [name: string]: unknown;
1759
+ };
1760
+ content: {
1761
+ 'application/json': components['schemas']['ErrorResponse'];
1762
+ };
1763
+ };
1764
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1765
+ 403: {
1766
+ headers: {
1767
+ [name: string]: unknown;
1768
+ };
1769
+ content?: never;
1770
+ };
1771
+ /** @description Not Found */
1772
+ 404: {
1773
+ headers: {
1774
+ [name: string]: unknown;
1775
+ };
1776
+ content?: never;
1777
+ };
1778
+ };
1779
+ };
1780
+ tailDeploymentLogs: {
1781
+ parameters: {
1782
+ query?: {
1783
+ since?: string;
1784
+ lines?: number;
1785
+ };
1786
+ header?: never;
1787
+ path: {
1788
+ appId: string;
1789
+ deploymentId: string;
1790
+ };
1791
+ cookie?: never;
1792
+ };
1793
+ requestBody?: never;
1794
+ responses: {
1795
+ /** @description OK */
1796
+ 200: {
1797
+ headers: {
1798
+ [name: string]: unknown;
1799
+ };
1800
+ content: {
1801
+ 'text/plain': string;
1802
+ };
1803
+ };
1804
+ /** @description Bad Request — the deployment exists but has nothing currently running (`apps.deploymentNotRunning`). */
1805
+ 400: {
1806
+ headers: {
1807
+ [name: string]: unknown;
1808
+ };
1809
+ content: {
1810
+ 'application/json': components['schemas']['ErrorResponse'];
1811
+ };
1812
+ };
1813
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1814
+ 403: {
1815
+ headers: {
1816
+ [name: string]: unknown;
1817
+ };
1818
+ content?: never;
1819
+ };
1820
+ /** @description Not Found — the app doesn't exist, or the deployment doesn't exist or belongs to a different app. */
1821
+ 404: {
1822
+ headers: {
1823
+ [name: string]: unknown;
1824
+ };
1825
+ content?: never;
1826
+ };
1827
+ };
1828
+ };
1829
+ downloadDeploymentLogs: {
1830
+ parameters: {
1831
+ query?: never;
1832
+ header?: never;
1833
+ path: {
1834
+ appId: string;
1835
+ deploymentId: string;
1836
+ };
1837
+ cookie?: never;
1838
+ };
1839
+ requestBody?: never;
1840
+ responses: {
1841
+ /** @description OK */
1842
+ 200: {
1843
+ headers: {
1844
+ [name: string]: unknown;
1845
+ };
1846
+ content: {
1847
+ 'text/plain': string;
1848
+ };
1849
+ };
1850
+ /** @description Bad Request — the deployment exists but has nothing currently running (`apps.deploymentNotRunning`). */
1851
+ 400: {
1852
+ headers: {
1853
+ [name: string]: unknown;
1854
+ };
1855
+ content: {
1856
+ 'application/json': components['schemas']['ErrorResponse'];
1857
+ };
1858
+ };
1859
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1860
+ 403: {
1861
+ headers: {
1862
+ [name: string]: unknown;
1863
+ };
1864
+ content?: never;
1865
+ };
1866
+ /** @description Not Found — the app doesn't exist, or the deployment doesn't exist or belongs to a different app. */
1867
+ 404: {
1868
+ headers: {
1869
+ [name: string]: unknown;
1870
+ };
1871
+ content?: never;
1872
+ };
1873
+ };
1874
+ };
1875
+ getAppGitRepo: {
1876
+ parameters: {
1877
+ query?: never;
1878
+ header?: never;
1879
+ path: {
1880
+ appId: string;
1881
+ };
1882
+ cookie?: never;
1883
+ };
1884
+ requestBody?: never;
1885
+ responses: {
1886
+ /** @description OK */
1887
+ 200: {
1888
+ headers: {
1889
+ [name: string]: unknown;
1890
+ };
1891
+ content: {
1892
+ 'application/json': {
1893
+ /** @description SSH clone URL. `null` for a repository configured over HTTP(S). */
1894
+ sshUrl: string | null;
1895
+ /** @description HTTPS clone URL. `null` for a repository configured over SSH. */
1896
+ httpsUrl: string | null;
1897
+ /** @description Whether the repository is a managed Git repository provisioned by the service. */
1898
+ isManagedGitRepo: boolean;
1899
+ };
1900
+ };
1901
+ };
1902
+ /** @description Forbidden — the app belongs to a different project than the token's. */
1903
+ 403: {
1904
+ headers: {
1905
+ [name: string]: unknown;
1906
+ };
1907
+ content?: never;
1908
+ };
1909
+ /** @description Not Found */
1910
+ 404: {
1911
+ headers: {
1912
+ [name: string]: unknown;
1913
+ };
1914
+ content?: never;
1915
+ };
1916
+ /** @description Conflict — the app has no Git repository configured. */
1917
+ 409: {
1918
+ headers: {
1919
+ [name: string]: unknown;
1920
+ };
1921
+ content?: never;
1922
+ };
1923
+ };
1924
+ };
1925
+ listAppGitRepoCredentials: {
1926
+ parameters: {
1927
+ query?: never;
1928
+ header?: never;
1929
+ path: {
1930
+ appId: string;
1931
+ };
1932
+ cookie?: never;
1933
+ };
1934
+ requestBody?: never;
1935
+ responses: {
1936
+ /** @description OK */
1937
+ 200: {
1938
+ headers: {
1939
+ [name: string]: unknown;
1940
+ };
1941
+ content: {
1942
+ 'application/json': components['schemas']['CredentialList'];
1943
+ };
1944
+ };
1945
+ /** @description Forbidden — token lacks admin context, or the app belongs to a different project than the token's. */
1946
+ 403: {
1947
+ headers: {
1948
+ [name: string]: unknown;
1949
+ };
1950
+ content?: never;
1951
+ };
1952
+ /** @description Not Found */
1953
+ 404: {
1954
+ headers: {
1955
+ [name: string]: unknown;
1956
+ };
1957
+ content?: never;
1958
+ };
1959
+ };
1960
+ };
1961
+ createAppGitRepoCredential: {
1962
+ parameters: {
1963
+ query?: never;
1964
+ header?: {
1965
+ 'Idempotency-Key'?: string;
1966
+ };
1967
+ path: {
1968
+ appId: string;
1969
+ };
1970
+ cookie?: never;
1971
+ };
1972
+ requestBody: {
1973
+ content: {
1974
+ 'application/json': components['schemas']['CreateCredentialRequest'];
1975
+ };
1976
+ };
1977
+ responses: {
1978
+ /** @description OK — an `Idempotency-Key` replay; the credential already existed and nothing was created. */
1979
+ 200: {
1980
+ headers: {
1981
+ [name: string]: unknown;
1982
+ };
1983
+ content: {
1984
+ 'application/json': components['schemas']['CreatedCredential'];
1985
+ };
1986
+ };
1987
+ /** @description Created */
1988
+ 201: {
1989
+ headers: {
1990
+ [name: string]: unknown;
1991
+ };
1992
+ content: {
1993
+ 'application/json': components['schemas']['CreatedCredential'];
1994
+ };
1995
+ };
1996
+ /** @description Bad Request — invalid payload (wrong type/publicKey combination, missing required fields). */
1997
+ 400: {
1998
+ headers: {
1999
+ [name: string]: unknown;
2000
+ };
2001
+ content?: never;
2002
+ };
2003
+ /** @description Forbidden — token lacks admin context, or the app belongs to a different project than the token's. */
2004
+ 403: {
2005
+ headers: {
2006
+ [name: string]: unknown;
2007
+ };
2008
+ content?: never;
2009
+ };
2010
+ /** @description Not Found */
2011
+ 404: {
2012
+ headers: {
2013
+ [name: string]: unknown;
2014
+ };
2015
+ content?: never;
2016
+ };
2017
+ /** @description Conflict — the app has no managed Git repository. */
2018
+ 409: {
2019
+ headers: {
2020
+ [name: string]: unknown;
2021
+ };
2022
+ content?: never;
2023
+ };
2024
+ };
2025
+ };
2026
+ getAppGitRepoCredential: {
2027
+ parameters: {
2028
+ query?: never;
2029
+ header?: never;
2030
+ path: {
2031
+ appId: string;
2032
+ credentialId: string;
2033
+ };
2034
+ cookie?: never;
2035
+ };
2036
+ requestBody?: never;
2037
+ responses: {
2038
+ /** @description OK */
2039
+ 200: {
2040
+ headers: {
2041
+ [name: string]: unknown;
2042
+ };
2043
+ content: {
2044
+ 'application/json': components['schemas']['Credential'];
2045
+ };
2046
+ };
2047
+ /** @description Forbidden — token lacks admin context, or the app belongs to a different project than the token's. */
2048
+ 403: {
2049
+ headers: {
2050
+ [name: string]: unknown;
2051
+ };
2052
+ content?: never;
2053
+ };
2054
+ /** @description Not Found — the app doesn't exist, or the credential doesn't exist or belongs to a different app. */
2055
+ 404: {
2056
+ headers: {
2057
+ [name: string]: unknown;
2058
+ };
2059
+ content?: never;
2060
+ };
2061
+ };
2062
+ };
2063
+ deleteAppGitRepoCredential: {
2064
+ parameters: {
2065
+ query?: never;
2066
+ header?: never;
2067
+ path: {
2068
+ appId: string;
2069
+ credentialId: string;
2070
+ };
2071
+ cookie?: never;
2072
+ };
2073
+ requestBody?: never;
2074
+ responses: {
2075
+ /** @description No Content */
2076
+ 204: {
2077
+ headers: {
2078
+ [name: string]: unknown;
2079
+ };
2080
+ content?: never;
2081
+ };
2082
+ /** @description Forbidden — token lacks admin context, or the app belongs to a different project than the token's. */
2083
+ 403: {
2084
+ headers: {
2085
+ [name: string]: unknown;
2086
+ };
2087
+ content?: never;
2088
+ };
2089
+ /** @description Not Found — the app doesn't exist, or the credential doesn't exist or belongs to a different app. */
2090
+ 404: {
2091
+ headers: {
2092
+ [name: string]: unknown;
2093
+ };
2094
+ content?: never;
2095
+ };
2096
+ };
2097
+ };
2098
+ }
2099
+ //#endregion
2100
+ //#region src/clients/apps/types.d.ts
2101
+ type App = components['schemas']['App'];
2102
+ type AppState = App['state'];
2103
+ type Deployment = components['schemas']['Deployment'];
2104
+ type DeploymentBuildState = Deployment['buildState'];
2105
+ type DeploymentRunState = Deployment['runState'];
2106
+ type AppRun = components['schemas']['Run'];
2107
+ type AppPassword = OpenapiReturnType<paths['/apps/{appId}/password']['get']>;
2108
+ type AppGitRepo = OpenapiReturnType<paths['/apps/{appId}/git-repo']['get']>;
2109
+ type Credential = components['schemas']['Credential'];
2110
+ type CreatedCredential = components['schemas']['CreatedCredential'];
2111
+ type CredentialList = components['schemas']['CredentialList'];
2112
+ type AppId = OpenapiPathType<paths['/apps/{appId}']['get']>['appId'];
2113
+ type DeploymentId = OpenapiPathType<paths['/apps/{appId}/deployments/{deploymentId}']['get']>['deploymentId'];
2114
+ type RunId = OpenapiPathType<paths['/apps/{appId}/runs/{runId}']['get']>['runId'];
2115
+ type CredentialId = OpenapiPathType<paths['/apps/{appId}/git-repo/credentials/{credentialId}']['get']>['credentialId'];
2116
+ type GetAppsQuery = OpenapiQueryType<paths['/apps']['get']>;
2117
+ type GetAppRunsQuery = OpenapiQueryType<paths['/apps/{appId}/runs']['get']>;
2118
+ type GetLogsTailQuery = OpenapiQueryType<paths['/apps/{appId}/logs/tail']['get']>;
2119
+ type CreateAppBody = OpenapiBodyType<paths['/apps']['post']>;
2120
+ type CreateDeploymentBody = OpenapiBodyType<paths['/apps/{appId}/deployments']['post']>;
2121
+ type CreateCredentialBody = OpenapiBodyType<paths['/apps/{appId}/git-repo/credentials']['post']>;
2122
+ //#endregion
2123
+ export { components as S, DeploymentRunState as _, AppRun as a, GetLogsTailQuery as b, CreateCredentialBody as c, Credential as d, CredentialId as f, DeploymentId as g, DeploymentBuildState as h, AppPassword as i, CreateDeploymentBody as l, Deployment as m, AppGitRepo as n, AppState as o, CredentialList as p, AppId as r, CreateAppBody as s, App as t, CreatedCredential as u, GetAppRunsQuery as v, RunId as x, GetAppsQuery as y };
2124
+ //# sourceMappingURL=types-SGuvOEV8.d.ts.map