@keboola/api-client 24.0.0 → 27.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +489 -0
- package/API-SURFACE.md +129 -57
- package/README.md +29 -25
- package/dist/{ManagementClientAuthError-C7q1Jd9I.d.ts → ManagementClientAuthError-4J0S5tV-.d.ts} +1 -1
- package/dist/{ManagementClientAuthError-BuqHAOBO.d.cts → ManagementClientAuthError-CyDpa4NS.d.cts} +1 -1
- 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 +6 -3
- package/dist/ai/index.d.ts +6 -3
- 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.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +17 -13
- package/dist/auth/index.d.cts +19 -6
- package/dist/auth/index.d.ts +19 -6
- 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 +6 -3
- package/dist/chat/index.d.ts +6 -3
- 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-5SR2L35Y.cjs +1828 -0
- 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-D3ZZQIY2.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-D6O5C67S.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-KH6BHTXN.js → chunk-HGKDXF35.js} +59 -108
- package/dist/chunk-HGKDXF35.js.map +1 -0
- package/dist/chunk-HITKHHWN.cjs +174 -0
- package/dist/chunk-HITKHHWN.cjs.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-LNZP2O4P.js +169 -0
- package/dist/chunk-LNZP2O4P.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-N4COL54U.cjs +22 -0
- package/dist/chunk-N4COL54U.cjs.map +1 -0
- 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-XMC355U2.js → chunk-NHYL5QPM.js} +17 -3
- package/dist/chunk-NHYL5QPM.js.map +1 -0
- package/dist/{chunk-WFXW4XU3.js → chunk-ON4ILCHP.js} +899 -555
- 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-35MODDCL.cjs → chunk-VB56OVFM.cjs} +59 -111
- 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-3KEVPUSX.cjs → chunk-WUJ53PP7.cjs} +17 -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/chunk-YGEJDWGG.js +19 -0
- package/dist/chunk-YGEJDWGG.js.map +1 -0
- package/dist/constants/index.cjs +16 -164
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +14 -1
- package/dist/constants/index.d.ts +14 -1
- package/dist/constants/index.js +2 -163
- package/dist/constants/index.js.map +1 -1
- package/dist/createFetchClient-BHAsPDgF.d.cts +86 -0
- package/dist/createFetchClient-CFIwc6Lh.d.ts +86 -0
- package/dist/{createGenericFetchClient-Df_wFqT8.d.cts → createGenericFetchClient-JcbIIqwF.d.cts} +1 -1
- package/dist/{createGenericFetchClient-Sl1DH71J.d.ts → createGenericFetchClient-ZGG5wbAC.d.ts} +1 -1
- package/dist/{createOpenapiFetchClient-GZxZgYHd.d.cts → createOpenapiFetchClient-CduEua6F.d.cts} +2 -2
- package/dist/{createOpenapiFetchClient-BSy6dVM5.d.ts → createOpenapiFetchClient-wLlVgp3k.d.ts} +2 -2
- package/dist/dataScience/index.cjs +6 -5
- package/dist/dataScience/index.d.cts +8 -6
- package/dist/dataScience/index.d.ts +8 -6
- 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 +6 -3
- package/dist/editor/index.d.ts +6 -3
- 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 +6 -4
- package/dist/encryption/index.d.ts +6 -4
- 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 +6 -3
- package/dist/import/index.d.ts +6 -3
- package/dist/import/index.js +3 -3
- package/dist/index.cjs +228 -135
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +952 -463
- package/dist/index.d.ts +952 -463
- package/dist/index.js +98 -46
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +62 -69
- package/dist/management/index.d.ts +62 -69
- 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 +6 -7
- package/dist/metastore/index.d.ts +6 -7
- 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 +4 -3
- package/dist/notifications/index.d.ts +4 -3
- 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 +3 -2
- package/dist/oauth/index.d.ts +3 -2
- 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-DmC8vKnh.d.ts → project-Dmr-zrQG.d.ts} +2 -2
- package/dist/{project-CSJzVylj.d.cts → project-DstzWVMN.d.cts} +2 -2
- package/dist/queryService/index.cjs +4 -4
- package/dist/queryService/index.d.cts +4 -3
- package/dist/queryService/index.d.ts +4 -3
- 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 +9 -3
- package/dist/queue/index.d.ts +9 -3
- 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 +3 -2
- package/dist/scheduler/index.d.ts +3 -2
- 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 +9 -8
- package/dist/sdk/configurations/index.d.ts +9 -8
- 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 +26 -11
- package/dist/sdk/semanticLayer/index.d.ts +26 -11
- package/dist/sdk/semanticLayer/index.js +2 -2
- package/dist/sdk/semanticLayer/types.d.cts +26 -6
- package/dist/sdk/semanticLayer/types.d.ts +26 -6
- package/dist/sdk/storage/index.cjs +12 -11
- package/dist/sdk/storage/index.d.cts +9 -8
- package/dist/sdk/storage/index.d.ts +9 -8
- package/dist/sdk/storage/index.js +2 -1
- package/dist/sdk/tag/index.cjs +3 -3
- package/dist/sdk/tag/index.d.cts +4 -4
- package/dist/sdk/tag/index.d.ts +4 -4
- package/dist/sdk/tag/index.js +2 -2
- package/dist/sdk/tag/types.d.cts +11 -5
- package/dist/sdk/tag/types.d.ts +11 -5
- package/dist/sdk/vault/index.cjs +8 -8
- package/dist/sdk/vault/index.d.cts +6 -5
- package/dist/sdk/vault/index.d.ts +6 -5
- package/dist/sdk/vault/index.js +2 -2
- package/dist/status/index.cjs +2 -2
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +59 -12
- package/dist/storage/index.d.cts +21 -22
- package/dist/storage/index.d.ts +21 -22
- package/dist/storage/index.js +8 -5
- package/dist/storage/types.d.cts +741 -390
- package/dist/storage/types.d.ts +741 -390
- package/dist/{storageClient-B4OooGB9.d.ts → storageClient-BAid0vi2.d.cts} +482 -250
- package/dist/{storageClient-CdFqTbn3.d.cts → storageClient-BX50Attd.d.ts} +482 -250
- package/dist/{storageSdk-DA7U-1Hy.d.ts → storageSdk-BS5982c_.d.cts} +23 -16
- package/dist/{storageSdk-U45zMbUb.d.cts → storageSdk-BeJcnEIO.d.ts} +23 -16
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.d.cts +4 -3
- package/dist/stream/index.d.ts +4 -3
- 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 +9 -4
- package/dist/syncActions/index.d.cts +55 -80
- package/dist/syncActions/index.d.ts +55 -80
- package/dist/syncActions/index.js +8 -3
- package/dist/syncActions/types.d.cts +387 -25
- package/dist/syncActions/types.d.ts +387 -25
- package/dist/telemetry/index.cjs +4 -4
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- 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-WGZN6XLN.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-Brc6lq7i.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-BhlJw2f2.d.ts → types-EZBBpiFU.d.ts} +886 -114
- package/dist/{types-DNg4M5JV.d.cts → types-UwuKN9Kx.d.cts} +1 -1
- package/dist/{types-DNg4M5JV.d.ts → types-UwuKN9Kx.d.ts} +1 -1
- package/dist/{types-BX1xr4CX.d.cts → types-Y1ynT2PH.d.cts} +15 -3
- package/dist/{types-DVhcwrwN.d.cts → types-cxk-0ftN.d.cts} +886 -114
- 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 +3 -2
- package/dist/vault/index.d.ts +3 -2
- 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 +2 -1
- 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 +2 -1
- 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 +8 -7
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +17 -17
- package/surface/storage.md +125 -88
- package/surface/stream.md +1 -0
- package/surface/syncActions.md +19 -7
- package/surface/vault.md +1 -0
- package/dist/chunk-34GM6NXB.js.map +0 -1
- package/dist/chunk-35MODDCL.cjs.map +0 -1
- package/dist/chunk-3BFPNM2J.js.map +0 -1
- package/dist/chunk-3FZHFTLG.cjs +0 -12
- package/dist/chunk-3FZHFTLG.cjs.map +0 -1
- package/dist/chunk-3KEVPUSX.cjs.map +0 -1
- package/dist/chunk-3MTY6I2W.js +0 -192
- package/dist/chunk-3MTY6I2W.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-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-D3ZZQIY2.cjs.map +0 -1
- package/dist/chunk-D6O5C67S.js.map +0 -1
- package/dist/chunk-DRNOCC6W.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-GM3AKU5T.js +0 -10
- package/dist/chunk-GM3AKU5T.js.map +0 -1
- package/dist/chunk-HMCZUHR7.js.map +0 -1
- package/dist/chunk-HY7J3OD3.cjs.map +0 -1
- package/dist/chunk-IDWGBCSB.cjs.map +0 -1
- package/dist/chunk-J3NLKXQ5.cjs.map +0 -1
- package/dist/chunk-KH6BHTXN.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-QZKDBVAU.cjs +0 -1482
- package/dist/chunk-QZKDBVAU.cjs.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-UWQUHP3T.cjs.map +0 -1
- package/dist/chunk-WFXW4XU3.js.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-XMC355U2.js.map +0 -1
- package/dist/chunk-Y44G2VDC.cjs +0 -214
- package/dist/chunk-Y44G2VDC.cjs.map +0 -1
- package/dist/utils-B_SOM1XR.d.ts +0 -3051
- package/dist/utils-DK7uJcmR.d.cts +0 -3051
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { G as GetAppsQuery, A as AppId, C as CreateAppBody, a as App, b as GetAppRunsQuery, R as RunId, c as CreateDeploymentBody, D as DeploymentId, d as GetLogsTailQuery, e as components, f as CredentialId, g as CreateCredentialBody } from '../types-BcaALDYY.cjs';
|
|
2
|
+
import { C as ClientInitOptions } from '../types-UwuKN9Kx.cjs';
|
|
3
|
+
import { L as LogEntry } from '../appLogs-BbgAJ5I8.cjs';
|
|
4
|
+
import '../types-f8dUjMX4.cjs';
|
|
5
|
+
import 'qs';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* No `idempotencyKey`. The service accepted an `Idempotency-Key` that turned a replayed create
|
|
9
|
+
* into a no-op, and support for it was **dropped on 17 Aug 2026** — the spec still documents the
|
|
10
|
+
* header and has yet to catch up. It was
|
|
11
|
+
* unusable from a browser in any case — the service's `Access-Control-Allow-Headers` never listed
|
|
12
|
+
* the header, so sending it failed the preflight and the request never left the page.
|
|
13
|
+
*
|
|
14
|
+
* Every create here is therefore a genuine create, and a caller that retries one is responsible
|
|
15
|
+
* for the duplicate it may produce.
|
|
16
|
+
*/
|
|
17
|
+
type WriteOptions = {
|
|
18
|
+
signal?: AbortSignal;
|
|
19
|
+
};
|
|
20
|
+
type LogsTailOptions = {
|
|
21
|
+
query?: GetLogsTailQuery;
|
|
22
|
+
signal?: AbortSignal;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* `/v2` App Deployments — data apps plus the immutable deployment history behind them. Sibling of
|
|
26
|
+
* the `dataScience` client, which wraps the same service's `/v1` surface.
|
|
27
|
+
*
|
|
28
|
+
* `baseUrl` must already point past the `/v2` prefix (`https://<data-science-host>/v2`); the
|
|
29
|
+
* registry composes it — see `createServiceClients`.
|
|
30
|
+
*
|
|
31
|
+
* Two documented endpoints are deliberately absent: `PATCH /apps/{appId}` has no patchable field
|
|
32
|
+
* yet (`name`/`description` are create-only, so `{}` is the only accepted body), and
|
|
33
|
+
* `POST /apps/{appId}/activity` is apps-proxy's heartbeat, authenticated by a Manage API token with
|
|
34
|
+
* the `apps:proxy` scope that this storage-token client cannot supply.
|
|
35
|
+
*/
|
|
36
|
+
declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
37
|
+
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
38
|
+
appName?: string;
|
|
39
|
+
appVersion?: string;
|
|
40
|
+
apiDocs?: string;
|
|
41
|
+
}>;
|
|
42
|
+
getApps: (query?: GetAppsQuery, signal?: AbortSignal) => Promise<{
|
|
43
|
+
id: string;
|
|
44
|
+
projectId: string;
|
|
45
|
+
componentId: string;
|
|
46
|
+
branchId: string | null;
|
|
47
|
+
configId: string;
|
|
48
|
+
configVersion: string;
|
|
49
|
+
type?: "streamlit" | "python-js" | null;
|
|
50
|
+
mode?: "prod" | "dev";
|
|
51
|
+
url: string | null;
|
|
52
|
+
production: {
|
|
53
|
+
desiredNumber?: number | null;
|
|
54
|
+
desiredId?: string | null;
|
|
55
|
+
actualNumber?: number | null;
|
|
56
|
+
actualId?: string | null;
|
|
57
|
+
};
|
|
58
|
+
undeployedChanges?: boolean;
|
|
59
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
60
|
+
}[]>;
|
|
61
|
+
getApp: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
62
|
+
id: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
componentId: string;
|
|
65
|
+
branchId: string | null;
|
|
66
|
+
configId: string;
|
|
67
|
+
configVersion: string;
|
|
68
|
+
type?: "streamlit" | "python-js" | null;
|
|
69
|
+
mode?: "prod" | "dev";
|
|
70
|
+
url: string | null;
|
|
71
|
+
production: {
|
|
72
|
+
desiredNumber?: number | null;
|
|
73
|
+
desiredId?: string | null;
|
|
74
|
+
actualNumber?: number | null;
|
|
75
|
+
actualId?: string | null;
|
|
76
|
+
};
|
|
77
|
+
undeployedChanges?: boolean;
|
|
78
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
79
|
+
}>;
|
|
80
|
+
createApp: (body: CreateAppBody, options?: WriteOptions) => Promise<{
|
|
81
|
+
id: string;
|
|
82
|
+
projectId: string;
|
|
83
|
+
componentId: string;
|
|
84
|
+
branchId: string | null;
|
|
85
|
+
configId: string;
|
|
86
|
+
configVersion: string;
|
|
87
|
+
type?: "streamlit" | "python-js" | null;
|
|
88
|
+
mode?: "prod" | "dev";
|
|
89
|
+
url: string | null;
|
|
90
|
+
production: {
|
|
91
|
+
desiredNumber?: number | null;
|
|
92
|
+
desiredId?: string | null;
|
|
93
|
+
actualNumber?: number | null;
|
|
94
|
+
actualId?: string | null;
|
|
95
|
+
};
|
|
96
|
+
undeployedChanges?: boolean;
|
|
97
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
98
|
+
}>;
|
|
99
|
+
deleteApp: (appId: AppId, signal?: AbortSignal) => Promise<void>;
|
|
100
|
+
unpublishApp: (appId: AppId, signal?: AbortSignal) => Promise<App | null>;
|
|
101
|
+
suspendApp: (appId: AppId, signal?: AbortSignal) => Promise<App | null>;
|
|
102
|
+
resumeApp: (appId: AppId, signal?: AbortSignal) => Promise<App | null>;
|
|
103
|
+
getAppPassword: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
104
|
+
password?: string | null;
|
|
105
|
+
}>;
|
|
106
|
+
resetAppPassword: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
107
|
+
id: string;
|
|
108
|
+
projectId: string;
|
|
109
|
+
componentId: string;
|
|
110
|
+
branchId: string | null;
|
|
111
|
+
configId: string;
|
|
112
|
+
configVersion: string;
|
|
113
|
+
type?: "streamlit" | "python-js" | null;
|
|
114
|
+
mode?: "prod" | "dev";
|
|
115
|
+
url: string | null;
|
|
116
|
+
production: {
|
|
117
|
+
desiredNumber?: number | null;
|
|
118
|
+
desiredId?: string | null;
|
|
119
|
+
actualNumber?: number | null;
|
|
120
|
+
actualId?: string | null;
|
|
121
|
+
};
|
|
122
|
+
undeployedChanges?: boolean;
|
|
123
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
124
|
+
}>;
|
|
125
|
+
getAppRuns: (appId: AppId, query?: GetAppRunsQuery, signal?: AbortSignal) => Promise<{
|
|
126
|
+
id: string;
|
|
127
|
+
appId: string;
|
|
128
|
+
deploymentId: string | null;
|
|
129
|
+
state?: "starting" | "running" | "failed" | "finished" | null;
|
|
130
|
+
createdAt?: string | null;
|
|
131
|
+
startedAt?: string | null;
|
|
132
|
+
stoppedAt?: string | null;
|
|
133
|
+
startupLogs?: string | null;
|
|
134
|
+
runtimeSize?: string | null;
|
|
135
|
+
runtimeBackendType?: string | null;
|
|
136
|
+
configVersion?: string | null;
|
|
137
|
+
imageVersion?: string | null;
|
|
138
|
+
failureReason?: {
|
|
139
|
+
reason?: string | null;
|
|
140
|
+
message?: string | null;
|
|
141
|
+
} | null;
|
|
142
|
+
mode?: string;
|
|
143
|
+
}[]>;
|
|
144
|
+
getAppRun: (appId: AppId, runId: RunId, signal?: AbortSignal) => Promise<{
|
|
145
|
+
id: string;
|
|
146
|
+
appId: string;
|
|
147
|
+
deploymentId: string | null;
|
|
148
|
+
state?: "starting" | "running" | "failed" | "finished" | null;
|
|
149
|
+
createdAt?: string | null;
|
|
150
|
+
startedAt?: string | null;
|
|
151
|
+
stoppedAt?: string | null;
|
|
152
|
+
startupLogs?: string | null;
|
|
153
|
+
runtimeSize?: string | null;
|
|
154
|
+
runtimeBackendType?: string | null;
|
|
155
|
+
configVersion?: string | null;
|
|
156
|
+
imageVersion?: string | null;
|
|
157
|
+
failureReason?: {
|
|
158
|
+
reason?: string | null;
|
|
159
|
+
message?: string | null;
|
|
160
|
+
} | null;
|
|
161
|
+
mode?: string;
|
|
162
|
+
}>;
|
|
163
|
+
createDeployment: (appId: AppId, body?: CreateDeploymentBody, options?: WriteOptions) => Promise<{
|
|
164
|
+
id: string;
|
|
165
|
+
number: number;
|
|
166
|
+
configId: string;
|
|
167
|
+
configVersion: string;
|
|
168
|
+
gitCommitSha: string | null;
|
|
169
|
+
size?: "micro" | "tiny" | "small" | "medium" | "large" | "external" | null;
|
|
170
|
+
buildState: "PREBUILT" | "PENDING" | "BUILDING" | "BUILT" | "FAILED";
|
|
171
|
+
runState: "NEVER_RUN" | "PENDING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "FAILED";
|
|
172
|
+
archived: boolean;
|
|
173
|
+
archivedAt: string | null;
|
|
174
|
+
createdAt: string;
|
|
175
|
+
}>;
|
|
176
|
+
getDeployments: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
177
|
+
id: string;
|
|
178
|
+
number: number;
|
|
179
|
+
configId: string;
|
|
180
|
+
configVersion: string;
|
|
181
|
+
gitCommitSha: string | null;
|
|
182
|
+
size?: "micro" | "tiny" | "small" | "medium" | "large" | "external" | null;
|
|
183
|
+
buildState: "PREBUILT" | "PENDING" | "BUILDING" | "BUILT" | "FAILED";
|
|
184
|
+
runState: "NEVER_RUN" | "PENDING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "FAILED";
|
|
185
|
+
archived: boolean;
|
|
186
|
+
archivedAt: string | null;
|
|
187
|
+
createdAt: string;
|
|
188
|
+
}[]>;
|
|
189
|
+
getDeployment: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<{
|
|
190
|
+
id: string;
|
|
191
|
+
number: number;
|
|
192
|
+
configId: string;
|
|
193
|
+
configVersion: string;
|
|
194
|
+
gitCommitSha: string | null;
|
|
195
|
+
size?: "micro" | "tiny" | "small" | "medium" | "large" | "external" | null;
|
|
196
|
+
buildState: "PREBUILT" | "PENDING" | "BUILDING" | "BUILT" | "FAILED";
|
|
197
|
+
runState: "NEVER_RUN" | "PENDING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "FAILED";
|
|
198
|
+
archived: boolean;
|
|
199
|
+
archivedAt: string | null;
|
|
200
|
+
createdAt: string;
|
|
201
|
+
}>;
|
|
202
|
+
deleteDeployment: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<void>;
|
|
203
|
+
promoteDeployment: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<App | null>;
|
|
204
|
+
getAppLogsTail: (appId: AppId, { query, signal }?: LogsTailOptions) => Promise<{
|
|
205
|
+
entries: LogEntry[];
|
|
206
|
+
nextLogTimestamp: string | null;
|
|
207
|
+
}>;
|
|
208
|
+
getAppLogsDownload: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
209
|
+
logs: string;
|
|
210
|
+
fileName: string;
|
|
211
|
+
}>;
|
|
212
|
+
getDeploymentLogsTail: (appId: AppId, deploymentId: DeploymentId, { query, signal }?: LogsTailOptions) => Promise<{
|
|
213
|
+
entries: LogEntry[];
|
|
214
|
+
nextLogTimestamp: string | null;
|
|
215
|
+
}>;
|
|
216
|
+
getDeploymentLogsDownload: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<{
|
|
217
|
+
logs: string;
|
|
218
|
+
fileName: string;
|
|
219
|
+
}>;
|
|
220
|
+
getAppGitRepo: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
221
|
+
sshUrl: string | null;
|
|
222
|
+
httpsUrl: string | null;
|
|
223
|
+
isManagedGitRepo: boolean;
|
|
224
|
+
}>;
|
|
225
|
+
getAppGitRepoCredentials: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
226
|
+
credentials: components["schemas"]["Credential"][];
|
|
227
|
+
}>;
|
|
228
|
+
getAppGitRepoCredential: (appId: AppId, credentialId: CredentialId, signal?: AbortSignal) => Promise<{
|
|
229
|
+
id: string;
|
|
230
|
+
type: "ssh_key" | "http_token";
|
|
231
|
+
name: string;
|
|
232
|
+
permissions: "readOnly" | "readWrite";
|
|
233
|
+
ownerAdminId: string;
|
|
234
|
+
createdAt: string;
|
|
235
|
+
}>;
|
|
236
|
+
createAppGitRepoCredential: (appId: AppId, body: CreateCredentialBody, options?: WriteOptions) => Promise<{
|
|
237
|
+
id: string;
|
|
238
|
+
type: "ssh_key" | "http_token";
|
|
239
|
+
name: string;
|
|
240
|
+
permissions: "readOnly" | "readWrite";
|
|
241
|
+
ownerAdminId: string;
|
|
242
|
+
createdAt: string;
|
|
243
|
+
} & {
|
|
244
|
+
secret?: string;
|
|
245
|
+
}>;
|
|
246
|
+
deleteAppGitRepoCredential: (appId: AppId, credentialId: CredentialId, signal?: AbortSignal) => Promise<void>;
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
export { createAppsClient };
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { G as GetAppsQuery, A as AppId, C as CreateAppBody, a as App, b as GetAppRunsQuery, R as RunId, c as CreateDeploymentBody, D as DeploymentId, d as GetLogsTailQuery, e as components, f as CredentialId, g as CreateCredentialBody } from '../types-BsejtGjZ.js';
|
|
2
|
+
import { C as ClientInitOptions } from '../types-UwuKN9Kx.js';
|
|
3
|
+
import { L as LogEntry } from '../appLogs-BbgAJ5I8.js';
|
|
4
|
+
import '../types-f8dUjMX4.js';
|
|
5
|
+
import 'qs';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* No `idempotencyKey`. The service accepted an `Idempotency-Key` that turned a replayed create
|
|
9
|
+
* into a no-op, and support for it was **dropped on 17 Aug 2026** — the spec still documents the
|
|
10
|
+
* header and has yet to catch up. It was
|
|
11
|
+
* unusable from a browser in any case — the service's `Access-Control-Allow-Headers` never listed
|
|
12
|
+
* the header, so sending it failed the preflight and the request never left the page.
|
|
13
|
+
*
|
|
14
|
+
* Every create here is therefore a genuine create, and a caller that retries one is responsible
|
|
15
|
+
* for the duplicate it may produce.
|
|
16
|
+
*/
|
|
17
|
+
type WriteOptions = {
|
|
18
|
+
signal?: AbortSignal;
|
|
19
|
+
};
|
|
20
|
+
type LogsTailOptions = {
|
|
21
|
+
query?: GetLogsTailQuery;
|
|
22
|
+
signal?: AbortSignal;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* `/v2` App Deployments — data apps plus the immutable deployment history behind them. Sibling of
|
|
26
|
+
* the `dataScience` client, which wraps the same service's `/v1` surface.
|
|
27
|
+
*
|
|
28
|
+
* `baseUrl` must already point past the `/v2` prefix (`https://<data-science-host>/v2`); the
|
|
29
|
+
* registry composes it — see `createServiceClients`.
|
|
30
|
+
*
|
|
31
|
+
* Two documented endpoints are deliberately absent: `PATCH /apps/{appId}` has no patchable field
|
|
32
|
+
* yet (`name`/`description` are create-only, so `{}` is the only accepted body), and
|
|
33
|
+
* `POST /apps/{appId}/activity` is apps-proxy's heartbeat, authenticated by a Manage API token with
|
|
34
|
+
* the `apps:proxy` scope that this storage-token client cannot supply.
|
|
35
|
+
*/
|
|
36
|
+
declare const createAppsClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
37
|
+
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
38
|
+
appName?: string;
|
|
39
|
+
appVersion?: string;
|
|
40
|
+
apiDocs?: string;
|
|
41
|
+
}>;
|
|
42
|
+
getApps: (query?: GetAppsQuery, signal?: AbortSignal) => Promise<{
|
|
43
|
+
id: string;
|
|
44
|
+
projectId: string;
|
|
45
|
+
componentId: string;
|
|
46
|
+
branchId: string | null;
|
|
47
|
+
configId: string;
|
|
48
|
+
configVersion: string;
|
|
49
|
+
type?: "streamlit" | "python-js" | null;
|
|
50
|
+
mode?: "prod" | "dev";
|
|
51
|
+
url: string | null;
|
|
52
|
+
production: {
|
|
53
|
+
desiredNumber?: number | null;
|
|
54
|
+
desiredId?: string | null;
|
|
55
|
+
actualNumber?: number | null;
|
|
56
|
+
actualId?: string | null;
|
|
57
|
+
};
|
|
58
|
+
undeployedChanges?: boolean;
|
|
59
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
60
|
+
}[]>;
|
|
61
|
+
getApp: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
62
|
+
id: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
componentId: string;
|
|
65
|
+
branchId: string | null;
|
|
66
|
+
configId: string;
|
|
67
|
+
configVersion: string;
|
|
68
|
+
type?: "streamlit" | "python-js" | null;
|
|
69
|
+
mode?: "prod" | "dev";
|
|
70
|
+
url: string | null;
|
|
71
|
+
production: {
|
|
72
|
+
desiredNumber?: number | null;
|
|
73
|
+
desiredId?: string | null;
|
|
74
|
+
actualNumber?: number | null;
|
|
75
|
+
actualId?: string | null;
|
|
76
|
+
};
|
|
77
|
+
undeployedChanges?: boolean;
|
|
78
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
79
|
+
}>;
|
|
80
|
+
createApp: (body: CreateAppBody, options?: WriteOptions) => Promise<{
|
|
81
|
+
id: string;
|
|
82
|
+
projectId: string;
|
|
83
|
+
componentId: string;
|
|
84
|
+
branchId: string | null;
|
|
85
|
+
configId: string;
|
|
86
|
+
configVersion: string;
|
|
87
|
+
type?: "streamlit" | "python-js" | null;
|
|
88
|
+
mode?: "prod" | "dev";
|
|
89
|
+
url: string | null;
|
|
90
|
+
production: {
|
|
91
|
+
desiredNumber?: number | null;
|
|
92
|
+
desiredId?: string | null;
|
|
93
|
+
actualNumber?: number | null;
|
|
94
|
+
actualId?: string | null;
|
|
95
|
+
};
|
|
96
|
+
undeployedChanges?: boolean;
|
|
97
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
98
|
+
}>;
|
|
99
|
+
deleteApp: (appId: AppId, signal?: AbortSignal) => Promise<void>;
|
|
100
|
+
unpublishApp: (appId: AppId, signal?: AbortSignal) => Promise<App | null>;
|
|
101
|
+
suspendApp: (appId: AppId, signal?: AbortSignal) => Promise<App | null>;
|
|
102
|
+
resumeApp: (appId: AppId, signal?: AbortSignal) => Promise<App | null>;
|
|
103
|
+
getAppPassword: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
104
|
+
password?: string | null;
|
|
105
|
+
}>;
|
|
106
|
+
resetAppPassword: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
107
|
+
id: string;
|
|
108
|
+
projectId: string;
|
|
109
|
+
componentId: string;
|
|
110
|
+
branchId: string | null;
|
|
111
|
+
configId: string;
|
|
112
|
+
configVersion: string;
|
|
113
|
+
type?: "streamlit" | "python-js" | null;
|
|
114
|
+
mode?: "prod" | "dev";
|
|
115
|
+
url: string | null;
|
|
116
|
+
production: {
|
|
117
|
+
desiredNumber?: number | null;
|
|
118
|
+
desiredId?: string | null;
|
|
119
|
+
actualNumber?: number | null;
|
|
120
|
+
actualId?: string | null;
|
|
121
|
+
};
|
|
122
|
+
undeployedChanges?: boolean;
|
|
123
|
+
state: "NOT_DEPLOYED" | "STARTING" | "RUNNING" | "SLEEPING" | "SUSPENDED";
|
|
124
|
+
}>;
|
|
125
|
+
getAppRuns: (appId: AppId, query?: GetAppRunsQuery, signal?: AbortSignal) => Promise<{
|
|
126
|
+
id: string;
|
|
127
|
+
appId: string;
|
|
128
|
+
deploymentId: string | null;
|
|
129
|
+
state?: "starting" | "running" | "failed" | "finished" | null;
|
|
130
|
+
createdAt?: string | null;
|
|
131
|
+
startedAt?: string | null;
|
|
132
|
+
stoppedAt?: string | null;
|
|
133
|
+
startupLogs?: string | null;
|
|
134
|
+
runtimeSize?: string | null;
|
|
135
|
+
runtimeBackendType?: string | null;
|
|
136
|
+
configVersion?: string | null;
|
|
137
|
+
imageVersion?: string | null;
|
|
138
|
+
failureReason?: {
|
|
139
|
+
reason?: string | null;
|
|
140
|
+
message?: string | null;
|
|
141
|
+
} | null;
|
|
142
|
+
mode?: string;
|
|
143
|
+
}[]>;
|
|
144
|
+
getAppRun: (appId: AppId, runId: RunId, signal?: AbortSignal) => Promise<{
|
|
145
|
+
id: string;
|
|
146
|
+
appId: string;
|
|
147
|
+
deploymentId: string | null;
|
|
148
|
+
state?: "starting" | "running" | "failed" | "finished" | null;
|
|
149
|
+
createdAt?: string | null;
|
|
150
|
+
startedAt?: string | null;
|
|
151
|
+
stoppedAt?: string | null;
|
|
152
|
+
startupLogs?: string | null;
|
|
153
|
+
runtimeSize?: string | null;
|
|
154
|
+
runtimeBackendType?: string | null;
|
|
155
|
+
configVersion?: string | null;
|
|
156
|
+
imageVersion?: string | null;
|
|
157
|
+
failureReason?: {
|
|
158
|
+
reason?: string | null;
|
|
159
|
+
message?: string | null;
|
|
160
|
+
} | null;
|
|
161
|
+
mode?: string;
|
|
162
|
+
}>;
|
|
163
|
+
createDeployment: (appId: AppId, body?: CreateDeploymentBody, options?: WriteOptions) => Promise<{
|
|
164
|
+
id: string;
|
|
165
|
+
number: number;
|
|
166
|
+
configId: string;
|
|
167
|
+
configVersion: string;
|
|
168
|
+
gitCommitSha: string | null;
|
|
169
|
+
size?: "micro" | "tiny" | "small" | "medium" | "large" | "external" | null;
|
|
170
|
+
buildState: "PREBUILT" | "PENDING" | "BUILDING" | "BUILT" | "FAILED";
|
|
171
|
+
runState: "NEVER_RUN" | "PENDING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "FAILED";
|
|
172
|
+
archived: boolean;
|
|
173
|
+
archivedAt: string | null;
|
|
174
|
+
createdAt: string;
|
|
175
|
+
}>;
|
|
176
|
+
getDeployments: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
177
|
+
id: string;
|
|
178
|
+
number: number;
|
|
179
|
+
configId: string;
|
|
180
|
+
configVersion: string;
|
|
181
|
+
gitCommitSha: string | null;
|
|
182
|
+
size?: "micro" | "tiny" | "small" | "medium" | "large" | "external" | null;
|
|
183
|
+
buildState: "PREBUILT" | "PENDING" | "BUILDING" | "BUILT" | "FAILED";
|
|
184
|
+
runState: "NEVER_RUN" | "PENDING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "FAILED";
|
|
185
|
+
archived: boolean;
|
|
186
|
+
archivedAt: string | null;
|
|
187
|
+
createdAt: string;
|
|
188
|
+
}[]>;
|
|
189
|
+
getDeployment: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<{
|
|
190
|
+
id: string;
|
|
191
|
+
number: number;
|
|
192
|
+
configId: string;
|
|
193
|
+
configVersion: string;
|
|
194
|
+
gitCommitSha: string | null;
|
|
195
|
+
size?: "micro" | "tiny" | "small" | "medium" | "large" | "external" | null;
|
|
196
|
+
buildState: "PREBUILT" | "PENDING" | "BUILDING" | "BUILT" | "FAILED";
|
|
197
|
+
runState: "NEVER_RUN" | "PENDING" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "FAILED";
|
|
198
|
+
archived: boolean;
|
|
199
|
+
archivedAt: string | null;
|
|
200
|
+
createdAt: string;
|
|
201
|
+
}>;
|
|
202
|
+
deleteDeployment: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<void>;
|
|
203
|
+
promoteDeployment: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<App | null>;
|
|
204
|
+
getAppLogsTail: (appId: AppId, { query, signal }?: LogsTailOptions) => Promise<{
|
|
205
|
+
entries: LogEntry[];
|
|
206
|
+
nextLogTimestamp: string | null;
|
|
207
|
+
}>;
|
|
208
|
+
getAppLogsDownload: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
209
|
+
logs: string;
|
|
210
|
+
fileName: string;
|
|
211
|
+
}>;
|
|
212
|
+
getDeploymentLogsTail: (appId: AppId, deploymentId: DeploymentId, { query, signal }?: LogsTailOptions) => Promise<{
|
|
213
|
+
entries: LogEntry[];
|
|
214
|
+
nextLogTimestamp: string | null;
|
|
215
|
+
}>;
|
|
216
|
+
getDeploymentLogsDownload: (appId: AppId, deploymentId: DeploymentId, signal?: AbortSignal) => Promise<{
|
|
217
|
+
logs: string;
|
|
218
|
+
fileName: string;
|
|
219
|
+
}>;
|
|
220
|
+
getAppGitRepo: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
221
|
+
sshUrl: string | null;
|
|
222
|
+
httpsUrl: string | null;
|
|
223
|
+
isManagedGitRepo: boolean;
|
|
224
|
+
}>;
|
|
225
|
+
getAppGitRepoCredentials: (appId: AppId, signal?: AbortSignal) => Promise<{
|
|
226
|
+
credentials: components["schemas"]["Credential"][];
|
|
227
|
+
}>;
|
|
228
|
+
getAppGitRepoCredential: (appId: AppId, credentialId: CredentialId, signal?: AbortSignal) => Promise<{
|
|
229
|
+
id: string;
|
|
230
|
+
type: "ssh_key" | "http_token";
|
|
231
|
+
name: string;
|
|
232
|
+
permissions: "readOnly" | "readWrite";
|
|
233
|
+
ownerAdminId: string;
|
|
234
|
+
createdAt: string;
|
|
235
|
+
}>;
|
|
236
|
+
createAppGitRepoCredential: (appId: AppId, body: CreateCredentialBody, options?: WriteOptions) => Promise<{
|
|
237
|
+
id: string;
|
|
238
|
+
type: "ssh_key" | "http_token";
|
|
239
|
+
name: string;
|
|
240
|
+
permissions: "readOnly" | "readWrite";
|
|
241
|
+
ownerAdminId: string;
|
|
242
|
+
createdAt: string;
|
|
243
|
+
} & {
|
|
244
|
+
secret?: string;
|
|
245
|
+
}>;
|
|
246
|
+
deleteAppGitRepoCredential: (appId: AppId, credentialId: CredentialId, signal?: AbortSignal) => Promise<void>;
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
export { createAppsClient };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.cjs"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '../types-f8dUjMX4.cjs';
|
|
2
|
+
export { a as App, h as AppGitRepo, A as AppId, i as AppPassword, j as AppRun, k as AppState, C as CreateAppBody, g as CreateCredentialBody, c as CreateDeploymentBody, l as CreatedCredential, m as Credential, f as CredentialId, n as CredentialList, o as Deployment, p as DeploymentBuildState, D as DeploymentId, q as DeploymentRunState, b as GetAppRunsQuery, G as GetAppsQuery, d as GetLogsTailQuery, R as RunId } from '../types-BcaALDYY.cjs';
|
|
3
|
+
export { L as LogEntry } from '../appLogs-BbgAJ5I8.cjs';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import '../types-f8dUjMX4.js';
|
|
2
|
+
export { a as App, h as AppGitRepo, A as AppId, i as AppPassword, j as AppRun, k as AppState, C as CreateAppBody, g as CreateCredentialBody, c as CreateDeploymentBody, l as CreatedCredential, m as Credential, f as CredentialId, n as CredentialList, o as Deployment, p as DeploymentBuildState, D as DeploymentId, q as DeploymentRunState, b as GetAppRunsQuery, G as GetAppsQuery, d as GetLogsTailQuery, R as RunId } from '../types-BsejtGjZ.js';
|
|
3
|
+
export { L as LogEntry } from '../appLogs-BbgAJ5I8.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
package/dist/assets/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkBCZPCMGL_cjs = require('../chunk-BCZPCMGL.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkHUQ5ATIL_cjs = require('../chunk-HUQ5ATIL.cjs');
|
|
5
5
|
|
|
6
6
|
// src/clients/assets/assetsClient.ts
|
|
7
7
|
var createAssetsClient = ({ baseUrl, middlewares }) => {
|
|
8
|
-
const client =
|
|
8
|
+
const client = chunkHUQ5ATIL_cjs.createGenericFetchClient({
|
|
9
9
|
baseUrl,
|
|
10
10
|
middlewares
|
|
11
11
|
});
|
package/dist/assets/index.d.cts
CHANGED
package/dist/assets/index.d.ts
CHANGED
package/dist/assets/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { publishedPostsSchema, componentTemplatesSchema } from '../chunk-FPB6OGTV.js';
|
|
2
|
-
import { createGenericFetchClient } from '../chunk-
|
|
2
|
+
import { createGenericFetchClient } from '../chunk-2BQBKU6E.js';
|
|
3
3
|
|
|
4
4
|
// src/clients/assets/assetsClient.ts
|
|
5
5
|
var createAssetsClient = ({ baseUrl, middlewares }) => {
|
package/dist/auth/index.cjs
CHANGED
|
@@ -1,53 +1,57 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkRXYT7EMN_cjs = require('../chunk-RXYT7EMN.cjs');
|
|
4
|
+
require('../chunk-HUQ5ATIL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "changeInputSchema", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkRXYT7EMN_cjs.changeInputSchema; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createAuthClient", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkRXYT7EMN_cjs.createAuthClient; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "loginInputSchema", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkRXYT7EMN_cjs.loginInputSchema; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "loginResultSchema", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkRXYT7EMN_cjs.loginResultSchema; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "loginSuccessSchema", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkRXYT7EMN_cjs.loginSuccessSchema; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "mfaChallengeSchema", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkRXYT7EMN_cjs.mfaChallengeSchema; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "mfaCodeInputSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkRXYT7EMN_cjs.mfaCodeInputSchema; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "mfaWebauthnInputSchema", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkRXYT7EMN_cjs.mfaWebauthnInputSchema; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "oidcInputSchema", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkRXYT7EMN_cjs.oidcInputSchema; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "resetInputSchema", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkRXYT7EMN_cjs.resetInputSchema; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "resetRequestInputSchema", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkRXYT7EMN_cjs.resetRequestInputSchema; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "totpVerifyInputSchema", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkRXYT7EMN_cjs.totpVerifyInputSchema; }
|
|
51
55
|
});
|
|
52
56
|
//# sourceMappingURL=index.cjs.map
|
|
53
57
|
//# sourceMappingURL=index.cjs.map
|