@keboola/api-client 25.0.0 → 27.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +489 -0
- package/API-SURFACE.md +126 -57
- package/README.md +29 -25
- package/dist/{adminRoles-Cil1lavB.d.cts → adminRoles-BSUPLfNf.d.cts} +1 -7
- package/dist/{adminRoles-Cil1lavB.d.ts → adminRoles-BSUPLfNf.d.ts} +1 -7
- package/dist/ai/index.cjs +4 -4
- package/dist/ai/index.d.cts +5 -2
- package/dist/ai/index.d.ts +5 -2
- package/dist/ai/index.js +3 -3
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/appLogs-BbgAJ5I8.d.cts +7 -0
- package/dist/appLogs-BbgAJ5I8.d.ts +7 -0
- package/dist/apps/index.cjs +16 -0
- package/dist/apps/index.cjs.map +1 -0
- package/dist/apps/index.d.cts +249 -0
- package/dist/apps/index.d.ts +249 -0
- package/dist/apps/index.js +7 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/apps/types.cjs +4 -0
- package/dist/apps/types.cjs.map +1 -0
- package/dist/apps/types.d.cts +3 -0
- package/dist/apps/types.d.ts +3 -0
- package/dist/apps/types.js +3 -0
- package/dist/apps/types.js.map +1 -0
- package/dist/assets/index.cjs +2 -2
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +17 -13
- package/dist/auth/index.d.cts +18 -5
- package/dist/auth/index.d.ts +18 -5
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +3 -3
- package/dist/auth/types.d.ts +3 -3
- package/dist/backends-UNp_e5y9.d.cts +7 -0
- package/dist/backends-UNp_e5y9.d.ts +7 -0
- package/dist/chat/index.cjs +4 -4
- package/dist/chat/index.d.cts +5 -2
- package/dist/chat/index.d.ts +5 -2
- package/dist/chat/index.js +3 -3
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/{chunk-LD3JERYP.js → chunk-24YVNNAG.js} +10 -4
- package/dist/chunk-24YVNNAG.js.map +1 -0
- package/dist/{chunk-CV2JGHBN.js → chunk-255CHZ3U.js} +23 -6
- package/dist/chunk-255CHZ3U.js.map +1 -0
- package/dist/{chunk-S4JK7DKM.js → chunk-2BCH2U57.js} +11 -5
- package/dist/chunk-2BCH2U57.js.map +1 -0
- package/dist/{chunk-XHDYLUM4.js → chunk-2BQBKU6E.js} +15 -13
- package/dist/chunk-2BQBKU6E.js.map +1 -0
- package/dist/{chunk-NVQ6LGDO.cjs → chunk-2JKTV7UG.cjs} +6 -6
- package/dist/{chunk-NVQ6LGDO.cjs.map → chunk-2JKTV7UG.cjs.map} +1 -1
- package/dist/chunk-3UBGQFBU.js +29 -0
- package/dist/chunk-3UBGQFBU.js.map +1 -0
- package/dist/chunk-57Q4CY4H.js +190 -0
- package/dist/chunk-57Q4CY4H.js.map +1 -0
- package/dist/{chunk-EDX5D6UY.js → chunk-5A3AQIXR.js} +3 -3
- package/dist/{chunk-EDX5D6UY.js.map → chunk-5A3AQIXR.js.map} +1 -1
- package/dist/{chunk-UABYNGBZ.js → chunk-5HEIR4DC.js} +4 -4
- package/dist/chunk-5HEIR4DC.js.map +1 -0
- package/dist/{chunk-Z3HZ4MP4.cjs → chunk-5SR2L35Y.cjs} +885 -553
- package/dist/chunk-5SR2L35Y.cjs.map +1 -0
- package/dist/{chunk-OUSPQ55W.js → chunk-62LG5KPI.js} +29 -7
- package/dist/chunk-62LG5KPI.js.map +1 -0
- package/dist/{chunk-HMCZUHR7.js → chunk-67P5UI6H.js} +9 -4
- package/dist/{chunk-2CFM7K4U.cjs.map → chunk-67P5UI6H.js.map} +1 -1
- package/dist/{chunk-HY7J3OD3.cjs → chunk-6PVEHUJL.cjs} +39 -29
- package/dist/chunk-6PVEHUJL.cjs.map +1 -0
- package/dist/chunk-6XFXU5N4.js +119 -0
- package/dist/chunk-6XFXU5N4.js.map +1 -0
- package/dist/chunk-6ZQBFK2Y.js +24 -0
- package/dist/chunk-6ZQBFK2Y.js.map +1 -0
- package/dist/{chunk-AFJGNBVM.cjs → chunk-AJ3SCWUB.cjs} +14 -8
- package/dist/chunk-AJ3SCWUB.cjs.map +1 -0
- package/dist/{chunk-GF4XZK5N.cjs → chunk-AXYNFDUI.cjs} +4 -4
- package/dist/chunk-AXYNFDUI.cjs.map +1 -0
- package/dist/{chunk-UP5SEEYZ.js → chunk-B45B4AYG.js} +61 -7
- package/dist/chunk-B45B4AYG.js.map +1 -0
- package/dist/{chunk-4VVF2PIX.js → chunk-B4T4QCLB.js} +10 -4
- package/dist/chunk-B4T4QCLB.js.map +1 -0
- package/dist/{chunk-XIIER7QQ.js → chunk-BGJWHTBJ.js} +10 -4
- package/dist/chunk-BGJWHTBJ.js.map +1 -0
- package/dist/chunk-BVRPZKRE.cjs +147 -0
- package/dist/chunk-BVRPZKRE.cjs.map +1 -0
- package/dist/chunk-BZB4UVQA.cjs +192 -0
- package/dist/chunk-BZB4UVQA.cjs.map +1 -0
- package/dist/{chunk-IAYPOSMM.cjs → chunk-CHRBWCL7.cjs} +8 -8
- package/dist/chunk-CHRBWCL7.cjs.map +1 -0
- package/dist/{chunk-3PVERYSF.js → chunk-CPZME73I.js} +3 -3
- package/dist/{chunk-3PVERYSF.js.map → chunk-CPZME73I.js.map} +1 -1
- package/dist/{chunk-RVBGE2Z4.js → chunk-DVV35AIS.js} +7 -7
- package/dist/chunk-DVV35AIS.js.map +1 -0
- package/dist/{chunk-CWUQ6ZAO.cjs → chunk-E7GGDLAH.cjs} +25 -8
- package/dist/chunk-E7GGDLAH.cjs.map +1 -0
- package/dist/{chunk-J3NLKXQ5.cjs → chunk-EQPBR3BE.cjs} +15 -9
- package/dist/chunk-EQPBR3BE.cjs.map +1 -0
- package/dist/{chunk-SJZ66FD5.js → chunk-ERZEQ5JR.js} +8 -3
- package/dist/chunk-ERZEQ5JR.js.map +1 -0
- package/dist/{chunk-CWCUQACX.cjs → chunk-ES3ADC2G.cjs} +4 -4
- package/dist/{chunk-CWCUQACX.cjs.map → chunk-ES3ADC2G.cjs.map} +1 -1
- package/dist/{chunk-2CFM7K4U.cjs → chunk-FEAE6L3K.cjs} +13 -8
- package/dist/chunk-FEAE6L3K.cjs.map +1 -0
- package/dist/{chunk-IDWGBCSB.cjs → chunk-FVU7WU2H.cjs} +11 -6
- package/dist/chunk-FVU7WU2H.cjs.map +1 -0
- package/dist/{chunk-3BFPNM2J.js → chunk-FW5GBBKL.js} +11 -5
- package/dist/chunk-FW5GBBKL.js.map +1 -0
- package/dist/chunk-G2SWCC3X.js +90 -0
- package/dist/chunk-G2SWCC3X.js.map +1 -0
- package/dist/{chunk-KUYVBCUM.cjs → chunk-G3JHVIDZ.cjs} +63 -8
- package/dist/chunk-G3JHVIDZ.cjs.map +1 -0
- package/dist/{chunk-D4WOOKMI.js → chunk-HGKDXF35.js} +58 -107
- package/dist/chunk-HGKDXF35.js.map +1 -0
- package/dist/chunk-HQO572JW.cjs +34 -0
- package/dist/chunk-HQO572JW.cjs.map +1 -0
- package/dist/{chunk-MMOAH3EH.cjs → chunk-HUQ5ATIL.cjs} +15 -13
- package/dist/chunk-HUQ5ATIL.cjs.map +1 -0
- package/dist/{chunk-XKIENBIE.js → chunk-HZDVMHU6.js} +10 -4
- package/dist/chunk-HZDVMHU6.js.map +1 -0
- package/dist/{chunk-7R22VKV7.cjs → chunk-ICWUR5WA.cjs} +13 -7
- package/dist/chunk-ICWUR5WA.cjs.map +1 -0
- package/dist/{chunk-BR6WZE3O.cjs → chunk-IQFNHQWP.cjs} +9 -4
- package/dist/chunk-IQFNHQWP.cjs.map +1 -0
- package/dist/{chunk-7Z4MU7ZB.js → chunk-IZ4QM7O4.js} +32 -22
- package/dist/chunk-IZ4QM7O4.js.map +1 -0
- package/dist/{chunk-UWQUHP3T.cjs → chunk-J5JCXSAS.cjs} +11 -6
- package/dist/chunk-J5JCXSAS.cjs.map +1 -0
- package/dist/{chunk-LIXSIM3H.cjs → chunk-JI7HLIDL.cjs} +12 -6
- package/dist/chunk-JI7HLIDL.cjs.map +1 -0
- package/dist/chunk-JWISA775.cjs +92 -0
- package/dist/chunk-JWISA775.cjs.map +1 -0
- package/dist/chunk-K3BLXPLA.cjs +16 -0
- package/dist/{chunk-7RO6PKZ4.cjs.map → chunk-K3BLXPLA.cjs.map} +1 -1
- package/dist/{chunk-BZA3FGO6.js → chunk-KATUDT3E.js} +8 -3
- package/dist/chunk-KATUDT3E.js.map +1 -0
- package/dist/chunk-KGBWWS6I.js +32 -0
- package/dist/chunk-KGBWWS6I.js.map +1 -0
- package/dist/chunk-KQENBXPS.cjs +34 -0
- package/dist/chunk-KQENBXPS.cjs.map +1 -0
- package/dist/chunk-KTKJD4DM.js +60 -0
- package/dist/chunk-KTKJD4DM.js.map +1 -0
- package/dist/{chunk-2BOG5U7C.js → chunk-LWQP7OWA.js} +3 -3
- package/dist/{chunk-2BOG5U7C.js.map → chunk-LWQP7OWA.js.map} +1 -1
- package/dist/chunk-NFJKJGXR.js +397 -0
- package/dist/chunk-NFJKJGXR.js.map +1 -0
- package/dist/chunk-NH2TQGRL.cjs +28 -0
- package/dist/chunk-NH2TQGRL.cjs.map +1 -0
- package/dist/{chunk-KEFXOJD7.js → chunk-NHYL5QPM.js} +16 -3
- package/dist/chunk-NHYL5QPM.js.map +1 -0
- package/dist/{chunk-AVH6F5LB.js → chunk-ON4ILCHP.js} +876 -546
- package/dist/chunk-ON4ILCHP.js.map +1 -0
- package/dist/{chunk-T242YFMT.cjs → chunk-PLF4JX5B.cjs} +12 -7
- package/dist/chunk-PLF4JX5B.cjs.map +1 -0
- package/dist/{chunk-77LILJYX.js → chunk-QNF3L4B7.js} +9 -4
- package/dist/chunk-QNF3L4B7.js.map +1 -0
- package/dist/{chunk-NVRVPWNY.js → chunk-RBN3ITTM.js} +9 -4
- package/dist/chunk-RBN3ITTM.js.map +1 -0
- package/dist/{chunk-DRNOCC6W.cjs → chunk-RXYT7EMN.cjs} +31 -8
- package/dist/chunk-RXYT7EMN.cjs.map +1 -0
- package/dist/chunk-S46FMY4G.cjs +64 -0
- package/dist/chunk-S46FMY4G.cjs.map +1 -0
- package/dist/chunk-S6BWQKHJ.cjs +116 -0
- package/dist/chunk-S6BWQKHJ.cjs.map +1 -0
- package/dist/{chunk-3YWQQ3OG.cjs → chunk-SFTI6QFB.cjs} +13 -7
- package/dist/chunk-SFTI6QFB.cjs.map +1 -0
- package/dist/{chunk-7YXL4FKN.cjs → chunk-SNP577FA.cjs} +12 -6
- package/dist/chunk-SNP577FA.cjs.map +1 -0
- package/dist/{chunk-PPQF7LTS.cjs → chunk-SUVM3S2T.cjs} +15 -9
- package/dist/chunk-SUVM3S2T.cjs.map +1 -0
- package/dist/chunk-SYZ5OFNT.js +114 -0
- package/dist/chunk-SYZ5OFNT.js.map +1 -0
- package/dist/{chunk-FRLSKIUI.cjs → chunk-SZBW4EE2.cjs} +6 -6
- package/dist/{chunk-FRLSKIUI.cjs.map → chunk-SZBW4EE2.cjs.map} +1 -1
- package/dist/{chunk-G66EP527.js → chunk-TBHJQCAE.js} +9 -4
- package/dist/chunk-TBHJQCAE.js.map +1 -0
- package/dist/{chunk-EYIPM2XB.cjs → chunk-U3E5YMLO.cjs} +4 -4
- package/dist/{chunk-EYIPM2XB.cjs.map → chunk-U3E5YMLO.cjs.map} +1 -1
- package/dist/{chunk-34GM6NXB.js → chunk-UVX733BX.js} +10 -4
- package/dist/chunk-UVX733BX.js.map +1 -0
- package/dist/{chunk-FMS5PNM2.cjs → chunk-V6FT3RTU.cjs} +8 -3
- package/dist/chunk-V6FT3RTU.cjs.map +1 -0
- package/dist/{chunk-F6ZAYTBX.cjs → chunk-VB56OVFM.cjs} +58 -110
- package/dist/chunk-VB56OVFM.cjs.map +1 -0
- package/dist/{chunk-5XWVWFTC.js → chunk-WQ7NNIJ3.js} +4 -4
- package/dist/{chunk-5XWVWFTC.js.map → chunk-WQ7NNIJ3.js.map} +1 -1
- package/dist/{chunk-DHOVQ2TW.js → chunk-WUFODWZV.js} +3 -3
- package/dist/{chunk-DHOVQ2TW.js.map → chunk-WUFODWZV.js.map} +1 -1
- package/dist/{chunk-FJBP3MRI.cjs → chunk-WUJ53PP7.cjs} +16 -3
- package/dist/chunk-WUJ53PP7.cjs.map +1 -0
- package/dist/chunk-YDOSWWE4.cjs +419 -0
- package/dist/chunk-YDOSWWE4.cjs.map +1 -0
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +13 -1
- package/dist/constants/index.d.ts +13 -1
- package/dist/constants/index.js +1 -1
- package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
- package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
- package/dist/{createOpenapiFetchClient-BFmiJ9C5.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +1 -1
- package/dist/{createOpenapiFetchClient-6RX67Hws.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +1 -1
- package/dist/dataScience/index.cjs +6 -5
- package/dist/dataScience/index.d.cts +7 -5
- package/dist/dataScience/index.d.ts +7 -5
- package/dist/dataScience/index.js +4 -3
- package/dist/dataScience/types.d.cts +2172 -2
- package/dist/dataScience/types.d.ts +2172 -2
- package/dist/domain/permissions/index.cjs +3 -3
- package/dist/domain/permissions/index.d.cts +5 -4
- package/dist/domain/permissions/index.d.ts +5 -4
- package/dist/domain/permissions/index.js +1 -1
- package/dist/editor/index.cjs +4 -4
- package/dist/editor/index.d.cts +5 -2
- package/dist/editor/index.d.ts +5 -2
- package/dist/editor/index.js +3 -3
- package/dist/editor/types.d.cts +2 -2
- package/dist/editor/types.d.ts +2 -2
- package/dist/encryption/index.cjs +3 -3
- package/dist/encryption/index.d.cts +5 -3
- package/dist/encryption/index.d.ts +5 -3
- package/dist/encryption/index.js +2 -2
- package/dist/encryption/types.d.cts +4 -3
- package/dist/encryption/types.d.ts +4 -3
- package/dist/import/index.cjs +4 -4
- package/dist/import/index.d.cts +5 -2
- package/dist/import/index.d.ts +5 -2
- package/dist/import/index.js +3 -3
- package/dist/index.cjs +211 -127
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +934 -457
- package/dist/index.d.ts +934 -457
- package/dist/index.js +95 -44
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +60 -67
- package/dist/management/index.d.ts +60 -67
- package/dist/management/index.js +3 -3
- package/dist/management/types.d.cts +3 -3
- package/dist/management/types.d.ts +3 -3
- package/dist/metastore/index.cjs +4 -4
- package/dist/metastore/index.d.cts +5 -6
- package/dist/metastore/index.d.ts +5 -6
- package/dist/metastore/index.js +3 -3
- package/dist/metastore/types.d.cts +2 -2
- package/dist/metastore/types.d.ts +2 -2
- package/dist/notifications/index.cjs +5 -5
- package/dist/notifications/index.d.cts +3 -2
- package/dist/notifications/index.d.ts +3 -2
- package/dist/notifications/index.js +4 -4
- package/dist/notifications/types.d.cts +2 -2
- package/dist/notifications/types.d.ts +2 -2
- package/dist/oauth/index.cjs +4 -4
- package/dist/oauth/index.d.cts +2 -1
- package/dist/oauth/index.d.ts +2 -1
- package/dist/oauth/index.js +3 -3
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.cjs +14 -0
- package/dist/omnisearch/index.cjs.map +1 -0
- package/dist/omnisearch/index.d.cts +32 -0
- package/dist/omnisearch/index.d.ts +32 -0
- package/dist/omnisearch/index.js +5 -0
- package/dist/omnisearch/index.js.map +1 -0
- package/dist/omnisearch/types.cjs +4 -0
- package/dist/omnisearch/types.cjs.map +1 -0
- package/dist/omnisearch/types.d.cts +3 -0
- package/dist/omnisearch/types.d.ts +3 -0
- package/dist/omnisearch/types.js +3 -0
- package/dist/omnisearch/types.js.map +1 -0
- package/dist/{project-CXqPYo4T.d.ts → project-Dmr-zrQG.d.ts} +2 -2
- package/dist/{project-CZPvcxRW.d.cts → project-DstzWVMN.d.cts} +2 -2
- package/dist/queryService/index.cjs +4 -4
- package/dist/queryService/index.d.cts +3 -2
- package/dist/queryService/index.d.ts +3 -2
- package/dist/queryService/index.js +3 -3
- package/dist/queryService/types.d.cts +2 -2
- package/dist/queryService/types.d.ts +2 -2
- package/dist/queue/index.cjs +4 -4
- package/dist/queue/index.d.cts +8 -2
- package/dist/queue/index.d.ts +8 -2
- package/dist/queue/index.js +3 -3
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/scheduler/index.cjs +5 -5
- package/dist/scheduler/index.d.cts +2 -1
- package/dist/scheduler/index.d.ts +2 -1
- package/dist/scheduler/index.js +4 -4
- package/dist/scheduler/types.d.cts +3 -3
- package/dist/scheduler/types.d.ts +3 -3
- package/dist/sdk/configurations/index.cjs +3 -3
- package/dist/sdk/configurations/index.d.cts +7 -6
- package/dist/sdk/configurations/index.d.ts +7 -6
- package/dist/sdk/configurations/index.js +2 -2
- package/dist/sdk/queryService/index.cjs +16 -0
- package/dist/sdk/queryService/index.cjs.map +1 -0
- package/dist/sdk/queryService/index.d.cts +35 -0
- package/dist/sdk/queryService/index.d.ts +35 -0
- package/dist/sdk/queryService/index.js +7 -0
- package/dist/sdk/queryService/index.js.map +1 -0
- package/dist/sdk/semanticLayer/index.cjs +18 -14
- package/dist/sdk/semanticLayer/index.d.cts +25 -10
- package/dist/sdk/semanticLayer/index.d.ts +25 -10
- package/dist/sdk/semanticLayer/index.js +2 -2
- package/dist/sdk/semanticLayer/types.d.cts +25 -5
- package/dist/sdk/semanticLayer/types.d.ts +25 -5
- package/dist/sdk/storage/index.cjs +12 -11
- package/dist/sdk/storage/index.d.cts +7 -6
- package/dist/sdk/storage/index.d.ts +7 -6
- package/dist/sdk/storage/index.js +2 -1
- package/dist/sdk/tag/index.cjs +3 -3
- package/dist/sdk/tag/index.d.cts +3 -3
- package/dist/sdk/tag/index.d.ts +3 -3
- package/dist/sdk/tag/index.js +2 -2
- package/dist/sdk/tag/types.d.cts +10 -4
- package/dist/sdk/tag/types.d.ts +10 -4
- package/dist/sdk/vault/index.cjs +8 -8
- package/dist/sdk/vault/index.d.cts +5 -4
- package/dist/sdk/vault/index.d.ts +5 -4
- package/dist/sdk/vault/index.js +2 -2
- package/dist/status/index.cjs +2 -2
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +50 -12
- package/dist/storage/index.d.cts +17 -36
- package/dist/storage/index.d.ts +17 -36
- package/dist/storage/index.js +7 -5
- package/dist/storage/types.d.cts +720 -425
- package/dist/storage/types.d.ts +720 -425
- package/dist/{storageClient-Dkcg7hKa.d.cts → storageClient-BAid0vi2.d.cts} +478 -247
- package/dist/{storageClient-Cd4jVt58.d.ts → storageClient-BX50Attd.d.ts} +478 -247
- package/dist/{storageSdk-L6NOdgSJ.d.ts → storageSdk-BS5982c_.d.cts} +22 -15
- package/dist/{storageSdk-15_Fbucc.d.cts → storageSdk-BeJcnEIO.d.ts} +22 -15
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.d.cts +3 -2
- package/dist/stream/index.d.ts +3 -2
- package/dist/stream/index.js +3 -3
- package/dist/stream/types.d.cts +2 -2
- package/dist/stream/types.d.ts +2 -2
- package/dist/syncActions/index.cjs +6 -5
- package/dist/syncActions/index.d.cts +31 -76
- package/dist/syncActions/index.d.ts +31 -76
- package/dist/syncActions/index.js +5 -4
- package/dist/syncActions/types.d.cts +334 -18
- package/dist/syncActions/types.d.ts +334 -18
- package/dist/telemetry/index.cjs +4 -4
- package/dist/telemetry/index.js +3 -3
- package/dist/{types-DbAO-Tgk.d.ts → types-BALUbGA5.d.ts} +10 -2
- package/dist/{types-B30y9Lhc.d.ts → types-BCBF_5cU.d.cts} +186 -4
- package/dist/{types-B-vmDlWB.d.cts → types-BPKQRahf.d.cts} +3 -3
- package/dist/types-BcaALDYY.d.cts +2130 -0
- package/dist/{types-BfuVN8Pk.d.cts → types-Bom93Zx2.d.cts} +3 -3
- package/dist/types-Bp8d9PJf.d.cts +607 -0
- package/dist/types-BsejtGjZ.d.ts +2130 -0
- package/dist/{types-DeoA45gz.d.cts → types-BuEkMmKT.d.ts} +491 -308
- package/dist/{types-BqC3U0k0.d.cts → types-C5DdOzx8.d.cts} +1 -1
- package/dist/{types-D-MuJHwl.d.cts → types-CFeOCzzg.d.cts} +3 -2
- package/dist/{types-DpUcInCX.d.ts → types-COti0FGo.d.ts} +3 -3
- package/dist/{types-Dkipk6NN.d.ts → types-C_jxWM7A.d.ts} +1 -1
- package/dist/{types-CM1zHzgm.d.ts → types-Cffam0Nw.d.ts} +856 -36
- package/dist/{types-BieLFMW1.d.cts → types-CfzHhZVG.d.ts} +3 -3
- package/dist/{types-DYnHIm7m.d.cts → types-CniF_D1P.d.cts} +3 -3
- package/dist/{types-BEnE7LHB.d.cts → types-CwAYn1EJ.d.cts} +10 -2
- package/dist/{types-DgSyBwP3.d.cts → types-CxAH36ip.d.cts} +3 -3
- package/dist/{types-DwMezEHT.d.ts → types-D2qGShlS.d.ts} +15 -3
- package/dist/{types-CSZoV4lM.d.cts → types-D6dnnju2.d.ts} +186 -4
- package/dist/{types-CrLjE5xf.d.ts → types-DM1glEQI.d.ts} +3 -3
- package/dist/{types-Hj1CaKtV.d.ts → types-DNyZ0z3L.d.cts} +491 -308
- package/dist/types-DOc5_aYZ.d.ts +607 -0
- package/dist/{types-DHXZZKb3.d.ts → types-Dpwb4dD0.d.ts} +3 -3
- package/dist/{types-YzkNUuYo.d.ts → types-DrGnvgkB.d.ts} +3 -3
- package/dist/{types-00IaLn3S.d.ts → types-EZBBpiFU.d.ts} +695 -82
- package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
- package/dist/{types-sVyfECai.d.cts → types-cxk-0ftN.d.cts} +695 -82
- package/dist/{types-DeS-oVdn.d.ts → types-ebolWqn1.d.ts} +3 -2
- package/dist/{types-gcShAmmi.d.cts → types-f8dUjMX4.d.cts} +1 -1
- package/dist/{types-gcShAmmi.d.ts → types-f8dUjMX4.d.ts} +1 -1
- package/dist/{types-CiJ5ULtS.d.ts → types-nt7I4XNc.d.cts} +3 -3
- package/dist/{types-Cgh3jqrV.d.cts → types-qvle4Ydu.d.cts} +856 -36
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +2 -1
- package/dist/vault/index.d.ts +2 -1
- package/dist/vault/index.js +3 -3
- package/dist/vault/types.d.cts +3 -3
- package/dist/vault/types.d.ts +3 -3
- package/package.json +71 -3
- package/surface/ai.md +1 -0
- package/surface/apps.md +32 -0
- package/surface/auth.md +6 -4
- package/surface/chat.md +1 -0
- package/surface/dataScience.md +1 -0
- package/surface/editor.md +1 -0
- package/surface/encryption.md +1 -0
- package/surface/import.md +1 -0
- package/surface/kaiAgent.md +1 -0
- package/surface/management.md +17 -16
- package/surface/metastore.md +2 -1
- package/surface/notifications.md +1 -0
- package/surface/oauth.md +1 -0
- package/surface/omnisearch.md +9 -0
- package/surface/queryService.md +1 -0
- package/surface/queue.md +7 -6
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +16 -16
- package/surface/storage.md +119 -83
- package/surface/stream.md +1 -0
- package/surface/syncActions.md +13 -6
- package/surface/vault.md +1 -0
- package/dist/chunk-34GM6NXB.js.map +0 -1
- package/dist/chunk-3BFPNM2J.js.map +0 -1
- package/dist/chunk-3YWQQ3OG.cjs.map +0 -1
- package/dist/chunk-4VVF2PIX.js.map +0 -1
- package/dist/chunk-77LILJYX.js.map +0 -1
- package/dist/chunk-7R22VKV7.cjs.map +0 -1
- package/dist/chunk-7RO6PKZ4.cjs +0 -16
- package/dist/chunk-7YXL4FKN.cjs.map +0 -1
- package/dist/chunk-7Z4MU7ZB.js.map +0 -1
- package/dist/chunk-AFJGNBVM.cjs.map +0 -1
- package/dist/chunk-AVH6F5LB.js.map +0 -1
- package/dist/chunk-AXEANGGK.js +0 -226
- package/dist/chunk-AXEANGGK.js.map +0 -1
- package/dist/chunk-BR6WZE3O.cjs.map +0 -1
- package/dist/chunk-BZA3FGO6.js.map +0 -1
- package/dist/chunk-CV2JGHBN.js.map +0 -1
- package/dist/chunk-CWUQ6ZAO.cjs.map +0 -1
- package/dist/chunk-D4WOOKMI.js.map +0 -1
- package/dist/chunk-DRNOCC6W.cjs.map +0 -1
- package/dist/chunk-F6ZAYTBX.cjs.map +0 -1
- package/dist/chunk-FJBP3MRI.cjs.map +0 -1
- package/dist/chunk-FMS5PNM2.cjs.map +0 -1
- package/dist/chunk-G66EP527.js.map +0 -1
- package/dist/chunk-GF4XZK5N.cjs.map +0 -1
- package/dist/chunk-HMCZUHR7.js.map +0 -1
- package/dist/chunk-HTVJR5WS.cjs +0 -305
- package/dist/chunk-HTVJR5WS.cjs.map +0 -1
- package/dist/chunk-HY7J3OD3.cjs.map +0 -1
- package/dist/chunk-IAYPOSMM.cjs.map +0 -1
- package/dist/chunk-IDWGBCSB.cjs.map +0 -1
- package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
- package/dist/chunk-KEFXOJD7.js.map +0 -1
- package/dist/chunk-KUYVBCUM.cjs.map +0 -1
- package/dist/chunk-L262THNK.cjs +0 -253
- package/dist/chunk-L262THNK.cjs.map +0 -1
- package/dist/chunk-LD3JERYP.js.map +0 -1
- package/dist/chunk-LIXSIM3H.cjs.map +0 -1
- package/dist/chunk-MMOAH3EH.cjs.map +0 -1
- package/dist/chunk-NVRVPWNY.js.map +0 -1
- package/dist/chunk-OUSPQ55W.js.map +0 -1
- package/dist/chunk-PPQF7LTS.cjs.map +0 -1
- package/dist/chunk-RVBGE2Z4.js.map +0 -1
- package/dist/chunk-S4JK7DKM.js.map +0 -1
- package/dist/chunk-SJZ66FD5.js.map +0 -1
- package/dist/chunk-T242YFMT.cjs.map +0 -1
- package/dist/chunk-UABYNGBZ.js.map +0 -1
- package/dist/chunk-UP5SEEYZ.js.map +0 -1
- package/dist/chunk-UQ5CACMW.js +0 -283
- package/dist/chunk-UQ5CACMW.js.map +0 -1
- package/dist/chunk-UWQUHP3T.cjs.map +0 -1
- package/dist/chunk-XHDYLUM4.js.map +0 -1
- package/dist/chunk-XIIER7QQ.js.map +0 -1
- package/dist/chunk-XKIENBIE.js.map +0 -1
- package/dist/chunk-Z3HZ4MP4.cjs.map +0 -1
- package/dist/utils-B_SOM1XR.d.ts +0 -3051
- package/dist/utils-DK7uJcmR.d.cts +0 -3051
|
@@ -1,2 +1,2172 @@
|
|
|
1
|
-
import '../types-
|
|
2
|
-
export {
|
|
1
|
+
import { d as OpenapiPathType, c as OpenapiQueryType, O as OpenapiBodyType, b as OpenapiReturnType } from '../types-f8dUjMX4.js';
|
|
2
|
+
export { L as LogEntry } from '../appLogs-BbgAJ5I8.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This file was auto-generated by openapi-typescript.
|
|
6
|
+
* Do not make direct changes to the file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
type paths = {
|
|
10
|
+
'/': {
|
|
11
|
+
parameters: {
|
|
12
|
+
query?: never;
|
|
13
|
+
header?: never;
|
|
14
|
+
path?: never;
|
|
15
|
+
cookie?: never;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Service metadata
|
|
19
|
+
* @description Returns the service name, version and a link to this API specification.
|
|
20
|
+
* No authentication required.
|
|
21
|
+
*/
|
|
22
|
+
get: operations['index'];
|
|
23
|
+
put?: never;
|
|
24
|
+
post?: never;
|
|
25
|
+
delete?: never;
|
|
26
|
+
options?: never;
|
|
27
|
+
head?: never;
|
|
28
|
+
patch?: never;
|
|
29
|
+
trace?: never;
|
|
30
|
+
};
|
|
31
|
+
'/health-check': {
|
|
32
|
+
parameters: {
|
|
33
|
+
query?: never;
|
|
34
|
+
header?: never;
|
|
35
|
+
path?: never;
|
|
36
|
+
cookie?: never;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Health-check endpoint
|
|
40
|
+
* @description Checks the service is up & running. No authentication required.
|
|
41
|
+
*/
|
|
42
|
+
get: operations['healthCheck'];
|
|
43
|
+
put?: never;
|
|
44
|
+
post?: never;
|
|
45
|
+
delete?: never;
|
|
46
|
+
options?: never;
|
|
47
|
+
head?: never;
|
|
48
|
+
patch?: never;
|
|
49
|
+
trace?: never;
|
|
50
|
+
};
|
|
51
|
+
'/git/repository': {
|
|
52
|
+
parameters: {
|
|
53
|
+
query?: never;
|
|
54
|
+
header?: never;
|
|
55
|
+
path?: never;
|
|
56
|
+
cookie?: never;
|
|
57
|
+
};
|
|
58
|
+
get?: never;
|
|
59
|
+
put?: never;
|
|
60
|
+
/**
|
|
61
|
+
* List git repository branches
|
|
62
|
+
* @description Clone repository without checkout and list remote branches.
|
|
63
|
+
*/
|
|
64
|
+
post: operations['gitRepository'];
|
|
65
|
+
delete?: never;
|
|
66
|
+
options?: never;
|
|
67
|
+
head?: never;
|
|
68
|
+
patch?: never;
|
|
69
|
+
trace?: never;
|
|
70
|
+
};
|
|
71
|
+
'/git/entrypoints': {
|
|
72
|
+
parameters: {
|
|
73
|
+
query?: never;
|
|
74
|
+
header?: never;
|
|
75
|
+
path?: never;
|
|
76
|
+
cookie?: never;
|
|
77
|
+
};
|
|
78
|
+
get?: never;
|
|
79
|
+
put?: never;
|
|
80
|
+
/**
|
|
81
|
+
* List repository entrypoints
|
|
82
|
+
* @description Checkout repository root and list files in root directory.
|
|
83
|
+
*/
|
|
84
|
+
post: operations['gitEntrypoints'];
|
|
85
|
+
delete?: never;
|
|
86
|
+
options?: never;
|
|
87
|
+
head?: never;
|
|
88
|
+
patch?: never;
|
|
89
|
+
trace?: never;
|
|
90
|
+
};
|
|
91
|
+
'/apps': {
|
|
92
|
+
parameters: {
|
|
93
|
+
query?: never;
|
|
94
|
+
header?: never;
|
|
95
|
+
path?: never;
|
|
96
|
+
cookie?: never;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* List apps
|
|
100
|
+
* @description List project apps.
|
|
101
|
+
*/
|
|
102
|
+
get: operations['listApps'];
|
|
103
|
+
put?: never;
|
|
104
|
+
/**
|
|
105
|
+
* Create app
|
|
106
|
+
* @description Create new app
|
|
107
|
+
*/
|
|
108
|
+
post: operations['createApp'];
|
|
109
|
+
delete?: never;
|
|
110
|
+
options?: never;
|
|
111
|
+
head?: never;
|
|
112
|
+
patch?: never;
|
|
113
|
+
trace?: never;
|
|
114
|
+
};
|
|
115
|
+
'/apps/{appId}': {
|
|
116
|
+
parameters: {
|
|
117
|
+
query?: never;
|
|
118
|
+
header?: never;
|
|
119
|
+
path?: never;
|
|
120
|
+
cookie?: never;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Get app detail
|
|
124
|
+
* @description Get app detail.
|
|
125
|
+
*/
|
|
126
|
+
get: operations['getApp'];
|
|
127
|
+
put?: never;
|
|
128
|
+
post?: never;
|
|
129
|
+
/**
|
|
130
|
+
* Delete app
|
|
131
|
+
* @description Delete app
|
|
132
|
+
*/
|
|
133
|
+
delete: operations['deleteApp'];
|
|
134
|
+
options?: never;
|
|
135
|
+
head?: never;
|
|
136
|
+
/**
|
|
137
|
+
* Update app state
|
|
138
|
+
* @description Update app state.
|
|
139
|
+
* Accepts a Storage API token, or a Manage API application token with the `apps:proxy` scope.
|
|
140
|
+
*/
|
|
141
|
+
patch: operations['patchApp'];
|
|
142
|
+
trace?: never;
|
|
143
|
+
};
|
|
144
|
+
'/apps/{appId}/proxy-config': {
|
|
145
|
+
parameters: {
|
|
146
|
+
query?: never;
|
|
147
|
+
header?: never;
|
|
148
|
+
path?: never;
|
|
149
|
+
cookie?: never;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Get proxy config for the app
|
|
153
|
+
* @description Get proxy config for the app.
|
|
154
|
+
* Requires a Manage API application token with the `apps:proxy` scope (or an equivalent ServiceAccount token).
|
|
155
|
+
*/
|
|
156
|
+
get: operations['getAppProxyConfig'];
|
|
157
|
+
put?: never;
|
|
158
|
+
post?: never;
|
|
159
|
+
delete?: never;
|
|
160
|
+
options?: never;
|
|
161
|
+
head?: never;
|
|
162
|
+
patch?: never;
|
|
163
|
+
trace?: never;
|
|
164
|
+
};
|
|
165
|
+
'/apps/{appId}/password': {
|
|
166
|
+
parameters: {
|
|
167
|
+
query?: never;
|
|
168
|
+
header?: never;
|
|
169
|
+
path?: never;
|
|
170
|
+
cookie?: never;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Get app password
|
|
174
|
+
* @description Returns app password. Currently applicable only for apps with auth type `password`.
|
|
175
|
+
*/
|
|
176
|
+
get: operations['getAppPassword'];
|
|
177
|
+
put?: never;
|
|
178
|
+
post?: never;
|
|
179
|
+
delete?: never;
|
|
180
|
+
options?: never;
|
|
181
|
+
head?: never;
|
|
182
|
+
patch?: never;
|
|
183
|
+
trace?: never;
|
|
184
|
+
};
|
|
185
|
+
'/apps/{appId}/reset-password': {
|
|
186
|
+
parameters: {
|
|
187
|
+
query?: never;
|
|
188
|
+
header?: never;
|
|
189
|
+
path?: never;
|
|
190
|
+
cookie?: never;
|
|
191
|
+
};
|
|
192
|
+
get?: never;
|
|
193
|
+
put?: never;
|
|
194
|
+
/**
|
|
195
|
+
* Reset app password
|
|
196
|
+
* @description Reset app password.
|
|
197
|
+
*/
|
|
198
|
+
post: operations['resetAppPassword'];
|
|
199
|
+
delete?: never;
|
|
200
|
+
options?: never;
|
|
201
|
+
head?: never;
|
|
202
|
+
patch?: never;
|
|
203
|
+
trace?: never;
|
|
204
|
+
};
|
|
205
|
+
'/apps/{appId}/git-repo': {
|
|
206
|
+
parameters: {
|
|
207
|
+
query?: never;
|
|
208
|
+
header?: never;
|
|
209
|
+
path?: never;
|
|
210
|
+
cookie?: never;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Get details of the app's configured Git repository
|
|
214
|
+
* @description Returns details of the Git repository configured in the app's config
|
|
215
|
+
* (`parameters.dataApp.git`). For managed Git repositories both `sshUrl`
|
|
216
|
+
* and `httpsUrl` are returned, fetched from the upstream git-service. For
|
|
217
|
+
* externally configured repositories only the URL matching the configured
|
|
218
|
+
* protocol is returned and the other field is `null`; any embedded
|
|
219
|
+
* credentials are stripped.
|
|
220
|
+
*/
|
|
221
|
+
get: operations['getAppGitRepo'];
|
|
222
|
+
put?: never;
|
|
223
|
+
post?: never;
|
|
224
|
+
delete?: never;
|
|
225
|
+
options?: never;
|
|
226
|
+
head?: never;
|
|
227
|
+
patch?: never;
|
|
228
|
+
trace?: never;
|
|
229
|
+
};
|
|
230
|
+
'/apps/{appId}/git-repo/credentials': {
|
|
231
|
+
parameters: {
|
|
232
|
+
query?: never;
|
|
233
|
+
header?: never;
|
|
234
|
+
path?: never;
|
|
235
|
+
cookie?: never;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* List credentials for managed Git repository
|
|
239
|
+
* @description Lists non-deleted credentials for the app's managed Git repository.
|
|
240
|
+
* Requires an admin storage API token.
|
|
241
|
+
*/
|
|
242
|
+
get: operations['listAppGitRepoCredentials'];
|
|
243
|
+
put?: never;
|
|
244
|
+
/**
|
|
245
|
+
* Create credential for managed Git repository
|
|
246
|
+
* @description Creates a credential (SSH key or HTTP token) for the app's managed Git repository.
|
|
247
|
+
* For `http_token` credentials, the response includes a one-time `secret`
|
|
248
|
+
* that is not returned on subsequent reads. Requires an admin storage API token.
|
|
249
|
+
*/
|
|
250
|
+
post: operations['createAppGitRepoCredential'];
|
|
251
|
+
delete?: never;
|
|
252
|
+
options?: never;
|
|
253
|
+
head?: never;
|
|
254
|
+
patch?: never;
|
|
255
|
+
trace?: never;
|
|
256
|
+
};
|
|
257
|
+
'/apps/{appId}/git-repo/credentials/{credentialId}': {
|
|
258
|
+
parameters: {
|
|
259
|
+
query?: never;
|
|
260
|
+
header?: never;
|
|
261
|
+
path?: never;
|
|
262
|
+
cookie?: never;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Get credential detail
|
|
266
|
+
* @description Returns details of a credential registered with the app's managed Git repository.
|
|
267
|
+
* The response never contains the one-time `secret` field. Requires an admin storage API token.
|
|
268
|
+
*/
|
|
269
|
+
get: operations['getAppGitRepoCredential'];
|
|
270
|
+
put?: never;
|
|
271
|
+
post?: never;
|
|
272
|
+
/**
|
|
273
|
+
* Revoke and remove a credential
|
|
274
|
+
* @description Revokes a credential on git-service and soft-deletes the local row.
|
|
275
|
+
* Tolerates git-service 404 as already-removed. Requires an admin storage API token.
|
|
276
|
+
*/
|
|
277
|
+
delete: operations['deleteAppGitRepoCredential'];
|
|
278
|
+
options?: never;
|
|
279
|
+
head?: never;
|
|
280
|
+
patch?: never;
|
|
281
|
+
trace?: never;
|
|
282
|
+
};
|
|
283
|
+
'/apps/{appId}/logs/download': {
|
|
284
|
+
parameters: {
|
|
285
|
+
query?: never;
|
|
286
|
+
header?: never;
|
|
287
|
+
path?: never;
|
|
288
|
+
cookie?: never;
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* Download app logs
|
|
292
|
+
* @description Download app logs as a file.
|
|
293
|
+
*/
|
|
294
|
+
get: operations['downloadAppLogs'];
|
|
295
|
+
put?: never;
|
|
296
|
+
post?: never;
|
|
297
|
+
delete?: never;
|
|
298
|
+
options?: never;
|
|
299
|
+
head?: never;
|
|
300
|
+
patch?: never;
|
|
301
|
+
trace?: never;
|
|
302
|
+
};
|
|
303
|
+
'/apps/{appId}/logs/tail': {
|
|
304
|
+
parameters: {
|
|
305
|
+
query?: never;
|
|
306
|
+
header?: never;
|
|
307
|
+
path?: never;
|
|
308
|
+
cookie?: never;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* Tail app logs
|
|
312
|
+
* @description Tail app logs.
|
|
313
|
+
*/
|
|
314
|
+
get: operations['tailAppLogs'];
|
|
315
|
+
put?: never;
|
|
316
|
+
post?: never;
|
|
317
|
+
delete?: never;
|
|
318
|
+
options?: never;
|
|
319
|
+
head?: never;
|
|
320
|
+
patch?: never;
|
|
321
|
+
trace?: never;
|
|
322
|
+
};
|
|
323
|
+
'/apps/{appId}/runs': {
|
|
324
|
+
parameters: {
|
|
325
|
+
query?: never;
|
|
326
|
+
header?: never;
|
|
327
|
+
path?: never;
|
|
328
|
+
cookie?: never;
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* List app runs
|
|
332
|
+
* @description List app runs for a specific app.
|
|
333
|
+
*/
|
|
334
|
+
get: operations['listAppRuns'];
|
|
335
|
+
put?: never;
|
|
336
|
+
post?: never;
|
|
337
|
+
delete?: never;
|
|
338
|
+
options?: never;
|
|
339
|
+
head?: never;
|
|
340
|
+
patch?: never;
|
|
341
|
+
trace?: never;
|
|
342
|
+
};
|
|
343
|
+
'/apps/{appId}/runs/{runId}': {
|
|
344
|
+
parameters: {
|
|
345
|
+
query?: never;
|
|
346
|
+
header?: never;
|
|
347
|
+
path?: never;
|
|
348
|
+
cookie?: never;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Get app run detail
|
|
352
|
+
* @description Get detailed information about a specific app run.
|
|
353
|
+
*/
|
|
354
|
+
get: operations['getAppRun'];
|
|
355
|
+
put?: never;
|
|
356
|
+
post?: never;
|
|
357
|
+
delete?: never;
|
|
358
|
+
options?: never;
|
|
359
|
+
head?: never;
|
|
360
|
+
patch?: never;
|
|
361
|
+
trace?: never;
|
|
362
|
+
};
|
|
363
|
+
'/sandboxes': {
|
|
364
|
+
parameters: {
|
|
365
|
+
query?: never;
|
|
366
|
+
header?: never;
|
|
367
|
+
path?: never;
|
|
368
|
+
cookie?: never;
|
|
369
|
+
};
|
|
370
|
+
get?: never;
|
|
371
|
+
put?: never;
|
|
372
|
+
/**
|
|
373
|
+
* Create sandbox
|
|
374
|
+
* @description This endpoint is intended to create Python/R Sandboxes.
|
|
375
|
+
*/
|
|
376
|
+
post: operations['createSandbox'];
|
|
377
|
+
delete?: never;
|
|
378
|
+
options?: never;
|
|
379
|
+
head?: never;
|
|
380
|
+
patch?: never;
|
|
381
|
+
trace?: never;
|
|
382
|
+
};
|
|
383
|
+
'/sandboxes/{appId}': {
|
|
384
|
+
parameters: {
|
|
385
|
+
query?: never;
|
|
386
|
+
header?: never;
|
|
387
|
+
path?: never;
|
|
388
|
+
cookie?: never;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Get sandbox
|
|
392
|
+
* @description This endpoint is intended to get details for Python/R Sandboxes.
|
|
393
|
+
*/
|
|
394
|
+
get: operations['getSandbox'];
|
|
395
|
+
put?: never;
|
|
396
|
+
post?: never;
|
|
397
|
+
/**
|
|
398
|
+
* Delete sandbox
|
|
399
|
+
* @description This endpoint is intended to delete Python/R Sandboxes.
|
|
400
|
+
*/
|
|
401
|
+
delete: operations['deleteSandbox'];
|
|
402
|
+
options?: never;
|
|
403
|
+
head?: never;
|
|
404
|
+
/**
|
|
405
|
+
* Update sandbox
|
|
406
|
+
* @description This endpoint is intended to update Python/R Sandboxes.
|
|
407
|
+
*/
|
|
408
|
+
patch: operations['patchSandbox'];
|
|
409
|
+
trace?: never;
|
|
410
|
+
};
|
|
411
|
+
'/sandboxes/project': {
|
|
412
|
+
parameters: {
|
|
413
|
+
query?: never;
|
|
414
|
+
header?: never;
|
|
415
|
+
path?: never;
|
|
416
|
+
cookie?: never;
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* Get current project
|
|
420
|
+
* @description Get the project resolved from the Storage API token, including its persistent storage status.
|
|
421
|
+
*/
|
|
422
|
+
get: operations['getCurrentProject'];
|
|
423
|
+
put?: never;
|
|
424
|
+
post?: never;
|
|
425
|
+
delete?: never;
|
|
426
|
+
options?: never;
|
|
427
|
+
head?: never;
|
|
428
|
+
patch?: never;
|
|
429
|
+
trace?: never;
|
|
430
|
+
};
|
|
431
|
+
'/runtimes': {
|
|
432
|
+
parameters: {
|
|
433
|
+
query?: never;
|
|
434
|
+
header?: never;
|
|
435
|
+
path?: never;
|
|
436
|
+
cookie?: never;
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* List Runtimes
|
|
440
|
+
* @description List of registered runtimes. No authentication required.
|
|
441
|
+
*/
|
|
442
|
+
get: operations['listRuntimes'];
|
|
443
|
+
put?: never;
|
|
444
|
+
post?: never;
|
|
445
|
+
delete?: never;
|
|
446
|
+
options?: never;
|
|
447
|
+
head?: never;
|
|
448
|
+
patch?: never;
|
|
449
|
+
trace?: never;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
type components = {
|
|
453
|
+
schemas: {
|
|
454
|
+
/**
|
|
455
|
+
* @description Git repository request. Provide SSH key or username/password credentials for private repositories,
|
|
456
|
+
* or omit auth fields entirely to access a public HTTP(S) repository.
|
|
457
|
+
* Sensitive fields (password, sshKey) are write-only and will not be returned in responses.
|
|
458
|
+
*/
|
|
459
|
+
GitRequest:
|
|
460
|
+
| components['schemas']['GitRequestWithSshKey']
|
|
461
|
+
| components['schemas']['GitRequestWithUsernamePassword']
|
|
462
|
+
| components['schemas']['GitRequestPublic'];
|
|
463
|
+
/** @description Git request using SSH key authentication. */
|
|
464
|
+
GitRequestWithSshKey: {
|
|
465
|
+
/** @description Git repository URL (HTTP(S) or SSH format) */
|
|
466
|
+
repository: string;
|
|
467
|
+
/** @description Optional branch name (default is main for entrypoints) */
|
|
468
|
+
branch?: string | null;
|
|
469
|
+
/**
|
|
470
|
+
* @description SSH private key for repository access in OpenSSH format (must start with -----BEGIN).
|
|
471
|
+
* Required when using SSH authentication. Mutually exclusive with username/password.
|
|
472
|
+
*/
|
|
473
|
+
sshKey: string;
|
|
474
|
+
};
|
|
475
|
+
/** @description Git request using username/password authentication. */
|
|
476
|
+
GitRequestWithUsernamePassword: {
|
|
477
|
+
/** @description Git repository URL (must be HTTP(S) format for username/password authentication) */
|
|
478
|
+
repository: string;
|
|
479
|
+
/** @description Optional branch name (default is main for entrypoints) */
|
|
480
|
+
branch?: string | null;
|
|
481
|
+
/** @description HTTP basic auth username. Required together with password. */
|
|
482
|
+
username: string;
|
|
483
|
+
/**
|
|
484
|
+
* @description HTTP basic auth password. Required together with username.
|
|
485
|
+
* Mutually exclusive with sshKey.
|
|
486
|
+
*/
|
|
487
|
+
password: string;
|
|
488
|
+
};
|
|
489
|
+
/** @description Git request for a public repository without authentication. */
|
|
490
|
+
GitRequestPublic: {
|
|
491
|
+
/** @description Public Git repository URL. Must be HTTP(S); SSH URLs require an SSH key and are not supported here. */
|
|
492
|
+
repository: string;
|
|
493
|
+
/** @description Optional branch name (default is main for entrypoints) */
|
|
494
|
+
branch?: string | null;
|
|
495
|
+
};
|
|
496
|
+
GitRepositoryResponse: {
|
|
497
|
+
repository: {
|
|
498
|
+
/** @description Repository URL without credentials */
|
|
499
|
+
url: string;
|
|
500
|
+
branches: {
|
|
501
|
+
/** @description Branch name */
|
|
502
|
+
branch: string;
|
|
503
|
+
/** @description Commit message */
|
|
504
|
+
comment: string;
|
|
505
|
+
/** @description Commit hash (short) */
|
|
506
|
+
sha: string;
|
|
507
|
+
author: {
|
|
508
|
+
/** @description Author name */
|
|
509
|
+
name: string;
|
|
510
|
+
/**
|
|
511
|
+
* @description Author email (normalized, without angle brackets)
|
|
512
|
+
* @example user@example.com
|
|
513
|
+
*/
|
|
514
|
+
email: string;
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* Format: date-time
|
|
518
|
+
* @description Author date in ISO8601 format
|
|
519
|
+
* @example 2024-01-01T12:00:00+00:00
|
|
520
|
+
*/
|
|
521
|
+
date: string;
|
|
522
|
+
}[];
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
GitEntrypointsResponse: {
|
|
526
|
+
entrypoints: string[];
|
|
527
|
+
};
|
|
528
|
+
CreateCredentialRequest: {
|
|
529
|
+
/** @enum {string} */
|
|
530
|
+
type: 'ssh_key' | 'http_token';
|
|
531
|
+
/** @description SSH public key. Required iff `type` is `ssh_key`; forbidden otherwise. */
|
|
532
|
+
publicKey?: string;
|
|
533
|
+
/**
|
|
534
|
+
* @description Optional caller-supplied display label.
|
|
535
|
+
* @default
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/** @enum {string} */
|
|
539
|
+
permissions: 'readOnly' | 'readWrite';
|
|
540
|
+
};
|
|
541
|
+
Credential: {
|
|
542
|
+
/** Format: uuid */
|
|
543
|
+
id: string;
|
|
544
|
+
/** @enum {string} */
|
|
545
|
+
type: 'ssh_key' | 'http_token';
|
|
546
|
+
name: string;
|
|
547
|
+
/** @enum {string} */
|
|
548
|
+
permissions: 'readOnly' | 'readWrite';
|
|
549
|
+
ownerAdminId: string;
|
|
550
|
+
/** Format: date-time */
|
|
551
|
+
createdAt: string;
|
|
552
|
+
};
|
|
553
|
+
CreatedCredential: components['schemas']['Credential'] & {
|
|
554
|
+
/** @description One-time secret returned only at creation for `http_token` credentials. */
|
|
555
|
+
secret?: string;
|
|
556
|
+
};
|
|
557
|
+
CredentialList: {
|
|
558
|
+
credentials: components['schemas']['Credential'][];
|
|
559
|
+
};
|
|
560
|
+
Runtime: {
|
|
561
|
+
/** @description Human-readable description of the runtime */
|
|
562
|
+
description: string;
|
|
563
|
+
/** @description Runtime type (e.g., python, r, streamlit) */
|
|
564
|
+
type: string;
|
|
565
|
+
/** @description Whether this runtime is the default for its type */
|
|
566
|
+
isTypeDefault: boolean;
|
|
567
|
+
/**
|
|
568
|
+
* Format: date-time
|
|
569
|
+
* @description Date when the runtime was released
|
|
570
|
+
*/
|
|
571
|
+
releaseDate: string;
|
|
572
|
+
/**
|
|
573
|
+
* Format: date-time
|
|
574
|
+
* @description Date when the runtime reaches end of life (null if no end date)
|
|
575
|
+
*/
|
|
576
|
+
endOfLifeDate?: string | null;
|
|
577
|
+
/** @description Docker image name */
|
|
578
|
+
imageName?: string | null;
|
|
579
|
+
/** @description Docker image tag */
|
|
580
|
+
imageTag?: string | null;
|
|
581
|
+
/** @description Transformation component ID (if applicable) */
|
|
582
|
+
transformationComponentId?: string | null;
|
|
583
|
+
/** @description Transformation component tag (if applicable) */
|
|
584
|
+
transformationComponentTag?: string | null;
|
|
585
|
+
/** @description Sandbox Docker image name (if different from main image) */
|
|
586
|
+
sandboxImageName?: string | null;
|
|
587
|
+
/** @description Sandbox Docker image tag (if different from main image) */
|
|
588
|
+
sandboxImageTag?: string | null;
|
|
589
|
+
};
|
|
590
|
+
ExistingApp: {
|
|
591
|
+
id: string;
|
|
592
|
+
/** @description App type (e.g. streamlit, jupyter, python, python-js) */
|
|
593
|
+
type?: string | null;
|
|
594
|
+
projectId: string;
|
|
595
|
+
componentId: string;
|
|
596
|
+
branchId: string | null;
|
|
597
|
+
configId: string;
|
|
598
|
+
configVersion: string;
|
|
599
|
+
/** @enum {string} */
|
|
600
|
+
state:
|
|
601
|
+
| 'created'
|
|
602
|
+
| 'starting'
|
|
603
|
+
| 'restarting'
|
|
604
|
+
| 'running'
|
|
605
|
+
| 'stopping'
|
|
606
|
+
| 'stopped'
|
|
607
|
+
| 'deleting'
|
|
608
|
+
| 'deleted';
|
|
609
|
+
/** @enum {string} */
|
|
610
|
+
desiredState: 'running' | 'stopped' | 'deleted';
|
|
611
|
+
/**
|
|
612
|
+
* @description Current run mode for the app. Can be changed via PATCH /apps/{appId}.
|
|
613
|
+
* @enum {string}
|
|
614
|
+
*/
|
|
615
|
+
mode: 'prod' | 'dev';
|
|
616
|
+
/** Format: date-time */
|
|
617
|
+
lastRequestTimestamp: string | null;
|
|
618
|
+
/** Format: date-time */
|
|
619
|
+
lastStartTimestamp?: string | null;
|
|
620
|
+
url?: string | null;
|
|
621
|
+
/** @description `0` means whatever default is configured on backend */
|
|
622
|
+
autoSuspendAfterSeconds?: number;
|
|
623
|
+
/** @description Whether auto-restart is enabled for the app. When disabled, the app can be started only manually by setting `desiredState` to `running`, not by opening the app URL. */
|
|
624
|
+
autoRestartEnabled?: boolean;
|
|
625
|
+
/** @description App size (e.g. micro, tiny, small, medium, large, external) */
|
|
626
|
+
size?: string | null;
|
|
627
|
+
/** @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`. */
|
|
628
|
+
hasManagedGitRepo?: boolean;
|
|
629
|
+
};
|
|
630
|
+
/** @description Response schema for sandbox endpoints (GET, POST, PATCH). */
|
|
631
|
+
SandboxResponse: {
|
|
632
|
+
id?: string;
|
|
633
|
+
projectId?: string;
|
|
634
|
+
/**
|
|
635
|
+
* @deprecated
|
|
636
|
+
* @description Always empty string
|
|
637
|
+
*/
|
|
638
|
+
tokenId?: string;
|
|
639
|
+
branchId?: string | null;
|
|
640
|
+
configurationId?: string;
|
|
641
|
+
/**
|
|
642
|
+
* @deprecated
|
|
643
|
+
* @description Always empty string
|
|
644
|
+
*/
|
|
645
|
+
physicalId?: string;
|
|
646
|
+
type?: string;
|
|
647
|
+
/** @description Whether the sandbox is currently running. */
|
|
648
|
+
active?: boolean;
|
|
649
|
+
/** Format: date-time */
|
|
650
|
+
createdTimestamp?: string;
|
|
651
|
+
/** Format: date-time */
|
|
652
|
+
startTimestamp?: string;
|
|
653
|
+
/** Format: date-time */
|
|
654
|
+
updatedTimestamp?: string;
|
|
655
|
+
persistentStorage?: {
|
|
656
|
+
pvcName?: string | null;
|
|
657
|
+
k8sManifest?: string | null;
|
|
658
|
+
/** @description Whether persistent storage is enabled for this sandbox. */
|
|
659
|
+
isEnabled?: boolean;
|
|
660
|
+
/** @description Whether the project-level persistent storage is ready. */
|
|
661
|
+
ready?: boolean | null;
|
|
662
|
+
/** @description Kubernetes StorageClass name for the project's persistent storage. */
|
|
663
|
+
k8sStorageClassName?: string | null;
|
|
664
|
+
};
|
|
665
|
+
shared?: boolean;
|
|
666
|
+
componentId?: string;
|
|
667
|
+
configurationVersion?: string;
|
|
668
|
+
size?: string | null;
|
|
669
|
+
/**
|
|
670
|
+
* Format: date-time
|
|
671
|
+
* @deprecated
|
|
672
|
+
* @description Always null
|
|
673
|
+
*/
|
|
674
|
+
lastAutosaveTimestamp?: string | null;
|
|
675
|
+
/**
|
|
676
|
+
* Format: date-time
|
|
677
|
+
* @deprecated
|
|
678
|
+
* @description Deprecated, always null
|
|
679
|
+
*/
|
|
680
|
+
expirationTimestamp?: string | null;
|
|
681
|
+
/** @description Auto-suspend timeout in seconds (defaults to 3600) */
|
|
682
|
+
autoSuspendAfterSeconds?: number;
|
|
683
|
+
/**
|
|
684
|
+
* @deprecated
|
|
685
|
+
* @description Deprecated, use autoSuspendAfterSeconds
|
|
686
|
+
*/
|
|
687
|
+
expirationAfterHours?: number;
|
|
688
|
+
/**
|
|
689
|
+
* @deprecated
|
|
690
|
+
* @description Always null
|
|
691
|
+
*/
|
|
692
|
+
user?: string | null;
|
|
693
|
+
url?: string | null;
|
|
694
|
+
password?: string | null;
|
|
695
|
+
/**
|
|
696
|
+
* @deprecated
|
|
697
|
+
* @description Always null
|
|
698
|
+
*/
|
|
699
|
+
autosaveTokenId?: string | null;
|
|
700
|
+
/**
|
|
701
|
+
* @deprecated
|
|
702
|
+
* @description Deprecated, always null
|
|
703
|
+
*/
|
|
704
|
+
host?: string | null;
|
|
705
|
+
imageVersion?: string | null;
|
|
706
|
+
packages?: string[] | null;
|
|
707
|
+
/**
|
|
708
|
+
* @deprecated
|
|
709
|
+
* @description Deprecated, always null
|
|
710
|
+
*/
|
|
711
|
+
sizeParameters?: unknown;
|
|
712
|
+
/**
|
|
713
|
+
* @deprecated
|
|
714
|
+
* @description Deprecated, always null
|
|
715
|
+
*/
|
|
716
|
+
stagingWorkspaceId?: unknown;
|
|
717
|
+
/**
|
|
718
|
+
* @deprecated
|
|
719
|
+
* @description Deprecated, always null
|
|
720
|
+
*/
|
|
721
|
+
stagingWorkspaceType?: unknown;
|
|
722
|
+
/**
|
|
723
|
+
* @deprecated
|
|
724
|
+
* @description Deprecated, always null
|
|
725
|
+
*/
|
|
726
|
+
workspaceDetails?: unknown;
|
|
727
|
+
/**
|
|
728
|
+
* @deprecated
|
|
729
|
+
* @description Deprecated, always null
|
|
730
|
+
*/
|
|
731
|
+
databricks?: unknown;
|
|
732
|
+
/**
|
|
733
|
+
* @deprecated
|
|
734
|
+
* @description Deprecated, always null
|
|
735
|
+
*/
|
|
736
|
+
credentials?: unknown;
|
|
737
|
+
};
|
|
738
|
+
AppRun: {
|
|
739
|
+
/** @description Unique identifier for the app run (UUID in RFC 4122 format) */
|
|
740
|
+
id: string;
|
|
741
|
+
/** @description ID of the app this run belongs to */
|
|
742
|
+
appId: string;
|
|
743
|
+
/**
|
|
744
|
+
* @description Current state of the app run
|
|
745
|
+
* @enum {string|null}
|
|
746
|
+
*/
|
|
747
|
+
state?: 'starting' | 'running' | 'failed' | 'finished' | null;
|
|
748
|
+
/**
|
|
749
|
+
* Format: date-time
|
|
750
|
+
* @description Timestamp when the app run was created (ISO 8601 ATOM format)
|
|
751
|
+
*/
|
|
752
|
+
createdAt?: string | null;
|
|
753
|
+
/**
|
|
754
|
+
* Format: date-time
|
|
755
|
+
* @description Timestamp when the app run started (ISO 8601 ATOM format)
|
|
756
|
+
*/
|
|
757
|
+
startedAt?: string | null;
|
|
758
|
+
/**
|
|
759
|
+
* Format: date-time
|
|
760
|
+
* @description Timestamp when the app run stopped (ISO 8601 ATOM format)
|
|
761
|
+
*/
|
|
762
|
+
stoppedAt?: string | null;
|
|
763
|
+
/** @description Startup logs from the app run */
|
|
764
|
+
startupLogs?: string | null;
|
|
765
|
+
/** @description Runtime size used for this app run (e.g., small, medium, large) */
|
|
766
|
+
runtimeSize?: string | null;
|
|
767
|
+
/** @description Configuration version used for this app run */
|
|
768
|
+
configVersion?: string | null;
|
|
769
|
+
/** @description User-facing cause of a failed run. Set only when state is "failed". */
|
|
770
|
+
failureReason?: {
|
|
771
|
+
/** @description Short, stable, machine-readable identifier (UI i18n key) */
|
|
772
|
+
reason?: string | null;
|
|
773
|
+
/** @description Human-readable description of the failure */
|
|
774
|
+
message?: string | null;
|
|
775
|
+
} | null;
|
|
776
|
+
/**
|
|
777
|
+
* @description Run mode this app run was started with
|
|
778
|
+
* @default prod
|
|
779
|
+
* @enum {string}
|
|
780
|
+
*/
|
|
781
|
+
mode: 'prod' | 'dev';
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
responses: never;
|
|
785
|
+
parameters: never;
|
|
786
|
+
requestBodies: never;
|
|
787
|
+
headers: never;
|
|
788
|
+
pathItems: never;
|
|
789
|
+
};
|
|
790
|
+
interface operations {
|
|
791
|
+
index: {
|
|
792
|
+
parameters: {
|
|
793
|
+
query?: never;
|
|
794
|
+
header?: never;
|
|
795
|
+
path?: never;
|
|
796
|
+
cookie?: never;
|
|
797
|
+
};
|
|
798
|
+
requestBody?: never;
|
|
799
|
+
responses: {
|
|
800
|
+
/** @description Service metadata */
|
|
801
|
+
200: {
|
|
802
|
+
headers: {
|
|
803
|
+
[name: string]: unknown;
|
|
804
|
+
};
|
|
805
|
+
content: {
|
|
806
|
+
/**
|
|
807
|
+
* @example {
|
|
808
|
+
* "appName": "sandboxes-service",
|
|
809
|
+
* "appVersion": "1.2.3",
|
|
810
|
+
* "apiDocs": "http://localhost/docs/swagger.yaml"
|
|
811
|
+
* }
|
|
812
|
+
*/
|
|
813
|
+
'application/json': {
|
|
814
|
+
appName?: string;
|
|
815
|
+
appVersion?: string;
|
|
816
|
+
/** Format: url */
|
|
817
|
+
apiDocs?: string;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
healthCheck: {
|
|
824
|
+
parameters: {
|
|
825
|
+
query?: never;
|
|
826
|
+
header?: never;
|
|
827
|
+
path?: never;
|
|
828
|
+
cookie?: never;
|
|
829
|
+
};
|
|
830
|
+
requestBody?: never;
|
|
831
|
+
responses: {
|
|
832
|
+
/** @description OK */
|
|
833
|
+
200: {
|
|
834
|
+
headers: {
|
|
835
|
+
[name: string]: unknown;
|
|
836
|
+
};
|
|
837
|
+
content: {
|
|
838
|
+
'application/json': {
|
|
839
|
+
api?: string;
|
|
840
|
+
/** Format: url */
|
|
841
|
+
documentation?: string;
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
gitRepository: {
|
|
848
|
+
parameters: {
|
|
849
|
+
query?: never;
|
|
850
|
+
header?: never;
|
|
851
|
+
path?: never;
|
|
852
|
+
cookie?: never;
|
|
853
|
+
};
|
|
854
|
+
requestBody: {
|
|
855
|
+
content: {
|
|
856
|
+
'application/json': components['schemas']['GitRequest'];
|
|
857
|
+
};
|
|
858
|
+
};
|
|
859
|
+
responses: {
|
|
860
|
+
/** @description OK */
|
|
861
|
+
200: {
|
|
862
|
+
headers: {
|
|
863
|
+
[name: string]: unknown;
|
|
864
|
+
};
|
|
865
|
+
content: {
|
|
866
|
+
'application/json': components['schemas']['GitRepositoryResponse'];
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
/** @description Bad Request */
|
|
870
|
+
400: {
|
|
871
|
+
headers: {
|
|
872
|
+
[name: string]: unknown;
|
|
873
|
+
};
|
|
874
|
+
content?: never;
|
|
875
|
+
};
|
|
876
|
+
/** @description Unauthorized */
|
|
877
|
+
401: {
|
|
878
|
+
headers: {
|
|
879
|
+
[name: string]: unknown;
|
|
880
|
+
};
|
|
881
|
+
content?: never;
|
|
882
|
+
};
|
|
883
|
+
/** @description Validation Error */
|
|
884
|
+
422: {
|
|
885
|
+
headers: {
|
|
886
|
+
[name: string]: unknown;
|
|
887
|
+
};
|
|
888
|
+
content: {
|
|
889
|
+
'application/json': {
|
|
890
|
+
error?: string;
|
|
891
|
+
violations?: Record<string, never>[];
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
gitEntrypoints: {
|
|
898
|
+
parameters: {
|
|
899
|
+
query?: never;
|
|
900
|
+
header?: never;
|
|
901
|
+
path?: never;
|
|
902
|
+
cookie?: never;
|
|
903
|
+
};
|
|
904
|
+
requestBody: {
|
|
905
|
+
content: {
|
|
906
|
+
'application/json': components['schemas']['GitRequest'];
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
responses: {
|
|
910
|
+
/** @description OK */
|
|
911
|
+
200: {
|
|
912
|
+
headers: {
|
|
913
|
+
[name: string]: unknown;
|
|
914
|
+
};
|
|
915
|
+
content: {
|
|
916
|
+
'application/json': components['schemas']['GitEntrypointsResponse'];
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
/** @description Bad Request */
|
|
920
|
+
400: {
|
|
921
|
+
headers: {
|
|
922
|
+
[name: string]: unknown;
|
|
923
|
+
};
|
|
924
|
+
content?: never;
|
|
925
|
+
};
|
|
926
|
+
/** @description Unauthorized */
|
|
927
|
+
401: {
|
|
928
|
+
headers: {
|
|
929
|
+
[name: string]: unknown;
|
|
930
|
+
};
|
|
931
|
+
content?: never;
|
|
932
|
+
};
|
|
933
|
+
/** @description Validation Error */
|
|
934
|
+
422: {
|
|
935
|
+
headers: {
|
|
936
|
+
[name: string]: unknown;
|
|
937
|
+
};
|
|
938
|
+
content: {
|
|
939
|
+
'application/json': {
|
|
940
|
+
error?: string;
|
|
941
|
+
violations?: Record<string, never>[];
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
listApps: {
|
|
948
|
+
parameters: {
|
|
949
|
+
query?: {
|
|
950
|
+
offset?: number;
|
|
951
|
+
limit?: number;
|
|
952
|
+
/** @description Filter apps by component ID */
|
|
953
|
+
componentId?: string;
|
|
954
|
+
/** @description Filter apps by type (can be specified multiple times) */
|
|
955
|
+
type?: ('bigquery' | 'python' | 'r' | 'snowflake' | 'streamlit' | 'python-js')[];
|
|
956
|
+
/** @description Filter apps by branch ID */
|
|
957
|
+
branchId?: string;
|
|
958
|
+
};
|
|
959
|
+
header?: never;
|
|
960
|
+
path?: never;
|
|
961
|
+
cookie?: never;
|
|
962
|
+
};
|
|
963
|
+
requestBody?: never;
|
|
964
|
+
responses: {
|
|
965
|
+
/** @description OK */
|
|
966
|
+
200: {
|
|
967
|
+
headers: {
|
|
968
|
+
[name: string]: unknown;
|
|
969
|
+
};
|
|
970
|
+
content: {
|
|
971
|
+
'application/json': components['schemas']['ExistingApp'][];
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
/** @description Unauthorized */
|
|
975
|
+
401: {
|
|
976
|
+
headers: {
|
|
977
|
+
[name: string]: unknown;
|
|
978
|
+
};
|
|
979
|
+
content?: never;
|
|
980
|
+
};
|
|
981
|
+
/** @description Forbidden */
|
|
982
|
+
403: {
|
|
983
|
+
headers: {
|
|
984
|
+
[name: string]: unknown;
|
|
985
|
+
};
|
|
986
|
+
content?: never;
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
};
|
|
990
|
+
createApp: {
|
|
991
|
+
parameters: {
|
|
992
|
+
query?: never;
|
|
993
|
+
header?: never;
|
|
994
|
+
path?: never;
|
|
995
|
+
cookie?: never;
|
|
996
|
+
};
|
|
997
|
+
/** @description App data */
|
|
998
|
+
requestBody: {
|
|
999
|
+
content: {
|
|
1000
|
+
'application/json': {
|
|
1001
|
+
type: string;
|
|
1002
|
+
branchId: string | null;
|
|
1003
|
+
name: string;
|
|
1004
|
+
description?: string | null;
|
|
1005
|
+
config?: {
|
|
1006
|
+
[key: string]: unknown;
|
|
1007
|
+
} | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* @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.
|
|
1010
|
+
* @default false
|
|
1011
|
+
*/
|
|
1012
|
+
useManagedGitRepo?: boolean;
|
|
1013
|
+
/**
|
|
1014
|
+
* @description Initial run mode for the app. Defaults to `prod`. Can be changed later via PATCH /apps/{appId}.
|
|
1015
|
+
* @default prod
|
|
1016
|
+
* @enum {string}
|
|
1017
|
+
*/
|
|
1018
|
+
mode?: 'prod' | 'dev';
|
|
1019
|
+
};
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
responses: {
|
|
1023
|
+
/** @description OK */
|
|
1024
|
+
200: {
|
|
1025
|
+
headers: {
|
|
1026
|
+
[name: string]: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
content: {
|
|
1029
|
+
'application/json': components['schemas']['ExistingApp'];
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
/** @description Unauthorized */
|
|
1033
|
+
401: {
|
|
1034
|
+
headers: {
|
|
1035
|
+
[name: string]: unknown;
|
|
1036
|
+
};
|
|
1037
|
+
content?: never;
|
|
1038
|
+
};
|
|
1039
|
+
/** @description Unprocessable Entity */
|
|
1040
|
+
422: {
|
|
1041
|
+
headers: {
|
|
1042
|
+
[name: string]: unknown;
|
|
1043
|
+
};
|
|
1044
|
+
content?: never;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
getApp: {
|
|
1049
|
+
parameters: {
|
|
1050
|
+
query?: never;
|
|
1051
|
+
header?: never;
|
|
1052
|
+
path: {
|
|
1053
|
+
appId: string;
|
|
1054
|
+
};
|
|
1055
|
+
cookie?: never;
|
|
1056
|
+
};
|
|
1057
|
+
requestBody?: never;
|
|
1058
|
+
responses: {
|
|
1059
|
+
/** @description OK */
|
|
1060
|
+
200: {
|
|
1061
|
+
headers: {
|
|
1062
|
+
[name: string]: unknown;
|
|
1063
|
+
};
|
|
1064
|
+
content: {
|
|
1065
|
+
'application/json': components['schemas']['ExistingApp'];
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
/** @description Unauthorized */
|
|
1069
|
+
401: {
|
|
1070
|
+
headers: {
|
|
1071
|
+
[name: string]: unknown;
|
|
1072
|
+
};
|
|
1073
|
+
content?: never;
|
|
1074
|
+
};
|
|
1075
|
+
/** @description Forbidden */
|
|
1076
|
+
403: {
|
|
1077
|
+
headers: {
|
|
1078
|
+
[name: string]: unknown;
|
|
1079
|
+
};
|
|
1080
|
+
content?: never;
|
|
1081
|
+
};
|
|
1082
|
+
/** @description Not Found */
|
|
1083
|
+
404: {
|
|
1084
|
+
headers: {
|
|
1085
|
+
[name: string]: unknown;
|
|
1086
|
+
};
|
|
1087
|
+
content?: never;
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
deleteApp: {
|
|
1092
|
+
parameters: {
|
|
1093
|
+
query?: never;
|
|
1094
|
+
header?: never;
|
|
1095
|
+
path: {
|
|
1096
|
+
appId: string;
|
|
1097
|
+
};
|
|
1098
|
+
cookie?: never;
|
|
1099
|
+
};
|
|
1100
|
+
requestBody?: never;
|
|
1101
|
+
responses: {
|
|
1102
|
+
/** @description Accepted */
|
|
1103
|
+
202: {
|
|
1104
|
+
headers: {
|
|
1105
|
+
[name: string]: unknown;
|
|
1106
|
+
};
|
|
1107
|
+
content?: never;
|
|
1108
|
+
};
|
|
1109
|
+
/** @description Unauthorized */
|
|
1110
|
+
401: {
|
|
1111
|
+
headers: {
|
|
1112
|
+
[name: string]: unknown;
|
|
1113
|
+
};
|
|
1114
|
+
content?: never;
|
|
1115
|
+
};
|
|
1116
|
+
/** @description Forbidden */
|
|
1117
|
+
403: {
|
|
1118
|
+
headers: {
|
|
1119
|
+
[name: string]: unknown;
|
|
1120
|
+
};
|
|
1121
|
+
content?: never;
|
|
1122
|
+
};
|
|
1123
|
+
/** @description Not Found */
|
|
1124
|
+
404: {
|
|
1125
|
+
headers: {
|
|
1126
|
+
[name: string]: unknown;
|
|
1127
|
+
};
|
|
1128
|
+
content?: never;
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
patchApp: {
|
|
1133
|
+
parameters: {
|
|
1134
|
+
query?: never;
|
|
1135
|
+
header?: never;
|
|
1136
|
+
path: {
|
|
1137
|
+
appId: string;
|
|
1138
|
+
};
|
|
1139
|
+
cookie?: never;
|
|
1140
|
+
};
|
|
1141
|
+
/** @description App state */
|
|
1142
|
+
requestBody: {
|
|
1143
|
+
content: {
|
|
1144
|
+
'application/json': {
|
|
1145
|
+
/** @enum {string} */
|
|
1146
|
+
desiredState?: 'running' | 'stopped';
|
|
1147
|
+
/** Format: date-time */
|
|
1148
|
+
lastRequestTimestamp?: string;
|
|
1149
|
+
/** @description If set to `true`, the application will be restarted. Valid only in combination with the `desiredState: "running"`. */
|
|
1150
|
+
restartIfRunning?: boolean;
|
|
1151
|
+
/** @description If set, the app will be updated to the specified configuration version. Valid only in combination with the `desiredState: "running", restartIfRunning: true`. */
|
|
1152
|
+
configVersion?: string;
|
|
1153
|
+
/** @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`. */
|
|
1154
|
+
updateDependencies?: boolean;
|
|
1155
|
+
/**
|
|
1156
|
+
* @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.
|
|
1157
|
+
* @enum {string}
|
|
1158
|
+
*/
|
|
1159
|
+
mode?: 'prod' | 'dev';
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
responses: {
|
|
1164
|
+
/** @description OK */
|
|
1165
|
+
200: {
|
|
1166
|
+
headers: {
|
|
1167
|
+
[name: string]: unknown;
|
|
1168
|
+
};
|
|
1169
|
+
content: {
|
|
1170
|
+
'application/json': components['schemas']['ExistingApp'];
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
/** @description Unauthorized */
|
|
1174
|
+
401: {
|
|
1175
|
+
headers: {
|
|
1176
|
+
[name: string]: unknown;
|
|
1177
|
+
};
|
|
1178
|
+
content?: never;
|
|
1179
|
+
};
|
|
1180
|
+
/** @description Forbidden */
|
|
1181
|
+
403: {
|
|
1182
|
+
headers: {
|
|
1183
|
+
[name: string]: unknown;
|
|
1184
|
+
};
|
|
1185
|
+
content?: never;
|
|
1186
|
+
};
|
|
1187
|
+
/** @description Not Found */
|
|
1188
|
+
404: {
|
|
1189
|
+
headers: {
|
|
1190
|
+
[name: string]: unknown;
|
|
1191
|
+
};
|
|
1192
|
+
content?: never;
|
|
1193
|
+
};
|
|
1194
|
+
/** @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. */
|
|
1195
|
+
409: {
|
|
1196
|
+
headers: {
|
|
1197
|
+
[name: string]: unknown;
|
|
1198
|
+
};
|
|
1199
|
+
content?: never;
|
|
1200
|
+
};
|
|
1201
|
+
/** @description Unprocessable Entity */
|
|
1202
|
+
422: {
|
|
1203
|
+
headers: {
|
|
1204
|
+
[name: string]: unknown;
|
|
1205
|
+
};
|
|
1206
|
+
content?: never;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
getAppProxyConfig: {
|
|
1211
|
+
parameters: {
|
|
1212
|
+
query?: never;
|
|
1213
|
+
header?: {
|
|
1214
|
+
'If-None-Match'?: string;
|
|
1215
|
+
};
|
|
1216
|
+
path: {
|
|
1217
|
+
appId: string;
|
|
1218
|
+
};
|
|
1219
|
+
cookie?: never;
|
|
1220
|
+
};
|
|
1221
|
+
requestBody?: never;
|
|
1222
|
+
responses: {
|
|
1223
|
+
/** @description OK */
|
|
1224
|
+
200: {
|
|
1225
|
+
headers: {
|
|
1226
|
+
/** @description Response content hash. Client should use this value in `If-None-Match` header in following requests to avoid unnecessary responses. */
|
|
1227
|
+
ETag?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* @description Client should respect this header and cache the response for the specified time to avoid unnecessary requests.
|
|
1230
|
+
* @example max-age=30
|
|
1231
|
+
*/
|
|
1232
|
+
'Cache-Control'?: string;
|
|
1233
|
+
[name: string]: unknown;
|
|
1234
|
+
};
|
|
1235
|
+
content: {
|
|
1236
|
+
/**
|
|
1237
|
+
* @example {
|
|
1238
|
+
* "upstreamAppUrl": "http://data-app-123.sandbox.svc.cluster.local:8888",
|
|
1239
|
+
* "authProviders": [
|
|
1240
|
+
* {
|
|
1241
|
+
* "id": "okta",
|
|
1242
|
+
* "type": "oidc",
|
|
1243
|
+
* "allowedRoles": [
|
|
1244
|
+
* "user"
|
|
1245
|
+
* ],
|
|
1246
|
+
* "clientId": "foo",
|
|
1247
|
+
* "#clientSecret": "bar",
|
|
1248
|
+
* "issuerUrl": null
|
|
1249
|
+
* }
|
|
1250
|
+
* ],
|
|
1251
|
+
* "authRules": [
|
|
1252
|
+
* {
|
|
1253
|
+
* "type": "pathPrefix",
|
|
1254
|
+
* "value": "/",
|
|
1255
|
+
* "auth": [
|
|
1256
|
+
* "okta"
|
|
1257
|
+
* ]
|
|
1258
|
+
* }
|
|
1259
|
+
* ]
|
|
1260
|
+
* }
|
|
1261
|
+
*/
|
|
1262
|
+
'application/json': {
|
|
1263
|
+
appId: string;
|
|
1264
|
+
appName: string;
|
|
1265
|
+
projectId: string;
|
|
1266
|
+
upstreamAppUrl: string;
|
|
1267
|
+
authProviders: {
|
|
1268
|
+
[key: string]: {
|
|
1269
|
+
/** @description ID of the provider. Used to reference provider in `authRules`. Each provider ID must be unique. */
|
|
1270
|
+
id: string;
|
|
1271
|
+
type: string;
|
|
1272
|
+
allowedRoles?: string[];
|
|
1273
|
+
} & {
|
|
1274
|
+
[key: string]: unknown;
|
|
1275
|
+
};
|
|
1276
|
+
}[];
|
|
1277
|
+
authRules: ({
|
|
1278
|
+
type: string;
|
|
1279
|
+
auth: string[];
|
|
1280
|
+
} & {
|
|
1281
|
+
[key: string]: unknown;
|
|
1282
|
+
})[];
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
/** @description Not Modified. Returned when `If-None-Match` header is specified and the value matches the current response content hash. If returned, client should use the previous cached response. */
|
|
1287
|
+
304: {
|
|
1288
|
+
headers: {
|
|
1289
|
+
/** @description Response content hash. Client should use this value in `If-None-Match` header in following requests to avoid unnecessary responses. */
|
|
1290
|
+
ETag?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* @description Client should respect this header and cache the response for the specified time to avoid unnecessary requests.
|
|
1293
|
+
* @example max-age=30
|
|
1294
|
+
*/
|
|
1295
|
+
'Cache-Control'?: string;
|
|
1296
|
+
[name: string]: unknown;
|
|
1297
|
+
};
|
|
1298
|
+
content?: never;
|
|
1299
|
+
};
|
|
1300
|
+
/** @description Unauthorized */
|
|
1301
|
+
401: {
|
|
1302
|
+
headers: {
|
|
1303
|
+
[name: string]: unknown;
|
|
1304
|
+
};
|
|
1305
|
+
content?: never;
|
|
1306
|
+
};
|
|
1307
|
+
/** @description Forbidden */
|
|
1308
|
+
403: {
|
|
1309
|
+
headers: {
|
|
1310
|
+
[name: string]: unknown;
|
|
1311
|
+
};
|
|
1312
|
+
content?: never;
|
|
1313
|
+
};
|
|
1314
|
+
/** @description Not Found */
|
|
1315
|
+
404: {
|
|
1316
|
+
headers: {
|
|
1317
|
+
[name: string]: unknown;
|
|
1318
|
+
};
|
|
1319
|
+
content?: never;
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
getAppPassword: {
|
|
1324
|
+
parameters: {
|
|
1325
|
+
query?: never;
|
|
1326
|
+
header?: never;
|
|
1327
|
+
path: {
|
|
1328
|
+
appId: string;
|
|
1329
|
+
};
|
|
1330
|
+
cookie?: never;
|
|
1331
|
+
};
|
|
1332
|
+
requestBody?: never;
|
|
1333
|
+
responses: {
|
|
1334
|
+
/** @description OK */
|
|
1335
|
+
200: {
|
|
1336
|
+
headers: {
|
|
1337
|
+
[name: string]: unknown;
|
|
1338
|
+
};
|
|
1339
|
+
content: {
|
|
1340
|
+
'application/json': {
|
|
1341
|
+
password?: string;
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
};
|
|
1345
|
+
/** @description Unauthorized */
|
|
1346
|
+
401: {
|
|
1347
|
+
headers: {
|
|
1348
|
+
[name: string]: unknown;
|
|
1349
|
+
};
|
|
1350
|
+
content?: never;
|
|
1351
|
+
};
|
|
1352
|
+
/** @description Forbidden */
|
|
1353
|
+
403: {
|
|
1354
|
+
headers: {
|
|
1355
|
+
[name: string]: unknown;
|
|
1356
|
+
};
|
|
1357
|
+
content?: never;
|
|
1358
|
+
};
|
|
1359
|
+
/** @description Not Found */
|
|
1360
|
+
404: {
|
|
1361
|
+
headers: {
|
|
1362
|
+
[name: string]: unknown;
|
|
1363
|
+
};
|
|
1364
|
+
content?: never;
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
resetAppPassword: {
|
|
1369
|
+
parameters: {
|
|
1370
|
+
query?: never;
|
|
1371
|
+
header?: never;
|
|
1372
|
+
path: {
|
|
1373
|
+
appId: string;
|
|
1374
|
+
};
|
|
1375
|
+
cookie?: never;
|
|
1376
|
+
};
|
|
1377
|
+
requestBody?: never;
|
|
1378
|
+
responses: {
|
|
1379
|
+
/** @description OK */
|
|
1380
|
+
200: {
|
|
1381
|
+
headers: {
|
|
1382
|
+
[name: string]: unknown;
|
|
1383
|
+
};
|
|
1384
|
+
content: {
|
|
1385
|
+
'application/json': components['schemas']['ExistingApp'];
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
/** @description Unauthorized */
|
|
1389
|
+
401: {
|
|
1390
|
+
headers: {
|
|
1391
|
+
[name: string]: unknown;
|
|
1392
|
+
};
|
|
1393
|
+
content?: never;
|
|
1394
|
+
};
|
|
1395
|
+
/** @description Forbidden */
|
|
1396
|
+
403: {
|
|
1397
|
+
headers: {
|
|
1398
|
+
[name: string]: unknown;
|
|
1399
|
+
};
|
|
1400
|
+
content?: never;
|
|
1401
|
+
};
|
|
1402
|
+
/** @description Not Found */
|
|
1403
|
+
404: {
|
|
1404
|
+
headers: {
|
|
1405
|
+
[name: string]: unknown;
|
|
1406
|
+
};
|
|
1407
|
+
content?: never;
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
};
|
|
1411
|
+
getAppGitRepo: {
|
|
1412
|
+
parameters: {
|
|
1413
|
+
query?: never;
|
|
1414
|
+
header?: never;
|
|
1415
|
+
path: {
|
|
1416
|
+
appId: string;
|
|
1417
|
+
};
|
|
1418
|
+
cookie?: never;
|
|
1419
|
+
};
|
|
1420
|
+
requestBody?: never;
|
|
1421
|
+
responses: {
|
|
1422
|
+
/** @description OK */
|
|
1423
|
+
200: {
|
|
1424
|
+
headers: {
|
|
1425
|
+
[name: string]: unknown;
|
|
1426
|
+
};
|
|
1427
|
+
content: {
|
|
1428
|
+
'application/json': {
|
|
1429
|
+
/** @description SSH clone URL. `null` for externally configured repositories that use HTTP(S). */
|
|
1430
|
+
sshUrl: string | null;
|
|
1431
|
+
/** @description HTTPS clone URL. `null` for externally configured repositories that use SSH. */
|
|
1432
|
+
httpsUrl: string | null;
|
|
1433
|
+
/** @description Whether the repository is a managed Git repository provisioned by the service. */
|
|
1434
|
+
isManagedGitRepo: boolean;
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
/** @description Unauthorized */
|
|
1439
|
+
401: {
|
|
1440
|
+
headers: {
|
|
1441
|
+
[name: string]: unknown;
|
|
1442
|
+
};
|
|
1443
|
+
content?: never;
|
|
1444
|
+
};
|
|
1445
|
+
/** @description Forbidden */
|
|
1446
|
+
403: {
|
|
1447
|
+
headers: {
|
|
1448
|
+
[name: string]: unknown;
|
|
1449
|
+
};
|
|
1450
|
+
content?: never;
|
|
1451
|
+
};
|
|
1452
|
+
/** @description Not Found */
|
|
1453
|
+
404: {
|
|
1454
|
+
headers: {
|
|
1455
|
+
[name: string]: unknown;
|
|
1456
|
+
};
|
|
1457
|
+
content?: never;
|
|
1458
|
+
};
|
|
1459
|
+
/** @description App has no Git repository configured */
|
|
1460
|
+
409: {
|
|
1461
|
+
headers: {
|
|
1462
|
+
[name: string]: unknown;
|
|
1463
|
+
};
|
|
1464
|
+
content?: never;
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
listAppGitRepoCredentials: {
|
|
1469
|
+
parameters: {
|
|
1470
|
+
query?: never;
|
|
1471
|
+
header?: never;
|
|
1472
|
+
path: {
|
|
1473
|
+
appId: string;
|
|
1474
|
+
};
|
|
1475
|
+
cookie?: never;
|
|
1476
|
+
};
|
|
1477
|
+
requestBody?: never;
|
|
1478
|
+
responses: {
|
|
1479
|
+
/** @description OK */
|
|
1480
|
+
200: {
|
|
1481
|
+
headers: {
|
|
1482
|
+
[name: string]: unknown;
|
|
1483
|
+
};
|
|
1484
|
+
content: {
|
|
1485
|
+
'application/json': components['schemas']['CredentialList'];
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
/** @description Unauthorized */
|
|
1489
|
+
401: {
|
|
1490
|
+
headers: {
|
|
1491
|
+
[name: string]: unknown;
|
|
1492
|
+
};
|
|
1493
|
+
content?: never;
|
|
1494
|
+
};
|
|
1495
|
+
/** @description Forbidden — token lacks admin context or CanManageApp fails */
|
|
1496
|
+
403: {
|
|
1497
|
+
headers: {
|
|
1498
|
+
[name: string]: unknown;
|
|
1499
|
+
};
|
|
1500
|
+
content?: never;
|
|
1501
|
+
};
|
|
1502
|
+
/** @description App not found */
|
|
1503
|
+
404: {
|
|
1504
|
+
headers: {
|
|
1505
|
+
[name: string]: unknown;
|
|
1506
|
+
};
|
|
1507
|
+
content?: never;
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
createAppGitRepoCredential: {
|
|
1512
|
+
parameters: {
|
|
1513
|
+
query?: never;
|
|
1514
|
+
header?: never;
|
|
1515
|
+
path: {
|
|
1516
|
+
appId: string;
|
|
1517
|
+
};
|
|
1518
|
+
cookie?: never;
|
|
1519
|
+
};
|
|
1520
|
+
requestBody: {
|
|
1521
|
+
content: {
|
|
1522
|
+
'application/json': components['schemas']['CreateCredentialRequest'];
|
|
1523
|
+
};
|
|
1524
|
+
};
|
|
1525
|
+
responses: {
|
|
1526
|
+
/** @description Created */
|
|
1527
|
+
201: {
|
|
1528
|
+
headers: {
|
|
1529
|
+
[name: string]: unknown;
|
|
1530
|
+
};
|
|
1531
|
+
content: {
|
|
1532
|
+
'application/json': components['schemas']['CreatedCredential'];
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
/** @description Bad Request — invalid payload (wrong type/publicKey combination, missing required fields) */
|
|
1536
|
+
400: {
|
|
1537
|
+
headers: {
|
|
1538
|
+
[name: string]: unknown;
|
|
1539
|
+
};
|
|
1540
|
+
content?: never;
|
|
1541
|
+
};
|
|
1542
|
+
/** @description Unauthorized */
|
|
1543
|
+
401: {
|
|
1544
|
+
headers: {
|
|
1545
|
+
[name: string]: unknown;
|
|
1546
|
+
};
|
|
1547
|
+
content?: never;
|
|
1548
|
+
};
|
|
1549
|
+
/** @description Forbidden — token lacks admin context or CanManageApp fails */
|
|
1550
|
+
403: {
|
|
1551
|
+
headers: {
|
|
1552
|
+
[name: string]: unknown;
|
|
1553
|
+
};
|
|
1554
|
+
content?: never;
|
|
1555
|
+
};
|
|
1556
|
+
/** @description App not found */
|
|
1557
|
+
404: {
|
|
1558
|
+
headers: {
|
|
1559
|
+
[name: string]: unknown;
|
|
1560
|
+
};
|
|
1561
|
+
content?: never;
|
|
1562
|
+
};
|
|
1563
|
+
/** @description App has no managed Git repository */
|
|
1564
|
+
409: {
|
|
1565
|
+
headers: {
|
|
1566
|
+
[name: string]: unknown;
|
|
1567
|
+
};
|
|
1568
|
+
content?: never;
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
getAppGitRepoCredential: {
|
|
1573
|
+
parameters: {
|
|
1574
|
+
query?: never;
|
|
1575
|
+
header?: never;
|
|
1576
|
+
path: {
|
|
1577
|
+
appId: string;
|
|
1578
|
+
credentialId: string;
|
|
1579
|
+
};
|
|
1580
|
+
cookie?: never;
|
|
1581
|
+
};
|
|
1582
|
+
requestBody?: never;
|
|
1583
|
+
responses: {
|
|
1584
|
+
/** @description OK */
|
|
1585
|
+
200: {
|
|
1586
|
+
headers: {
|
|
1587
|
+
[name: string]: unknown;
|
|
1588
|
+
};
|
|
1589
|
+
content: {
|
|
1590
|
+
'application/json': components['schemas']['Credential'];
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1593
|
+
/** @description Unauthorized */
|
|
1594
|
+
401: {
|
|
1595
|
+
headers: {
|
|
1596
|
+
[name: string]: unknown;
|
|
1597
|
+
};
|
|
1598
|
+
content?: never;
|
|
1599
|
+
};
|
|
1600
|
+
/** @description Forbidden — token lacks admin context or CanManageApp fails */
|
|
1601
|
+
403: {
|
|
1602
|
+
headers: {
|
|
1603
|
+
[name: string]: unknown;
|
|
1604
|
+
};
|
|
1605
|
+
content?: never;
|
|
1606
|
+
};
|
|
1607
|
+
/** @description App or credential not found */
|
|
1608
|
+
404: {
|
|
1609
|
+
headers: {
|
|
1610
|
+
[name: string]: unknown;
|
|
1611
|
+
};
|
|
1612
|
+
content?: never;
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
deleteAppGitRepoCredential: {
|
|
1617
|
+
parameters: {
|
|
1618
|
+
query?: never;
|
|
1619
|
+
header?: never;
|
|
1620
|
+
path: {
|
|
1621
|
+
appId: string;
|
|
1622
|
+
credentialId: string;
|
|
1623
|
+
};
|
|
1624
|
+
cookie?: never;
|
|
1625
|
+
};
|
|
1626
|
+
requestBody?: never;
|
|
1627
|
+
responses: {
|
|
1628
|
+
/** @description No Content */
|
|
1629
|
+
204: {
|
|
1630
|
+
headers: {
|
|
1631
|
+
[name: string]: unknown;
|
|
1632
|
+
};
|
|
1633
|
+
content?: never;
|
|
1634
|
+
};
|
|
1635
|
+
/** @description Unauthorized */
|
|
1636
|
+
401: {
|
|
1637
|
+
headers: {
|
|
1638
|
+
[name: string]: unknown;
|
|
1639
|
+
};
|
|
1640
|
+
content?: never;
|
|
1641
|
+
};
|
|
1642
|
+
/** @description Forbidden — token lacks admin context or CanManageApp fails */
|
|
1643
|
+
403: {
|
|
1644
|
+
headers: {
|
|
1645
|
+
[name: string]: unknown;
|
|
1646
|
+
};
|
|
1647
|
+
content?: never;
|
|
1648
|
+
};
|
|
1649
|
+
/** @description App or credential not found */
|
|
1650
|
+
404: {
|
|
1651
|
+
headers: {
|
|
1652
|
+
[name: string]: unknown;
|
|
1653
|
+
};
|
|
1654
|
+
content?: never;
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
downloadAppLogs: {
|
|
1659
|
+
parameters: {
|
|
1660
|
+
query?: never;
|
|
1661
|
+
header?: never;
|
|
1662
|
+
path: {
|
|
1663
|
+
appId: string;
|
|
1664
|
+
};
|
|
1665
|
+
cookie?: never;
|
|
1666
|
+
};
|
|
1667
|
+
requestBody?: never;
|
|
1668
|
+
responses: {
|
|
1669
|
+
/** @description OK */
|
|
1670
|
+
200: {
|
|
1671
|
+
headers: {
|
|
1672
|
+
[name: string]: unknown;
|
|
1673
|
+
};
|
|
1674
|
+
content: {
|
|
1675
|
+
'text/plain': string;
|
|
1676
|
+
};
|
|
1677
|
+
};
|
|
1678
|
+
/** @description Unauthorized */
|
|
1679
|
+
401: {
|
|
1680
|
+
headers: {
|
|
1681
|
+
[name: string]: unknown;
|
|
1682
|
+
};
|
|
1683
|
+
content?: never;
|
|
1684
|
+
};
|
|
1685
|
+
/** @description Forbidden */
|
|
1686
|
+
403: {
|
|
1687
|
+
headers: {
|
|
1688
|
+
[name: string]: unknown;
|
|
1689
|
+
};
|
|
1690
|
+
content?: never;
|
|
1691
|
+
};
|
|
1692
|
+
/** @description Not Found */
|
|
1693
|
+
404: {
|
|
1694
|
+
headers: {
|
|
1695
|
+
[name: string]: unknown;
|
|
1696
|
+
};
|
|
1697
|
+
content?: never;
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
tailAppLogs: {
|
|
1702
|
+
parameters: {
|
|
1703
|
+
query?: {
|
|
1704
|
+
since?: string;
|
|
1705
|
+
lines?: number;
|
|
1706
|
+
};
|
|
1707
|
+
header?: never;
|
|
1708
|
+
path: {
|
|
1709
|
+
appId: string;
|
|
1710
|
+
};
|
|
1711
|
+
cookie?: never;
|
|
1712
|
+
};
|
|
1713
|
+
requestBody?: never;
|
|
1714
|
+
responses: {
|
|
1715
|
+
/** @description OK */
|
|
1716
|
+
200: {
|
|
1717
|
+
headers: {
|
|
1718
|
+
[name: string]: unknown;
|
|
1719
|
+
};
|
|
1720
|
+
content: {
|
|
1721
|
+
'text/plain': string;
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1724
|
+
/** @description Unauthorized */
|
|
1725
|
+
401: {
|
|
1726
|
+
headers: {
|
|
1727
|
+
[name: string]: unknown;
|
|
1728
|
+
};
|
|
1729
|
+
content?: never;
|
|
1730
|
+
};
|
|
1731
|
+
/** @description Forbidden */
|
|
1732
|
+
403: {
|
|
1733
|
+
headers: {
|
|
1734
|
+
[name: string]: unknown;
|
|
1735
|
+
};
|
|
1736
|
+
content?: never;
|
|
1737
|
+
};
|
|
1738
|
+
/** @description Not Found */
|
|
1739
|
+
404: {
|
|
1740
|
+
headers: {
|
|
1741
|
+
[name: string]: unknown;
|
|
1742
|
+
};
|
|
1743
|
+
content?: never;
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
listAppRuns: {
|
|
1748
|
+
parameters: {
|
|
1749
|
+
query?: {
|
|
1750
|
+
offset?: number;
|
|
1751
|
+
limit?: number;
|
|
1752
|
+
};
|
|
1753
|
+
header?: never;
|
|
1754
|
+
path: {
|
|
1755
|
+
appId: string;
|
|
1756
|
+
};
|
|
1757
|
+
cookie?: never;
|
|
1758
|
+
};
|
|
1759
|
+
requestBody?: never;
|
|
1760
|
+
responses: {
|
|
1761
|
+
/** @description OK */
|
|
1762
|
+
200: {
|
|
1763
|
+
headers: {
|
|
1764
|
+
[name: string]: unknown;
|
|
1765
|
+
};
|
|
1766
|
+
content: {
|
|
1767
|
+
'application/json': components['schemas']['AppRun'][];
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1770
|
+
/** @description Unauthorized */
|
|
1771
|
+
401: {
|
|
1772
|
+
headers: {
|
|
1773
|
+
[name: string]: unknown;
|
|
1774
|
+
};
|
|
1775
|
+
content?: never;
|
|
1776
|
+
};
|
|
1777
|
+
/** @description Forbidden */
|
|
1778
|
+
403: {
|
|
1779
|
+
headers: {
|
|
1780
|
+
[name: string]: unknown;
|
|
1781
|
+
};
|
|
1782
|
+
content?: never;
|
|
1783
|
+
};
|
|
1784
|
+
/** @description Not Found */
|
|
1785
|
+
404: {
|
|
1786
|
+
headers: {
|
|
1787
|
+
[name: string]: unknown;
|
|
1788
|
+
};
|
|
1789
|
+
content?: never;
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
getAppRun: {
|
|
1794
|
+
parameters: {
|
|
1795
|
+
query?: never;
|
|
1796
|
+
header?: never;
|
|
1797
|
+
path: {
|
|
1798
|
+
appId: string;
|
|
1799
|
+
runId: string;
|
|
1800
|
+
};
|
|
1801
|
+
cookie?: never;
|
|
1802
|
+
};
|
|
1803
|
+
requestBody?: never;
|
|
1804
|
+
responses: {
|
|
1805
|
+
/** @description OK */
|
|
1806
|
+
200: {
|
|
1807
|
+
headers: {
|
|
1808
|
+
[name: string]: unknown;
|
|
1809
|
+
};
|
|
1810
|
+
content: {
|
|
1811
|
+
'application/json': components['schemas']['AppRun'];
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
/** @description Unauthorized */
|
|
1815
|
+
401: {
|
|
1816
|
+
headers: {
|
|
1817
|
+
[name: string]: unknown;
|
|
1818
|
+
};
|
|
1819
|
+
content?: never;
|
|
1820
|
+
};
|
|
1821
|
+
/** @description Forbidden */
|
|
1822
|
+
403: {
|
|
1823
|
+
headers: {
|
|
1824
|
+
[name: string]: unknown;
|
|
1825
|
+
};
|
|
1826
|
+
content?: never;
|
|
1827
|
+
};
|
|
1828
|
+
/** @description Not Found */
|
|
1829
|
+
404: {
|
|
1830
|
+
headers: {
|
|
1831
|
+
[name: string]: unknown;
|
|
1832
|
+
};
|
|
1833
|
+
content?: never;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
createSandbox: {
|
|
1838
|
+
parameters: {
|
|
1839
|
+
query?: never;
|
|
1840
|
+
header?: never;
|
|
1841
|
+
path?: never;
|
|
1842
|
+
cookie?: never;
|
|
1843
|
+
};
|
|
1844
|
+
requestBody: {
|
|
1845
|
+
content: {
|
|
1846
|
+
'application/json': {
|
|
1847
|
+
/** @description Keboola component ID (e.g. keboola.sandboxes) */
|
|
1848
|
+
componentId: string;
|
|
1849
|
+
/** @description Keboola configuration ID */
|
|
1850
|
+
configurationId: string;
|
|
1851
|
+
/** @description Configuration version to use. If omitted, the latest version is resolved automatically. */
|
|
1852
|
+
configurationVersion?: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* @description Sandbox type
|
|
1855
|
+
* @enum {string}
|
|
1856
|
+
*/
|
|
1857
|
+
type: 'python' | 'r' | 'snowflake' | 'bigquery' | 'streamlit' | 'python-js';
|
|
1858
|
+
/** @description Physical identifier of the underlying resource (e.g. Snowflake schema name) */
|
|
1859
|
+
physicalId?: string;
|
|
1860
|
+
/** @description Hostname of the underlying resource */
|
|
1861
|
+
host: string;
|
|
1862
|
+
/** @enum {string|null} */
|
|
1863
|
+
size?: 'micro' | 'tiny' | 'small' | 'medium' | 'large' | null;
|
|
1864
|
+
branchId?: string | null;
|
|
1865
|
+
user?: string | null;
|
|
1866
|
+
password?: string | null;
|
|
1867
|
+
url?: string | null;
|
|
1868
|
+
active?: boolean;
|
|
1869
|
+
shared?: boolean;
|
|
1870
|
+
imageVersion?: string | null;
|
|
1871
|
+
/** @deprecated */
|
|
1872
|
+
packages?: string[];
|
|
1873
|
+
autoSuspendAfterSeconds?: number | null;
|
|
1874
|
+
} & {
|
|
1875
|
+
[key: string]: unknown;
|
|
1876
|
+
};
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
responses: {
|
|
1880
|
+
/** @description Sandbox created successfully */
|
|
1881
|
+
201: {
|
|
1882
|
+
headers: {
|
|
1883
|
+
[name: string]: unknown;
|
|
1884
|
+
};
|
|
1885
|
+
content: {
|
|
1886
|
+
'application/json': components['schemas']['SandboxResponse'];
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
/** @description Unauthorized */
|
|
1890
|
+
401: {
|
|
1891
|
+
headers: {
|
|
1892
|
+
[name: string]: unknown;
|
|
1893
|
+
};
|
|
1894
|
+
content?: never;
|
|
1895
|
+
};
|
|
1896
|
+
/** @description Forbidden */
|
|
1897
|
+
403: {
|
|
1898
|
+
headers: {
|
|
1899
|
+
[name: string]: unknown;
|
|
1900
|
+
};
|
|
1901
|
+
content?: never;
|
|
1902
|
+
};
|
|
1903
|
+
/** @description Unprocessable Entity */
|
|
1904
|
+
422: {
|
|
1905
|
+
headers: {
|
|
1906
|
+
[name: string]: unknown;
|
|
1907
|
+
};
|
|
1908
|
+
content?: never;
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
getSandbox: {
|
|
1913
|
+
parameters: {
|
|
1914
|
+
query?: never;
|
|
1915
|
+
header?: never;
|
|
1916
|
+
path: {
|
|
1917
|
+
appId: string;
|
|
1918
|
+
};
|
|
1919
|
+
cookie?: never;
|
|
1920
|
+
};
|
|
1921
|
+
requestBody?: never;
|
|
1922
|
+
responses: {
|
|
1923
|
+
/** @description OK */
|
|
1924
|
+
200: {
|
|
1925
|
+
headers: {
|
|
1926
|
+
[name: string]: unknown;
|
|
1927
|
+
};
|
|
1928
|
+
content: {
|
|
1929
|
+
'application/json': components['schemas']['SandboxResponse'];
|
|
1930
|
+
};
|
|
1931
|
+
};
|
|
1932
|
+
/** @description Unauthorized */
|
|
1933
|
+
401: {
|
|
1934
|
+
headers: {
|
|
1935
|
+
[name: string]: unknown;
|
|
1936
|
+
};
|
|
1937
|
+
content?: never;
|
|
1938
|
+
};
|
|
1939
|
+
/** @description Forbidden */
|
|
1940
|
+
403: {
|
|
1941
|
+
headers: {
|
|
1942
|
+
[name: string]: unknown;
|
|
1943
|
+
};
|
|
1944
|
+
content?: never;
|
|
1945
|
+
};
|
|
1946
|
+
/** @description Sandbox not found */
|
|
1947
|
+
404: {
|
|
1948
|
+
headers: {
|
|
1949
|
+
[name: string]: unknown;
|
|
1950
|
+
};
|
|
1951
|
+
content?: never;
|
|
1952
|
+
};
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
deleteSandbox: {
|
|
1956
|
+
parameters: {
|
|
1957
|
+
query?: never;
|
|
1958
|
+
header?: never;
|
|
1959
|
+
path: {
|
|
1960
|
+
appId: string;
|
|
1961
|
+
};
|
|
1962
|
+
cookie?: never;
|
|
1963
|
+
};
|
|
1964
|
+
requestBody?: never;
|
|
1965
|
+
responses: {
|
|
1966
|
+
/** @description Sandbox deleted successfully */
|
|
1967
|
+
204: {
|
|
1968
|
+
headers: {
|
|
1969
|
+
[name: string]: unknown;
|
|
1970
|
+
};
|
|
1971
|
+
content?: never;
|
|
1972
|
+
};
|
|
1973
|
+
/** @description Unauthorized */
|
|
1974
|
+
401: {
|
|
1975
|
+
headers: {
|
|
1976
|
+
[name: string]: unknown;
|
|
1977
|
+
};
|
|
1978
|
+
content?: never;
|
|
1979
|
+
};
|
|
1980
|
+
/** @description Forbidden */
|
|
1981
|
+
403: {
|
|
1982
|
+
headers: {
|
|
1983
|
+
[name: string]: unknown;
|
|
1984
|
+
};
|
|
1985
|
+
content?: never;
|
|
1986
|
+
};
|
|
1987
|
+
/** @description Sandbox not found */
|
|
1988
|
+
404: {
|
|
1989
|
+
headers: {
|
|
1990
|
+
[name: string]: unknown;
|
|
1991
|
+
};
|
|
1992
|
+
content?: never;
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
patchSandbox: {
|
|
1997
|
+
parameters: {
|
|
1998
|
+
query?: never;
|
|
1999
|
+
header?: never;
|
|
2000
|
+
path: {
|
|
2001
|
+
appId: string;
|
|
2002
|
+
};
|
|
2003
|
+
cookie?: never;
|
|
2004
|
+
};
|
|
2005
|
+
requestBody: {
|
|
2006
|
+
content: {
|
|
2007
|
+
'application/json': {
|
|
2008
|
+
configurationVersion: string;
|
|
2009
|
+
active?: boolean | null;
|
|
2010
|
+
url?: string | null;
|
|
2011
|
+
expirationAfterHours?: number | null;
|
|
2012
|
+
autoSuspendAfterSeconds?: number | null;
|
|
2013
|
+
password?: string | null;
|
|
2014
|
+
/** @description Persistent volume claim data; populated by the sandboxes component after PVC provisioning. */
|
|
2015
|
+
persistentStorage?: {
|
|
2016
|
+
/** @description Name of the PVC in Kubernetes (e.g. "sandbox-123"). */
|
|
2017
|
+
pvcName?: string | null;
|
|
2018
|
+
/** @description Serialized YAML of the PVC Kubernetes manifest. */
|
|
2019
|
+
k8sManifest?: string | null;
|
|
2020
|
+
/** @description Whether persistent storage is enabled for this sandbox. */
|
|
2021
|
+
isEnabled?: boolean;
|
|
2022
|
+
/** @description Whether the project-level persistent storage is ready. */
|
|
2023
|
+
ready?: boolean | null;
|
|
2024
|
+
/** @description Kubernetes StorageClass name for the project's persistent storage. */
|
|
2025
|
+
k8sStorageClassName?: string | null;
|
|
2026
|
+
} | null;
|
|
2027
|
+
/** @description Size parameters for the sandbox; used to store the PVC storage size. */
|
|
2028
|
+
sizeParameters?: {
|
|
2029
|
+
/** @description PVC storage size in GB. */
|
|
2030
|
+
storageSize_GB?: number | null;
|
|
2031
|
+
} | null;
|
|
2032
|
+
} & {
|
|
2033
|
+
[key: string]: unknown;
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
2036
|
+
};
|
|
2037
|
+
responses: {
|
|
2038
|
+
/** @description Sandbox updated successfully. */
|
|
2039
|
+
200: {
|
|
2040
|
+
headers: {
|
|
2041
|
+
[name: string]: unknown;
|
|
2042
|
+
};
|
|
2043
|
+
content: {
|
|
2044
|
+
'application/json': components['schemas']['SandboxResponse'];
|
|
2045
|
+
};
|
|
2046
|
+
};
|
|
2047
|
+
/** @description Unauthorized */
|
|
2048
|
+
401: {
|
|
2049
|
+
headers: {
|
|
2050
|
+
[name: string]: unknown;
|
|
2051
|
+
};
|
|
2052
|
+
content?: never;
|
|
2053
|
+
};
|
|
2054
|
+
/** @description Forbidden */
|
|
2055
|
+
403: {
|
|
2056
|
+
headers: {
|
|
2057
|
+
[name: string]: unknown;
|
|
2058
|
+
};
|
|
2059
|
+
content?: never;
|
|
2060
|
+
};
|
|
2061
|
+
/** @description Sandbox not found */
|
|
2062
|
+
404: {
|
|
2063
|
+
headers: {
|
|
2064
|
+
[name: string]: unknown;
|
|
2065
|
+
};
|
|
2066
|
+
content?: never;
|
|
2067
|
+
};
|
|
2068
|
+
/** @description Unprocessable Entity */
|
|
2069
|
+
422: {
|
|
2070
|
+
headers: {
|
|
2071
|
+
[name: string]: unknown;
|
|
2072
|
+
};
|
|
2073
|
+
content?: never;
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2076
|
+
};
|
|
2077
|
+
getCurrentProject: {
|
|
2078
|
+
parameters: {
|
|
2079
|
+
query?: never;
|
|
2080
|
+
header?: never;
|
|
2081
|
+
path?: never;
|
|
2082
|
+
cookie?: never;
|
|
2083
|
+
};
|
|
2084
|
+
requestBody?: never;
|
|
2085
|
+
responses: {
|
|
2086
|
+
/** @description OK */
|
|
2087
|
+
200: {
|
|
2088
|
+
headers: {
|
|
2089
|
+
[name: string]: unknown;
|
|
2090
|
+
};
|
|
2091
|
+
content: {
|
|
2092
|
+
'application/json': {
|
|
2093
|
+
id?: string;
|
|
2094
|
+
/** Format: date-time */
|
|
2095
|
+
createdTimestamp?: string;
|
|
2096
|
+
/** Format: date-time */
|
|
2097
|
+
updatedTimestamp?: string;
|
|
2098
|
+
persistentStorage?: {
|
|
2099
|
+
ready?: boolean | null;
|
|
2100
|
+
k8sStorageClassName?: string | null;
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
/** @description Project not found */
|
|
2106
|
+
404: {
|
|
2107
|
+
headers: {
|
|
2108
|
+
[name: string]: unknown;
|
|
2109
|
+
};
|
|
2110
|
+
content?: never;
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
listRuntimes: {
|
|
2115
|
+
parameters: {
|
|
2116
|
+
query?: {
|
|
2117
|
+
type?: string;
|
|
2118
|
+
includeExpired?: boolean;
|
|
2119
|
+
limit?: number;
|
|
2120
|
+
offset?: number;
|
|
2121
|
+
};
|
|
2122
|
+
header?: never;
|
|
2123
|
+
path?: never;
|
|
2124
|
+
cookie?: never;
|
|
2125
|
+
};
|
|
2126
|
+
requestBody?: never;
|
|
2127
|
+
responses: {
|
|
2128
|
+
/** @description OK */
|
|
2129
|
+
200: {
|
|
2130
|
+
headers: {
|
|
2131
|
+
[name: string]: unknown;
|
|
2132
|
+
};
|
|
2133
|
+
content: {
|
|
2134
|
+
'application/json': components['schemas']['Runtime'][];
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
type GetAppsQuery = OpenapiQueryType<paths['/apps']['get']>;
|
|
2142
|
+
type CreateDataAppBody = OpenapiBodyType<paths['/apps']['post']>;
|
|
2143
|
+
type GetDataAppPath = OpenapiPathType<paths['/apps/{appId}']['get']>;
|
|
2144
|
+
type DeleteDataAppPath = OpenapiPathType<paths['/apps/{appId}']['delete']>;
|
|
2145
|
+
type GetDataAppPasswordPath = OpenapiPathType<paths['/apps/{appId}/password']['get']>;
|
|
2146
|
+
type ResetDataAppPasswordPath = OpenapiPathType<paths['/apps/{appId}/reset-password']['post']>;
|
|
2147
|
+
type GetDataAppRunsPath = OpenapiPathType<paths['/apps/{appId}/runs']['get']>;
|
|
2148
|
+
type GetDataAppRunsQuery = OpenapiQueryType<paths['/apps/{appId}/runs']['get']>;
|
|
2149
|
+
type GetDataAppRunPath = OpenapiPathType<paths['/apps/{appId}/runs/{runId}']['get']>;
|
|
2150
|
+
type RawAppRun = OpenapiReturnType<paths['/apps/{appId}/runs']['get']>[number];
|
|
2151
|
+
type DataAppRun = Omit<RawAppRun, 'state'> & {
|
|
2152
|
+
state: 'running' | 'failed' | 'starting' | 'finished';
|
|
2153
|
+
};
|
|
2154
|
+
type GetDataAppLogsDownloadPath = OpenapiPathType<paths['/apps/{appId}/logs/download']['get']>;
|
|
2155
|
+
type GetDataAppLogsTailPath = OpenapiPathType<paths['/apps/{appId}/logs/tail']['get']>;
|
|
2156
|
+
type GetDataAppLogsTailQuery = OpenapiQueryType<paths['/apps/{appId}/logs/tail']['get']>;
|
|
2157
|
+
type GetSandboxPath = OpenapiPathType<paths['/sandboxes/{appId}']['get']>;
|
|
2158
|
+
type DeleteSandboxPath = OpenapiPathType<paths['/sandboxes/{appId}']['delete']>;
|
|
2159
|
+
type DataApp = OpenapiReturnType<paths['/apps/{appId}']['get']>;
|
|
2160
|
+
type Sandbox = OpenapiReturnType<paths['/sandboxes/{appId}']['get']>;
|
|
2161
|
+
type Runtime = OpenapiReturnType<paths['/runtimes']['get']>[number];
|
|
2162
|
+
type RuntimeImageKey = Extract<keyof Runtime, 'imageTag' | 'sandboxImageTag' | 'transformationComponentTag'>;
|
|
2163
|
+
type PatchDataAppPath = OpenapiPathType<paths['/apps/{appId}']['patch']>;
|
|
2164
|
+
type PatchDataAppBodyRunning = {
|
|
2165
|
+
desiredState: 'running';
|
|
2166
|
+
} & Omit<OpenapiBodyType<paths['/apps/{appId}']['patch']>, 'desiredState'>;
|
|
2167
|
+
type PatchDataAppBodyStopped = {
|
|
2168
|
+
desiredState: 'stopped';
|
|
2169
|
+
};
|
|
2170
|
+
type PatchDataAppBody = PatchDataAppBodyRunning | PatchDataAppBodyStopped;
|
|
2171
|
+
|
|
2172
|
+
export type { CreateDataAppBody, DataApp, DataAppRun, DeleteDataAppPath, DeleteSandboxPath, GetAppsQuery, GetDataAppLogsDownloadPath, GetDataAppLogsTailPath, GetDataAppLogsTailQuery, GetDataAppPasswordPath, GetDataAppPath, GetDataAppRunPath, GetDataAppRunsPath, GetDataAppRunsQuery, GetSandboxPath, PatchDataAppBody, PatchDataAppPath, RawAppRun, ResetDataAppPasswordPath, Runtime, RuntimeImageKey, Sandbox };
|