@keboola/api-client 3.0.1 → 5.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 (309) hide show
  1. package/README.md +34 -6
  2. package/dist/ai/index.cjs +4 -3
  3. package/dist/ai/index.d.cts +5 -10
  4. package/dist/ai/index.d.ts +5 -10
  5. package/dist/ai/index.js +3 -2
  6. package/dist/ai/types.d.cts +2 -2
  7. package/dist/ai/types.d.ts +2 -2
  8. package/dist/assets/index.cjs +4 -3
  9. package/dist/assets/index.d.cts +2 -2
  10. package/dist/assets/index.d.ts +2 -2
  11. package/dist/assets/index.js +3 -2
  12. package/dist/{authMiddleware-Dcy9gRT9.d.ts → authMiddleware-B0p06GYQ.d.ts} +1 -1
  13. package/dist/{authMiddleware-CeIxAJQ5.d.cts → authMiddleware-vNb2hfLP.d.cts} +1 -1
  14. package/dist/chat/index.cjs +4 -3
  15. package/dist/chat/index.d.cts +4 -4
  16. package/dist/chat/index.d.ts +4 -4
  17. package/dist/chat/index.js +3 -2
  18. package/dist/chat/types.d.cts +2 -2
  19. package/dist/chat/types.d.ts +2 -2
  20. package/dist/{chunk-Q6T6GRDR.js → chunk-2CTHLPTU.js} +12 -5
  21. package/dist/chunk-2CTHLPTU.js.map +1 -0
  22. package/dist/{chunk-BA2JMZP6.cjs → chunk-2EWL5BAZ.cjs} +4 -4
  23. package/dist/{chunk-BA2JMZP6.cjs.map → chunk-2EWL5BAZ.cjs.map} +1 -1
  24. package/dist/{chunk-LBVYZLWL.js → chunk-2NLVV2MF.js} +3 -3
  25. package/dist/{chunk-LBVYZLWL.js.map → chunk-2NLVV2MF.js.map} +1 -1
  26. package/dist/{chunk-MTFRH3R5.cjs → chunk-3CIPWA33.cjs} +4 -23
  27. package/dist/chunk-3CIPWA33.cjs.map +1 -0
  28. package/dist/{chunk-RBGTWJ7G.js → chunk-4FU45NEU.js} +7 -5
  29. package/dist/chunk-4FU45NEU.js.map +1 -0
  30. package/dist/chunk-4I6TJWBG.cjs +38 -0
  31. package/dist/chunk-4I6TJWBG.cjs.map +1 -0
  32. package/dist/{chunk-3DW7RIEB.js → chunk-4IBEYSSA.js} +7 -5
  33. package/dist/chunk-4IBEYSSA.js.map +1 -0
  34. package/dist/{chunk-T66CY2YX.js → chunk-4NUA46VD.js} +473 -41
  35. package/dist/chunk-4NUA46VD.js.map +1 -0
  36. package/dist/{chunk-T23NVI3Q.js → chunk-5XADEX3R.js} +7 -5
  37. package/dist/chunk-5XADEX3R.js.map +1 -0
  38. package/dist/{chunk-V35JLM5Q.js → chunk-65YXOZDQ.js} +7 -4
  39. package/dist/chunk-65YXOZDQ.js.map +1 -0
  40. package/dist/{chunk-M4PFR3OS.js → chunk-6DPZQRNC.js} +8 -5
  41. package/dist/chunk-6DPZQRNC.js.map +1 -0
  42. package/dist/{chunk-GLQZHLLN.js → chunk-7JOV7PXU.js} +7 -5
  43. package/dist/chunk-7JOV7PXU.js.map +1 -0
  44. package/dist/{chunk-OAKTIIG4.js → chunk-7PPUK4HS.js} +4 -3
  45. package/dist/chunk-7PPUK4HS.js.map +1 -0
  46. package/dist/{chunk-ZIVZF6M2.cjs → chunk-7UQVB2SQ.cjs} +9 -7
  47. package/dist/chunk-7UQVB2SQ.cjs.map +1 -0
  48. package/dist/{chunk-RTD3XWBM.cjs → chunk-AB6LHU2Z.cjs} +11 -9
  49. package/dist/chunk-AB6LHU2Z.cjs.map +1 -0
  50. package/dist/{chunk-VLSN55I3.cjs → chunk-AWRMGLMT.cjs} +113 -3
  51. package/dist/chunk-AWRMGLMT.cjs.map +1 -0
  52. package/dist/{chunk-REXMA2IN.cjs → chunk-CFR2CKM6.cjs} +8 -6
  53. package/dist/chunk-CFR2CKM6.cjs.map +1 -0
  54. package/dist/{chunk-5YN6FED2.cjs → chunk-DGWPC6VR.cjs} +13 -6
  55. package/dist/chunk-DGWPC6VR.cjs.map +1 -0
  56. package/dist/{chunk-SDA2UO4X.cjs → chunk-DOUFVJJF.cjs} +9 -6
  57. package/dist/chunk-DOUFVJJF.cjs.map +1 -0
  58. package/dist/{chunk-76Q2CTFV.js → chunk-EDDRN2CO.js} +7 -5
  59. package/dist/chunk-EDDRN2CO.js.map +1 -0
  60. package/dist/chunk-FL54VJ35.js +32 -0
  61. package/dist/chunk-FL54VJ35.js.map +1 -0
  62. package/dist/chunk-GOC5UODV.cjs +30 -0
  63. package/dist/chunk-GOC5UODV.cjs.map +1 -0
  64. package/dist/{chunk-5PUNJJAR.js → chunk-JKXQFEY7.js} +7 -5
  65. package/dist/chunk-JKXQFEY7.js.map +1 -0
  66. package/dist/chunk-KKZP4DUR.cjs +340 -0
  67. package/dist/chunk-KKZP4DUR.cjs.map +1 -0
  68. package/dist/{chunk-2ZMZ4KWJ.js → chunk-KQ2QNGRX.js} +113 -3
  69. package/dist/chunk-KQ2QNGRX.js.map +1 -0
  70. package/dist/{chunk-ECQZAWH3.cjs → chunk-KT4MFNBC.cjs} +8 -6
  71. package/dist/chunk-KT4MFNBC.cjs.map +1 -0
  72. package/dist/{chunk-RBW5ABSQ.js → chunk-MUQ7TAWH.js} +126 -7
  73. package/dist/chunk-MUQ7TAWH.js.map +1 -0
  74. package/dist/{chunk-D2ZTB5R2.cjs → chunk-OAQGC32L.cjs} +135 -16
  75. package/dist/chunk-OAQGC32L.cjs.map +1 -0
  76. package/dist/chunk-OJJ3QLZP.js +338 -0
  77. package/dist/chunk-OJJ3QLZP.js.map +1 -0
  78. package/dist/{chunk-5DVEQBCD.cjs → chunk-P4CQFG3X.cjs} +11 -9
  79. package/dist/chunk-P4CQFG3X.cjs.map +1 -0
  80. package/dist/{chunk-IL2PAEG3.cjs → chunk-RF64RAHW.cjs} +8 -6
  81. package/dist/chunk-RF64RAHW.cjs.map +1 -0
  82. package/dist/{chunk-AYXQJONA.cjs → chunk-RPNL672Y.cjs} +4 -4
  83. package/dist/chunk-RPNL672Y.cjs.map +1 -0
  84. package/dist/{chunk-HLGMFFDF.js → chunk-S7HIK7XY.js} +7 -5
  85. package/dist/chunk-S7HIK7XY.js.map +1 -0
  86. package/dist/{chunk-ROBQ2CV7.cjs → chunk-T7UDL2KI.cjs} +475 -44
  87. package/dist/chunk-T7UDL2KI.cjs.map +1 -0
  88. package/dist/{chunk-PM2FAMWT.js → chunk-UT3GUUCO.js} +7 -5
  89. package/dist/chunk-UT3GUUCO.js.map +1 -0
  90. package/dist/chunk-UUY6LQT6.cjs +267 -0
  91. package/dist/chunk-UUY6LQT6.cjs.map +1 -0
  92. package/dist/{chunk-LI3BAYDV.cjs → chunk-V32CB5U2.cjs} +8 -6
  93. package/dist/chunk-V32CB5U2.cjs.map +1 -0
  94. package/dist/{chunk-6D3MJRXE.cjs → chunk-VZROPAWL.cjs} +8 -6
  95. package/dist/chunk-VZROPAWL.cjs.map +1 -0
  96. package/dist/{chunk-6HBXNLB7.cjs → chunk-WLS43HX4.cjs} +8 -6
  97. package/dist/chunk-WLS43HX4.cjs.map +1 -0
  98. package/dist/{chunk-KOO3ZG5X.cjs → chunk-WOGG723K.cjs} +8 -5
  99. package/dist/{chunk-V35JLM5Q.js.map → chunk-WOGG723K.cjs.map} +1 -1
  100. package/dist/{chunk-4TENBFWN.cjs → chunk-XHQZ4TF7.cjs} +11 -6
  101. package/dist/chunk-XHQZ4TF7.cjs.map +1 -0
  102. package/dist/{chunk-QXWPUKK2.js → chunk-XI6R76X3.js} +4 -20
  103. package/dist/chunk-XI6R76X3.js.map +1 -0
  104. package/dist/{chunk-6TUGEXVX.js → chunk-XRHAE4SD.js} +3 -3
  105. package/dist/{chunk-6TUGEXVX.js.map → chunk-XRHAE4SD.js.map} +1 -1
  106. package/dist/{chunk-ZQPET6GI.js → chunk-Y3RILILK.js} +10 -5
  107. package/dist/chunk-Y3RILILK.js.map +1 -0
  108. package/dist/{chunk-CQFZ7PGZ.js → chunk-YH52X52J.js} +7 -5
  109. package/dist/chunk-YH52X52J.js.map +1 -0
  110. package/dist/chunk-ZOREOLGE.js +264 -0
  111. package/dist/chunk-ZOREOLGE.js.map +1 -0
  112. package/dist/{createGenericFetchClient-Cp2By_KQ.d.ts → createGenericFetchClient-Gpom91V-.d.ts} +1 -1
  113. package/dist/{createGenericFetchClient-DuW7iSRy.d.cts → createGenericFetchClient-yfcpR7qD.d.cts} +1 -1
  114. package/dist/{createOpenapiFetchClient-DhL2gQvd.d.ts → createOpenapiFetchClient-B44nXiti.d.ts} +2 -2
  115. package/dist/{createOpenapiFetchClient-BuKDZcLD.d.cts → createOpenapiFetchClient-Ci0-Qe53.d.cts} +2 -2
  116. package/dist/dataScience/index.cjs +5 -4
  117. package/dist/dataScience/index.d.cts +26 -6
  118. package/dist/dataScience/index.d.ts +26 -6
  119. package/dist/dataScience/index.js +3 -2
  120. package/dist/dataScience/types.d.cts +2 -2
  121. package/dist/dataScience/types.d.ts +2 -2
  122. package/dist/domain/permissions/index.cjs +5 -11
  123. package/dist/domain/permissions/index.cjs.map +1 -1
  124. package/dist/domain/permissions/index.d.cts +3 -2
  125. package/dist/domain/permissions/index.d.ts +3 -2
  126. package/dist/domain/permissions/index.js +1 -7
  127. package/dist/domain/permissions/index.js.map +1 -1
  128. package/dist/domain/storageTable/index.cjs +9 -260
  129. package/dist/domain/storageTable/index.cjs.map +1 -1
  130. package/dist/domain/storageTable/index.js +1 -262
  131. package/dist/domain/storageTable/index.js.map +1 -1
  132. package/dist/editor/index.cjs +4 -3
  133. package/dist/editor/index.d.cts +4 -4
  134. package/dist/editor/index.d.ts +4 -4
  135. package/dist/editor/index.js +3 -2
  136. package/dist/editor/types.d.cts +2 -2
  137. package/dist/editor/types.d.ts +2 -2
  138. package/dist/encryption/index.cjs +4 -3
  139. package/dist/encryption/index.d.cts +2 -2
  140. package/dist/encryption/index.d.ts +2 -2
  141. package/dist/encryption/index.js +3 -2
  142. package/dist/import/index.cjs +4 -3
  143. package/dist/import/index.d.cts +2 -2
  144. package/dist/import/index.d.ts +2 -2
  145. package/dist/import/index.js +3 -2
  146. package/dist/index-BEE_qeId.d.ts +1511 -0
  147. package/dist/index-KHRrA2IR.d.cts +1511 -0
  148. package/dist/index.cjs +299 -160
  149. package/dist/index.cjs.map +1 -1
  150. package/dist/index.d.cts +3048 -1028
  151. package/dist/index.d.ts +3048 -1028
  152. package/dist/index.js +244 -108
  153. package/dist/index.js.map +1 -1
  154. package/dist/management/index.cjs +6 -5
  155. package/dist/management/index.d.cts +137 -69
  156. package/dist/management/index.d.ts +137 -69
  157. package/dist/management/index.js +4 -3
  158. package/dist/management/types.d.cts +2 -2
  159. package/dist/management/types.d.ts +2 -2
  160. package/dist/metastore/index.cjs +4 -3
  161. package/dist/metastore/index.d.cts +5 -5
  162. package/dist/metastore/index.d.ts +5 -5
  163. package/dist/metastore/index.js +3 -2
  164. package/dist/metastore/types.d.cts +2 -2
  165. package/dist/metastore/types.d.ts +2 -2
  166. package/dist/oauth/index.cjs +4 -3
  167. package/dist/oauth/index.d.cts +2 -2
  168. package/dist/oauth/index.d.ts +2 -2
  169. package/dist/oauth/index.js +3 -2
  170. package/dist/{project-CYhB6rYN.d.cts → project-C4K5Dzoy.d.cts} +1 -1
  171. package/dist/{project-Bzslbq4u.d.ts → project-COwNmNoc.d.ts} +1 -1
  172. package/dist/queryService/index.cjs +4 -3
  173. package/dist/queryService/index.d.cts +4 -4
  174. package/dist/queryService/index.d.ts +4 -4
  175. package/dist/queryService/index.js +3 -2
  176. package/dist/queryService/types.d.cts +2 -2
  177. package/dist/queryService/types.d.ts +2 -2
  178. package/dist/queue/index.cjs +4 -3
  179. package/dist/queue/index.d.cts +4 -4
  180. package/dist/queue/index.d.ts +4 -4
  181. package/dist/queue/index.js +3 -2
  182. package/dist/queue/types.d.cts +2 -2
  183. package/dist/queue/types.d.ts +2 -2
  184. package/dist/sdk/configurations/index.d.cts +3 -2
  185. package/dist/sdk/configurations/index.d.ts +3 -2
  186. package/dist/sdk/storage/index.cjs +11 -11
  187. package/dist/sdk/storage/index.d.cts +7 -7
  188. package/dist/sdk/storage/index.d.ts +7 -7
  189. package/dist/sdk/storage/index.js +1 -1
  190. package/dist/sdk/tag/index.d.cts +4 -4
  191. package/dist/sdk/tag/index.d.ts +4 -4
  192. package/dist/sdk/tag/types.d.cts +4 -4
  193. package/dist/sdk/tag/types.d.ts +4 -4
  194. package/dist/sdk/vault/index.d.cts +2 -2
  195. package/dist/sdk/vault/index.d.ts +2 -2
  196. package/dist/status/index.cjs +4 -3
  197. package/dist/status/index.d.cts +2 -2
  198. package/dist/status/index.d.ts +2 -2
  199. package/dist/status/index.js +3 -2
  200. package/dist/storage/index.cjs +4 -7
  201. package/dist/storage/index.d.cts +6 -10
  202. package/dist/storage/index.d.ts +6 -10
  203. package/dist/storage/index.js +3 -2
  204. package/dist/storage/types.d.cts +451 -11617
  205. package/dist/storage/types.d.ts +451 -11617
  206. package/dist/storageSdk--0Hh4UCE.d.ts +746 -0
  207. package/dist/storageSdk-DJz6WcW3.d.cts +746 -0
  208. package/dist/stream/index.cjs +14 -0
  209. package/dist/stream/index.cjs.map +1 -0
  210. package/dist/stream/index.d.cts +348 -0
  211. package/dist/stream/index.d.ts +348 -0
  212. package/dist/stream/index.js +5 -0
  213. package/dist/stream/index.js.map +1 -0
  214. package/dist/stream/types.cjs +4 -0
  215. package/dist/stream/types.cjs.map +1 -0
  216. package/dist/stream/types.d.cts +2 -0
  217. package/dist/stream/types.d.ts +2 -0
  218. package/dist/stream/types.js +3 -0
  219. package/dist/stream/types.js.map +1 -0
  220. package/dist/syncActions/index.cjs +4 -3
  221. package/dist/syncActions/index.d.cts +5 -7
  222. package/dist/syncActions/index.d.ts +5 -7
  223. package/dist/syncActions/index.js +3 -2
  224. package/dist/syncActions/types.d.cts +1 -1
  225. package/dist/syncActions/types.d.ts +1 -1
  226. package/dist/telemetry/index.cjs +4 -3
  227. package/dist/telemetry/index.d.cts +3 -3
  228. package/dist/telemetry/index.d.ts +3 -3
  229. package/dist/telemetry/index.js +3 -2
  230. package/dist/{types-CNkgmuhe.d.cts → types-Bc-H4gfv.d.cts} +1 -1
  231. package/dist/{types-CRSKcua9.d.cts → types-BxjcUj-y.d.cts} +1 -1
  232. package/dist/{types-CqWXdTMg.d.ts → types-CFd7q2ed.d.ts} +1 -1
  233. package/dist/{types-DBVQGCI1.d.cts → types-CWebeQXy.d.cts} +1 -1
  234. package/dist/{types-DJkU9gvB.d.cts → types-D9cNOf-3.d.cts} +1 -1
  235. package/dist/types-DFWnAftN.d.cts +7523 -0
  236. package/dist/{types-B51cQMrX.d.ts → types-DFbHRDdR.d.ts} +1 -1
  237. package/dist/types-DMC601TE.d.cts +14375 -0
  238. package/dist/types-DMC601TE.d.ts +14375 -0
  239. package/dist/{types-C-bd4ArM.d.cts → types-DTkxk0fW.d.cts} +1 -1
  240. package/dist/{types-cH0_hkCW.d.ts → types-DacFMc6L.d.ts} +1 -1
  241. package/dist/types-DcL25GqY.d.cts +15820 -0
  242. package/dist/types-Dfw6a58i.d.ts +15820 -0
  243. package/dist/{types-Dws8mFNY.d.cts → types-DiC2wKsx.d.cts} +1 -1
  244. package/dist/types-Dv3vN7M9.d.ts +7523 -0
  245. package/dist/{types-Bom8wyth.d.ts → types-DxJD6LIN.d.cts} +1 -0
  246. package/dist/{types-Bom8wyth.d.cts → types-DxJD6LIN.d.ts} +1 -0
  247. package/dist/{types-DzwzVgyG.d.ts → types-JvKRS8Qd.d.ts} +1 -1
  248. package/dist/{types-BY0tjg2Q.d.ts → types-Mghz1gMD.d.ts} +1 -1
  249. package/dist/{types-C7mpAfq-.d.cts → types-jKnx7Tm_.d.cts} +1 -1
  250. package/dist/{types-C7mpAfq-.d.ts → types-jKnx7Tm_.d.ts} +1 -1
  251. package/dist/{types-CGMJT3JL.d.ts → types-yKV1EX6f.d.ts} +1 -1
  252. package/dist/{utils-BNQZiNOu.d.ts → utils-Cl4emy8g.d.ts} +567 -3
  253. package/dist/{utils-DE09pDTi.d.cts → utils-JsCYFmHj.d.cts} +567 -3
  254. package/dist/vault/index.cjs +4 -3
  255. package/dist/vault/index.d.cts +3 -3
  256. package/dist/vault/index.d.ts +3 -3
  257. package/dist/vault/index.js +3 -2
  258. package/dist/vault/types.d.cts +1 -1
  259. package/dist/vault/types.d.ts +1 -1
  260. package/dist/verify/index.cjs +4 -3
  261. package/dist/verify/index.d.cts +2 -1
  262. package/dist/verify/index.d.ts +2 -1
  263. package/dist/verify/index.js +3 -2
  264. package/package.json +31 -3
  265. package/dist/chunk-2ZMZ4KWJ.js.map +0 -1
  266. package/dist/chunk-3DW7RIEB.js.map +0 -1
  267. package/dist/chunk-4TENBFWN.cjs.map +0 -1
  268. package/dist/chunk-5DVEQBCD.cjs.map +0 -1
  269. package/dist/chunk-5PUNJJAR.js.map +0 -1
  270. package/dist/chunk-5YN6FED2.cjs.map +0 -1
  271. package/dist/chunk-6D3MJRXE.cjs.map +0 -1
  272. package/dist/chunk-6FW72PC2.cjs +0 -29
  273. package/dist/chunk-6FW72PC2.cjs.map +0 -1
  274. package/dist/chunk-6HBXNLB7.cjs.map +0 -1
  275. package/dist/chunk-76Q2CTFV.js.map +0 -1
  276. package/dist/chunk-AYXQJONA.cjs.map +0 -1
  277. package/dist/chunk-CQFZ7PGZ.js.map +0 -1
  278. package/dist/chunk-D2ZTB5R2.cjs.map +0 -1
  279. package/dist/chunk-ECQZAWH3.cjs.map +0 -1
  280. package/dist/chunk-GLQZHLLN.js.map +0 -1
  281. package/dist/chunk-HLGMFFDF.js.map +0 -1
  282. package/dist/chunk-IL2PAEG3.cjs.map +0 -1
  283. package/dist/chunk-KOO3ZG5X.cjs.map +0 -1
  284. package/dist/chunk-LI3BAYDV.cjs.map +0 -1
  285. package/dist/chunk-M4PFR3OS.js.map +0 -1
  286. package/dist/chunk-MTFRH3R5.cjs.map +0 -1
  287. package/dist/chunk-OAKTIIG4.js.map +0 -1
  288. package/dist/chunk-PM2FAMWT.js.map +0 -1
  289. package/dist/chunk-Q6T6GRDR.js.map +0 -1
  290. package/dist/chunk-QXWPUKK2.js.map +0 -1
  291. package/dist/chunk-RBGTWJ7G.js.map +0 -1
  292. package/dist/chunk-RBW5ABSQ.js.map +0 -1
  293. package/dist/chunk-REXMA2IN.cjs.map +0 -1
  294. package/dist/chunk-ROBQ2CV7.cjs.map +0 -1
  295. package/dist/chunk-RTD3XWBM.cjs.map +0 -1
  296. package/dist/chunk-SDA2UO4X.cjs.map +0 -1
  297. package/dist/chunk-T23NVI3Q.js.map +0 -1
  298. package/dist/chunk-T66CY2YX.js.map +0 -1
  299. package/dist/chunk-VLSN55I3.cjs.map +0 -1
  300. package/dist/chunk-ZIVZF6M2.cjs.map +0 -1
  301. package/dist/chunk-ZQPET6GI.js.map +0 -1
  302. package/dist/storageClient-C5R3H96R.d.cts +0 -631
  303. package/dist/storageClient-DBiS4voo.d.ts +0 -631
  304. package/dist/storageSdk-B7Iq38Vh.d.cts +0 -143
  305. package/dist/storageSdk-BnIemr2s.d.ts +0 -143
  306. package/dist/types-BTcT8Q0T.d.cts +0 -8605
  307. package/dist/types-BTcT8Q0T.d.ts +0 -8605
  308. package/dist/types-DYMMsuU0.d.cts +0 -78
  309. package/dist/types-DYMMsuU0.d.ts +0 -78
@@ -42,6 +42,7 @@ type BaseClientOptions = {
42
42
  };
43
43
  type ClientInitOptions = {
44
44
  baseUrl: string;
45
+ token: string;
45
46
  middlewares: MiddlewareFn[];
46
47
  };
47
48
 
@@ -42,6 +42,7 @@ type BaseClientOptions = {
42
42
  };
43
43
  type ClientInitOptions = {
44
44
  baseUrl: string;
45
+ token: string;
45
46
  middlewares: MiddlewareFn[];
46
47
  };
47
48
 
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-C7mpAfq-.js';
2
+ import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-jKnx7Tm_.js';
3
3
 
4
4
  /**
5
5
  * This file was auto-generated by openapi-typescript.
@@ -1,4 +1,4 @@
1
- import { a as OpenapiReturnType, d as OpenapiPathType, b as OpenapiBodyType } from './types-C7mpAfq-.js';
1
+ import { a as OpenapiReturnType, d as OpenapiPathType, b as OpenapiBodyType } from './types-jKnx7Tm_.js';
2
2
 
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -57,7 +57,7 @@ type OpenapiResponseTypes<OP> = OP extends {
57
57
  };
58
58
  } ? C : S extends 'default' ? R[S] : never;
59
59
  } : never;
60
- type OpenapiSuccessType<T> = 200 extends keyof T ? T[200] : 201 extends keyof T ? T[201] : 204 extends keyof T ? T[204] : 'default' extends keyof T ? T['default'] : unknown;
60
+ type OpenapiSuccessType<T> = 200 extends keyof T ? T[200] : 201 extends keyof T ? T[201] : 204 extends keyof T ? T[204] : 202 extends keyof T ? T[202] : 'default' extends keyof T ? T['default'] : unknown;
61
61
  type OpenapiReturnType<OP> = OpenapiSuccessType<OpenapiResponseTypes<OP>>;
62
62
  type ArrayElement<T> = T extends (infer U)[] ? U : never;
63
63
 
@@ -57,7 +57,7 @@ type OpenapiResponseTypes<OP> = OP extends {
57
57
  };
58
58
  } ? C : S extends 'default' ? R[S] : never;
59
59
  } : never;
60
- type OpenapiSuccessType<T> = 200 extends keyof T ? T[200] : 201 extends keyof T ? T[201] : 204 extends keyof T ? T[204] : 'default' extends keyof T ? T['default'] : unknown;
60
+ type OpenapiSuccessType<T> = 200 extends keyof T ? T[200] : 201 extends keyof T ? T[201] : 204 extends keyof T ? T[204] : 202 extends keyof T ? T[202] : 'default' extends keyof T ? T['default'] : unknown;
61
61
  type OpenapiReturnType<OP> = OpenapiSuccessType<OpenapiResponseTypes<OP>>;
62
62
  type ArrayElement<T> = T extends (infer U)[] ? U : never;
63
63
 
@@ -1,4 +1,4 @@
1
- import { d as OpenapiPathType, b as OpenapiBodyType, c as OpenapiQueryType, a as OpenapiReturnType } from './types-C7mpAfq-.js';
1
+ import { d as OpenapiPathType, b as OpenapiBodyType, c as OpenapiQueryType, a as OpenapiReturnType } from './types-jKnx7Tm_.js';
2
2
 
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -1,4 +1,4 @@
1
- import { d as OpenapiPathType, c as OpenapiQueryType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-C7mpAfq-.js';
1
+ import { d as OpenapiPathType, c as OpenapiQueryType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-jKnx7Tm_.js';
2
2
 
3
3
  /**
4
4
  * This file was auto-generated by openapi-typescript.
@@ -178,6 +178,129 @@ type paths = {
178
178
  patch?: never;
179
179
  trace?: never;
180
180
  };
181
+ '/apps/{appId}/git-repo': {
182
+ parameters: {
183
+ query?: never;
184
+ header?: never;
185
+ path?: never;
186
+ cookie?: never;
187
+ };
188
+ /**
189
+ * Get details of the app's configured Git repository
190
+ * @description Returns details of the Git repository configured in the app's config
191
+ * (`parameters.dataApp.git`). For managed Git repositories both `sshUrl`
192
+ * and `httpsUrl` are returned, fetched from the upstream git-service. For
193
+ * externally configured repositories only the URL matching the configured
194
+ * protocol is returned and the other field is `null`; any embedded
195
+ * credentials are stripped.
196
+ */
197
+ get: operations['getAppGitRepo'];
198
+ put?: never;
199
+ post?: never;
200
+ delete?: never;
201
+ options?: never;
202
+ head?: never;
203
+ patch?: never;
204
+ trace?: never;
205
+ };
206
+ '/apps/{appId}/git-repo/branches': {
207
+ parameters: {
208
+ query?: never;
209
+ header?: never;
210
+ path?: never;
211
+ cookie?: never;
212
+ };
213
+ /**
214
+ * List branches of the app's configured Git repository
215
+ * @description Returns the remote branches of the Git repository configured in the app's
216
+ * config (`parameters.dataApp.git`). Works for any configured repository,
217
+ * not only managed Git repositories.
218
+ */
219
+ get: operations['listAppGitRepoBranches'];
220
+ put?: never;
221
+ post?: never;
222
+ delete?: never;
223
+ options?: never;
224
+ head?: never;
225
+ patch?: never;
226
+ trace?: never;
227
+ };
228
+ '/apps/{appId}/git-repo/entrypoints': {
229
+ parameters: {
230
+ query?: never;
231
+ header?: never;
232
+ path?: never;
233
+ cookie?: never;
234
+ };
235
+ /**
236
+ * List entrypoint files in the app's configured Git repository
237
+ * @description Returns the root-level entrypoint files of the Git repository configured
238
+ * in the app's config (`parameters.dataApp.git`). Uses the configured
239
+ * branch (or the repo's default branch if none is set). Works for any
240
+ * configured repository, not only managed Git repositories.
241
+ */
242
+ get: operations['listAppGitRepoEntrypoints'];
243
+ put?: never;
244
+ post?: never;
245
+ delete?: never;
246
+ options?: never;
247
+ head?: never;
248
+ patch?: never;
249
+ trace?: never;
250
+ };
251
+ '/apps/{appId}/git-repo/credentials': {
252
+ parameters: {
253
+ query?: never;
254
+ header?: never;
255
+ path?: never;
256
+ cookie?: never;
257
+ };
258
+ /**
259
+ * List credentials for managed Git repository
260
+ * @description Lists non-deleted credentials for the app's managed Git repository.
261
+ * Requires an admin storage API token.
262
+ */
263
+ get: operations['listAppGitRepoCredentials'];
264
+ put?: never;
265
+ /**
266
+ * Create credential for managed Git repository
267
+ * @description Creates a credential (SSH key or HTTP token) for the app's managed Git repository.
268
+ * For `http_token` credentials, the response includes a one-time `secret`
269
+ * that is not returned on subsequent reads. Requires an admin storage API token.
270
+ */
271
+ post: operations['createAppGitRepoCredential'];
272
+ delete?: never;
273
+ options?: never;
274
+ head?: never;
275
+ patch?: never;
276
+ trace?: never;
277
+ };
278
+ '/apps/{appId}/git-repo/credentials/{credentialId}': {
279
+ parameters: {
280
+ query?: never;
281
+ header?: never;
282
+ path?: never;
283
+ cookie?: never;
284
+ };
285
+ /**
286
+ * Get credential detail
287
+ * @description Returns details of a credential registered with the app's managed Git repository.
288
+ * The response never contains the one-time `secret` field. Requires an admin storage API token.
289
+ */
290
+ get: operations['getAppGitRepoCredential'];
291
+ put?: never;
292
+ post?: never;
293
+ /**
294
+ * Revoke and remove a credential
295
+ * @description Revokes a credential on git-service and soft-deletes the local row.
296
+ * Tolerates git-service 404 as already-removed. Requires an admin storage API token.
297
+ */
298
+ delete: operations['deleteAppGitRepoCredential'];
299
+ options?: never;
300
+ head?: never;
301
+ patch?: never;
302
+ trace?: never;
303
+ };
181
304
  '/apps/{appId}/logs/download': {
182
305
  parameters: {
183
306
  query?: never;
@@ -330,12 +453,14 @@ type paths = {
330
453
  type components = {
331
454
  schemas: {
332
455
  /**
333
- * @description Git repository request. Authentication is required - provide either SSH key or username/password credentials.
456
+ * @description Git repository request. Provide SSH key or username/password credentials for private repositories,
457
+ * or omit auth fields entirely to access a public HTTP(S) repository.
334
458
  * Sensitive fields (password, sshKey) are write-only and will not be returned in responses.
335
459
  */
336
460
  GitRequest:
337
461
  | components['schemas']['GitRequestWithSshKey']
338
- | components['schemas']['GitRequestWithUsernamePassword'];
462
+ | components['schemas']['GitRequestWithUsernamePassword']
463
+ | components['schemas']['GitRequestPublic'];
339
464
  /** @description Git request using SSH key authentication. */
340
465
  GitRequestWithSshKey: {
341
466
  /** @description Git repository URL (HTTP(S) or SSH format) */
@@ -362,6 +487,13 @@ type components = {
362
487
  */
363
488
  password: string;
364
489
  };
490
+ /** @description Git request for a public repository without authentication. */
491
+ GitRequestPublic: {
492
+ /** @description Public Git repository URL. Must be HTTP(S); SSH URLs require an SSH key and are not supported here. */
493
+ repository: string;
494
+ /** @description Optional branch name (default is main for entrypoints) */
495
+ branch?: string | null;
496
+ };
365
497
  GitRepositoryResponse: {
366
498
  repository: {
367
499
  /** @description Repository URL without credentials */
@@ -394,6 +526,38 @@ type components = {
394
526
  GitEntrypointsResponse: {
395
527
  entrypoints: string[];
396
528
  };
529
+ CreateCredentialRequest: {
530
+ /** @enum {string} */
531
+ type: 'ssh_key' | 'http_token';
532
+ /** @description SSH public key. Required iff `type` is `ssh_key`; forbidden otherwise. */
533
+ publicKey?: string;
534
+ /**
535
+ * @description Optional caller-supplied display label.
536
+ * @default
537
+ */
538
+ name: string;
539
+ /** @enum {string} */
540
+ permissions: 'readOnly' | 'readWrite';
541
+ };
542
+ Credential: {
543
+ /** Format: uuid */
544
+ id: string;
545
+ /** @enum {string} */
546
+ type: 'ssh_key' | 'http_token';
547
+ name: string;
548
+ /** @enum {string} */
549
+ permissions: 'readOnly' | 'readWrite';
550
+ ownerAdminId: string;
551
+ /** Format: date-time */
552
+ createdAt: string;
553
+ };
554
+ CreatedCredential: components['schemas']['Credential'] & {
555
+ /** @description One-time secret returned only at creation for `http_token` credentials. */
556
+ secret?: string;
557
+ };
558
+ CredentialList: {
559
+ credentials: components['schemas']['Credential'][];
560
+ };
397
561
  Runtime: {
398
562
  /** @description Human-readable description of the runtime */
399
563
  description: string;
@@ -445,6 +609,11 @@ type components = {
445
609
  | 'deleted';
446
610
  /** @enum {string} */
447
611
  desiredState: 'running' | 'stopped' | 'deleted';
612
+ /**
613
+ * @description Current run mode for the app. Can be changed via PATCH /apps/{appId}.
614
+ * @enum {string}
615
+ */
616
+ mode: 'prod' | 'dev';
448
617
  /** Format: date-time */
449
618
  lastRequestTimestamp: string | null;
450
619
  /** Format: date-time */
@@ -458,6 +627,8 @@ type components = {
458
627
  size?: string | null;
459
628
  /** @enum {string} */
460
629
  provisioningStrategy: 'jobQueue' | 'operator';
630
+ /** @description Whether the app has a managed Git repository provisioned by the service. Apps with a managed repository expose additional endpoints under `/apps/{appId}/git-repo/credentials`. */
631
+ hasManagedGitRepo?: boolean;
461
632
  };
462
633
  /** @description Response schema for sandbox endpoints (GET, POST, PATCH). */
463
634
  SandboxResponse: {
@@ -598,6 +769,19 @@ type components = {
598
769
  runtimeSize?: string | null;
599
770
  /** @description Configuration version used for this app run */
600
771
  configVersion?: string | null;
772
+ /** @description User-facing cause of a failed run. Set only when state is "failed". */
773
+ failureReason?: {
774
+ /** @description Short, stable, machine-readable identifier (UI i18n key) */
775
+ reason?: string | null;
776
+ /** @description Human-readable description of the failure */
777
+ message?: string | null;
778
+ } | null;
779
+ /**
780
+ * @description Run mode this app run was started with
781
+ * @default prod
782
+ * @enum {string}
783
+ */
784
+ mode: 'prod' | 'dev';
601
785
  };
602
786
  };
603
787
  responses: never;
@@ -792,6 +976,17 @@ type operations = {
792
976
  config?: {
793
977
  [key: string]: unknown;
794
978
  } | null;
979
+ /**
980
+ * @description If `true`, a managed Git repository is provisioned via the Git Service and linked to the app. Repo creation failure aborts app creation (best-effort rollback). The linked repo is deleted when the app is deleted.
981
+ * @default false
982
+ */
983
+ useManagedGitRepo?: boolean;
984
+ /**
985
+ * @description Initial run mode for the app. Defaults to `prod`. Can be changed later via PATCH /apps/{appId}.
986
+ * @default prod
987
+ * @enum {string}
988
+ */
989
+ mode?: 'prod' | 'dev';
795
990
  };
796
991
  };
797
992
  };
@@ -928,6 +1123,11 @@ type operations = {
928
1123
  configVersion?: string;
929
1124
  /** @description If set to `true`, latest package versions are installed during app startup, instead of using frozen versions. Valid only in combination with the `desiredState: "running", restartIfRunning: true`. */
930
1125
  updateDependencies?: boolean;
1126
+ /**
1127
+ * @description Sets the app's run mode. On a stopped app the mode is updated immediately with no transition. On any non-stopped app the request must also include `desiredState: "running"` and `restartIfRunning: true` so the running pod is restarted in the new mode. If omitted, the app's current mode is preserved.
1128
+ * @enum {string}
1129
+ */
1130
+ mode?: 'prod' | 'dev';
931
1131
  };
932
1132
  };
933
1133
  };
@@ -962,6 +1162,13 @@ type operations = {
962
1162
  };
963
1163
  content?: never;
964
1164
  };
1165
+ /** @description Conflict — the app is in a terminal state (`deleting`/`deleted`) and cannot be updated, or the requested state transition conflicts with the current state. */
1166
+ 409: {
1167
+ headers: {
1168
+ [name: string]: unknown;
1169
+ };
1170
+ content?: never;
1171
+ };
965
1172
  /** @description Unprocessable Entity */
966
1173
  422: {
967
1174
  headers: {
@@ -1172,6 +1379,363 @@ type operations = {
1172
1379
  };
1173
1380
  };
1174
1381
  };
1382
+ getAppGitRepo: {
1383
+ parameters: {
1384
+ query?: never;
1385
+ header?: never;
1386
+ path: {
1387
+ appId: string;
1388
+ };
1389
+ cookie?: never;
1390
+ };
1391
+ requestBody?: never;
1392
+ responses: {
1393
+ /** @description OK */
1394
+ 200: {
1395
+ headers: {
1396
+ [name: string]: unknown;
1397
+ };
1398
+ content: {
1399
+ 'application/json': {
1400
+ /** @description SSH clone URL. `null` for externally configured repositories that use HTTP(S). */
1401
+ sshUrl: string | null;
1402
+ /** @description HTTPS clone URL. `null` for externally configured repositories that use SSH. */
1403
+ httpsUrl: string | null;
1404
+ /** @description Whether the repository is a managed Git repository provisioned by the service. */
1405
+ isManagedGitRepo: boolean;
1406
+ };
1407
+ };
1408
+ };
1409
+ /** @description Unauthorized */
1410
+ 401: {
1411
+ headers: {
1412
+ [name: string]: unknown;
1413
+ };
1414
+ content?: never;
1415
+ };
1416
+ /** @description Forbidden */
1417
+ 403: {
1418
+ headers: {
1419
+ [name: string]: unknown;
1420
+ };
1421
+ content?: never;
1422
+ };
1423
+ /** @description Not Found */
1424
+ 404: {
1425
+ headers: {
1426
+ [name: string]: unknown;
1427
+ };
1428
+ content?: never;
1429
+ };
1430
+ /** @description App has no Git repository configured */
1431
+ 409: {
1432
+ headers: {
1433
+ [name: string]: unknown;
1434
+ };
1435
+ content?: never;
1436
+ };
1437
+ };
1438
+ };
1439
+ listAppGitRepoBranches: {
1440
+ parameters: {
1441
+ query?: never;
1442
+ header?: never;
1443
+ path: {
1444
+ appId: string;
1445
+ };
1446
+ cookie?: never;
1447
+ };
1448
+ requestBody?: never;
1449
+ responses: {
1450
+ /** @description OK */
1451
+ 200: {
1452
+ headers: {
1453
+ [name: string]: unknown;
1454
+ };
1455
+ content: {
1456
+ 'application/json': {
1457
+ branch: string;
1458
+ comment: string;
1459
+ sha: string;
1460
+ author: {
1461
+ name: string;
1462
+ email: string;
1463
+ };
1464
+ /** Format: date-time */
1465
+ date: string;
1466
+ }[];
1467
+ };
1468
+ };
1469
+ /** @description Unauthorized */
1470
+ 401: {
1471
+ headers: {
1472
+ [name: string]: unknown;
1473
+ };
1474
+ content?: never;
1475
+ };
1476
+ /** @description Forbidden */
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?: never;
1489
+ };
1490
+ /** @description App has no Git repository configured */
1491
+ 409: {
1492
+ headers: {
1493
+ [name: string]: unknown;
1494
+ };
1495
+ content?: never;
1496
+ };
1497
+ };
1498
+ };
1499
+ listAppGitRepoEntrypoints: {
1500
+ parameters: {
1501
+ query?: never;
1502
+ header?: never;
1503
+ path: {
1504
+ appId: string;
1505
+ };
1506
+ cookie?: never;
1507
+ };
1508
+ requestBody?: never;
1509
+ responses: {
1510
+ /** @description OK */
1511
+ 200: {
1512
+ headers: {
1513
+ [name: string]: unknown;
1514
+ };
1515
+ content: {
1516
+ 'application/json': string[];
1517
+ };
1518
+ };
1519
+ /** @description Unauthorized */
1520
+ 401: {
1521
+ headers: {
1522
+ [name: string]: unknown;
1523
+ };
1524
+ content?: never;
1525
+ };
1526
+ /** @description Forbidden */
1527
+ 403: {
1528
+ headers: {
1529
+ [name: string]: unknown;
1530
+ };
1531
+ content?: never;
1532
+ };
1533
+ /** @description Not Found */
1534
+ 404: {
1535
+ headers: {
1536
+ [name: string]: unknown;
1537
+ };
1538
+ content?: never;
1539
+ };
1540
+ /** @description App has no Git repository configured */
1541
+ 409: {
1542
+ headers: {
1543
+ [name: string]: unknown;
1544
+ };
1545
+ content?: never;
1546
+ };
1547
+ };
1548
+ };
1549
+ listAppGitRepoCredentials: {
1550
+ parameters: {
1551
+ query?: never;
1552
+ header?: never;
1553
+ path: {
1554
+ appId: string;
1555
+ };
1556
+ cookie?: never;
1557
+ };
1558
+ requestBody?: never;
1559
+ responses: {
1560
+ /** @description OK */
1561
+ 200: {
1562
+ headers: {
1563
+ [name: string]: unknown;
1564
+ };
1565
+ content: {
1566
+ 'application/json': components['schemas']['CredentialList'];
1567
+ };
1568
+ };
1569
+ /** @description Unauthorized */
1570
+ 401: {
1571
+ headers: {
1572
+ [name: string]: unknown;
1573
+ };
1574
+ content?: never;
1575
+ };
1576
+ /** @description Forbidden — token lacks admin context or CanManageApp fails */
1577
+ 403: {
1578
+ headers: {
1579
+ [name: string]: unknown;
1580
+ };
1581
+ content?: never;
1582
+ };
1583
+ /** @description App not found */
1584
+ 404: {
1585
+ headers: {
1586
+ [name: string]: unknown;
1587
+ };
1588
+ content?: never;
1589
+ };
1590
+ };
1591
+ };
1592
+ createAppGitRepoCredential: {
1593
+ parameters: {
1594
+ query?: never;
1595
+ header?: never;
1596
+ path: {
1597
+ appId: string;
1598
+ };
1599
+ cookie?: never;
1600
+ };
1601
+ requestBody: {
1602
+ content: {
1603
+ 'application/json': components['schemas']['CreateCredentialRequest'];
1604
+ };
1605
+ };
1606
+ responses: {
1607
+ /** @description Created */
1608
+ 201: {
1609
+ headers: {
1610
+ [name: string]: unknown;
1611
+ };
1612
+ content: {
1613
+ 'application/json': components['schemas']['CreatedCredential'];
1614
+ };
1615
+ };
1616
+ /** @description Bad Request — invalid payload (wrong type/publicKey combination, missing required fields) */
1617
+ 400: {
1618
+ headers: {
1619
+ [name: string]: unknown;
1620
+ };
1621
+ content?: never;
1622
+ };
1623
+ /** @description Unauthorized */
1624
+ 401: {
1625
+ headers: {
1626
+ [name: string]: unknown;
1627
+ };
1628
+ content?: never;
1629
+ };
1630
+ /** @description Forbidden — token lacks admin context or CanManageApp fails */
1631
+ 403: {
1632
+ headers: {
1633
+ [name: string]: unknown;
1634
+ };
1635
+ content?: never;
1636
+ };
1637
+ /** @description App not found */
1638
+ 404: {
1639
+ headers: {
1640
+ [name: string]: unknown;
1641
+ };
1642
+ content?: never;
1643
+ };
1644
+ /** @description App has no managed Git repository */
1645
+ 409: {
1646
+ headers: {
1647
+ [name: string]: unknown;
1648
+ };
1649
+ content?: never;
1650
+ };
1651
+ };
1652
+ };
1653
+ getAppGitRepoCredential: {
1654
+ parameters: {
1655
+ query?: never;
1656
+ header?: never;
1657
+ path: {
1658
+ appId: string;
1659
+ credentialId: string;
1660
+ };
1661
+ cookie?: never;
1662
+ };
1663
+ requestBody?: never;
1664
+ responses: {
1665
+ /** @description OK */
1666
+ 200: {
1667
+ headers: {
1668
+ [name: string]: unknown;
1669
+ };
1670
+ content: {
1671
+ 'application/json': components['schemas']['Credential'];
1672
+ };
1673
+ };
1674
+ /** @description Unauthorized */
1675
+ 401: {
1676
+ headers: {
1677
+ [name: string]: unknown;
1678
+ };
1679
+ content?: never;
1680
+ };
1681
+ /** @description Forbidden — token lacks admin context or CanManageApp fails */
1682
+ 403: {
1683
+ headers: {
1684
+ [name: string]: unknown;
1685
+ };
1686
+ content?: never;
1687
+ };
1688
+ /** @description App or credential not found */
1689
+ 404: {
1690
+ headers: {
1691
+ [name: string]: unknown;
1692
+ };
1693
+ content?: never;
1694
+ };
1695
+ };
1696
+ };
1697
+ deleteAppGitRepoCredential: {
1698
+ parameters: {
1699
+ query?: never;
1700
+ header?: never;
1701
+ path: {
1702
+ appId: string;
1703
+ credentialId: string;
1704
+ };
1705
+ cookie?: never;
1706
+ };
1707
+ requestBody?: never;
1708
+ responses: {
1709
+ /** @description No Content */
1710
+ 204: {
1711
+ headers: {
1712
+ [name: string]: unknown;
1713
+ };
1714
+ content?: never;
1715
+ };
1716
+ /** @description Unauthorized */
1717
+ 401: {
1718
+ headers: {
1719
+ [name: string]: unknown;
1720
+ };
1721
+ content?: never;
1722
+ };
1723
+ /** @description Forbidden — token lacks admin context or CanManageApp fails */
1724
+ 403: {
1725
+ headers: {
1726
+ [name: string]: unknown;
1727
+ };
1728
+ content?: never;
1729
+ };
1730
+ /** @description App or credential not found */
1731
+ 404: {
1732
+ headers: {
1733
+ [name: string]: unknown;
1734
+ };
1735
+ content?: never;
1736
+ };
1737
+ };
1738
+ };
1175
1739
  downloadAppLogs: {
1176
1740
  parameters: {
1177
1741
  query?: never;