@keboola/api-client 20.0.0 → 23.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/API-SURFACE.md +51 -3
- package/README.md +124 -24
- package/dist/{ManagementClientAuthError-BMOhz4mx.d.ts → ManagementClientAuthError-B3PZRWBU.d.ts} +1 -1
- package/dist/{ManagementClientAuthError-B7mGrnGn.d.cts → ManagementClientAuthError-CJu_hpGi.d.cts} +1 -1
- package/dist/ai/index.cjs +4 -4
- package/dist/ai/index.d.cts +4 -3
- package/dist/ai/index.d.ts +4 -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/assets/index.cjs +12 -3
- package/dist/assets/index.cjs.map +1 -1
- package/dist/assets/index.d.cts +2 -1
- package/dist/assets/index.d.ts +2 -1
- package/dist/assets/index.js +11 -2
- package/dist/assets/index.js.map +1 -1
- package/dist/auth/index.cjs +22 -10
- package/dist/auth/index.d.cts +117 -10
- package/dist/auth/index.d.ts +117 -10
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +4 -8
- package/dist/auth/types.d.ts +4 -8
- package/dist/chat/index.cjs +4 -4
- package/dist/chat/index.d.cts +4 -8
- package/dist/chat/index.d.ts +4 -8
- package/dist/chat/index.js +3 -3
- package/dist/chat/suggestions.d.cts +11 -11
- package/dist/chat/suggestions.d.ts +11 -11
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/{chunk-SWJHENEP.cjs → chunk-22D55AHX.cjs} +180 -28
- package/dist/chunk-22D55AHX.cjs.map +1 -0
- package/dist/chunk-22E6IGXR.js +6 -0
- package/dist/chunk-22E6IGXR.js.map +1 -0
- package/dist/{chunk-7ETZQGY7.js → chunk-2BOG5U7C.js} +3 -3
- package/dist/{chunk-7ETZQGY7.js.map → chunk-2BOG5U7C.js.map} +1 -1
- package/dist/{chunk-RHLDDKX6.js → chunk-33NQB34X.js} +99 -30
- package/dist/chunk-33NQB34X.js.map +1 -0
- package/dist/{chunk-AWRMGLMT.cjs → chunk-35MODDCL.cjs} +8 -9
- package/dist/chunk-35MODDCL.cjs.map +1 -0
- package/dist/{chunk-RK2VGHJE.js → chunk-3B3GOGAL.js} +3 -3
- package/dist/chunk-3B3GOGAL.js.map +1 -0
- package/dist/{chunk-TTPJSPZA.cjs → chunk-3KEVPUSX.cjs} +10 -3
- package/dist/chunk-3KEVPUSX.cjs.map +1 -0
- package/dist/chunk-43CGBOVT.cjs +16 -0
- package/dist/chunk-43CGBOVT.cjs.map +1 -0
- package/dist/{chunk-IZWNTRMT.cjs → chunk-4GUUSO5O.cjs} +24 -7
- package/dist/chunk-4GUUSO5O.cjs.map +1 -0
- package/dist/{chunk-YUTWLJBK.js → chunk-4IEIVLYT.js} +55 -5
- package/dist/chunk-4IEIVLYT.js.map +1 -0
- package/dist/{chunk-KLVBTRLR.js → chunk-4Z5W2F6Q.js} +168 -17
- package/dist/chunk-4Z5W2F6Q.js.map +1 -0
- package/dist/{chunk-JJXTE2SL.cjs → chunk-556U6PFA.cjs} +6 -6
- package/dist/{chunk-JJXTE2SL.cjs.map → chunk-556U6PFA.cjs.map} +1 -1
- package/dist/{chunk-M3UUJIMO.js → chunk-5Z6M32UE.js} +16 -5
- package/dist/chunk-5Z6M32UE.js.map +1 -0
- package/dist/{chunk-XISA4SYM.cjs → chunk-5ZOWA7DA.cjs} +6 -6
- package/dist/{chunk-XISA4SYM.cjs.map → chunk-5ZOWA7DA.cjs.map} +1 -1
- package/dist/{chunk-6FE3CWV6.js → chunk-6LBMZAPF.js} +14 -5
- package/dist/chunk-6LBMZAPF.js.map +1 -0
- package/dist/{chunk-4H2DDEUI.cjs → chunk-BWBTNAVL.cjs} +9 -9
- package/dist/{chunk-4H2DDEUI.cjs.map → chunk-BWBTNAVL.cjs.map} +1 -1
- package/dist/{chunk-NRJTA5P3.cjs → chunk-CCC6I32C.cjs} +4 -4
- package/dist/{chunk-NRJTA5P3.cjs.map → chunk-CCC6I32C.cjs.map} +1 -1
- package/dist/{chunk-ZLW3243Q.cjs → chunk-CN5GAKRO.cjs} +6 -6
- package/dist/chunk-CN5GAKRO.cjs.map +1 -0
- package/dist/{chunk-JURD5MC3.js → chunk-DHOVQ2TW.js} +15 -16
- package/dist/chunk-DHOVQ2TW.js.map +1 -0
- package/dist/{chunk-IUN2ZSU3.cjs → chunk-DMNWPVVT.cjs} +3 -2
- package/dist/chunk-DMNWPVVT.cjs.map +1 -0
- package/dist/chunk-EWMXK3EI.cjs +8 -0
- package/dist/chunk-EWMXK3EI.cjs.map +1 -0
- package/dist/{chunk-IWIN6HKU.cjs → chunk-EYIPM2XB.cjs} +4 -4
- package/dist/{chunk-IWIN6HKU.cjs.map → chunk-EYIPM2XB.cjs.map} +1 -1
- package/dist/{chunk-HEVDH4JQ.js → chunk-F43HBNKD.js} +4 -4
- package/dist/{chunk-HEVDH4JQ.js.map → chunk-F43HBNKD.js.map} +1 -1
- package/dist/{chunk-QQJXXNUE.cjs → chunk-FDTWXXI4.cjs} +7 -7
- package/dist/{chunk-QQJXXNUE.cjs.map → chunk-FDTWXXI4.cjs.map} +1 -1
- package/dist/{chunk-CVV4HROS.cjs → chunk-FMS5PNM2.cjs} +4 -4
- package/dist/chunk-FMS5PNM2.cjs.map +1 -0
- package/dist/{chunk-ZHNOZHJG.js → chunk-FQK3YM7U.js} +3 -3
- package/dist/{chunk-ZHNOZHJG.js.map → chunk-FQK3YM7U.js.map} +1 -1
- package/dist/{chunk-BR3SBEFE.cjs → chunk-FRLSKIUI.cjs} +19 -21
- package/dist/chunk-FRLSKIUI.cjs.map +1 -0
- package/dist/{chunk-JIAMBOU7.cjs → chunk-FVJC2GJY.cjs} +19 -8
- package/dist/chunk-FVJC2GJY.cjs.map +1 -0
- package/dist/{chunk-7KMFRSYA.js → chunk-G5JMZI2L.js} +22 -5
- package/dist/chunk-G5JMZI2L.js.map +1 -0
- package/dist/{chunk-4HJUQVXR.js → chunk-HFZCZ7PZ.js} +61 -12
- package/dist/chunk-HFZCZ7PZ.js.map +1 -0
- package/dist/{chunk-4JCVPUXF.cjs → chunk-HZSZQFEO.cjs} +109 -40
- package/dist/chunk-HZSZQFEO.cjs.map +1 -0
- package/dist/{chunk-WWICQYOY.cjs → chunk-IYGHWPCR.cjs} +4 -4
- package/dist/{chunk-WWICQYOY.cjs.map → chunk-IYGHWPCR.cjs.map} +1 -1
- package/dist/{chunk-KDWIJTED.js → chunk-J2MBTBE2.js} +4 -4
- package/dist/{chunk-KDWIJTED.js.map → chunk-J2MBTBE2.js.map} +1 -1
- package/dist/{chunk-ISY2BOFY.js → chunk-JQSMJ64B.js} +4 -4
- package/dist/{chunk-ISY2BOFY.js.map → chunk-JQSMJ64B.js.map} +1 -1
- package/dist/{chunk-ANRUSNYD.cjs → chunk-K6EZ3USU.cjs} +7 -7
- package/dist/{chunk-ANRUSNYD.cjs.map → chunk-K6EZ3USU.cjs.map} +1 -1
- package/dist/{chunk-KQ2QNGRX.js → chunk-KH6BHTXN.js} +5 -6
- package/dist/chunk-KH6BHTXN.js.map +1 -0
- package/dist/chunk-KUYVBCUM.cjs +231 -0
- package/dist/chunk-KUYVBCUM.cjs.map +1 -0
- package/dist/{chunk-EKWD4ODT.cjs → chunk-KY4EYQ6I.cjs} +6 -6
- package/dist/{chunk-EKWD4ODT.cjs.map → chunk-KY4EYQ6I.cjs.map} +1 -1
- package/dist/{chunk-WJRHT346.js → chunk-L4R66Q6S.js} +4 -4
- package/dist/chunk-L4R66Q6S.js.map +1 -0
- package/dist/{chunk-K6E7LOWZ.js → chunk-L63UYWJG.js} +4 -4
- package/dist/{chunk-K6E7LOWZ.js.map → chunk-L63UYWJG.js.map} +1 -1
- package/dist/{chunk-EXNR4FGV.js → chunk-MIUULCML.js} +3 -3
- package/dist/{chunk-EXNR4FGV.js.map → chunk-MIUULCML.js.map} +1 -1
- package/dist/{chunk-V4FLCCD4.js → chunk-PEC3BYFA.js} +4 -4
- package/dist/{chunk-V4FLCCD4.js.map → chunk-PEC3BYFA.js.map} +1 -1
- package/dist/{chunk-ZAPK7HZS.js → chunk-PHP2NND7.js} +4 -4
- package/dist/{chunk-ZAPK7HZS.js.map → chunk-PHP2NND7.js.map} +1 -1
- package/dist/{chunk-STAQJVW4.cjs → chunk-Q7C2IRF2.cjs} +6 -6
- package/dist/{chunk-STAQJVW4.cjs.map → chunk-Q7C2IRF2.cjs.map} +1 -1
- package/dist/chunk-QHD4LPAQ.cjs +8 -0
- package/dist/chunk-QHD4LPAQ.cjs.map +1 -0
- package/dist/{chunk-FPWOK2CR.js → chunk-R3NW5LAB.js} +4 -4
- package/dist/chunk-R3NW5LAB.js.map +1 -0
- package/dist/{chunk-EBCZUGUX.js → chunk-SJZ66FD5.js} +4 -4
- package/dist/chunk-SJZ66FD5.js.map +1 -0
- package/dist/chunk-T526LPBK.js +6 -0
- package/dist/chunk-T526LPBK.js.map +1 -0
- package/dist/{chunk-G7VCXMQB.cjs → chunk-T7SEZMQ7.cjs} +16 -7
- package/dist/chunk-T7SEZMQ7.cjs.map +1 -0
- package/dist/{chunk-UREIP7XG.js → chunk-TCGHVOIJ.js} +4 -4
- package/dist/{chunk-UREIP7XG.js.map → chunk-TCGHVOIJ.js.map} +1 -1
- package/dist/{chunk-IBELIKBL.js → chunk-TF3JWA7J.js} +4 -4
- package/dist/{chunk-IBELIKBL.js.map → chunk-TF3JWA7J.js.map} +1 -1
- package/dist/{chunk-GENABZQ3.js → chunk-UH5JOSEE.js} +4 -4
- package/dist/{chunk-GENABZQ3.js.map → chunk-UH5JOSEE.js.map} +1 -1
- package/dist/chunk-UP5SEEYZ.js +218 -0
- package/dist/chunk-UP5SEEYZ.js.map +1 -0
- package/dist/{chunk-MLCMKHMK.cjs → chunk-VPNWX7YM.cjs} +6 -6
- package/dist/{chunk-MLCMKHMK.cjs.map → chunk-VPNWX7YM.cjs.map} +1 -1
- package/dist/{chunk-YOD5F25S.js → chunk-WJEAGAWB.js} +4 -4
- package/dist/{chunk-YOD5F25S.js.map → chunk-WJEAGAWB.js.map} +1 -1
- package/dist/{chunk-YLHZ2H7O.cjs → chunk-WZGBE4XH.cjs} +9 -9
- package/dist/{chunk-YLHZ2H7O.cjs.map → chunk-WZGBE4XH.cjs.map} +1 -1
- package/dist/chunk-X4HEWMPU.cjs +113 -0
- package/dist/chunk-X4HEWMPU.cjs.map +1 -0
- package/dist/{chunk-WFBQUWRC.js → chunk-XMC355U2.js} +10 -3
- package/dist/chunk-XMC355U2.js.map +1 -0
- package/dist/{chunk-N3GNUFMA.cjs → chunk-YEF46DYF.cjs} +65 -13
- package/dist/chunk-YEF46DYF.cjs.map +1 -0
- package/dist/{chunk-AKDJSXVJ.cjs → chunk-YQEBJG5H.cjs} +6 -6
- package/dist/{chunk-AKDJSXVJ.cjs.map → chunk-YQEBJG5H.cjs.map} +1 -1
- package/dist/{chunk-UFQVOZZ6.cjs → chunk-Z76DIRLA.cjs} +55 -5
- package/dist/chunk-Z76DIRLA.cjs.map +1 -0
- package/dist/chunk-ZDCEKJAL.js +110 -0
- package/dist/chunk-ZDCEKJAL.js.map +1 -0
- package/dist/constants/index.cjs +17 -3
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +8 -1
- package/dist/constants/index.d.ts +8 -1
- package/dist/constants/index.js +16 -2
- package/dist/constants/index.js.map +1 -1
- package/dist/{createGenericFetchClient-D4tfhW6Z.d.ts → createGenericFetchClient-B2Gp1a8f.d.ts} +1 -1
- package/dist/{createGenericFetchClient-CrB9cdk8.d.cts → createGenericFetchClient-DJ-oaxPj.d.cts} +1 -1
- package/dist/{createOpenapiFetchClient-DLA4-_yg.d.ts → createOpenapiFetchClient-BX7_szVZ.d.ts} +2 -2
- package/dist/{createOpenapiFetchClient-zK2SckO2.d.cts → createOpenapiFetchClient-pguVgT7R.d.cts} +2 -2
- package/dist/dataScience/index.cjs +5 -5
- package/dist/dataScience/index.d.cts +4 -9
- package/dist/dataScience/index.d.ts +4 -9
- package/dist/dataScience/index.js +3 -3
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/domain/permissions/index.cjs +23 -0
- package/dist/domain/permissions/index.cjs.map +1 -1
- package/dist/domain/permissions/index.d.cts +40 -5
- package/dist/domain/permissions/index.d.ts +40 -5
- package/dist/domain/permissions/index.js +20 -1
- package/dist/domain/permissions/index.js.map +1 -1
- package/dist/editor/index.cjs +4 -4
- package/dist/editor/index.d.cts +3 -3
- package/dist/editor/index.d.ts +3 -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 +4 -4
- package/dist/encryption/index.d.ts +4 -4
- package/dist/encryption/index.js +2 -2
- package/dist/encryption/types.d.cts +3 -3
- package/dist/encryption/types.d.ts +3 -3
- package/dist/import/index.cjs +4 -4
- package/dist/import/index.d.cts +1 -1
- package/dist/import/index.d.ts +1 -1
- package/dist/import/index.js +3 -3
- package/dist/index.cjs +1572 -848
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1830 -1101
- package/dist/index.d.ts +1830 -1101
- package/dist/index.js +1571 -881
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +39 -42
- package/dist/management/index.d.ts +39 -42
- package/dist/management/index.js +3 -3
- package/dist/management/types.d.cts +3 -7
- package/dist/management/types.d.ts +3 -7
- package/dist/metastore/index.cjs +4 -4
- package/dist/metastore/index.d.cts +14 -33
- package/dist/metastore/index.d.ts +14 -33
- 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 -4
- package/dist/notifications/index.d.cts +30 -17
- package/dist/notifications/index.d.ts +30 -17
- package/dist/notifications/index.js +4 -3
- 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 +1 -1
- package/dist/oauth/index.d.ts +1 -1
- package/dist/oauth/index.js +3 -3
- package/dist/{project-Bj7A_TSe.d.ts → project-BV-vseKc.d.ts} +2 -2
- package/dist/{project-CX3TEH8A.d.cts → project-CbJCjkdt.d.cts} +2 -2
- package/dist/queryService/index.cjs +4 -4
- package/dist/queryService/index.d.cts +3 -3
- package/dist/queryService/index.d.ts +3 -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 +5 -4
- package/dist/queue/index.d.cts +207 -3
- package/dist/queue/index.d.ts +207 -3
- package/dist/queue/index.js +4 -3
- package/dist/queue/types.d.cts +2 -2
- package/dist/queue/types.d.ts +2 -2
- package/dist/{registry-BLItWxbK.d.ts → registry-v_1krdcs.d.cts} +136 -1
- package/dist/{registry-BLItWxbK.d.cts → registry-v_1krdcs.d.ts} +136 -1
- package/dist/scheduler/index.cjs +5 -4
- package/dist/scheduler/index.d.cts +3 -2
- package/dist/scheduler/index.d.ts +3 -2
- package/dist/scheduler/index.js +4 -3
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +3 -3
- package/dist/sdk/configurations/index.d.cts +418 -26
- package/dist/sdk/configurations/index.d.ts +418 -26
- package/dist/sdk/configurations/index.js +2 -2
- package/dist/sdk/semanticLayer/index.cjs +58 -0
- package/dist/sdk/semanticLayer/index.cjs.map +1 -0
- package/dist/sdk/semanticLayer/index.d.cts +151 -0
- package/dist/sdk/semanticLayer/index.d.ts +151 -0
- package/dist/sdk/semanticLayer/index.js +5 -0
- package/dist/sdk/semanticLayer/index.js.map +1 -0
- package/dist/sdk/semanticLayer/types.cjs +4 -0
- package/dist/sdk/semanticLayer/types.cjs.map +1 -0
- package/dist/sdk/semanticLayer/types.d.cts +132 -0
- package/dist/sdk/semanticLayer/types.d.ts +132 -0
- package/dist/sdk/semanticLayer/types.js +3 -0
- package/dist/sdk/semanticLayer/types.js.map +1 -0
- package/dist/sdk/storage/index.cjs +12 -11
- package/dist/sdk/storage/index.d.cts +8 -8
- package/dist/sdk/storage/index.d.ts +8 -8
- package/dist/sdk/storage/index.js +2 -1
- package/dist/sdk/tag/index.cjs +4 -3
- package/dist/sdk/tag/index.d.cts +7 -7
- package/dist/sdk/tag/index.d.ts +7 -7
- package/dist/sdk/tag/index.js +3 -2
- package/dist/sdk/tag/types.d.cts +5 -5
- package/dist/sdk/tag/types.d.ts +5 -5
- package/dist/sdk/vault/index.cjs +8 -8
- package/dist/sdk/vault/index.d.cts +5 -5
- package/dist/sdk/vault/index.d.ts +5 -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 +12 -12
- package/dist/storage/index.d.cts +8 -8
- package/dist/storage/index.d.ts +8 -8
- package/dist/storage/index.js +5 -5
- package/dist/storage/types.d.cts +59 -6
- package/dist/storage/types.d.ts +59 -6
- package/dist/{storageClient-D1USmiC5.d.cts → storageClient-Dlu7OJgJ.d.cts} +14 -7
- package/dist/{storageClient-Cwr5Vl45.d.ts → storageClient-Dz4tTWOc.d.ts} +14 -7
- package/dist/{storageSdk-MciYsR_e.d.cts → storageSdk-DxbSjnHh.d.cts} +1 -1
- package/dist/{storageSdk-Um7iSJMs.d.ts → storageSdk-PRaSLkD6.d.ts} +1 -1
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.d.cts +3 -3
- package/dist/stream/index.d.ts +3 -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 +4 -4
- package/dist/syncActions/index.d.cts +3 -3
- package/dist/syncActions/index.d.ts +3 -3
- package/dist/syncActions/index.js +3 -3
- package/dist/syncActions/types.d.cts +1 -10
- package/dist/syncActions/types.d.ts +1 -10
- 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-BCPmAXOQ.d.cts → types-22LtuLPM.d.cts} +355 -108
- package/dist/{types-BVldT2vs.d.cts → types-B-3bBl2q.d.ts} +21 -17
- package/dist/{types-DHCbX2uR.d.cts → types-B3hgDuaG.d.cts} +1 -1
- package/dist/{types-jKnx7Tm_.d.cts → types-BbM5WDSR.d.cts} +1 -1
- package/dist/{types-jKnx7Tm_.d.ts → types-BbM5WDSR.d.ts} +1 -1
- package/dist/{types-Dv3vN7M9.d.ts → types-Bj3fLP0h.d.ts} +1 -1
- package/dist/{types-D3Kkh6yW.d.ts → types-BjNd012m.d.ts} +3 -545
- package/dist/{types-yKV1EX6f.d.ts → types-BjdcqqvT.d.ts} +10 -1
- package/dist/{types-ClxrZC77.d.cts → types-CJ0RgA57.d.ts} +3146 -826
- package/dist/{types-DFWnAftN.d.cts → types-CUzRu6Z8.d.cts} +1 -1
- package/dist/{types-o8eTf_G9.d.ts → types-CfIKhNMg.d.cts} +3146 -826
- package/dist/{types-D9cNOf-3.d.cts → types-CkQXSDqo.d.cts} +10 -1
- package/dist/{types-CWebeQXy.d.cts → types-CmdRXxqa.d.cts} +1 -1
- package/dist/{types-l_pP5J0H.d.ts → types-Cnsa5tWp.d.ts} +1 -1
- package/dist/{types-BxjcUj-y.d.cts → types-D6p5VsOx.d.cts} +27 -4
- package/dist/{types-oJnjpvPi.d.ts → types-DNEuJ-tb.d.cts} +585 -6
- package/dist/{types-BbeZapCu.d.ts → types-DXFcF3_c.d.ts} +2 -2
- package/dist/{types-GRfGXouy.d.cts → types-DgU_wy4q.d.cts} +2 -2
- package/dist/{types-DacFMc6L.d.ts → types-Dq5jIMye.d.ts} +27 -4
- package/dist/{types-0yn6OefX.d.ts → types-DqxZDbM1.d.cts} +1 -1
- package/dist/{types-0yn6OefX.d.cts → types-DqxZDbM1.d.ts} +1 -1
- package/dist/{types-BowqtZ7v.d.ts → types-Dz4Yc-Mu.d.ts} +355 -108
- package/dist/{types-YEfQ5pAy.d.ts → types-GecGaYgv.d.cts} +981 -171
- package/dist/{types-YEfQ5pAy.d.cts → types-GecGaYgv.d.ts} +981 -171
- package/dist/{types-CFd7q2ed.d.ts → types-PG_v0QyH.d.ts} +1 -1
- package/dist/{types-CS8MYc2k.d.ts → types-mQtL3f4D.d.cts} +21 -17
- package/dist/{types-59-LNg5i.d.cts → types-qCMu5X9I.d.ts} +585 -6
- package/dist/{types-CvHPHNH0.d.cts → types-y3pEpGrH.d.cts} +3 -545
- package/dist/{utils-DDERw8dM.d.cts → utils-CuiDsDxz.d.cts} +997 -168
- package/dist/{utils-C7eSJKtG.d.ts → utils-zcz60drL.d.ts} +997 -168
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +2 -2
- package/dist/vault/index.d.ts +2 -2
- package/dist/vault/index.js +3 -3
- package/dist/vault/types.d.cts +4 -10
- package/dist/vault/types.d.ts +4 -10
- package/package.json +30 -4
- package/surface/ai.md +2 -2
- package/surface/auth.md +15 -3
- package/surface/chat.md +1 -1
- package/surface/dataScience.md +5 -5
- package/surface/editor.md +5 -5
- package/surface/kaiAgent.md +4 -4
- package/surface/management.md +24 -4
- package/surface/metastore.md +10 -10
- package/surface/notifications.md +6 -4
- package/surface/queue.md +6 -1
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +21 -6
- package/surface/storage.md +12 -4
- package/surface/stream.md +7 -7
- package/dist/authMiddleware-BcRYj3eQ.d.cts +0 -5
- package/dist/authMiddleware-CirRGURb.d.ts +0 -5
- package/dist/chunk-4HJUQVXR.js.map +0 -1
- package/dist/chunk-4JCVPUXF.cjs.map +0 -1
- package/dist/chunk-6FE3CWV6.js.map +0 -1
- package/dist/chunk-7KMFRSYA.js.map +0 -1
- package/dist/chunk-AWRMGLMT.cjs.map +0 -1
- package/dist/chunk-BR3SBEFE.cjs.map +0 -1
- package/dist/chunk-CVV4HROS.cjs.map +0 -1
- package/dist/chunk-EBCZUGUX.js.map +0 -1
- package/dist/chunk-FPWOK2CR.js.map +0 -1
- package/dist/chunk-G7VCXMQB.cjs.map +0 -1
- package/dist/chunk-HNP33VR5.cjs +0 -16
- package/dist/chunk-HNP33VR5.cjs.map +0 -1
- package/dist/chunk-IUN2ZSU3.cjs.map +0 -1
- package/dist/chunk-IZWNTRMT.cjs.map +0 -1
- package/dist/chunk-JIAMBOU7.cjs.map +0 -1
- package/dist/chunk-JURD5MC3.js.map +0 -1
- package/dist/chunk-KLVBTRLR.js.map +0 -1
- package/dist/chunk-KQ2QNGRX.js.map +0 -1
- package/dist/chunk-M3UUJIMO.js.map +0 -1
- package/dist/chunk-N3GNUFMA.cjs.map +0 -1
- package/dist/chunk-PINOAERX.js +0 -36
- package/dist/chunk-PINOAERX.js.map +0 -1
- package/dist/chunk-RHLDDKX6.js.map +0 -1
- package/dist/chunk-RK2VGHJE.js.map +0 -1
- package/dist/chunk-SWJHENEP.cjs.map +0 -1
- package/dist/chunk-TTPJSPZA.cjs.map +0 -1
- package/dist/chunk-UFQVOZZ6.cjs.map +0 -1
- package/dist/chunk-WFBQUWRC.js.map +0 -1
- package/dist/chunk-WJRHT346.js.map +0 -1
- package/dist/chunk-YOPRPXER.cjs +0 -38
- package/dist/chunk-YOPRPXER.cjs.map +0 -1
- package/dist/chunk-YUTWLJBK.js.map +0 -1
- package/dist/chunk-ZLW3243Q.cjs.map +0 -1
- package/dist/schemas-CraXbXke.d.cts +0 -74
- package/dist/schemas-CraXbXke.d.ts +0 -74
- package/dist/{backends-Bofq_Nr0.d.cts → adminRoles-Cil1lavB.d.cts} +6 -6
- package/dist/{backends-Bofq_Nr0.d.ts → adminRoles-Cil1lavB.d.ts} +6 -6
package/API-SURFACE.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- GENERATED FILE — do not edit by hand. Run `pnpm --filter @keboola/api-client surface` to regenerate. -->
|
|
4
4
|
|
|
5
|
-
Every namespace and method reachable from
|
|
5
|
+
Every namespace and method reachable from a ready `KeboolaApi` — the `api` half of a keboola client (`createKeboola(...).api` / `createLegacyKeboola(...).api`, or `useApiClient()`). Generated from the TypeScript type checker — see `scripts/gen-surface.mjs`.
|
|
6
6
|
|
|
7
|
-
22 top-level namespaces,
|
|
7
|
+
22 top-level namespaces, 497 methods. This index lists method **names** only — full signatures live per namespace under [`surface/`](./surface). Open `surface/<namespace>.md` for the one you need.
|
|
8
8
|
|
|
9
9
|
## [`api.ai`](./surface/ai.md)
|
|
10
10
|
|
|
@@ -25,8 +25,14 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
25
25
|
- `login.withOidc`
|
|
26
26
|
- `login.withPassword`
|
|
27
27
|
- `mfa.regenerateRecoveryCodes`
|
|
28
|
+
- `mfa.totp.disable`
|
|
29
|
+
- `mfa.totp.setup`
|
|
30
|
+
- `mfa.totp.verify`
|
|
28
31
|
- `mfa.verifyWithCode`
|
|
29
32
|
- `mfa.verifyWithWebauthn`
|
|
33
|
+
- `password.change`
|
|
34
|
+
- `password.reset`
|
|
35
|
+
- `password.resetRequest`
|
|
30
36
|
- `pat.create`
|
|
31
37
|
- `pat.exchange`
|
|
32
38
|
- `pat.getAll`
|
|
@@ -172,6 +178,9 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
172
178
|
- `features.getFeature`
|
|
173
179
|
- `features.getFeatureAdmins`
|
|
174
180
|
- `features.getFeatureProjects`
|
|
181
|
+
- `fileStorage.getFileStoragesAbs`
|
|
182
|
+
- `fileStorage.getFileStoragesGcs`
|
|
183
|
+
- `fileStorage.getFileStoragesS3`
|
|
175
184
|
- `maintainers.addMaintainerUser`
|
|
176
185
|
- `maintainers.createMaintainer`
|
|
177
186
|
- `maintainers.createMaintainerInvitation`
|
|
@@ -217,16 +226,30 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
217
226
|
- `projects.getProjectInvitations`
|
|
218
227
|
- `projects.getProjectMetadata`
|
|
219
228
|
- `projects.getProjectReviewers`
|
|
229
|
+
- `projects.getProjectTemplates`
|
|
220
230
|
- `projects.getProjectUsers`
|
|
221
231
|
- `projects.moveProject`
|
|
222
232
|
- `projects.removeProjectFeature`
|
|
223
233
|
- `projects.removeProjectUser`
|
|
224
234
|
- `projects.setProjectDisabled`
|
|
235
|
+
- `projects.setProjectLimits`
|
|
225
236
|
- `projects.setProjectMetadata`
|
|
226
237
|
- `projects.setProjectReviewers`
|
|
227
238
|
- `projects.updateProject`
|
|
228
239
|
- `storageBackends.getStorageBackend`
|
|
240
|
+
- `storageBackends.getStorageBackendMaintainers`
|
|
241
|
+
- `storageBackends.getStorageBackendProjects`
|
|
242
|
+
- `storageBackends.getStorageBackends`
|
|
229
243
|
- `users.addUserAdminFeature`
|
|
244
|
+
- `users.deleteUser`
|
|
245
|
+
- `users.disableUserMfa`
|
|
246
|
+
- `users.getUser`
|
|
247
|
+
- `users.getUserMaintainers`
|
|
248
|
+
- `users.getUserOrganizations`
|
|
249
|
+
- `users.getUserProjects`
|
|
250
|
+
- `users.getUsers`
|
|
251
|
+
- `users.grantSuperAdmin`
|
|
252
|
+
- `users.removeSuperAdmin`
|
|
230
253
|
- `users.removeUserAdminFeature`
|
|
231
254
|
- `verifyToken`
|
|
232
255
|
|
|
@@ -248,7 +271,9 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
248
271
|
## [`api.notifications`](./surface/notifications.md)
|
|
249
272
|
|
|
250
273
|
- `createSubscription`
|
|
274
|
+
- `createSubscriptions`
|
|
251
275
|
- `deleteSubscription`
|
|
276
|
+
- `deleteSubscriptions`
|
|
252
277
|
- `getSubscription`
|
|
253
278
|
- `getSubscriptions`
|
|
254
279
|
|
|
@@ -270,7 +295,12 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
270
295
|
|
|
271
296
|
## [`api.queue`](./surface/queue.md)
|
|
272
297
|
|
|
298
|
+
- `createJob`
|
|
273
299
|
- `getJob`
|
|
300
|
+
- `getOrchestrationRerunPlan`
|
|
301
|
+
- `killJob`
|
|
302
|
+
- `searchAllJobs`
|
|
303
|
+
- `searchGroupedJobs`
|
|
274
304
|
- `searchJobs`
|
|
275
305
|
|
|
276
306
|
## [`api.scheduler`](./surface/scheduler.md)
|
|
@@ -278,6 +308,7 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
278
308
|
- `activateSchedule`
|
|
279
309
|
- `deleteSchedule`
|
|
280
310
|
- `deleteSchedulesForConfiguration`
|
|
311
|
+
- `deleteSchedulesForConfigurations`
|
|
281
312
|
- `getSchedule`
|
|
282
313
|
- `getSchedules`
|
|
283
314
|
- `refreshScheduleToken`
|
|
@@ -287,6 +318,18 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
287
318
|
- `configuration.createConfiguration`
|
|
288
319
|
- `configuration.getConfiguration`
|
|
289
320
|
- `configuration.updateConfiguration`
|
|
321
|
+
- `semanticLayer.createModel`
|
|
322
|
+
- `semanticLayer.createModelTree`
|
|
323
|
+
- `semanticLayer.createObject`
|
|
324
|
+
- `semanticLayer.createObjects`
|
|
325
|
+
- `semanticLayer.deleteModel`
|
|
326
|
+
- `semanticLayer.deleteObject`
|
|
327
|
+
- `semanticLayer.findObjectsByName`
|
|
328
|
+
- `semanticLayer.listModelChildren`
|
|
329
|
+
- `semanticLayer.listModels`
|
|
330
|
+
- `semanticLayer.listObjects`
|
|
331
|
+
- `semanticLayer.updateModel`
|
|
332
|
+
- `semanticLayer.updateObject`
|
|
290
333
|
- `storage.addTableColumn`
|
|
291
334
|
- `storage.createBucketListing`
|
|
292
335
|
- `storage.createSnapshot`
|
|
@@ -385,10 +428,15 @@ Every namespace and method reachable from an initialized `ApiClient` (`createApi
|
|
|
385
428
|
- `componentsAndConfigurations.getConfigurationWorkspaces`
|
|
386
429
|
- `componentsAndConfigurations.getConfigurations`
|
|
387
430
|
- `componentsAndConfigurations.rebaseConfiguration`
|
|
431
|
+
- `componentsAndConfigurations.resetConfigurationToDefault`
|
|
432
|
+
- `componentsAndConfigurations.restoreConfiguration`
|
|
388
433
|
- `componentsAndConfigurations.searchComponentConfigurations`
|
|
389
434
|
- `componentsAndConfigurations.updateConfiguration`
|
|
435
|
+
- `configurationMetadata.saveConfigurationMetadata`
|
|
436
|
+
- `configurationVersions.copyConfigurationFromVersion`
|
|
390
437
|
- `configurationVersions.getConfigurationVersion`
|
|
391
|
-
- `configurationVersions.
|
|
438
|
+
- `configurationVersions.getConfigurationVersions`
|
|
439
|
+
- `configurationVersions.rollbackConfigurationToVersion`
|
|
392
440
|
- `events.createEvent`
|
|
393
441
|
- `events.getEvent`
|
|
394
442
|
- `events.getEvents`
|
package/README.md
CHANGED
|
@@ -14,46 +14,136 @@ npm install @keboola/api-client
|
|
|
14
14
|
|
|
15
15
|
## Quick Start
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
The SDK exposes two flow-specific factories — pick the one that matches how you authenticate.
|
|
18
|
+
**Both return `{ api, session }`** and work the same in browser and Node:
|
|
19
|
+
|
|
20
|
+
- `createLegacyKeboola()` — legacy **Storage API token** (SAPI) flow.
|
|
21
|
+
- `createKeboola()` — **bearer / OAuth** flow.
|
|
22
|
+
|
|
23
|
+
`session` is the lifecycle — you drive it to _ready_. `api` is the product surface, gated by state:
|
|
24
|
+
|
|
25
|
+
| Tier | Live once… | Example |
|
|
26
|
+
| ----------------------------------------------- | --------------------------------------- | ---------------------------------- |
|
|
27
|
+
| `api.auth.*` | a `baseUrl` is configured | `api.auth.login.withPassword(...)` |
|
|
28
|
+
| `api.management.*` | the management realm authenticates | `api.management.projects.*` |
|
|
29
|
+
| `api.storage` / `api.queue` / `api.context` / … | the async storage build reaches `ready` | `api.storage.getStackInfo()` |
|
|
30
|
+
|
|
31
|
+
Touching a product namespace before _ready_ throws a `KeboolaError`. `session.isStorageReady()` and
|
|
32
|
+
`session.subscribe(cb)` observe the transition; the `…Async` verbs below await it for you.
|
|
33
|
+
|
|
34
|
+
> Options are identical for both factories: `{ baseUrl?, middlewares?, clientServiceUrls? }`. There is
|
|
35
|
+
> **no built-in token persistence** — a browser app that must survive a reload re-authenticates on boot;
|
|
36
|
+
> a Node process keeps the credential wherever it already stores secrets.
|
|
37
|
+
|
|
38
|
+
### Legacy (SAPI token) — Node
|
|
39
|
+
|
|
40
|
+
You already hold a Storage API token (env var, secret store). One step to _ready_:
|
|
18
41
|
|
|
19
42
|
```typescript
|
|
20
|
-
import {
|
|
43
|
+
import { createLegacyKeboola } from '@keboola/api-client';
|
|
21
44
|
|
|
22
|
-
const api =
|
|
45
|
+
const { api, session } = createLegacyKeboola({ baseUrl: process.env.KEBOOLA_STACK_URL! });
|
|
46
|
+
await session.authenticateStorageAsync(process.env.KEBOOLA_STORAGE_TOKEN!);
|
|
23
47
|
|
|
24
|
-
await api.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
48
|
+
const stackInfo = await api.storage.getStackInfo();
|
|
49
|
+
const project = api.context.project; // synchronous once ready
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Optionally add the management realm with `session.authenticateManagement(manageToken)` → `api.management.*`.
|
|
53
|
+
|
|
54
|
+
### Legacy (SAPI token) — Browser
|
|
55
|
+
|
|
56
|
+
Identical calls; the token is whatever the host hands the app (e.g. kbc-ui's boot payload). Use the
|
|
57
|
+
fire-and-forget `authenticateStorage` and observe readiness instead of awaiting:
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
import { createLegacyKeboola } from '@keboola/api-client';
|
|
61
|
+
|
|
62
|
+
const { api, session } = createLegacyKeboola({ baseUrl });
|
|
63
|
+
session.authenticateStorage(sapiToken);
|
|
64
|
+
session.subscribe((snapshot) => {
|
|
65
|
+
if (snapshot.storage === 'ready') {
|
|
66
|
+
/* render the app — api.storage.* is now live */
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
> **React:** don't wire this by hand — `LegacyAuthProvider` + `useApiClient()` from
|
|
72
|
+
> [`@keboola/api-client-react`](../api-client-react) drive the singleton session to ready and hand you `api`.
|
|
73
|
+
|
|
74
|
+
### Bearer (OAuth) — Browser
|
|
75
|
+
|
|
76
|
+
Interactive login, then scope to a project:
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
import { createKeboola } from '@keboola/api-client';
|
|
80
|
+
|
|
81
|
+
const { api, session } = createKeboola({ baseUrl });
|
|
82
|
+
|
|
83
|
+
// api.auth is live as soon as baseUrl is configured
|
|
84
|
+
const result = await api.auth.login.withPassword({ email, password });
|
|
85
|
+
if (result.mfaRequired) {
|
|
86
|
+
// result is an MFA challenge — verify via api.auth.mfa.* to obtain the LoginSuccess
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
session.authenticate(result); // pass the LoginSuccess → api.management is now live
|
|
90
|
+
await session.setProjectAsync(projectId); // projectId from your project picker → storage ready
|
|
91
|
+
|
|
92
|
+
const stackInfo = await api.storage.getStackInfo();
|
|
93
|
+
session.setProject(otherProjectId); // runtime re-scope — rebuilds against the new project
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
> **React:** `AuthProvider` + `useApiClient()` own the login → authenticate → setProject sequence.
|
|
97
|
+
|
|
98
|
+
### Bearer (OAuth) — Node
|
|
99
|
+
|
|
100
|
+
Same shape. Either run `api.auth.login.withPassword(...)` headlessly, or, if you already hold a
|
|
101
|
+
credential, hand a `LoginSuccess`-shaped object straight to `session.authenticate`:
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
import { createKeboola } from '@keboola/api-client';
|
|
105
|
+
|
|
106
|
+
const { api, session } = createKeboola({ baseUrl: process.env.KEBOOLA_STACK_URL! });
|
|
107
|
+
|
|
108
|
+
session.authenticate({
|
|
109
|
+
mfaRequired: false,
|
|
110
|
+
accessToken: process.env.KBC_ACCESS_TOKEN!,
|
|
111
|
+
refreshToken: process.env.KBC_REFRESH_TOKEN!,
|
|
112
|
+
tokenType: 'Bearer',
|
|
113
|
+
expiresIn: 3600,
|
|
114
|
+
sessionId: '',
|
|
115
|
+
user: { id: 0, email: '', name: '' },
|
|
31
116
|
});
|
|
117
|
+
await session.setProjectAsync(Number(process.env.KBC_PROJECT_ID));
|
|
32
118
|
|
|
33
|
-
const
|
|
34
|
-
const jobs = await api.queue.searchJobs();
|
|
119
|
+
const stackInfo = await api.storage.getStackInfo();
|
|
35
120
|
```
|
|
36
121
|
|
|
37
|
-
|
|
122
|
+
> The SDK refreshes the access token in-band; persisting the rotated refresh token across process
|
|
123
|
+
> restarts is the caller's responsibility (there is no storage adapter).
|
|
38
124
|
|
|
39
|
-
|
|
125
|
+
### Single-service client (when you only need one service)
|
|
126
|
+
|
|
127
|
+
For a single service — including a **browser SPA that only talks to Storage** — use the per-service
|
|
128
|
+
factory. It needs only `baseUrl` + `auth` and skips the stack-info round-trip. Reach for a full client
|
|
129
|
+
above only when you need multiple stack services.
|
|
40
130
|
|
|
41
131
|
```typescript
|
|
42
132
|
import { createStorageClient } from '@keboola/api-client/storage';
|
|
43
133
|
|
|
44
134
|
const storage = createStorageClient({
|
|
45
135
|
baseUrl: 'https://connection.keboola.com',
|
|
46
|
-
token: 'your-storage-token',
|
|
136
|
+
auth: { type: 'sapi-token', token: 'your-storage-token' },
|
|
47
137
|
});
|
|
48
138
|
|
|
49
139
|
const stackInfo = await storage.getStackInfo();
|
|
50
|
-
const
|
|
140
|
+
const token = await storage.tokens.verify();
|
|
51
141
|
```
|
|
52
142
|
|
|
53
143
|
### Type imports
|
|
54
144
|
|
|
55
145
|
```typescript
|
|
56
|
-
import type {
|
|
146
|
+
import type { KeboolaOptions, AuthStrategy } from '@keboola/api-client';
|
|
57
147
|
import type { StackInfo, ServiceId } from '@keboola/api-client/storage/types';
|
|
58
148
|
import type { GetQueueJobPath } from '@keboola/api-client/queue/types';
|
|
59
149
|
import type { VariableWithHash } from '@keboola/api-client/vault/types';
|
|
@@ -63,9 +153,13 @@ import type { VariableWithHash } from '@keboola/api-client/vault/types';
|
|
|
63
153
|
|
|
64
154
|
```
|
|
65
155
|
src/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
156
|
+
index.ts # package entry — re-exports keboola/ factories, errors, utils
|
|
157
|
+
keboola/
|
|
158
|
+
bearer/keboola.ts # createKeboola() — bearer/OAuth flow → { api, session }
|
|
159
|
+
legacy/keboola.ts # createLegacyKeboola() — SAPI-token flow → { api, session }
|
|
160
|
+
createApi.ts # flow-agnostic, state-gating `api` proxy
|
|
161
|
+
createResource.ts # async storage-build resource (unresolved→pending→ready|errored)
|
|
162
|
+
internal.ts # HTTP headers, prefixes
|
|
69
163
|
fetchClient/
|
|
70
164
|
createFetchClient/ # Core fetch wrapper, middleware composition
|
|
71
165
|
createGenericFetchClient.ts # Untyped HTTP client (manual generics)
|
|
@@ -113,7 +207,7 @@ src/
|
|
|
113
207
|
|
|
114
208
|
## Service Clients
|
|
115
209
|
|
|
116
|
-
|
|
210
|
+
On the `api` object returned by `createKeboola()` / `createLegacyKeboola()` — once the session reaches `ready` — the following clients are available.
|
|
117
211
|
Clients backed by OpenAPI specs are marked with (OpenAPI); the rest use the generic fetch client.
|
|
118
212
|
|
|
119
213
|
| Accessor | Service | Key methods |
|
|
@@ -134,7 +228,7 @@ Clients backed by OpenAPI specs are marked with (OpenAPI); the rest use the gene
|
|
|
134
228
|
| `api.telemetry` | Telemetry | `provisioning.*` |
|
|
135
229
|
| `api.import` | Import | `uploadFile()` |
|
|
136
230
|
|
|
137
|
-
Additional accessors on the
|
|
231
|
+
Additional accessors on the ready client:
|
|
138
232
|
|
|
139
233
|
| Accessor | Purpose |
|
|
140
234
|
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -148,8 +242,14 @@ Additional accessors on the initialized client:
|
|
|
148
242
|
## Entry Points
|
|
149
243
|
|
|
150
244
|
```typescript
|
|
151
|
-
// Main entry —
|
|
152
|
-
import {
|
|
245
|
+
// Main entry — SDK factories + all exports
|
|
246
|
+
import {
|
|
247
|
+
createKeboola,
|
|
248
|
+
createLegacyKeboola,
|
|
249
|
+
isApiError,
|
|
250
|
+
concurrent,
|
|
251
|
+
poll,
|
|
252
|
+
} from '@keboola/api-client';
|
|
153
253
|
|
|
154
254
|
// Per-client imports — individual client factories
|
|
155
255
|
import { createStorageClient } from '@keboola/api-client/storage';
|
package/dist/ai/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunk556U6PFA_cjs = require('../chunk-556U6PFA.cjs');
|
|
4
|
+
require('../chunk-43CGBOVT.cjs');
|
|
5
|
+
require('../chunk-DMNWPVVT.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "createAiClient", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk556U6PFA_cjs.createAiClient; }
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=index.cjs.map
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
package/dist/ai/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-
|
|
2
|
-
import { C as ClientInitOptions } from '../types-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-y3pEpGrH.cjs';
|
|
2
|
+
import { C as ClientInitOptions } from '../types-DqxZDbM1.cjs';
|
|
3
|
+
import '../types-BbM5WDSR.cjs';
|
|
4
4
|
import 'qs';
|
|
5
5
|
|
|
6
6
|
declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
@@ -46,6 +46,7 @@ declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions
|
|
|
46
46
|
rootConfigurationExamples: Record<string, never>[] | null;
|
|
47
47
|
rowConfigurationExamples: Record<string, never>[] | null;
|
|
48
48
|
componentFlags: string[] | null;
|
|
49
|
+
synchronousActions?: string[] | null;
|
|
49
50
|
}>;
|
|
50
51
|
};
|
|
51
52
|
|
package/dist/ai/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-
|
|
2
|
-
import { C as ClientInitOptions } from '../types-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components, F as FeedbackBody, d as DocsQuestionBody } from '../types-BjNd012m.js';
|
|
2
|
+
import { C as ClientInitOptions } from '../types-DqxZDbM1.js';
|
|
3
|
+
import '../types-BbM5WDSR.js';
|
|
4
4
|
import 'qs';
|
|
5
5
|
|
|
6
6
|
declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
@@ -46,6 +46,7 @@ declare const createAiClient: ({ baseUrl, middlewares, auth }: ClientInitOptions
|
|
|
46
46
|
rootConfigurationExamples: Record<string, never>[] | null;
|
|
47
47
|
rowConfigurationExamples: Record<string, never>[] | null;
|
|
48
48
|
componentFlags: string[] | null;
|
|
49
|
+
synchronousActions?: string[] | null;
|
|
49
50
|
}>;
|
|
50
51
|
};
|
|
51
52
|
|
package/dist/ai/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createAiClient } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { createAiClient } from '../chunk-TCGHVOIJ.js';
|
|
2
|
+
import '../chunk-L4R66Q6S.js';
|
|
3
|
+
import '../chunk-3B3GOGAL.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/ai/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../types-
|
|
2
|
-
export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-
|
|
1
|
+
import '../types-BbM5WDSR.cjs';
|
|
2
|
+
export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-y3pEpGrH.cjs';
|
package/dist/ai/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../types-
|
|
2
|
-
export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-
|
|
1
|
+
import '../types-BbM5WDSR.js';
|
|
2
|
+
export { C as ComponentDocsDetail, e as ComponentSuggestion, b as DescribeConfigurationBody, a as DescribeConfigurationMergeBody, D as DescribeConfigurationVersionBody, f as DocsAnswer, d as DocsQuestionBody, g as ErrorExplanation, E as ExplainErrorBody, F as FeedbackBody, O as ObjectDescription, S as SuggestComponentBody } from '../types-BjNd012m.js';
|
package/dist/assets/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDMNWPVVT_cjs = require('../chunk-DMNWPVVT.cjs');
|
|
4
4
|
|
|
5
5
|
// src/clients/assets/assetsClient.ts
|
|
6
6
|
var createAssetsClient = ({ baseUrl, middlewares }) => {
|
|
7
|
-
const client =
|
|
7
|
+
const client = chunkDMNWPVVT_cjs.createGenericFetchClient({
|
|
8
8
|
baseUrl,
|
|
9
9
|
middlewares
|
|
10
10
|
});
|
|
@@ -16,8 +16,17 @@ var createAssetsClient = ({ baseUrl, middlewares }) => {
|
|
|
16
16
|
);
|
|
17
17
|
return data;
|
|
18
18
|
};
|
|
19
|
+
const getAnnouncements = async (signal) => {
|
|
20
|
+
const { data } = await client.get(
|
|
21
|
+
"/platform-announcements/announcements.json",
|
|
22
|
+
{},
|
|
23
|
+
{ signal }
|
|
24
|
+
);
|
|
25
|
+
return data;
|
|
26
|
+
};
|
|
19
27
|
return {
|
|
20
|
-
getPublishedChangelogPosts
|
|
28
|
+
getPublishedChangelogPosts,
|
|
29
|
+
getAnnouncements
|
|
21
30
|
};
|
|
22
31
|
};
|
|
23
32
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":["createGenericFetchClient"],"mappings":";;;;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAASA,0CAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF","file":"index.cjs","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n };\n};\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":["createGenericFetchClient"],"mappings":";;;;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAASA,0CAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAOA,EAAA,MAAM,gBAAA,GAAmB,OAAO,MAAA,KAAyB;AACvD,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,4CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL,0BAAA;AAAA,IACA;AAAA,GACF;AACF","file":"index.cjs","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n /**\n * Static in-platform announcements feed. Returned untyped on purpose: the feed is authored by\n * hand outside this repo, so the consumer owns runtime validation and decides what a malformed\n * entry means for its surface.\n */\n const getAnnouncements = async (signal?: AbortSignal) => {\n const { data } = await client.get<unknown>(\n '/platform-announcements/announcements.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n getAnnouncements,\n };\n};\n"]}
|
package/dist/assets/index.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { C as ClientInitOptions } from '../types-
|
|
1
|
+
import { C as ClientInitOptions } from '../types-DqxZDbM1.cjs';
|
|
2
2
|
import { Post } from './types.cjs';
|
|
3
3
|
import 'qs';
|
|
4
4
|
|
|
5
5
|
declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, "auth">) => {
|
|
6
6
|
getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<Post[]>;
|
|
7
|
+
getAnnouncements: (signal?: AbortSignal) => Promise<unknown>;
|
|
7
8
|
};
|
|
8
9
|
|
|
9
10
|
export { createAssetsClient };
|
package/dist/assets/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { C as ClientInitOptions } from '../types-
|
|
1
|
+
import { C as ClientInitOptions } from '../types-DqxZDbM1.js';
|
|
2
2
|
import { Post } from './types.js';
|
|
3
3
|
import 'qs';
|
|
4
4
|
|
|
5
5
|
declare const createAssetsClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, "auth">) => {
|
|
6
6
|
getPublishedChangelogPosts: (signal?: AbortSignal) => Promise<Post[]>;
|
|
7
|
+
getAnnouncements: (signal?: AbortSignal) => Promise<unknown>;
|
|
7
8
|
};
|
|
8
9
|
|
|
9
10
|
export { createAssetsClient };
|
package/dist/assets/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createGenericFetchClient } from '../chunk-
|
|
1
|
+
import { createGenericFetchClient } from '../chunk-3B3GOGAL.js';
|
|
2
2
|
|
|
3
3
|
// src/clients/assets/assetsClient.ts
|
|
4
4
|
var createAssetsClient = ({ baseUrl, middlewares }) => {
|
|
@@ -14,8 +14,17 @@ var createAssetsClient = ({ baseUrl, middlewares }) => {
|
|
|
14
14
|
);
|
|
15
15
|
return data;
|
|
16
16
|
};
|
|
17
|
+
const getAnnouncements = async (signal) => {
|
|
18
|
+
const { data } = await client.get(
|
|
19
|
+
"/platform-announcements/announcements.json",
|
|
20
|
+
{},
|
|
21
|
+
{ signal }
|
|
22
|
+
);
|
|
23
|
+
return data;
|
|
24
|
+
};
|
|
17
25
|
return {
|
|
18
|
-
getPublishedChangelogPosts
|
|
26
|
+
getPublishedChangelogPosts,
|
|
27
|
+
getAnnouncements
|
|
19
28
|
};
|
|
20
29
|
};
|
|
21
30
|
|
package/dist/assets/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":[],"mappings":";;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAAS,wBAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF","file":"index.js","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n };\n};\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/clients/assets/assetsClient.ts"],"names":[],"mappings":";;;AAKO,IAAM,kBAAA,GAAqB,CAAC,EAAE,OAAA,EAAS,aAAY,KAAuC;AAC/F,EAAA,MAAM,SAAS,wBAAA,CAAyB;AAAA,IACtC,OAAA;AAAA,IACA;AAAA,GACD,CAAA;AAED,EAAA,MAAM,0BAAA,GAA6B,OAAO,MAAA,KAAyB;AACjE,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,0CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAOA,EAAA,MAAM,gBAAA,GAAmB,OAAO,MAAA,KAAyB;AACvD,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,MAAA,CAAO,GAAA;AAAA,MAC5B,4CAAA;AAAA,MACA,EAAC;AAAA,MACD,EAAE,MAAA;AAAO,KACX;AAEA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,OAAO;AAAA,IACL,0BAAA;AAAA,IACA;AAAA,GACF;AACF","file":"index.js","sourcesContent":["import { createGenericFetchClient } from '../../fetchClient';\nimport type { ClientInitOptions } from '../types';\n\nimport type { Post } from './types';\n\nexport const createAssetsClient = ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {\n const client = createGenericFetchClient({\n baseUrl,\n middlewares,\n });\n\n const getPublishedChangelogPosts = async (signal?: AbortSignal) => {\n const { data } = await client.get<Post[]>(\n '/platform-changelog/published-posts.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n /**\n * Static in-platform announcements feed. Returned untyped on purpose: the feed is authored by\n * hand outside this repo, so the consumer owns runtime validation and decides what a malformed\n * entry means for its surface.\n */\n const getAnnouncements = async (signal?: AbortSignal) => {\n const { data } = await client.get<unknown>(\n '/platform-announcements/announcements.json',\n {},\n { signal },\n );\n\n return data;\n };\n\n return {\n getPublishedChangelogPosts,\n getAnnouncements,\n };\n};\n"]}
|
package/dist/auth/index.cjs
CHANGED
|
@@ -1,41 +1,53 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkYEF46DYF_cjs = require('../chunk-YEF46DYF.cjs');
|
|
4
|
+
require('../chunk-DMNWPVVT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
Object.defineProperty(exports, "changeInputSchema", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkYEF46DYF_cjs.changeInputSchema; }
|
|
11
|
+
});
|
|
8
12
|
Object.defineProperty(exports, "createAuthClient", {
|
|
9
13
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkYEF46DYF_cjs.createAuthClient; }
|
|
11
15
|
});
|
|
12
16
|
Object.defineProperty(exports, "loginInputSchema", {
|
|
13
17
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkYEF46DYF_cjs.loginInputSchema; }
|
|
15
19
|
});
|
|
16
20
|
Object.defineProperty(exports, "loginResultSchema", {
|
|
17
21
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkYEF46DYF_cjs.loginResultSchema; }
|
|
19
23
|
});
|
|
20
24
|
Object.defineProperty(exports, "loginSuccessSchema", {
|
|
21
25
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkYEF46DYF_cjs.loginSuccessSchema; }
|
|
23
27
|
});
|
|
24
28
|
Object.defineProperty(exports, "mfaChallengeSchema", {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkYEF46DYF_cjs.mfaChallengeSchema; }
|
|
27
31
|
});
|
|
28
32
|
Object.defineProperty(exports, "mfaCodeInputSchema", {
|
|
29
33
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkYEF46DYF_cjs.mfaCodeInputSchema; }
|
|
31
35
|
});
|
|
32
36
|
Object.defineProperty(exports, "mfaWebauthnInputSchema", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkYEF46DYF_cjs.mfaWebauthnInputSchema; }
|
|
35
39
|
});
|
|
36
40
|
Object.defineProperty(exports, "oidcInputSchema", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkYEF46DYF_cjs.oidcInputSchema; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "resetInputSchema", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkYEF46DYF_cjs.resetInputSchema; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "resetRequestInputSchema", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkYEF46DYF_cjs.resetRequestInputSchema; }
|
|
39
51
|
});
|
|
40
52
|
//# sourceMappingURL=index.cjs.map
|
|
41
53
|
//# sourceMappingURL=index.cjs.map
|