@keboola/api-client 55.0.0 → 57.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.
- package/AGENTS.md +110 -229
- package/API-SURFACE.md +12 -2
- package/CHANGELOG.md +61 -0
- package/README.md +20 -133
- package/dist/{ManagementSessionMintError-Bc9bc7Ai.cjs → ManagementSessionMintError-BCOLLaJi.cjs} +3 -2
- package/dist/ManagementSessionMintError-BCOLLaJi.cjs.map +1 -0
- package/dist/{ManagementSessionMintError-BMHDcEqV.js → ManagementSessionMintError-KUX3utTV.js} +3 -2
- package/dist/ManagementSessionMintError-KUX3utTV.js.map +1 -0
- package/dist/{adminRoles-Cm513r1G.d.ts → adminRoles-CnfGDvjN.d.ts} +2 -2
- package/dist/{adminRoles-BTKVwEy8.d.cts → adminRoles-D6AS9Bzx.d.cts} +2 -2
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/apps/index.cjs +1 -1
- package/dist/apps/index.d.cts +2 -2
- package/dist/apps/index.d.ts +2 -2
- package/dist/apps/index.js +1 -1
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/{apps-C1x5IKNQ.cjs → apps-BA9JRLAZ.cjs} +55 -1
- package/dist/apps-BA9JRLAZ.cjs.map +1 -0
- package/dist/{apps-BN7fWtSm.js → apps-DDcguJ1i.js} +55 -1
- package/dist/apps-DDcguJ1i.js.map +1 -0
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/types.d.cts +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/{authClient-BM4L8XEN.js → authClient-BKGpJI5L.js} +14 -45
- package/dist/authClient-BKGpJI5L.js.map +1 -0
- package/dist/{authClient-DspK50e7.cjs → authClient-C3KG9hXw.cjs} +15 -58
- package/dist/authClient-C3KG9hXw.cjs.map +1 -0
- package/dist/{authClient-ij_Rm2Yn.d.ts → authClient-CbWpMmdX.d.ts} +7 -4
- package/dist/{authClient-NBi0pqD5.d.cts → authClient-UKeopxZZ.d.cts} +7 -4
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/types.d.cts +1 -1
- package/dist/billing/types.d.ts +1 -1
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/componentsMcp/index.d.cts +1 -1
- package/dist/componentsMcp/index.d.ts +1 -1
- package/dist/componentsMcp/types.d.cts +1 -1
- package/dist/componentsMcp/types.d.ts +1 -1
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +3 -3
- package/dist/constants/index.d.ts +3 -3
- package/dist/constants/index.js +2 -2
- package/dist/{constants-HccvU5kx.js → constants-CxEaHCyt.js} +4 -3
- package/dist/constants-CxEaHCyt.js.map +1 -0
- package/dist/{constants-V9hAyPTo.cjs → constants-fiyOLyZE.cjs} +4 -3
- package/dist/constants-fiyOLyZE.cjs.map +1 -0
- package/dist/dataScience/index.d.cts +3 -3
- package/dist/dataScience/index.d.ts +3 -3
- package/dist/dataScience/types.d.cts +1 -1
- package/dist/dataScience/types.d.ts +1 -1
- package/dist/developerPortal/index.cjs +1 -1
- package/dist/developerPortal/index.d.cts +3 -3
- package/dist/developerPortal/index.d.ts +3 -3
- package/dist/developerPortal/index.js +1 -1
- package/dist/developerPortal/types.d.cts +2 -2
- package/dist/developerPortal/types.d.ts +2 -2
- package/dist/{developerPortalClient-CzCJ5sE3.js → developerPortalClient-3Q7049-4.js} +19 -1
- package/dist/developerPortalClient-3Q7049-4.js.map +1 -0
- package/dist/{developerPortalClient-BcK9F-Fs.cjs → developerPortalClient-Cj9bStCS.cjs} +19 -1
- package/dist/developerPortalClient-Cj9bStCS.cjs.map +1 -0
- package/dist/domain/permissions/index.d.cts +1 -1
- package/dist/domain/permissions/index.d.ts +1 -1
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/{emitter-raKkIqRp.d.ts → emitter-yaYzJOdh.d.cts} +1 -2
- package/dist/{emitter-raKkIqRp.d.cts → emitter-yaYzJOdh.d.ts} +1 -2
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/{index-FrsEkDvX.d.cts → index-9p4O-clX.d.cts} +2035 -73
- package/dist/{index-FrsEkDvX.d.ts → index-9p4O-clX.d.ts} +2035 -73
- package/dist/{index-BGE3eZfd.d.cts → index-B-HCh7LL.d.cts} +3 -3
- package/dist/{index-D3hWR_e4.d.ts → index-B0e42GnK.d.cts} +4 -3
- package/dist/{index-DeWeUUfE.d.ts → index-BbXGsspe.d.ts} +4 -4
- package/dist/{index-CYk7Aa8u.d.cts → index-Bg9BWpIY.d.ts} +4 -3
- package/dist/{index-CmyFWQXn.d.cts → index-BgEu7wGk.d.cts} +2671 -7325
- package/dist/{index-B8K-Bbdq.d.cts → index-Btft3BFn.d.ts} +29 -3
- package/dist/{index-CNJBmCHM.d.cts → index-ByaAn_lm.d.cts} +4 -4
- package/dist/{index-DLWMm1-T.d.ts → index-C92Ct6K5.d.ts} +178 -4
- package/dist/{index-CEDjFidH.d.ts → index-CBq59Aif.d.ts} +3 -3
- package/dist/{index-CQNwp6wX.d.ts → index-CGUPsu_R.d.cts} +29 -3
- package/dist/{index-CZvBjQvl.d.ts → index-CIA6-x2Q.d.ts} +4 -4
- package/dist/{index-BVe4S2CK.d.ts → index-CeWVf3d1.d.ts} +4 -4
- package/dist/{index-CQPs3hrp.d.ts → index-Cj0l_DL_.d.ts} +2671 -7325
- package/dist/{index-BUZ-vTRt.d.ts → index-Ck0UPKMM.d.ts} +2 -2
- package/dist/{index-d9zxFmNI.d.cts → index-D0ACg_Pp.d.cts} +7 -4
- package/dist/{index-8QhOqFLY.d.cts → index-D8nMnVp1.d.cts} +4 -4
- package/dist/{index-24GpnYhn.d.cts → index-DENUPo51.d.cts} +2 -2
- package/dist/{index-iFCann29.d.cts → index-DGjxLWZ-.d.cts} +3 -3
- package/dist/{index-CdeWTy8t.d.ts → index-Dse6Psvc.d.ts} +7 -4
- package/dist/{index-DTGOEke4.d.ts → index-DxcaEIhU.d.ts} +3 -3
- package/dist/{index-BE6qM0vu.d.cts → index-OCEoQ1Y-.d.cts} +4 -4
- package/dist/{index-BXgjPlZN.d.cts → index-jR69kGUZ.d.cts} +178 -4
- package/dist/index.cjs +613 -865
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +611 -860
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +2 -2
- package/dist/kaiAgent/index.d.ts +2 -2
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +2 -2
- package/dist/kaiAgent/types.d.ts +2 -2
- package/dist/{kaiAgent-De2T6G4G.cjs → kaiAgent-Q00g6S1v.cjs} +16 -1
- package/dist/kaiAgent-Q00g6S1v.cjs.map +1 -0
- package/dist/{kaiAgent-D0MoKqXe.js → kaiAgent-aqylPZHY.js} +16 -1
- package/dist/kaiAgent-aqylPZHY.js.map +1 -0
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +1 -1
- package/dist/management/types.d.ts +1 -1
- package/dist/{management-BlMQnPNS.js → management-CIK5-Aq5.js} +14 -7
- package/dist/management-CIK5-Aq5.js.map +1 -0
- package/dist/{management-dIMrTTpI.cjs → management-Dqrc516s.cjs} +14 -7
- package/dist/management-Dqrc516s.cjs.map +1 -0
- package/dist/{metaObject-ClvW342q.d.ts → metaObject-AQ7wKDOu.d.ts} +2 -2
- package/dist/{metaObject-D7oudegV.d.cts → metaObject-I35_krxf.d.cts} +2 -2
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/microsoftGraph/index.d.cts +3 -3
- package/dist/microsoftGraph/index.d.ts +3 -3
- package/dist/microsoftGraph/types.d.cts +2 -2
- package/dist/microsoftGraph/types.d.ts +2 -2
- package/dist/{middleware-DxGv7DG8.js → middleware-DWmhthX0.js} +2 -2
- package/dist/middleware-DWmhthX0.js.map +1 -0
- package/dist/{middleware-vIaPDtQI.cjs → middleware-DYdDD4O6.cjs} +2 -2
- package/dist/middleware-DYdDD4O6.cjs.map +1 -0
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-DS0HOV3M.d.ts → project-DwRvx_zN.d.ts} +3 -3
- package/dist/{project-BGk9CtOq.d.cts → project-ERH0FTGW.d.cts} +3 -3
- package/dist/queryService/index.cjs +1 -1
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/index.js +1 -1
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/{queryService-C3BQ6GKW.cjs → queryService-CECWubS0.cjs} +2 -2
- package/dist/{queryService-C3BQ6GKW.cjs.map → queryService-CECWubS0.cjs.map} +1 -1
- package/dist/{queryService-DQHtHy2-.js → queryService-CIxb_mcP.js} +2 -2
- package/dist/{queryService-DQHtHy2-.js.map → queryService-CIxb_mcP.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +11 -4
- package/dist/queue/index.d.ts +11 -4
- package/dist/queue/index.js +1 -1
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/{queue-6cywDnA-.js → queue-BBihD5qQ.js} +2 -2
- package/dist/{queue-6cywDnA-.js.map → queue-BBihD5qQ.js.map} +1 -1
- package/dist/{queue-J2uXzXR9.cjs → queue-PmTfoniJ.cjs} +2 -2
- package/dist/{queue-J2uXzXR9.cjs.map → queue-PmTfoniJ.cjs.map} +1 -1
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/{schema-DLmBEgPM.d.cts → schema-CqzWi5cO.d.cts} +14 -4
- package/dist/{schema-DLmBEgPM.d.ts → schema-CqzWi5cO.d.ts} +14 -4
- package/dist/sdk/configurations/index.d.cts +2 -3
- package/dist/sdk/configurations/index.d.ts +2 -3
- package/dist/sdk/dataAppServer/index.cjs +3 -3
- package/dist/sdk/dataAppServer/index.d.cts +1 -1
- package/dist/sdk/dataAppServer/index.d.ts +1 -1
- package/dist/sdk/dataAppServer/index.js +3 -3
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.cjs.map +1 -1
- package/dist/sdk/developerPortal/index.d.cts +178 -4
- package/dist/sdk/developerPortal/index.d.ts +178 -4
- package/dist/sdk/developerPortal/index.js +3 -3
- package/dist/sdk/developerPortal/index.js.map +1 -1
- package/dist/sdk/kaiMemory/index.d.cts +1 -1
- package/dist/sdk/kaiMemory/index.d.ts +1 -1
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/securityPolicy/index.d.cts +2 -2
- package/dist/sdk/securityPolicy/index.d.ts +2 -2
- package/dist/sdk/securityPolicy/types.d.cts +1 -1
- package/dist/sdk/securityPolicy/types.d.ts +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +1 -1
- package/dist/sdk/semanticLayer/index.d.ts +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/tag/index.d.cts +3 -3
- package/dist/sdk/tag/index.d.ts +3 -3
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/storage/index.cjs +3 -3
- package/dist/storage/index.d.cts +2 -3
- package/dist/storage/index.d.ts +2 -3
- package/dist/storage/index.js +3 -3
- package/dist/storage/types.d.cts +6 -6
- package/dist/storage/types.d.ts +6 -6
- package/dist/{storage-BL-TfHp8.cjs → storage-chxoWtAL.cjs} +83 -42
- package/dist/storage-chxoWtAL.cjs.map +1 -0
- package/dist/{storage-DEJN8sw-.js → storage-o9teEKl_.js} +83 -42
- package/dist/storage-o9teEKl_.js.map +1 -0
- package/dist/{store-2OyH1XOP.cjs → store-7xlVu4qF.cjs} +3 -14
- package/dist/store-7xlVu4qF.cjs.map +1 -0
- package/dist/{store-HP0zRcLz.js → store-DDUzPeCm.js} +3 -14
- package/dist/store-DDUzPeCm.js.map +1 -0
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{transientRetries-BORv47mH.js → transientRetries-dssygpwU.js} +2 -2
- package/dist/{transientRetries-BORv47mH.js.map → transientRetries-dssygpwU.js.map} +1 -1
- package/dist/{transientRetries-CBorl4Ue.cjs → transientRetries-yVaQgKqP.cjs} +2 -2
- package/dist/{transientRetries-CBorl4Ue.cjs.map → transientRetries-yVaQgKqP.cjs.map} +1 -1
- package/dist/{types-BEw98Dd2.d.cts → types-B1kernzE.d.cts} +2 -2
- package/dist/{types-DjSjUKUl.d.ts → types-BBmS7-IS.d.ts} +151 -4
- package/dist/{types-DbthI3r-.d.ts → types-BJyWTgXX.d.ts} +2 -2
- package/dist/{types-DNwIMEuB.d.cts → types-BPNFTA63.d.cts} +21 -7
- package/dist/{types-Bv2Ds1hL.d.cts → types-BPSExpye.d.cts} +244 -4
- package/dist/{types-Dsf7CYmm.d.ts → types-BiXonOK6.d.ts} +2 -2
- package/dist/{types-BXKL0wTI.d.cts → types-BimRBONo.d.cts} +3 -3
- package/dist/{types-D2hhEGem.d.cts → types-BuEC58u3.d.cts} +2 -2
- package/dist/{types-dU3EA8gk.d.ts → types-BzHyi99r.d.cts} +5 -3
- package/dist/{types-J_dgwMjP.d.ts → types-C4T_2JdN.d.cts} +40 -27
- package/dist/{types-OHt0D_f2.d.ts → types-C53aKnWt.d.ts} +2 -2
- package/dist/{types-Do3__S4Q.d.cts → types-CEjgqmr2.d.cts} +2 -2
- package/dist/{types-CQYyULrw.d.ts → types-CGtpwTJk.d.ts} +2 -2
- package/dist/{types-D5bxXqEU.d.ts → types-CH1uguug.d.cts} +2 -163
- package/dist/{types-Tg3euEN_.d.ts → types-CP8-CssY.d.ts} +2 -2
- package/dist/{types-DX1Dz0xK.d.ts → types-CPQ6RkiZ.d.ts} +244 -4
- package/dist/{types-DSWIIMdv.d.ts → types-CPwofeyq.d.ts} +3 -3
- package/dist/{types-ChOJ-Az7.d.cts → types-CQAEOq-K.d.cts} +2 -2
- package/dist/{types-CKdNf_2k.d.cts → types-CVWoP_PC.d.cts} +3 -3
- package/dist/{types-B4ezB18r.d.cts → types-CbM2MApW.d.cts} +2 -2
- package/dist/{types-BD0B1KQ6.d.ts → types-CbOfT6lb.d.ts} +21 -7
- package/dist/{types-DMhgKHCP.d.cts → types-CcPpqVhm.d.cts} +2 -2
- package/dist/{types-d5Bt8Mr3.d.ts → types-CeqpzbBH.d.ts} +2 -2
- package/dist/{types-DU8aPTFW.d.cts → types-CjJYZaMO.d.cts} +2 -2
- package/dist/{types-B4Vwz45w.d.cts → types-CjP8RcFN.d.cts} +2 -2
- package/dist/{types-Rrcx-8LM.d.ts → types-CjfsPtwk.d.ts} +2 -2
- package/dist/{types-B6f6LpZ_.d.cts → types-CnSBLcZB.d.ts} +163 -3
- package/dist/{types-Bp8G9yta.d.ts → types-CsXLdnfV.d.ts} +2 -2
- package/dist/{types-Y4e8GGa3.d.cts → types-CzAh5-0z.d.cts} +2 -2
- package/dist/{types-BDgOF2WN.d.ts → types-D0F_c5KI.d.ts} +4 -4
- package/dist/{types-C5B3Pfob.d.cts → types-D3L3CqKl.d.cts} +151 -4
- package/dist/{types-CTYTMXXj.d.ts → types-D4oIei5M.d.cts} +163 -3
- package/dist/{types-CSE8bHiq.d.cts → types-D6ilG8sC.d.cts} +3 -3
- package/dist/{types-Cf0WE6qK.d.cts → types-DEGkXcw2.d.ts} +5 -3
- package/dist/{types-BynQKst1.d.cts → types-DEhAcO1Z.d.cts} +2 -2
- package/dist/{types-DCARsJWs.d.cts → types-DaIfg9Mb.d.cts} +4 -4
- package/dist/{types-p_lWvuQJ.d.ts → types-DhofEmWy.d.ts} +2 -2
- package/dist/{types-zlYUn0oi.d.ts → types-Dp61pYgP.d.ts} +3 -3
- package/dist/{types-CRC4lbPw.d.cts → types-Dteot3tT.d.ts} +757 -112
- package/dist/{types-DoSZQ1Bi.d.ts → types-K-JISUUI.d.cts} +757 -112
- package/dist/{types-Bwvss_gW.d.cts → types-TywAc1ow.d.ts} +40 -27
- package/dist/{types-B6JcEPEu.d.ts → types-UBpth6_9.d.ts} +2 -2
- package/dist/{types-DKKHKj19.d.cts → types-Vw-tduOH.d.ts} +2 -163
- package/dist/{types-CIlBSV99.d.cts → types-ZyLTqgpa.d.cts} +2 -2
- package/dist/{types-D-ufoskb.d.cts → types-aylD1zQz.d.cts} +17 -2
- package/dist/{types-BVJmcoqA.d.cts → types-fYY4q7dC.d.cts} +2 -2
- package/dist/{types-DK1bSUNr.d.ts → types-jYn3e3Du.d.ts} +3 -3
- package/dist/{types-CepTvkfm.d.ts → types-qXqJRPHj.d.ts} +2 -2
- package/dist/{types-kGZQQcIK.d.ts → types-r-Qa3y8e.d.ts} +2 -2
- package/dist/{types-Cr6WA6CN.d.ts → types-z82j5aNW.d.ts} +17 -2
- package/dist/validateConnectionStatus-DgJwuEy9.js +86 -0
- package/dist/validateConnectionStatus-DgJwuEy9.js.map +1 -0
- package/dist/validateConnectionStatus-DpYRsU-e.cjs +121 -0
- package/dist/validateConnectionStatus-DpYRsU-e.cjs.map +1 -0
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +2 -2
- package/surface/apps.md +8 -3
- package/surface/auth.md +3 -2
- package/surface/chat.md +3 -3
- package/surface/dataScience.md +2 -2
- package/surface/kaiAgent.md +4 -3
- package/surface/management.md +4 -4
- package/surface/queue.md +7 -7
- package/surface/storage.md +32 -26
- package/dist/ManagementSessionMintError-BMHDcEqV.js.map +0 -1
- package/dist/ManagementSessionMintError-Bc9bc7Ai.cjs.map +0 -1
- package/dist/apps-BN7fWtSm.js.map +0 -1
- package/dist/apps-C1x5IKNQ.cjs.map +0 -1
- package/dist/authClient-BM4L8XEN.js.map +0 -1
- package/dist/authClient-DspK50e7.cjs.map +0 -1
- package/dist/constants-HccvU5kx.js.map +0 -1
- package/dist/constants-V9hAyPTo.cjs.map +0 -1
- package/dist/developerPortalClient-BcK9F-Fs.cjs.map +0 -1
- package/dist/developerPortalClient-CzCJ5sE3.js.map +0 -1
- package/dist/index-BGsP2QBc.d.ts +0 -10
- package/dist/index-CWowDl63.d.cts +0 -10
- package/dist/kaiAgent-D0MoKqXe.js.map +0 -1
- package/dist/kaiAgent-De2T6G4G.cjs.map +0 -1
- package/dist/management-BlMQnPNS.js.map +0 -1
- package/dist/management-dIMrTTpI.cjs.map +0 -1
- package/dist/middleware-DxGv7DG8.js.map +0 -1
- package/dist/middleware-vIaPDtQI.cjs.map +0 -1
- package/dist/storage-BL-TfHp8.cjs.map +0 -1
- package/dist/storage-DEJN8sw-.js.map +0 -1
- package/dist/store-2OyH1XOP.cjs.map +0 -1
- package/dist/store-HP0zRcLz.js.map +0 -1
- package/dist/validateConnectionStatus-DV00sDmu.js +0 -34
- package/dist/validateConnectionStatus-DV00sDmu.js.map +0 -1
- package/dist/validateConnectionStatus-ckaHcRx8.cjs +0 -51
- package/dist/validateConnectionStatus-ckaHcRx8.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-9p4O-clX.js";
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by openapi-typescript.
|
|
4
4
|
* Do not make direct changes to the file.
|
|
@@ -149,37 +149,6 @@ type paths = {
|
|
|
149
149
|
patch?: never;
|
|
150
150
|
trace?: never;
|
|
151
151
|
};
|
|
152
|
-
'/apps/{appId}/activity': {
|
|
153
|
-
parameters: {
|
|
154
|
-
query?: never;
|
|
155
|
-
header?: never;
|
|
156
|
-
path?: never;
|
|
157
|
-
cookie?: never;
|
|
158
|
-
};
|
|
159
|
-
get?: never;
|
|
160
|
-
put?: never;
|
|
161
|
-
/**
|
|
162
|
-
* Record app activity
|
|
163
|
-
* @description Records the timestamp of the app's most recent request — the heartbeat that drives
|
|
164
|
-
* idle auto-suspend. Caller-supplied rather than server-stamped, so a caller can batch
|
|
165
|
-
* several observed requests into one call and report the actual last-seen time instead
|
|
166
|
-
* of the time of the call itself.
|
|
167
|
-
*
|
|
168
|
-
* Callable only by apps-proxy: requires a Manage API application token with the
|
|
169
|
-
* `apps:proxy` scope (or an equivalent ServiceAccount token). A Storage API token is
|
|
170
|
-
* not accepted here, unlike `PATCH /apps/{appId}`.
|
|
171
|
-
*
|
|
172
|
-
* Monotonic: a timestamp older than the one already stored is ignored rather than applied,
|
|
173
|
-
* so an out-of-order or retried call can never move the heartbeat backwards and make an
|
|
174
|
-
* active app read as idle sooner than it really is.
|
|
175
|
-
*/
|
|
176
|
-
post: operations['recordAppActivity'];
|
|
177
|
-
delete?: never;
|
|
178
|
-
options?: never;
|
|
179
|
-
head?: never;
|
|
180
|
-
patch?: never;
|
|
181
|
-
trace?: never;
|
|
182
|
-
};
|
|
183
152
|
'/apps/{appId}/password': {
|
|
184
153
|
parameters: {
|
|
185
154
|
query?: never;
|
|
@@ -298,6 +267,8 @@ type paths = {
|
|
|
298
267
|
* or a specific past version via `configVersion`. `promote: true` by default —
|
|
299
268
|
* deploying also promotes to production unless explicitly disabled, in which case
|
|
300
269
|
* the deployment is staged for a later promotion and never runs in the meantime.
|
|
270
|
+
* A promoted deployment of a git-backed app runs the branch HEAD: it drops the commit
|
|
271
|
+
* the app had pinned on its earlier runs.
|
|
301
272
|
*
|
|
302
273
|
* An app keeps at most 4 live deployments: the production one(s) and the newest others.
|
|
303
274
|
* Creating a deployment archives every older one beyond that, exactly as if it were
|
|
@@ -460,6 +431,104 @@ type paths = {
|
|
|
460
431
|
patch?: never;
|
|
461
432
|
trace?: never;
|
|
462
433
|
};
|
|
434
|
+
'/apps/{appId}/drafts': {
|
|
435
|
+
parameters: {
|
|
436
|
+
query?: never;
|
|
437
|
+
header?: never;
|
|
438
|
+
path?: never;
|
|
439
|
+
cookie?: never;
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* List drafts
|
|
443
|
+
* @description The app's live drafts, newest first. A draft is not listed once it is deleted, nor
|
|
444
|
+
* once the platform has removed its workload — the two are the same end for a draft.
|
|
445
|
+
*/
|
|
446
|
+
get: operations['listDrafts'];
|
|
447
|
+
put?: never;
|
|
448
|
+
/**
|
|
449
|
+
* Create draft
|
|
450
|
+
* @description Creates a draft and starts it. The draft gets its own hostname, so it is reachable
|
|
451
|
+
* independently of production and never takes production traffic.
|
|
452
|
+
*
|
|
453
|
+
* `gitBranch` names the branch the draft syncs. It must already exist: a draft never
|
|
454
|
+
* creates a branch, so a name that matches none is an error rather than a new branch,
|
|
455
|
+
* and a typo cannot silently hand you an empty draft.
|
|
456
|
+
*
|
|
457
|
+
* The branch is used as it is and shared with anything else using it, so pushing to it
|
|
458
|
+
* reaches the draft. Several drafts may deliberately sit on one branch.
|
|
459
|
+
*
|
|
460
|
+
* Because nothing is ever written to the repository, this works with whatever repository
|
|
461
|
+
* the app is configured with, including one outside the platform.
|
|
462
|
+
*
|
|
463
|
+
* Not idempotent, and the duplicate is not harmless: every call mints a new draft and
|
|
464
|
+
* starts it, so retrying a request that timed out leaves two running workloads on two
|
|
465
|
+
* hostnames, both consuming resources. They differ only by id. Delete the one you do not
|
|
466
|
+
* want. Several drafts may deliberately share a branch, so nothing rejects the second one.
|
|
467
|
+
*/
|
|
468
|
+
post: operations['createDraft'];
|
|
469
|
+
delete?: never;
|
|
470
|
+
options?: never;
|
|
471
|
+
head?: never;
|
|
472
|
+
patch?: never;
|
|
473
|
+
trace?: never;
|
|
474
|
+
};
|
|
475
|
+
'/apps/{appId}/drafts/{draftId}': {
|
|
476
|
+
parameters: {
|
|
477
|
+
query?: never;
|
|
478
|
+
header?: never;
|
|
479
|
+
path?: never;
|
|
480
|
+
cookie?: never;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Get draft detail
|
|
484
|
+
* @description One draft, in exactly the shape `GET /apps/{appId}/drafts` returns for it, so a client
|
|
485
|
+
* never has to tell the two apart.
|
|
486
|
+
*
|
|
487
|
+
* A draft that belongs to a different app is `404` here, not an error saying it is
|
|
488
|
+
* someone else's — a reply that distinguished the two would confirm the id exists.
|
|
489
|
+
*/
|
|
490
|
+
get: operations['getDraft'];
|
|
491
|
+
put?: never;
|
|
492
|
+
post?: never;
|
|
493
|
+
/**
|
|
494
|
+
* Delete draft
|
|
495
|
+
* @description Stops and removes the draft's workload. The branch itself is untouched — deleting a
|
|
496
|
+
* draft never changes the Git repository.
|
|
497
|
+
*
|
|
498
|
+
* The draft stops being listed and can no longer be addressed, so deleting the same
|
|
499
|
+
* draft twice returns `404` the second time.
|
|
500
|
+
*/
|
|
501
|
+
delete: operations['deleteDraft'];
|
|
502
|
+
options?: never;
|
|
503
|
+
head?: never;
|
|
504
|
+
patch?: never;
|
|
505
|
+
trace?: never;
|
|
506
|
+
};
|
|
507
|
+
'/apps/{appId}/drafts/{draftId}/preview-link': {
|
|
508
|
+
parameters: {
|
|
509
|
+
query?: never;
|
|
510
|
+
header?: never;
|
|
511
|
+
path?: never;
|
|
512
|
+
cookie?: never;
|
|
513
|
+
};
|
|
514
|
+
get?: never;
|
|
515
|
+
put?: never;
|
|
516
|
+
/**
|
|
517
|
+
* Create draft preview link
|
|
518
|
+
* @description Mints a short-lived link that opens the draft in a browser without the app's own
|
|
519
|
+
* authentication. The link points at the draft's own `url`, never at the app's
|
|
520
|
+
* production URL, and works only there. The token is in the URL fragment and is valid
|
|
521
|
+
* for 60 seconds; opening the link starts a preview session on the draft host.
|
|
522
|
+
*
|
|
523
|
+
* Works for a draft of any app, whatever the app's own mode.
|
|
524
|
+
*/
|
|
525
|
+
post: operations['createDraftPreviewLink'];
|
|
526
|
+
delete?: never;
|
|
527
|
+
options?: never;
|
|
528
|
+
head?: never;
|
|
529
|
+
patch?: never;
|
|
530
|
+
trace?: never;
|
|
531
|
+
};
|
|
463
532
|
'/apps/{appId}/git-repo': {
|
|
464
533
|
parameters: {
|
|
465
534
|
query?: never;
|
|
@@ -535,6 +604,61 @@ type paths = {
|
|
|
535
604
|
patch?: never;
|
|
536
605
|
trace?: never;
|
|
537
606
|
};
|
|
607
|
+
'/apps/{appId}/git-repo/tree': {
|
|
608
|
+
parameters: {
|
|
609
|
+
query?: never;
|
|
610
|
+
header?: never;
|
|
611
|
+
path?: never;
|
|
612
|
+
cookie?: never;
|
|
613
|
+
};
|
|
614
|
+
/**
|
|
615
|
+
* List a directory of the app's Git repository
|
|
616
|
+
* @description Lists one level of a directory of the app's Git repository (no recursion): directories
|
|
617
|
+
* first, then by name, at most 1000 entries (`truncated` is `true` when the listing was cut).
|
|
618
|
+
* `size` is the byte size of regular files and `null` for directories, symlinks and
|
|
619
|
+
* submodules. The repository is resolved as for `listAppGitRepoBranches`; credentials are
|
|
620
|
+
* never accepted in the request. `commit` is the commit the listing was read from - send it
|
|
621
|
+
* back as `ref` to keep reading the same snapshot.
|
|
622
|
+
*
|
|
623
|
+
* Requires a master (admin) token of a project member whose role is not `readOnly`.
|
|
624
|
+
*/
|
|
625
|
+
get: operations['getAppGitRepoTree'];
|
|
626
|
+
put?: never;
|
|
627
|
+
post?: never;
|
|
628
|
+
delete?: never;
|
|
629
|
+
options?: never;
|
|
630
|
+
head?: never;
|
|
631
|
+
patch?: never;
|
|
632
|
+
trace?: never;
|
|
633
|
+
};
|
|
634
|
+
'/apps/{appId}/git-repo/file': {
|
|
635
|
+
parameters: {
|
|
636
|
+
query?: never;
|
|
637
|
+
header?: never;
|
|
638
|
+
path?: never;
|
|
639
|
+
cookie?: never;
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* Read a file from the app's Git repository
|
|
643
|
+
* @description Returns the content of one regular file of the app's Git repository, at most 1 MiB
|
|
644
|
+
* (1048576 bytes). The content is returned as text (`encoding: utf-8`) when the bytes are
|
|
645
|
+
* valid UTF-8 with no NUL byte in the first 8000 bytes, otherwise base64-encoded
|
|
646
|
+
* (`encoding: base64`). Directories, symlinks and submodules are refused. The repository is
|
|
647
|
+
* resolved as for `listAppGitRepoBranches`; credentials are never accepted in the request.
|
|
648
|
+
* `commit` is the commit the file was read from - send it back as `ref` to keep reading the
|
|
649
|
+
* same snapshot.
|
|
650
|
+
*
|
|
651
|
+
* Requires a master (admin) token of a project member whose role is not `readOnly`.
|
|
652
|
+
*/
|
|
653
|
+
get: operations['getAppGitRepoFile'];
|
|
654
|
+
put?: never;
|
|
655
|
+
post?: never;
|
|
656
|
+
delete?: never;
|
|
657
|
+
options?: never;
|
|
658
|
+
head?: never;
|
|
659
|
+
patch?: never;
|
|
660
|
+
trace?: never;
|
|
661
|
+
};
|
|
538
662
|
'/apps/{appId}/git-repo/credentials': {
|
|
539
663
|
parameters: {
|
|
540
664
|
query?: never;
|
|
@@ -782,6 +906,48 @@ type components = {
|
|
|
782
906
|
/** @description Pins this deployment to a specific Storage config version instead of whatever is newest at the moment of the request. Omit to deploy the latest version. */
|
|
783
907
|
configVersion?: string | null;
|
|
784
908
|
};
|
|
909
|
+
Draft: {
|
|
910
|
+
/**
|
|
911
|
+
* Format: uuid
|
|
912
|
+
* @description Draft id, assigned when the draft is created.
|
|
913
|
+
*/
|
|
914
|
+
id: string;
|
|
915
|
+
/**
|
|
916
|
+
* @description The draft's own public URL — its own hostname, separate from the app's production URL. `null` until the draft's workload has come far enough up for the platform to assign one, which is always the case in the response to `POST .../drafts`.
|
|
917
|
+
* Observed, like `runState`: it appears a moment after the platform assigns it. Once set it stays set — a draft that has suspended itself still answers on it, and the request is what wakes the draft back up.
|
|
918
|
+
*/
|
|
919
|
+
url: string | null;
|
|
920
|
+
/** @description The branch of the app's Git repository this draft syncs. Push to it and the draft picks the change up without a redeploy. This is a Git branch, unrelated to the Keboola branch the app lives in. */
|
|
921
|
+
gitBranch: string;
|
|
922
|
+
/**
|
|
923
|
+
* @description Whether this draft currently has a live, healthy workload.
|
|
924
|
+
*
|
|
925
|
+
* | Value | Meaning |
|
|
926
|
+
* |---|---|
|
|
927
|
+
* | `neverRun` | Created, and nothing has observed it starting yet. |
|
|
928
|
+
* | `pending` | Requested but not yet executing (pulling an image, scheduling). |
|
|
929
|
+
* | `starting` | Executing but not ready yet. |
|
|
930
|
+
* | `running` | Up and healthy. |
|
|
931
|
+
* | `stopping` / `stopped` | Shutting down, or stopped after running. A draft suspends itself after about 15 minutes idle, so `stopped` is its normal resting state between sessions. |
|
|
932
|
+
* | `failed` | Crashed, failed to start, or hit a terminal error. |
|
|
933
|
+
*
|
|
934
|
+
* The value is observed, so it lags the workload by the time it takes the
|
|
935
|
+
* platform to report a change. The response to `POST /apps/{appId}/drafts` is
|
|
936
|
+
* always `neverRun`, because the draft has only just been asked for.
|
|
937
|
+
* @enum {string}
|
|
938
|
+
*/
|
|
939
|
+
runState: 'neverRun' | 'pending' | 'starting' | 'running' | 'stopping' | 'stopped' | 'failed';
|
|
940
|
+
/**
|
|
941
|
+
* Format: date-time
|
|
942
|
+
* @description When the draft was created.
|
|
943
|
+
*/
|
|
944
|
+
createdAt: string;
|
|
945
|
+
};
|
|
946
|
+
/** @description Which branch of the app's Git repository the draft syncs. */
|
|
947
|
+
DraftCreateRequest: {
|
|
948
|
+
/** @description A branch of the app's Git repository that already exists, which this draft syncs as-is. This names the draft's branch; it is not a point to start a new one at, and nothing is cut. */
|
|
949
|
+
gitBranch: string;
|
|
950
|
+
};
|
|
785
951
|
CreateCredentialRequest: {
|
|
786
952
|
/** @enum {string} */
|
|
787
953
|
type: 'ssh_key' | 'http_token';
|
|
@@ -854,6 +1020,75 @@ type components = {
|
|
|
854
1020
|
*/
|
|
855
1021
|
truncated: boolean;
|
|
856
1022
|
};
|
|
1023
|
+
GitTree: {
|
|
1024
|
+
/**
|
|
1025
|
+
* @description The ref the listing was made at (requested, configured or default branch).
|
|
1026
|
+
* @example main
|
|
1027
|
+
*/
|
|
1028
|
+
ref: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* @description Full SHA of the commit the listing was read from (the ref resolved; an annotated tag peeled to its commit).
|
|
1031
|
+
* @example 3f46562c1b08c6ee1f6bc64428daf4f26dc9ba70
|
|
1032
|
+
*/
|
|
1033
|
+
commit: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* @description The listed directory, normalized (`""` is the repository root).
|
|
1036
|
+
* @example src
|
|
1037
|
+
*/
|
|
1038
|
+
path: string;
|
|
1039
|
+
entries: components['schemas']['GitTreeEntry'][];
|
|
1040
|
+
/**
|
|
1041
|
+
* @description `true` when the listing was cut at 1000 entries.
|
|
1042
|
+
* @example false
|
|
1043
|
+
*/
|
|
1044
|
+
truncated: boolean;
|
|
1045
|
+
};
|
|
1046
|
+
GitTreeEntry: {
|
|
1047
|
+
/** @example app.py */
|
|
1048
|
+
name: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* @description Path relative to the repository root.
|
|
1051
|
+
* @example src/app.py
|
|
1052
|
+
*/
|
|
1053
|
+
path: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* @example file
|
|
1056
|
+
* @enum {string}
|
|
1057
|
+
*/
|
|
1058
|
+
type: 'file' | 'dir' | 'symlink' | 'submodule';
|
|
1059
|
+
/**
|
|
1060
|
+
* @description Byte size of regular files, `null` otherwise.
|
|
1061
|
+
* @example 120
|
|
1062
|
+
*/
|
|
1063
|
+
size: number | null;
|
|
1064
|
+
};
|
|
1065
|
+
GitFile: {
|
|
1066
|
+
/**
|
|
1067
|
+
* @description The ref the file was read at (requested, configured or default branch).
|
|
1068
|
+
* @example main
|
|
1069
|
+
*/
|
|
1070
|
+
ref: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* @description Full SHA of the commit the file was read from (the ref resolved; an annotated tag peeled to its commit).
|
|
1073
|
+
* @example 3f46562c1b08c6ee1f6bc64428daf4f26dc9ba70
|
|
1074
|
+
*/
|
|
1075
|
+
commit: string;
|
|
1076
|
+
/** @example src/app.py */
|
|
1077
|
+
path: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* @description Byte size of the file.
|
|
1080
|
+
* @example 9
|
|
1081
|
+
*/
|
|
1082
|
+
size: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* @description `utf-8` when the bytes are valid UTF-8 with no NUL in the first 8000 bytes, otherwise `base64`.
|
|
1085
|
+
* @example utf-8
|
|
1086
|
+
* @enum {string}
|
|
1087
|
+
*/
|
|
1088
|
+
encoding: 'utf-8' | 'base64';
|
|
1089
|
+
/** @example print(1) */
|
|
1090
|
+
content: string;
|
|
1091
|
+
};
|
|
857
1092
|
};
|
|
858
1093
|
responses: never;
|
|
859
1094
|
parameters: never;
|
|
@@ -939,6 +1174,13 @@ interface operations {
|
|
|
939
1174
|
'application/json': components['schemas']['App'];
|
|
940
1175
|
};
|
|
941
1176
|
};
|
|
1177
|
+
/** @description Forbidden — the token is not allowed to create apps in the project. */
|
|
1178
|
+
403: {
|
|
1179
|
+
headers: {
|
|
1180
|
+
[name: string]: unknown;
|
|
1181
|
+
};
|
|
1182
|
+
content?: never;
|
|
1183
|
+
};
|
|
942
1184
|
/** @description Unprocessable Entity */
|
|
943
1185
|
422: {
|
|
944
1186
|
headers: {
|
|
@@ -1171,63 +1413,6 @@ interface operations {
|
|
|
1171
1413
|
};
|
|
1172
1414
|
};
|
|
1173
1415
|
};
|
|
1174
|
-
recordAppActivity: {
|
|
1175
|
-
parameters: {
|
|
1176
|
-
query?: never;
|
|
1177
|
-
header?: never;
|
|
1178
|
-
path: {
|
|
1179
|
-
appId: string;
|
|
1180
|
-
};
|
|
1181
|
-
cookie?: never;
|
|
1182
|
-
};
|
|
1183
|
-
requestBody: {
|
|
1184
|
-
content: {
|
|
1185
|
-
'application/json': {
|
|
1186
|
-
/** Format: date-time */
|
|
1187
|
-
lastRequestTimestamp: string;
|
|
1188
|
-
};
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
1191
|
-
responses: {
|
|
1192
|
-
/** @description No Content — recorded */
|
|
1193
|
-
204: {
|
|
1194
|
-
headers: {
|
|
1195
|
-
[name: string]: unknown;
|
|
1196
|
-
};
|
|
1197
|
-
content?: never;
|
|
1198
|
-
};
|
|
1199
|
-
/** @description Unauthorized */
|
|
1200
|
-
401: {
|
|
1201
|
-
headers: {
|
|
1202
|
-
[name: string]: unknown;
|
|
1203
|
-
};
|
|
1204
|
-
content?: never;
|
|
1205
|
-
};
|
|
1206
|
-
/** @description Forbidden — the token is valid but lacks the `apps:proxy` scope. A Storage API token is rejected here whatever its project, unlike every other endpoint on this app. */
|
|
1207
|
-
403: {
|
|
1208
|
-
headers: {
|
|
1209
|
-
[name: string]: unknown;
|
|
1210
|
-
};
|
|
1211
|
-
content?: never;
|
|
1212
|
-
};
|
|
1213
|
-
/** @description Not Found */
|
|
1214
|
-
404: {
|
|
1215
|
-
headers: {
|
|
1216
|
-
[name: string]: unknown;
|
|
1217
|
-
};
|
|
1218
|
-
content?: never;
|
|
1219
|
-
};
|
|
1220
|
-
/** @description Unprocessable Entity — missing or malformed `lastRequestTimestamp` */
|
|
1221
|
-
422: {
|
|
1222
|
-
headers: {
|
|
1223
|
-
[name: string]: unknown;
|
|
1224
|
-
};
|
|
1225
|
-
content: {
|
|
1226
|
-
'application/json': components['schemas']['ErrorResponse'];
|
|
1227
|
-
};
|
|
1228
|
-
};
|
|
1229
|
-
};
|
|
1230
|
-
};
|
|
1231
1416
|
getAppPassword: {
|
|
1232
1417
|
parameters: {
|
|
1233
1418
|
query?: never;
|
|
@@ -1472,7 +1657,7 @@ interface operations {
|
|
|
1472
1657
|
'application/json': components['schemas']['Deployment'];
|
|
1473
1658
|
};
|
|
1474
1659
|
};
|
|
1475
|
-
/** @description Bad Request — the app belongs to a different project than the token's,
|
|
1660
|
+
/** @description Bad Request — the app belongs to a different project than the token's, `configVersion` names a version that does not exist for this app's config, or the configuration at that version is invalid. Nothing is created in any of these cases. */
|
|
1476
1661
|
400: {
|
|
1477
1662
|
headers: {
|
|
1478
1663
|
[name: string]: unknown;
|
|
@@ -1810,9 +1995,12 @@ interface operations {
|
|
|
1810
1995
|
};
|
|
1811
1996
|
};
|
|
1812
1997
|
};
|
|
1813
|
-
|
|
1998
|
+
listDrafts: {
|
|
1814
1999
|
parameters: {
|
|
1815
|
-
query?:
|
|
2000
|
+
query?: {
|
|
2001
|
+
offset?: number;
|
|
2002
|
+
limit?: number;
|
|
2003
|
+
};
|
|
1816
2004
|
header?: never;
|
|
1817
2005
|
path: {
|
|
1818
2006
|
appId: string;
|
|
@@ -1827,18 +2015,11 @@ interface operations {
|
|
|
1827
2015
|
[name: string]: unknown;
|
|
1828
2016
|
};
|
|
1829
2017
|
content: {
|
|
1830
|
-
'application/json':
|
|
1831
|
-
/** @description SSH clone URL. `null` for a repository configured over HTTP(S). */
|
|
1832
|
-
sshUrl: string | null;
|
|
1833
|
-
/** @description HTTPS clone URL. `null` for a repository configured over SSH. */
|
|
1834
|
-
httpsUrl: string | null;
|
|
1835
|
-
/** @description Whether the repository is a managed Git repository provisioned by the service. */
|
|
1836
|
-
isManagedGitRepo: boolean;
|
|
1837
|
-
};
|
|
2018
|
+
'application/json': components['schemas']['Draft'][];
|
|
1838
2019
|
};
|
|
1839
2020
|
};
|
|
1840
|
-
/** @description
|
|
1841
|
-
|
|
2021
|
+
/** @description Bad Request — the app belongs to a different project than the token's, or `offset` or `limit` is not valid. */
|
|
2022
|
+
400: {
|
|
1842
2023
|
headers: {
|
|
1843
2024
|
[name: string]: unknown;
|
|
1844
2025
|
};
|
|
@@ -1851,16 +2032,258 @@ interface operations {
|
|
|
1851
2032
|
};
|
|
1852
2033
|
content?: never;
|
|
1853
2034
|
};
|
|
1854
|
-
/** @description Conflict — the app has no Git repository configured. */
|
|
1855
|
-
409: {
|
|
1856
|
-
headers: {
|
|
1857
|
-
[name: string]: unknown;
|
|
1858
|
-
};
|
|
1859
|
-
content?: never;
|
|
1860
|
-
};
|
|
1861
2035
|
};
|
|
1862
2036
|
};
|
|
1863
|
-
|
|
2037
|
+
createDraft: {
|
|
2038
|
+
parameters: {
|
|
2039
|
+
query?: never;
|
|
2040
|
+
header?: never;
|
|
2041
|
+
path: {
|
|
2042
|
+
appId: string;
|
|
2043
|
+
};
|
|
2044
|
+
cookie?: never;
|
|
2045
|
+
};
|
|
2046
|
+
requestBody: {
|
|
2047
|
+
content: {
|
|
2048
|
+
'application/json': components['schemas']['DraftCreateRequest'];
|
|
2049
|
+
};
|
|
2050
|
+
};
|
|
2051
|
+
responses: {
|
|
2052
|
+
/** @description Created — the draft exists and its workload is starting. `url` is `null` in this response: the hostname is assigned while the workload comes up, so read it from `GET /apps/{appId}/drafts` once the draft is running. */
|
|
2053
|
+
201: {
|
|
2054
|
+
headers: {
|
|
2055
|
+
[name: string]: unknown;
|
|
2056
|
+
};
|
|
2057
|
+
content: {
|
|
2058
|
+
'application/json': components['schemas']['Draft'];
|
|
2059
|
+
};
|
|
2060
|
+
};
|
|
2061
|
+
/** @description Bad Request — the app belongs to a different project than the token's, or `gitBranch` names a branch the app's repository does not have. */
|
|
2062
|
+
400: {
|
|
2063
|
+
headers: {
|
|
2064
|
+
[name: string]: unknown;
|
|
2065
|
+
};
|
|
2066
|
+
content?: never;
|
|
2067
|
+
};
|
|
2068
|
+
/** @description Not Found — no such app. */
|
|
2069
|
+
404: {
|
|
2070
|
+
headers: {
|
|
2071
|
+
[name: string]: unknown;
|
|
2072
|
+
};
|
|
2073
|
+
content?: never;
|
|
2074
|
+
};
|
|
2075
|
+
/** @description Conflict — the app has never been deployed, so there is nothing for a draft to belong to. Deploy the app first. */
|
|
2076
|
+
409: {
|
|
2077
|
+
headers: {
|
|
2078
|
+
[name: string]: unknown;
|
|
2079
|
+
};
|
|
2080
|
+
content: {
|
|
2081
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2082
|
+
};
|
|
2083
|
+
};
|
|
2084
|
+
/** @description Unprocessable Entity — the body is not a usable request: `gitBranch` is missing, empty, or the body carries a field this endpoint does not accept. */
|
|
2085
|
+
422: {
|
|
2086
|
+
headers: {
|
|
2087
|
+
[name: string]: unknown;
|
|
2088
|
+
};
|
|
2089
|
+
content?: never;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
2093
|
+
getDraft: {
|
|
2094
|
+
parameters: {
|
|
2095
|
+
query?: never;
|
|
2096
|
+
header?: never;
|
|
2097
|
+
path: {
|
|
2098
|
+
appId: string;
|
|
2099
|
+
draftId: string;
|
|
2100
|
+
};
|
|
2101
|
+
cookie?: never;
|
|
2102
|
+
};
|
|
2103
|
+
requestBody?: never;
|
|
2104
|
+
responses: {
|
|
2105
|
+
/** @description OK */
|
|
2106
|
+
200: {
|
|
2107
|
+
headers: {
|
|
2108
|
+
[name: string]: unknown;
|
|
2109
|
+
};
|
|
2110
|
+
content: {
|
|
2111
|
+
'application/json': components['schemas']['Draft'];
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
/** @description Bad Request — the app belongs to a different project than the token's. */
|
|
2115
|
+
400: {
|
|
2116
|
+
headers: {
|
|
2117
|
+
[name: string]: unknown;
|
|
2118
|
+
};
|
|
2119
|
+
content?: never;
|
|
2120
|
+
};
|
|
2121
|
+
/** @description Not Found — no live draft with this id on this app. Also the answer for a draft that exists on another app, and for one that has been deleted. */
|
|
2122
|
+
404: {
|
|
2123
|
+
headers: {
|
|
2124
|
+
[name: string]: unknown;
|
|
2125
|
+
};
|
|
2126
|
+
content?: never;
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
};
|
|
2130
|
+
deleteDraft: {
|
|
2131
|
+
parameters: {
|
|
2132
|
+
query?: never;
|
|
2133
|
+
header?: never;
|
|
2134
|
+
path: {
|
|
2135
|
+
appId: string;
|
|
2136
|
+
draftId: string;
|
|
2137
|
+
};
|
|
2138
|
+
cookie?: never;
|
|
2139
|
+
};
|
|
2140
|
+
requestBody?: never;
|
|
2141
|
+
responses: {
|
|
2142
|
+
/** @description No Content — the draft is deleted. */
|
|
2143
|
+
204: {
|
|
2144
|
+
headers: {
|
|
2145
|
+
[name: string]: unknown;
|
|
2146
|
+
};
|
|
2147
|
+
content?: never;
|
|
2148
|
+
};
|
|
2149
|
+
/** @description Bad Request — the app belongs to a different project than the token's. */
|
|
2150
|
+
400: {
|
|
2151
|
+
headers: {
|
|
2152
|
+
[name: string]: unknown;
|
|
2153
|
+
};
|
|
2154
|
+
content?: never;
|
|
2155
|
+
};
|
|
2156
|
+
/** @description Not Found — no such live draft on this app. */
|
|
2157
|
+
404: {
|
|
2158
|
+
headers: {
|
|
2159
|
+
[name: string]: unknown;
|
|
2160
|
+
};
|
|
2161
|
+
content?: never;
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
createDraftPreviewLink: {
|
|
2166
|
+
parameters: {
|
|
2167
|
+
query?: never;
|
|
2168
|
+
header?: never;
|
|
2169
|
+
path: {
|
|
2170
|
+
appId: string;
|
|
2171
|
+
draftId: string;
|
|
2172
|
+
};
|
|
2173
|
+
cookie?: never;
|
|
2174
|
+
};
|
|
2175
|
+
requestBody?: never;
|
|
2176
|
+
responses: {
|
|
2177
|
+
/** @description OK */
|
|
2178
|
+
200: {
|
|
2179
|
+
headers: {
|
|
2180
|
+
/** @example no-store, private */
|
|
2181
|
+
'Cache-Control'?: string;
|
|
2182
|
+
[name: string]: unknown;
|
|
2183
|
+
};
|
|
2184
|
+
content: {
|
|
2185
|
+
/**
|
|
2186
|
+
* @example {
|
|
2187
|
+
* "url": "https://draft-01a0a8fc-eedd-70a0-b0a5-0db120d05acc.hub.keboola.com/_proxy/preview#t=eyJhbGciOiJFUzI1NiIs...",
|
|
2188
|
+
* "linkExpiresAt": "2026-11-05T10:01:00+00:00"
|
|
2189
|
+
* }
|
|
2190
|
+
*/
|
|
2191
|
+
'application/json': {
|
|
2192
|
+
/**
|
|
2193
|
+
* Format: url
|
|
2194
|
+
* @description The draft's `url` origin + `/_proxy/preview#t=<token>`.
|
|
2195
|
+
*/
|
|
2196
|
+
url: string;
|
|
2197
|
+
/** Format: date-time */
|
|
2198
|
+
linkExpiresAt: string;
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* @description Bad Request — the app belongs to a different project than the token's, or the
|
|
2204
|
+
* draft has no `url` yet (`Draft "<id>" has no URL yet.`). Retry once the draft
|
|
2205
|
+
* reports a `url`.
|
|
2206
|
+
*/
|
|
2207
|
+
400: {
|
|
2208
|
+
headers: {
|
|
2209
|
+
[name: string]: unknown;
|
|
2210
|
+
};
|
|
2211
|
+
content?: never;
|
|
2212
|
+
};
|
|
2213
|
+
/** @description Unauthorized */
|
|
2214
|
+
401: {
|
|
2215
|
+
headers: {
|
|
2216
|
+
[name: string]: unknown;
|
|
2217
|
+
};
|
|
2218
|
+
content?: never;
|
|
2219
|
+
};
|
|
2220
|
+
/** @description Not Found — no live draft with this id on this app. Also the answer for a draft that exists on another app, and for one that has been deleted. */
|
|
2221
|
+
404: {
|
|
2222
|
+
headers: {
|
|
2223
|
+
[name: string]: unknown;
|
|
2224
|
+
};
|
|
2225
|
+
content?: never;
|
|
2226
|
+
};
|
|
2227
|
+
/** @description Preview links are not configured on this stack (`App preview links are not configured.`). */
|
|
2228
|
+
503: {
|
|
2229
|
+
headers: {
|
|
2230
|
+
[name: string]: unknown;
|
|
2231
|
+
};
|
|
2232
|
+
content?: never;
|
|
2233
|
+
};
|
|
2234
|
+
};
|
|
2235
|
+
};
|
|
2236
|
+
getAppGitRepo: {
|
|
2237
|
+
parameters: {
|
|
2238
|
+
query?: never;
|
|
2239
|
+
header?: never;
|
|
2240
|
+
path: {
|
|
2241
|
+
appId: string;
|
|
2242
|
+
};
|
|
2243
|
+
cookie?: never;
|
|
2244
|
+
};
|
|
2245
|
+
requestBody?: never;
|
|
2246
|
+
responses: {
|
|
2247
|
+
/** @description OK */
|
|
2248
|
+
200: {
|
|
2249
|
+
headers: {
|
|
2250
|
+
[name: string]: unknown;
|
|
2251
|
+
};
|
|
2252
|
+
content: {
|
|
2253
|
+
'application/json': {
|
|
2254
|
+
/** @description SSH clone URL. `null` for a repository configured over HTTP(S). */
|
|
2255
|
+
sshUrl: string | null;
|
|
2256
|
+
/** @description HTTPS clone URL. `null` for a repository configured over SSH. */
|
|
2257
|
+
httpsUrl: string | null;
|
|
2258
|
+
/** @description Whether the repository is a managed Git repository provisioned by the service. */
|
|
2259
|
+
isManagedGitRepo: boolean;
|
|
2260
|
+
};
|
|
2261
|
+
};
|
|
2262
|
+
};
|
|
2263
|
+
/** @description Forbidden — the app belongs to a different project than the token's. */
|
|
2264
|
+
403: {
|
|
2265
|
+
headers: {
|
|
2266
|
+
[name: string]: unknown;
|
|
2267
|
+
};
|
|
2268
|
+
content?: never;
|
|
2269
|
+
};
|
|
2270
|
+
/** @description Not Found */
|
|
2271
|
+
404: {
|
|
2272
|
+
headers: {
|
|
2273
|
+
[name: string]: unknown;
|
|
2274
|
+
};
|
|
2275
|
+
content?: never;
|
|
2276
|
+
};
|
|
2277
|
+
/** @description Conflict — the app has no Git repository configured. */
|
|
2278
|
+
409: {
|
|
2279
|
+
headers: {
|
|
2280
|
+
[name: string]: unknown;
|
|
2281
|
+
};
|
|
2282
|
+
content?: never;
|
|
2283
|
+
};
|
|
2284
|
+
};
|
|
2285
|
+
};
|
|
2286
|
+
listAppGitRepoBranches: {
|
|
1864
2287
|
parameters: {
|
|
1865
2288
|
query?: never;
|
|
1866
2289
|
header?: never;
|
|
@@ -1916,6 +2339,15 @@ interface operations {
|
|
|
1916
2339
|
'application/json': components['schemas']['ErrorResponse'];
|
|
1917
2340
|
};
|
|
1918
2341
|
};
|
|
2342
|
+
/** @description Service Unavailable — the Git provider's rate limit was reached; retry later. */
|
|
2343
|
+
503: {
|
|
2344
|
+
headers: {
|
|
2345
|
+
[name: string]: unknown;
|
|
2346
|
+
};
|
|
2347
|
+
content: {
|
|
2348
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
1919
2351
|
/** @description Gateway Timeout — the Git provider or the git operation timed out; retry later. */
|
|
1920
2352
|
504: {
|
|
1921
2353
|
headers: {
|
|
@@ -1995,6 +2427,213 @@ interface operations {
|
|
|
1995
2427
|
'application/json': components['schemas']['ErrorResponse'];
|
|
1996
2428
|
};
|
|
1997
2429
|
};
|
|
2430
|
+
/** @description Service Unavailable — the Git provider's rate limit was reached; retry later. */
|
|
2431
|
+
503: {
|
|
2432
|
+
headers: {
|
|
2433
|
+
[name: string]: unknown;
|
|
2434
|
+
};
|
|
2435
|
+
content: {
|
|
2436
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
/** @description Gateway Timeout — the Git provider or the git operation timed out; retry later. */
|
|
2440
|
+
504: {
|
|
2441
|
+
headers: {
|
|
2442
|
+
[name: string]: unknown;
|
|
2443
|
+
};
|
|
2444
|
+
content: {
|
|
2445
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
getAppGitRepoTree: {
|
|
2451
|
+
parameters: {
|
|
2452
|
+
query?: {
|
|
2453
|
+
/** @description Branch, tag or full 40-character commit SHA (abbreviated SHAs are not supported and answer 404). Defaults to the branch configured in the app's latest saved config (`parameters.dataApp.git.branch`, for a managed repository too; an empty value counts as not configured), then the repository's default branch. */
|
|
2454
|
+
ref?: string;
|
|
2455
|
+
/** @description Directory path relative to the repository root, without a leading slash. Defaults to the root. */
|
|
2456
|
+
path?: string;
|
|
2457
|
+
};
|
|
2458
|
+
header?: never;
|
|
2459
|
+
path: {
|
|
2460
|
+
appId: string;
|
|
2461
|
+
};
|
|
2462
|
+
cookie?: never;
|
|
2463
|
+
};
|
|
2464
|
+
requestBody?: never;
|
|
2465
|
+
responses: {
|
|
2466
|
+
/** @description OK */
|
|
2467
|
+
200: {
|
|
2468
|
+
headers: {
|
|
2469
|
+
[name: string]: unknown;
|
|
2470
|
+
};
|
|
2471
|
+
content: {
|
|
2472
|
+
'application/json': components['schemas']['GitTree'];
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
/** @description Bad Request — invalid `ref` or `path`. */
|
|
2476
|
+
400: {
|
|
2477
|
+
headers: {
|
|
2478
|
+
[name: string]: unknown;
|
|
2479
|
+
};
|
|
2480
|
+
content: {
|
|
2481
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2482
|
+
};
|
|
2483
|
+
};
|
|
2484
|
+
/** @description Forbidden — the app belongs to a different project than the token's, or the token is not a master token of a project member, or the member's role is `readOnly`. */
|
|
2485
|
+
403: {
|
|
2486
|
+
headers: {
|
|
2487
|
+
[name: string]: unknown;
|
|
2488
|
+
};
|
|
2489
|
+
content: {
|
|
2490
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2493
|
+
/** @description Not Found — the app doesn't exist or is not a data app, or the ref or path doesn't exist. */
|
|
2494
|
+
404: {
|
|
2495
|
+
headers: {
|
|
2496
|
+
[name: string]: unknown;
|
|
2497
|
+
};
|
|
2498
|
+
content: {
|
|
2499
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2502
|
+
/** @description Conflict — the app has no Git repository configured, its stored Git configuration is invalid, or the repository is not accessible with the stored credentials. */
|
|
2503
|
+
409: {
|
|
2504
|
+
headers: {
|
|
2505
|
+
[name: string]: unknown;
|
|
2506
|
+
};
|
|
2507
|
+
content: {
|
|
2508
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
/** @description Unprocessable Entity — the path is not a directory. */
|
|
2512
|
+
422: {
|
|
2513
|
+
headers: {
|
|
2514
|
+
[name: string]: unknown;
|
|
2515
|
+
};
|
|
2516
|
+
content: {
|
|
2517
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2518
|
+
};
|
|
2519
|
+
};
|
|
2520
|
+
/** @description Bad Gateway — the Git provider failed or returned an unexpected response. */
|
|
2521
|
+
502: {
|
|
2522
|
+
headers: {
|
|
2523
|
+
[name: string]: unknown;
|
|
2524
|
+
};
|
|
2525
|
+
content: {
|
|
2526
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2527
|
+
};
|
|
2528
|
+
};
|
|
2529
|
+
/** @description Service Unavailable — the Git provider's rate limit was reached; retry later. */
|
|
2530
|
+
503: {
|
|
2531
|
+
headers: {
|
|
2532
|
+
[name: string]: unknown;
|
|
2533
|
+
};
|
|
2534
|
+
content: {
|
|
2535
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2536
|
+
};
|
|
2537
|
+
};
|
|
2538
|
+
/** @description Gateway Timeout — the Git provider or the git operation timed out; retry later. */
|
|
2539
|
+
504: {
|
|
2540
|
+
headers: {
|
|
2541
|
+
[name: string]: unknown;
|
|
2542
|
+
};
|
|
2543
|
+
content: {
|
|
2544
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
};
|
|
2548
|
+
};
|
|
2549
|
+
getAppGitRepoFile: {
|
|
2550
|
+
parameters: {
|
|
2551
|
+
query: {
|
|
2552
|
+
/** @description Branch, tag or full 40-character commit SHA (abbreviated SHAs are not supported and answer 404). Defaults to the branch configured in the app's latest saved config (`parameters.dataApp.git.branch`, for a managed repository too; an empty value counts as not configured), then the repository's default branch. */
|
|
2553
|
+
ref?: string;
|
|
2554
|
+
/** @description File path relative to the repository root, without a leading slash. */
|
|
2555
|
+
path: string;
|
|
2556
|
+
};
|
|
2557
|
+
header?: never;
|
|
2558
|
+
path: {
|
|
2559
|
+
appId: string;
|
|
2560
|
+
};
|
|
2561
|
+
cookie?: never;
|
|
2562
|
+
};
|
|
2563
|
+
requestBody?: never;
|
|
2564
|
+
responses: {
|
|
2565
|
+
/** @description OK */
|
|
2566
|
+
200: {
|
|
2567
|
+
headers: {
|
|
2568
|
+
[name: string]: unknown;
|
|
2569
|
+
};
|
|
2570
|
+
content: {
|
|
2571
|
+
'application/json': components['schemas']['GitFile'];
|
|
2572
|
+
};
|
|
2573
|
+
};
|
|
2574
|
+
/** @description Bad Request — invalid `ref`, or `path` missing or invalid. */
|
|
2575
|
+
400: {
|
|
2576
|
+
headers: {
|
|
2577
|
+
[name: string]: unknown;
|
|
2578
|
+
};
|
|
2579
|
+
content: {
|
|
2580
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2581
|
+
};
|
|
2582
|
+
};
|
|
2583
|
+
/** @description Forbidden — the app belongs to a different project than the token's, or the token is not a master token of a project member, or the member's role is `readOnly`. */
|
|
2584
|
+
403: {
|
|
2585
|
+
headers: {
|
|
2586
|
+
[name: string]: unknown;
|
|
2587
|
+
};
|
|
2588
|
+
content: {
|
|
2589
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
/** @description Not Found — the app doesn't exist or is not a data app, or the ref or path doesn't exist. */
|
|
2593
|
+
404: {
|
|
2594
|
+
headers: {
|
|
2595
|
+
[name: string]: unknown;
|
|
2596
|
+
};
|
|
2597
|
+
content: {
|
|
2598
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
/** @description Conflict — the app has no Git repository configured, its stored Git configuration is invalid, or the repository is not accessible with the stored credentials. */
|
|
2602
|
+
409: {
|
|
2603
|
+
headers: {
|
|
2604
|
+
[name: string]: unknown;
|
|
2605
|
+
};
|
|
2606
|
+
content: {
|
|
2607
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
/** @description Unprocessable Entity — the path is a directory, symlink or submodule, or the file exceeds 1 MiB (1048576 bytes). */
|
|
2611
|
+
422: {
|
|
2612
|
+
headers: {
|
|
2613
|
+
[name: string]: unknown;
|
|
2614
|
+
};
|
|
2615
|
+
content: {
|
|
2616
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2617
|
+
};
|
|
2618
|
+
};
|
|
2619
|
+
/** @description Bad Gateway — the Git provider failed or returned an unexpected response. */
|
|
2620
|
+
502: {
|
|
2621
|
+
headers: {
|
|
2622
|
+
[name: string]: unknown;
|
|
2623
|
+
};
|
|
2624
|
+
content: {
|
|
2625
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2628
|
+
/** @description Service Unavailable — the Git provider's rate limit was reached; retry later. */
|
|
2629
|
+
503: {
|
|
2630
|
+
headers: {
|
|
2631
|
+
[name: string]: unknown;
|
|
2632
|
+
};
|
|
2633
|
+
content: {
|
|
2634
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
2635
|
+
};
|
|
2636
|
+
};
|
|
1998
2637
|
/** @description Gateway Timeout — the Git provider or the git operation timed out; retry later. */
|
|
1999
2638
|
504: {
|
|
2000
2639
|
headers: {
|
|
@@ -2181,6 +2820,9 @@ type DeploymentBuildState = Deployment['buildState'];
|
|
|
2181
2820
|
type DeploymentRunState = Deployment['runState'];
|
|
2182
2821
|
type AppRun = components['schemas']['Run'];
|
|
2183
2822
|
type AppPassword = OpenapiReturnType<paths['/apps/{appId}/password']['get']>;
|
|
2823
|
+
type Draft = components['schemas']['Draft'];
|
|
2824
|
+
type DraftRunState = Draft['runState'];
|
|
2825
|
+
type DraftPreviewLink = OpenapiReturnType<paths['/apps/{appId}/drafts/{draftId}/preview-link']['post']>;
|
|
2184
2826
|
type AppGitRepo = OpenapiReturnType<paths['/apps/{appId}/git-repo']['get']>;
|
|
2185
2827
|
type Credential = components['schemas']['Credential'];
|
|
2186
2828
|
type CreatedCredential = components['schemas']['CreatedCredential'];
|
|
@@ -2188,14 +2830,17 @@ type CredentialList = components['schemas']['CredentialList'];
|
|
|
2188
2830
|
type AppId = OpenapiPathType<paths['/apps/{appId}']['get']>['appId'];
|
|
2189
2831
|
type DeploymentId = OpenapiPathType<paths['/apps/{appId}/deployments/{deploymentId}']['get']>['deploymentId'];
|
|
2190
2832
|
type RunId = OpenapiPathType<paths['/apps/{appId}/runs/{runId}']['get']>['runId'];
|
|
2833
|
+
type DraftId = OpenapiPathType<paths['/apps/{appId}/drafts/{draftId}']['get']>['draftId'];
|
|
2191
2834
|
type CredentialId = OpenapiPathType<paths['/apps/{appId}/git-repo/credentials/{credentialId}']['get']>['credentialId'];
|
|
2192
2835
|
type GetAppGitEntrypointsQuery = OpenapiQueryType<paths['/apps/{appId}/git-repo/entrypoints']['get']>;
|
|
2193
2836
|
type GetAppsQuery = OpenapiQueryType<paths['/apps']['get']>;
|
|
2194
2837
|
type GetAppRunsQuery = OpenapiQueryType<paths['/apps/{appId}/runs']['get']>;
|
|
2838
|
+
type GetDraftsQuery = OpenapiQueryType<paths['/apps/{appId}/drafts']['get']>;
|
|
2195
2839
|
type GetDeploymentsQuery = OpenapiQueryType<paths['/apps/{appId}/deployments']['get']>;
|
|
2196
2840
|
type GetLogsTailQuery = OpenapiQueryType<paths['/apps/{appId}/logs/tail']['get']>;
|
|
2197
2841
|
type CreateAppBody = OpenapiBodyType<paths['/apps']['post']>;
|
|
2198
2842
|
type CreateDeploymentBody = OpenapiBodyType<paths['/apps/{appId}/deployments']['post']>;
|
|
2843
|
+
type CreateDraftBody = OpenapiBodyType<paths['/apps/{appId}/drafts']['post']>;
|
|
2199
2844
|
type CreateCredentialBody = OpenapiBodyType<paths['/apps/{appId}/git-repo/credentials']['post']>;
|
|
2200
|
-
export {
|
|
2201
|
-
//# sourceMappingURL=types-
|
|
2845
|
+
export { LogEntry as A, GetAppGitEntrypointsQuery as C, GetDraftsQuery as D, GetDeploymentsQuery as E, components as M, GetLogsTailQuery as O, DraftRunState as S, GetAppsQuery as T, DeploymentId as _, AppRun as a, DraftId as b, CreateCredentialBody as c, CreatedCredential as d, Credential as f, DeploymentBuildState as g, Deployment as h, AppPassword as i, parseLogLines as j, RunId as k, CreateDeploymentBody as l, CredentialList as m, AppGitRepo as n, AppState as o, CredentialId as p, AppId as r, CreateAppBody as s, App as t, CreateDraftBody as u, DeploymentRunState as v, GetAppRunsQuery as w, DraftPreviewLink as x, Draft as y };
|
|
2846
|
+
//# sourceMappingURL=types-Dteot3tT.d.ts.map
|