@keboola/api-client 46.0.0 → 48.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +95 -24
- package/API-SURFACE.md +52 -30
- package/CHANGELOG.md +85 -0
- package/README.md +47 -37
- package/dist/{ManagementSessionMintError-5FFyvBZi.js → ManagementSessionMintError-4Pkn5Oob.js} +2 -2
- package/dist/{ManagementSessionMintError-5FFyvBZi.js.map → ManagementSessionMintError-4Pkn5Oob.js.map} +1 -1
- package/dist/{ManagementSessionMintError-Bm8s6yDB.cjs → ManagementSessionMintError-Cu9beG7j.cjs} +2 -2
- package/dist/{ManagementSessionMintError-Bm8s6yDB.cjs.map → ManagementSessionMintError-Cu9beG7j.cjs.map} +1 -1
- package/dist/QueryJobError-ZZZ043Nm.js +22 -0
- package/dist/QueryJobError-ZZZ043Nm.js.map +1 -0
- package/dist/{QueryJobTimeoutError-CVNPdCWX.cjs → QueryJobError-irGiP5zh.cjs} +1 -29
- package/dist/QueryJobError-irGiP5zh.cjs.map +1 -0
- package/dist/QueueJobError-6qSEizWo.cjs +30 -0
- package/dist/QueueJobError-6qSEizWo.cjs.map +1 -0
- package/dist/QueueJobError-8bThS_Mc.js +19 -0
- package/dist/QueueJobError-8bThS_Mc.js.map +1 -0
- package/dist/adminRoles-B40yBcmq.js.map +1 -1
- package/dist/{adminRoles-C696kD_U.d.ts → adminRoles-BgpaBE7h.d.cts} +4 -2
- package/dist/adminRoles-CO7J5qAy.cjs.map +1 -1
- package/dist/{adminRoles-C696kD_U.d.cts → adminRoles-DsoGQipO.d.ts} +4 -2
- package/dist/ai/index.cjs +2 -7
- package/dist/ai/index.cjs.map +1 -1
- package/dist/ai/index.d.cts +2 -3
- package/dist/ai/index.d.ts +2 -3
- package/dist/ai/index.js +2 -7
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/{appLogs-BG9ueGxA.cjs → appLogs-Cix2KWra.cjs} +2 -2
- package/dist/{appLogs-BG9ueGxA.cjs.map → appLogs-Cix2KWra.cjs.map} +1 -1
- package/dist/{appLogs-DGIctwbb.d.ts → appLogs-DpcqeOe5.d.ts} +2 -2
- package/dist/{appLogs-CEKz68bE.js → appLogs-KslK7qHr.js} +2 -2
- package/dist/{appLogs-CEKz68bE.js.map → appLogs-KslK7qHr.js.map} +1 -1
- package/dist/{appLogs-Dl0v684o.d.cts → appLogs-SjrflOHk.d.cts} +2 -2
- package/dist/apps/index.cjs +5 -5
- package/dist/apps/index.cjs.map +1 -1
- package/dist/apps/index.d.cts +3 -3
- package/dist/apps/index.d.ts +3 -3
- package/dist/apps/index.js +5 -5
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/types.d.cts +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/{auth-C6cHWIWx.js → auth-4coY1uwo.js} +2 -2
- package/dist/{auth-C6cHWIWx.js.map → auth-4coY1uwo.js.map} +1 -1
- package/dist/{auth-C9o_0bft.cjs → auth-C8Pjl0Mu.cjs} +2 -2
- package/dist/{auth-C9o_0bft.cjs.map → auth-C8Pjl0Mu.cjs.map} +1 -1
- package/dist/{authClient-CACOwVt0.js → authClient-2e8ZmzSP.js} +71 -7
- package/dist/authClient-2e8ZmzSP.js.map +1 -0
- package/dist/{authClient-DSa5t2Ft.d.cts → authClient-BYIGzL_u.d.ts} +22 -4
- package/dist/{authClient-ZiaKSKpp.d.ts → authClient-D06srBQE.d.cts} +22 -4
- package/dist/{authClient-DZcAR-eW.cjs → authClient-DfkKlc-2.cjs} +82 -6
- package/dist/authClient-DfkKlc-2.cjs.map +1 -0
- package/dist/billing/index.cjs +2 -2
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/index.js +2 -2
- package/dist/billing/types.d.cts +1 -1
- package/dist/billing/types.d.ts +1 -1
- package/dist/chat/index.cjs +3 -3
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/index.js +3 -3
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/{collect-97WhfEpt.js → collectByOffset-2XzJqmvr.js} +6 -6
- package/dist/collectByOffset-2XzJqmvr.js.map +1 -0
- package/dist/{collect-B5TCNiT1.cjs → collectByOffset-DQsqtmJg.cjs} +7 -7
- package/dist/collectByOffset-DQsqtmJg.cjs.map +1 -0
- package/dist/componentsMcp/index.cjs +3 -0
- package/dist/componentsMcp/index.d.cts +2 -0
- package/dist/componentsMcp/index.d.ts +2 -0
- package/dist/componentsMcp/index.js +2 -0
- package/dist/componentsMcp/types.cjs +0 -0
- package/dist/componentsMcp/types.d.cts +2 -0
- package/dist/componentsMcp/types.d.ts +2 -0
- package/dist/componentsMcp/types.js +1 -0
- package/dist/componentsMcp-CHobIsuU.js +57 -0
- package/dist/componentsMcp-CHobIsuU.js.map +1 -0
- package/dist/componentsMcp-pG-PcQrg.cjs +62 -0
- package/dist/componentsMcp-pG-PcQrg.cjs.map +1 -0
- package/dist/{configurations-D_Rbs0Wl.cjs → configurations-B2O8AAy0.cjs} +2 -2
- package/dist/{configurations-D_Rbs0Wl.cjs.map → configurations-B2O8AAy0.cjs.map} +1 -1
- package/dist/{configurations-Chg_JwJ1.js → configurations-CL0ouUMa.js} +3 -3
- package/dist/configurations-CL0ouUMa.js.map +1 -0
- package/dist/{configurations-BTRHVSRq.cjs → configurations-D9J3jh3g.cjs} +3 -3
- package/dist/configurations-D9J3jh3g.cjs.map +1 -0
- package/dist/{configurations-DcpUlC8I.js → configurations-DKINmjA3.js} +2 -2
- package/dist/{configurations-DcpUlC8I.js.map → configurations-DKINmjA3.js.map} +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.d.cts +2 -3
- package/dist/constants/index.d.ts +2 -3
- package/dist/constants/index.js +1 -1
- package/dist/{constants-Cifrqsls.js → constants-CA4UN2Xv.js} +11 -10
- package/dist/constants-CA4UN2Xv.js.map +1 -0
- package/dist/{constants-BDGRQqij.cjs → constants-a0jswUeK.cjs} +10 -9
- package/dist/constants-a0jswUeK.cjs.map +1 -0
- package/dist/{createFetchClient-DITkTV2k.js → createFetchClient-CkHdS_IG.js} +5 -5
- package/dist/createFetchClient-CkHdS_IG.js.map +1 -0
- package/dist/{createFetchClient-ClWD4ua3.cjs → createFetchClient-lZ_93Yrb.cjs} +5 -5
- package/dist/createFetchClient-lZ_93Yrb.cjs.map +1 -0
- package/dist/{createGenericFetchClient-KqiJhw8G.js → createGenericFetchClient-CQdNcPC3.js} +2 -2
- package/dist/{createGenericFetchClient-KqiJhw8G.js.map → createGenericFetchClient-CQdNcPC3.js.map} +1 -1
- package/dist/{createGenericFetchClient-B81Iezpb.cjs → createGenericFetchClient-MOx97wi-.cjs} +2 -2
- package/dist/{createGenericFetchClient-B81Iezpb.cjs.map → createGenericFetchClient-MOx97wi-.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-CioTX11-.cjs → createOpenapiFetchClient-DHYo_k3t.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-CioTX11-.cjs.map → createOpenapiFetchClient-DHYo_k3t.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-wq8iGLZM.js → createOpenapiFetchClient-DXiMv9WL.js} +2 -2
- package/dist/{createOpenapiFetchClient-wq8iGLZM.js.map → createOpenapiFetchClient-DXiMv9WL.js.map} +1 -1
- package/dist/dataScience/index.cjs +2 -2
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/index.js +2 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/{dataScience-BwHmDoQb.js → dataScience-AwPMeGfz.js} +5 -5
- package/dist/{dataScience-BwHmDoQb.js.map → dataScience-AwPMeGfz.js.map} +1 -1
- package/dist/{dataScience-Hhoqoql_.cjs → dataScience-BjS1p8WO.cjs} +5 -5
- package/dist/{dataScience-Hhoqoql_.cjs.map → dataScience-BjS1p8WO.cjs.map} +1 -1
- package/dist/developerPortal/index.cjs +1 -1
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/index.js +1 -1
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/{developerPortalClient-loKq7X_U.js → developerPortalClient-Bb2suezr.js} +13 -5
- package/dist/{developerPortalClient-loKq7X_U.js.map → developerPortalClient-Bb2suezr.js.map} +1 -1
- package/dist/{developerPortalClient-COm7wJxS.cjs → developerPortalClient-DUerKw-7.cjs} +13 -5
- package/dist/{developerPortalClient-COm7wJxS.cjs.map → developerPortalClient-DUerKw-7.cjs.map} +1 -1
- package/dist/domain/permissions/index.cjs +1 -1
- package/dist/domain/permissions/index.d.cts +2 -3
- package/dist/domain/permissions/index.d.ts +2 -3
- package/dist/domain/permissions/index.js +1 -1
- package/dist/editor/index.cjs +2 -2
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/index.js +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/encryption/index.cjs +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/index.js +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.cjs +1 -1
- package/dist/import/index.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/import/index.js +1 -1
- package/dist/{import-B5DcJGMI.cjs → import-BahNYv91.cjs} +3 -3
- package/dist/{import-B5DcJGMI.cjs.map → import-BahNYv91.cjs.map} +1 -1
- package/dist/{import-JlH_QaDd.js → import-FWy_wQZ1.js} +3 -3
- package/dist/{import-JlH_QaDd.js.map → import-FWy_wQZ1.js.map} +1 -1
- package/dist/{index-BP3choXr.d.ts → index-B3QTeqfL.d.ts} +19976 -14513
- package/dist/{index-x8ET_BTN.d.cts → index-BCjU-g9t.d.cts} +3 -3
- package/dist/{index-DCxVLGHH.d.ts → index-BHiJu8LF.d.cts} +16 -28
- package/dist/{index-DXcTukgn.d.ts → index-BIldED4N.d.ts} +4 -4
- package/dist/index-BLvmyehw.d.ts +46 -0
- package/dist/{index-BnPYPXGQ.d.ts → index-BTrxCk90.d.ts} +3 -3
- package/dist/{index-DS6O4UDB.d.cts → index-ByLCYBaw.d.cts} +4 -4
- package/dist/{index-syAYY5LC.d.cts → index-C40Fbj-6.d.cts} +19976 -14513
- package/dist/{index-DWFxcmVD.d.ts → index-CIqWOEWD.d.ts} +4 -4
- package/dist/{index-Bt43tKyu.d.cts → index-Cc5wSIRJ.d.cts} +5 -5
- package/dist/{types-CESP1ONj.d.ts → index-ChDl6ig5.d.cts} +3780 -549
- package/dist/index-Co2Cd-nw.d.cts +46 -0
- package/dist/{index-CTKC-mwi.d.cts → index-CpGmmJbt.d.cts} +4 -4
- package/dist/{index-D-4TT5yW.d.cts → index-CpUYVB-d.d.cts} +4 -4
- package/dist/{index-DeQDdut6.d.ts → index-CzHrIfZS.d.ts} +34 -2
- package/dist/{index-BhDxP0x4.d.cts → index-D91RxB_S.d.cts} +18 -13
- package/dist/{index-GVxpBH6j.d.cts → index-DlZiWfQb.d.ts} +16 -28
- package/dist/{index-DRaVzOLM.d.ts → index-DzLXtE4Q.d.ts} +5 -5
- package/dist/{index-DeQDdut6.d.cts → index-VlzlOBkc.d.cts} +34 -2
- package/dist/{index-se5ee8U1.d.ts → index-avzO5sLa.d.ts} +18 -13
- package/dist/{index-yJ0HrxY6.d.ts → index-m7fX76x3.d.ts} +4 -4
- package/dist/{types-GaOcVZ3d.d.cts → index-sDHBkJhU.d.ts} +3780 -549
- package/dist/index.cjs +551 -375
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +493 -320
- package/dist/index.js.map +1 -1
- package/dist/{isLoginPageRedirect-CsyRa3_v.js → isLoginPageRedirect-B4QKSiSa.js} +2 -2
- package/dist/{isLoginPageRedirect-CsyRa3_v.js.map → isLoginPageRedirect-B4QKSiSa.js.map} +1 -1
- package/dist/{isLoginPageRedirect-iNbwl3iz.cjs → isLoginPageRedirect-r0Opgc1n.cjs} +2 -2
- package/dist/{isLoginPageRedirect-iNbwl3iz.cjs.map → isLoginPageRedirect-r0Opgc1n.cjs.map} +1 -1
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +3 -3
- package/dist/kaiAgent/index.d.ts +3 -3
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/{kaiAgent-CUeT53-K.js → kaiAgent-CYvrS8oZ.js} +16 -7
- package/dist/kaiAgent-CYvrS8oZ.js.map +1 -0
- package/dist/{kaiAgent-BhcUsBDk.cjs → kaiAgent-N2qbUFZm.cjs} +16 -7
- package/dist/kaiAgent-N2qbUFZm.cjs.map +1 -0
- package/dist/{kaiMemory-DaOh0zVn.js → kaiMemory-C9di17bd.js} +2 -2
- package/dist/{kaiMemory-DaOh0zVn.js.map → kaiMemory-C9di17bd.js.map} +1 -1
- package/dist/{kaiMemory-Cf81ghNd.cjs → kaiMemory-Qch09f-m.cjs} +2 -2
- package/dist/{kaiMemory-Cf81ghNd.cjs.map → kaiMemory-Qch09f-m.cjs.map} +1 -1
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-0cWVLHei.cjs → management-CXHnxVaZ.cjs} +34 -10
- package/dist/management-CXHnxVaZ.cjs.map +1 -0
- package/dist/{management-eg4Ig-Cx.js → management-NYAD6ej4.js} +34 -10
- package/dist/management-NYAD6ej4.js.map +1 -0
- package/dist/metastore/index.cjs +1 -1
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/index.js +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/{metastore-YPHUK3jJ.cjs → metastore-BXHg33ku.cjs} +4 -4
- package/dist/{metastore-YPHUK3jJ.cjs.map → metastore-BXHg33ku.cjs.map} +1 -1
- package/dist/{metastore-D0C6uaPX.js → metastore-Ywq08DBz.js} +4 -4
- package/dist/{metastore-D0C6uaPX.js.map → metastore-Ywq08DBz.js.map} +1 -1
- package/dist/microsoftGraph/index.cjs +2 -2
- package/dist/microsoftGraph/index.d.cts +2 -2
- package/dist/microsoftGraph/index.d.ts +2 -2
- package/dist/microsoftGraph/index.js +2 -2
- package/dist/microsoftGraph/types.d.cts +1 -1
- package/dist/microsoftGraph/types.d.ts +1 -1
- package/dist/{middleware-D_p5TctO.cjs → middleware-CEP6uu_D.cjs} +5 -5
- package/dist/middleware-CEP6uu_D.cjs.map +1 -0
- package/dist/{middleware-DmR6OhTY.js → middleware-GOfx8Apu.js} +5 -5
- package/dist/middleware-GOfx8Apu.js.map +1 -0
- package/dist/notifications/index.cjs +3 -3
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/index.js +3 -3
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.cjs +1 -1
- package/dist/oauth/index.d.cts +6 -2
- package/dist/oauth/index.d.ts +6 -2
- package/dist/oauth/index.js +1 -1
- package/dist/oauth/types.d.cts +2 -2
- package/dist/oauth/types.d.ts +2 -2
- package/dist/{oauth-DyUwTqHJ.cjs → oauth-DKZPuUlt.cjs} +17 -6
- package/dist/{oauth-DyUwTqHJ.cjs.map → oauth-DKZPuUlt.cjs.map} +1 -1
- package/dist/{oauth-Ck_Fe14o.js → oauth-GXmZ9agP.js} +17 -6
- package/dist/{oauth-Ck_Fe14o.js.map → oauth-GXmZ9agP.js.map} +1 -1
- package/dist/omnisearch/index.cjs +2 -2
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/index.js +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/project-Dzu85cqr.d.cts +74 -0
- package/dist/project-nbv9yjpl.d.ts +74 -0
- package/dist/queryService/index.cjs +1 -1
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/index.js +1 -1
- package/dist/queryService/types.d.cts +2 -2
- package/dist/queryService/types.d.ts +2 -2
- package/dist/{queryService-Blfz59Ms.js → queryService-C-pZha5p.js} +36 -27
- package/dist/queryService-C-pZha5p.js.map +1 -0
- package/dist/{queryService-RlNYw7LG.cjs → queryService-CzK53q94.cjs} +36 -27
- package/dist/queryService-CzK53q94.cjs.map +1 -0
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +75 -7
- package/dist/queue/index.d.ts +75 -7
- package/dist/queue/index.js +1 -1
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/{queue-BrgRdtOr.cjs → queue-BJvDWriM.cjs} +35 -25
- package/dist/queue-BJvDWriM.cjs.map +1 -0
- package/dist/{queue-CNvR-M23.js → queue-D6-x4OGF.js} +35 -25
- package/dist/queue-D6-x4OGF.js.map +1 -0
- package/dist/scheduler/index.cjs +3 -3
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/index.js +3 -3
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +1 -1
- package/dist/sdk/configurations/index.d.cts +2 -4
- package/dist/sdk/configurations/index.d.ts +2 -4
- package/dist/sdk/configurations/index.js +1 -1
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.d.cts +3 -3
- package/dist/sdk/developerPortal/index.d.ts +3 -3
- package/dist/sdk/developerPortal/index.js +3 -3
- package/dist/sdk/kaiMemory/index.cjs +1 -1
- package/dist/sdk/kaiMemory/index.d.cts +1 -1
- package/dist/sdk/kaiMemory/index.d.ts +1 -1
- package/dist/sdk/kaiMemory/index.js +1 -1
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.cjs +34 -55
- package/dist/sdk/queryService/index.cjs.map +1 -1
- package/dist/sdk/queryService/index.d.cts +2 -2
- package/dist/sdk/queryService/index.d.ts +2 -2
- package/dist/sdk/queryService/index.js +34 -55
- package/dist/sdk/queryService/index.js.map +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +1 -1
- package/dist/sdk/semanticLayer/index.d.ts +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/storage/index.cjs +0 -119
- package/dist/sdk/storage/index.cjs.map +1 -1
- package/dist/sdk/storage/index.d.cts +103 -2
- package/dist/sdk/storage/index.d.ts +103 -2
- package/dist/sdk/storage/index.js +1 -119
- package/dist/sdk/storage/index.js.map +1 -1
- package/dist/sdk/tag/index.d.cts +2 -2
- package/dist/sdk/tag/index.d.ts +2 -2
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/status/index.cjs +1 -1
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +13 -9
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +7 -6
- package/dist/storage/types.d.cts +6 -5
- package/dist/storage/types.d.ts +6 -5
- package/dist/{storage-RkNaOFJ-.js → storage-BR-Kgi-6.js} +353 -169
- package/dist/storage-BR-Kgi-6.js.map +1 -0
- package/dist/{storage-76Sf_z_H.cjs → storage-CVBXivpB.cjs} +372 -170
- package/dist/storage-CVBXivpB.cjs.map +1 -0
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/index.js +3 -3
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/index.js +1 -1
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/{syncActions-DlNPhZY4.cjs → syncActions-C1rE4R3f.cjs} +5 -5
- package/dist/{syncActions-DlNPhZY4.cjs.map → syncActions-C1rE4R3f.cjs.map} +1 -1
- package/dist/{syncActions-BvFUa9xV.js → syncActions-DM8vP7p3.js} +5 -5
- package/dist/{syncActions-BvFUa9xV.js.map → syncActions-DM8vP7p3.js.map} +1 -1
- package/dist/telemetry/index.cjs +3 -6
- package/dist/telemetry/index.cjs.map +1 -1
- package/dist/telemetry/index.d.cts +2 -5
- package/dist/telemetry/index.d.ts +2 -5
- package/dist/telemetry/index.js +3 -6
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{jobStatus-BJdbZ72V.js → transientRetries-B4iusp69.js} +79 -37
- package/dist/transientRetries-B4iusp69.js.map +1 -0
- package/dist/{jobStatus-B0E-MZ9I.cjs → transientRetries-DdJfH9QK.cjs} +82 -40
- package/dist/transientRetries-DdJfH9QK.cjs.map +1 -0
- package/dist/{types-QroFANIW.d.cts → types-0ZAMQhva.d.cts} +3 -3
- package/dist/{types-BMWeCO5M.d.ts → types-1LENlL5h.d.ts} +3 -3
- package/dist/{types-BRvs3fXN.d.cts → types-6KabdIyO.d.cts} +3 -3
- package/dist/{types-B5kkD7h4.d.cts → types-9d8ihjZh.d.cts} +2 -2
- package/dist/{types-qGMVZGSB.d.ts → types-B7L6uSYb.d.ts} +50 -3
- package/dist/{types-qWA5iU0j.d.ts → types-BTy_FFSu.d.ts} +2 -2
- package/dist/{types-B1GN_I06.d.ts → types-BWYtQkHu.d.ts} +2 -2
- package/dist/types-BXHZQvGy.d.ts +2111 -0
- package/dist/{types-Btb8r9iw.d.ts → types-BYFU_6Iz.d.ts} +95 -26
- package/dist/{types-Nwq1QtYe.d.ts → types-BaqdM92a.d.ts} +3 -4
- package/dist/{types-CFurl1xe.d.cts → types-BbwrMl0Q.d.cts} +2 -2
- package/dist/{types-Br04cEri.d.ts → types-Bt8CEZ6K.d.ts} +2 -2
- package/dist/types-BtS3DhGu.d.cts +2111 -0
- package/dist/{types-CaBhH99H.d.ts → types-C-GSYDTN.d.ts} +3 -3
- package/dist/{types-BGICH80a.d.cts → types-C4eQ-Zcx.d.cts} +2 -2
- package/dist/{types-BTqxM-IN.d.ts → types-C9VaQSqV.d.ts} +2 -2
- package/dist/{types-C05ALlV6.d.cts → types-CNkQuWnO.d.cts} +3 -3
- package/dist/{types-DMWfdZ5C.d.cts → types-CXv_e6xC.d.cts} +2 -2
- package/dist/{types-C8oZX0oP.d.cts → types-C_raqbl-.d.cts} +3 -3
- package/dist/{types-BtII5RSD.d.ts → types-Cc4yTEdK.d.ts} +11 -3
- package/dist/{types-BoNqe_Lz.d.ts → types-Ce5Blzhg.d.ts} +2 -2
- package/dist/{types-UI2aZ74n.d.ts → types-CfZLdfAL.d.ts} +3 -3
- package/dist/{types-sg2xnYlr.d.cts → types-Cfc-fYbq.d.cts} +95 -26
- package/dist/{types-C4yryy-R.d.ts → types-Cn8I0vcr.d.ts} +3 -3
- package/dist/{types-DQauEri3.d.ts → types-CpWE6Yg2.d.ts} +2 -2
- package/dist/{types-XHNJRi3-.d.cts → types-CrJIILXf.d.cts} +2 -2
- package/dist/{types-DHdXufVf.d.cts → types-CwGbiMF-.d.cts} +3 -3
- package/dist/{types-fAqPUl-a.d.ts → types-CwQ8_n8q.d.ts} +320 -43
- package/dist/{types-BksK2Eo0.d.cts → types-D3H3EAre.d.ts} +2 -2
- package/dist/{types-CyO8qCKl.d.cts → types-D3mj56iq.d.cts} +2 -2
- package/dist/{types-YdE2VJzw.d.cts → types-D8d5tyGi.d.cts} +2 -2
- package/dist/{types-Csmy6qFk.d.cts → types-DMpiG2q4.d.cts} +3 -3
- package/dist/{types-ggpJFEWZ.d.cts → types-DSBrhK_K.d.cts} +2 -2
- package/dist/{types-5HdT1rSH.d.cts → types-DXF6faow.d.cts} +2 -2
- package/dist/{types-DDjp9lXD.d.ts → types-DfJP6Dti.d.ts} +2 -2
- package/dist/{types-DSv1XS7s.d.ts → types-DgOLSRiy.d.ts} +3 -3
- package/dist/{types-tJLoKlMX.d.cts → types-DlgqPU_4.d.cts} +2 -2
- package/dist/{types-sI3K5t3w.d.cts → types-Dn1G-qv4.d.cts} +320 -43
- package/dist/{types--owScV0r.d.cts → types-EkyQ0_10.d.cts} +11 -3
- package/dist/{types-LxDyOfdY.d.cts → types-EmIcG-8K.d.cts} +2 -2
- package/dist/{types-DGu-wPPm.d.cts → types-NSxpnYW5.d.cts} +50 -3
- package/dist/{types-Dvysi2Eo.d.ts → types-QPW-7dPm.d.ts} +2 -2
- package/dist/{types-BE7mRarT.d.ts → types-UySfduQo.d.ts} +2 -2
- package/dist/{types-BHxsCu0f.d.ts → types-VehpPOQX.d.ts} +2 -2
- package/dist/{types-DiE081mn.d.ts → types-Vu09EUZs.d.ts} +3 -3
- package/dist/{types-CoQET4Ep.d.ts → types-c4h2YDMC.d.ts} +2 -2
- package/dist/{types-BuKviWct.d.ts → types-sOM2_KPc.d.cts} +2 -2
- package/dist/{types-DUDQg4ry.d.cts → types-wNuJUhco.d.cts} +3 -4
- package/dist/{validateConnectionStatus-DR-0h35y.cjs → validateConnectionStatus-BalWEyRk.cjs} +3 -3
- package/dist/{validateConnectionStatus-DR-0h35y.cjs.map → validateConnectionStatus-BalWEyRk.cjs.map} +1 -1
- package/dist/{validateConnectionStatus-CdTV3gsP.js → validateConnectionStatus-DyrYpn0G.js} +3 -3
- package/dist/{validateConnectionStatus-CdTV3gsP.js.map → validateConnectionStatus-DyrYpn0G.js.map} +1 -1
- package/dist/vault/index.cjs +6 -6
- package/dist/vault/index.cjs.map +1 -1
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +6 -6
- package/dist/vault/index.js.map +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +27 -1
- package/surface/ai.md +0 -1
- package/surface/apps.md +5 -5
- package/surface/auth.md +2 -0
- package/surface/chat.md +2 -2
- package/surface/componentsMcp.md +9 -0
- package/surface/dataScience.md +2 -2
- package/surface/kaiAgent.md +5 -4
- package/surface/management.md +5 -2
- package/surface/oauth.md +1 -0
- package/surface/queryService.md +4 -4
- package/surface/queue.md +2 -2
- package/surface/sdk.md +0 -24
- package/surface/storage.md +88 -57
- package/dist/QueryJobTimeoutError-C7JbNGOM.js +0 -38
- package/dist/QueryJobTimeoutError-C7JbNGOM.js.map +0 -1
- package/dist/QueryJobTimeoutError-CVNPdCWX.cjs.map +0 -1
- package/dist/authClient-CACOwVt0.js.map +0 -1
- package/dist/authClient-DZcAR-eW.cjs.map +0 -1
- package/dist/collect-97WhfEpt.js.map +0 -1
- package/dist/collect-B5TCNiT1.cjs.map +0 -1
- package/dist/configurations-BTRHVSRq.cjs.map +0 -1
- package/dist/configurations-Chg_JwJ1.js.map +0 -1
- package/dist/constants-BDGRQqij.cjs.map +0 -1
- package/dist/constants-Cifrqsls.js.map +0 -1
- package/dist/createFetchClient-ClWD4ua3.cjs.map +0 -1
- package/dist/createFetchClient-DITkTV2k.js.map +0 -1
- package/dist/index-BzhLY7el.d.cts +0 -254
- package/dist/index-CH5Sg3rk.d.ts +0 -77
- package/dist/index-CiwWDu-q.d.cts +0 -16
- package/dist/index-DCAnnlcL.d.ts +0 -16
- package/dist/index-DQwjlSJi.d.cts +0 -77
- package/dist/index-PyTPrtaL.d.ts +0 -254
- package/dist/jobStatus-B0E-MZ9I.cjs.map +0 -1
- package/dist/jobStatus-BJdbZ72V.js.map +0 -1
- package/dist/kaiAgent-BhcUsBDk.cjs.map +0 -1
- package/dist/kaiAgent-CUeT53-K.js.map +0 -1
- package/dist/management-0cWVLHei.cjs.map +0 -1
- package/dist/management-eg4Ig-Cx.js.map +0 -1
- package/dist/middleware-D_p5TctO.cjs.map +0 -1
- package/dist/middleware-DmR6OhTY.js.map +0 -1
- package/dist/project-BN7YRWFS.d.cts +0 -24
- package/dist/project-BpWTnoQ_.d.ts +0 -24
- package/dist/queryService-Blfz59Ms.js.map +0 -1
- package/dist/queryService-RlNYw7LG.cjs.map +0 -1
- package/dist/queue-BrgRdtOr.cjs.map +0 -1
- package/dist/queue-CNvR-M23.js.map +0 -1
- package/dist/serviceIds-DRcoTnSd.d.cts +0 -32
- package/dist/serviceIds-DRcoTnSd.d.ts +0 -32
- package/dist/storage-76Sf_z_H.cjs.map +0 -1
- package/dist/storage-RkNaOFJ-.js.map +0 -1
- package/dist/types-1B3ioN33.d.cts +0 -1868
- package/dist/types-BjIuVrAZ.d.ts +0 -66
- package/dist/types-CGhu0tID.d.cts +0 -1298
- package/dist/types-CclheyE7.d.cts +0 -66
- package/dist/types-M9vU_ONp.d.ts +0 -1868
- package/dist/types-P_61P9Nd.d.ts +0 -1298
- package/dist/types-j30rKMe6.d.ts +0 -957
- package/dist/types-q5lgElyc.d.cts +0 -957
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/auth/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -3764,9 +3764,17 @@ type GetDeviceAuthorizationTokenResult = OpenapiReturnType<paths['/v1/auth/devic
|
|
|
3764
3764
|
type LoginBody = OpenapiBodyType<paths['/v1/auth/login']['post']>;
|
|
3765
3765
|
//#endregion
|
|
3766
3766
|
//#region src/clients/auth/me/types.d.ts
|
|
3767
|
+
type MeResult = OpenapiReturnType<paths['/v1/auth/me']['get']>;
|
|
3768
|
+
type MeUser = OpenapiReturnType<paths['/v1/auth/me']['get']>['user'];
|
|
3769
|
+
type MeOrganization = OpenapiReturnType<paths['/v1/auth/me']['get']>['organizations']['preview'][number];
|
|
3770
|
+
type MeMaintainer = OpenapiReturnType<paths['/v1/auth/me']['get']>['maintainers']['preview'][number];
|
|
3771
|
+
type MeProject = OpenapiReturnType<paths['/v1/auth/me']['get']>['projects']['preview'][number];
|
|
3767
3772
|
type GetMeOrganizationsQuery = OpenapiQueryType<paths['/v1/auth/me/organizations']['get']>;
|
|
3773
|
+
type GetMeOrganizationsResult = OpenapiReturnType<paths['/v1/auth/me/organizations']['get']>;
|
|
3768
3774
|
type GetMeMaintainersQuery = OpenapiQueryType<paths['/v1/auth/me/maintainers']['get']>;
|
|
3775
|
+
type GetMeMaintainersResult = OpenapiReturnType<paths['/v1/auth/me/maintainers']['get']>;
|
|
3769
3776
|
type GetMeProjectsQuery = OpenapiQueryType<paths['/v1/auth/me/projects']['get']>;
|
|
3777
|
+
type GetMeProjectsResult = OpenapiReturnType<paths['/v1/auth/me/projects']['get']>;
|
|
3770
3778
|
//#endregion
|
|
3771
3779
|
//#region src/clients/auth/mfa/types.d.ts
|
|
3772
3780
|
type VerifyMfaBody = OpenapiBodyType<paths['/v1/auth/mfa']['post']>;
|
|
@@ -3871,5 +3879,5 @@ type RemoveWebauthnPath = OpenapiPathType<paths['/v1/auth/webauthn/{id}']['delet
|
|
|
3871
3879
|
type RemoveWebauthnQuery = NonNullable<OpenapiQueryType<paths['/v1/auth/webauthn/{id}']['delete']>>;
|
|
3872
3880
|
type RemoveWebauthnInput = RemoveWebauthnPath & RemoveWebauthnQuery;
|
|
3873
3881
|
//#endregion
|
|
3874
|
-
export { PatScopeInput as A,
|
|
3875
|
-
//# sourceMappingURL=types
|
|
3882
|
+
export { CreateDeviceAuthorizationBody as $, PatScopeInput as A, GetMeMaintainersResult as B, GetPkceTokenResult as C, ExchangePatBodyRaw as D, CreatePatResult as E, TotpVerifyResult as F, MeMaintainer as G, GetMeOrganizationsResult as H, VerifyMfaBody as I, MeResult as J, MeOrganization as K, VerifyMfaResult as L, DisableTotpPath as M, RegenerateRecoveryCodesResult as N, ExchangePatInput as O, TotpSetupResult as P, ApproveDeviceAuthorizationResult as Q, VerifyMfaType as R, GetPkceTokenBody as S, CreatePatInput as T, GetMeProjectsQuery as U, GetMeOrganizationsQuery as V, GetMeProjectsResult as W, LoginBody as X, MeUser as Y, ApproveDeviceAuthorizationBody as Z, RevokeSessionPath as _, RemoveWebauthnInput as a, InitiateSamlBody as b, IntrospectTokenResult as c, RefreshTokenResult as d, CreateDeviceAuthorizationResult as et, RevokeTokenBody as f, SudoResult as g, SudoChallengeResult as h, RegisterWebauthnResult as i, paths as it, RevokePatPath as j, ListPatsResult as k, RefreshTokenBody as l, SudoBodyRaw as m, RegisterWebauthnInput as n, GetDeviceAuthorizationTokenResult as nt, RemoveWebauthnPath as o, SudoBody as p, MeProject as q, RegisterWebauthnOptionsResult as r, components as rt, RemoveWebauthnQuery as s, ListWebauthnCredentialsResult as t, GetDeviceAuthorizationTokenBody as tt, RefreshTokenPartialBody as u, AssertSamlBody as v, CreatePatBodyRaw as w, InitiateSamlResult as x, AssertSamlResult as y, GetMeMaintainersQuery as z };
|
|
3883
|
+
//# sourceMappingURL=types-EkyQ0_10.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/telemetry/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -286,4 +286,4 @@ type GetProvisioningTokenBody = NonNullable<OpenapiBodyType<paths['/token']['pos
|
|
|
286
286
|
type ProvisioningToken = OpenapiReturnType<paths['/token']['post']>;
|
|
287
287
|
//#endregion
|
|
288
288
|
export { ProvisioningToken as n, GetProvisioningTokenBody as t };
|
|
289
|
-
//# sourceMappingURL=types-
|
|
289
|
+
//# sourceMappingURL=types-EmIcG-8K.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/kaiAgent/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -264,6 +264,49 @@ type paths = {
|
|
|
264
264
|
bucketId: string;
|
|
265
265
|
fileName: string;
|
|
266
266
|
}[];
|
|
267
|
+
previewSelections?: {
|
|
268
|
+
source: string | null;
|
|
269
|
+
sourceTrail: string[];
|
|
270
|
+
selector: string;
|
|
271
|
+
tag: string;
|
|
272
|
+
text: string;
|
|
273
|
+
html: string;
|
|
274
|
+
rect: {
|
|
275
|
+
x: number;
|
|
276
|
+
y: number;
|
|
277
|
+
width: number;
|
|
278
|
+
height: number;
|
|
279
|
+
};
|
|
280
|
+
page: string;
|
|
281
|
+
viewport: {
|
|
282
|
+
width: number;
|
|
283
|
+
height: number;
|
|
284
|
+
};
|
|
285
|
+
area?: {
|
|
286
|
+
inside: {
|
|
287
|
+
source: string | null;
|
|
288
|
+
tag: string;
|
|
289
|
+
text: string;
|
|
290
|
+
}[];
|
|
291
|
+
within: {
|
|
292
|
+
source: string | null;
|
|
293
|
+
tag: string;
|
|
294
|
+
text: string;
|
|
295
|
+
} | null;
|
|
296
|
+
above: {
|
|
297
|
+
source: string | null;
|
|
298
|
+
tag: string;
|
|
299
|
+
text: string;
|
|
300
|
+
} | null;
|
|
301
|
+
below: {
|
|
302
|
+
source: string | null;
|
|
303
|
+
tag: string;
|
|
304
|
+
text: string;
|
|
305
|
+
} | null;
|
|
306
|
+
};
|
|
307
|
+
}[];
|
|
308
|
+
/** @enum {string} */
|
|
309
|
+
previewIntent?: 'data-source';
|
|
267
310
|
};
|
|
268
311
|
};
|
|
269
312
|
selectedChatModel?: string;
|
|
@@ -282,6 +325,10 @@ type paths = {
|
|
|
282
325
|
supportsApprovalRequestedEvent?: boolean;
|
|
283
326
|
/** @enum {string} */
|
|
284
327
|
client?: 'kbc-ui' | 'business-chat';
|
|
328
|
+
gitCredential?: {
|
|
329
|
+
repository: string;
|
|
330
|
+
token: string;
|
|
331
|
+
};
|
|
285
332
|
};
|
|
286
333
|
};
|
|
287
334
|
};
|
|
@@ -1006,7 +1053,7 @@ type paths = {
|
|
|
1006
1053
|
errorText?: string;
|
|
1007
1054
|
approval?: {
|
|
1008
1055
|
id: string;
|
|
1009
|
-
approved
|
|
1056
|
+
approved?: boolean;
|
|
1010
1057
|
reason?: string;
|
|
1011
1058
|
};
|
|
1012
1059
|
})[];
|
|
@@ -4289,4 +4336,4 @@ type ArtifactResponse = OpenapiReturnType<paths['/api/artifacts/{id}']['get']>;
|
|
|
4289
4336
|
type ArtifactListResponse = OpenapiReturnType<paths['/api/artifacts']['get']>;
|
|
4290
4337
|
//#endregion
|
|
4291
4338
|
export { ChatWithMessages as a, GetChatPath as c, PrepareChatRequest as d, UsageResponse as f, ChatRequest as i, GetHistoryQuery as l, ArtifactListResponse as n, GetArtifactPath as o, VoteRequest as p, ArtifactResponse as r, GetArtifactsQuery as s, ApprovalBody as t, GetVotesQuery as u };
|
|
4292
|
-
//# sourceMappingURL=types-
|
|
4339
|
+
//# sourceMappingURL=types-NSxpnYW5.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-sDHBkJhU.js";
|
|
2
2
|
//#region src/clients/telemetry/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -286,4 +286,4 @@ type GetProvisioningTokenBody = NonNullable<OpenapiBodyType<paths['/token']['pos
|
|
|
286
286
|
type ProvisioningToken = OpenapiReturnType<paths['/token']['post']>;
|
|
287
287
|
//#endregion
|
|
288
288
|
export { ProvisioningToken as n, GetProvisioningTokenBody as t };
|
|
289
|
-
//# sourceMappingURL=types-
|
|
289
|
+
//# sourceMappingURL=types-QPW-7dPm.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
|
|
2
2
|
//#region src/clients/vault/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -392,4 +392,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
|
|
|
392
392
|
type AnyVariable = VariableWithHash | CreateVariableBody;
|
|
393
393
|
//#endregion
|
|
394
394
|
export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
|
|
395
|
-
//# sourceMappingURL=types-
|
|
395
|
+
//# sourceMappingURL=types-UySfduQo.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as OpenapiBodyType } from "./index-
|
|
1
|
+
import { r as OpenapiBodyType } from "./index-sDHBkJhU.js";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
//#region src/clients/syncActions/schemas.d.ts
|
|
4
4
|
/** The Keboola-side context every sync action carries; namespaces extend it with their own fields. */
|
|
@@ -1310,4 +1310,4 @@ declare const buildOauthAuthorization: (credentials: OauthCredentials) => {
|
|
|
1310
1310
|
type PostActionsBodyRaw = OpenapiBodyType<paths['/actions']['post']>;
|
|
1311
1311
|
//#endregion
|
|
1312
1312
|
export { GitBranch as $, ConfigurationMigrationStatus as $t, GoogleSheetsTable as A, flowMigrationPreviewResultSchema as At, GoogleAnalyticsGetProfilesPropertiesInput as B, FacebookComponentId as Bt, oneDriveSearchFilesResultSchema as C, genericExtractorPerformFunctionResultSchema as Ct, testLookerCredentialsInputSchema as D, FlowMigrationPreviewResult as Dt, lookerCredentialsResultSchema as E, FlowMigrationInput as Et, GoogleDriveCreateFileInput as F, FacebookGetAccountsInput as Ft, GoogleAnalyticsProperty as G, DbtActionInput as Gt, GoogleAnalyticsGetPropertiesMetadataInput as H, GetEmailAttachmentsEmailInput as Ht, GoogleDriveFile as I, facebookAccountsSchema as It, googleAnalyticsGetPropertiesMetadataInputSchema as J, dbtActionInputSchema as Jt, googleAnalyticsGetProfilesPropertiesInputSchema as K, DbtCompiled as Kt, GoogleDriveTable as L, facebookGetAccountsInputSchema as Lt, googleSheetsAddSheetResultSchema as M, flowMigrationValidationResultSchema as Mt, googleSheetsCreateSpreadsheetResultSchema as N, flowMigrationValidationResultsSchema as Nt, GoogleSheetsSheet as O, FlowMigrationValidationResult as Ot, googleSheetsTableActionInputSchema as P, FacebookAccount as Pt, GitAuth as Q, dbtRunResultsSchema as Qt, googleDriveCreateFileInputSchema as R, FACEBOOK_ACCOUNTS_ACTION as Rt, oneDriveSearchFilesInputSchema as S, syncActionContextSchema as Sn, genericExtractorPerformFunctionInputSchema as St, TestLookerCredentialsInput as T, genericExtractorTestRequestResultSchema as Tt, GoogleAnalyticsGetPropertiesMetadataResult as U, emailAttachmentsEmailSchema as Ut, GoogleAnalyticsGetProfilesPropertiesResult as V, isFacebookComponentId as Vt, GoogleAnalyticsProfile as W, getEmailAttachmentsEmailInputSchema as Wt, GetBranchesInput as X, dbtDocsSchema as Xt, googleAnalyticsGetPropertiesMetadataResultSchema as Y, dbtCompiledSchema as Yt, GetEntrypointsInput as Z, dbtModelTimingSchema as Zt, oneDriveCreateWorkbookResultSchema as _, apifyObjectsSchema as _n, GenericExtractorTestRequestResult as _t, SshKeyPair as a, PreparedRow as an, gitEntrypointsSchema as at, oneDriveGetWorksheetsInputSchema as b, SyncActionContext as bn, genericExtractorLoadFromCurlInputSchema as bt, snowflakeDwhManagerUserActionInputSchema as c, preparedRowsSchema as cn, GIT_FAMILY as ct, OneDriveCreateWorksheetInput as d, CodePatternGenerateResult as dn, GenericExtractorInferMappingInput as dt, GetConfigurationMigrationStatusInput as en, GitEntrypoints as et, OneDriveFile as f, codePatternGenerateInputSchema as fn, GenericExtractorJob as ft, oneDriveCreateWorkbookInputSchema as g, apifyObjectsInputSchema as gn, GenericExtractorTestRequestInput as gt, OneDriveWorksheet as h, ApifyObjectsInput as hn, GenericExtractorPerformFunctionInput as ht, oauthCredentialsSchema as i, CommonActionInput as in, gitBranchesSchema as it, GoogleSheetsTableActionInput as j, flowMigrationPreviewResultsSchema as jt, GoogleSheetsSpreadsheet as k, flowMigrationInputSchema as kt, snowflakeDwhManagerUserActionResultSchema as l, testConnectionResultSchema as ln, GitComponentId as lt, OneDriveSearchFilesInput as m, ApifyObject as mn, GenericExtractorMapping as mt, OauthCredentials as n, getConfigurationMigrationStatusInputSchema as nn, getEntrypointsInputSchema as nt, sshKeyPairSchema as o, TestConnectionResult as on, DATA_APP_FAMILY as ot, OneDriveGetWorksheetsInput as p, codePatternGenerateResultSchema as pn, GenericExtractorLoadFromCurlInput as pt, googleAnalyticsGetProfilesPropertiesResultSchema as q, DbtModelTiming as qt, buildOauthAuthorization as r, getConfigurationMigrationStatusResultSchema as rn, gitAuthSchema as rt, SnowflakeDwhManagerUserActionInput as s, commonActionInputSchema as sn, DataAppComponentId as st, PostActionsBodyRaw as t, configurationMigrationStatusSchema as tn, getBranchesInputSchema as tt, OneDriveCreateWorkbookInput as u, CodePatternGenerateInput as un, isDataAppFamily as ut, oneDriveCreateWorksheetInputSchema as v, paths as vn, genericExtractorInferMappingInputSchema as vt, LookerCredentialsResult as w, genericExtractorTestRequestInputSchema as wt, oneDriveGetWorksheetsResultSchema as x, syncActionBodySchema as xn, genericExtractorMappingSchema as xt, oneDriveCreateWorksheetResultSchema as y, SyncActionBody as yn, genericExtractorJobSchema as yt, googleDriveCreateFileResultSchema as z, FACEBOOK_FAMILY as zt };
|
|
1313
|
-
//# sourceMappingURL=types-
|
|
1313
|
+
//# sourceMappingURL=types-VehpPOQX.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as CreateMetaObjectInput } from "./types-
|
|
2
|
-
import { n as createMetastoreClient } from "./index-
|
|
1
|
+
import { i as CreateMetaObjectInput } from "./types-C9VaQSqV.js";
|
|
2
|
+
import { n as createMetastoreClient } from "./index-CIqWOEWD.js";
|
|
3
3
|
//#region src/sdks/semanticLayer/vocabulary.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The closed value sets the metastore accepts on a semantic object.
|
|
@@ -199,4 +199,4 @@ type SemanticUnreadableObjectRef = {
|
|
|
199
199
|
};
|
|
200
200
|
//#endregion
|
|
201
201
|
export { CONSTRAINT_TYPES as A, SemanticRuleExpression as C, UpdateSemanticObjectMeta as D, SemanticValidationQuery as E, SQL_DIALECTS as F, RELATIONSHIP_JOIN_TYPES as M, RULE_OPERATORS as N, CONSTRAINT_SCOPES as O, SEMANTIC_OBJECT_SCOPES as P, SemanticRelationshipJoinType as S, SemanticUnreadableObjectRef as T, SemanticObject as _, SemanticChildObjectType as a, SemanticObjectType as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelData as g, SemanticModelChildRef as h, SemanticChildObjectDataMap as i, FIELD_ROLES as j, CONSTRAINT_SEVERITIES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObjectMeta as v, SemanticRuleOperator as w, SemanticRelationshipData as x, SemanticObjectScope as y };
|
|
202
|
-
//# sourceMappingURL=types-
|
|
202
|
+
//# sourceMappingURL=types-Vu09EUZs.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType } from "./index-sDHBkJhU.js";
|
|
2
2
|
//#region src/clients/stream/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -7521,4 +7521,4 @@ type SinkStatisticsFilesQuery = OpenapiQueryType<paths['/v1/branches/{branchId}/
|
|
|
7521
7521
|
type TestSourceQuery = OpenapiQueryType<paths['/v1/branches/{branchId}/sources/{sourceId}/test']['post']>;
|
|
7522
7522
|
//#endregion
|
|
7523
7523
|
export { UpdateSinkSettingsRequestBody as C, components as E, UpdateSinkRequestBody as S, UpdateSourceSettingsRequestBody as T, TableColumn as _, OTLPSource as a, TestResult as b, SettingsResult as c, SinkStatisticsFilesQuery as d, SinkStatisticsFilesResult as f, SourcesList as g, Source as h, OTLPSignal as i, Sink as l, SinksList as m, CreateSourceRequestBody as n, PaginationQuery as o, SinkStatisticsTotalResult as p, DeleteSourceQuery as r, SettingResult as s, CreateSinkRequestBody as t, SinkFile as u, TableSinkCreate as v, UpdateSourceRequestBody as w, TestSourceQuery as x, Task as y };
|
|
7524
|
-
//# sourceMappingURL=types-
|
|
7524
|
+
//# sourceMappingURL=types-c4h2YDMC.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ii as BaseUrl, oi as MiddlewareFn } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/auth.d.ts
|
|
3
3
|
type AuthStrategy = {
|
|
4
4
|
type: 'sapi-token';
|
|
@@ -20,4 +20,4 @@ type ClientInitOptions = {
|
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ClientInitOptions as n, AuthStrategy as r, BaseClientOptions as t };
|
|
23
|
-
//# sourceMappingURL=types-
|
|
23
|
+
//# sourceMappingURL=types-sOM2_KPc.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/ai/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -852,7 +852,6 @@ interface operations {
|
|
|
852
852
|
//#region src/clients/ai/types.d.ts
|
|
853
853
|
type DescribeConfigurationVersionBody = OpenapiBodyType<paths['/describe/configuration-version']['post']>;
|
|
854
854
|
type DescribeConfigurationMergeBody = OpenapiBodyType<paths['/describe/configuration-merge']['post']>;
|
|
855
|
-
type FeedbackBody = OpenapiBodyType<paths['/feedback']['post']>;
|
|
856
855
|
type ExplainErrorBody = OpenapiBodyType<paths['/explain']['post']>;
|
|
857
856
|
type ErrorExplanation = OpenapiReturnType<paths['/explain']['post']>;
|
|
858
857
|
type SuggestComponentBody = OpenapiBodyType<paths['/suggest/component']['post']>;
|
|
@@ -863,5 +862,5 @@ type DocsQuestionBody = OpenapiBodyType<paths['/docs/question']['post']>;
|
|
|
863
862
|
type DocsAnswer = OpenapiReturnType<paths['/docs/question']['post']>;
|
|
864
863
|
type ComponentDocsDetail = OpenapiReturnType<paths['/docs/components/{componentId}']['get']>;
|
|
865
864
|
//#endregion
|
|
866
|
-
export { DescribeConfigurationVersionBody as a, ErrorExplanation as c,
|
|
867
|
-
//# sourceMappingURL=types-
|
|
865
|
+
export { DescribeConfigurationVersionBody as a, ErrorExplanation as c, SuggestComponentBody as d, components as f, DescribeConfigurationMergeBody as i, ExplainErrorBody as l, ComponentSuggestion as n, DocsAnswer as o, DescribeConfigurationBody as r, DocsQuestionBody as s, ComponentDocsDetail as t, ObjectDescription as u };
|
|
866
|
+
//# sourceMappingURL=types-wNuJUhco.d.cts.map
|
package/dist/{validateConnectionStatus-DR-0h35y.cjs → validateConnectionStatus-BalWEyRk.cjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_createFetchClient = require("./createFetchClient-
|
|
2
|
-
const require_isLoginPageRedirect = require("./isLoginPageRedirect-
|
|
1
|
+
const require_createFetchClient = require("./createFetchClient-lZ_93Yrb.cjs");
|
|
2
|
+
const require_isLoginPageRedirect = require("./isLoginPageRedirect-r0Opgc1n.cjs");
|
|
3
3
|
//#region src/errors/HtmlResponseError.ts
|
|
4
4
|
/**
|
|
5
5
|
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
@@ -50,4 +50,4 @@ Object.defineProperty(exports, "validateConnectionStatus", {
|
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
//# sourceMappingURL=validateConnectionStatus-
|
|
53
|
+
//# sourceMappingURL=validateConnectionStatus-BalWEyRk.cjs.map
|
package/dist/{validateConnectionStatus-DR-0h35y.cjs.map → validateConnectionStatus-BalWEyRk.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateConnectionStatus-
|
|
1
|
+
{"version":3,"file":"validateConnectionStatus-BalWEyRk.cjs","names":["ApiError","defaultValidateStatus","isLoginPageRedirect"],"sources":["../src/errors/HtmlResponseError.ts","../src/clients/validateConnectionStatus.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\n/**\n * A successful response that carried an HTML page instead of the endpoint's payload.\n *\n * - An expired session 302s to the login page; `fetch` follows it to `200 text/html`.\n * - Constant message so Sentry groups it; `request`/`response` carry the detail.\n * - Opt-in per client: some APIs serve HTML from a 200 on purpose.\n */\nexport class HtmlResponseError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\n this.name = 'HtmlResponseError';\n this.message = 'Expected data, got an HTML page. The session has most likely expired.';\n }\n}\n\nexport const isHtmlResponseError = (error: unknown): error is HtmlResponseError =>\n error instanceof HtmlResponseError;\n","import { HtmlResponseError } from '../errors';\nimport { defaultValidateStatus, type ValidateStatusFn } from '../fetchClient';\n\nimport { isLoginPageRedirect } from './isLoginPageRedirect';\n\n/**\n * Status validation for the APIs Connection serves off its own host — storage and auth.\n *\n * - Rejects a successful login page; `HtmlResponseError` says why.\n * - HTML on a *failed* response is a real error page and stays an `ApiError`.\n * - Management answers the same condition with its own session-expiry error instead.\n */\nexport const validateConnectionStatus: ValidateStatusFn = (apiResponse) => {\n const isValid = defaultValidateStatus(apiResponse);\n\n if (isValid && isLoginPageRedirect(apiResponse)) {\n return new HtmlResponseError(apiResponse);\n }\n\n return isValid;\n};\n"],"mappings":";;;;;;;;;;AAWA,IAAa,oBAAb,cAAuCA,0BAAAA,SAAS;CAC9C,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,UAAU;CACjB;AACF;AAEA,MAAa,uBAAuB,UAClC,iBAAiB;;;;;;;;;;ACRnB,MAAa,4BAA8C,gBAAgB;CACzE,MAAM,UAAUC,0BAAAA,sBAAsB,WAAW;CAEjD,IAAI,WAAWC,4BAAAA,oBAAoB,WAAW,GAC5C,OAAO,IAAI,kBAAkB,WAAW;CAG1C,OAAO;AACT"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as defaultValidateStatus, p as ApiError } from "./createFetchClient-
|
|
2
|
-
import { t as isLoginPageRedirect } from "./isLoginPageRedirect-
|
|
1
|
+
import { c as defaultValidateStatus, p as ApiError } from "./createFetchClient-CkHdS_IG.js";
|
|
2
|
+
import { t as isLoginPageRedirect } from "./isLoginPageRedirect-B4QKSiSa.js";
|
|
3
3
|
//#region src/errors/HtmlResponseError.ts
|
|
4
4
|
/**
|
|
5
5
|
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
@@ -33,4 +33,4 @@ const validateConnectionStatus = (apiResponse) => {
|
|
|
33
33
|
//#endregion
|
|
34
34
|
export { HtmlResponseError as n, isHtmlResponseError as r, validateConnectionStatus as t };
|
|
35
35
|
|
|
36
|
-
//# sourceMappingURL=validateConnectionStatus-
|
|
36
|
+
//# sourceMappingURL=validateConnectionStatus-DyrYpn0G.js.map
|
package/dist/{validateConnectionStatus-CdTV3gsP.js.map → validateConnectionStatus-DyrYpn0G.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateConnectionStatus-
|
|
1
|
+
{"version":3,"file":"validateConnectionStatus-DyrYpn0G.js","names":[],"sources":["../src/errors/HtmlResponseError.ts","../src/clients/validateConnectionStatus.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\n/**\n * A successful response that carried an HTML page instead of the endpoint's payload.\n *\n * - An expired session 302s to the login page; `fetch` follows it to `200 text/html`.\n * - Constant message so Sentry groups it; `request`/`response` carry the detail.\n * - Opt-in per client: some APIs serve HTML from a 200 on purpose.\n */\nexport class HtmlResponseError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\n this.name = 'HtmlResponseError';\n this.message = 'Expected data, got an HTML page. The session has most likely expired.';\n }\n}\n\nexport const isHtmlResponseError = (error: unknown): error is HtmlResponseError =>\n error instanceof HtmlResponseError;\n","import { HtmlResponseError } from '../errors';\nimport { defaultValidateStatus, type ValidateStatusFn } from '../fetchClient';\n\nimport { isLoginPageRedirect } from './isLoginPageRedirect';\n\n/**\n * Status validation for the APIs Connection serves off its own host — storage and auth.\n *\n * - Rejects a successful login page; `HtmlResponseError` says why.\n * - HTML on a *failed* response is a real error page and stays an `ApiError`.\n * - Management answers the same condition with its own session-expiry error instead.\n */\nexport const validateConnectionStatus: ValidateStatusFn = (apiResponse) => {\n const isValid = defaultValidateStatus(apiResponse);\n\n if (isValid && isLoginPageRedirect(apiResponse)) {\n return new HtmlResponseError(apiResponse);\n }\n\n return isValid;\n};\n"],"mappings":";;;;;;;;;;AAWA,IAAa,oBAAb,cAAuC,SAAS;CAC9C,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,UAAU;CACjB;AACF;AAEA,MAAa,uBAAuB,UAClC,iBAAiB;;;;;;;;;;ACRnB,MAAa,4BAA8C,gBAAgB;CACzE,MAAM,UAAU,sBAAsB,WAAW;CAEjD,IAAI,WAAW,oBAAoB,WAAW,GAC5C,OAAO,IAAI,kBAAkB,WAAW;CAG1C,OAAO;AACT"}
|
package/dist/vault/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_collectByOffset = require("../collectByOffset-DQsqtmJg.cjs");
|
|
3
3
|
const require_UserError = require("../UserError-CSGO1qII.cjs");
|
|
4
|
-
require("../createFetchClient-
|
|
5
|
-
const require_createGenericFetchClient = require("../createGenericFetchClient-
|
|
6
|
-
const require_createOpenapiFetchClient = require("../createOpenapiFetchClient-
|
|
7
|
-
const require_auth = require("../auth-
|
|
4
|
+
require("../createFetchClient-lZ_93Yrb.cjs");
|
|
5
|
+
const require_createGenericFetchClient = require("../createGenericFetchClient-MOx97wi-.cjs");
|
|
6
|
+
const require_createOpenapiFetchClient = require("../createOpenapiFetchClient-DHYo_k3t.cjs");
|
|
7
|
+
const require_auth = require("../auth-C8Pjl0Mu.cjs");
|
|
8
8
|
//#region src/clients/vault/vaultClient.ts
|
|
9
9
|
/** The vault's maximum `limit` on `GET /variables`. */
|
|
10
10
|
const VARIABLES_PAGE_SIZE = 100;
|
|
@@ -36,7 +36,7 @@ const createVaultClient = ({ baseUrl, middlewares, auth }) => {
|
|
|
36
36
|
* - `null` is the project-wide scope: variables with no `branchId`.
|
|
37
37
|
* - A branch id returns that branch's variables only — project-wide ones are not merged in.
|
|
38
38
|
*/
|
|
39
|
-
const getVariablesInScope = (branchId, signal) =>
|
|
39
|
+
const getVariablesInScope = (branchId, signal) => require_collectByOffset.collectByOffset({
|
|
40
40
|
pageSize: VARIABLES_PAGE_SIZE,
|
|
41
41
|
signal,
|
|
42
42
|
fetchFrom: (offset, limit, pageSignal) => getVariables({
|
package/dist/vault/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["createOpenapiFetchClient","createAuthHeaders","createGenericFetchClient","UserError","
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["createOpenapiFetchClient","createAuthHeaders","createGenericFetchClient","UserError","collectByOffset"],"sources":["../../src/clients/vault/vaultClient.ts"],"sourcesContent":["import { UserError } from '../../errors';\nimport { createGenericFetchClient, createOpenapiFetchClient } from '../../fetchClient';\nimport { ENCRYPTED_VALUE_PREFIX } from '../../internal';\nimport { collectByOffset } from '../../utils';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type {\n CreateVariableBody,\n DeleteVariablePath,\n GetVariablesByBranchId,\n GetVariablesQuery,\n VariableWithHash,\n} from './types';\n\n/** The vault's maximum `limit` on `GET /variables`. */\nconst VARIABLES_PAGE_SIZE = 100;\n\nexport const createVaultClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n const genericClient = createGenericFetchClient({ baseUrl, middlewares });\n\n const getVariables = async (query: GetVariablesQuery, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/variables',\n { query },\n {\n signal,\n },\n );\n\n return data as VariableWithHash[];\n };\n\n const deleteVariable = async (hash: DeleteVariablePath['hash'], signal?: AbortSignal) => {\n await client.delete(\n '/variables/{hash}',\n {\n path: { hash },\n },\n { signal },\n );\n };\n\n const createVariable = async (body: CreateVariableBody, signal?: AbortSignal) => {\n if (body.flags.includes('encrypted') && !body.value.startsWith(ENCRYPTED_VALUE_PREFIX)) {\n throw new UserError('Encryption of a value failed. Please contact our support.');\n }\n const { data } = await client.post('/variables', { body }, { signal });\n return data;\n };\n\n /**\n * Every variable of exactly one scope, across all pages.\n *\n * - `null` is the project-wide scope: variables with no `branchId`.\n * - A branch id returns that branch's variables only — project-wide ones are not merged in.\n */\n const getVariablesInScope = (branchId: string | null, signal?: AbortSignal) =>\n collectByOffset({\n pageSize: VARIABLES_PAGE_SIZE,\n signal,\n fetchFrom: (offset, limit, pageSignal) =>\n getVariables({ attributes: { branchId: branchId ?? '' }, offset, limit }, pageSignal),\n });\n\n /**\n * What `vault.<key>` resolves to in a branch: its variables plus the project-wide ones.\n *\n * - One variable per key — a branch variable hides a project-wide one with the same key.\n * - Unpaginated: the vault returns at most 100 of each half.\n */\n const getVariablesByBranchId = async (\n branchId: GetVariablesByBranchId['branchId'],\n signal?: AbortSignal,\n ) => {\n const { data } = await client.get(\n '/variables/scoped/branch/{branchId}',\n {\n path: { branchId },\n },\n { signal },\n );\n return data as VariableWithHash[];\n };\n\n const getProjectWideVariables = (signal?: AbortSignal) => getVariablesInScope(null, signal);\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await genericClient.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthCheck,\n createVariable,\n deleteVariable,\n getProjectWideVariables,\n getVariables,\n getVariablesByBranchId,\n getVariablesInScope,\n };\n};\n"],"mappings":";;;;;;;;;AAiBA,MAAM,sBAAsB;AAE5B,MAAa,qBAAqB,EAAE,SAAS,aAAa,WAA8B;CACtF,MAAM,SAASA,iCAAAA,yBAAgC;EAC7C;EACA;EACA,SAASC,aAAAA,kBAAkB,IAAI;CACjC,CAAC;CACD,MAAM,gBAAgBC,iCAAAA,yBAAyB;EAAE;EAAS;CAAY,CAAC;CAEvE,MAAM,eAAe,OAAO,OAA0B,WAAyB;EAC7E,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,cACA,EAAE,MAAM,GACR,EACE,OACF,CACF;EAEA,OAAO;CACT;CAEA,MAAM,iBAAiB,OAAO,MAAkC,WAAyB;EACvF,MAAM,OAAO,OACX,qBACA,EACE,MAAM,EAAE,KAAK,EACf,GACA,EAAE,OAAO,CACX;CACF;CAEA,MAAM,iBAAiB,OAAO,MAA0B,WAAyB;EAC/E,IAAI,KAAK,MAAM,SAAS,WAAW,KAAK,CAAC,KAAK,MAAM,WAAA,OAAiC,GACnF,MAAM,IAAIC,kBAAAA,UAAU,2DAA2D;EAEjF,MAAM,EAAE,SAAS,MAAM,OAAO,KAAK,cAAc,EAAE,KAAK,GAAG,EAAE,OAAO,CAAC;EACrE,OAAO;CACT;;;;;;;CAQA,MAAM,uBAAuB,UAAyB,WACpDC,wBAAAA,gBAAgB;EACd,UAAU;EACV;EACA,YAAY,QAAQ,OAAO,eACzB,aAAa;GAAE,YAAY,EAAE,UAAU,YAAY,GAAG;GAAG;GAAQ;EAAM,GAAG,UAAU;CACxF,CAAC;;;;;;;CAQH,MAAM,yBAAyB,OAC7B,UACA,WACG;EACH,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,uCACA,EACE,MAAM,EAAE,SAAS,EACnB,GACA,EAAE,OAAO,CACX;EACA,OAAO;CACT;CAEA,MAAM,2BAA2B,WAAyB,oBAAoB,MAAM,MAAM;CAE1F,MAAM,cAAc,OAAO,WAAyB;EAClD,MAAM,EAAE,SAAS,MAAM,cAAc,IAAI,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC;EAExE,OAAO;CACT;CAEA,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
|
package/dist/vault/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createVaultClient } from "../index-
|
|
1
|
+
import { t as createVaultClient } from "../index-BCjU-g9t.cjs";
|
|
2
2
|
export { createVaultClient };
|
package/dist/vault/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createVaultClient } from "../index-
|
|
1
|
+
import { t as createVaultClient } from "../index-BTrxCk90.js";
|
|
2
2
|
export { createVaultClient };
|
package/dist/vault/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as collectByOffset } from "../collectByOffset-2XzJqmvr.js";
|
|
2
2
|
import { t as UserError } from "../UserError-By_Zckmc.js";
|
|
3
|
-
import "../createFetchClient-
|
|
4
|
-
import { t as createGenericFetchClient } from "../createGenericFetchClient-
|
|
5
|
-
import { t as createOpenapiFetchClient } from "../createOpenapiFetchClient-
|
|
6
|
-
import { t as createAuthHeaders } from "../auth-
|
|
3
|
+
import "../createFetchClient-CkHdS_IG.js";
|
|
4
|
+
import { t as createGenericFetchClient } from "../createGenericFetchClient-CQdNcPC3.js";
|
|
5
|
+
import { t as createOpenapiFetchClient } from "../createOpenapiFetchClient-DXiMv9WL.js";
|
|
6
|
+
import { t as createAuthHeaders } from "../auth-4coY1uwo.js";
|
|
7
7
|
//#region src/clients/vault/vaultClient.ts
|
|
8
8
|
/** The vault's maximum `limit` on `GET /variables`. */
|
|
9
9
|
const VARIABLES_PAGE_SIZE = 100;
|
|
@@ -35,7 +35,7 @@ const createVaultClient = ({ baseUrl, middlewares, auth }) => {
|
|
|
35
35
|
* - `null` is the project-wide scope: variables with no `branchId`.
|
|
36
36
|
* - A branch id returns that branch's variables only — project-wide ones are not merged in.
|
|
37
37
|
*/
|
|
38
|
-
const getVariablesInScope = (branchId, signal) =>
|
|
38
|
+
const getVariablesInScope = (branchId, signal) => collectByOffset({
|
|
39
39
|
pageSize: VARIABLES_PAGE_SIZE,
|
|
40
40
|
signal,
|
|
41
41
|
fetchFrom: (offset, limit, pageSignal) => getVariables({
|
package/dist/vault/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/clients/vault/vaultClient.ts"],"sourcesContent":["import { UserError } from '../../errors';\nimport { createGenericFetchClient, createOpenapiFetchClient } from '../../fetchClient';\nimport { ENCRYPTED_VALUE_PREFIX } from '../../internal';\nimport {
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/clients/vault/vaultClient.ts"],"sourcesContent":["import { UserError } from '../../errors';\nimport { createGenericFetchClient, createOpenapiFetchClient } from '../../fetchClient';\nimport { ENCRYPTED_VALUE_PREFIX } from '../../internal';\nimport { collectByOffset } from '../../utils';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type {\n CreateVariableBody,\n DeleteVariablePath,\n GetVariablesByBranchId,\n GetVariablesQuery,\n VariableWithHash,\n} from './types';\n\n/** The vault's maximum `limit` on `GET /variables`. */\nconst VARIABLES_PAGE_SIZE = 100;\n\nexport const createVaultClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n const genericClient = createGenericFetchClient({ baseUrl, middlewares });\n\n const getVariables = async (query: GetVariablesQuery, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/variables',\n { query },\n {\n signal,\n },\n );\n\n return data as VariableWithHash[];\n };\n\n const deleteVariable = async (hash: DeleteVariablePath['hash'], signal?: AbortSignal) => {\n await client.delete(\n '/variables/{hash}',\n {\n path: { hash },\n },\n { signal },\n );\n };\n\n const createVariable = async (body: CreateVariableBody, signal?: AbortSignal) => {\n if (body.flags.includes('encrypted') && !body.value.startsWith(ENCRYPTED_VALUE_PREFIX)) {\n throw new UserError('Encryption of a value failed. Please contact our support.');\n }\n const { data } = await client.post('/variables', { body }, { signal });\n return data;\n };\n\n /**\n * Every variable of exactly one scope, across all pages.\n *\n * - `null` is the project-wide scope: variables with no `branchId`.\n * - A branch id returns that branch's variables only — project-wide ones are not merged in.\n */\n const getVariablesInScope = (branchId: string | null, signal?: AbortSignal) =>\n collectByOffset({\n pageSize: VARIABLES_PAGE_SIZE,\n signal,\n fetchFrom: (offset, limit, pageSignal) =>\n getVariables({ attributes: { branchId: branchId ?? '' }, offset, limit }, pageSignal),\n });\n\n /**\n * What `vault.<key>` resolves to in a branch: its variables plus the project-wide ones.\n *\n * - One variable per key — a branch variable hides a project-wide one with the same key.\n * - Unpaginated: the vault returns at most 100 of each half.\n */\n const getVariablesByBranchId = async (\n branchId: GetVariablesByBranchId['branchId'],\n signal?: AbortSignal,\n ) => {\n const { data } = await client.get(\n '/variables/scoped/branch/{branchId}',\n {\n path: { branchId },\n },\n { signal },\n );\n return data as VariableWithHash[];\n };\n\n const getProjectWideVariables = (signal?: AbortSignal) => getVariablesInScope(null, signal);\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await genericClient.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthCheck,\n createVariable,\n deleteVariable,\n getProjectWideVariables,\n getVariables,\n getVariablesByBranchId,\n getVariablesInScope,\n };\n};\n"],"mappings":";;;;;;;;AAiBA,MAAM,sBAAsB;AAE5B,MAAa,qBAAqB,EAAE,SAAS,aAAa,WAA8B;CACtF,MAAM,SAAS,yBAAgC;EAC7C;EACA;EACA,SAAS,kBAAkB,IAAI;CACjC,CAAC;CACD,MAAM,gBAAgB,yBAAyB;EAAE;EAAS;CAAY,CAAC;CAEvE,MAAM,eAAe,OAAO,OAA0B,WAAyB;EAC7E,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,cACA,EAAE,MAAM,GACR,EACE,OACF,CACF;EAEA,OAAO;CACT;CAEA,MAAM,iBAAiB,OAAO,MAAkC,WAAyB;EACvF,MAAM,OAAO,OACX,qBACA,EACE,MAAM,EAAE,KAAK,EACf,GACA,EAAE,OAAO,CACX;CACF;CAEA,MAAM,iBAAiB,OAAO,MAA0B,WAAyB;EAC/E,IAAI,KAAK,MAAM,SAAS,WAAW,KAAK,CAAC,KAAK,MAAM,WAAA,OAAiC,GACnF,MAAM,IAAI,UAAU,2DAA2D;EAEjF,MAAM,EAAE,SAAS,MAAM,OAAO,KAAK,cAAc,EAAE,KAAK,GAAG,EAAE,OAAO,CAAC;EACrE,OAAO;CACT;;;;;;;CAQA,MAAM,uBAAuB,UAAyB,WACpD,gBAAgB;EACd,UAAU;EACV;EACA,YAAY,QAAQ,OAAO,eACzB,aAAa;GAAE,YAAY,EAAE,UAAU,YAAY,GAAG;GAAG;GAAQ;EAAM,GAAG,UAAU;CACxF,CAAC;;;;;;;CAQH,MAAM,yBAAyB,OAC7B,UACA,WACG;EACH,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,uCACA,EACE,MAAM,EAAE,SAAS,EACnB,GACA,EAAE,OAAO,CACX;EACA,OAAO;CACT;CAEA,MAAM,2BAA2B,WAAyB,oBAAoB,MAAM,MAAM;CAE1F,MAAM,cAAc,OAAO,WAAyB;EAClD,MAAM,EAAE,SAAS,MAAM,cAAc,IAAI,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC;EAExE,OAAO;CACT;CAEA,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
|
package/dist/vault/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-
|
|
1
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-D8d5tyGi.cjs";
|
|
2
2
|
export { AnyVariable, CreateVariableBody, DeleteVariablePath, GetVariablesByBranchId, GetVariablesQuery, VariableWithHash };
|
package/dist/vault/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-
|
|
1
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-UySfduQo.js";
|
|
2
2
|
export { AnyVariable, CreateVariableBody, DeleteVariablePath, GetVariablesByBranchId, GetVariablesQuery, VariableWithHash };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keboola/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "48.0.0",
|
|
4
4
|
"description": "TypeScript SDK for Keboola APIs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -56,6 +56,12 @@
|
|
|
56
56
|
"chat/suggestions": [
|
|
57
57
|
"./dist/chat/suggestions.d.ts"
|
|
58
58
|
],
|
|
59
|
+
"componentsMcp": [
|
|
60
|
+
"./dist/componentsMcp/index.d.ts"
|
|
61
|
+
],
|
|
62
|
+
"componentsMcp/types": [
|
|
63
|
+
"./dist/componentsMcp/types.d.ts"
|
|
64
|
+
],
|
|
59
65
|
"dataScience": [
|
|
60
66
|
"./dist/dataScience/index.d.ts"
|
|
61
67
|
],
|
|
@@ -378,6 +384,26 @@
|
|
|
378
384
|
"default": "./dist/chat/types.cjs"
|
|
379
385
|
}
|
|
380
386
|
},
|
|
387
|
+
"./componentsMcp": {
|
|
388
|
+
"import": {
|
|
389
|
+
"types": "./dist/componentsMcp/index.d.ts",
|
|
390
|
+
"default": "./dist/componentsMcp/index.js"
|
|
391
|
+
},
|
|
392
|
+
"require": {
|
|
393
|
+
"types": "./dist/componentsMcp/index.d.cts",
|
|
394
|
+
"default": "./dist/componentsMcp/index.cjs"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"./componentsMcp/types": {
|
|
398
|
+
"import": {
|
|
399
|
+
"types": "./dist/componentsMcp/types.d.ts",
|
|
400
|
+
"default": "./dist/componentsMcp/types.js"
|
|
401
|
+
},
|
|
402
|
+
"require": {
|
|
403
|
+
"types": "./dist/componentsMcp/types.d.cts",
|
|
404
|
+
"default": "./dist/componentsMcp/types.cjs"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
381
407
|
"./dataScience": {
|
|
382
408
|
"import": {
|
|
383
409
|
"types": "./dist/dataScience/index.d.ts",
|
package/surface/ai.md
CHANGED
|
@@ -9,7 +9,6 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
9
9
|
- `api.ai.describeConfigurationVersion(body: { branchId: string; componentId: string; configId: string; currentVersionId: string; previousVersionId?: string | undefined; rowId?: string | undefined; }): Promise<{ description: string; correlationId: string; }>`
|
|
10
10
|
- `api.ai.docsQuestion(body: { query: string; }): Promise<{ response: string; metadata: { sources: string[]; }; }>`
|
|
11
11
|
- `api.ai.explainError(body: { error?: string | undefined; jobId: string; }): Promise<{ answer: string; correlationId: string; }>`
|
|
12
|
-
- `api.ai.feedback(body: { value: "good" | "bad" | "cancel"; correlationId?: string | undefined; comment?: string | undefined; subject?: { type: "failed-job"; jobId: string; } | { type: "configuration"; branchId: string; componentId: string; configId: string; rowId?: string | undefined; } | { type: "component-suggestions"; searchTerm: string; } | undefined; }): Promise<never>`
|
|
13
12
|
- `api.ai.getComponentDetail(componentId: string): Promise<{ componentId: string; componentType: string; componentName: string; componentCategories: string[]; description: string; longDescription: string; documentationUrl: string | null; documentation: string | null; configurationSchema: Record<string, never> | null; configurationRowSchema: Record<string, never> | null; configurationDescription: string | null; rootConfigurationExamples: Record<string, never>[] | null; rowConfigurationExamples: Record<string, never>[] | null; componentFlags: string[] | null; synchronousActions?: string[] | null | undefined; }>`
|
|
14
13
|
- `api.ai.healthCheck(signal?: AbortSignal | undefined): Promise<{ status: "ok"; }>`
|
|
15
14
|
- `api.ai.suggestComponent(body: { prompt: string; }): Promise<{ components: { componentId: string; score: number; }[]; correlationId: string; }>`
|
package/surface/apps.md
CHANGED
|
@@ -6,7 +6,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
6
6
|
|
|
7
7
|
- `api.apps.createApp(body: { branchId: string | null; name: string; type: "streamlit" | "python-js"; description?: string | null | undefined; config?: { [key: string]: unknown; } | undefined; useManagedGitRepo: boolean; }, options?: WriteOptions): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
|
|
8
8
|
- `api.apps.createAppGitRepoCredential(appId: string, body: { type: "ssh_key" | "http_token"; publicKey?: string | undefined; name: string; permissions: "readOnly" | "readWrite"; }, options?: WriteOptions): Promise<{ id: string; type: "ssh_key" | "http_token"; name: string; permissions: "readOnly" | "readWrite"; ownerAdminId: string; createdAt: string; } & { secret?: string | undefined; }>`
|
|
9
|
-
- `api.apps.createDeployment(appId: string, body?: { promote: boolean; configVersion?: string | null | undefined; } | undefined, options?: WriteOptions): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "
|
|
9
|
+
- `api.apps.createDeployment(appId: string, body?: { promote: boolean; configVersion?: string | null | undefined; } | undefined, options?: WriteOptions): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "starting" | "running" | "failed" | "stopping" | "stopped" | "neverRun"; archived: boolean; archivedAt: string | null; createdAt: string; }>`
|
|
10
10
|
- `api.apps.deleteApp(appId: string, signal?: AbortSignal | undefined): Promise<void>`
|
|
11
11
|
- `api.apps.deleteAppGitRepoCredential(appId: string, credentialId: string, signal?: AbortSignal | undefined): Promise<void>`
|
|
12
12
|
- `api.apps.deleteDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<void>`
|
|
@@ -17,13 +17,13 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
17
17
|
- `api.apps.getAppLogsDownload(appId: string, signal?: AbortSignal | undefined): Promise<{ logs: string; fileName: string; }>`
|
|
18
18
|
- `api.apps.getAppLogsTail(appId: string, { query, signal }?: LogsTailOptions): Promise<{ entries: LogEntry[]; nextLogTimestamp: string | null; }>`
|
|
19
19
|
- `api.apps.getAppPassword(appId: string, signal?: AbortSignal | undefined): Promise<{ password?: string | null | undefined; }>`
|
|
20
|
-
- `api.apps.getAppRun(appId: string, runId: string, signal?: AbortSignal | undefined): Promise<{ id: string; appId: string; deploymentId: string | null; state?: "
|
|
21
|
-
- `api.apps.getAppRuns(appId: string, query?: { deploymentId?: string | undefined; since?: string | undefined; until?: string | undefined; offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; appId: string; deploymentId: string | null; state?: "
|
|
20
|
+
- `api.apps.getAppRun(appId: string, runId: string, signal?: AbortSignal | undefined): Promise<{ id: string; appId: string; deploymentId: string | null; state?: "starting" | "running" | "failed" | "finished" | null | undefined; createdAt?: string | null | undefined; startedAt?: string | null | undefined; stoppedAt?: string | null | undefined; startupLogs?: string | null | undefined; runtimeSize?: string | null | undefined; runtimeBackendType?: string | null | undefined; configVersion?: string | null | undefined; imageVersion?: string | null | undefined; failureReason?: { reason?: string | null | undefined; message?: string | null | undefined; } | null | undefined; mode?: string | undefined; }>`
|
|
21
|
+
- `api.apps.getAppRuns(appId: string, query?: { deploymentId?: string | undefined; since?: string | undefined; until?: string | undefined; offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; appId: string; deploymentId: string | null; state?: "starting" | "running" | "failed" | "finished" | null | undefined; createdAt?: string | null | undefined; startedAt?: string | null | undefined; stoppedAt?: string | null | undefined; startupLogs?: string | null | undefined; runtimeSize?: string | null | undefined; runtimeBackendType?: string | null | undefined; configVersion?: string | null | undefined; imageVersion?: string | null | undefined; failureReason?: { reason?: string | null | undefined; message?: string | null | undefined; } | null | undefined; mode?: string | undefined; }[]>`
|
|
22
22
|
- `api.apps.getApps(query?: { offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }[]>`
|
|
23
|
-
- `api.apps.getDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "
|
|
23
|
+
- `api.apps.getDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "starting" | "running" | "failed" | "stopping" | "stopped" | "neverRun"; archived: boolean; archivedAt: string | null; createdAt: string; }>`
|
|
24
24
|
- `api.apps.getDeploymentLogsDownload(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ logs: string; fileName: string; }>`
|
|
25
25
|
- `api.apps.getDeploymentLogsTail(appId: string, deploymentId: string, { query, signal }?: LogsTailOptions): Promise<{ entries: LogEntry[]; nextLogTimestamp: string | null; }>`
|
|
26
|
-
- `api.apps.getDeployments(appId: string, query?: { archived?: boolean | undefined; offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "
|
|
26
|
+
- `api.apps.getDeployments(appId: string, query?: { archived?: boolean | undefined; offset?: number | undefined; limit?: number | undefined; }, signal?: AbortSignal | undefined): Promise<{ id: string; configVersion: string; gitCommitSha: string | null; runtimeSize?: "small" | "external" | "micro" | "tiny" | "medium" | "large" | null | undefined; buildState: "pending" | "failed" | "building" | "ready"; runState: "pending" | "starting" | "running" | "failed" | "stopping" | "stopped" | "neverRun"; archived: boolean; archivedAt: string | null; createdAt: string; }[]>`
|
|
27
27
|
- `api.apps.healthCheck(signal?: AbortSignal | undefined): Promise<{ appName?: string | undefined; appVersion?: string | undefined; apiDocs?: string | undefined; }>`
|
|
28
28
|
- `api.apps.promoteDeployment(appId: string, deploymentId: string, signal?: AbortSignal | undefined): Promise<{ id: string; projectId: string; componentId: string; branchId: string | null; configId: string; type?: "streamlit" | "python-js" | null | undefined; url: string | null; production: { desiredDeploymentId?: string | null | undefined; actualDeploymentId?: string | null | undefined; }; state: "disabled" | "starting" | "running" | "notDeployed" | "suspended"; }>`
|
|
29
29
|
- `api.apps.resetAppPassword(appId: string, signal?: AbortSignal | undefined): Promise<{ password: string; }>`
|
package/surface/auth.md
CHANGED
|
@@ -27,6 +27,8 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
27
27
|
### `api.auth.me`
|
|
28
28
|
|
|
29
29
|
- `api.auth.me.get(signal?: AbortSignal | undefined): Promise<{ user: { id: number; name: string; email: string; isSuperAdmin: boolean; hasMfaEnabled: boolean; features: string[]; }; organizations: { count: number; preview: { id: number; name: string; mfaRequired: boolean; maintainer: { id: number; name: string | null; }; isAdmin: boolean; hasAccess: boolean; canLeave: boolean; projectsCount: number; }[]; hasMore: boolean; }; maintainers: { count: number; preview: { id: number; name: string | null; }[]; hasMore: boolean; }; projects: { count: number; preview: { id: number; name: string; organizationId: number; role: string | null; isDisabled: boolean; disabledReason: string | null; }[]; hasMore: boolean; }; }>`
|
|
30
|
+
- `api.auth.me.getAllOrganizations(signal?: AbortSignal | undefined): Promise<{ id: number; name: string; mfaRequired: boolean; maintainer: { id: number; name: string | null; }; isAdmin: boolean; hasAccess: boolean; canLeave: boolean; projectsCount: number; }[]>`
|
|
31
|
+
- `api.auth.me.getAllProjects(signal?: AbortSignal | undefined): Promise<{ id: number; name: string; organizationId: number; role: string | null; isDisabled: boolean; disabledReason: string | null; }[]>`
|
|
30
32
|
- `api.auth.me.getMaintainers(query?: { page?: { after?: string | undefined; limit?: number | undefined; } | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ data: Record<string, never>[]; meta: { total: number; limit: number; cursor: { param: string; encoding: string; fields: { name: string; type: "string" | "integer" | "date-time"; nullable: boolean; }[]; order: string; }; }; links: { self: string; first: string; next: string | null; }; } & { data?: { id: number; name: string | null; }[] | undefined; }>`
|
|
31
33
|
- `api.auth.me.getOrganizations(query?: { page?: { after?: string | undefined; limit?: number | undefined; } | undefined; filter?: { maintainerId?: number | undefined; } | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ data: Record<string, never>[]; meta: { total: number; limit: number; cursor: { param: string; encoding: string; fields: { name: string; type: "string" | "integer" | "date-time"; nullable: boolean; }[]; order: string; }; }; links: { self: string; first: string; next: string | null; }; } & { data?: { id: number; name: string; mfaRequired: boolean; maintainer: { id: number; name: string | null; }; isAdmin: boolean; hasAccess: boolean; canLeave: boolean; projectsCount: number; }[] | undefined; }>`
|
|
32
34
|
- `api.auth.me.getProjects(query?: { page?: { after?: string | undefined; limit?: number | undefined; } | undefined; filter?: { organizationId?: number | undefined; name?: string | undefined; } | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ data: Record<string, never>[]; meta: { total: number; limit: number; cursor: { param: string; encoding: string; fields: { name: string; type: "string" | "integer" | "date-time"; nullable: boolean; }[]; order: string; }; }; links: { self: string; first: string; next: string | null; }; } & { data?: { id: number; name: string; organizationId: number; role: string | null; isDisabled: boolean; disabledReason: string | null; }[] | undefined; }>`
|
package/surface/chat.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
6
6
|
|
|
7
|
-
- `api.chat.createChat(request: { id: string; message: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id?: string | undefined; approved?: boolean | undefined; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; compactedTo?: string | undefined; compactedFrom?: string | undefined; } | undefined; status?: "pending" | "
|
|
7
|
+
- `api.chat.createChat(request: { id: string; message: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id?: string | undefined; approved?: boolean | undefined; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; compactedTo?: string | undefined; compactedFrom?: string | undefined; } | undefined; status?: "pending" | "failed" | "completed" | "interrupted" | undefined; }; selectedChatModel: "chat-model" | "chat-model-reasoning"; selectedVisibilityType: "public" | "private"; branchId?: number | undefined; telemetryMetadata?: { [key: string]: string | number | boolean; } | undefined; }): Promise<Response>`
|
|
8
8
|
- `api.chat.deleteChat(chatId: string): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; }>`
|
|
9
9
|
- `api.chat.getAgentSettings(signal?: AbortSignal | undefined): Promise<AgentSettings>`
|
|
10
|
-
- `api.chat.getChat(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; messages: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id?: string | undefined; approved?: boolean | undefined; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; compactedTo?: string | undefined; compactedFrom?: string | undefined; } | undefined; status?: "pending" | "
|
|
10
|
+
- `api.chat.getChat(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; messages: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id?: string | undefined; approved?: boolean | undefined; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; compactedTo?: string | undefined; compactedFrom?: string | undefined; } | undefined; status?: "pending" | "failed" | "completed" | "interrupted" | undefined; }[]; }>`
|
|
11
11
|
- `api.chat.getHistory(params?: { limit?: number | undefined; starting_after?: string | undefined; ending_before?: string | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ chats: { id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; }[]; hasMore: boolean; }>`
|
|
12
12
|
- `api.chat.getSuggestions(request: { context: "dashboard"; data: { recentFailedJobs: { id: string; status: "error" | "warning"; component: string; configId: string; createdTime: string; configName?: string | undefined; durationSeconds?: number | undefined; errorMessage?: string | undefined; }[]; deprecatedComponents: { id: string; name: string; type: string; expiredOn: string; configCount: number; }[]; userRecentEdits: { component: string; configId: string; configName: string; lastEdited: string; }[]; currentUserEmail: string; }; } | { context: "job-detail"; data: { job: { id: string; status: "error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled"; component: string; createdTime: string; configId?: string | undefined; configName?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; durationSeconds?: number | undefined; errorMessage?: string | undefined; errorType?: "user" | "application" | undefined; backendSize?: string | undefined; }; currentUserEmail: string; component?: { id: string; name: string; type: string; } | undefined; runtimeHistory?: { recentJobsCount: number; averageDurationSeconds?: number | undefined; minDurationSeconds?: number | undefined; maxDurationSeconds?: number | undefined; isSlowerThanAverage?: boolean | undefined; isFasterThanAverage?: boolean | undefined; percentageDifference?: number | undefined; } | undefined; }; } | { context: "configuration-detail"; data: { configuration: { id: string; name: string; component: string; hasRows: boolean; description?: string | undefined; rowCount?: number | undefined; lastChangeDescription?: string | undefined; }; currentUserEmail: string; component?: { id: string; name: string; type: string; } | undefined; latestJobs?: { id: string; status: "error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled"; createdTime: string; durationSeconds?: number | undefined; errorMessage?: string | undefined; }[] | undefined; }; }, signal?: AbortSignal | undefined): Promise<{ suggestions: { label: string; prompt: string; priority: number; category: "error" | "maintenance" | "documentation"; reasoning: string; id: string; }[]; suggestionSessionId: string; }>`
|
|
13
13
|
- `api.chat.getToolsList(signal?: AbortSignal | undefined): Promise<{ tools: { name: string; description: string; readOnly: boolean; }[]; }>`
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# `api.componentsMcp` — `@keboola/api-client` surface
|
|
2
|
+
|
|
3
|
+
<!-- GENERATED FILE — do not edit by hand. Run `pnpm --filter @keboola/api-client surface` to regenerate. -->
|
|
4
|
+
|
|
5
|
+
Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
6
|
+
|
|
7
|
+
- `api.componentsMcp.getConnectors(query?: { provider?: string | null | undefined; }, signal?: AbortSignal | undefined): Promise<{ [x: string]: unknown; providers: Record<string, number>; connectors: { [x: string]: unknown; id: string; provider: string; display_name: string; description: string; has_stored_credentials: boolean; credentials_schema: Record<string, unknown>; }[]; }>`
|
|
8
|
+
- `api.componentsMcp.healthCheck(signal?: AbortSignal | undefined): Promise<{ [key: string]: unknown; }>`
|
|
9
|
+
- `api.componentsMcp.setConnectorCredentials(path: { connector_id: string; }, body: { credentials: { [key: string]: unknown; }; label: string; note?: string | null | undefined; }, signal?: AbortSignal | undefined): Promise<{ [x: string]: unknown; connector: string; label: string; status: "stored"; }>`
|