@keboola/api-client 21.0.0 → 24.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 +72 -1
- package/README.md +43 -2
- package/dist/{ManagementClientAuthError-CJu_hpGi.d.cts → ManagementClientAuthError-BuqHAOBO.d.cts} +1 -1
- package/dist/{ManagementClientAuthError-B3PZRWBU.d.ts → ManagementClientAuthError-C7q1Jd9I.d.ts} +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 +19 -4
- package/dist/assets/index.cjs.map +1 -1
- package/dist/assets/index.d.cts +18 -3
- package/dist/assets/index.d.ts +18 -3
- package/dist/assets/index.js +18 -3
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/schema.cjs +16 -0
- package/dist/assets/schema.cjs.map +1 -0
- package/dist/assets/schema.d.cts +28 -0
- package/dist/assets/schema.d.ts +28 -0
- package/dist/assets/schema.js +3 -0
- package/dist/assets/schema.js.map +1 -0
- package/dist/auth/index.cjs +22 -10
- package/dist/auth/index.d.cts +40 -5
- package/dist/auth/index.d.ts +40 -5
- 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/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/chunk-22E6IGXR.js +6 -0
- package/dist/chunk-22E6IGXR.js.map +1 -0
- package/dist/chunk-2CFM7K4U.cjs +55 -0
- package/dist/chunk-2CFM7K4U.cjs.map +1 -0
- package/dist/{chunk-CWD66KRM.js → chunk-34GM6NXB.js} +4 -4
- package/dist/{chunk-CWD66KRM.js.map → chunk-34GM6NXB.js.map} +1 -1
- package/dist/{chunk-CBVGOANJ.cjs → chunk-35MODDCL.cjs} +6 -7
- package/dist/chunk-35MODDCL.cjs.map +1 -0
- package/dist/{chunk-IWNJ47CV.js → chunk-3BFPNM2J.js} +14 -5
- package/dist/chunk-3BFPNM2J.js.map +1 -0
- package/dist/{chunk-V6QQZLEU.js → chunk-3MTY6I2W.js} +4 -4
- package/dist/{chunk-V6QQZLEU.js.map → chunk-3MTY6I2W.js.map} +1 -1
- package/dist/{chunk-ZHNOZHJG.js → chunk-3PVERYSF.js} +3 -3
- package/dist/{chunk-ZHNOZHJG.js.map → chunk-3PVERYSF.js.map} +1 -1
- package/dist/chunk-3YWQQ3OG.cjs +79 -0
- package/dist/chunk-3YWQQ3OG.cjs.map +1 -0
- package/dist/chunk-4VVF2PIX.js +110 -0
- package/dist/chunk-4VVF2PIX.js.map +1 -0
- package/dist/{chunk-ZCODWFCC.js → chunk-5XWVWFTC.js} +4 -4
- package/dist/{chunk-ZCODWFCC.js.map → chunk-5XWVWFTC.js.map} +1 -1
- package/dist/chunk-6YZQIMML.cjs +163 -0
- package/dist/chunk-6YZQIMML.cjs.map +1 -0
- package/dist/{chunk-P6OWDUN7.js → chunk-77LILJYX.js} +4 -4
- package/dist/{chunk-P6OWDUN7.js.map → chunk-77LILJYX.js.map} +1 -1
- package/dist/{chunk-X6BQTEIT.cjs → chunk-7R22VKV7.cjs} +7 -7
- package/dist/{chunk-X6BQTEIT.cjs.map → chunk-7R22VKV7.cjs.map} +1 -1
- package/dist/chunk-7RO6PKZ4.cjs +16 -0
- package/dist/{chunk-UQWVZTEA.cjs.map → chunk-7RO6PKZ4.cjs.map} +1 -1
- package/dist/{chunk-OZMUKLXN.cjs → chunk-7YXL4FKN.cjs} +6 -6
- package/dist/{chunk-OZMUKLXN.cjs.map → chunk-7YXL4FKN.cjs.map} +1 -1
- package/dist/{chunk-R2FAPJMZ.js → chunk-7Z4MU7ZB.js} +498 -132
- package/dist/chunk-7Z4MU7ZB.js.map +1 -0
- package/dist/{chunk-FDISA5KO.cjs → chunk-AFJGNBVM.cjs} +16 -7
- package/dist/chunk-AFJGNBVM.cjs.map +1 -0
- package/dist/{chunk-4WX5W7YU.js → chunk-AXEANGGK.js} +4 -4
- package/dist/{chunk-4WX5W7YU.js.map → chunk-AXEANGGK.js.map} +1 -1
- package/dist/chunk-BCZPCMGL.cjs +49 -0
- package/dist/chunk-BCZPCMGL.cjs.map +1 -0
- package/dist/{chunk-NRJTA5P3.cjs → chunk-BR6WZE3O.cjs} +4 -4
- package/dist/{chunk-NRJTA5P3.cjs.map → chunk-BR6WZE3O.cjs.map} +1 -1
- package/dist/{chunk-EXNR4FGV.js → chunk-BZA3FGO6.js} +3 -3
- package/dist/{chunk-EXNR4FGV.js.map → chunk-BZA3FGO6.js.map} +1 -1
- package/dist/{chunk-LFLFNQMQ.js → chunk-CV2JGHBN.js} +4 -4
- package/dist/{chunk-LFLFNQMQ.js.map → chunk-CV2JGHBN.js.map} +1 -1
- package/dist/{chunk-WWICQYOY.cjs → chunk-CWCUQACX.cjs} +4 -4
- package/dist/{chunk-WWICQYOY.cjs.map → chunk-CWCUQACX.cjs.map} +1 -1
- package/dist/{chunk-LGWRJM5X.cjs → chunk-CWUQ6ZAO.cjs} +6 -6
- package/dist/{chunk-LGWRJM5X.cjs.map → chunk-CWUQ6ZAO.cjs.map} +1 -1
- package/dist/{chunk-Z76DIRLA.cjs → chunk-D3ZZQIY2.cjs} +9 -2
- package/dist/{chunk-4IEIVLYT.js.map → chunk-D3ZZQIY2.cjs.map} +1 -1
- package/dist/{chunk-4IEIVLYT.js → chunk-D6O5C67S.js} +9 -2
- package/dist/chunk-D6O5C67S.js.map +1 -0
- package/dist/{chunk-XPQBE77T.cjs → chunk-DRNOCC6W.cjs} +61 -8
- package/dist/chunk-DRNOCC6W.cjs.map +1 -0
- package/dist/{chunk-6JXSO3AR.js → chunk-EDX5D6UY.js} +3 -3
- package/dist/{chunk-6JXSO3AR.js.map → chunk-EDX5D6UY.js.map} +1 -1
- package/dist/chunk-FPB6OGTV.js +26 -0
- package/dist/chunk-FPB6OGTV.js.map +1 -0
- package/dist/{chunk-YVC4NGW2.js → chunk-G66EP527.js} +4 -4
- package/dist/{chunk-YVC4NGW2.js.map → chunk-G66EP527.js.map} +1 -1
- package/dist/chunk-HMCZUHR7.js +53 -0
- package/dist/chunk-HMCZUHR7.js.map +1 -0
- package/dist/{chunk-YHMW7CZF.cjs → chunk-HY7J3OD3.cjs} +508 -142
- package/dist/chunk-HY7J3OD3.cjs.map +1 -0
- package/dist/{chunk-SB7AVZQU.cjs → chunk-IDWGBCSB.cjs} +6 -6
- package/dist/{chunk-SB7AVZQU.cjs.map → chunk-IDWGBCSB.cjs.map} +1 -1
- package/dist/{chunk-3GTRQFWA.cjs → chunk-J3NLKXQ5.cjs} +9 -9
- package/dist/{chunk-3GTRQFWA.cjs.map → chunk-J3NLKXQ5.cjs.map} +1 -1
- package/dist/{chunk-6BYHD5DG.js → chunk-KH6BHTXN.js} +3 -4
- package/dist/chunk-KH6BHTXN.js.map +1 -0
- package/dist/{chunk-4HBUVR57.cjs → chunk-KUYVBCUM.cjs} +82 -6
- package/dist/chunk-KUYVBCUM.cjs.map +1 -0
- package/dist/{chunk-AFIQYB2O.cjs → chunk-L262THNK.cjs} +9 -9
- package/dist/{chunk-AFIQYB2O.cjs.map → chunk-L262THNK.cjs.map} +1 -1
- package/dist/chunk-LD3JERYP.js +77 -0
- package/dist/chunk-LD3JERYP.js.map +1 -0
- package/dist/chunk-LIXSIM3H.cjs +113 -0
- package/dist/chunk-LIXSIM3H.cjs.map +1 -0
- package/dist/{chunk-IUN2ZSU3.cjs → chunk-MMOAH3EH.cjs} +72 -6
- package/dist/chunk-MMOAH3EH.cjs.map +1 -0
- package/dist/{chunk-DAAHTUXU.cjs → chunk-NVQ6LGDO.cjs} +6 -6
- package/dist/{chunk-DAAHTUXU.cjs.map → chunk-NVQ6LGDO.cjs.map} +1 -1
- package/dist/{chunk-U7CANHDD.js → chunk-NVRVPWNY.js} +16 -5
- package/dist/chunk-NVRVPWNY.js.map +1 -0
- package/dist/{chunk-KF5EI2IB.js → chunk-OUSPQ55W.js} +57 -7
- package/dist/chunk-OUSPQ55W.js.map +1 -0
- package/dist/{chunk-C5R6ITYD.cjs → chunk-PPQF7LTS.cjs} +24 -7
- package/dist/chunk-PPQF7LTS.cjs.map +1 -0
- package/dist/chunk-PSR3N4NC.js +136 -0
- package/dist/chunk-PSR3N4NC.js.map +1 -0
- package/dist/chunk-QHD4LPAQ.cjs +8 -0
- package/dist/chunk-QHD4LPAQ.cjs.map +1 -0
- package/dist/{chunk-S5XEXK36.cjs → chunk-QZKDBVAU.cjs} +9 -9
- package/dist/{chunk-S5XEXK36.cjs.map → chunk-QZKDBVAU.cjs.map} +1 -1
- package/dist/{chunk-5FDQYOJD.js → chunk-S4JK7DKM.js} +22 -5
- package/dist/chunk-S4JK7DKM.js.map +1 -0
- package/dist/{chunk-DAS5UQN6.cjs → chunk-T242YFMT.cjs} +19 -8
- package/dist/chunk-T242YFMT.cjs.map +1 -0
- package/dist/{chunk-M2LJZXVR.js → chunk-UP5SEEYZ.js} +73 -7
- package/dist/chunk-UP5SEEYZ.js.map +1 -0
- package/dist/{chunk-RTQEMQIC.cjs → chunk-UWQUHP3T.cjs} +6 -6
- package/dist/{chunk-RTQEMQIC.cjs.map → chunk-UWQUHP3T.cjs.map} +1 -1
- package/dist/{chunk-NV3P6XBU.js → chunk-WFXW4XU3.js} +4 -4
- package/dist/{chunk-NV3P6XBU.js.map → chunk-WFXW4XU3.js.map} +1 -1
- package/dist/{chunk-RK2VGHJE.js → chunk-XHDYLUM4.js} +71 -7
- package/dist/chunk-XHDYLUM4.js.map +1 -0
- package/dist/{chunk-WXGYFLFX.js → chunk-XIIER7QQ.js} +4 -4
- package/dist/{chunk-WXGYFLFX.js.map → chunk-XIIER7QQ.js.map} +1 -1
- package/dist/{chunk-DJ5LXAG3.js → chunk-XKIENBIE.js} +4 -4
- package/dist/{chunk-DJ5LXAG3.js.map → chunk-XKIENBIE.js.map} +1 -1
- package/dist/{chunk-HJQYMALV.cjs → chunk-Y44G2VDC.cjs} +6 -6
- package/dist/{chunk-HJQYMALV.cjs.map → chunk-Y44G2VDC.cjs.map} +1 -1
- package/dist/constants/index.cjs +20 -6
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +16 -2
- package/dist/constants/index.js.map +1 -1
- package/dist/{createGenericFetchClient-DJ-oaxPj.d.cts → createGenericFetchClient-Df_wFqT8.d.cts} +1 -1
- package/dist/{createGenericFetchClient-B2Gp1a8f.d.ts → createGenericFetchClient-Sl1DH71J.d.ts} +1 -1
- package/dist/{createOpenapiFetchClient-BMaILWyq.d.ts → createOpenapiFetchClient-BSy6dVM5.d.ts} +2 -2
- package/dist/{createOpenapiFetchClient-DQL2ZYNb.d.cts → createOpenapiFetchClient-GZxZgYHd.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 +106 -122
- package/dist/domain/permissions/index.cjs.map +1 -1
- package/dist/domain/permissions/index.d.cts +42 -5
- package/dist/domain/permissions/index.d.ts +42 -5
- package/dist/domain/permissions/index.js +2 -106
- 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 +3 -3
- package/dist/encryption/index.d.ts +3 -3
- package/dist/encryption/index.js +2 -2
- package/dist/encryption/types.d.cts +2 -2
- package/dist/encryption/types.d.ts +2 -2
- package/dist/import/index.cjs +4 -4
- package/dist/import/index.d.cts +37 -3
- package/dist/import/index.d.ts +37 -3
- package/dist/import/index.js +3 -3
- package/dist/index.cjs +136 -103
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +493 -81
- package/dist/index.d.ts +493 -81
- package/dist/index.js +63 -33
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +597 -99
- package/dist/management/index.d.ts +597 -99
- package/dist/management/index.js +3 -3
- package/dist/management/types.d.cts +3 -2
- package/dist/management/types.d.ts +3 -2
- package/dist/metastore/index.cjs +4 -4
- package/dist/metastore/index.d.cts +4 -4
- package/dist/metastore/index.d.ts +4 -4
- 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 +46 -6
- package/dist/oauth/index.d.ts +46 -6
- package/dist/oauth/index.js +3 -3
- package/dist/oauth/types.d.cts +718 -27
- package/dist/oauth/types.d.ts +718 -27
- package/dist/{project-DEFMKeAm.d.cts → project-CSJzVylj.d.cts} +1 -1
- package/dist/{project-BpTHlKfO.d.ts → project-DmC8vKnh.d.ts} +1 -1
- 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-v_1krdcs.d.cts → registry-CcKlB-yY.d.ts} +15 -2
- package/dist/{registry-v_1krdcs.d.ts → registry-Cg0Yng1z.d.cts} +15 -2
- 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 +4 -2
- package/dist/sdk/configurations/index.d.cts +12 -11
- package/dist/sdk/configurations/index.d.ts +12 -11
- package/dist/sdk/configurations/index.js +3 -1
- package/dist/sdk/semanticLayer/index.cjs +43 -3
- package/dist/sdk/semanticLayer/index.d.cts +121 -6
- package/dist/sdk/semanticLayer/index.d.ts +121 -6
- package/dist/sdk/semanticLayer/index.js +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +4 -4
- package/dist/sdk/semanticLayer/types.d.ts +4 -4
- package/dist/sdk/storage/index.cjs +12 -11
- package/dist/sdk/storage/index.d.cts +7 -7
- package/dist/sdk/storage/index.d.ts +7 -7
- package/dist/sdk/storage/index.js +2 -1
- package/dist/sdk/tag/index.d.cts +4 -4
- package/dist/sdk/tag/index.d.ts +4 -4
- package/dist/sdk/tag/types.d.cts +4 -4
- package/dist/sdk/tag/types.d.ts +4 -4
- package/dist/sdk/vault/index.d.cts +4 -4
- package/dist/sdk/vault/index.d.ts +4 -4
- 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 +7 -7
- package/dist/storage/index.d.ts +7 -7
- package/dist/storage/index.js +5 -5
- package/dist/storage/types.d.cts +4 -4
- package/dist/storage/types.d.ts +4 -4
- package/dist/{storageClient-BONJnuhr.d.ts → storageClient-B4OooGB9.d.ts} +4 -4
- package/dist/{storageClient-BxgbulPW.d.cts → storageClient-CdFqTbn3.d.cts} +4 -4
- package/dist/{storageSdk-CUnp67LN.d.ts → storageSdk-DA7U-1Hy.d.ts} +1 -1
- package/dist/{storageSdk-uCojVKkr.d.cts → storageSdk-U45zMbUb.d.cts} +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-CWebeQXy.d.cts → types-B-vmDlWB.d.cts} +1 -1
- package/dist/{types-Do0nBZbY.d.ts → types-B30y9Lhc.d.ts} +1 -1
- package/dist/{types-GRfGXouy.d.cts → types-BEnE7LHB.d.cts} +2 -2
- package/dist/{types-BxjcUj-y.d.cts → types-BX1xr4CX.d.cts} +27 -4
- package/dist/types-BfuVN8Pk.d.cts +468 -0
- package/dist/{types-BogOtZre.d.ts → types-BhlJw2f2.d.ts} +500 -44
- package/dist/{types-Dv3vN7M9.d.ts → types-BieLFMW1.d.cts} +1 -1
- package/dist/{types-BM3xJvzM.d.ts → types-Brc6lq7i.d.ts} +1 -1
- package/dist/{types-BjcRP8q1.d.cts → types-CM1zHzgm.d.ts} +585 -6
- package/dist/{types-VK3k4Z6R.d.cts → types-CSZoV4lM.d.cts} +1 -1
- package/dist/{types-CbEJaobw.d.ts → types-Cgh3jqrV.d.cts} +585 -6
- package/dist/{types-DFWnAftN.d.cts → types-CiJ5ULtS.d.ts} +1 -1
- package/dist/{types-D3Kkh6yW.d.ts → types-CrLjE5xf.d.ts} +3 -545
- package/dist/{types-D9cNOf-3.d.cts → types-D-MuJHwl.d.cts} +10 -1
- package/dist/{types-CFd7q2ed.d.ts → types-DHXZZKb3.d.ts} +1 -1
- package/dist/{types-DqxZDbM1.d.ts → types-DNg4M5JV.d.cts} +2 -0
- package/dist/{types-DqxZDbM1.d.cts → types-DNg4M5JV.d.ts} +2 -0
- package/dist/{types-B9SJ0cIc.d.cts → types-DVhcwrwN.d.cts} +500 -44
- package/dist/{types-CvHPHNH0.d.cts → types-DYnHIm7m.d.cts} +3 -545
- package/dist/{types-BbeZapCu.d.ts → types-DbAO-Tgk.d.ts} +2 -2
- package/dist/{types-yKV1EX6f.d.ts → types-DeS-oVdn.d.ts} +10 -1
- package/dist/{types-DJLceKR0.d.ts → types-DeoA45gz.d.cts} +679 -89
- package/dist/{types-CS8MYc2k.d.ts → types-DgSyBwP3.d.cts} +21 -17
- package/dist/{types-BVldT2vs.d.cts → types-DpUcInCX.d.ts} +21 -17
- package/dist/{types-DacFMc6L.d.ts → types-DwMezEHT.d.ts} +27 -4
- package/dist/{types-DJLceKR0.d.cts → types-Hj1CaKtV.d.ts} +679 -89
- package/dist/{types-C6gjiVpQ.d.cts → types-WGZN6XLN.d.cts} +1 -1
- package/dist/types-YzkNUuYo.d.ts +468 -0
- package/dist/{types-jKnx7Tm_.d.ts → types-gcShAmmi.d.cts} +27 -1
- package/dist/{types-jKnx7Tm_.d.cts → types-gcShAmmi.d.ts} +27 -1
- package/dist/{utils-C7eSJKtG.d.ts → utils-B_SOM1XR.d.ts} +997 -168
- package/dist/{utils-DDERw8dM.d.cts → utils-DK7uJcmR.d.cts} +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 +10 -10
- package/surface/ai.md +2 -2
- package/surface/auth.md +13 -1
- package/surface/dataScience.md +5 -5
- package/surface/import.md +2 -1
- package/surface/kaiAgent.md +3 -3
- package/surface/management.md +86 -29
- package/surface/notifications.md +6 -4
- package/surface/oauth.md +4 -4
- package/surface/queue.md +6 -1
- package/surface/scheduler.md +1 -0
- package/surface/sdk.md +2 -0
- package/surface/storage.md +1 -1
- package/dist/assets/types.cjs +0 -4
- package/dist/assets/types.cjs.map +0 -1
- package/dist/assets/types.d.cts +0 -8
- package/dist/assets/types.d.ts +0 -8
- package/dist/assets/types.js +0 -3
- package/dist/assets/types.js.map +0 -1
- package/dist/chunk-4HBUVR57.cjs.map +0 -1
- package/dist/chunk-5FDQYOJD.js.map +0 -1
- package/dist/chunk-6BYHD5DG.js.map +0 -1
- package/dist/chunk-C5R6ITYD.cjs.map +0 -1
- package/dist/chunk-CBVGOANJ.cjs.map +0 -1
- package/dist/chunk-DAS5UQN6.cjs.map +0 -1
- package/dist/chunk-FDISA5KO.cjs.map +0 -1
- package/dist/chunk-HHULC5GT.cjs +0 -44
- package/dist/chunk-HHULC5GT.cjs.map +0 -1
- package/dist/chunk-HUNYAVJJ.cjs +0 -78
- package/dist/chunk-HUNYAVJJ.cjs.map +0 -1
- package/dist/chunk-IUN2ZSU3.cjs.map +0 -1
- package/dist/chunk-IWNJ47CV.js.map +0 -1
- package/dist/chunk-KF5EI2IB.js.map +0 -1
- package/dist/chunk-M2LJZXVR.js.map +0 -1
- package/dist/chunk-MUC6XWII.js +0 -42
- package/dist/chunk-MUC6XWII.js.map +0 -1
- package/dist/chunk-NZN6OX4H.cjs +0 -38
- package/dist/chunk-NZN6OX4H.cjs.map +0 -1
- package/dist/chunk-QNDU44PQ.js +0 -36
- package/dist/chunk-QNDU44PQ.js.map +0 -1
- package/dist/chunk-R2FAPJMZ.js.map +0 -1
- package/dist/chunk-RK2VGHJE.js.map +0 -1
- package/dist/chunk-U7CANHDD.js.map +0 -1
- package/dist/chunk-UQWVZTEA.cjs +0 -16
- package/dist/chunk-VTC3FL4B.js +0 -76
- package/dist/chunk-VTC3FL4B.js.map +0 -1
- package/dist/chunk-XPQBE77T.cjs.map +0 -1
- package/dist/chunk-YHMW7CZF.cjs.map +0 -1
- package/dist/chunk-Z76DIRLA.cjs.map +0 -1
- package/dist/types-Dg1tEsVR.d.cts +0 -17
- package/dist/types-Dg1tEsVR.d.ts +0 -17
package/dist/vault/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7R22VKV7_cjs = require('../chunk-7R22VKV7.cjs');
|
|
4
4
|
require('../chunk-RRC5RKF7.cjs');
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-7RO6PKZ4.cjs');
|
|
6
|
+
require('../chunk-MMOAH3EH.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "createVaultClient", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk7R22VKV7_cjs.createVaultClient; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
package/dist/vault/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ClientInitOptions } from '../types-
|
|
1
|
+
import { C as ClientInitOptions } from '../types-DNg4M5JV.cjs';
|
|
2
2
|
import { CreateVariableBody, DeleteVariablePath, VariableWithHash, GetVariablesQuery, GetVariablesByBranchId } from './types.cjs';
|
|
3
3
|
import 'qs';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-gcShAmmi.cjs';
|
|
5
5
|
|
|
6
6
|
declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
7
7
|
createVariable: (body: CreateVariableBody, signal?: AbortSignal) => Promise<{
|
package/dist/vault/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ClientInitOptions } from '../types-
|
|
1
|
+
import { C as ClientInitOptions } from '../types-DNg4M5JV.js';
|
|
2
2
|
import { CreateVariableBody, DeleteVariablePath, VariableWithHash, GetVariablesQuery, GetVariablesByBranchId } from './types.js';
|
|
3
3
|
import 'qs';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-gcShAmmi.js';
|
|
5
5
|
|
|
6
6
|
declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
7
7
|
createVariable: (body: CreateVariableBody, signal?: AbortSignal) => Promise<{
|
package/dist/vault/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { createVaultClient } from '../chunk-
|
|
1
|
+
export { createVaultClient } from '../chunk-XIIER7QQ.js';
|
|
2
2
|
import '../chunk-G3N5KDEY.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-EDX5D6UY.js';
|
|
4
|
+
import '../chunk-XHDYLUM4.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/vault/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as OpenapiBodyType, A as ArrayElement, b as OpenapiReturnType, d as OpenapiPathType, c as OpenapiQueryType } from '../types-gcShAmmi.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -18,7 +18,6 @@ type paths = {
|
|
|
18
18
|
/**
|
|
19
19
|
* Health-check endpoint
|
|
20
20
|
* @description Checks the service is up & running.
|
|
21
|
-
*
|
|
22
21
|
*/
|
|
23
22
|
post: operations['healthCheck'];
|
|
24
23
|
delete?: never;
|
|
@@ -37,14 +36,12 @@ type paths = {
|
|
|
37
36
|
/**
|
|
38
37
|
* List variables
|
|
39
38
|
* @description Lists variables.
|
|
40
|
-
*
|
|
41
39
|
*/
|
|
42
40
|
get: operations['listVariables'];
|
|
43
41
|
put?: never;
|
|
44
42
|
/**
|
|
45
43
|
* Create variable
|
|
46
44
|
* @description Creates a new variable.
|
|
47
|
-
*
|
|
48
45
|
*/
|
|
49
46
|
post: operations['createVariable'];
|
|
50
47
|
delete?: never;
|
|
@@ -66,7 +63,6 @@ type paths = {
|
|
|
66
63
|
/**
|
|
67
64
|
* Delete variable
|
|
68
65
|
* @description Deletes a variable.
|
|
69
|
-
*
|
|
70
66
|
*/
|
|
71
67
|
delete: operations['deleteVariable'];
|
|
72
68
|
options?: never;
|
|
@@ -85,7 +81,6 @@ type paths = {
|
|
|
85
81
|
* List variables variables available in scope of the branch
|
|
86
82
|
* @deprecated
|
|
87
83
|
* @description List variables variables available in scope of the branch.
|
|
88
|
-
*
|
|
89
84
|
*/
|
|
90
85
|
get: {
|
|
91
86
|
parameters: {
|
|
@@ -130,7 +125,6 @@ type paths = {
|
|
|
130
125
|
/**
|
|
131
126
|
* List variables variables available in scope of the branch
|
|
132
127
|
* @description List variables variables available in scope of the branch.
|
|
133
|
-
*
|
|
134
128
|
*/
|
|
135
129
|
get: operations['listBranchVariables'];
|
|
136
130
|
put?: never;
|
|
@@ -157,7 +151,6 @@ type components = {
|
|
|
157
151
|
*
|
|
158
152
|
* Attributes are part of the variable identity, so two variables with the same key but different attributes
|
|
159
153
|
* are considered different.
|
|
160
|
-
*
|
|
161
154
|
* @default {}
|
|
162
155
|
*/
|
|
163
156
|
attributes: {
|
|
@@ -347,11 +340,12 @@ type operations = {
|
|
|
347
340
|
query?: {
|
|
348
341
|
/** @description Variable key. If set, only variables with given key are returned. */
|
|
349
342
|
key?: string;
|
|
350
|
-
/**
|
|
343
|
+
/**
|
|
344
|
+
* @description Other attributes to match.
|
|
351
345
|
* * if attribute is set with value, only variables with given attribute value are returned
|
|
352
346
|
* * if attribute is set without value (empty string), only variables without the attribute are returned
|
|
353
347
|
* * any attribute not set is not matched, variables are returned regardless if they have the attribute or not
|
|
354
|
-
|
|
348
|
+
*/
|
|
355
349
|
attributes?: Record<string, never>;
|
|
356
350
|
};
|
|
357
351
|
header?: never;
|
package/dist/vault/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as OpenapiBodyType, A as ArrayElement, b as OpenapiReturnType, d as OpenapiPathType, c as OpenapiQueryType } from '../types-gcShAmmi.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -18,7 +18,6 @@ type paths = {
|
|
|
18
18
|
/**
|
|
19
19
|
* Health-check endpoint
|
|
20
20
|
* @description Checks the service is up & running.
|
|
21
|
-
*
|
|
22
21
|
*/
|
|
23
22
|
post: operations['healthCheck'];
|
|
24
23
|
delete?: never;
|
|
@@ -37,14 +36,12 @@ type paths = {
|
|
|
37
36
|
/**
|
|
38
37
|
* List variables
|
|
39
38
|
* @description Lists variables.
|
|
40
|
-
*
|
|
41
39
|
*/
|
|
42
40
|
get: operations['listVariables'];
|
|
43
41
|
put?: never;
|
|
44
42
|
/**
|
|
45
43
|
* Create variable
|
|
46
44
|
* @description Creates a new variable.
|
|
47
|
-
*
|
|
48
45
|
*/
|
|
49
46
|
post: operations['createVariable'];
|
|
50
47
|
delete?: never;
|
|
@@ -66,7 +63,6 @@ type paths = {
|
|
|
66
63
|
/**
|
|
67
64
|
* Delete variable
|
|
68
65
|
* @description Deletes a variable.
|
|
69
|
-
*
|
|
70
66
|
*/
|
|
71
67
|
delete: operations['deleteVariable'];
|
|
72
68
|
options?: never;
|
|
@@ -85,7 +81,6 @@ type paths = {
|
|
|
85
81
|
* List variables variables available in scope of the branch
|
|
86
82
|
* @deprecated
|
|
87
83
|
* @description List variables variables available in scope of the branch.
|
|
88
|
-
*
|
|
89
84
|
*/
|
|
90
85
|
get: {
|
|
91
86
|
parameters: {
|
|
@@ -130,7 +125,6 @@ type paths = {
|
|
|
130
125
|
/**
|
|
131
126
|
* List variables variables available in scope of the branch
|
|
132
127
|
* @description List variables variables available in scope of the branch.
|
|
133
|
-
*
|
|
134
128
|
*/
|
|
135
129
|
get: operations['listBranchVariables'];
|
|
136
130
|
put?: never;
|
|
@@ -157,7 +151,6 @@ type components = {
|
|
|
157
151
|
*
|
|
158
152
|
* Attributes are part of the variable identity, so two variables with the same key but different attributes
|
|
159
153
|
* are considered different.
|
|
160
|
-
*
|
|
161
154
|
* @default {}
|
|
162
155
|
*/
|
|
163
156
|
attributes: {
|
|
@@ -347,11 +340,12 @@ type operations = {
|
|
|
347
340
|
query?: {
|
|
348
341
|
/** @description Variable key. If set, only variables with given key are returned. */
|
|
349
342
|
key?: string;
|
|
350
|
-
/**
|
|
343
|
+
/**
|
|
344
|
+
* @description Other attributes to match.
|
|
351
345
|
* * if attribute is set with value, only variables with given attribute value are returned
|
|
352
346
|
* * if attribute is set without value (empty string), only variables without the attribute are returned
|
|
353
347
|
* * any attribute not set is not matched, variables are returned regardless if they have the attribute or not
|
|
354
|
-
|
|
348
|
+
*/
|
|
355
349
|
attributes?: Record<string, never>;
|
|
356
350
|
};
|
|
357
351
|
header?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keboola/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"description": "TypeScript SDK for Keboola APIs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"assets": [
|
|
25
25
|
"./dist/assets/index.d.ts"
|
|
26
26
|
],
|
|
27
|
-
"assets/
|
|
28
|
-
"./dist/assets/
|
|
27
|
+
"assets/schema": [
|
|
28
|
+
"./dist/assets/schema.d.ts"
|
|
29
29
|
],
|
|
30
30
|
"auth": [
|
|
31
31
|
"./dist/auth/index.d.ts"
|
|
@@ -238,14 +238,14 @@
|
|
|
238
238
|
"default": "./dist/assets/index.cjs"
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
|
-
"./assets/
|
|
241
|
+
"./assets/schema": {
|
|
242
242
|
"import": {
|
|
243
|
-
"types": "./dist/assets/
|
|
244
|
-
"default": "./dist/assets/
|
|
243
|
+
"types": "./dist/assets/schema.d.ts",
|
|
244
|
+
"default": "./dist/assets/schema.js"
|
|
245
245
|
},
|
|
246
246
|
"require": {
|
|
247
|
-
"types": "./dist/assets/
|
|
248
|
-
"default": "./dist/assets/
|
|
247
|
+
"types": "./dist/assets/schema.d.cts",
|
|
248
|
+
"default": "./dist/assets/schema.cjs"
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
251
|
"./auth": {
|
|
@@ -746,10 +746,10 @@
|
|
|
746
746
|
"oxlint": "^1.72.0",
|
|
747
747
|
"tsup": "^8.5.1",
|
|
748
748
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
749
|
-
"vite": "^8.
|
|
749
|
+
"vite": "^8.1.5",
|
|
750
750
|
"vitest": "^4.1.10",
|
|
751
751
|
"yaml": "^2.8.3",
|
|
752
|
-
"@keboola/oxlint-config": "^8.
|
|
752
|
+
"@keboola/oxlint-config": "^8.1.0",
|
|
753
753
|
"@keboola/tsconfig": "^0.2.0"
|
|
754
754
|
},
|
|
755
755
|
"scripts": {
|
package/surface/ai.md
CHANGED
|
@@ -9,6 +9,6 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
9
9
|
- `api.ai.describeConfigurationVersion(body: { branchId: string; componentId: string; configId: string; currentVersionId: string; previousVersionId?: string | undefined; rowId?: string | undefined; }): Promise<{ description: string; correlationId: string; }>`
|
|
10
10
|
- `api.ai.docsQuestion(body: { query: string; }): Promise<{ response: string; metadata: { sources: string[]; }; }>`
|
|
11
11
|
- `api.ai.explainError(body: { error?: string | undefined; jobId: string; }): Promise<{ answer: string; correlationId: string; }>`
|
|
12
|
-
- `api.ai.feedback(body: { value: "good" | "bad" | "cancel"; correlationId?: string | undefined; comment?: string | undefined; subject?: { type: "failed-job"; jobId: string; } | { type: "configuration"; branchId: string; componentId: string; configId: string; rowId?: string | undefined; } | { type: "
|
|
13
|
-
- `api.ai.getComponentDetail(componentId: string): Promise<{ componentId: string; componentType: string; componentName: string; componentCategories: string[]; description: string; longDescription: string; documentationUrl: string | null; documentation: string | null; configurationSchema: Record<string, never> | null; configurationRowSchema: Record<string, never> | null; configurationDescription: string | null; rootConfigurationExamples: Record<string, never>[] | null; rowConfigurationExamples: Record<string, never>[] | null; componentFlags: string[] | null; }>`
|
|
12
|
+
- `api.ai.feedback(body: { value: "good" | "bad" | "cancel"; correlationId?: string | undefined; comment?: string | undefined; subject?: { type: "failed-job"; jobId: string; } | { type: "configuration"; branchId: string; componentId: string; configId: string; rowId?: string | undefined; } | { type: "component-suggestions"; searchTerm: string; } | undefined; }): Promise<never>`
|
|
13
|
+
- `api.ai.getComponentDetail(componentId: string): Promise<{ componentId: string; componentType: string; componentName: string; componentCategories: string[]; description: string; longDescription: string; documentationUrl: string | null; documentation: string | null; configurationSchema: Record<string, never> | null; configurationRowSchema: Record<string, never> | null; configurationDescription: string | null; rootConfigurationExamples: Record<string, never>[] | null; rowConfigurationExamples: Record<string, never>[] | null; componentFlags: string[] | null; synchronousActions?: string[] | null | undefined; }>`
|
|
14
14
|
- `api.ai.suggestComponent(body: { prompt: string; }): Promise<{ components: { componentId: string; score: number; }[]; correlationId: string; }>`
|
package/surface/auth.md
CHANGED
|
@@ -22,6 +22,18 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
22
22
|
- `api.auth.mfa.verifyWithCode(input: { mfaToken: string; type: "totp" | "recovery_code"; code: string; }, signal?: AbortSignal | undefined): Promise<{ accessToken: string; refreshToken: string; tokenType: string; expiresIn: number; sessionId: string; user: { id: number; email: string; name: string; }; }>`
|
|
23
23
|
- `api.auth.mfa.verifyWithWebauthn(input: { mfaToken: string; assertion: string; }, signal?: AbortSignal | undefined): Promise<{ accessToken: string; refreshToken: string; tokenType: string; expiresIn: number; sessionId: string; user: { id: number; email: string; name: string; }; }>`
|
|
24
24
|
|
|
25
|
+
### `api.auth.mfa.totp`
|
|
26
|
+
|
|
27
|
+
- `api.auth.mfa.totp.disable(id: number, signal?: AbortSignal | undefined): Promise<void>`
|
|
28
|
+
- `api.auth.mfa.totp.setup(signal?: AbortSignal | undefined): Promise<{ secret: string; otpauthUri: string; expiresAt: string; }>`
|
|
29
|
+
- `api.auth.mfa.totp.verify(input: { code: string; }, signal?: AbortSignal | undefined): Promise<{ id: number; mfaType: string; recoveryCodes?: string[] | null | undefined; }>`
|
|
30
|
+
|
|
31
|
+
### `api.auth.password`
|
|
32
|
+
|
|
33
|
+
- `api.auth.password.change(input: { currentPassword: string; newPassword: string; revokeOtherSessions?: boolean | undefined; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
34
|
+
- `api.auth.password.reset(input: { token: string; newPassword: string; revokeSessions?: boolean | undefined; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
35
|
+
- `api.auth.password.resetRequest(input: { email: string; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
36
|
+
|
|
25
37
|
### `api.auth.pat`
|
|
26
38
|
|
|
27
39
|
- `api.auth.pat.create(body: { name: string; expiresIn: number | null; scope: { projects: string[] | null; readOnly: boolean | null; } | null; }, signal?: AbortSignal | undefined): Promise<{ accessToken: string; tokenType: string; expiresIn: number; pat: { id: string; name: string; scope: Record<string, never>; projects: { id: number; name: string | null; role: string | null; }[]; readOnly: boolean; parentTokenId?: string | null | undefined; parentTokenType?: "session" | "pat" | null | undefined; expiresAt: string; lastUsedAt?: string | null | undefined; createdAt: string; }; }>`
|
|
@@ -47,7 +59,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
47
59
|
### `api.auth.sudo`
|
|
48
60
|
|
|
49
61
|
- `api.auth.sudo.challenge(signal?: AbortSignal | undefined): Promise<{ challengeToken: string; options: Record<string, never>; expiresIn: number; }>`
|
|
50
|
-
- `api.auth.sudo.verify(body: { totpCode: string | null; recoveryCode: string | null; webauthnAssertion: string | null; challengeToken: string | null; type: string; }, signal?: AbortSignal | undefined): Promise<{ sudoVerified: boolean; sudoExpiresAt: string; sudoTimeoutSeconds: number; }>`
|
|
62
|
+
- `api.auth.sudo.verify(body: { totpCode: string | null; recoveryCode: string | null; webauthnAssertion: string | null; challengeToken: string | null; password: string | null; type: string; }, signal?: AbortSignal | undefined): Promise<{ sudoVerified: boolean; sudoExpiresAt: string; sudoTimeoutSeconds: number; }>`
|
|
51
63
|
|
|
52
64
|
### `api.auth.token`
|
|
53
65
|
|
package/surface/dataScience.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
6
6
|
|
|
7
|
-
- `api.dataScience.createApp(body: { type: string; branchId: string | null; name: string; description?: string | null | undefined; config?: { [key: string]: unknown; } | null | undefined; useManagedGitRepo?: boolean | undefined; mode?: "dev" | "prod" | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined;
|
|
7
|
+
- `api.dataScience.createApp(body: { type: string; branchId: string | null; name: string; description?: string | null | undefined; config?: { [key: string]: unknown; } | null | undefined; useManagedGitRepo?: boolean | undefined; mode?: "dev" | "prod" | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined; hasManagedGitRepo?: boolean | undefined; }>`
|
|
8
8
|
- `api.dataScience.deleteApp(appId: string, signal?: AbortSignal | undefined): Promise<ApiResponse<never>>`
|
|
9
9
|
- `api.dataScience.deleteSandbox(appId: string, signal?: AbortSignal | undefined): Promise<ApiResponse<never>>`
|
|
10
|
-
- `api.dataScience.getApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined;
|
|
10
|
+
- `api.dataScience.getApp(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined; hasManagedGitRepo?: boolean | undefined; }>`
|
|
11
11
|
- `api.dataScience.getAppLogsDownload(id: string, signal?: AbortSignal | undefined): Promise<{ logs: string; fileName: string; }>`
|
|
12
12
|
- `api.dataScience.getAppLogsTail(id: string, { query, signal }?: { query?: { since?: string | undefined; lines?: number | undefined; } | undefined; signal?: AbortSignal | undefined; }): Promise<{ entries: LogEntry[]; nextLogTimestamp: string | null; }>`
|
|
13
13
|
- `api.dataScience.getAppPassword(appId: string, signal?: AbortSignal | undefined): Promise<{ password?: string | undefined; }>`
|
|
14
14
|
- `api.dataScience.getAppRun(appId: string, runId: string, signal?: AbortSignal | undefined): Promise<{ state: "starting" | "running" | "failed" | "finished"; id: string; appId: string; createdAt?: string | null | undefined; startedAt?: string | null | undefined; stoppedAt?: string | null | undefined; startupLogs?: string | null | undefined; runtimeSize?: string | null | undefined; configVersion?: string | null | undefined; failureReason?: { reason?: string | null | undefined; message?: string | null | undefined; } | null | undefined; mode: "dev" | "prod"; }>`
|
|
15
15
|
- `api.dataScience.getAppRuns(appId: string, query?: { offset?: number | undefined; limit?: number | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ state: "starting" | "running" | "failed" | "finished"; id: string; appId: string; createdAt?: string | null | undefined; startedAt?: string | null | undefined; stoppedAt?: string | null | undefined; startupLogs?: string | null | undefined; runtimeSize?: string | null | undefined; configVersion?: string | null | undefined; failureReason?: { reason?: string | null | undefined; message?: string | null | undefined; } | null | undefined; mode: "dev" | "prod"; }[]>`
|
|
16
|
-
- `api.dataScience.getApps(query: { offset?: number | undefined; limit?: number | undefined; componentId?: string | undefined; type?: ("snowflake" | "bigquery" | "python" | "r" | "streamlit" | "python-js")[] | undefined; branchId?: string | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined;
|
|
16
|
+
- `api.dataScience.getApps(query: { offset?: number | undefined; limit?: number | undefined; componentId?: string | undefined; type?: ("snowflake" | "bigquery" | "python" | "r" | "streamlit" | "python-js")[] | undefined; branchId?: string | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined; hasManagedGitRepo?: boolean | undefined; }[]>`
|
|
17
17
|
- `api.dataScience.getRuntimes(signal?: AbortSignal | undefined): Promise<{ description: string; type: string; isTypeDefault: boolean; releaseDate: string; endOfLifeDate?: string | null | undefined; imageName?: string | null | undefined; imageTag?: string | null | undefined; transformationComponentId?: string | null | undefined; transformationComponentTag?: string | null | undefined; sandboxImageName?: string | null | undefined; sandboxImageTag?: string | null | undefined; }[]>`
|
|
18
18
|
- `api.dataScience.getSandbox(appId: string, signal?: AbortSignal | undefined): Promise<{ id?: string | undefined; projectId?: string | undefined; tokenId?: string | undefined; branchId?: string | null | undefined; configurationId?: string | undefined; physicalId?: string | undefined; type?: string | undefined; active?: boolean | undefined; createdTimestamp?: string | undefined; startTimestamp?: string | undefined; updatedTimestamp?: string | undefined; persistentStorage?: { pvcName?: string | null | undefined; k8sManifest?: string | null | undefined; isEnabled?: boolean | undefined; ready?: boolean | null | undefined; k8sStorageClassName?: string | null | undefined; } | undefined; shared?: boolean | undefined; componentId?: string | undefined; configurationVersion?: string | undefined; size?: string | null | undefined; lastAutosaveTimestamp?: string | null | undefined; expirationTimestamp?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; expirationAfterHours?: number | undefined; user?: string | null | undefined; url?: string | null | undefined; password?: string | null | undefined; autosaveTokenId?: string | null | undefined; host?: string | null | undefined; imageVersion?: string | null | undefined; packages?: string[] | null | undefined; sizeParameters?: unknown; stagingWorkspaceId?: unknown; stagingWorkspaceType?: unknown; workspaceDetails?: unknown; databricks?: unknown; credentials?: unknown; }>`
|
|
19
|
-
- `api.dataScience.patchApp(appId: string, body: PatchDataAppBody, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined;
|
|
20
|
-
- `api.dataScience.resetAppPassword(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined;
|
|
19
|
+
- `api.dataScience.patchApp(appId: string, body: PatchDataAppBody, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined; hasManagedGitRepo?: boolean | undefined; }>`
|
|
20
|
+
- `api.dataScience.resetAppPassword(appId: string, signal?: AbortSignal | undefined): Promise<{ id: string; type?: string | null | undefined; projectId: string; componentId: string; branchId: string | null; configId: string; configVersion: string; state: "created" | "starting" | "running" | "restarting" | "stopping" | "stopped" | "deleting" | "deleted"; desiredState: "running" | "stopped" | "deleted"; mode: "dev" | "prod"; lastRequestTimestamp: string | null; lastStartTimestamp?: string | null | undefined; url?: string | null | undefined; autoSuspendAfterSeconds?: number | undefined; autoRestartEnabled?: boolean | undefined; size?: string | null | undefined; hasManagedGitRepo?: boolean | undefined; }>`
|
package/surface/import.md
CHANGED
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
|
|
5
5
|
Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
6
6
|
|
|
7
|
-
- `api.import.uploadFile(file:
|
|
7
|
+
- `api.import.uploadFile({ file, ...fields }: UploadFileInput, { signal, onProgress }?: Options): Promise<{ id: number; created: string; isPublic: boolean; isSliced: boolean; isEncrypted: boolean; name: string; fileType: string; url: string; provider: string; region: string; sizeBytes: number; tags: string[]; maxAgeDays: number | null; runId: string | null; runIds: string[]; creatorToken: { id: number; description: string; }; }>`
|
|
8
|
+
- `api.import.writeTable({ file, ...fields }: WriteTableInput, { signal, onProgress }?: Options): Promise<{ transaction: string | null; warnings: string[]; newColumns: string[]; importedColumns: string[]; importedRowsCount: number; totalRowsCount: number; totalDataSizeBytes: number; }>`
|
package/surface/kaiAgent.md
CHANGED
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
6
6
|
|
|
7
7
|
- `api.kaiAgent.approveToolCall(chatId: string, body: { toolUseId: string; approved: boolean; reason?: string | undefined; updatedInput?: { [key: string]: unknown; } | undefined; answers?: { [key: string]: string; } | undefined; }): Promise<void>`
|
|
8
|
-
- `api.kaiAgent.createChat(request: { id: string; message: { id: string; role: "user" | "assistant"; parts: { [key: string]: unknown; }[]; metadata?: { hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; } | undefined; }; selectedChatModel?: string | undefined; selectedVisibilityType?: "public" | "private" | undefined; branchId?: number | undefined; telemetryMetadata?: { [key: string]: string | number | boolean; } | undefined; }): Promise<Response>`
|
|
8
|
+
- `api.kaiAgent.createChat(request: { id: string; message: { id: string; role: "user" | "assistant"; parts: { [key: string]: unknown; }[]; metadata?: { hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; tableContext?: { tableName: string; tableId: string; bucketId: string; fileName: string; }[] | undefined; } | undefined; }; selectedChatModel?: string | undefined; selectedVisibilityType?: "public" | "private" | undefined; branchId?: number | undefined; toolRestrictions?: { allowedTools?: string[] | undefined; disallowedTools?: string[] | undefined; readOnlyMode?: boolean | undefined; } | undefined; telemetryMetadata?: { [key: string]: string | number | boolean; } | undefined; supportsApprovalRequestedEvent?: boolean | undefined; }): Promise<Response>`
|
|
9
9
|
- `api.kaiAgent.deleteChat(chatId: string): Promise<{ id?: string | undefined; title?: string | undefined; userId?: string | undefined; createdAt?: string | undefined; visibility?: "public" | "private" | undefined; branchId?: number | null | undefined; }>`
|
|
10
10
|
- `api.kaiAgent.getAgentSettings(signal?: AbortSignal | undefined): Promise<{ projectId: string; customInstructions: string | null; createdAt: string; updatedAt: string; }>`
|
|
11
|
-
- `api.kaiAgent.getChat(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; messages: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: "data-compact-boundary"; data: { trigger: "manual" | "auto"; preTokens: number; preservedSegment?: { headUuid: string; anchorUuid: string; tailUuid: string; } | undefined; summary: string; sdkSessionId: string; }; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id: string; approved: boolean; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; } | undefined; status?: "failed" | "completed" | "pending" | "interrupted" | undefined; }[]; }>`
|
|
11
|
+
- `api.kaiAgent.getChat(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; contextWindow?: { usedTokens: number; maxTokens: number; percentage: number; } | null | undefined; messages: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: "data-compact-boundary"; data: { trigger: "manual" | "auto"; preTokens: number; preservedSegment?: { headUuid: string; anchorUuid: string; tailUuid: string; } | undefined; summary: string; sdkSessionId: string; }; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id: string; approved: boolean; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; } | undefined; status?: "failed" | "completed" | "pending" | "interrupted" | undefined; }[]; }>`
|
|
12
12
|
- `api.kaiAgent.getHistory(params?: { limit?: number | undefined; starting_after?: string | undefined; ending_before?: string | undefined; } | undefined): Promise<{ chats: { id?: string | undefined; title?: string | undefined; userId?: string | undefined; createdAt?: string | undefined; lastMessageAt?: string | undefined; visibility?: "public" | "private" | undefined; branchId?: number | null | undefined; }[]; hasMore: boolean; }>`
|
|
13
13
|
- `api.kaiAgent.getSandboxGitBranch(chatId: string, signal?: AbortSignal | undefined): Promise<{ branch: string | null; }>`
|
|
14
14
|
- `api.kaiAgent.getSkillsList(signal?: AbortSignal | undefined): Promise<{ skills: { name: string; description: string | null; source: "first-party" | "vendored" | "project"; }[]; commands: { name: string; description: string; }[]; }>`
|
|
15
15
|
- `api.kaiAgent.getSuggestions(request: { context: "dashboard"; data: { recentFailedJobs: { id: string; status: "error" | "warning"; component: string; configId: string; createdTime: string; configName?: string | undefined; durationSeconds?: number | undefined; errorMessage?: string | undefined; }[]; deprecatedComponents: { id: string; name: string; type: string; expiredOn: string; configCount: number; }[]; userRecentEdits: { component: string; configId: string; configName: string; lastEdited: string; }[]; currentUserEmail: string; }; } | { context: "job-detail"; data: { job: { id: string; status: "error" | "warning" | "success" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled"; component: string; createdTime: string; configId?: string | undefined; configName?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; durationSeconds?: number | undefined; errorMessage?: string | undefined; errorType?: "user" | "application" | undefined; backendSize?: string | undefined; }; currentUserEmail: string; component?: { id: string; name: string; type: string; } | undefined; runtimeHistory?: { recentJobsCount: number; averageDurationSeconds?: number | undefined; minDurationSeconds?: number | undefined; maxDurationSeconds?: number | undefined; isSlowerThanAverage?: boolean | undefined; isFasterThanAverage?: boolean | undefined; percentageDifference?: number | undefined; } | undefined; }; } | { context: "configuration-detail"; data: { configuration: { id: string; name: string; component: string; hasRows: boolean; description?: string | undefined; rowCount?: number | undefined; lastChangeDescription?: string | undefined; }; currentUserEmail: string; component?: { id: string; name: string; type: string; } | undefined; latestJobs?: { id: string; status: "error" | "warning" | "success" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled"; createdTime: string; durationSeconds?: number | undefined; errorMessage?: string | undefined; }[] | undefined; }; }, signal?: AbortSignal | undefined): Promise<{ suggestions: { label: string; prompt: string; priority: number; category: "error" | "maintenance" | "documentation"; reasoning: string; id: string; }[]; suggestionSessionId: string; }>`
|
|
16
16
|
- `api.kaiAgent.getToolsList(signal?: AbortSignal | undefined): Promise<{ tools: { name: string; description: string; readOnly: boolean; }[]; }>`
|
|
17
|
-
- `api.kaiAgent.getUsage(signal?: AbortSignal | undefined): Promise<{ messagesUsed: number; messagesLimit: number; resetDate: string; }>`
|
|
17
|
+
- `api.kaiAgent.getUsage(signal?: AbortSignal | undefined): Promise<{ messagesUsed: number; messagesLimit: number | null; resetDate: string; }>`
|
|
18
18
|
- `api.kaiAgent.getUserAgentSettings(signal?: AbortSignal | undefined): Promise<{ projectId: string; userId: string; customInstructions: string | null; toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null; createdAt: string; updatedAt: string; }>`
|
|
19
19
|
- `api.kaiAgent.getVotes(chatId: string): Promise<{ chatId: string; messageId: string; isUpvoted: boolean; }[]>`
|
|
20
20
|
- `api.kaiAgent.listSandboxFiles(chatId: string, path?: string | undefined, signal?: AbortSignal | undefined): Promise<{ entries: { name: string; path: string; type: "file" | "dir"; size?: number | undefined; }[]; }>`
|