@keboola/api-client 19.0.0 → 21.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 +26 -3
- package/README.md +124 -24
- package/dist/{ManagementClientAuthError-WRHtWJSv.d.ts → ManagementClientAuthError-B3PZRWBU.d.ts} +1 -1
- package/dist/{ManagementClientAuthError-DNUPB6cb.d.cts → ManagementClientAuthError-CJu_hpGi.d.cts} +1 -1
- package/dist/ai/index.cjs +4 -3
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/index.js +3 -2
- package/dist/assets/index.cjs +2 -2
- package/dist/assets/index.cjs.map +1 -1
- package/dist/assets/index.d.cts +2 -2
- package/dist/assets/index.d.ts +2 -2
- package/dist/assets/index.js +1 -1
- package/dist/assets/index.js.map +1 -1
- package/dist/auth/index.cjs +10 -10
- package/dist/auth/index.d.cts +82 -10
- package/dist/auth/index.d.ts +82 -10
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/chat/index.cjs +4 -3
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/index.js +3 -2
- package/dist/chat/suggestions.d.cts +11 -11
- package/dist/chat/suggestions.d.ts +11 -11
- 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-HACGJDAD.cjs → chunk-3GTRQFWA.cjs} +10 -9
- package/dist/chunk-3GTRQFWA.cjs.map +1 -0
- package/dist/{chunk-TTPJSPZA.cjs → chunk-3KEVPUSX.cjs} +10 -3
- package/dist/chunk-3KEVPUSX.cjs.map +1 -0
- package/dist/chunk-4HBUVR57.cjs +155 -0
- package/dist/chunk-4HBUVR57.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-PC5GISUV.js → chunk-4WX5W7YU.js} +6 -5
- package/dist/chunk-4WX5W7YU.js.map +1 -0
- package/dist/{chunk-PSORECFP.js → chunk-5FDQYOJD.js} +6 -5
- package/dist/chunk-5FDQYOJD.js.map +1 -0
- package/dist/{chunk-KQ2QNGRX.js → chunk-6BYHD5DG.js} +4 -4
- package/dist/chunk-6BYHD5DG.js.map +1 -0
- package/dist/chunk-6JXSO3AR.js +14 -0
- package/dist/chunk-6JXSO3AR.js.map +1 -0
- package/dist/{chunk-2HPI7FTO.cjs → chunk-AFIQYB2O.cjs} +10 -9
- package/dist/chunk-AFIQYB2O.cjs.map +1 -0
- package/dist/{chunk-HQM2LBGI.cjs → chunk-C5R6ITYD.cjs} +7 -6
- package/dist/chunk-C5R6ITYD.cjs.map +1 -0
- package/dist/{chunk-AWRMGLMT.cjs → chunk-CBVGOANJ.cjs} +4 -4
- package/dist/chunk-CBVGOANJ.cjs.map +1 -0
- package/dist/{chunk-K57JQFAE.js → chunk-CWD66KRM.js} +6 -5
- package/dist/chunk-CWD66KRM.js.map +1 -0
- package/dist/{chunk-VTXVB54B.cjs → chunk-DAAHTUXU.cjs} +7 -6
- package/dist/chunk-DAAHTUXU.cjs.map +1 -0
- package/dist/{chunk-R34WMOOF.cjs → chunk-DAS5UQN6.cjs} +8 -7
- package/dist/chunk-DAS5UQN6.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-IPCCJCV4.js → chunk-DJ5LXAG3.js} +6 -5
- package/dist/chunk-DJ5LXAG3.js.map +1 -0
- package/dist/chunk-EWMXK3EI.cjs +8 -0
- package/dist/chunk-EWMXK3EI.cjs.map +1 -0
- package/dist/{chunk-WERHQLXL.js → chunk-EXNR4FGV.js} +3 -3
- package/dist/chunk-EXNR4FGV.js.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-IPOWRVLR.cjs → chunk-FDISA5KO.cjs} +7 -6
- package/dist/chunk-FDISA5KO.cjs.map +1 -0
- package/dist/{chunk-CVV4HROS.cjs → chunk-FMS5PNM2.cjs} +4 -4
- package/dist/chunk-FMS5PNM2.cjs.map +1 -0
- package/dist/{chunk-BR3SBEFE.cjs → chunk-FRLSKIUI.cjs} +19 -21
- package/dist/chunk-FRLSKIUI.cjs.map +1 -0
- package/dist/{chunk-U7K7Y2WN.cjs → chunk-HHULC5GT.cjs} +7 -6
- package/dist/chunk-HHULC5GT.cjs.map +1 -0
- package/dist/{chunk-PMPCP6PG.cjs → chunk-HJQYMALV.cjs} +7 -6
- package/dist/chunk-HJQYMALV.cjs.map +1 -0
- package/dist/{chunk-A6YMIJAX.cjs → chunk-HUNYAVJJ.cjs} +8 -7
- package/dist/chunk-HUNYAVJJ.cjs.map +1 -0
- package/dist/{chunk-PC522LKL.cjs → chunk-IUN2ZSU3.cjs} +4 -3
- package/dist/chunk-IUN2ZSU3.cjs.map +1 -0
- package/dist/{chunk-BUHCOAT6.js → chunk-IWNJ47CV.js} +6 -5
- package/dist/chunk-IWNJ47CV.js.map +1 -0
- package/dist/{chunk-F6UMQZBC.js → chunk-KF5EI2IB.js} +32 -32
- package/dist/chunk-KF5EI2IB.js.map +1 -0
- package/dist/{chunk-ZBPWLCSH.js → chunk-LFLFNQMQ.js} +6 -5
- package/dist/chunk-LFLFNQMQ.js.map +1 -0
- package/dist/{chunk-KWO5WJUT.cjs → chunk-LGWRJM5X.cjs} +7 -6
- package/dist/chunk-LGWRJM5X.cjs.map +1 -0
- package/dist/chunk-M2LJZXVR.js +152 -0
- package/dist/chunk-M2LJZXVR.js.map +1 -0
- package/dist/{chunk-MSLGNOIN.js → chunk-MUC6XWII.js} +6 -5
- package/dist/chunk-MUC6XWII.js.map +1 -0
- package/dist/{chunk-CWQHLSG4.cjs → chunk-NRJTA5P3.cjs} +4 -4
- package/dist/chunk-NRJTA5P3.cjs.map +1 -0
- package/dist/{chunk-G7INDX44.js → chunk-NV3P6XBU.js} +103 -33
- package/dist/chunk-NV3P6XBU.js.map +1 -0
- package/dist/{chunk-EAWA66EE.cjs → chunk-NZN6OX4H.cjs} +7 -6
- package/dist/chunk-NZN6OX4H.cjs.map +1 -0
- package/dist/{chunk-YLZDOSIG.cjs → chunk-OZMUKLXN.cjs} +7 -6
- package/dist/chunk-OZMUKLXN.cjs.map +1 -0
- package/dist/{chunk-YD3KMWND.js → chunk-P6OWDUN7.js} +6 -5
- package/dist/chunk-P6OWDUN7.js.map +1 -0
- package/dist/{chunk-EA26275C.js → chunk-QNDU44PQ.js} +6 -5
- package/dist/chunk-QNDU44PQ.js.map +1 -0
- package/dist/{chunk-QO7MNY6T.js → chunk-R2FAPJMZ.js} +95 -18
- package/dist/chunk-R2FAPJMZ.js.map +1 -0
- package/dist/{chunk-FDFISPDO.js → chunk-RK2VGHJE.js} +4 -3
- package/dist/chunk-RK2VGHJE.js.map +1 -0
- package/dist/{chunk-7CTIKR3B.cjs → chunk-RTQEMQIC.cjs} +7 -6
- package/dist/chunk-RTQEMQIC.cjs.map +1 -0
- package/dist/{chunk-BCCSLO2Q.cjs → chunk-S5XEXK36.cjs} +112 -42
- package/dist/chunk-S5XEXK36.cjs.map +1 -0
- package/dist/{chunk-KIVPVVFK.cjs → chunk-SB7AVZQU.cjs} +7 -6
- package/dist/chunk-SB7AVZQU.cjs.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-FTRHU6YC.js → chunk-U7CANHDD.js} +6 -5
- package/dist/chunk-U7CANHDD.js.map +1 -0
- package/dist/chunk-UQWVZTEA.cjs +16 -0
- package/dist/chunk-UQWVZTEA.cjs.map +1 -0
- package/dist/{chunk-LBNWO5SO.js → chunk-V6QQZLEU.js} +6 -5
- package/dist/chunk-V6QQZLEU.js.map +1 -0
- package/dist/{chunk-FTN5DKXT.js → chunk-VTC3FL4B.js} +6 -5
- package/dist/chunk-VTC3FL4B.js.map +1 -0
- package/dist/{chunk-7Z7ETHFD.cjs → chunk-WWICQYOY.cjs} +4 -4
- package/dist/{chunk-7Z7ETHFD.cjs.map → chunk-WWICQYOY.cjs.map} +1 -1
- package/dist/{chunk-EFP5I3XX.js → chunk-WXGYFLFX.js} +6 -5
- package/dist/chunk-WXGYFLFX.js.map +1 -0
- package/dist/{chunk-TNWN3QSY.cjs → chunk-X6BQTEIT.cjs} +8 -7
- package/dist/chunk-X6BQTEIT.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-RZIBC7G4.cjs → chunk-XPQBE77T.cjs} +34 -34
- package/dist/chunk-XPQBE77T.cjs.map +1 -0
- package/dist/{chunk-BPZ7746T.cjs → chunk-YHMW7CZF.cjs} +105 -27
- package/dist/chunk-YHMW7CZF.cjs.map +1 -0
- package/dist/{chunk-IP4D4I42.js → chunk-YVC4NGW2.js} +6 -5
- package/dist/chunk-YVC4NGW2.js.map +1 -0
- package/dist/{chunk-UFQVOZZ6.cjs → chunk-Z76DIRLA.cjs} +55 -5
- package/dist/chunk-Z76DIRLA.cjs.map +1 -0
- package/dist/{chunk-X23LLSP6.js → chunk-ZCODWFCC.js} +6 -5
- package/dist/chunk-ZCODWFCC.js.map +1 -0
- package/dist/{chunk-3FYGTUWU.js → chunk-ZHNOZHJG.js} +3 -3
- package/dist/{chunk-3FYGTUWU.js.map → chunk-ZHNOZHJG.js.map} +1 -1
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +7 -1
- package/dist/constants/index.d.ts +7 -1
- package/dist/constants/index.js +1 -1
- package/dist/{createGenericFetchClient-D_vU8nco.d.ts → createGenericFetchClient-B2Gp1a8f.d.ts} +1 -1
- package/dist/{createGenericFetchClient-CSHOaFE3.d.cts → createGenericFetchClient-DJ-oaxPj.d.cts} +1 -1
- package/dist/{createOpenapiFetchClient-B50N1zkV.d.ts → createOpenapiFetchClient-BMaILWyq.d.ts} +1 -1
- package/dist/{createOpenapiFetchClient-CKNLT4ND.d.cts → createOpenapiFetchClient-DQL2ZYNb.d.cts} +1 -1
- package/dist/dataScience/index.cjs +5 -4
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/index.js +3 -2
- package/dist/domain/permissions/index.d.cts +3 -3
- package/dist/domain/permissions/index.d.ts +3 -3
- package/dist/editor/index.cjs +4 -3
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/index.js +3 -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 +2 -2
- package/dist/encryption/types.d.ts +2 -2
- package/dist/import/index.cjs +4 -3
- package/dist/import/index.d.cts +2 -2
- package/dist/import/index.d.ts +2 -2
- package/dist/import/index.js +3 -2
- package/dist/index.cjs +1598 -904
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1411 -1029
- package/dist/index.d.ts +1411 -1029
- package/dist/index.js +1545 -882
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +5 -5
- package/dist/management/index.d.cts +41 -45
- package/dist/management/index.d.ts +41 -45
- 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 -3
- package/dist/metastore/index.d.cts +14 -33
- package/dist/metastore/index.d.ts +14 -33
- package/dist/metastore/index.js +3 -2
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/notifications/index.cjs +4 -3
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/index.js +3 -2
- package/dist/oauth/index.cjs +4 -3
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/index.js +3 -2
- package/dist/{project-Bj7A_TSe.d.ts → project-BpTHlKfO.d.ts} +2 -2
- package/dist/{project-CX3TEH8A.d.cts → project-DEFMKeAm.d.cts} +2 -2
- package/dist/queryService/index.cjs +4 -3
- package/dist/queryService/index.d.cts +2 -2
- package/dist/queryService/index.d.ts +2 -2
- package/dist/queryService/index.js +3 -2
- package/dist/queue/index.cjs +4 -3
- package/dist/queue/index.d.cts +2 -2
- package/dist/queue/index.d.ts +2 -2
- package/dist/queue/index.js +3 -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 +4 -3
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/index.js +3 -2
- package/dist/sdk/configurations/index.cjs +3 -3
- package/dist/sdk/configurations/index.d.cts +417 -25
- package/dist/sdk/configurations/index.d.ts +417 -25
- package/dist/sdk/configurations/index.js +2 -2
- package/dist/sdk/semanticLayer/index.cjs +18 -0
- package/dist/sdk/semanticLayer/index.cjs.map +1 -0
- package/dist/sdk/semanticLayer/index.d.cts +36 -0
- package/dist/sdk/semanticLayer/index.d.ts +36 -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 +11 -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 +1 -1
- package/dist/sdk/tag/index.cjs +4 -3
- package/dist/sdk/tag/index.d.cts +6 -6
- package/dist/sdk/tag/index.d.ts +6 -6
- package/dist/sdk/tag/index.js +3 -2
- package/dist/sdk/tag/types.d.cts +4 -4
- package/dist/sdk/tag/types.d.ts +4 -4
- package/dist/sdk/vault/index.cjs +8 -8
- package/dist/sdk/vault/index.d.cts +4 -4
- package/dist/sdk/vault/index.d.ts +4 -4
- package/dist/sdk/vault/index.js +2 -2
- package/dist/status/index.cjs +2 -2
- package/dist/status/index.cjs.map +1 -1
- package/dist/status/index.d.cts +2 -2
- package/dist/status/index.d.ts +2 -2
- package/dist/status/index.js +1 -1
- package/dist/status/index.js.map +1 -1
- package/dist/storage/index.cjs +12 -11
- package/dist/storage/index.d.cts +7 -7
- package/dist/storage/index.d.ts +7 -7
- package/dist/storage/index.js +5 -4
- package/dist/storage/types.d.cts +58 -5
- package/dist/storage/types.d.ts +58 -5
- package/dist/{storageClient-Scemp8F6.d.ts → storageClient-BONJnuhr.d.ts} +15 -8
- package/dist/{storageClient-8LhUUGYa.d.cts → storageClient-BxgbulPW.d.cts} +15 -8
- package/dist/{storageSdk-r-6-GCFM.d.ts → storageSdk-CUnp67LN.d.ts} +1 -1
- package/dist/{storageSdk-CXFUSkSB.d.cts → storageSdk-uCojVKkr.d.cts} +1 -1
- package/dist/stream/index.cjs +4 -3
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/index.js +3 -2
- package/dist/syncActions/index.cjs +4 -3
- package/dist/syncActions/index.d.cts +3 -3
- package/dist/syncActions/index.d.ts +3 -3
- package/dist/syncActions/index.js +3 -2
- package/dist/telemetry/index.cjs +4 -3
- package/dist/telemetry/index.d.cts +3 -3
- package/dist/telemetry/index.d.ts +3 -3
- package/dist/telemetry/index.js +3 -2
- package/dist/{types-ClxrZC77.d.cts → types-B9SJ0cIc.d.cts} +2677 -813
- package/dist/{types-l_pP5J0H.d.ts → types-BM3xJvzM.d.ts} +1 -1
- package/dist/{types-59-LNg5i.d.cts → types-BjcRP8q1.d.cts} +1 -1
- package/dist/{types-o8eTf_G9.d.ts → types-BogOtZre.d.ts} +2677 -813
- package/dist/{types-DHCbX2uR.d.cts → types-C6gjiVpQ.d.cts} +1 -1
- package/dist/{types-oJnjpvPi.d.ts → types-CbEJaobw.d.ts} +1 -1
- package/dist/{types-YEfQ5pAy.d.cts → types-DJLceKR0.d.cts} +445 -137
- package/dist/{types-YEfQ5pAy.d.ts → types-DJLceKR0.d.ts} +445 -137
- package/dist/{types-BowqtZ7v.d.ts → types-Do0nBZbY.d.ts} +355 -108
- package/dist/{types-BLJoO6YL.d.ts → types-DqxZDbM1.d.cts} +11 -2
- package/dist/{types-BLJoO6YL.d.cts → types-DqxZDbM1.d.ts} +11 -2
- package/dist/{types-BCPmAXOQ.d.cts → types-VK3k4Z6R.d.cts} +355 -108
- package/dist/vault/index.cjs +4 -3
- package/dist/vault/index.d.cts +2 -2
- package/dist/vault/index.d.ts +2 -2
- package/dist/vault/index.js +3 -2
- package/package.json +30 -4
- package/surface/auth.md +2 -2
- package/surface/chat.md +1 -1
- package/surface/dataScience.md +1 -1
- package/surface/editor.md +5 -5
- package/surface/kaiAgent.md +1 -1
- package/surface/management.md +15 -4
- package/surface/metastore.md +10 -10
- package/surface/queue.md +1 -1
- package/surface/sdk.md +19 -6
- package/surface/storage.md +11 -3
- package/surface/stream.md +7 -7
- package/dist/authMiddleware-B9RM45AH.d.cts +0 -5
- package/dist/authMiddleware-CwkfLK36.d.ts +0 -5
- package/dist/chunk-2HPI7FTO.cjs.map +0 -1
- package/dist/chunk-7CTIKR3B.cjs.map +0 -1
- package/dist/chunk-A6YMIJAX.cjs.map +0 -1
- package/dist/chunk-AWRMGLMT.cjs.map +0 -1
- package/dist/chunk-BCCSLO2Q.cjs.map +0 -1
- package/dist/chunk-BPZ7746T.cjs.map +0 -1
- package/dist/chunk-BR3SBEFE.cjs.map +0 -1
- package/dist/chunk-BUHCOAT6.js.map +0 -1
- package/dist/chunk-CVV4HROS.cjs.map +0 -1
- package/dist/chunk-CWQHLSG4.cjs.map +0 -1
- package/dist/chunk-EA26275C.js.map +0 -1
- package/dist/chunk-EAWA66EE.cjs.map +0 -1
- package/dist/chunk-EBCZUGUX.js.map +0 -1
- package/dist/chunk-EFP5I3XX.js.map +0 -1
- package/dist/chunk-F6UMQZBC.js.map +0 -1
- package/dist/chunk-FDFISPDO.js.map +0 -1
- package/dist/chunk-FTN5DKXT.js.map +0 -1
- package/dist/chunk-FTRHU6YC.js.map +0 -1
- package/dist/chunk-G7INDX44.js.map +0 -1
- package/dist/chunk-HACGJDAD.cjs.map +0 -1
- package/dist/chunk-HQM2LBGI.cjs.map +0 -1
- package/dist/chunk-IP4D4I42.js.map +0 -1
- package/dist/chunk-IPCCJCV4.js.map +0 -1
- package/dist/chunk-IPOWRVLR.cjs.map +0 -1
- package/dist/chunk-JURD5MC3.js.map +0 -1
- package/dist/chunk-K57JQFAE.js.map +0 -1
- package/dist/chunk-KIVPVVFK.cjs.map +0 -1
- package/dist/chunk-KQ2QNGRX.js.map +0 -1
- package/dist/chunk-KWO5WJUT.cjs.map +0 -1
- package/dist/chunk-LBNWO5SO.js.map +0 -1
- package/dist/chunk-MSLGNOIN.js.map +0 -1
- package/dist/chunk-PC522LKL.cjs.map +0 -1
- package/dist/chunk-PC5GISUV.js.map +0 -1
- package/dist/chunk-PMPCP6PG.cjs.map +0 -1
- package/dist/chunk-PSORECFP.js.map +0 -1
- package/dist/chunk-QO7MNY6T.js.map +0 -1
- package/dist/chunk-R34WMOOF.cjs.map +0 -1
- package/dist/chunk-RZIBC7G4.cjs.map +0 -1
- package/dist/chunk-TNWN3QSY.cjs.map +0 -1
- package/dist/chunk-TTPJSPZA.cjs.map +0 -1
- package/dist/chunk-U7K7Y2WN.cjs.map +0 -1
- package/dist/chunk-UFQVOZZ6.cjs.map +0 -1
- package/dist/chunk-VTXVB54B.cjs.map +0 -1
- package/dist/chunk-WERHQLXL.js.map +0 -1
- package/dist/chunk-WFBQUWRC.js.map +0 -1
- package/dist/chunk-X23LLSP6.js.map +0 -1
- package/dist/chunk-YD3KMWND.js.map +0 -1
- package/dist/chunk-YLZDOSIG.cjs.map +0 -1
- package/dist/chunk-YUTWLJBK.js.map +0 -1
- package/dist/chunk-ZBPWLCSH.js.map +0 -1
- package/dist/schemas-DVB6wC7L.d.cts +0 -74
- package/dist/schemas-DVB6wC7L.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/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { DevBranch, ServiceId, StackInfo, Service, StackComponent, ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, UpdateBucketOwnerBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, Snapshot, SaveMetadataBody, Metadata, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, ConfigType, PartialKey, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, SaveConfigurationMetadataInput, ConfigurationMetadataItem, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, RollbackConfigurationToVersionInput, CopyConfigurationFromVersionInput, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery } from './storage/types.cjs';
|
|
2
|
+
import { P as Project } from './project-DEFMKeAm.cjs';
|
|
3
|
+
import { createStorageTable } from './domain/storageTable/index.cjs';
|
|
4
|
+
import { M as MiddlewareFn, A as ApiResponse, H as HttpMethod } from './types-DqxZDbM1.cjs';
|
|
5
|
+
export { a as ApiError, c as AuthStrategy, d as BaseClientOptions } from './types-DqxZDbM1.cjs';
|
|
6
|
+
import { createAuthClient } from './auth/index.cjs';
|
|
7
|
+
import { createManagementClient } from './management/index.cjs';
|
|
8
|
+
export { isManagementClientAuthError } from './management/index.cjs';
|
|
9
|
+
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-BxgbulPW.cjs';
|
|
10
|
+
export { a as concurrent } from './storageClient-BxgbulPW.cjs';
|
|
11
|
+
import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.cjs';
|
|
12
|
+
export { k as keboolaUID } from './keboolaUID-D1DGSbge.cjs';
|
|
13
|
+
import * as zod from 'zod';
|
|
14
|
+
import { z } from 'zod';
|
|
15
|
+
import { c as components$8, S as StorageToken, C as CreateTokenBody, U as UpdateTokenBody, a as ShareTokenBody } from './types-B9SJ0cIc.cjs';
|
|
16
|
+
import { M as MetaObject, G as GetMetaObjectsPath, a as MetaStoreListResponse, b as GetMetaObjectRevisionsPath, c as GetMetaObjectPath, d as MetaStoreObjectResponse, C as CreateMetaObjectInput, D as DeleteMetaObjectPath, U as UpdateMetaObjectInput, R as ReplaceMetaObjectInput, e as GetMetaObjectRevisionPath, f as DeleteMetaObjectRevisionPath, g as GetSchemaPath, h as components$7, i as GetVersionedSchemaPath } from './types-VK3k4Z6R.cjs';
|
|
9
17
|
import { L as ListSubscriptionsQuery, c as components$6, G as GetSubscriptionPath, C as CreateSubscriptionBody, D as DeleteSubscriptionPath } from './types-BVldT2vs.cjs';
|
|
10
18
|
import { P as PaginationQuery, c as components$5, C as CreateSourceRequestBody, U as UpdateSourceRequestBody, D as DeleteSourceQuery, a as UpdateSourceSettingsRequestBody, T as TestSourceQuery, b as CreateSinkRequestBody, d as UpdateSinkRequestBody, e as UpdateSinkSettingsRequestBody, S as SinkStatisticsFilesQuery } from './types-DFWnAftN.cjs';
|
|
11
19
|
import { GetSchedulesQuery, ActivateScheduleBody, SchedulePath, ConfigurationPath as ConfigurationPath$1 } from './scheduler/types.cjs';
|
|
12
|
-
import { GetCredentialsQuery, Credential, CreateCredentialBody } from './oauth/types.cjs';
|
|
20
|
+
import { GetCredentialsQuery, Credential as Credential$1, CreateCredentialBody } from './oauth/types.cjs';
|
|
13
21
|
import { c as OpenapiQueryType, d as OpenapiPathType, b as OpenapiBodyType, a as OpenapiReturnType } from './types-jKnx7Tm_.cjs';
|
|
14
22
|
import { U as UploadFileParams, a as UploadedFile } from './types-Dg1tEsVR.cjs';
|
|
15
23
|
import { D as DescribeConfigurationVersionBody, a as DescribeConfigurationMergeBody, E as ExplainErrorBody, b as DescribeConfigurationBody, S as SuggestComponentBody, c as components$4, F as FeedbackBody, d as DocsQuestionBody } from './types-CvHPHNH0.cjs';
|
|
@@ -24,28 +32,23 @@ import { EncryptQuery, ScopedSecrets } from './encryption/types.cjs';
|
|
|
24
32
|
import { G as GetDataAppRunsPath, a as GetDataAppRunsQuery, b as GetDataAppRunPath, c as GetDataAppLogsDownloadPath, d as GetDataAppLogsTailPath, e as GetDataAppLogsTailQuery, L as LogEntry, f as GetAppsQuery, g as GetDataAppPath, C as CreateDataAppBody, P as PatchDataAppPath, h as PatchDataAppBody, D as DeleteDataAppPath, i as GetDataAppPasswordPath, R as ResetDataAppPasswordPath, j as GetSandboxPath, k as DeleteSandboxPath } from './utils-DDERw8dM.cjs';
|
|
25
33
|
export { p as parseLogLines } from './utils-DDERw8dM.cjs';
|
|
26
34
|
import { CreateVariableBody, VariableWithHash, DeleteVariablePath, GetVariablesQuery, GetVariablesByBranchId } from './vault/types.cjs';
|
|
27
|
-
import { a as EncryptionCtx } from './types-
|
|
35
|
+
import { a as EncryptionCtx } from './types-C6gjiVpQ.cjs';
|
|
36
|
+
import { SemanticObject, SemanticModelData, CreateSemanticObjectMeta, UpdateSemanticObjectMeta, SemanticChildObjectType, SemanticChildObjectDataMap, SemanticDatasetData, SemanticMetricData, SemanticRelationshipData, SemanticGlossaryData, SemanticConstraintData } from './sdk/semanticLayer/types.cjs';
|
|
28
37
|
import { TagWithBindings, TagData, CreateMetaObjectMetaDataInput, UpdateMetaObjectMetaDataInput } from './sdk/tag/types.cjs';
|
|
29
38
|
import * as zod_v4_core from 'zod/v4/core';
|
|
30
|
-
import
|
|
31
|
-
import { z } from 'zod';
|
|
32
|
-
import { ServiceId, ConfigurationPath, BaseComponentConfig, CreateConfigurationInput, UpdateConfigurationInput, CreateTableAsyncBody, TableCreateJob, CreateTableDefinitionBody, JobStatus, Table, TableImportAsyncBody, TableImportJob, TableExportAsyncBody, TableExportJob, BucketListing, CreateBucketListingInput, UpdateBucketListingInput, ShareBucketToProjectsBody, ShareBucketToUsersBody, RegisterBucketBody, RefreshExternalBucketQuery, CreateSnapshotBody, AddTableColumnBody, DeleteTableColumnQuery, CreateTablePrimaryKeyBody, Service, StackComponent, GetBucketsQuery, Bucket, BucketDetail, CreateBucketBody, UpdateBucketBody, CreateScheduledRefreshPath, CreateScheduledRefreshBody, ScheduledTask, Job, UpdateBucketOwnerBody, BucketRegistrationGuideQuery, SaveBucketMetadataBody, GetEventsQuery, StorageEvent, GetTableEventsQuery, TableEvent, CreateEventBody, File as File$1, GetFilesQuery, DeleteFileTagPath, PrepareFileBody, PreparedFile, GetTablesQuery, TableDetail, GetDataPreview, PreviewData, DeleteTableRows, JobUnion, UpdateTableDefinitionInput, UpdateTableBody, CreateAliasTableBody, SetAliasTableFilterBody, Snapshot, SaveMetadataBody, Metadata, DevBranch, CreateDevBranchJobBody, DevBranchPath, BranchMetadata, BranchMetadataEntry, WorkspacePath, Workspace, WorkspacesPath, ResetWorkspacePassword, SetWorkspacePublicInput, GetWorkspaceSaml2LoginPath, WorkspaceSaml2Login, WorkspaceObject, DeleteWorkspaceObjectInput, UnloadWorkspaceInput, WorkspaceInputMappingLoadPreviewInput, MergeRequestDetail, MergeRequestDetailWithActivityLog, CreateMergeRequestParams, UpdateMergeRequestParams, JobOperation, GetJobPath, GetJobsQuery, GetComponentPath, Component, GetComponentsPath, GetComponentsQuery, GetSearchComponentConfigurationsPath, SearchComponentConfigurationsQuery, SearchComponentConfiguration, ConfigType, PartialKey, ComponentConfig, ConfigurationDiffPath, ConfigurationDiff, ConfigurationRowDiffPath, ConfigurationRowDiff, RebaseConfigurationInput, GetConfigurationsPath, CreateConfigurationRowInput, Row, CreateConfigurationRowsInput, CreateConfigurationRowBody, DeleteConfigurationRowInput, DeleteConfigurationRowsInput, CreateConfigurationWorkspaceBody, ConfigurationUseCaseType, ConfigurationVersionPath, ConfigurationVersion, ConfigurationVersionDetailPath, ConfigurationVersionDetail, ListTriggersQuery, CreateTriggerBody, UpdateTriggerBody, GlobalSearchQuery, GlobalSearchResponse, RunIdStats, GetStackInfoQuery, StackInfo } from './storage/types.cjs';
|
|
33
|
-
import { R as RegisteredComponentId } from './registry-BLItWxbK.cjs';
|
|
34
|
-
import { C as ConcurrentOptions, M as MiddlewareFn$1 } from './storageClient-8LhUUGYa.cjs';
|
|
35
|
-
export { a as concurrent } from './storageClient-8LhUUGYa.cjs';
|
|
36
|
-
import { K as KeboolaObjectId } from './keboolaUID-D1DGSbge.cjs';
|
|
37
|
-
export { k as keboolaUID } from './keboolaUID-D1DGSbge.cjs';
|
|
38
|
-
import { B as Backend } from './backends-Bofq_Nr0.cjs';
|
|
39
|
+
import { R as RegisteredComponentId } from './registry-v_1krdcs.cjs';
|
|
39
40
|
export { FetchClientError, ServiceUnavailableError, UserError, isAbortError, isApiError, isFetchClientError } from './storage/index.cjs';
|
|
40
|
-
export { c as createGenericFetchClient } from './createGenericFetchClient-
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
|
|
41
|
+
export { c as createGenericFetchClient } from './createGenericFetchClient-DJ-oaxPj.cjs';
|
|
42
|
+
export { M as ManagementClientAuthError } from './ManagementClientAuthError-CJu_hpGi.cjs';
|
|
43
|
+
export { c as createStorageSdk } from './storageSdk-uCojVKkr.cjs';
|
|
44
|
+
import './adminRoles-Cil1lavB.cjs';
|
|
44
45
|
import 'qs';
|
|
46
|
+
import './types-BjcRP8q1.cjs';
|
|
47
|
+
import './createOpenapiFetchClient-DQL2ZYNb.cjs';
|
|
48
|
+
import './types-DJLceKR0.cjs';
|
|
45
49
|
import './encryption/index.cjs';
|
|
46
50
|
import './vault/index.cjs';
|
|
47
51
|
import './metastore/index.cjs';
|
|
48
|
-
import './createOpenapiFetchClient-CKNLT4ND.cjs';
|
|
49
52
|
|
|
50
53
|
declare const HttpHeader: {
|
|
51
54
|
CONTENT_TYPE: string;
|
|
@@ -59,6 +62,366 @@ declare const HttpContentType: {
|
|
|
59
62
|
TEXT_HTML: string;
|
|
60
63
|
};
|
|
61
64
|
|
|
65
|
+
type BranchType = 'default' | 'dev';
|
|
66
|
+
type Options$2 = {
|
|
67
|
+
devBranches: DevBranch[];
|
|
68
|
+
};
|
|
69
|
+
declare const createDefaultBranch: ({ devBranches }: Options$2) => {
|
|
70
|
+
id: number;
|
|
71
|
+
name: string;
|
|
72
|
+
getType: (branchId?: string | number) => BranchType;
|
|
73
|
+
isDev: (branchId?: string | number) => boolean;
|
|
74
|
+
isDefault: (branchId?: string | number) => boolean;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
|
|
78
|
+
type Options$1 = {
|
|
79
|
+
stackInfo: StackInfo;
|
|
80
|
+
clientServiceUrls?: ServiceUrls;
|
|
81
|
+
};
|
|
82
|
+
declare const createStack: ({ stackInfo, clientServiceUrls }: Options$1) => {
|
|
83
|
+
services: Service[];
|
|
84
|
+
features: string[];
|
|
85
|
+
components: StackComponent[];
|
|
86
|
+
hasFeature: (...feature: string[]) => boolean;
|
|
87
|
+
getServiceUrl: (serviceId: ServiceId) => string | null;
|
|
88
|
+
hasService: (serviceId: ServiceId) => boolean;
|
|
89
|
+
getComponent: (componentId: string) => StackComponent | null;
|
|
90
|
+
hasComponent: (...componentId: string[]) => boolean;
|
|
91
|
+
api: string;
|
|
92
|
+
documentation: string;
|
|
93
|
+
host: string;
|
|
94
|
+
revision: string;
|
|
95
|
+
stack: string;
|
|
96
|
+
urlTemplates: {
|
|
97
|
+
orchestrationJob: string;
|
|
98
|
+
};
|
|
99
|
+
version: string;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
|
|
103
|
+
type ClientContext = {
|
|
104
|
+
stack: ReturnType<typeof createStack>;
|
|
105
|
+
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
106
|
+
readonly project: Project;
|
|
107
|
+
readonly st: ReturnType<typeof createStorageTable>;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The single error the keboola client / session throws. It carries a stable `type` (the switchable
|
|
112
|
+
* contract) and a human-readable message derived from that type — no per-call message strings.
|
|
113
|
+
*/
|
|
114
|
+
declare const KeboolaErrorType: {
|
|
115
|
+
readonly Unconfigured: "unconfigured";
|
|
116
|
+
readonly NotAuthenticated: "not-authenticated";
|
|
117
|
+
readonly AlreadyAuthenticated: "already-authenticated";
|
|
118
|
+
readonly NoStorageToken: "no-storage-token";
|
|
119
|
+
readonly NoManagementToken: "no-management-token";
|
|
120
|
+
readonly MissingProject: "missing-project";
|
|
121
|
+
readonly NotBearer: "not-bearer";
|
|
122
|
+
readonly NotReady: "not-ready";
|
|
123
|
+
readonly InvalidBuildTransition: "invalid-build-transition";
|
|
124
|
+
};
|
|
125
|
+
type KeboolaErrorType = (typeof KeboolaErrorType)[keyof typeof KeboolaErrorType];
|
|
126
|
+
declare class KeboolaError extends Error {
|
|
127
|
+
readonly type: KeboolaErrorType;
|
|
128
|
+
constructor(type: KeboolaErrorType);
|
|
129
|
+
}
|
|
130
|
+
declare const isKeboolaError: (error: unknown) => error is KeboolaError;
|
|
131
|
+
|
|
132
|
+
type StorageAdapter = {
|
|
133
|
+
getItem: (key: string) => string | null;
|
|
134
|
+
setItem: (key: string, value: string) => void;
|
|
135
|
+
removeItem: (key: string) => void;
|
|
136
|
+
};
|
|
137
|
+
declare const createNullStorage: () => StorageAdapter;
|
|
138
|
+
declare const createMemoryStorage: () => StorageAdapter;
|
|
139
|
+
declare const createLocalStorage: () => StorageAdapter;
|
|
140
|
+
declare const createSessionStorage: () => StorageAdapter;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Service clients reached through the registry — the key is the `clientName`
|
|
144
|
+
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
145
|
+
*/
|
|
146
|
+
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
|
|
147
|
+
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
148
|
+
type NonServiceClientName = 'storage' | 'management' | 'auth';
|
|
149
|
+
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
150
|
+
type Middlewares = MiddlewareFn[] | ({
|
|
151
|
+
all?: MiddlewareFn[];
|
|
152
|
+
} & Partial<Record<MiddlewareTarget, MiddlewareFn[]>>);
|
|
153
|
+
declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn[]) => MiddlewareFn[];
|
|
154
|
+
type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
|
|
155
|
+
|
|
156
|
+
type KeboolaOptions = {
|
|
157
|
+
baseUrl?: string;
|
|
158
|
+
middlewares?: Middlewares;
|
|
159
|
+
clientServiceUrls?: ServiceUrls;
|
|
160
|
+
storage?: StorageAdapter;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
|
|
164
|
+
|
|
165
|
+
/** A deferred unit of async work: a no-arg function returning a value or promise. */
|
|
166
|
+
type TaskFn<T> = () => T | PromiseLike<T>;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Coalesces concurrent triggers onto a single, never-parallel run of `task`.
|
|
170
|
+
* Triggers fired while a run is busy collapse into one trailing run, and each
|
|
171
|
+
* resolves with the first run that started after it — so it never sees stale state.
|
|
172
|
+
*
|
|
173
|
+
* Example — A triggers, then B and C trigger while A's run is still going:
|
|
174
|
+
* 1. trigger A → run #1 starts
|
|
175
|
+
* 2. trigger B, C → run #1 busy, so they wait
|
|
176
|
+
* 3. run #1 done → A resolves
|
|
177
|
+
* 4. run #2 starts → covers B and C together (one trailing run, not two)
|
|
178
|
+
* 5. run #2 done → B and C resolve
|
|
179
|
+
*
|
|
180
|
+
* @returns a trigger; each call returns a promise of the task result.
|
|
181
|
+
* @throws The returned promise rejects with whatever `task` throws or rejects
|
|
182
|
+
* with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
|
|
183
|
+
*/
|
|
184
|
+
declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Deduplicates concurrent triggers by sharing one in-flight run of `task`.
|
|
188
|
+
* While a run is in flight every trigger returns that same promise; once it
|
|
189
|
+
* settles the next trigger starts a fresh run. (Contrast `coalesce`, which
|
|
190
|
+
* runs a *trailing* pass for triggers that arrive mid-run.)
|
|
191
|
+
*
|
|
192
|
+
* @returns a trigger; each call returns a promise of the task result.
|
|
193
|
+
* @throws The returned promise rejects with whatever `task` throws or rejects
|
|
194
|
+
* with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
|
|
195
|
+
*/
|
|
196
|
+
declare const dedupe: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
197
|
+
|
|
198
|
+
declare const delay: (timeout: number, signal?: AbortSignal) => Promise<unknown>;
|
|
199
|
+
|
|
200
|
+
type PollResult<T> = {
|
|
201
|
+
data: T;
|
|
202
|
+
callCount: number;
|
|
203
|
+
};
|
|
204
|
+
type PollErrorType = 'PollPredicateError' | 'PollTimeoutError' | 'PollPollTimeoutError';
|
|
205
|
+
declare class PollException<T> extends Error {
|
|
206
|
+
result: PollResult<T>;
|
|
207
|
+
constructor(type: PollErrorType, result: PollResult<T>);
|
|
208
|
+
}
|
|
209
|
+
type Options<T> = {
|
|
210
|
+
pollFn: (abortSignal?: AbortSignal) => Promise<T>;
|
|
211
|
+
isDone: (result: T) => boolean;
|
|
212
|
+
isFailed?: (result: T) => boolean;
|
|
213
|
+
interval: number;
|
|
214
|
+
abortSignal?: AbortSignal;
|
|
215
|
+
maxAttempts?: number;
|
|
216
|
+
};
|
|
217
|
+
declare const poll: <T>({ pollFn, interval, isDone, isFailed, abortSignal, maxAttempts, }: Options<T>) => Promise<PollResult<T>>;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Executes an asynchronous callback function on an array of items in series (one at a time).
|
|
221
|
+
* It behaves similarly to Promise.all(), failing on the first rejected promise.
|
|
222
|
+
* The order of the results matches the order of the promises.
|
|
223
|
+
*/
|
|
224
|
+
declare const series: <T, R>(options: Omit<ConcurrentOptions<T, R>, "concurrency">) => Promise<R[]>;
|
|
225
|
+
|
|
226
|
+
declare const generateUUID: () => `${string}-${string}-${string}-${string}-${string}`;
|
|
227
|
+
|
|
228
|
+
type Listener<T> = (value: T) => void;
|
|
229
|
+
type ReadableStore<T> = {
|
|
230
|
+
get: () => T;
|
|
231
|
+
subscribe: (listener: Listener<T>) => () => void;
|
|
232
|
+
dispose: () => void;
|
|
233
|
+
};
|
|
234
|
+
type Store<T> = ReadableStore<T> & {
|
|
235
|
+
set: (value: T) => void;
|
|
236
|
+
};
|
|
237
|
+
declare const createStore: <T>(initial: T) => Store<T>;
|
|
238
|
+
declare const shallowEqual: <T>(a: T, b: T) => boolean;
|
|
239
|
+
type DerivedStoreOptions<S, K, T> = {
|
|
240
|
+
source: ReadableStore<S>;
|
|
241
|
+
dependsOn: (state: S) => K;
|
|
242
|
+
build: (key: K) => T;
|
|
243
|
+
keyEquals?: (a: K, b: K) => boolean;
|
|
244
|
+
};
|
|
245
|
+
declare const createDerivedStore: <S, K, T>({ source, dependsOn, build, keyEquals, }: DerivedStoreOptions<S, K, T>) => ReadableStore<T>;
|
|
246
|
+
type AsyncState<T> = {
|
|
247
|
+
state: 'idle';
|
|
248
|
+
} | {
|
|
249
|
+
state: 'pending';
|
|
250
|
+
} | {
|
|
251
|
+
state: 'ready';
|
|
252
|
+
value: T;
|
|
253
|
+
} | {
|
|
254
|
+
state: 'errored';
|
|
255
|
+
error: unknown;
|
|
256
|
+
};
|
|
257
|
+
type SettledState<T> = Extract<AsyncState<T>, {
|
|
258
|
+
state: 'ready';
|
|
259
|
+
} | {
|
|
260
|
+
state: 'errored';
|
|
261
|
+
}>;
|
|
262
|
+
type DerivedAsyncStoreOptions<S, K, T> = {
|
|
263
|
+
source: ReadableStore<S>;
|
|
264
|
+
dependsOn: (state: S) => K | null;
|
|
265
|
+
build: (key: K, signal: AbortSignal) => Promise<T>;
|
|
266
|
+
keyEquals?: (a: K, b: K) => boolean;
|
|
267
|
+
};
|
|
268
|
+
declare const createDerivedAsyncStore: <S, K, T>({ source, dependsOn, build, keyEquals, }: DerivedAsyncStoreOptions<S, K, T>) => {
|
|
269
|
+
store: ReadableStore<AsyncState<T>>;
|
|
270
|
+
settled: () => Promise<SettledState<T>>;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Narrows `unknown` to a string-keyed object — a non-null value of `typeof 'object'`
|
|
275
|
+
* that is not an array. Note it does not distinguish class instances (e.g. `Date`) from
|
|
276
|
+
* object literals; it only rules out `null`, arrays, and primitives.
|
|
277
|
+
*/
|
|
278
|
+
declare const isPlainObject: (value: unknown) => value is Record<string, unknown>;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Is `value` "deeply empty" — i.e. carries no leaf data? `null`/`undefined`, `{}`, `[]`, and
|
|
282
|
+
* nested structures whose every leaf is itself empty (e.g. `{ parameters: {} }`) are empty.
|
|
283
|
+
* Any present primitive (string, number, boolean — including `''`) counts as content.
|
|
284
|
+
*
|
|
285
|
+
* Used to skip a pointless encryption round-trip when a validated configuration has nothing
|
|
286
|
+
* to encrypt.
|
|
287
|
+
*/
|
|
288
|
+
declare const isEmptyDeep: (value: unknown) => boolean;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Recursively merge `patch` into `base`. Plain-object values are merged key-by-key; every
|
|
292
|
+
* other value (primitives, arrays, or a type mismatch between the two sides) replaces the
|
|
293
|
+
* base value. `undefined` patch values are skipped, so a partial patch leaves untouched
|
|
294
|
+
* fields alone. Pure — neither argument is mutated; the result preserves `base`'s type.
|
|
295
|
+
*/
|
|
296
|
+
declare const deepMerge: <T extends Record<string, unknown>>(base: T, patch: Record<string, unknown>) => T;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Merge `patch` into `base`, guided by `schema`: descend only through object schemas, merging
|
|
300
|
+
* key-by-key. At every non-object node — a `z.union` (e.g. Snowflake's password|keypair auth),
|
|
301
|
+
* an array, or a primitive — the patch REPLACES the base wholesale. That replace is what lets an
|
|
302
|
+
* update *delete* keys the additive `deepMerge` cannot: switching a credential union to the other
|
|
303
|
+
* variant drops the abandoned variant's secret, because the entire union subtree is swapped.
|
|
304
|
+
*
|
|
305
|
+
* Consequence: a union (or array) subtree is all-or-nothing — the caller must send the complete
|
|
306
|
+
* block, since a partial patch replaces (and so loses) the omitted siblings.
|
|
307
|
+
*
|
|
308
|
+
* Object keys present only in `base` (e.g. `storage`, `processors`, anything the schema omits) are
|
|
309
|
+
* preserved at every level; `undefined` patch values are skipped. Assumes `patch` is already
|
|
310
|
+
* schema-validated (so every object-valued patch key has a matching schema node). Pure — neither
|
|
311
|
+
* argument is mutated.
|
|
312
|
+
*/
|
|
313
|
+
declare const schemaGuidedMerge: <T extends Record<string, unknown>>(schema: z.core.$ZodType, base: T, patch: Record<string, unknown>) => T;
|
|
314
|
+
|
|
315
|
+
type Schema<T> = {
|
|
316
|
+
safeParse: (value: unknown) => {
|
|
317
|
+
success: true;
|
|
318
|
+
data: T;
|
|
319
|
+
} | {
|
|
320
|
+
success: false;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
type Persistor<T> = {
|
|
324
|
+
/** Read + validate the stored value; returns `defaultValue` when empty or corrupt. */
|
|
325
|
+
hydrate: () => T;
|
|
326
|
+
/** Serialize + write the value. */
|
|
327
|
+
persist: (value: T) => void;
|
|
328
|
+
/** Remove the stored value. */
|
|
329
|
+
clear: () => void;
|
|
330
|
+
/** Whether a value is currently persisted under the key. */
|
|
331
|
+
hasPersistedValue: () => boolean;
|
|
332
|
+
};
|
|
333
|
+
type PersistorOptions<T> = {
|
|
334
|
+
storage?: StorageAdapter;
|
|
335
|
+
key: string;
|
|
336
|
+
schema: Schema<T>;
|
|
337
|
+
defaultValue: T;
|
|
338
|
+
encode?: (value: T) => string;
|
|
339
|
+
decode?: (raw: string) => unknown;
|
|
340
|
+
};
|
|
341
|
+
declare const createPersistor: <T>({ storage, key, schema, defaultValue, encode, decode, }: PersistorOptions<T>) => Persistor<T>;
|
|
342
|
+
|
|
343
|
+
type TokenSet = {
|
|
344
|
+
accessToken: string;
|
|
345
|
+
refreshToken: string;
|
|
346
|
+
expiresIn: number;
|
|
347
|
+
};
|
|
348
|
+
type Credential = TokenSet & {
|
|
349
|
+
issuedAt: number;
|
|
350
|
+
};
|
|
351
|
+
type State$1 = {
|
|
352
|
+
status: 'anonymous';
|
|
353
|
+
baseUrl: string | null;
|
|
354
|
+
} | {
|
|
355
|
+
status: 'authenticated';
|
|
356
|
+
baseUrl: string;
|
|
357
|
+
credential: Credential;
|
|
358
|
+
} | {
|
|
359
|
+
status: 'scoped';
|
|
360
|
+
baseUrl: string;
|
|
361
|
+
credential: Credential;
|
|
362
|
+
projectId: number;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
type SessionSnapshot$1 = {
|
|
366
|
+
type: 'Bearer';
|
|
367
|
+
config: State$1;
|
|
368
|
+
authReady: boolean;
|
|
369
|
+
managementReady: boolean;
|
|
370
|
+
storage: AsyncState<unknown>['state'];
|
|
371
|
+
};
|
|
372
|
+
type RestoreResult = {
|
|
373
|
+
status: 'empty' | 'restored' | 'expired';
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
declare const createKeboola: (options?: KeboolaOptions) => {
|
|
377
|
+
api: KeboolaApi;
|
|
378
|
+
session: {
|
|
379
|
+
hasPersistedValue: () => boolean;
|
|
380
|
+
setBaseUrl: (baseUrl: string) => void;
|
|
381
|
+
isStorageReady: () => boolean;
|
|
382
|
+
authenticate: (tokens: TokenSet) => void;
|
|
383
|
+
setProject: (projectId: number) => void;
|
|
384
|
+
setProjectAsync: (projectId: number) => Promise<void>;
|
|
385
|
+
reset: () => void;
|
|
386
|
+
/**
|
|
387
|
+
* Dev/test only: mark the current access token as expired so the bearer credential rotates it on
|
|
388
|
+
* the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
|
|
389
|
+
* the rotation immediately and observe the new credential.
|
|
390
|
+
*/
|
|
391
|
+
debugForceRefresh: () => void;
|
|
392
|
+
restore: () => Promise<RestoreResult>;
|
|
393
|
+
subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
|
|
394
|
+
debug: () => SessionSnapshot$1;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
type State = {
|
|
399
|
+
baseUrl: string | null;
|
|
400
|
+
sapiToken: string | null;
|
|
401
|
+
managementToken: string | null;
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
type SessionSnapshot = {
|
|
405
|
+
type: 'Sapi';
|
|
406
|
+
config: State;
|
|
407
|
+
authReady: boolean;
|
|
408
|
+
managementReady: boolean;
|
|
409
|
+
storage: AsyncState<unknown>['state'];
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
declare const createLegacyKeboola: (options?: KeboolaOptions) => {
|
|
413
|
+
api: KeboolaApi;
|
|
414
|
+
session: {
|
|
415
|
+
setBaseUrl: (baseUrl: string) => void;
|
|
416
|
+
isStorageReady: () => boolean;
|
|
417
|
+
authenticateStorage: (sapiToken: string) => void;
|
|
418
|
+
authenticateStorageAsync: (sapiToken: string) => Promise<void>;
|
|
419
|
+
authenticateManagement: (managementToken: string) => void;
|
|
420
|
+
subscribe: (listener: (snapshot: SessionSnapshot) => void) => () => void;
|
|
421
|
+
debug: () => SessionSnapshot;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
|
|
62
425
|
/**
|
|
63
426
|
* This file was auto-generated by openapi-typescript.
|
|
64
427
|
* Do not make direct changes to the file.
|
|
@@ -3555,165 +3918,21 @@ type VoteRequest = OpenapiBodyType<paths['/api/vote']['patch']>;
|
|
|
3555
3918
|
type ApprovalBody = OpenapiBodyType<paths['/api/chat/{id}/approval']['post']>;
|
|
3556
3919
|
type UsageResponse = OpenapiReturnType<paths['/api/usage']['get']>;
|
|
3557
3920
|
|
|
3558
|
-
declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
|
|
3559
|
-
|
|
3560
|
-
type TaskFn<T> = () => T;
|
|
3561
|
-
/**
|
|
3562
|
-
* Coalesces concurrent triggers onto a single, never-parallel run of `task`.
|
|
3563
|
-
* Triggers fired while a run is busy collapse into one trailing run, and each
|
|
3564
|
-
* resolves with the first run that started after it — so it never sees stale state.
|
|
3565
|
-
*
|
|
3566
|
-
* Example — A triggers, then B and C trigger while A's run is still going:
|
|
3567
|
-
* 1. trigger A → run #1 starts
|
|
3568
|
-
* 2. trigger B, C → run #1 busy, so they wait
|
|
3569
|
-
* 3. run #1 done → A resolves
|
|
3570
|
-
* 4. run #2 starts → covers B and C together (one trailing run, not two)
|
|
3571
|
-
* 5. run #2 done → B and C resolve
|
|
3572
|
-
*
|
|
3573
|
-
* @returns a trigger; each call returns a promise of the task result.
|
|
3574
|
-
* @throws The returned promise rejects with whatever `task` throws or rejects
|
|
3575
|
-
* with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
|
|
3576
|
-
*/
|
|
3577
|
-
declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
3578
|
-
|
|
3579
|
-
declare const delay: (timeout: number, signal?: AbortSignal) => Promise<unknown>;
|
|
3580
|
-
|
|
3581
|
-
type PollResult<T> = {
|
|
3582
|
-
data: T;
|
|
3583
|
-
callCount: number;
|
|
3584
|
-
};
|
|
3585
|
-
type PollErrorType = 'PollPredicateError' | 'PollTimeoutError' | 'PollPollTimeoutError';
|
|
3586
|
-
declare class PollException<T> extends Error {
|
|
3587
|
-
result: PollResult<T>;
|
|
3588
|
-
constructor(type: PollErrorType, result: PollResult<T>);
|
|
3589
|
-
}
|
|
3590
|
-
type Options<T> = {
|
|
3591
|
-
pollFn: (abortSignal?: AbortSignal) => Promise<T>;
|
|
3592
|
-
isDone: (result: T) => boolean;
|
|
3593
|
-
isFailed?: (result: T) => boolean;
|
|
3594
|
-
interval: number;
|
|
3595
|
-
abortSignal?: AbortSignal;
|
|
3596
|
-
maxAttempts?: number;
|
|
3597
|
-
};
|
|
3598
|
-
declare const poll: <T>({ pollFn, interval, isDone, isFailed, abortSignal, maxAttempts, }: Options<T>) => Promise<PollResult<T>>;
|
|
3599
|
-
|
|
3600
|
-
declare const generateUUID: () => `${string}-${string}-${string}-${string}-${string}`;
|
|
3601
|
-
|
|
3602
3921
|
/**
|
|
3603
|
-
*
|
|
3604
|
-
*
|
|
3605
|
-
*
|
|
3922
|
+
* Bearer (OAuth) project surface. Same handshake + assembly as the legacy build. The
|
|
3923
|
+
* `Authorization: Bearer` header + transparent refresh come from the engine-shared `authMiddleware`
|
|
3924
|
+
* (one instance for management + every project client). This build only adds the project-scoped
|
|
3925
|
+
* `X-KBC-ProjectId` header, composed *outside* the auth middleware so the header is present
|
|
3926
|
+
* before it clones the request for the 401 replay. Bearer has no static token header, so this
|
|
3927
|
+
* combined `attach` rides on every client — including the operational storage and the bootstrap reader.
|
|
3606
3928
|
*/
|
|
3607
|
-
declare const
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
subscribe: (listener: Listener<T>) => () => void;
|
|
3613
|
-
};
|
|
3614
|
-
type Store<T> = ReadableStore<T> & {
|
|
3615
|
-
set: (value: T) => void;
|
|
3616
|
-
};
|
|
3617
|
-
declare const createStore: <T>(initial: T) => Store<T>;
|
|
3618
|
-
declare const shallowEqual: <T>(a: T, b: T) => boolean;
|
|
3619
|
-
type DerivedStoreOptions<S, K, T> = {
|
|
3620
|
-
source: ReadableStore<S>;
|
|
3621
|
-
dependsOn: (state: S) => K;
|
|
3622
|
-
build: (key: K) => T;
|
|
3623
|
-
keyEquals?: (a: K, b: K) => boolean;
|
|
3624
|
-
};
|
|
3625
|
-
declare const createDerivedStore: <S, K, T>({ source, dependsOn, build, keyEquals, }: DerivedStoreOptions<S, K, T>) => ReadableStore<T>;
|
|
3626
|
-
|
|
3627
|
-
/**
|
|
3628
|
-
* Narrows `unknown` to a string-keyed object — a non-null value of `typeof 'object'`
|
|
3629
|
-
* that is not an array. Note it does not distinguish class instances (e.g. `Date`) from
|
|
3630
|
-
* object literals; it only rules out `null`, arrays, and primitives.
|
|
3631
|
-
*/
|
|
3632
|
-
declare const isPlainObject: (value: unknown) => value is Record<string, unknown>;
|
|
3633
|
-
|
|
3634
|
-
/**
|
|
3635
|
-
* Is `value` "deeply empty" — i.e. carries no leaf data? `null`/`undefined`, `{}`, `[]`, and
|
|
3636
|
-
* nested structures whose every leaf is itself empty (e.g. `{ parameters: {} }`) are empty.
|
|
3637
|
-
* Any present primitive (string, number, boolean — including `''`) counts as content.
|
|
3638
|
-
*
|
|
3639
|
-
* Used to skip a pointless encryption round-trip when a validated configuration has nothing
|
|
3640
|
-
* to encrypt.
|
|
3641
|
-
*/
|
|
3642
|
-
declare const isEmptyDeep: (value: unknown) => boolean;
|
|
3643
|
-
|
|
3644
|
-
/**
|
|
3645
|
-
* Recursively merge `patch` into `base`. Plain-object values are merged key-by-key; every
|
|
3646
|
-
* other value (primitives, arrays, or a type mismatch between the two sides) replaces the
|
|
3647
|
-
* base value. `undefined` patch values are skipped, so a partial patch leaves untouched
|
|
3648
|
-
* fields alone. Pure — neither argument is mutated; the result preserves `base`'s type.
|
|
3649
|
-
*/
|
|
3650
|
-
declare const deepMerge: <T extends Record<string, unknown>>(base: T, patch: Record<string, unknown>) => T;
|
|
3651
|
-
|
|
3652
|
-
/**
|
|
3653
|
-
* Merge `patch` into `base`, guided by `schema`: descend only through object schemas, merging
|
|
3654
|
-
* key-by-key. At every non-object node — a `z.union` (e.g. Snowflake's password|keypair auth),
|
|
3655
|
-
* an array, or a primitive — the patch REPLACES the base wholesale. That replace is what lets an
|
|
3656
|
-
* update *delete* keys the additive `deepMerge` cannot: switching a credential union to the other
|
|
3657
|
-
* variant drops the abandoned variant's secret, because the entire union subtree is swapped.
|
|
3658
|
-
*
|
|
3659
|
-
* Consequence: a union (or array) subtree is all-or-nothing — the caller must send the complete
|
|
3660
|
-
* block, since a partial patch replaces (and so loses) the omitted siblings.
|
|
3661
|
-
*
|
|
3662
|
-
* Object keys present only in `base` (e.g. `storage`, `processors`, anything the schema omits) are
|
|
3663
|
-
* preserved at every level; `undefined` patch values are skipped. Assumes `patch` is already
|
|
3664
|
-
* schema-validated (so every object-valued patch key has a matching schema node). Pure — neither
|
|
3665
|
-
* argument is mutated.
|
|
3666
|
-
*/
|
|
3667
|
-
declare const schemaGuidedMerge: <T extends Record<string, unknown>>(schema: z.core.$ZodType, base: T, patch: Record<string, unknown>) => T;
|
|
3668
|
-
|
|
3669
|
-
type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
|
|
3670
|
-
|
|
3671
|
-
/**
|
|
3672
|
-
* Service clients reached through the registry — the key is the `clientName`
|
|
3673
|
-
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
3674
|
-
*/
|
|
3675
|
-
type ServiceClientName = 'vault' | 'dataScience' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
|
|
3676
|
-
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
3677
|
-
type NonServiceClientName = 'storage' | 'management' | 'auth';
|
|
3678
|
-
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
3679
|
-
type Middlewares = MiddlewareFn[] | ({
|
|
3680
|
-
all?: MiddlewareFn[];
|
|
3681
|
-
} & Partial<Record<MiddlewareTarget, MiddlewareFn[]>>);
|
|
3682
|
-
|
|
3683
|
-
type ApiClientOptions = {
|
|
3684
|
-
token: {
|
|
3685
|
-
storageApi: string;
|
|
3686
|
-
managementApi?: string;
|
|
3687
|
-
};
|
|
3688
|
-
middlewares?: Middlewares;
|
|
3929
|
+
declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middlewareFor, clientServiceUrls, }: {
|
|
3930
|
+
baseUrl: string;
|
|
3931
|
+
authMiddleware: MiddlewareFn;
|
|
3932
|
+
projectId: number;
|
|
3933
|
+
middlewareFor: MiddlewareFor;
|
|
3689
3934
|
clientServiceUrls?: ServiceUrls;
|
|
3690
|
-
}
|
|
3691
|
-
declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
|
|
3692
|
-
declare const createLiveProject: ({ initialToken, verify, }: {
|
|
3693
|
-
initialToken: StorageToken;
|
|
3694
|
-
verify: () => Promise<StorageToken>;
|
|
3695
|
-
}) => {
|
|
3696
|
-
store: Store<{
|
|
3697
|
-
hasFeature: (...feature: string[]) => boolean;
|
|
3698
|
-
hasAdminFeature: (...feature: string[]) => boolean;
|
|
3699
|
-
hasBackend: (backend: Backend) => boolean;
|
|
3700
|
-
sapiToken: StorageToken;
|
|
3701
|
-
}>;
|
|
3702
|
-
getProject: () => {
|
|
3703
|
-
hasFeature: (...feature: string[]) => boolean;
|
|
3704
|
-
hasAdminFeature: (...feature: string[]) => boolean;
|
|
3705
|
-
hasBackend: (backend: Backend) => boolean;
|
|
3706
|
-
sapiToken: StorageToken;
|
|
3707
|
-
};
|
|
3708
|
-
subscribe: (listener: (value: {
|
|
3709
|
-
hasFeature: (...feature: string[]) => boolean;
|
|
3710
|
-
hasAdminFeature: (...feature: string[]) => boolean;
|
|
3711
|
-
hasBackend: (backend: Backend) => boolean;
|
|
3712
|
-
sapiToken: StorageToken;
|
|
3713
|
-
}) => void) => () => void;
|
|
3714
|
-
middleware: MiddlewareFn;
|
|
3715
|
-
};
|
|
3716
|
-
declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares, }: ApiClientOptions) => Promise<{
|
|
3935
|
+
}) => Promise<{
|
|
3717
3936
|
sdk: {
|
|
3718
3937
|
configuration: {
|
|
3719
3938
|
getConfiguration: <ComponentId extends RegisteredComponentId>(path: ConfigurationPath<ComponentId>) => Promise<{
|
|
@@ -4593,7 +4812,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
4593
4812
|
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
4594
4813
|
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
4595
4814
|
}, zod_v4_core.$strip>;
|
|
4596
|
-
}, zod_v4_core.$strip>>
|
|
4815
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
|
|
4816
|
+
parameters: zod.ZodObject<{
|
|
4817
|
+
baseUrl: zod.ZodString;
|
|
4818
|
+
maxRedirects: zod.ZodOptional<zod.ZodNumber>;
|
|
4819
|
+
}, zod_v4_core.$loose>;
|
|
4820
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
|
|
4821
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4822
|
+
host: zod.ZodString;
|
|
4823
|
+
port: zod.ZodNumber;
|
|
4824
|
+
connectionType: zod.ZodEnum<{
|
|
4825
|
+
FTP: "FTP";
|
|
4826
|
+
FTPS: "FTPS";
|
|
4827
|
+
SFTP: "SFTP";
|
|
4828
|
+
}>;
|
|
4829
|
+
username: zod.ZodString;
|
|
4830
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
4831
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
4832
|
+
enabled: zod.ZodBoolean;
|
|
4833
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
4834
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
4835
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
4836
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
4837
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
4838
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
4839
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
4840
|
+
}, zod_v4_core.$strip>>;
|
|
4841
|
+
}, zod_v4_core.$strip>>;
|
|
4842
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
4843
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
4844
|
+
'#password': zod.ZodString;
|
|
4845
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
4846
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
4847
|
+
host: zod.ZodString;
|
|
4848
|
+
port: zod.ZodNumber;
|
|
4849
|
+
connectionType: zod.ZodEnum<{
|
|
4850
|
+
FTP: "FTP";
|
|
4851
|
+
FTPS: "FTPS";
|
|
4852
|
+
SFTP: "SFTP";
|
|
4853
|
+
}>;
|
|
4854
|
+
username: zod.ZodString;
|
|
4855
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
4856
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
4857
|
+
enabled: zod.ZodBoolean;
|
|
4858
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
4859
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
4860
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
4861
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
4862
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
4863
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
4864
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
4865
|
+
}, zod_v4_core.$strip>>;
|
|
4866
|
+
}, zod_v4_core.$strip>>;
|
|
4867
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
4868
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
4869
|
+
'#privateKey': zod.ZodString;
|
|
4870
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
4871
|
+
}, zod_v4_core.$loose>]>;
|
|
4872
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
|
|
4873
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4874
|
+
host: zod.ZodString;
|
|
4875
|
+
port: zod.ZodNumber;
|
|
4876
|
+
connectionType: zod.ZodEnum<{
|
|
4877
|
+
FTP: "FTP";
|
|
4878
|
+
FTPS: "FTPS";
|
|
4879
|
+
SFTP: "SFTP";
|
|
4880
|
+
}>;
|
|
4881
|
+
username: zod.ZodString;
|
|
4882
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
4883
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
4884
|
+
enabled: zod.ZodBoolean;
|
|
4885
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
4886
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
4887
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
4888
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
4889
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
4890
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
4891
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
4892
|
+
}, zod_v4_core.$strip>>;
|
|
4893
|
+
}, zod_v4_core.$strip>>;
|
|
4894
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
4895
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
4896
|
+
'#password': zod.ZodString;
|
|
4897
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
4898
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
4899
|
+
host: zod.ZodString;
|
|
4900
|
+
port: zod.ZodNumber;
|
|
4901
|
+
connectionType: zod.ZodEnum<{
|
|
4902
|
+
FTP: "FTP";
|
|
4903
|
+
FTPS: "FTPS";
|
|
4904
|
+
SFTP: "SFTP";
|
|
4905
|
+
}>;
|
|
4906
|
+
username: zod.ZodString;
|
|
4907
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
4908
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
4909
|
+
enabled: zod.ZodBoolean;
|
|
4910
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
4911
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
4912
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
4913
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
4914
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
4915
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
4916
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
4917
|
+
}, zod_v4_core.$strip>>;
|
|
4918
|
+
}, zod_v4_core.$strip>>;
|
|
4919
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
4920
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
4921
|
+
'#privateKey': zod.ZodString;
|
|
4922
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
4923
|
+
}, zod_v4_core.$loose>]>;
|
|
4924
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
|
|
4925
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4926
|
+
loginType: zod.ZodLiteral<"credentials">;
|
|
4927
|
+
accessKeyId: zod.ZodString;
|
|
4928
|
+
'#secretAccessKey': zod.ZodString;
|
|
4929
|
+
accountId: zod.ZodOptional<zod.ZodUndefined>;
|
|
4930
|
+
roleName: zod.ZodOptional<zod.ZodUndefined>;
|
|
4931
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
4932
|
+
loginType: zod.ZodLiteral<"role">;
|
|
4933
|
+
accountId: zod.ZodString;
|
|
4934
|
+
roleName: zod.ZodString;
|
|
4935
|
+
accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
|
|
4936
|
+
'#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
4937
|
+
}, zod_v4_core.$loose>]>;
|
|
4938
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
|
|
4939
|
+
parameters: zod.ZodObject<{
|
|
4940
|
+
account_name: zod.ZodString;
|
|
4941
|
+
'#account_key': zod.ZodString;
|
|
4942
|
+
container_name: zod.ZodString;
|
|
4943
|
+
}, zod_v4_core.$loose>;
|
|
4944
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
|
|
4945
|
+
parameters: zod.ZodObject<{
|
|
4946
|
+
account_name: zod.ZodString;
|
|
4947
|
+
'#account_key': zod.ZodString;
|
|
4948
|
+
file_system: zod.ZodString;
|
|
4949
|
+
}, zod_v4_core.$loose>;
|
|
4950
|
+
}, zod_v4_core.$loose>>)[ComponentId]>>;
|
|
4597
4951
|
runnable: boolean;
|
|
4598
4952
|
error: zod.ZodError<unknown> | undefined;
|
|
4599
4953
|
}>;
|
|
@@ -5475,7 +5829,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
5475
5829
|
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
5476
5830
|
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
5477
5831
|
}, zod_v4_core.$strip>;
|
|
5478
|
-
}, zod_v4_core.$strip>>
|
|
5832
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
|
|
5833
|
+
parameters: zod.ZodObject<{
|
|
5834
|
+
baseUrl: zod.ZodString;
|
|
5835
|
+
maxRedirects: zod.ZodOptional<zod.ZodNumber>;
|
|
5836
|
+
}, zod_v4_core.$loose>;
|
|
5837
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
|
|
5838
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5839
|
+
host: zod.ZodString;
|
|
5840
|
+
port: zod.ZodNumber;
|
|
5841
|
+
connectionType: zod.ZodEnum<{
|
|
5842
|
+
FTP: "FTP";
|
|
5843
|
+
FTPS: "FTPS";
|
|
5844
|
+
SFTP: "SFTP";
|
|
5845
|
+
}>;
|
|
5846
|
+
username: zod.ZodString;
|
|
5847
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
5848
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
5849
|
+
enabled: zod.ZodBoolean;
|
|
5850
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
5851
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
5852
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
5853
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
5854
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
5855
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
5856
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
5857
|
+
}, zod_v4_core.$strip>>;
|
|
5858
|
+
}, zod_v4_core.$strip>>;
|
|
5859
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
5860
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
5861
|
+
'#password': zod.ZodString;
|
|
5862
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
5863
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
5864
|
+
host: zod.ZodString;
|
|
5865
|
+
port: zod.ZodNumber;
|
|
5866
|
+
connectionType: zod.ZodEnum<{
|
|
5867
|
+
FTP: "FTP";
|
|
5868
|
+
FTPS: "FTPS";
|
|
5869
|
+
SFTP: "SFTP";
|
|
5870
|
+
}>;
|
|
5871
|
+
username: zod.ZodString;
|
|
5872
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
5873
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
5874
|
+
enabled: zod.ZodBoolean;
|
|
5875
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
5876
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
5877
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
5878
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
5879
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
5880
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
5881
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
5882
|
+
}, zod_v4_core.$strip>>;
|
|
5883
|
+
}, zod_v4_core.$strip>>;
|
|
5884
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
5885
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
5886
|
+
'#privateKey': zod.ZodString;
|
|
5887
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
5888
|
+
}, zod_v4_core.$loose>]>;
|
|
5889
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
|
|
5890
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5891
|
+
host: zod.ZodString;
|
|
5892
|
+
port: zod.ZodNumber;
|
|
5893
|
+
connectionType: zod.ZodEnum<{
|
|
5894
|
+
FTP: "FTP";
|
|
5895
|
+
FTPS: "FTPS";
|
|
5896
|
+
SFTP: "SFTP";
|
|
5897
|
+
}>;
|
|
5898
|
+
username: zod.ZodString;
|
|
5899
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
5900
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
5901
|
+
enabled: zod.ZodBoolean;
|
|
5902
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
5903
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
5904
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
5905
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
5906
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
5907
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
5908
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
5909
|
+
}, zod_v4_core.$strip>>;
|
|
5910
|
+
}, zod_v4_core.$strip>>;
|
|
5911
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
5912
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
5913
|
+
'#password': zod.ZodString;
|
|
5914
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
5915
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
5916
|
+
host: zod.ZodString;
|
|
5917
|
+
port: zod.ZodNumber;
|
|
5918
|
+
connectionType: zod.ZodEnum<{
|
|
5919
|
+
FTP: "FTP";
|
|
5920
|
+
FTPS: "FTPS";
|
|
5921
|
+
SFTP: "SFTP";
|
|
5922
|
+
}>;
|
|
5923
|
+
username: zod.ZodString;
|
|
5924
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
5925
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
5926
|
+
enabled: zod.ZodBoolean;
|
|
5927
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
5928
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
5929
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
5930
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
5931
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
5932
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
5933
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
5934
|
+
}, zod_v4_core.$strip>>;
|
|
5935
|
+
}, zod_v4_core.$strip>>;
|
|
5936
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
5937
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
5938
|
+
'#privateKey': zod.ZodString;
|
|
5939
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
5940
|
+
}, zod_v4_core.$loose>]>;
|
|
5941
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
|
|
5942
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
5943
|
+
loginType: zod.ZodLiteral<"credentials">;
|
|
5944
|
+
accessKeyId: zod.ZodString;
|
|
5945
|
+
'#secretAccessKey': zod.ZodString;
|
|
5946
|
+
accountId: zod.ZodOptional<zod.ZodUndefined>;
|
|
5947
|
+
roleName: zod.ZodOptional<zod.ZodUndefined>;
|
|
5948
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
5949
|
+
loginType: zod.ZodLiteral<"role">;
|
|
5950
|
+
accountId: zod.ZodString;
|
|
5951
|
+
roleName: zod.ZodString;
|
|
5952
|
+
accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
|
|
5953
|
+
'#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
5954
|
+
}, zod_v4_core.$loose>]>;
|
|
5955
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
|
|
5956
|
+
parameters: zod.ZodObject<{
|
|
5957
|
+
account_name: zod.ZodString;
|
|
5958
|
+
'#account_key': zod.ZodString;
|
|
5959
|
+
container_name: zod.ZodString;
|
|
5960
|
+
}, zod_v4_core.$loose>;
|
|
5961
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
|
|
5962
|
+
parameters: zod.ZodObject<{
|
|
5963
|
+
account_name: zod.ZodString;
|
|
5964
|
+
'#account_key': zod.ZodString;
|
|
5965
|
+
file_system: zod.ZodString;
|
|
5966
|
+
}, zod_v4_core.$loose>;
|
|
5967
|
+
}, zod_v4_core.$loose>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
|
|
5479
5968
|
parameters: zod.ZodObject<{
|
|
5480
5969
|
db: zod.ZodObject<{
|
|
5481
5970
|
host: zod.ZodString;
|
|
@@ -6351,7 +6840,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
6351
6840
|
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
6352
6841
|
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
6353
6842
|
}, zod_v4_core.$strip>;
|
|
6354
|
-
}, zod_v4_core.$strip>>
|
|
6843
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
|
|
6844
|
+
parameters: zod.ZodObject<{
|
|
6845
|
+
baseUrl: zod.ZodString;
|
|
6846
|
+
maxRedirects: zod.ZodOptional<zod.ZodNumber>;
|
|
6847
|
+
}, zod_v4_core.$loose>;
|
|
6848
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
|
|
6849
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
6850
|
+
host: zod.ZodString;
|
|
6851
|
+
port: zod.ZodNumber;
|
|
6852
|
+
connectionType: zod.ZodEnum<{
|
|
6853
|
+
FTP: "FTP";
|
|
6854
|
+
FTPS: "FTPS";
|
|
6855
|
+
SFTP: "SFTP";
|
|
6856
|
+
}>;
|
|
6857
|
+
username: zod.ZodString;
|
|
6858
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
6859
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
6860
|
+
enabled: zod.ZodBoolean;
|
|
6861
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
6862
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
6863
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
6864
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
6865
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
6866
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
6867
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
6868
|
+
}, zod_v4_core.$strip>>;
|
|
6869
|
+
}, zod_v4_core.$strip>>;
|
|
6870
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
6871
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
6872
|
+
'#password': zod.ZodString;
|
|
6873
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
6874
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
6875
|
+
host: zod.ZodString;
|
|
6876
|
+
port: zod.ZodNumber;
|
|
6877
|
+
connectionType: zod.ZodEnum<{
|
|
6878
|
+
FTP: "FTP";
|
|
6879
|
+
FTPS: "FTPS";
|
|
6880
|
+
SFTP: "SFTP";
|
|
6881
|
+
}>;
|
|
6882
|
+
username: zod.ZodString;
|
|
6883
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
6884
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
6885
|
+
enabled: zod.ZodBoolean;
|
|
6886
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
6887
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
6888
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
6889
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
6890
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
6891
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
6892
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
6893
|
+
}, zod_v4_core.$strip>>;
|
|
6894
|
+
}, zod_v4_core.$strip>>;
|
|
6895
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
6896
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
6897
|
+
'#privateKey': zod.ZodString;
|
|
6898
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
6899
|
+
}, zod_v4_core.$loose>]>;
|
|
6900
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
|
|
6901
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
6902
|
+
host: zod.ZodString;
|
|
6903
|
+
port: zod.ZodNumber;
|
|
6904
|
+
connectionType: zod.ZodEnum<{
|
|
6905
|
+
FTP: "FTP";
|
|
6906
|
+
FTPS: "FTPS";
|
|
6907
|
+
SFTP: "SFTP";
|
|
6908
|
+
}>;
|
|
6909
|
+
username: zod.ZodString;
|
|
6910
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
6911
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
6912
|
+
enabled: zod.ZodBoolean;
|
|
6913
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
6914
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
6915
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
6916
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
6917
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
6918
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
6919
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
6920
|
+
}, zod_v4_core.$strip>>;
|
|
6921
|
+
}, zod_v4_core.$strip>>;
|
|
6922
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
6923
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
6924
|
+
'#password': zod.ZodString;
|
|
6925
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
6926
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
6927
|
+
host: zod.ZodString;
|
|
6928
|
+
port: zod.ZodNumber;
|
|
6929
|
+
connectionType: zod.ZodEnum<{
|
|
6930
|
+
FTP: "FTP";
|
|
6931
|
+
FTPS: "FTPS";
|
|
6932
|
+
SFTP: "SFTP";
|
|
6933
|
+
}>;
|
|
6934
|
+
username: zod.ZodString;
|
|
6935
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
6936
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
6937
|
+
enabled: zod.ZodBoolean;
|
|
6938
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
6939
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
6940
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
6941
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
6942
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
6943
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
6944
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
6945
|
+
}, zod_v4_core.$strip>>;
|
|
6946
|
+
}, zod_v4_core.$strip>>;
|
|
6947
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
6948
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
6949
|
+
'#privateKey': zod.ZodString;
|
|
6950
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
6951
|
+
}, zod_v4_core.$loose>]>;
|
|
6952
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
|
|
6953
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
6954
|
+
loginType: zod.ZodLiteral<"credentials">;
|
|
6955
|
+
accessKeyId: zod.ZodString;
|
|
6956
|
+
'#secretAccessKey': zod.ZodString;
|
|
6957
|
+
accountId: zod.ZodOptional<zod.ZodUndefined>;
|
|
6958
|
+
roleName: zod.ZodOptional<zod.ZodUndefined>;
|
|
6959
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
6960
|
+
loginType: zod.ZodLiteral<"role">;
|
|
6961
|
+
accountId: zod.ZodString;
|
|
6962
|
+
roleName: zod.ZodString;
|
|
6963
|
+
accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
|
|
6964
|
+
'#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
6965
|
+
}, zod_v4_core.$loose>]>;
|
|
6966
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
|
|
6967
|
+
parameters: zod.ZodObject<{
|
|
6968
|
+
account_name: zod.ZodString;
|
|
6969
|
+
'#account_key': zod.ZodString;
|
|
6970
|
+
container_name: zod.ZodString;
|
|
6971
|
+
}, zod_v4_core.$loose>;
|
|
6972
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
|
|
6973
|
+
parameters: zod.ZodObject<{
|
|
6974
|
+
account_name: zod.ZodString;
|
|
6975
|
+
'#account_key': zod.ZodString;
|
|
6976
|
+
file_system: zod.ZodString;
|
|
6977
|
+
}, zod_v4_core.$loose>;
|
|
6978
|
+
}, zod_v4_core.$loose>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
|
|
6355
6979
|
}) => Promise<{
|
|
6356
6980
|
data: BaseComponentConfig<zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
|
|
6357
6981
|
parameters: zod.ZodObject<{
|
|
@@ -7229,7 +7853,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
7229
7853
|
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
7230
7854
|
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
7231
7855
|
}, zod_v4_core.$strip>;
|
|
7232
|
-
}, zod_v4_core.$strip>>
|
|
7856
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
|
|
7857
|
+
parameters: zod.ZodObject<{
|
|
7858
|
+
baseUrl: zod.ZodString;
|
|
7859
|
+
maxRedirects: zod.ZodOptional<zod.ZodNumber>;
|
|
7860
|
+
}, zod_v4_core.$loose>;
|
|
7861
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
|
|
7862
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7863
|
+
host: zod.ZodString;
|
|
7864
|
+
port: zod.ZodNumber;
|
|
7865
|
+
connectionType: zod.ZodEnum<{
|
|
7866
|
+
FTP: "FTP";
|
|
7867
|
+
FTPS: "FTPS";
|
|
7868
|
+
SFTP: "SFTP";
|
|
7869
|
+
}>;
|
|
7870
|
+
username: zod.ZodString;
|
|
7871
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
7872
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
7873
|
+
enabled: zod.ZodBoolean;
|
|
7874
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
7875
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
7876
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
7877
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
7878
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
7879
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
7880
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
7881
|
+
}, zod_v4_core.$strip>>;
|
|
7882
|
+
}, zod_v4_core.$strip>>;
|
|
7883
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
7884
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
7885
|
+
'#password': zod.ZodString;
|
|
7886
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
7887
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
7888
|
+
host: zod.ZodString;
|
|
7889
|
+
port: zod.ZodNumber;
|
|
7890
|
+
connectionType: zod.ZodEnum<{
|
|
7891
|
+
FTP: "FTP";
|
|
7892
|
+
FTPS: "FTPS";
|
|
7893
|
+
SFTP: "SFTP";
|
|
7894
|
+
}>;
|
|
7895
|
+
username: zod.ZodString;
|
|
7896
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
7897
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
7898
|
+
enabled: zod.ZodBoolean;
|
|
7899
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
7900
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
7901
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
7902
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
7903
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
7904
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
7905
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
7906
|
+
}, zod_v4_core.$strip>>;
|
|
7907
|
+
}, zod_v4_core.$strip>>;
|
|
7908
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
7909
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
7910
|
+
'#privateKey': zod.ZodString;
|
|
7911
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
7912
|
+
}, zod_v4_core.$loose>]>;
|
|
7913
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
|
|
7914
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7915
|
+
host: zod.ZodString;
|
|
7916
|
+
port: zod.ZodNumber;
|
|
7917
|
+
connectionType: zod.ZodEnum<{
|
|
7918
|
+
FTP: "FTP";
|
|
7919
|
+
FTPS: "FTPS";
|
|
7920
|
+
SFTP: "SFTP";
|
|
7921
|
+
}>;
|
|
7922
|
+
username: zod.ZodString;
|
|
7923
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
7924
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
7925
|
+
enabled: zod.ZodBoolean;
|
|
7926
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
7927
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
7928
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
7929
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
7930
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
7931
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
7932
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
7933
|
+
}, zod_v4_core.$strip>>;
|
|
7934
|
+
}, zod_v4_core.$strip>>;
|
|
7935
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
7936
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
7937
|
+
'#password': zod.ZodString;
|
|
7938
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
7939
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
7940
|
+
host: zod.ZodString;
|
|
7941
|
+
port: zod.ZodNumber;
|
|
7942
|
+
connectionType: zod.ZodEnum<{
|
|
7943
|
+
FTP: "FTP";
|
|
7944
|
+
FTPS: "FTPS";
|
|
7945
|
+
SFTP: "SFTP";
|
|
7946
|
+
}>;
|
|
7947
|
+
username: zod.ZodString;
|
|
7948
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
7949
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
7950
|
+
enabled: zod.ZodBoolean;
|
|
7951
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
7952
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
7953
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
7954
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
7955
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
7956
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
7957
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
7958
|
+
}, zod_v4_core.$strip>>;
|
|
7959
|
+
}, zod_v4_core.$strip>>;
|
|
7960
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
7961
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
7962
|
+
'#privateKey': zod.ZodString;
|
|
7963
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
7964
|
+
}, zod_v4_core.$loose>]>;
|
|
7965
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
|
|
7966
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
7967
|
+
loginType: zod.ZodLiteral<"credentials">;
|
|
7968
|
+
accessKeyId: zod.ZodString;
|
|
7969
|
+
'#secretAccessKey': zod.ZodString;
|
|
7970
|
+
accountId: zod.ZodOptional<zod.ZodUndefined>;
|
|
7971
|
+
roleName: zod.ZodOptional<zod.ZodUndefined>;
|
|
7972
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
7973
|
+
loginType: zod.ZodLiteral<"role">;
|
|
7974
|
+
accountId: zod.ZodString;
|
|
7975
|
+
roleName: zod.ZodString;
|
|
7976
|
+
accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
|
|
7977
|
+
'#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
7978
|
+
}, zod_v4_core.$loose>]>;
|
|
7979
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
|
|
7980
|
+
parameters: zod.ZodObject<{
|
|
7981
|
+
account_name: zod.ZodString;
|
|
7982
|
+
'#account_key': zod.ZodString;
|
|
7983
|
+
container_name: zod.ZodString;
|
|
7984
|
+
}, zod_v4_core.$loose>;
|
|
7985
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
|
|
7986
|
+
parameters: zod.ZodObject<{
|
|
7987
|
+
account_name: zod.ZodString;
|
|
7988
|
+
'#account_key': zod.ZodString;
|
|
7989
|
+
file_system: zod.ZodString;
|
|
7990
|
+
}, zod_v4_core.$loose>;
|
|
7991
|
+
}, zod_v4_core.$loose>>)[ComponentId]>>;
|
|
7233
7992
|
runnable: boolean;
|
|
7234
7993
|
error: zod.ZodError<unknown> | undefined;
|
|
7235
7994
|
}>;
|
|
@@ -8111,7 +8870,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
8111
8870
|
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
8112
8871
|
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
8113
8872
|
}, zod_v4_core.$strip>;
|
|
8114
|
-
}, zod_v4_core.$strip>>
|
|
8873
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
|
|
8874
|
+
parameters: zod.ZodObject<{
|
|
8875
|
+
baseUrl: zod.ZodString;
|
|
8876
|
+
maxRedirects: zod.ZodOptional<zod.ZodNumber>;
|
|
8877
|
+
}, zod_v4_core.$loose>;
|
|
8878
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
|
|
8879
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8880
|
+
host: zod.ZodString;
|
|
8881
|
+
port: zod.ZodNumber;
|
|
8882
|
+
connectionType: zod.ZodEnum<{
|
|
8883
|
+
FTP: "FTP";
|
|
8884
|
+
FTPS: "FTPS";
|
|
8885
|
+
SFTP: "SFTP";
|
|
8886
|
+
}>;
|
|
8887
|
+
username: zod.ZodString;
|
|
8888
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
8889
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
8890
|
+
enabled: zod.ZodBoolean;
|
|
8891
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
8892
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
8893
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
8894
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
8895
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
8896
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
8897
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
8898
|
+
}, zod_v4_core.$strip>>;
|
|
8899
|
+
}, zod_v4_core.$strip>>;
|
|
8900
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
8901
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
8902
|
+
'#password': zod.ZodString;
|
|
8903
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
8904
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
8905
|
+
host: zod.ZodString;
|
|
8906
|
+
port: zod.ZodNumber;
|
|
8907
|
+
connectionType: zod.ZodEnum<{
|
|
8908
|
+
FTP: "FTP";
|
|
8909
|
+
FTPS: "FTPS";
|
|
8910
|
+
SFTP: "SFTP";
|
|
8911
|
+
}>;
|
|
8912
|
+
username: zod.ZodString;
|
|
8913
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
8914
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
8915
|
+
enabled: zod.ZodBoolean;
|
|
8916
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
8917
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
8918
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
8919
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
8920
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
8921
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
8922
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
8923
|
+
}, zod_v4_core.$strip>>;
|
|
8924
|
+
}, zod_v4_core.$strip>>;
|
|
8925
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
8926
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
8927
|
+
'#privateKey': zod.ZodString;
|
|
8928
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
8929
|
+
}, zod_v4_core.$loose>]>;
|
|
8930
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
|
|
8931
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8932
|
+
host: zod.ZodString;
|
|
8933
|
+
port: zod.ZodNumber;
|
|
8934
|
+
connectionType: zod.ZodEnum<{
|
|
8935
|
+
FTP: "FTP";
|
|
8936
|
+
FTPS: "FTPS";
|
|
8937
|
+
SFTP: "SFTP";
|
|
8938
|
+
}>;
|
|
8939
|
+
username: zod.ZodString;
|
|
8940
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
8941
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
8942
|
+
enabled: zod.ZodBoolean;
|
|
8943
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
8944
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
8945
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
8946
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
8947
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
8948
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
8949
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
8950
|
+
}, zod_v4_core.$strip>>;
|
|
8951
|
+
}, zod_v4_core.$strip>>;
|
|
8952
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
8953
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
8954
|
+
'#password': zod.ZodString;
|
|
8955
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
8956
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
8957
|
+
host: zod.ZodString;
|
|
8958
|
+
port: zod.ZodNumber;
|
|
8959
|
+
connectionType: zod.ZodEnum<{
|
|
8960
|
+
FTP: "FTP";
|
|
8961
|
+
FTPS: "FTPS";
|
|
8962
|
+
SFTP: "SFTP";
|
|
8963
|
+
}>;
|
|
8964
|
+
username: zod.ZodString;
|
|
8965
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
8966
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
8967
|
+
enabled: zod.ZodBoolean;
|
|
8968
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
8969
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
8970
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
8971
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
8972
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
8973
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
8974
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
8975
|
+
}, zod_v4_core.$strip>>;
|
|
8976
|
+
}, zod_v4_core.$strip>>;
|
|
8977
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
8978
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
8979
|
+
'#privateKey': zod.ZodString;
|
|
8980
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
8981
|
+
}, zod_v4_core.$loose>]>;
|
|
8982
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
|
|
8983
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8984
|
+
loginType: zod.ZodLiteral<"credentials">;
|
|
8985
|
+
accessKeyId: zod.ZodString;
|
|
8986
|
+
'#secretAccessKey': zod.ZodString;
|
|
8987
|
+
accountId: zod.ZodOptional<zod.ZodUndefined>;
|
|
8988
|
+
roleName: zod.ZodOptional<zod.ZodUndefined>;
|
|
8989
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
8990
|
+
loginType: zod.ZodLiteral<"role">;
|
|
8991
|
+
accountId: zod.ZodString;
|
|
8992
|
+
roleName: zod.ZodString;
|
|
8993
|
+
accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
|
|
8994
|
+
'#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
8995
|
+
}, zod_v4_core.$loose>]>;
|
|
8996
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
|
|
8997
|
+
parameters: zod.ZodObject<{
|
|
8998
|
+
account_name: zod.ZodString;
|
|
8999
|
+
'#account_key': zod.ZodString;
|
|
9000
|
+
container_name: zod.ZodString;
|
|
9001
|
+
}, zod_v4_core.$loose>;
|
|
9002
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
|
|
9003
|
+
parameters: zod.ZodObject<{
|
|
9004
|
+
account_name: zod.ZodString;
|
|
9005
|
+
'#account_key': zod.ZodString;
|
|
9006
|
+
file_system: zod.ZodString;
|
|
9007
|
+
}, zod_v4_core.$loose>;
|
|
9008
|
+
}, zod_v4_core.$loose>>)[ComponentId]> extends infer T ? T extends zod.input<(Record<never, never> & Record<"keboola.wr-db-mysql", zod.ZodObject<{
|
|
8115
9009
|
parameters: zod.ZodObject<{
|
|
8116
9010
|
db: zod.ZodObject<{
|
|
8117
9011
|
host: zod.ZodString;
|
|
@@ -8987,7 +9881,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
8987
9881
|
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
8988
9882
|
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
8989
9883
|
}, zod_v4_core.$strip>;
|
|
8990
|
-
}, zod_v4_core.$strip>>
|
|
9884
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
|
|
9885
|
+
parameters: zod.ZodObject<{
|
|
9886
|
+
baseUrl: zod.ZodString;
|
|
9887
|
+
maxRedirects: zod.ZodOptional<zod.ZodNumber>;
|
|
9888
|
+
}, zod_v4_core.$loose>;
|
|
9889
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
|
|
9890
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
9891
|
+
host: zod.ZodString;
|
|
9892
|
+
port: zod.ZodNumber;
|
|
9893
|
+
connectionType: zod.ZodEnum<{
|
|
9894
|
+
FTP: "FTP";
|
|
9895
|
+
FTPS: "FTPS";
|
|
9896
|
+
SFTP: "SFTP";
|
|
9897
|
+
}>;
|
|
9898
|
+
username: zod.ZodString;
|
|
9899
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
9900
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
9901
|
+
enabled: zod.ZodBoolean;
|
|
9902
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
9903
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
9904
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
9905
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
9906
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
9907
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
9908
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
9909
|
+
}, zod_v4_core.$strip>>;
|
|
9910
|
+
}, zod_v4_core.$strip>>;
|
|
9911
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
9912
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
9913
|
+
'#password': zod.ZodString;
|
|
9914
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
9915
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
9916
|
+
host: zod.ZodString;
|
|
9917
|
+
port: zod.ZodNumber;
|
|
9918
|
+
connectionType: zod.ZodEnum<{
|
|
9919
|
+
FTP: "FTP";
|
|
9920
|
+
FTPS: "FTPS";
|
|
9921
|
+
SFTP: "SFTP";
|
|
9922
|
+
}>;
|
|
9923
|
+
username: zod.ZodString;
|
|
9924
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
9925
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
9926
|
+
enabled: zod.ZodBoolean;
|
|
9927
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
9928
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
9929
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
9930
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
9931
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
9932
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
9933
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
9934
|
+
}, zod_v4_core.$strip>>;
|
|
9935
|
+
}, zod_v4_core.$strip>>;
|
|
9936
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
9937
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
9938
|
+
'#privateKey': zod.ZodString;
|
|
9939
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
9940
|
+
}, zod_v4_core.$loose>]>;
|
|
9941
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
|
|
9942
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
9943
|
+
host: zod.ZodString;
|
|
9944
|
+
port: zod.ZodNumber;
|
|
9945
|
+
connectionType: zod.ZodEnum<{
|
|
9946
|
+
FTP: "FTP";
|
|
9947
|
+
FTPS: "FTPS";
|
|
9948
|
+
SFTP: "SFTP";
|
|
9949
|
+
}>;
|
|
9950
|
+
username: zod.ZodString;
|
|
9951
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
9952
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
9953
|
+
enabled: zod.ZodBoolean;
|
|
9954
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
9955
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
9956
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
9957
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
9958
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
9959
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
9960
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
9961
|
+
}, zod_v4_core.$strip>>;
|
|
9962
|
+
}, zod_v4_core.$strip>>;
|
|
9963
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
9964
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
9965
|
+
'#password': zod.ZodString;
|
|
9966
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
9967
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
9968
|
+
host: zod.ZodString;
|
|
9969
|
+
port: zod.ZodNumber;
|
|
9970
|
+
connectionType: zod.ZodEnum<{
|
|
9971
|
+
FTP: "FTP";
|
|
9972
|
+
FTPS: "FTPS";
|
|
9973
|
+
SFTP: "SFTP";
|
|
9974
|
+
}>;
|
|
9975
|
+
username: zod.ZodString;
|
|
9976
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
9977
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
9978
|
+
enabled: zod.ZodBoolean;
|
|
9979
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
9980
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
9981
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
9982
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
9983
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
9984
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
9985
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
9986
|
+
}, zod_v4_core.$strip>>;
|
|
9987
|
+
}, zod_v4_core.$strip>>;
|
|
9988
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
9989
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
9990
|
+
'#privateKey': zod.ZodString;
|
|
9991
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
9992
|
+
}, zod_v4_core.$loose>]>;
|
|
9993
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
|
|
9994
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
9995
|
+
loginType: zod.ZodLiteral<"credentials">;
|
|
9996
|
+
accessKeyId: zod.ZodString;
|
|
9997
|
+
'#secretAccessKey': zod.ZodString;
|
|
9998
|
+
accountId: zod.ZodOptional<zod.ZodUndefined>;
|
|
9999
|
+
roleName: zod.ZodOptional<zod.ZodUndefined>;
|
|
10000
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
10001
|
+
loginType: zod.ZodLiteral<"role">;
|
|
10002
|
+
accountId: zod.ZodString;
|
|
10003
|
+
roleName: zod.ZodString;
|
|
10004
|
+
accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
|
|
10005
|
+
'#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
10006
|
+
}, zod_v4_core.$loose>]>;
|
|
10007
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
|
|
10008
|
+
parameters: zod.ZodObject<{
|
|
10009
|
+
account_name: zod.ZodString;
|
|
10010
|
+
'#account_key': zod.ZodString;
|
|
10011
|
+
container_name: zod.ZodString;
|
|
10012
|
+
}, zod_v4_core.$loose>;
|
|
10013
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
|
|
10014
|
+
parameters: zod.ZodObject<{
|
|
10015
|
+
account_name: zod.ZodString;
|
|
10016
|
+
'#account_key': zod.ZodString;
|
|
10017
|
+
file_system: zod.ZodString;
|
|
10018
|
+
}, zod_v4_core.$loose>;
|
|
10019
|
+
}, zod_v4_core.$loose>>)[ComponentId]> ? T extends object ? { [K in keyof T]?: (T[K] extends infer T_1 ? T_1 extends T[K] ? T_1 extends object ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? T_2 extends T_1[K_2] ? T_2 extends object ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? T_3 extends T_2[K_3] ? T_3 extends object ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? T_4 extends T_3[K_4] ? T_4 extends object ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? T_5 extends T_4[K_5] ? T_5 extends object ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? T_6 extends T_5[K_6] ? T_6 extends object ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? T_7 extends T_6[K_7] ? T_7 extends object ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? T_8 extends T_7[K_8] ? T_8 extends object ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? T_9 extends T_8[K_9] ? T_9 extends object ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? T_10 extends T_9[K_10] ? T_10 extends object ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : T_10 : never : never) | undefined; } : T_9 : never : never) | undefined; } : T_8 : never : never) | undefined; } : T_7 : never : never) | undefined; } : T_6 : never : never) | undefined; } : T_5 : never : never) | undefined; } : T_4 : never : never) | undefined; } : T_3 : never : never) | undefined; } : T_2 : never : never) | undefined; } : T_1 : never : never) | undefined; } : T : never : never;
|
|
8991
10020
|
} & {
|
|
8992
10021
|
mode?: "replace" | "merge";
|
|
8993
10022
|
}) => Promise<{
|
|
@@ -9867,7 +10896,142 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
9867
10896
|
onlyEnabledCustomers: zod.ZodOptional<zod.ZodBoolean>;
|
|
9868
10897
|
getAccountChildren: zod.ZodOptional<zod.ZodBoolean>;
|
|
9869
10898
|
}, zod_v4_core.$strip>;
|
|
9870
|
-
}, zod_v4_core.$strip>>
|
|
10899
|
+
}, zod_v4_core.$strip>> & Record<"keboola.ex-http", zod.ZodObject<{
|
|
10900
|
+
parameters: zod.ZodObject<{
|
|
10901
|
+
baseUrl: zod.ZodString;
|
|
10902
|
+
maxRedirects: zod.ZodOptional<zod.ZodNumber>;
|
|
10903
|
+
}, zod_v4_core.$loose>;
|
|
10904
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp", zod.ZodObject<{
|
|
10905
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10906
|
+
host: zod.ZodString;
|
|
10907
|
+
port: zod.ZodNumber;
|
|
10908
|
+
connectionType: zod.ZodEnum<{
|
|
10909
|
+
FTP: "FTP";
|
|
10910
|
+
FTPS: "FTPS";
|
|
10911
|
+
SFTP: "SFTP";
|
|
10912
|
+
}>;
|
|
10913
|
+
username: zod.ZodString;
|
|
10914
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
10915
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
10916
|
+
enabled: zod.ZodBoolean;
|
|
10917
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
10918
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
10919
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
10920
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
10921
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
10922
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
10923
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
10924
|
+
}, zod_v4_core.$strip>>;
|
|
10925
|
+
}, zod_v4_core.$strip>>;
|
|
10926
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
10927
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
10928
|
+
'#password': zod.ZodString;
|
|
10929
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
10930
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
10931
|
+
host: zod.ZodString;
|
|
10932
|
+
port: zod.ZodNumber;
|
|
10933
|
+
connectionType: zod.ZodEnum<{
|
|
10934
|
+
FTP: "FTP";
|
|
10935
|
+
FTPS: "FTPS";
|
|
10936
|
+
SFTP: "SFTP";
|
|
10937
|
+
}>;
|
|
10938
|
+
username: zod.ZodString;
|
|
10939
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
10940
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
10941
|
+
enabled: zod.ZodBoolean;
|
|
10942
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
10943
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
10944
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
10945
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
10946
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
10947
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
10948
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
10949
|
+
}, zod_v4_core.$strip>>;
|
|
10950
|
+
}, zod_v4_core.$strip>>;
|
|
10951
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
10952
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
10953
|
+
'#privateKey': zod.ZodString;
|
|
10954
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
10955
|
+
}, zod_v4_core.$loose>]>;
|
|
10956
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-ftp-csas", zod.ZodObject<{
|
|
10957
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10958
|
+
host: zod.ZodString;
|
|
10959
|
+
port: zod.ZodNumber;
|
|
10960
|
+
connectionType: zod.ZodEnum<{
|
|
10961
|
+
FTP: "FTP";
|
|
10962
|
+
FTPS: "FTPS";
|
|
10963
|
+
SFTP: "SFTP";
|
|
10964
|
+
}>;
|
|
10965
|
+
username: zod.ZodString;
|
|
10966
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
10967
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
10968
|
+
enabled: zod.ZodBoolean;
|
|
10969
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
10970
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
10971
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
10972
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
10973
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
10974
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
10975
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
10976
|
+
}, zod_v4_core.$strip>>;
|
|
10977
|
+
}, zod_v4_core.$strip>>;
|
|
10978
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
10979
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
10980
|
+
'#password': zod.ZodString;
|
|
10981
|
+
'#privateKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
10982
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
10983
|
+
host: zod.ZodString;
|
|
10984
|
+
port: zod.ZodNumber;
|
|
10985
|
+
connectionType: zod.ZodEnum<{
|
|
10986
|
+
FTP: "FTP";
|
|
10987
|
+
FTPS: "FTPS";
|
|
10988
|
+
SFTP: "SFTP";
|
|
10989
|
+
}>;
|
|
10990
|
+
username: zod.ZodString;
|
|
10991
|
+
ignorePassiveAddress: zod.ZodOptional<zod.ZodBoolean>;
|
|
10992
|
+
ssh: zod.ZodOptional<zod.ZodObject<{
|
|
10993
|
+
enabled: zod.ZodBoolean;
|
|
10994
|
+
sshHost: zod.ZodOptional<zod.ZodString>;
|
|
10995
|
+
user: zod.ZodOptional<zod.ZodString>;
|
|
10996
|
+
sshPort: zod.ZodOptional<zod.ZodNumber>;
|
|
10997
|
+
passivePortRange: zod.ZodOptional<zod.ZodString>;
|
|
10998
|
+
keys: zod.ZodOptional<zod.ZodObject<{
|
|
10999
|
+
public: zod.ZodOptional<zod.ZodString>;
|
|
11000
|
+
'#private': zod.ZodOptional<zod.ZodString>;
|
|
11001
|
+
}, zod_v4_core.$strip>>;
|
|
11002
|
+
}, zod_v4_core.$strip>>;
|
|
11003
|
+
path: zod.ZodOptional<zod.ZodString>;
|
|
11004
|
+
onlyNewFiles: zod.ZodOptional<zod.ZodBoolean>;
|
|
11005
|
+
'#privateKey': zod.ZodString;
|
|
11006
|
+
'#password': zod.ZodOptional<zod.ZodUndefined>;
|
|
11007
|
+
}, zod_v4_core.$loose>]>;
|
|
11008
|
+
}, zod_v4_core.$loose>> & Record<"keboola.ex-aws-s3", zod.ZodObject<{
|
|
11009
|
+
parameters: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
11010
|
+
loginType: zod.ZodLiteral<"credentials">;
|
|
11011
|
+
accessKeyId: zod.ZodString;
|
|
11012
|
+
'#secretAccessKey': zod.ZodString;
|
|
11013
|
+
accountId: zod.ZodOptional<zod.ZodUndefined>;
|
|
11014
|
+
roleName: zod.ZodOptional<zod.ZodUndefined>;
|
|
11015
|
+
}, zod_v4_core.$loose>, zod.ZodObject<{
|
|
11016
|
+
loginType: zod.ZodLiteral<"role">;
|
|
11017
|
+
accountId: zod.ZodString;
|
|
11018
|
+
roleName: zod.ZodString;
|
|
11019
|
+
accessKeyId: zod.ZodOptional<zod.ZodUndefined>;
|
|
11020
|
+
'#secretAccessKey': zod.ZodOptional<zod.ZodUndefined>;
|
|
11021
|
+
}, zod_v4_core.$loose>]>;
|
|
11022
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-blob-storage-v2", zod.ZodObject<{
|
|
11023
|
+
parameters: zod.ZodObject<{
|
|
11024
|
+
account_name: zod.ZodString;
|
|
11025
|
+
'#account_key': zod.ZodString;
|
|
11026
|
+
container_name: zod.ZodString;
|
|
11027
|
+
}, zod_v4_core.$loose>;
|
|
11028
|
+
}, zod_v4_core.$loose>> & Record<"kds-team.ex-azure-data-lake-gen2", zod.ZodObject<{
|
|
11029
|
+
parameters: zod.ZodObject<{
|
|
11030
|
+
account_name: zod.ZodString;
|
|
11031
|
+
'#account_key': zod.ZodString;
|
|
11032
|
+
file_system: zod.ZodString;
|
|
11033
|
+
}, zod_v4_core.$loose>;
|
|
11034
|
+
}, zod_v4_core.$loose>>)[ComponentId]>>;
|
|
9871
11035
|
runnable: boolean;
|
|
9872
11036
|
error: zod.ZodError<unknown> | undefined;
|
|
9873
11037
|
}>;
|
|
@@ -9875,13 +11039,28 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
9875
11039
|
tag: {
|
|
9876
11040
|
getTags: (signal?: AbortSignal) => Promise<TagWithBindings[]>;
|
|
9877
11041
|
getTagsByObjectId: (objectId: KeboolaObjectId, signal?: AbortSignal) => Promise<TagWithBindings[]>;
|
|
9878
|
-
createTag: (data: TagData, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData
|
|
9879
|
-
updateTag: (tagUUID: string, data: TagData, meta?: UpdateMetaObjectMetaDataInput) => Promise<MetaObject<TagData
|
|
11042
|
+
createTag: (data: TagData, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData>>;
|
|
11043
|
+
updateTag: (tagUUID: string, data: TagData, meta?: UpdateMetaObjectMetaDataInput) => Promise<MetaObject<TagData>>;
|
|
9880
11044
|
deleteTag: (tagUUID: string) => Promise<void>;
|
|
9881
11045
|
assignTags: (tagUUIDs: string[], objectId: KeboolaObjectId, meta?: CreateMetaObjectMetaDataInput) => Promise<void>;
|
|
9882
11046
|
unassignTags: (tagUUIDs: string[], objectID: KeboolaObjectId) => Promise<void>;
|
|
9883
11047
|
unassignAllTags: (objectID: KeboolaObjectId, signal?: AbortSignal) => Promise<void>;
|
|
9884
|
-
createAndAssignTag: (data: TagData, objectId: KeboolaObjectId, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData
|
|
11048
|
+
createAndAssignTag: (data: TagData, objectId: KeboolaObjectId, meta?: CreateMetaObjectMetaDataInput) => Promise<MetaObject<TagData>>;
|
|
11049
|
+
};
|
|
11050
|
+
semanticLayer: {
|
|
11051
|
+
listModels: (signal?: AbortSignal) => Promise<SemanticObject<SemanticModelData>[]>;
|
|
11052
|
+
createModel: (data: SemanticModelData, meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
|
|
11053
|
+
updateModel: (modelUUID: string, data: Partial<SemanticModelData>, meta?: UpdateSemanticObjectMeta) => Promise<SemanticObject<SemanticModelData>>;
|
|
11054
|
+
deleteModel: (modelUUID: string) => Promise<void>;
|
|
11055
|
+
listObjects: <T extends SemanticChildObjectType>(objectType: T, modelUUID: string, signal?: AbortSignal) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
11056
|
+
createObject: <T extends SemanticChildObjectType>(objectType: T, data: SemanticChildObjectDataMap[T], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>>;
|
|
11057
|
+
createObjects: <T extends SemanticChildObjectType>(objectType: T, items: SemanticChildObjectDataMap[T][], meta?: CreateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>[]>;
|
|
11058
|
+
createModelTree: (model: SemanticModelData, children: Partial<{ [T in SemanticChildObjectType]: Omit<SemanticChildObjectDataMap[T], "modelUUID">[]; }>, meta?: CreateSemanticObjectMeta) => Promise<{
|
|
11059
|
+
model: SemanticObject<SemanticModelData>;
|
|
11060
|
+
children: SemanticObject<SemanticDatasetData | SemanticMetricData | SemanticRelationshipData | SemanticGlossaryData | SemanticConstraintData>[];
|
|
11061
|
+
}>;
|
|
11062
|
+
updateObject: <T extends SemanticChildObjectType>(objectType: T, objectUUID: string, data: Partial<SemanticChildObjectDataMap[T]>, meta?: UpdateSemanticObjectMeta) => Promise<SemanticObject<SemanticChildObjectDataMap[T]>>;
|
|
11063
|
+
deleteObject: (objectType: SemanticChildObjectType, objectUUID: string) => Promise<void>;
|
|
9885
11064
|
};
|
|
9886
11065
|
storage: {
|
|
9887
11066
|
createTable: (bucketId: string, body: CreateTableAsyncBody, options?: {
|
|
@@ -11636,7 +12815,7 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
11636
12815
|
skills: {
|
|
11637
12816
|
name: string;
|
|
11638
12817
|
description: string | null;
|
|
11639
|
-
source: "
|
|
12818
|
+
source: "project" | "first-party" | "vendored";
|
|
11640
12819
|
}[];
|
|
11641
12820
|
commands: {
|
|
11642
12821
|
name: string;
|
|
@@ -11663,9 +12842,9 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
11663
12842
|
chatStreamUrl: string;
|
|
11664
12843
|
};
|
|
11665
12844
|
oauth: {
|
|
11666
|
-
getCredentials: (query?: GetCredentialsQuery, signal?: AbortSignal) => Promise<Credential[]>;
|
|
11667
|
-
getCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<Credential>;
|
|
11668
|
-
createCredential: (componentId: string, body: CreateCredentialBody, signal?: AbortSignal) => Promise<Credential>;
|
|
12845
|
+
getCredentials: (query?: GetCredentialsQuery, signal?: AbortSignal) => Promise<Credential$1[]>;
|
|
12846
|
+
getCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<Credential$1>;
|
|
12847
|
+
createCredential: (componentId: string, body: CreateCredentialBody, signal?: AbortSignal) => Promise<Credential$1>;
|
|
11669
12848
|
deleteCredential: (componentId: string, id: string, signal?: AbortSignal) => Promise<void>;
|
|
11670
12849
|
};
|
|
11671
12850
|
scheduler: {
|
|
@@ -12118,87 +13297,34 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
12118
13297
|
};
|
|
12119
13298
|
metastore: {
|
|
12120
13299
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
12121
|
-
|
|
12122
|
-
status?: string;
|
|
12123
|
-
timestamp?: string;
|
|
12124
|
-
version?: string;
|
|
13300
|
+
[key: string]: string;
|
|
12125
13301
|
}>;
|
|
12126
13302
|
repository: {
|
|
12127
|
-
getMetaObjects: <TData extends Record<string, unknown
|
|
12128
|
-
getMetaObjectRevisions: <TData extends Record<string, unknown
|
|
12129
|
-
getMetaObject: <TData extends Record<string, unknown
|
|
12130
|
-
createMetaObject: <TData extends Record<string, unknown
|
|
13303
|
+
getMetaObjects: <TData extends Record<string, unknown>>(input: GetMetaObjectsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
|
|
13304
|
+
getMetaObjectRevisions: <TData extends Record<string, unknown>>(input: GetMetaObjectRevisionsPath, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
|
|
13305
|
+
getMetaObject: <TData extends Record<string, unknown>>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData>>;
|
|
13306
|
+
createMetaObject: <TData extends Record<string, unknown>>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
|
|
12131
13307
|
deleteMetaObject: (input: DeleteMetaObjectPath) => Promise<never>;
|
|
12132
|
-
updateMetaObject: <TData extends Record<string, unknown
|
|
12133
|
-
replaceMetaObject: <TData extends Record<string, unknown
|
|
12134
|
-
getMetaObjectRevision: <TData extends Record<string, unknown
|
|
13308
|
+
updateMetaObject: <TData extends Record<string, unknown>>({ objectType, UUID, data, ...body }: UpdateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
|
|
13309
|
+
replaceMetaObject: <TData extends Record<string, unknown>>({ objectType, UUID, data, ...body }: ReplaceMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
|
|
13310
|
+
getMetaObjectRevision: <TData extends Record<string, unknown>>(input: GetMetaObjectRevisionPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData>>;
|
|
12135
13311
|
deleteMetaObjectRevision: (input: DeleteMetaObjectRevisionPath) => Promise<never>;
|
|
12136
13312
|
};
|
|
12137
13313
|
schema: {
|
|
12138
13314
|
getSchema: (input: GetSchemaPath, signal?: AbortSignal) => Promise<{
|
|
12139
|
-
|
|
12140
|
-
createdBy?: components$7["schemas"]["models.JSONData"];
|
|
12141
|
-
description?: string;
|
|
12142
|
-
id?: string;
|
|
12143
|
-
isDefault?: boolean;
|
|
12144
|
-
objectType?: string;
|
|
12145
|
-
schema?: components$7["schemas"]["models.JSONData"];
|
|
12146
|
-
updatedAt?: string;
|
|
12147
|
-
version?: string;
|
|
13315
|
+
versions?: components$7["schemas"]["models.SchemaInfo"][];
|
|
12148
13316
|
}>;
|
|
12149
13317
|
getVersionedSchema: (input: GetVersionedSchemaPath, signal?: AbortSignal) => Promise<{
|
|
12150
|
-
|
|
12151
|
-
createdBy?: components$7["schemas"]["models.JSONData"];
|
|
12152
|
-
description?: string;
|
|
12153
|
-
id?: string;
|
|
12154
|
-
isDefault?: boolean;
|
|
12155
|
-
objectType?: string;
|
|
12156
|
-
schema?: components$7["schemas"]["models.JSONData"];
|
|
12157
|
-
updatedAt?: string;
|
|
12158
|
-
version?: string;
|
|
13318
|
+
[key: string]: unknown;
|
|
12159
13319
|
}>;
|
|
12160
13320
|
};
|
|
12161
13321
|
};
|
|
12162
|
-
context:
|
|
12163
|
-
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
getServiceUrl: (serviceId: ServiceId) => string | null;
|
|
12169
|
-
hasService: (serviceId: ServiceId) => boolean;
|
|
12170
|
-
getComponent: (componentId: string) => StackComponent | null;
|
|
12171
|
-
hasComponent: (...componentId: string[]) => boolean;
|
|
12172
|
-
api: string;
|
|
12173
|
-
documentation: string;
|
|
12174
|
-
host: string;
|
|
12175
|
-
revision: string;
|
|
12176
|
-
stack: string;
|
|
12177
|
-
urlTemplates: {
|
|
12178
|
-
orchestrationJob: string;
|
|
12179
|
-
};
|
|
12180
|
-
version: string;
|
|
12181
|
-
};
|
|
12182
|
-
defaultBranch: {
|
|
12183
|
-
id: number;
|
|
12184
|
-
name: string;
|
|
12185
|
-
getType: (branchId?: string | number) => "default" | "dev";
|
|
12186
|
-
isDev: (branchId?: string | number) => boolean;
|
|
12187
|
-
isDefault: (branchId?: string | number) => boolean;
|
|
12188
|
-
};
|
|
12189
|
-
readonly project: {
|
|
12190
|
-
hasFeature: (...feature: string[]) => boolean;
|
|
12191
|
-
hasAdminFeature: (...feature: string[]) => boolean;
|
|
12192
|
-
hasBackend: (backend: Backend) => boolean;
|
|
12193
|
-
sapiToken: StorageToken;
|
|
12194
|
-
};
|
|
12195
|
-
readonly st: StorageTable;
|
|
12196
|
-
serviceMeta: {
|
|
12197
|
-
clientName: string;
|
|
12198
|
-
serviceId: ServiceId;
|
|
12199
|
-
isAvailable: boolean;
|
|
12200
|
-
}[];
|
|
12201
|
-
};
|
|
13322
|
+
context: ClientContext;
|
|
13323
|
+
serviceMeta: {
|
|
13324
|
+
clientName: string;
|
|
13325
|
+
serviceId: ServiceId;
|
|
13326
|
+
isAvailable: boolean;
|
|
13327
|
+
}[];
|
|
12202
13328
|
storage: {
|
|
12203
13329
|
buckets: {
|
|
12204
13330
|
getBuckets: (branchId: string, query?: GetBucketsQuery, signal?: AbortSignal) => Promise<Bucket[]>;
|
|
@@ -13440,7 +14566,7 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
13440
14566
|
startTime?: string | null;
|
|
13441
14567
|
endTime?: string | null;
|
|
13442
14568
|
runId: string;
|
|
13443
|
-
results?: components$8["schemas"]["BucketListingUpdateJobResponse"] | components$8["schemas"]["BucketListingCreateJobResult"] | components$8["schemas"]["BucketListingDeleteResponse"] | components$8["schemas"]["RefreshJobResponse"] | components$8["schemas"]["FileDeleteResponse"] | components$8["schemas"]["TableSnapshotCreateJobResult"] | components$8["schemas"]["TableSwapResult"] | components$8["schemas"]["TableCreateResponse"] | components$8["schemas"]["TableExportJobResponse"];
|
|
14569
|
+
results?: components$8["schemas"]["BucketListingUpdateJobResponse"] | components$8["schemas"]["BucketListingCreateJobResult"] | components$8["schemas"]["BucketListingDeleteResponse"] | components$8["schemas"]["BucketDeleteResponse"] | components$8["schemas"]["RefreshJobResponse"] | components$8["schemas"]["FileDeleteResponse"] | components$8["schemas"]["TableSnapshotCreateJobResult"] | components$8["schemas"]["TableExportAsyncJobResponse"] | components$8["schemas"]["PrimaryKeyDeleteJobResult"] | components$8["schemas"]["TableSwapResult"] | components$8["schemas"]["TableCreateResponse"] | components$8["schemas"]["TableExportJobResponse"];
|
|
13444
14570
|
creatorToken: {
|
|
13445
14571
|
id?: string;
|
|
13446
14572
|
description?: string;
|
|
@@ -13489,6 +14615,8 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
13489
14615
|
configIds: string[];
|
|
13490
14616
|
}) => Promise<void>;
|
|
13491
14617
|
getConfigurations: <T extends ConfigType = "unknown">({ componentId, branchId }: GetConfigurationsPath, signal?: AbortSignal) => Promise<ComponentConfig<T>[]>;
|
|
14618
|
+
restoreConfiguration: ({ branchId, componentId, configId, }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
14619
|
+
resetConfigurationToDefault: ({ branchId, componentId, configId, }: ConfigurationPath) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
13492
14620
|
createConfigurationRow: ({ branchId, componentId, configId, ...body }: PartialKey<CreateConfigurationRowInput, "branchId">) => Promise<Row>;
|
|
13493
14621
|
createConfigurationRows: ({ branchId, componentId, configId, data, }: PartialKey<CreateConfigurationRowsInput, "branchId">, options?: {
|
|
13494
14622
|
middlewares: MiddlewareFn$1<CreateConfigurationRowBody, Row>[];
|
|
@@ -13551,9 +14679,14 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
13551
14679
|
})>;
|
|
13552
14680
|
getConfigurationWorkspaces: ({ componentId, branchId, configId, }: ConfigurationPath) => Promise<Workspace[]>;
|
|
13553
14681
|
};
|
|
14682
|
+
configurationMetadata: {
|
|
14683
|
+
saveConfigurationMetadata: ({ branchId, componentId, configId, ...body }: SaveConfigurationMetadataInput) => Promise<ConfigurationMetadataItem[]>;
|
|
14684
|
+
};
|
|
13554
14685
|
configurationVersions: {
|
|
13555
|
-
|
|
14686
|
+
getConfigurationVersions: ({ branchId, componentId, configId }: ConfigurationVersionPath, signal?: AbortSignal) => Promise<ConfigurationVersion[]>;
|
|
13556
14687
|
getConfigurationVersion: ({ branchId, componentId, configId, versionId }: ConfigurationVersionDetailPath, signal?: AbortSignal) => Promise<ConfigurationVersionDetail>;
|
|
14688
|
+
rollbackConfigurationToVersion: ({ branchId, componentId, configId, versionId, }: RollbackConfigurationToVersionInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
14689
|
+
copyConfigurationFromVersion: ({ branchId, componentId, configId, versionId, ...body }: CopyConfigurationFromVersionInput) => Promise<BaseComponentConfig<Record<string, unknown>>>;
|
|
13557
14690
|
};
|
|
13558
14691
|
tokens: {
|
|
13559
14692
|
verify: (signal?: AbortSignal) => Promise<StorageToken>;
|
|
@@ -13680,770 +14813,18 @@ declare const createClients: ({ baseUrl, token, clientServiceUrls, middlewares,
|
|
|
13680
14813
|
};
|
|
13681
14814
|
getStackInfo: (query?: GetStackInfoQuery, signal?: AbortSignal) => Promise<StackInfo>;
|
|
13682
14815
|
};
|
|
13683
|
-
management: {
|
|
13684
|
-
currentUser: {
|
|
13685
|
-
getMaintainerInvitations: (signal?: AbortSignal) => Promise<{
|
|
13686
|
-
id: number;
|
|
13687
|
-
created: string;
|
|
13688
|
-
maintainer: {
|
|
13689
|
-
id?: number;
|
|
13690
|
-
name?: string;
|
|
13691
|
-
};
|
|
13692
|
-
creator: {
|
|
13693
|
-
id?: number;
|
|
13694
|
-
name?: string;
|
|
13695
|
-
email?: string;
|
|
13696
|
-
};
|
|
13697
|
-
}[]>;
|
|
13698
|
-
getMaintainerInvitation: (id: number, signal?: AbortSignal) => Promise<{
|
|
13699
|
-
id: number;
|
|
13700
|
-
created: string;
|
|
13701
|
-
maintainer: {
|
|
13702
|
-
id?: number;
|
|
13703
|
-
name?: string;
|
|
13704
|
-
};
|
|
13705
|
-
creator: {
|
|
13706
|
-
id?: number;
|
|
13707
|
-
name?: string;
|
|
13708
|
-
email?: string;
|
|
13709
|
-
};
|
|
13710
|
-
}>;
|
|
13711
|
-
acceptMaintainerInvitation: (id: number) => Promise<void>;
|
|
13712
|
-
rejectMaintainerInvitation: (id: number) => Promise<void>;
|
|
13713
|
-
getOrganizationInvitations: (signal?: AbortSignal) => Promise<{
|
|
13714
|
-
id: number;
|
|
13715
|
-
created: string;
|
|
13716
|
-
organization: {
|
|
13717
|
-
id?: number;
|
|
13718
|
-
name?: string;
|
|
13719
|
-
};
|
|
13720
|
-
creator: {
|
|
13721
|
-
id?: number;
|
|
13722
|
-
name?: string;
|
|
13723
|
-
email?: string;
|
|
13724
|
-
};
|
|
13725
|
-
}[]>;
|
|
13726
|
-
getOrganizationInvitation: (id: number, signal?: AbortSignal) => Promise<{
|
|
13727
|
-
id: number;
|
|
13728
|
-
created: string;
|
|
13729
|
-
organization: {
|
|
13730
|
-
id?: number;
|
|
13731
|
-
name?: string;
|
|
13732
|
-
};
|
|
13733
|
-
creator: {
|
|
13734
|
-
id?: number;
|
|
13735
|
-
name?: string;
|
|
13736
|
-
email?: string;
|
|
13737
|
-
};
|
|
13738
|
-
}>;
|
|
13739
|
-
acceptOrganizationInvitation: (id: number) => Promise<void>;
|
|
13740
|
-
rejectOrganizationInvitation: (id: number) => Promise<void>;
|
|
13741
|
-
getProjectInvitations: (signal?: AbortSignal) => Promise<{
|
|
13742
|
-
id: number;
|
|
13743
|
-
created: string;
|
|
13744
|
-
expires?: string | null;
|
|
13745
|
-
reason?: string | null;
|
|
13746
|
-
role?: string | null;
|
|
13747
|
-
project: {
|
|
13748
|
-
id?: number;
|
|
13749
|
-
name?: string;
|
|
13750
|
-
};
|
|
13751
|
-
creator: {
|
|
13752
|
-
id?: number;
|
|
13753
|
-
name?: string;
|
|
13754
|
-
email?: string;
|
|
13755
|
-
};
|
|
13756
|
-
}[]>;
|
|
13757
|
-
getProjectInvitation: (id: number, signal?: AbortSignal) => Promise<{
|
|
13758
|
-
id: number;
|
|
13759
|
-
created: string;
|
|
13760
|
-
expires?: string | null;
|
|
13761
|
-
reason?: string | null;
|
|
13762
|
-
role?: string | null;
|
|
13763
|
-
project: {
|
|
13764
|
-
id?: number;
|
|
13765
|
-
name?: string;
|
|
13766
|
-
};
|
|
13767
|
-
creator: {
|
|
13768
|
-
id?: number;
|
|
13769
|
-
name?: string;
|
|
13770
|
-
email?: string;
|
|
13771
|
-
};
|
|
13772
|
-
}>;
|
|
13773
|
-
acceptProjectInvitation: (id: number) => Promise<void>;
|
|
13774
|
-
rejectProjectInvitation: (id: number) => Promise<void>;
|
|
13775
|
-
getProjectJoinRequests: (signal?: AbortSignal) => Promise<{
|
|
13776
|
-
id: number;
|
|
13777
|
-
created: string;
|
|
13778
|
-
expires?: string | null;
|
|
13779
|
-
reason?: string | null;
|
|
13780
|
-
project: {
|
|
13781
|
-
id?: number;
|
|
13782
|
-
name?: string;
|
|
13783
|
-
};
|
|
13784
|
-
}[]>;
|
|
13785
|
-
deleteProjectJoinRequest: (id: number) => Promise<void>;
|
|
13786
|
-
};
|
|
13787
|
-
deletedProjects: {
|
|
13788
|
-
getDeletedProjects: (query?: DeletedProjectsListQuery, signal?: AbortSignal) => Promise<DeletedProject[]>;
|
|
13789
|
-
getDeletedProject: (projectId: number, signal?: AbortSignal) => Promise<DeletedProject>;
|
|
13790
|
-
restoreDeletedProject: (projectId: number) => Promise<void>;
|
|
13791
|
-
purgeDeletedProject: (projectId: number, ignoreBackendErrors?: boolean) => Promise<DeletedProjectPurgeResult>;
|
|
13792
|
-
};
|
|
13793
|
-
maintainers: {
|
|
13794
|
-
getMaintainers: (signal?: AbortSignal) => Promise<Maintainer[]>;
|
|
13795
|
-
getMaintainer: (maintainerId: number, signal?: AbortSignal) => Promise<MaintainerDetail>;
|
|
13796
|
-
createMaintainer: (body: CreateMaintainerBody) => Promise<{
|
|
13797
|
-
id: number;
|
|
13798
|
-
name: string;
|
|
13799
|
-
created: string;
|
|
13800
|
-
defaultConnectionMysqlId?: number | null;
|
|
13801
|
-
defaultConnectionSnowflakeId?: number | null;
|
|
13802
|
-
defaultConnectionSynapseId?: number | null;
|
|
13803
|
-
defaultConnectionExasolId?: number | null;
|
|
13804
|
-
defaultConnectionBigqueryId?: number | null;
|
|
13805
|
-
defaultConnectionTeradataId?: number | null;
|
|
13806
|
-
defaultFileStorageId?: number | null;
|
|
13807
|
-
zendeskUrl?: string | null;
|
|
13808
|
-
organizations: {
|
|
13809
|
-
id?: number;
|
|
13810
|
-
name?: string;
|
|
13811
|
-
}[];
|
|
13812
|
-
}>;
|
|
13813
|
-
updateMaintainer: ({ maintainerId, ...body }: {
|
|
13814
|
-
maintainerId: number;
|
|
13815
|
-
} & UpdateMaintainerBody) => Promise<{
|
|
13816
|
-
id: number;
|
|
13817
|
-
name: string;
|
|
13818
|
-
created: string;
|
|
13819
|
-
defaultConnectionMysqlId?: number | null;
|
|
13820
|
-
defaultConnectionSnowflakeId?: number | null;
|
|
13821
|
-
defaultConnectionSynapseId?: number | null;
|
|
13822
|
-
defaultConnectionExasolId?: number | null;
|
|
13823
|
-
defaultConnectionBigqueryId?: number | null;
|
|
13824
|
-
defaultConnectionTeradataId?: number | null;
|
|
13825
|
-
defaultFileStorageId?: number | null;
|
|
13826
|
-
zendeskUrl?: string | null;
|
|
13827
|
-
organizations: {
|
|
13828
|
-
id?: number;
|
|
13829
|
-
name?: string;
|
|
13830
|
-
}[];
|
|
13831
|
-
}>;
|
|
13832
|
-
deleteMaintainer: (maintainerId: number) => Promise<void>;
|
|
13833
|
-
getMaintainerUsers: (maintainerId: number, signal?: AbortSignal) => Promise<MaintainerUser[]>;
|
|
13834
|
-
addMaintainerUser: ({ maintainerId, ...body }: {
|
|
13835
|
-
maintainerId: number;
|
|
13836
|
-
} & AddMaintainerUserBody) => Promise<{
|
|
13837
|
-
id: number;
|
|
13838
|
-
name: string;
|
|
13839
|
-
email: string;
|
|
13840
|
-
mfaEnabled: boolean;
|
|
13841
|
-
features: string[];
|
|
13842
|
-
canAccessLogs: boolean;
|
|
13843
|
-
isSuperAdmin: boolean;
|
|
13844
|
-
}>;
|
|
13845
|
-
removeMaintainerUser: ({ maintainerId, adminId, }: {
|
|
13846
|
-
maintainerId: number;
|
|
13847
|
-
adminId: number;
|
|
13848
|
-
}) => Promise<void>;
|
|
13849
|
-
getMaintainerInvitations: (maintainerId: number, signal?: AbortSignal) => Promise<{
|
|
13850
|
-
id: number;
|
|
13851
|
-
created?: string | null;
|
|
13852
|
-
user: {
|
|
13853
|
-
id?: number;
|
|
13854
|
-
name?: string;
|
|
13855
|
-
email?: string;
|
|
13856
|
-
};
|
|
13857
|
-
creator: {
|
|
13858
|
-
id?: number;
|
|
13859
|
-
name?: string;
|
|
13860
|
-
email?: string;
|
|
13861
|
-
};
|
|
13862
|
-
}[]>;
|
|
13863
|
-
getMaintainerInvitation: ({ maintainerId, invitationId }: {
|
|
13864
|
-
maintainerId: number;
|
|
13865
|
-
invitationId: number;
|
|
13866
|
-
}, signal?: AbortSignal) => Promise<{
|
|
13867
|
-
id: number;
|
|
13868
|
-
created?: string | null;
|
|
13869
|
-
user: {
|
|
13870
|
-
id?: number;
|
|
13871
|
-
name?: string;
|
|
13872
|
-
email?: string;
|
|
13873
|
-
};
|
|
13874
|
-
creator: {
|
|
13875
|
-
id?: number;
|
|
13876
|
-
name?: string;
|
|
13877
|
-
email?: string;
|
|
13878
|
-
};
|
|
13879
|
-
}>;
|
|
13880
|
-
createMaintainerInvitation: ({ maintainerId, ...body }: {
|
|
13881
|
-
maintainerId: number;
|
|
13882
|
-
} & CreateMaintainerInvitationBody) => Promise<{
|
|
13883
|
-
id: number;
|
|
13884
|
-
created?: string | null;
|
|
13885
|
-
user: {
|
|
13886
|
-
id?: number;
|
|
13887
|
-
name?: string;
|
|
13888
|
-
email?: string;
|
|
13889
|
-
};
|
|
13890
|
-
creator: {
|
|
13891
|
-
id?: number;
|
|
13892
|
-
name?: string;
|
|
13893
|
-
email?: string;
|
|
13894
|
-
};
|
|
13895
|
-
}>;
|
|
13896
|
-
deleteMaintainerInvitation: ({ maintainerId, invitationId, }: {
|
|
13897
|
-
maintainerId: number;
|
|
13898
|
-
invitationId: number;
|
|
13899
|
-
}) => Promise<void>;
|
|
13900
|
-
createMaintainerOrganization: ({ maintainerId, ...body }: {
|
|
13901
|
-
maintainerId: number;
|
|
13902
|
-
} & CreateMaintainerOrganizationBody) => Promise<{
|
|
13903
|
-
id: number;
|
|
13904
|
-
name: string;
|
|
13905
|
-
created: string;
|
|
13906
|
-
allowAutoJoin: boolean;
|
|
13907
|
-
crmId?: string | null;
|
|
13908
|
-
activityCenterProjectId?: number | null;
|
|
13909
|
-
mfaRequired: boolean;
|
|
13910
|
-
}>;
|
|
13911
|
-
getMaintainerMetadata: (maintainerId: number, signal?: AbortSignal) => Promise<MetadataItem[]>;
|
|
13912
|
-
setMaintainerMetadata: ({ maintainerId, ...body }: {
|
|
13913
|
-
maintainerId: number;
|
|
13914
|
-
} & SetMaintainerMetadataBody) => Promise<MetadataItem[]>;
|
|
13915
|
-
deleteMaintainerMetadata: ({ maintainerId, metadataId, }: {
|
|
13916
|
-
maintainerId: number;
|
|
13917
|
-
metadataId: number;
|
|
13918
|
-
}) => Promise<void>;
|
|
13919
|
-
};
|
|
13920
|
-
organizations: {
|
|
13921
|
-
getOrganizations: (signal?: AbortSignal) => Promise<{
|
|
13922
|
-
id: number;
|
|
13923
|
-
name: string;
|
|
13924
|
-
created: string;
|
|
13925
|
-
allowAutoJoin: boolean;
|
|
13926
|
-
crmId: string;
|
|
13927
|
-
activityCenterProjectId?: number | null;
|
|
13928
|
-
mfaRequired: boolean;
|
|
13929
|
-
maintainer: {
|
|
13930
|
-
id?: number;
|
|
13931
|
-
name?: string;
|
|
13932
|
-
created?: string;
|
|
13933
|
-
defaultConnectionMysqlId?: number | null;
|
|
13934
|
-
defaultConnectionSnowflakeId?: number | null;
|
|
13935
|
-
defaultConnectionSynapseId?: number | null;
|
|
13936
|
-
defaultConnectionExasolId?: number | null;
|
|
13937
|
-
defaultConnectionBigqueryId?: number | null;
|
|
13938
|
-
defaultConnectionTeradataId?: number | null;
|
|
13939
|
-
defaultFileStorageId?: number | null;
|
|
13940
|
-
zendeskUrl?: string | null;
|
|
13941
|
-
};
|
|
13942
|
-
}[]>;
|
|
13943
|
-
getOrganization: (organizationId: number, signal?: AbortSignal) => Promise<OrganizationDetail>;
|
|
13944
|
-
updateOrganization: ({ organizationId, ...body }: {
|
|
13945
|
-
organizationId: number;
|
|
13946
|
-
} & UpdateOrganizationBody) => Promise<{
|
|
13947
|
-
id: number;
|
|
13948
|
-
name: string;
|
|
13949
|
-
created: string;
|
|
13950
|
-
allowAutoJoin: boolean;
|
|
13951
|
-
crmId?: string | null;
|
|
13952
|
-
activityCenterProjectId?: number | null;
|
|
13953
|
-
mfaRequired: boolean;
|
|
13954
|
-
} & {
|
|
13955
|
-
projects: {
|
|
13956
|
-
id: number;
|
|
13957
|
-
name: string;
|
|
13958
|
-
created: string;
|
|
13959
|
-
}[];
|
|
13960
|
-
}>;
|
|
13961
|
-
deleteOrganization: (organizationId: number) => Promise<void>;
|
|
13962
|
-
forceMfa: (organizationId: number) => Promise<{
|
|
13963
|
-
id: number;
|
|
13964
|
-
name: string;
|
|
13965
|
-
created: string;
|
|
13966
|
-
allowAutoJoin: boolean;
|
|
13967
|
-
crmId?: string | null;
|
|
13968
|
-
activityCenterProjectId?: number | null;
|
|
13969
|
-
mfaRequired: boolean;
|
|
13970
|
-
} & {
|
|
13971
|
-
projects: {
|
|
13972
|
-
id: number;
|
|
13973
|
-
name: string;
|
|
13974
|
-
created: string;
|
|
13975
|
-
}[];
|
|
13976
|
-
}>;
|
|
13977
|
-
joinOrganization: (organizationId: number) => Promise<void>;
|
|
13978
|
-
getOrganizationUsers: (organizationId: number, signal?: AbortSignal) => Promise<{
|
|
13979
|
-
id: number;
|
|
13980
|
-
name: string;
|
|
13981
|
-
email: string;
|
|
13982
|
-
mfaEnabled: boolean;
|
|
13983
|
-
features: string[];
|
|
13984
|
-
canAccessLogs: boolean;
|
|
13985
|
-
isSuperAdmin: boolean;
|
|
13986
|
-
}[]>;
|
|
13987
|
-
addOrganizationUser: ({ organizationId, ...body }: {
|
|
13988
|
-
organizationId: number;
|
|
13989
|
-
} & AddOrganizationUserBody) => Promise<{
|
|
13990
|
-
id: number;
|
|
13991
|
-
name: string;
|
|
13992
|
-
email: string;
|
|
13993
|
-
mfaEnabled: boolean;
|
|
13994
|
-
features: string[];
|
|
13995
|
-
canAccessLogs: boolean;
|
|
13996
|
-
isSuperAdmin: boolean;
|
|
13997
|
-
}>;
|
|
13998
|
-
removeOrganizationUser: ({ organizationId, userId, }: {
|
|
13999
|
-
organizationId: number;
|
|
14000
|
-
userId: number;
|
|
14001
|
-
}) => Promise<void>;
|
|
14002
|
-
getOrganizationProjectsUsers: (organizationId: number, signal?: AbortSignal) => Promise<{
|
|
14003
|
-
id: number;
|
|
14004
|
-
name: string;
|
|
14005
|
-
email: string;
|
|
14006
|
-
mfaEnabled: boolean;
|
|
14007
|
-
features: string[];
|
|
14008
|
-
canAccessLogs: boolean;
|
|
14009
|
-
isSuperAdmin: boolean;
|
|
14010
|
-
}[]>;
|
|
14011
|
-
getOrganizationInvitations: (organizationId: number, signal?: AbortSignal) => Promise<{
|
|
14012
|
-
id: number;
|
|
14013
|
-
created?: string | null;
|
|
14014
|
-
user: {
|
|
14015
|
-
id?: number;
|
|
14016
|
-
name?: string;
|
|
14017
|
-
email?: string;
|
|
14018
|
-
};
|
|
14019
|
-
creator: {
|
|
14020
|
-
id?: number;
|
|
14021
|
-
name?: string;
|
|
14022
|
-
email?: string;
|
|
14023
|
-
};
|
|
14024
|
-
}[]>;
|
|
14025
|
-
getOrganizationInvitation: ({ organizationId, invitationId }: {
|
|
14026
|
-
organizationId: number;
|
|
14027
|
-
invitationId: number;
|
|
14028
|
-
}, signal?: AbortSignal) => Promise<{
|
|
14029
|
-
id: number;
|
|
14030
|
-
created?: string | null;
|
|
14031
|
-
user: {
|
|
14032
|
-
id?: number;
|
|
14033
|
-
name?: string;
|
|
14034
|
-
email?: string;
|
|
14035
|
-
};
|
|
14036
|
-
creator: {
|
|
14037
|
-
id?: number;
|
|
14038
|
-
name?: string;
|
|
14039
|
-
email?: string;
|
|
14040
|
-
};
|
|
14041
|
-
}>;
|
|
14042
|
-
createOrganizationInvitation: ({ organizationId, ...body }: {
|
|
14043
|
-
organizationId: number;
|
|
14044
|
-
} & CreateOrganizationInvitationBody) => Promise<{
|
|
14045
|
-
id: number;
|
|
14046
|
-
created?: string | null;
|
|
14047
|
-
user: {
|
|
14048
|
-
id?: number;
|
|
14049
|
-
name?: string;
|
|
14050
|
-
email?: string;
|
|
14051
|
-
};
|
|
14052
|
-
creator: {
|
|
14053
|
-
id?: number;
|
|
14054
|
-
name?: string;
|
|
14055
|
-
email?: string;
|
|
14056
|
-
};
|
|
14057
|
-
}>;
|
|
14058
|
-
deleteOrganizationInvitation: ({ organizationId, invitationId, }: {
|
|
14059
|
-
organizationId: number;
|
|
14060
|
-
invitationId: number;
|
|
14061
|
-
}) => Promise<void>;
|
|
14062
|
-
getOrganizationProjects: (organizationId: number, signal?: AbortSignal) => Promise<Project[]>;
|
|
14063
|
-
createOrganizationProject: ({ organizationId, ...body }: {
|
|
14064
|
-
organizationId: number;
|
|
14065
|
-
} & CreateOrganizationProjectBody) => Promise<{
|
|
14066
|
-
id: number;
|
|
14067
|
-
name: string;
|
|
14068
|
-
type: string;
|
|
14069
|
-
region: string;
|
|
14070
|
-
created?: string | null;
|
|
14071
|
-
expires?: string | null;
|
|
14072
|
-
features: string[];
|
|
14073
|
-
dataSizeBytes: number;
|
|
14074
|
-
rowsCount: number;
|
|
14075
|
-
hasMysql: boolean;
|
|
14076
|
-
hasSynapse: boolean;
|
|
14077
|
-
hasSnowflake: boolean;
|
|
14078
|
-
hasExasol: boolean;
|
|
14079
|
-
hasTeradata: boolean;
|
|
14080
|
-
hasBigquery: boolean;
|
|
14081
|
-
defaultBackend: string;
|
|
14082
|
-
hasTryModeOn: string;
|
|
14083
|
-
limits: {
|
|
14084
|
-
[key: string]: {
|
|
14085
|
-
name?: string;
|
|
14086
|
-
value?: number;
|
|
14087
|
-
};
|
|
14088
|
-
};
|
|
14089
|
-
metrics: {
|
|
14090
|
-
[key: string]: {
|
|
14091
|
-
name?: string;
|
|
14092
|
-
value?: number;
|
|
14093
|
-
};
|
|
14094
|
-
};
|
|
14095
|
-
isDisabled: boolean;
|
|
14096
|
-
billedMonthlyPrice?: number | null;
|
|
14097
|
-
dataRetentionTimeInDays: number;
|
|
14098
|
-
isBYODB: boolean;
|
|
14099
|
-
assignedBackends: string[];
|
|
14100
|
-
fileStorageProvider?: string | null;
|
|
14101
|
-
payAsYouGo?: {
|
|
14102
|
-
purchasedCredits?: number;
|
|
14103
|
-
} | null;
|
|
14104
|
-
disabled?: {
|
|
14105
|
-
reason?: string;
|
|
14106
|
-
estimatedEndTime?: string | null;
|
|
14107
|
-
} | null;
|
|
14108
|
-
} & {
|
|
14109
|
-
fileStorage?: Record<string, never>;
|
|
14110
|
-
backends?: Record<string, never>;
|
|
14111
|
-
}>;
|
|
14112
|
-
getOrganizationMetadata: (organizationId: number, signal?: AbortSignal) => Promise<MetadataItem[]>;
|
|
14113
|
-
setOrganizationMetadata: ({ organizationId, ...body }: {
|
|
14114
|
-
organizationId: number;
|
|
14115
|
-
} & SetOrganizationMetadataBody) => Promise<MetadataItem[]>;
|
|
14116
|
-
deleteOrganizationMetadata: ({ organizationId, metadataId, }: {
|
|
14117
|
-
organizationId: number;
|
|
14118
|
-
metadataId: number;
|
|
14119
|
-
}) => Promise<void>;
|
|
14120
|
-
};
|
|
14121
|
-
features: {
|
|
14122
|
-
getAllFeatures: (query: GetAllFeaturesQuery, signal?: AbortSignal) => Promise<Feature[]>;
|
|
14123
|
-
getFeature: (featureId: number, signal?: AbortSignal) => Promise<Feature>;
|
|
14124
|
-
getFeatureProjects: (featureId: number, signal?: AbortSignal) => Promise<FeatureProject[]>;
|
|
14125
|
-
getFeatureAdmins: (featureId: number, signal?: AbortSignal) => Promise<FeatureAdmin[]>;
|
|
14126
|
-
};
|
|
14127
|
-
projects: {
|
|
14128
|
-
getProject: (projectId: GetProjectPath["projectId"], signal?: AbortSignal) => Promise<Project>;
|
|
14129
|
-
addProjectFeature: ({ projectId, feature, }: CreateProjectFeaturePath & CreateProjectFeatureBody) => Promise<Project>;
|
|
14130
|
-
removeProjectFeature: (path: RemoveProjectFeaturePath) => Promise<null>;
|
|
14131
|
-
changeProjectUserRole: ({ projectId, userId, role, }: {
|
|
14132
|
-
projectId: number;
|
|
14133
|
-
userId: number;
|
|
14134
|
-
role: User["role"];
|
|
14135
|
-
}) => Promise<User>;
|
|
14136
|
-
getProjectUsers: (projectId: ListProjectUsersPath["projectId"], signal?: AbortSignal) => Promise<User[]>;
|
|
14137
|
-
getProjectInvitations: (projectId: ListProjectInvitationsPath["projectId"], signal?: AbortSignal) => Promise<{
|
|
14138
|
-
id: number;
|
|
14139
|
-
created?: string | null;
|
|
14140
|
-
expires?: string | null;
|
|
14141
|
-
reason?: string | null;
|
|
14142
|
-
role?: string | null;
|
|
14143
|
-
user: {
|
|
14144
|
-
id?: number;
|
|
14145
|
-
name?: string;
|
|
14146
|
-
email?: string;
|
|
14147
|
-
};
|
|
14148
|
-
creator: {
|
|
14149
|
-
id?: number;
|
|
14150
|
-
name?: string;
|
|
14151
|
-
email?: string;
|
|
14152
|
-
};
|
|
14153
|
-
}[]>;
|
|
14154
|
-
createProjectInvitation: ({ projectId, ...body }: CreateProjectInvitationPath & CreateProjectInvitationBody) => Promise<{
|
|
14155
|
-
id: number;
|
|
14156
|
-
created?: string | null;
|
|
14157
|
-
expires?: string | null;
|
|
14158
|
-
reason?: string | null;
|
|
14159
|
-
role?: string | null;
|
|
14160
|
-
user: {
|
|
14161
|
-
id?: number;
|
|
14162
|
-
name?: string;
|
|
14163
|
-
email?: string;
|
|
14164
|
-
};
|
|
14165
|
-
creator: {
|
|
14166
|
-
id?: number;
|
|
14167
|
-
name?: string;
|
|
14168
|
-
email?: string;
|
|
14169
|
-
};
|
|
14170
|
-
}>;
|
|
14171
|
-
deleteProjectInvitation: ({ projectId, invitationId, }: DeleteProjectInvitationPath) => Promise<null>;
|
|
14172
|
-
addProjectUser: ({ projectId, ...body }: AddProjectUserPath & AddProjectUserBody) => Promise<User>;
|
|
14173
|
-
removeProjectUser: ({ projectId, idOrEmail }: RemoveProjectUserPath) => Promise<null>;
|
|
14174
|
-
getProjectMetadata: (projectId: GetProjectMetadataPath["projectId"], signal?: AbortSignal) => Promise<ProjectMetadataItem[]>;
|
|
14175
|
-
setProjectMetadata: ({ projectId, provider, metadata, }: SetProjectMetadataPath & SetProjectMetadataBody) => Promise<ProjectMetadataItem[]>;
|
|
14176
|
-
getProjectReviewers: (projectId: GetProjectReviewersPath["projectId"], signal?: AbortSignal) => Promise<Reviewer[]>;
|
|
14177
|
-
setProjectReviewers: ({ projectId, adminIds, }: SetProjectReviewersPath & SetProjectReviewersBody) => Promise<void>;
|
|
14178
|
-
updateProject: ({ projectId, ...body }: {
|
|
14179
|
-
projectId: number;
|
|
14180
|
-
} & UpdateProjectBody) => Promise<Project>;
|
|
14181
|
-
deleteProject: (projectId: number) => Promise<null>;
|
|
14182
|
-
moveProject: ({ projectId, organizationId, }: {
|
|
14183
|
-
projectId: number;
|
|
14184
|
-
} & MoveProjectBody) => Promise<Project>;
|
|
14185
|
-
setProjectDisabled: ({ projectId, ...body }: {
|
|
14186
|
-
projectId: number;
|
|
14187
|
-
} & SetProjectDisabledBody) => Promise<Project>;
|
|
14188
|
-
};
|
|
14189
|
-
storageBackends: {
|
|
14190
|
-
getStorageBackend: (id: number, signal?: AbortSignal) => Promise<{
|
|
14191
|
-
id: number;
|
|
14192
|
-
host?: string | null;
|
|
14193
|
-
backend: string;
|
|
14194
|
-
region: string;
|
|
14195
|
-
owner: string;
|
|
14196
|
-
technicalOwner: string;
|
|
14197
|
-
username?: string | null;
|
|
14198
|
-
stats: {
|
|
14199
|
-
projectsCount?: number;
|
|
14200
|
-
bucketsCount?: number;
|
|
14201
|
-
dataSizeGB?: number;
|
|
14202
|
-
rowsCount?: number;
|
|
14203
|
-
};
|
|
14204
|
-
created: string;
|
|
14205
|
-
creator: {
|
|
14206
|
-
id?: number | null;
|
|
14207
|
-
name?: string | null;
|
|
14208
|
-
};
|
|
14209
|
-
warehouse?: string | null;
|
|
14210
|
-
database?: string | null;
|
|
14211
|
-
useSynapseManagedIdentity?: boolean | null;
|
|
14212
|
-
saml2Configuration?: {
|
|
14213
|
-
idpEntityId?: string;
|
|
14214
|
-
spEntityId?: string;
|
|
14215
|
-
spAcsUrl?: string;
|
|
14216
|
-
publicKey?: string;
|
|
14217
|
-
} | null;
|
|
14218
|
-
useDynamicBackends: boolean;
|
|
14219
|
-
useSso?: boolean | null;
|
|
14220
|
-
isSsoEnabled?: boolean | null;
|
|
14221
|
-
isSsoConfigured?: boolean | null;
|
|
14222
|
-
technicalOwnerContactEmails: string[];
|
|
14223
|
-
}>;
|
|
14224
|
-
};
|
|
14225
|
-
users: {
|
|
14226
|
-
addUserAdminFeature: ({ feature, userIdOrMail }: AddUserFeatureBody & AddUserFeaturePath, signal?: AbortSignal) => Promise<User>;
|
|
14227
|
-
removeUserAdminFeature: ({ userIdOrMail, feature }: RemoveUserFeaturePath, signal?: AbortSignal) => Promise<User>;
|
|
14228
|
-
};
|
|
14229
|
-
verifyToken: (signal?: AbortSignal) => Promise<{
|
|
14230
|
-
id: number;
|
|
14231
|
-
description: string;
|
|
14232
|
-
created: string;
|
|
14233
|
-
lastUsed: string | null;
|
|
14234
|
-
expires: string | null;
|
|
14235
|
-
isSessionToken: boolean;
|
|
14236
|
-
isExpired: boolean;
|
|
14237
|
-
isDisabled: boolean;
|
|
14238
|
-
scopes: string[];
|
|
14239
|
-
type: string;
|
|
14240
|
-
creator: {
|
|
14241
|
-
id: number;
|
|
14242
|
-
name: string;
|
|
14243
|
-
};
|
|
14244
|
-
user?: {
|
|
14245
|
-
id: number;
|
|
14246
|
-
name: string;
|
|
14247
|
-
email: string;
|
|
14248
|
-
mfaEnabled: boolean;
|
|
14249
|
-
features: string[];
|
|
14250
|
-
canAccessLogs: boolean;
|
|
14251
|
-
isSuperAdmin: boolean;
|
|
14252
|
-
} | null;
|
|
14253
|
-
}>;
|
|
14254
|
-
};
|
|
14255
|
-
auth: {
|
|
14256
|
-
login: {
|
|
14257
|
-
withPassword: (input: LoginInput, signal?: AbortSignal) => Promise<{
|
|
14258
|
-
mfaRequired: false;
|
|
14259
|
-
accessToken: string;
|
|
14260
|
-
refreshToken: string;
|
|
14261
|
-
tokenType: string;
|
|
14262
|
-
expiresIn: number;
|
|
14263
|
-
sessionId: string;
|
|
14264
|
-
user: {
|
|
14265
|
-
id: number;
|
|
14266
|
-
email: string;
|
|
14267
|
-
name: string;
|
|
14268
|
-
};
|
|
14269
|
-
} | {
|
|
14270
|
-
mfaRequired: true;
|
|
14271
|
-
mfaType: string;
|
|
14272
|
-
mfaToken: string;
|
|
14273
|
-
expiresIn: number;
|
|
14274
|
-
allowedMethods: string[];
|
|
14275
|
-
webauthn: Record<string, unknown> | null;
|
|
14276
|
-
}>;
|
|
14277
|
-
withOidc: (input: OidcInput, signal?: AbortSignal) => Promise<{
|
|
14278
|
-
mfaRequired: false;
|
|
14279
|
-
accessToken: string;
|
|
14280
|
-
refreshToken: string;
|
|
14281
|
-
tokenType: string;
|
|
14282
|
-
expiresIn: number;
|
|
14283
|
-
sessionId: string;
|
|
14284
|
-
user: {
|
|
14285
|
-
id: number;
|
|
14286
|
-
email: string;
|
|
14287
|
-
name: string;
|
|
14288
|
-
};
|
|
14289
|
-
} | {
|
|
14290
|
-
mfaRequired: true;
|
|
14291
|
-
mfaType: string;
|
|
14292
|
-
mfaToken: string;
|
|
14293
|
-
expiresIn: number;
|
|
14294
|
-
allowedMethods: string[];
|
|
14295
|
-
webauthn: Record<string, unknown> | null;
|
|
14296
|
-
}>;
|
|
14297
|
-
};
|
|
14298
|
-
mfa: {
|
|
14299
|
-
verifyWithCode: (input: MfaCodeInput, signal?: AbortSignal) => Promise<{
|
|
14300
|
-
accessToken: string;
|
|
14301
|
-
refreshToken: string;
|
|
14302
|
-
tokenType: string;
|
|
14303
|
-
expiresIn: number;
|
|
14304
|
-
sessionId: string;
|
|
14305
|
-
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14306
|
-
}>;
|
|
14307
|
-
verifyWithWebauthn: (input: MfaWebauthnInput, signal?: AbortSignal) => Promise<{
|
|
14308
|
-
accessToken: string;
|
|
14309
|
-
refreshToken: string;
|
|
14310
|
-
tokenType: string;
|
|
14311
|
-
expiresIn: number;
|
|
14312
|
-
sessionId: string;
|
|
14313
|
-
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14314
|
-
}>;
|
|
14315
|
-
regenerateRecoveryCodes: (signal?: AbortSignal) => Promise<{
|
|
14316
|
-
codes: string[];
|
|
14317
|
-
}>;
|
|
14318
|
-
};
|
|
14319
|
-
saml: {
|
|
14320
|
-
assert: (body: AssertSamlBody, signal?: AbortSignal) => Promise<{
|
|
14321
|
-
accessToken: string;
|
|
14322
|
-
refreshToken: string;
|
|
14323
|
-
tokenType: string;
|
|
14324
|
-
expiresIn: number;
|
|
14325
|
-
sessionId: string;
|
|
14326
|
-
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14327
|
-
} | {
|
|
14328
|
-
mfaRequired: boolean;
|
|
14329
|
-
mfaType: string;
|
|
14330
|
-
mfaToken: string;
|
|
14331
|
-
expiresIn: number;
|
|
14332
|
-
allowedMethods: string[];
|
|
14333
|
-
webauthn: Record<string, never> | null;
|
|
14334
|
-
}>;
|
|
14335
|
-
initiate: (body?: InitiateSamlBody, signal?: AbortSignal) => Promise<{
|
|
14336
|
-
ssoUrl: string;
|
|
14337
|
-
requestHandle: string;
|
|
14338
|
-
expiresIn: number;
|
|
14339
|
-
}>;
|
|
14340
|
-
};
|
|
14341
|
-
pat: {
|
|
14342
|
-
create: (body: CreatePatBody, signal?: AbortSignal) => Promise<{
|
|
14343
|
-
accessToken: string;
|
|
14344
|
-
tokenType: string;
|
|
14345
|
-
expiresIn: number;
|
|
14346
|
-
pat: components$9["schemas"]["PatItemResponse"];
|
|
14347
|
-
}>;
|
|
14348
|
-
exchange: (body?: ExchangePatBody, signal?: AbortSignal) => Promise<{
|
|
14349
|
-
accessToken: string;
|
|
14350
|
-
tokenType: string;
|
|
14351
|
-
expiresIn: number;
|
|
14352
|
-
scope: Record<string, never>;
|
|
14353
|
-
readOnly: boolean;
|
|
14354
|
-
parentTokenId: string;
|
|
14355
|
-
parentTokenType: "session" | "pat";
|
|
14356
|
-
expiresAt: string;
|
|
14357
|
-
pat: components$9["schemas"]["PatItemResponse"];
|
|
14358
|
-
}>;
|
|
14359
|
-
revoke: (id: RevokePatPath["id"], signal?: AbortSignal) => Promise<void>;
|
|
14360
|
-
getAll: (signal?: AbortSignal) => Promise<{
|
|
14361
|
-
items: components$9["schemas"]["PatItemResponse"][];
|
|
14362
|
-
}>;
|
|
14363
|
-
};
|
|
14364
|
-
device: {
|
|
14365
|
-
create: (body: CreateDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
|
|
14366
|
-
deviceCode: string;
|
|
14367
|
-
userCode: string;
|
|
14368
|
-
verificationUri: string;
|
|
14369
|
-
verificationUriComplete: string;
|
|
14370
|
-
expiresIn: number;
|
|
14371
|
-
interval: number;
|
|
14372
|
-
}>;
|
|
14373
|
-
approve: (body: ApproveDeviceAuthorizationBody, signal?: AbortSignal) => Promise<{
|
|
14374
|
-
status: "approved" | "denied";
|
|
14375
|
-
idempotent: boolean;
|
|
14376
|
-
decision: components$9["schemas"]["DeviceApprovalDecision"];
|
|
14377
|
-
}>;
|
|
14378
|
-
getToken: (body: GetDeviceAuthorizationTokenBody, signal?: AbortSignal) => Promise<{
|
|
14379
|
-
accessToken: string;
|
|
14380
|
-
refreshToken: string;
|
|
14381
|
-
tokenType: string;
|
|
14382
|
-
expiresIn: number;
|
|
14383
|
-
sessionId: string;
|
|
14384
|
-
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14385
|
-
}>;
|
|
14386
|
-
};
|
|
14387
|
-
sudo: {
|
|
14388
|
-
verify: (body: SudoBody, signal?: AbortSignal) => Promise<{
|
|
14389
|
-
sudoVerified: boolean;
|
|
14390
|
-
sudoExpiresAt: string;
|
|
14391
|
-
sudoTimeoutSeconds: number;
|
|
14392
|
-
}>;
|
|
14393
|
-
challenge: (signal?: AbortSignal) => Promise<{
|
|
14394
|
-
challengeToken: string;
|
|
14395
|
-
options: Record<string, never>;
|
|
14396
|
-
expiresIn: number;
|
|
14397
|
-
}>;
|
|
14398
|
-
};
|
|
14399
|
-
pkce: {
|
|
14400
|
-
getToken: (body: GetPkceTokenBody, signal?: AbortSignal) => Promise<{
|
|
14401
|
-
accessToken: string;
|
|
14402
|
-
refreshToken: string;
|
|
14403
|
-
tokenType: string;
|
|
14404
|
-
expiresIn: number;
|
|
14405
|
-
sessionId: string;
|
|
14406
|
-
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14407
|
-
}>;
|
|
14408
|
-
};
|
|
14409
|
-
session: {
|
|
14410
|
-
getAll: (signal?: AbortSignal) => Promise<{
|
|
14411
|
-
sessions?: components$9["schemas"]["SessionItemResponse"][];
|
|
14412
|
-
}>;
|
|
14413
|
-
revoke: (sessionId: RevokeSessionPath["sessionId"], signal?: AbortSignal) => Promise<void>;
|
|
14414
|
-
revokeAll: (signal?: AbortSignal) => Promise<void>;
|
|
14415
|
-
};
|
|
14416
|
-
token: {
|
|
14417
|
-
refresh: (refreshToken: string, signal?: AbortSignal) => Promise<{
|
|
14418
|
-
accessToken: string;
|
|
14419
|
-
refreshToken: string;
|
|
14420
|
-
tokenType: string;
|
|
14421
|
-
expiresIn: number;
|
|
14422
|
-
sessionId: string;
|
|
14423
|
-
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14424
|
-
}>;
|
|
14425
|
-
introspect: (token?: string, signal?: AbortSignal) => Promise<{
|
|
14426
|
-
sessionId: string;
|
|
14427
|
-
user: components$9["schemas"]["UserLoggedInResponse"];
|
|
14428
|
-
grantType: string;
|
|
14429
|
-
sudoVerified: boolean;
|
|
14430
|
-
createdAt: string;
|
|
14431
|
-
expiresAt: string;
|
|
14432
|
-
lastUsedAt?: string | null;
|
|
14433
|
-
lastUsedIp?: string | null;
|
|
14434
|
-
userAgent?: string | null;
|
|
14435
|
-
projects: components$9["schemas"]["ProjectAccessItem"][];
|
|
14436
|
-
}>;
|
|
14437
|
-
revoke: (body: RevokeTokenBody, signal?: AbortSignal) => Promise<void>;
|
|
14438
|
-
};
|
|
14439
|
-
};
|
|
14440
14816
|
}>;
|
|
14441
|
-
|
|
14442
|
-
type
|
|
14443
|
-
type
|
|
14444
|
-
|
|
14445
|
-
|
|
14446
|
-
|
|
14817
|
+
|
|
14818
|
+
type ProjectClients = Awaited<ReturnType<typeof createProjectClients>>;
|
|
14819
|
+
type KeboolaApi = ProjectClients & {
|
|
14820
|
+
auth: ReturnType<typeof createAuthClient>;
|
|
14821
|
+
management: ReturnType<typeof createManagementClient>;
|
|
14822
|
+
};
|
|
14823
|
+
|
|
14824
|
+
/** The bearer (OAuth) session surface, derived from the factory's return. */
|
|
14825
|
+
type BearerSession = ReturnType<typeof createKeboola>['session'];
|
|
14826
|
+
/** The legacy (SAPI) session surface, derived from the factory's return. */
|
|
14827
|
+
type LegacySession = ReturnType<typeof createLegacyKeboola>['session'];
|
|
14447
14828
|
|
|
14448
14829
|
type RequestLog = {
|
|
14449
14830
|
url: string;
|
|
@@ -14490,6 +14871,7 @@ declare const KeboolaHttpHeader: {
|
|
|
14490
14871
|
readonly STORAGE_API_TOKEN: "X-StorageApi-Token";
|
|
14491
14872
|
readonly MANAGEMENT_API_TOKEN: "X-Kbc-Manageapitoken";
|
|
14492
14873
|
readonly STORAGE_API_URL: "x-storageapi-url";
|
|
14874
|
+
readonly PROJECT_ID: "X-KBC-ProjectId";
|
|
14493
14875
|
};
|
|
14494
14876
|
|
|
14495
|
-
export { type
|
|
14877
|
+
export { type AsyncState, type BearerSession, type ClientContext, ConcurrentOptions, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, type LegacySession, type Log, type LogLevel, type Logger, type LoggingOptions, MiddlewareFn, type Persistor, PollException, type ReadableStore, type RequestLog, type ResponseLog, type RetryOptions, type StorageAdapter, type Store, type TaskFn, assert, coalesce, createDerivedAsyncStore, createDerivedStore, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createRetryMiddleware, createSessionStorage, createStore, dedupe, deepMerge, delay, generateUUID, isEmptyDeep, isKeboolaError, isPlainObject, isStorageTokenMutatingRequest, poll, schemaGuidedMerge, series, shallowEqual };
|