@keboola/api-client 29.0.0 → 32.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 +11 -5
- package/API-SURFACE.md +7 -2
- package/CHANGELOG.md +1890 -0
- package/README.md +45 -19
- package/dist/{ManagementClientAuthError-ZJ2-RoKT.cjs → ManagementClientAuthError-B-tyPlyG.cjs} +2 -2
- package/dist/{ManagementClientAuthError-ZJ2-RoKT.cjs.map → ManagementClientAuthError-B-tyPlyG.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-B97OtOQ7.js → ManagementClientAuthError-BAFNvOdf.js} +2 -2
- package/dist/{ManagementClientAuthError-B97OtOQ7.js.map → ManagementClientAuthError-BAFNvOdf.js.map} +1 -1
- package/dist/ai/index.cjs +2 -2
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/index.js +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/{appLogs-Dl5BcCSD.d.cts → appLogs-BAaaGYKg.d.cts} +2 -2
- package/dist/{appLogs-enL9XR9r.js → appLogs-DTLE6HTy.js} +2 -2
- package/dist/{appLogs-enL9XR9r.js.map → appLogs-DTLE6HTy.js.map} +1 -1
- package/dist/{appLogs-VdgP08aX.d.ts → appLogs-DX_WTBCa.d.ts} +2 -2
- package/dist/{appLogs-CNG3yby-.cjs → appLogs-NIEDTDHf.cjs} +2 -2
- package/dist/{appLogs-CNG3yby-.cjs.map → appLogs-NIEDTDHf.cjs.map} +1 -1
- package/dist/apps/index.cjs +3 -3
- package/dist/apps/index.d.cts +3 -3
- package/dist/apps/index.d.ts +3 -3
- package/dist/apps/index.js +3 -3
- 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 +2 -1
- package/dist/auth/index.d.cts +2 -2
- package/dist/auth/index.d.ts +2 -2
- 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/{auth-5HCvCsZO.cjs → auth-DP-6TFiM.cjs} +2 -2
- package/dist/{auth-5HCvCsZO.cjs.map → auth-DP-6TFiM.cjs.map} +1 -1
- package/dist/{auth-D2jfNlpX.js → auth-DtbQaeDj.js} +2 -2
- package/dist/{auth-D2jfNlpX.js.map → auth-DtbQaeDj.js.map} +1 -1
- package/dist/{authClient-DOk6VKdV.js → authClient--BtZgjIc.js} +76 -11
- package/dist/authClient--BtZgjIc.js.map +1 -0
- package/dist/{authClient-Dsd7W99W.d.ts → authClient-CtfyVHRD.d.ts} +52 -5
- package/dist/{authClient-Bgj2Ay7h.d.cts → authClient-DhfzOUaa.d.cts} +52 -5
- package/dist/{authClient-Z8Eg8rlN.cjs → authClient-b7uec7sw.cjs} +81 -10
- package/dist/authClient-b7uec7sw.cjs.map +1 -0
- package/dist/chat/index.cjs +3 -3
- package/dist/chat/index.d.cts +2 -7
- package/dist/chat/index.d.ts +2 -7
- 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/{configurations-CujCwDcB.cjs → configurations-Ck-mNB_E.cjs} +2 -2
- package/dist/{configurations-CujCwDcB.cjs.map → configurations-Ck-mNB_E.cjs.map} +1 -1
- package/dist/{configurations-DCOJONZZ.cjs → configurations-CqwAxiQL.cjs} +5 -1
- package/dist/configurations-CqwAxiQL.cjs.map +1 -0
- package/dist/{configurations-Byt59bIa.js → configurations-ZwBXilW-.js} +2 -2
- package/dist/{configurations-Byt59bIa.js.map → configurations-ZwBXilW-.js.map} +1 -1
- package/dist/{configurations-iCbhe0tb.js → configurations-d7SZmw69.js} +5 -1
- package/dist/configurations-d7SZmw69.js.map +1 -0
- package/dist/constants/index.cjs +4 -1
- package/dist/constants/index.d.cts +3 -2
- package/dist/constants/index.d.ts +3 -2
- package/dist/constants/index.js +2 -2
- package/dist/{constants-CqyyBkXW.cjs → constants-ByEwVtGf.js} +48 -25
- package/dist/constants-ByEwVtGf.js.map +1 -0
- package/dist/{constants-_HhqKvBg.js → constants-lIfSdTzS.cjs} +89 -2
- package/dist/constants-lIfSdTzS.cjs.map +1 -0
- package/dist/{createFetchClient-BsG719K1.cjs → createFetchClient-BRfTjBLV.cjs} +29 -10
- package/dist/createFetchClient-BRfTjBLV.cjs.map +1 -0
- package/dist/{createFetchClient-BK0TZK-U.js → createFetchClient-BbG46bL0.js} +24 -11
- package/dist/createFetchClient-BbG46bL0.js.map +1 -0
- package/dist/{createGenericFetchClient-CVZYekDk.js → createGenericFetchClient-BHYQLZhe.js} +2 -2
- package/dist/{createGenericFetchClient-CVZYekDk.js.map → createGenericFetchClient-BHYQLZhe.js.map} +1 -1
- package/dist/{createGenericFetchClient-DLbjX0eM.cjs → createGenericFetchClient-DHs-i7_O.cjs} +2 -2
- package/dist/{createGenericFetchClient-DLbjX0eM.cjs.map → createGenericFetchClient-DHs-i7_O.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-B5U1fCHS.js → createOpenapiFetchClient-Bn6_Pn0H.js} +2 -2
- package/dist/{createOpenapiFetchClient-B5U1fCHS.js.map → createOpenapiFetchClient-Bn6_Pn0H.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-Cr90VXY4.cjs → createOpenapiFetchClient-CyDUFxHB.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-Cr90VXY4.cjs.map → createOpenapiFetchClient-CyDUFxHB.cjs.map} +1 -1
- package/dist/{credential-0c6yFwtp.cjs → credential-DOXH7XRS.cjs} +2 -2
- package/dist/{credential-0c6yFwtp.cjs.map → credential-DOXH7XRS.cjs.map} +1 -1
- package/dist/{credential-kEGLnVez.js → credential-d2RDcXRB.js} +2 -2
- package/dist/{credential-kEGLnVez.js.map → credential-d2RDcXRB.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-CE0pSWbl.js → dataScience-Sm8iONhP.js} +5 -5
- package/dist/{dataScience-CE0pSWbl.js.map → dataScience-Sm8iONhP.js.map} +1 -1
- package/dist/{dataScience-C-JrA0Uk.cjs → dataScience-wexHEIue.cjs} +5 -5
- package/dist/{dataScience-C-JrA0Uk.cjs.map → dataScience-wexHEIue.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-C8oq48xW.cjs → developerPortalClient-CgTSzLoG.cjs} +3 -3
- package/dist/{developerPortalClient-C8oq48xW.cjs.map → developerPortalClient-CgTSzLoG.cjs.map} +1 -1
- package/dist/{developerPortalClient-BPPEAdJW.js → developerPortalClient-DywKpDlW.js} +3 -3
- package/dist/{developerPortalClient-BPPEAdJW.js.map → developerPortalClient-DywKpDlW.js.map} +1 -1
- package/dist/domain/permissions/index.cjs +63 -1
- package/dist/domain/permissions/index.cjs.map +1 -0
- package/dist/domain/permissions/index.d.cts +52 -3
- package/dist/domain/permissions/index.d.ts +52 -3
- package/dist/domain/permissions/index.js +59 -2
- package/dist/domain/permissions/index.js.map +1 -0
- 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-KLH1uRtx.cjs → import-C0-y1GQK.cjs} +3 -3
- package/dist/{import-KLH1uRtx.cjs.map → import-C0-y1GQK.cjs.map} +1 -1
- package/dist/{import-Cf0W-7YD.js → import-SQuurg1G.js} +3 -3
- package/dist/{import-Cf0W-7YD.js.map → import-SQuurg1G.js.map} +1 -1
- package/dist/{index-BEKaJ7Cc.d.cts → index-BKh0prif.d.cts} +4 -4
- package/dist/{index-KKJkrxjx.d.ts → index-Bc_hXWae.d.ts} +3 -3
- package/dist/{index-DYQt4zxC.d.ts → index-Bg1P6Bb2.d.ts} +6 -6
- package/dist/{index-DplMbm9E.d.cts → index-Bjk-tCpG.d.cts} +548 -3073
- package/dist/{index-eEBVG5s3.d.cts → index-C7e3wBt9.d.cts} +3 -3
- package/dist/{index-8pN6Emos.d.ts → index-CQrKS7PV.d.cts} +24 -4
- package/dist/{index-DVsnxZap.d.cts → index-CXtdQ7be.d.cts} +4 -4
- package/dist/{index-CLPrlyIz.d.cts → index-CeJOmN-P.d.ts} +24 -4
- package/dist/{index-BmjeNd9u.d.ts → index-Ctqkm3Fx.d.ts} +4 -4
- package/dist/{index-WQkVzx5e.d.cts → index-D_7yCRKy.d.cts} +4 -4
- package/dist/{index-DNlX-H1V.d.ts → index-Dbzjvy5h.d.ts} +5 -5
- package/dist/{index-BWBScAYc.d.cts → index-DeKPpYQy.d.ts} +3 -3
- package/dist/{index-DXi6wsr5.d.cts → index-DiHHyMEo.d.cts} +6 -6
- package/dist/{index-IN0qzs52.d.cts → index-DqOAjqxN.d.cts} +5 -5
- package/dist/{index-Dwp8tF6O.d.ts → index-FhKX7Cv1.d.ts} +548 -3073
- package/dist/{index-BthgbVdd.d.ts → index-GDdFZCXp.d.ts} +4 -4
- package/dist/{index-CXQRvZ-f.d.cts → index-Gn1H63Hk.d.cts} +4 -4
- package/dist/{index-vb9Rfqca.d.ts → index-NaYLwG_h.d.cts} +155 -4
- package/dist/{index-vb9Rfqca.d.cts → index-NaYLwG_h.d.ts} +155 -4
- package/dist/{index-DIM8KZly.d.ts → index-eAlN694c.d.cts} +3 -3
- package/dist/{index-Cfrl7sd5.d.ts → index-fHfc_VqS.d.ts} +4 -4
- package/dist/{index-CeistZnj.d.ts → index-tKsiUarj.d.ts} +4 -4
- package/dist/index.cjs +46 -225
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +44 -226
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.cjs +3 -0
- package/dist/kaiAgent/index.d.cts +210 -0
- package/dist/kaiAgent/index.d.ts +210 -0
- package/dist/kaiAgent/index.js +2 -0
- package/dist/kaiAgent/types.cjs +0 -0
- package/dist/kaiAgent/types.d.cts +2 -0
- package/dist/kaiAgent/types.d.ts +2 -0
- package/dist/kaiAgent/types.js +1 -0
- package/dist/kaiAgent-4OiIK1C2.cjs +222 -0
- package/dist/kaiAgent-4OiIK1C2.cjs.map +1 -0
- package/dist/kaiAgent-HDaFS9BR.js +217 -0
- package/dist/kaiAgent-HDaFS9BR.js.map +1 -0
- 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 +1 -1
- package/dist/management/types.d.ts +1 -1
- package/dist/{management-DqwQcDCx.js → management-CIFhu1Nm.js} +6 -7
- package/dist/management-CIFhu1Nm.js.map +1 -0
- package/dist/{management-WOmlBt6H.cjs → management-DfjwQo7z.cjs} +6 -7
- package/dist/management-DfjwQo7z.cjs.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-CNEhL66f.js → metastore-CrXkKufo.js} +4 -4
- package/dist/{metastore-CNEhL66f.js.map → metastore-CrXkKufo.js.map} +1 -1
- package/dist/{metastore-CkQluyX1.cjs → metastore-Dq2NS6jb.cjs} +4 -4
- package/dist/{metastore-CkQluyX1.cjs.map → metastore-Dq2NS6jb.cjs.map} +1 -1
- package/dist/microsoftGraph/index.cjs +92 -0
- package/dist/microsoftGraph/index.cjs.map +1 -0
- package/dist/microsoftGraph/index.d.cts +305 -0
- package/dist/microsoftGraph/index.d.ts +305 -0
- package/dist/microsoftGraph/index.js +90 -0
- package/dist/microsoftGraph/index.js.map +1 -0
- package/dist/microsoftGraph/types.cjs +0 -0
- package/dist/microsoftGraph/types.d.cts +10 -0
- package/dist/microsoftGraph/types.d.ts +10 -0
- package/dist/microsoftGraph/types.js +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 +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/index.js +1 -1
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/{oauth-DYDObUX9.js → oauth-CFwSNz37.js} +5 -5
- package/dist/{oauth-DYDObUX9.js.map → oauth-CFwSNz37.js.map} +1 -1
- package/dist/{oauth-DTvrqe6P.cjs → oauth-CkW5gln-.cjs} +5 -5
- package/dist/{oauth-DTvrqe6P.cjs.map → oauth-CkW5gln-.cjs.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-io1pY-hW.d.ts → project-BOGaVs-q.d.ts} +2 -2
- package/dist/{project-CcGxXIW_.d.cts → project-BnQkL8cb.d.cts} +2 -2
- 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 +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/{queryService-CvqDqigW.cjs → queryService-BLaGbpm-.cjs} +5 -5
- package/dist/{queryService-CvqDqigW.cjs.map → queryService-BLaGbpm-.cjs.map} +1 -1
- package/dist/{queryService-BHV_OZI2.js → queryService-DK-jUnET.js} +5 -5
- package/dist/{queryService-BHV_OZI2.js.map → queryService-DK-jUnET.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +3 -3
- package/dist/queue/index.d.ts +3 -3
- 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-CUHKupTA.cjs → queue-B7TY4JLf.cjs} +4 -4
- package/dist/{queue-CUHKupTA.cjs.map → queue-B7TY4JLf.cjs.map} +1 -1
- package/dist/{queue-uofE4Eu6.js → queue-DViSQ-eq.js} +4 -4
- package/dist/{queue-uofE4Eu6.js.map → queue-DViSQ-eq.js.map} +1 -1
- 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/schema-D1oxyn1O.d.cts +8760 -0
- package/dist/schema-D1oxyn1O.d.ts +8760 -0
- package/dist/sdk/configurations/index.cjs +1 -1
- package/dist/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -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/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +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.d.cts +1 -1
- package/dist/sdk/storage/index.d.ts +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/serviceIds-fHLDwOg9.d.cts +31 -0
- package/dist/serviceIds-fHLDwOg9.d.ts +31 -0
- 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 +6 -3
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +5 -4
- package/dist/storage/types.d.cts +4 -3
- package/dist/storage/types.d.ts +4 -3
- package/dist/{storage-DbyNnkIJ.cjs → storage-CihHwZ7z.cjs} +153 -161
- package/dist/storage-CihHwZ7z.cjs.map +1 -0
- package/dist/{storage-luq7YBZF.js → storage-kgxscFEg.js} +153 -161
- package/dist/storage-kgxscFEg.js.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 +1 -1
- package/dist/syncActions/index.d.ts +1 -1
- 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-ssWWVN_4.js → syncActions-B75t0NwP.js} +5 -5
- package/dist/{syncActions-ssWWVN_4.js.map → syncActions-B75t0NwP.js.map} +1 -1
- package/dist/{syncActions-DKWeJ8GH.cjs → syncActions-CevF_TEb.cjs} +5 -5
- package/dist/{syncActions-DKWeJ8GH.cjs.map → syncActions-CevF_TEb.cjs.map} +1 -1
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/index.js +1 -1
- package/dist/{telemetry-2IrE8HaZ.cjs → telemetry-DwlSLVAU.cjs} +3 -3
- package/dist/{telemetry-2IrE8HaZ.cjs.map → telemetry-DwlSLVAU.cjs.map} +1 -1
- package/dist/{telemetry-yQfQxBBI.js → telemetry-FXpodtJN.js} +3 -3
- package/dist/{telemetry-yQfQxBBI.js.map → telemetry-FXpodtJN.js.map} +1 -1
- package/dist/{types-DEKF5pbg.d.cts → types-Av2egS_l.d.ts} +408 -24
- package/dist/{types-DBOEA7l0.d.cts → types-B2vmg_UF.d.cts} +3 -3
- package/dist/{types-DMvU4kZ2.d.cts → types-B4jdPHoL.d.cts} +2 -2
- package/dist/{types-CAOvDtMC.d.cts → types-BH9ljNmj.d.cts} +2 -2
- package/dist/{types-QOIQ-dZU.d.cts → types-BI2jI-3-.d.cts} +3 -3
- package/dist/types-BMQW-2Yw.d.ts +2804 -0
- package/dist/{types-C8XiTXxi.d.cts → types-BREGN3qo.d.cts} +2 -2
- package/dist/{types-B1S2H7q1.d.ts → types-BTbczawY.d.ts} +2 -2
- package/dist/{types-CwvOcTOm.d.cts → types-BV2BDccJ.d.cts} +247 -430
- package/dist/{types-BREBK0xX.d.ts → types-BZBdLUpH.d.ts} +2 -2
- package/dist/{types-Z-vUwgym.d.ts → types-BlCoTm7n.d.ts} +2 -2
- package/dist/{types-CSmttcZ_.d.ts → types-BnaAo7xn.d.ts} +2 -2
- package/dist/{types-V8rC5if7.d.cts → types-BoV9M5Xg.d.cts} +2 -2
- package/dist/{types-BCt0EMiO.d.ts → types-Bpnpa2Wt.d.ts} +3 -3
- package/dist/{types-BhBvnvqe.d.ts → types-BptQ7jpP.d.cts} +408 -24
- package/dist/{types-x4xPlrr0.d.ts → types-ByWD2oeV.d.ts} +2 -2
- package/dist/{types-BefwoXik.d.cts → types-C1vhYcic.d.cts} +2 -2
- package/dist/{types-DwX1uxp_.d.ts → types-C2CLlR4i.d.ts} +2 -2
- package/dist/{types-BO-mTxKb.d.cts → types-CGH_lfxS.d.cts} +2 -16
- package/dist/{types-CyRK5z-E.d.cts → types-CJHi0zdD.d.cts} +2 -2
- package/dist/{types-DeApSCzx.d.cts → types-COIsNoTQ.d.cts} +2 -2
- package/dist/{types-DkbfBOBr.d.cts → types-COc-nind.d.cts} +2 -2
- package/dist/{types-DvsGS8By.d.cts → types-CPanB0p7.d.cts} +3 -3
- package/dist/{types-BmFyDKe6.d.ts → types-CXTqFYah.d.ts} +28 -7
- package/dist/{types-DS8uFAeq.d.cts → types-CcuG9cid.d.cts} +2 -2
- package/dist/{types-2mHlPakp.d.cts → types-Cj4bLPp5.d.cts} +28 -7
- package/dist/{types-SGuvOEV8.d.ts → types-CkcMoXRk.d.ts} +3 -3
- package/dist/{types-D2n3h1gp.d.ts → types-CpALS017.d.ts} +2 -16
- package/dist/{types-DCBKso0t.d.cts → types-CvkqEvhv.d.cts} +2 -2
- package/dist/{types-B1glyy_Q.d.ts → types-CyHZ1ZQe.d.ts} +2 -2
- package/dist/{types-B06L4-WE.d.cts → types-CyiRYRVq.d.cts} +3 -3
- package/dist/{types-CvADp-x-.d.ts → types-Cz1dj_TM.d.ts} +2 -2
- package/dist/{types-CjAia48k.d.ts → types-D-qI9ne4.d.ts} +2 -2
- package/dist/{types-CtdyAkzI.d.cts → types-D1uloiuY.d.cts} +2 -2
- package/dist/{types-CC0wymfG.d.ts → types-D6jKxUv_.d.ts} +247 -430
- package/dist/{types-CexuN7Mw.d.cts → types-DNXC_-fA.d.cts} +7 -5
- package/dist/{types-BpWqpMkL.d.ts → types-DeSd3gqW.d.ts} +3 -3
- package/dist/{types-BD6czYPH.d.ts → types-De_DA2ga.d.ts} +7 -5
- package/dist/{types-h9TTimS_.d.ts → types-Dfc58bPE.d.ts} +2 -2
- package/dist/{types-n4FFKqa4.d.ts → types-Di8VIZwQ.d.ts} +2 -2
- package/dist/{types--T-vBqdd.d.cts → types-DlbiVsVo.d.cts} +2 -2
- package/dist/types-DuiUN0h8.d.ts +33557 -0
- package/dist/{types-7H6Dnz0Y.d.ts → types-DwpRt3e9.d.ts} +2 -2
- package/dist/{types-CI1mW2lA.d.ts → types-EJEoI3ZK.d.ts} +2 -2
- package/dist/types-GuWtMCMn.d.cts +33557 -0
- package/dist/{types-BRQAKEC1.d.cts → types-MbcIiKDI.d.cts} +3 -3
- package/dist/{types-DebL68-g.d.ts → types-RfaldD4P.d.ts} +3 -3
- package/dist/{types-CbZ8aMKW.d.cts → types-cDU_J45_.d.cts} +2 -2
- package/dist/{types-bws2RtKq.d.ts → types-dybUhlU2.d.ts} +2 -2
- package/dist/types-iNlsdRkx.d.cts +2804 -0
- package/dist/{types-BXK6Ebtm.d.ts → types-sVYo0o9_.d.ts} +3 -3
- package/dist/{types-DgaYUtu_.d.cts → types-zA3H84SM.d.cts} +2 -2
- package/dist/validateConnectionStatus-BrLXkoSI.js +38 -0
- package/dist/validateConnectionStatus-BrLXkoSI.js.map +1 -0
- package/dist/validateConnectionStatus-V9q6Nl6u.cjs +55 -0
- package/dist/validateConnectionStatus-V9q6Nl6u.cjs.map +1 -0
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +4 -4
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +57 -4
- package/surface/auth.md +9 -2
- package/surface/chat.md +1 -1
- package/surface/kaiAgent.md +1 -0
- package/surface/sdk.md +4 -4
- package/surface/storage.md +44 -44
- package/dist/authClient-DOk6VKdV.js.map +0 -1
- package/dist/authClient-Z8Eg8rlN.cjs.map +0 -1
- package/dist/configurations-DCOJONZZ.cjs.map +0 -1
- package/dist/configurations-iCbhe0tb.js.map +0 -1
- package/dist/constants-CqyyBkXW.cjs.map +0 -1
- package/dist/constants-_HhqKvBg.js.map +0 -1
- package/dist/createFetchClient-BK0TZK-U.js.map +0 -1
- package/dist/createFetchClient-BsG719K1.cjs.map +0 -1
- package/dist/management-DqwQcDCx.js.map +0 -1
- package/dist/management-WOmlBt6H.cjs.map +0 -1
- package/dist/storage-DbyNnkIJ.cjs.map +0 -1
- package/dist/storage-luq7YBZF.js.map +0 -1
- package/dist/types-CRYtdj5w.d.ts +0 -18784
- package/dist/types-ISUNM_BR.d.cts +0 -18784
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as CreateMetaObjectInput, p as MetaObject } from "./types-
|
|
2
|
-
import { n as createMetastoreClient } from "./index-
|
|
1
|
+
import { i as CreateMetaObjectInput, p as MetaObject } from "./types-BlCoTm7n.js";
|
|
2
|
+
import { n as createMetastoreClient } from "./index-GDdFZCXp.js";
|
|
3
3
|
//#region src/sdks/tag/types.d.ts
|
|
4
4
|
type MetastoreClient = ReturnType<typeof createMetastoreClient>;
|
|
5
5
|
type TagData = {
|
|
@@ -29,4 +29,4 @@ type UpdateMetaObjectMetaDataInput = {
|
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
31
31
|
export { TagWithBindings as a, TagData as i, MetastoreClient as n, UpdateMetaObjectMetaDataInput as o, TagBindingData as r, CreateMetaObjectMetaDataInput as t };
|
|
32
|
-
//# sourceMappingURL=types-
|
|
32
|
+
//# sourceMappingURL=types-sVYo0o9_.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType } from "./index-
|
|
1
|
+
import { c as OpenapiReturnType, o as OpenapiPathType, r as OpenapiBodyType } from "./index-CQrKS7PV.cjs";
|
|
2
2
|
//#region src/clients/oauth/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -723,4 +723,4 @@ type CreateCredentialInput = ComponentPath & Omit<CreateCredentialBody, '#data'>
|
|
|
723
723
|
};
|
|
724
724
|
//#endregion
|
|
725
725
|
export { CredentialInput as a, Credential as i, CreateCredentialBody as n, CredentialPath as o, CreateCredentialInput as r, GetCredentialsInput as s, ComponentPath as t };
|
|
726
|
-
//# sourceMappingURL=types-
|
|
726
|
+
//# sourceMappingURL=types-zA3H84SM.d.cts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { c as isHtmlResponse, m as ApiError, s as defaultValidateStatus } from "./createFetchClient-BbG46bL0.js";
|
|
2
|
+
//#region src/errors/HtmlResponseError.ts
|
|
3
|
+
/**
|
|
4
|
+
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
5
|
+
*
|
|
6
|
+
* - Connection answers an expired session with a 302 to the login screen, and `fetch` follows it,
|
|
7
|
+
* so the request resolves `200 text/html`.
|
|
8
|
+
* - Without this the page reaches the caller as a string typed as the endpoint's DTO and fails much
|
|
9
|
+
* later, wherever the value is first read — an Immutable accessor on a string, modules away.
|
|
10
|
+
* - The message stays constant so Sentry groups every occurrence together; `request` and `response`
|
|
11
|
+
* carry the per-request detail.
|
|
12
|
+
* - Raised only by the clients that opt in: some APIs do serve HTML from a 200 on purpose.
|
|
13
|
+
*/
|
|
14
|
+
var HtmlResponseError = class extends ApiError {
|
|
15
|
+
constructor(res) {
|
|
16
|
+
super(res);
|
|
17
|
+
this.message = "Expected data, got an HTML page. The session has most likely expired.";
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const isHtmlResponseError = (error) => error instanceof HtmlResponseError;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/clients/validateConnectionStatus.ts
|
|
23
|
+
/**
|
|
24
|
+
* Status validation for the APIs Connection serves off its own host — storage and auth.
|
|
25
|
+
*
|
|
26
|
+
* - Rejects a successful response carrying an HTML page; `HtmlResponseError` says why.
|
|
27
|
+
* - HTML on a *failed* response is a real error page and stays an `ApiError`.
|
|
28
|
+
* - Management answers the same condition with its own session-expiry error instead.
|
|
29
|
+
*/
|
|
30
|
+
const validateConnectionStatus = (apiResponse) => {
|
|
31
|
+
const isValid = defaultValidateStatus(apiResponse);
|
|
32
|
+
if (isValid && isHtmlResponse(apiResponse)) return new HtmlResponseError(apiResponse);
|
|
33
|
+
return isValid;
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { HtmlResponseError as n, isHtmlResponseError as r, validateConnectionStatus as t };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=validateConnectionStatus-BrLXkoSI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateConnectionStatus-BrLXkoSI.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 * - Connection answers an expired session with a 302 to the login screen, and `fetch` follows it,\n * so the request resolves `200 text/html`.\n * - Without this the page reaches the caller as a string typed as the endpoint's DTO and fails much\n * later, wherever the value is first read — an Immutable accessor on a string, modules away.\n * - The message stays constant so Sentry groups every occurrence together; `request` and `response`\n * carry the per-request detail.\n * - Raised only by the clients that opt in: some APIs do serve HTML from a 200 on purpose.\n */\nexport class HtmlResponseError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\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, isHtmlResponse, type ValidateStatusFn } from '../fetchClient';\n\n/**\n * Status validation for the APIs Connection serves off its own host — storage and auth.\n *\n * - Rejects a successful response carrying an HTML 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 && isHtmlResponse(apiResponse)) {\n return new HtmlResponseError(apiResponse);\n }\n\n return isValid;\n};\n"],"mappings":";;;;;;;;;;;;;AAeA,IAAa,oBAAb,cAAuC,SAAS;CAC9C,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,UAAU;CACjB;AACF;AAEA,MAAa,uBAAuB,UAClC,iBAAiB;;;;;;;;;;ACbnB,MAAa,4BAA8C,gBAAgB;CACzE,MAAM,UAAU,sBAAsB,WAAW;CAEjD,IAAI,WAAW,eAAe,WAAW,GACvC,OAAO,IAAI,kBAAkB,WAAW;CAG1C,OAAO;AACT"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
const require_createFetchClient = require("./createFetchClient-BRfTjBLV.cjs");
|
|
2
|
+
//#region src/errors/HtmlResponseError.ts
|
|
3
|
+
/**
|
|
4
|
+
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
5
|
+
*
|
|
6
|
+
* - Connection answers an expired session with a 302 to the login screen, and `fetch` follows it,
|
|
7
|
+
* so the request resolves `200 text/html`.
|
|
8
|
+
* - Without this the page reaches the caller as a string typed as the endpoint's DTO and fails much
|
|
9
|
+
* later, wherever the value is first read — an Immutable accessor on a string, modules away.
|
|
10
|
+
* - The message stays constant so Sentry groups every occurrence together; `request` and `response`
|
|
11
|
+
* carry the per-request detail.
|
|
12
|
+
* - Raised only by the clients that opt in: some APIs do serve HTML from a 200 on purpose.
|
|
13
|
+
*/
|
|
14
|
+
var HtmlResponseError = class extends require_createFetchClient.ApiError {
|
|
15
|
+
constructor(res) {
|
|
16
|
+
super(res);
|
|
17
|
+
this.message = "Expected data, got an HTML page. The session has most likely expired.";
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const isHtmlResponseError = (error) => error instanceof HtmlResponseError;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/clients/validateConnectionStatus.ts
|
|
23
|
+
/**
|
|
24
|
+
* Status validation for the APIs Connection serves off its own host — storage and auth.
|
|
25
|
+
*
|
|
26
|
+
* - Rejects a successful response carrying an HTML page; `HtmlResponseError` says why.
|
|
27
|
+
* - HTML on a *failed* response is a real error page and stays an `ApiError`.
|
|
28
|
+
* - Management answers the same condition with its own session-expiry error instead.
|
|
29
|
+
*/
|
|
30
|
+
const validateConnectionStatus = (apiResponse) => {
|
|
31
|
+
const isValid = require_createFetchClient.defaultValidateStatus(apiResponse);
|
|
32
|
+
if (isValid && require_createFetchClient.isHtmlResponse(apiResponse)) return new HtmlResponseError(apiResponse);
|
|
33
|
+
return isValid;
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
Object.defineProperty(exports, "HtmlResponseError", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function() {
|
|
39
|
+
return HtmlResponseError;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "isHtmlResponseError", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function() {
|
|
45
|
+
return isHtmlResponseError;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "validateConnectionStatus", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function() {
|
|
51
|
+
return validateConnectionStatus;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=validateConnectionStatus-V9q6Nl6u.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateConnectionStatus-V9q6Nl6u.cjs","names":["ApiError","defaultValidateStatus","isHtmlResponse"],"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 * - Connection answers an expired session with a 302 to the login screen, and `fetch` follows it,\n * so the request resolves `200 text/html`.\n * - Without this the page reaches the caller as a string typed as the endpoint's DTO and fails much\n * later, wherever the value is first read — an Immutable accessor on a string, modules away.\n * - The message stays constant so Sentry groups every occurrence together; `request` and `response`\n * carry the per-request detail.\n * - Raised only by the clients that opt in: some APIs do serve HTML from a 200 on purpose.\n */\nexport class HtmlResponseError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\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, isHtmlResponse, type ValidateStatusFn } from '../fetchClient';\n\n/**\n * Status validation for the APIs Connection serves off its own host — storage and auth.\n *\n * - Rejects a successful response carrying an HTML 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 && isHtmlResponse(apiResponse)) {\n return new HtmlResponseError(apiResponse);\n }\n\n return isValid;\n};\n"],"mappings":";;;;;;;;;;;;;AAeA,IAAa,oBAAb,cAAuCA,0BAAAA,SAAS;CAC9C,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,UAAU;CACjB;AACF;AAEA,MAAa,uBAAuB,UAClC,iBAAiB;;;;;;;;;;ACbnB,MAAa,4BAA8C,gBAAgB;CACzE,MAAM,UAAUC,0BAAAA,sBAAsB,WAAW;CAEjD,IAAI,WAAWC,0BAAAA,eAAe,WAAW,GACvC,OAAO,IAAI,kBAAkB,WAAW;CAG1C,OAAO;AACT"}
|
package/dist/vault/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_UserError = require("../UserError-CSGO1qII.cjs");
|
|
3
|
-
require("../createFetchClient-
|
|
4
|
-
const require_createGenericFetchClient = require("../createGenericFetchClient-
|
|
5
|
-
const require_createOpenapiFetchClient = require("../createOpenapiFetchClient-
|
|
6
|
-
const require_auth = require("../auth-
|
|
3
|
+
require("../createFetchClient-BRfTjBLV.cjs");
|
|
4
|
+
const require_createGenericFetchClient = require("../createGenericFetchClient-DHs-i7_O.cjs");
|
|
5
|
+
const require_createOpenapiFetchClient = require("../createOpenapiFetchClient-CyDUFxHB.cjs");
|
|
6
|
+
const require_auth = require("../auth-DP-6TFiM.cjs");
|
|
7
7
|
//#region src/clients/vault/vaultClient.ts
|
|
8
8
|
const createVaultClient = ({ baseUrl, middlewares, auth }) => {
|
|
9
9
|
const client = require_createOpenapiFetchClient.createOpenapiFetchClient({
|
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-C7e3wBt9.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-Bc_hXWae.js";
|
|
2
2
|
export { createVaultClient };
|
package/dist/vault/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as UserError } from "../UserError-By_Zckmc.js";
|
|
2
|
-
import "../createFetchClient-
|
|
3
|
-
import { t as createGenericFetchClient } from "../createGenericFetchClient-
|
|
4
|
-
import { t as createOpenapiFetchClient } from "../createOpenapiFetchClient-
|
|
5
|
-
import { t as createAuthHeaders } from "../auth-
|
|
2
|
+
import "../createFetchClient-BbG46bL0.js";
|
|
3
|
+
import { t as createGenericFetchClient } from "../createGenericFetchClient-BHYQLZhe.js";
|
|
4
|
+
import { t as createOpenapiFetchClient } from "../createOpenapiFetchClient-Bn6_Pn0H.js";
|
|
5
|
+
import { t as createAuthHeaders } from "../auth-DtbQaeDj.js";
|
|
6
6
|
//#region src/clients/vault/vaultClient.ts
|
|
7
7
|
const createVaultClient = ({ baseUrl, middlewares, auth }) => {
|
|
8
8
|
const client = createOpenapiFetchClient({
|
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-CJHi0zdD.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-D-qI9ne4.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": "32.0.0",
|
|
4
4
|
"description": "TypeScript SDK for Keboola APIs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
12
|
"README.md",
|
|
13
|
+
"CHANGELOG.md",
|
|
13
14
|
"AGENTS.md",
|
|
14
15
|
"API-SURFACE.md",
|
|
15
16
|
"surface"
|
|
@@ -76,6 +77,12 @@
|
|
|
76
77
|
"import": [
|
|
77
78
|
"./dist/import/index.d.ts"
|
|
78
79
|
],
|
|
80
|
+
"kaiAgent": [
|
|
81
|
+
"./dist/kaiAgent/index.d.ts"
|
|
82
|
+
],
|
|
83
|
+
"kaiAgent/types": [
|
|
84
|
+
"./dist/kaiAgent/types.d.ts"
|
|
85
|
+
],
|
|
79
86
|
"management": [
|
|
80
87
|
"./dist/management/index.d.ts"
|
|
81
88
|
],
|
|
@@ -88,6 +95,12 @@
|
|
|
88
95
|
"metastore/types": [
|
|
89
96
|
"./dist/metastore/types.d.ts"
|
|
90
97
|
],
|
|
98
|
+
"microsoftGraph": [
|
|
99
|
+
"./dist/microsoftGraph/index.d.ts"
|
|
100
|
+
],
|
|
101
|
+
"microsoftGraph/types": [
|
|
102
|
+
"./dist/microsoftGraph/types.d.ts"
|
|
103
|
+
],
|
|
91
104
|
"notifications": [
|
|
92
105
|
"./dist/notifications/index.d.ts"
|
|
93
106
|
],
|
|
@@ -423,6 +436,26 @@
|
|
|
423
436
|
"default": "./dist/import/index.cjs"
|
|
424
437
|
}
|
|
425
438
|
},
|
|
439
|
+
"./kaiAgent": {
|
|
440
|
+
"import": {
|
|
441
|
+
"types": "./dist/kaiAgent/index.d.ts",
|
|
442
|
+
"default": "./dist/kaiAgent/index.js"
|
|
443
|
+
},
|
|
444
|
+
"require": {
|
|
445
|
+
"types": "./dist/kaiAgent/index.d.cts",
|
|
446
|
+
"default": "./dist/kaiAgent/index.cjs"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"./kaiAgent/types": {
|
|
450
|
+
"import": {
|
|
451
|
+
"types": "./dist/kaiAgent/types.d.ts",
|
|
452
|
+
"default": "./dist/kaiAgent/types.js"
|
|
453
|
+
},
|
|
454
|
+
"require": {
|
|
455
|
+
"types": "./dist/kaiAgent/types.d.cts",
|
|
456
|
+
"default": "./dist/kaiAgent/types.cjs"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
426
459
|
"./management": {
|
|
427
460
|
"import": {
|
|
428
461
|
"types": "./dist/management/index.d.ts",
|
|
@@ -463,6 +496,26 @@
|
|
|
463
496
|
"default": "./dist/metastore/types.cjs"
|
|
464
497
|
}
|
|
465
498
|
},
|
|
499
|
+
"./microsoftGraph": {
|
|
500
|
+
"import": {
|
|
501
|
+
"types": "./dist/microsoftGraph/index.d.ts",
|
|
502
|
+
"default": "./dist/microsoftGraph/index.js"
|
|
503
|
+
},
|
|
504
|
+
"require": {
|
|
505
|
+
"types": "./dist/microsoftGraph/index.d.cts",
|
|
506
|
+
"default": "./dist/microsoftGraph/index.cjs"
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
"./microsoftGraph/types": {
|
|
510
|
+
"import": {
|
|
511
|
+
"types": "./dist/microsoftGraph/types.d.ts",
|
|
512
|
+
"default": "./dist/microsoftGraph/types.js"
|
|
513
|
+
},
|
|
514
|
+
"require": {
|
|
515
|
+
"types": "./dist/microsoftGraph/types.d.cts",
|
|
516
|
+
"default": "./dist/microsoftGraph/types.cjs"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
466
519
|
"./notifications": {
|
|
467
520
|
"import": {
|
|
468
521
|
"types": "./dist/notifications/index.d.ts",
|
|
@@ -854,12 +907,12 @@
|
|
|
854
907
|
"vite": "^8.1.5",
|
|
855
908
|
"vitest": "^4.1.10",
|
|
856
909
|
"yaml": "^2.8.3",
|
|
857
|
-
"@keboola/oxlint-config": "^10.0.
|
|
858
|
-
"@keboola/tsconfig": "^0.2.
|
|
910
|
+
"@keboola/oxlint-config": "^10.0.2",
|
|
911
|
+
"@keboola/tsconfig": "^0.2.1",
|
|
859
912
|
"@keboola/vitest-config": "^1.0.0"
|
|
860
913
|
},
|
|
861
914
|
"scripts": {
|
|
862
|
-
"gen:types": "
|
|
915
|
+
"gen:types": "node scripts/gen-types.mjs",
|
|
863
916
|
"type-check": "tsc",
|
|
864
917
|
"lint": "pnpm lint:format && pnpm lint:oxlint",
|
|
865
918
|
"lint:fix": "oxlint --fix . && oxfmt",
|
package/surface/auth.md
CHANGED
|
@@ -15,8 +15,8 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
15
15
|
### `api.auth.login`
|
|
16
16
|
|
|
17
17
|
- `api.auth.login.methods(signal?: AbortSignal | undefined): Promise<{ methods: ({ type: "password"; passwordResetEnabled: boolean; } | { type: "oidc"; provider: "google" | "microsoft"; clientId: string; } | { type: "saml"; customerSlug: string | null; displayName: string; })[]; restriction: "ssoEnforced" | "stackSsoOnly" | null; emailDiscoveryEnabled: boolean; signUpUrl: string | null; }>`
|
|
18
|
-
- `api.auth.login.withOidc(input: { grantType: "google" | "microsoft"; idToken: string; }, signal?: AbortSignal | undefined): Promise<{ mfaRequired: false; accessToken: string; refreshToken: string; tokenType: string; expiresIn: number; sessionId: string; user: { id: number; email: string; name: string; }; } | { mfaRequired: true; mfaType: string; mfaToken: string; expiresIn: number; allowedMethods: string[]; }>`
|
|
19
|
-
- `api.auth.login.withPassword(input: { email: string; password: string; }, signal?: AbortSignal | undefined): Promise<{ mfaRequired: false; accessToken: string; refreshToken: string; tokenType: string; expiresIn: number; sessionId: string; user: { id: number; email: string; name: string; }; } | { mfaRequired: true; mfaType: string; mfaToken: string; expiresIn: number; allowedMethods: string[]; }>`
|
|
18
|
+
- `api.auth.login.withOidc(input: { grantType: "google" | "microsoft"; idToken: string; }, signal?: AbortSignal | undefined): Promise<{ mfaRequired: false; accessToken: string; refreshToken: string; tokenType: string; expiresIn: number; sessionId: string; user: { id: number; email: string; name: string; }; } | { mfaRequired: true; mfaType: string; mfaToken: string; expiresIn: number; allowedMethods: string[]; webauthn?: unknown; }>`
|
|
19
|
+
- `api.auth.login.withPassword(input: { email: string; password: string; }, signal?: AbortSignal | undefined): Promise<{ mfaRequired: false; accessToken: string; refreshToken: string; tokenType: string; expiresIn: number; sessionId: string; user: { id: number; email: string; name: string; }; } | { mfaRequired: true; mfaType: string; mfaToken: string; expiresIn: number; allowedMethods: string[]; webauthn?: unknown; }>`
|
|
20
20
|
|
|
21
21
|
### `api.auth.mfa`
|
|
22
22
|
|
|
@@ -68,3 +68,10 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
68
68
|
- `api.auth.token.introspect(token?: string | undefined, signal?: AbortSignal | undefined): Promise<{ sessionId: string; user: { id: number; email: string; name: string; }; grantType: string; sudoVerified: boolean; createdAt: string; expiresAt: string; lastUsedAt?: string | null | undefined; lastUsedIp?: string | null | undefined; userAgent?: string | null | undefined; projects: { id: number; name: string | null; role: string | null; }[]; }>`
|
|
69
69
|
- `api.auth.token.refresh(refreshToken: string, signal?: AbortSignal | undefined): Promise<{ accessToken: string; refreshToken: string; tokenType: string; expiresIn: number; sessionId: string; user: { id: number; email: string; name: string; }; }>`
|
|
70
70
|
- `api.auth.token.revoke(body: { token: string; tokenTypeHint: "accessToken" | "refreshToken" | null; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
71
|
+
|
|
72
|
+
### `api.auth.webauthn`
|
|
73
|
+
|
|
74
|
+
- `api.auth.webauthn.getAll(signal?: AbortSignal | undefined): Promise<{ webauthnCredentials?: { id: number; deviceName: string; created: string; }[] | undefined; }>`
|
|
75
|
+
- `api.auth.webauthn.register({ credential, deviceName, revokeOtherSessions }: RegisterWebauthnInput, signal?: AbortSignal | undefined): Promise<{ id: number; deviceName: string; created: string; recoveryCodes?: string[] | null | undefined; }>`
|
|
76
|
+
- `api.auth.webauthn.registerOptions(signal?: AbortSignal | undefined): Promise<RegisterWebauthnOptionsResult>`
|
|
77
|
+
- `api.auth.webauthn.remove({ id, ...query }: RemoveWebauthnInput, signal?: AbortSignal | undefined): Promise<void>`
|
package/surface/chat.md
CHANGED
|
@@ -7,7 +7,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
7
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?: "completed" | "failed" | "pending" | "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<{ projectId: string; customInstructions: string | null; createdAt: string; updatedAt: string; }>`
|
|
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;
|
|
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?: "completed" | "failed" | "pending" | "interrupted" | undefined; }[]; }>`
|
|
11
11
|
- `api.chat.getHistory(params?: { limit?: number | undefined; starting_after?: string | undefined; ending_before?: string | undefined; } | 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; }[]; }>`
|
package/surface/kaiAgent.md
CHANGED
|
@@ -7,6 +7,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
7
7
|
- `api.kaiAgent.approveToolCall(chatId: string, body: { toolUseId: string; approved: boolean; reason?: string | undefined; updatedInput?: { [key: string]: unknown; } | undefined; answers?: { [key: string]: string; } | undefined; }): Promise<void>`
|
|
8
8
|
- `api.kaiAgent.createChat(request: { id: string; message: { id: string; role: "user" | "assistant"; parts: { [key: string]: unknown; }[]; metadata?: { hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; tableContext?: { tableName: string; tableId: string; bucketId: string; fileName: string; }[] | undefined; } | undefined; }; selectedChatModel?: string | undefined; selectedVisibilityType?: "public" | "private" | undefined; branchId?: number | undefined; toolRestrictions?: { allowedTools?: string[] | undefined; disallowedTools?: string[] | undefined; readOnlyMode?: boolean | undefined; } | undefined; telemetryMetadata?: { [key: string]: string | number | boolean; } | undefined; supportsApprovalRequestedEvent?: boolean | undefined; }): Promise<Response>`
|
|
9
9
|
- `api.kaiAgent.deleteChat(chatId: string): Promise<{ id?: string | undefined; title?: string | undefined; userId?: string | undefined; createdAt?: string | undefined; visibility?: "public" | "private" | undefined; branchId?: number | null | undefined; }>`
|
|
10
|
+
- `api.kaiAgent.downloadSandboxFile(chatId: string, path: string, signal?: AbortSignal | undefined): Promise<Blob>`
|
|
10
11
|
- `api.kaiAgent.getAgentSettings(signal?: AbortSignal | undefined): Promise<{ projectId: string; customInstructions: string | null; createdAt: string; updatedAt: string; }>`
|
|
11
12
|
- `api.kaiAgent.getChat(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; contextWindow?: { usedTokens: number; maxTokens: number; percentage: number; } | null | undefined; messages: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: "data-compact-boundary"; data: { trigger: "manual" | "auto"; preTokens: number; preservedSegment?: { headUuid: string; anchorUuid: string; tailUuid: string; } | undefined; summary: string; sdkSessionId: string; }; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id: string; approved: boolean; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; } | undefined; status?: "completed" | "failed" | "pending" | "interrupted" | undefined; }[]; }>`
|
|
12
13
|
- `api.kaiAgent.getHistory(params?: { limit?: number | undefined; starting_after?: string | undefined; ending_before?: string | undefined; } | undefined): Promise<{ chats: { id?: string | undefined; title?: string | undefined; userId?: string | undefined; createdAt?: string | undefined; lastMessageAt?: string | undefined; visibility?: "public" | "private" | undefined; branchId?: number | null | undefined; }[]; hasMore: boolean; }>`
|
package/surface/sdk.md
CHANGED
|
@@ -41,9 +41,9 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
41
41
|
- `api.sdk.storage.exportToFile(tableId: string, body?: TableExportAsyncBody | undefined, options?: Options | undefined): Promise<TableExportJob>`
|
|
42
42
|
- `api.sdk.storage.forceUnlinkBucket(input: ForceUnlinkBucketInput, options?: Options | undefined): Promise<ForceUnlinkBucketJob>`
|
|
43
43
|
- `api.sdk.storage.importFromFile(input: ImportAsyncInput, options?: Options | undefined): Promise<TableImportJob>`
|
|
44
|
-
- `api.sdk.storage.pullTable(input:
|
|
44
|
+
- `api.sdk.storage.pullTable(input: PullTableAsyncPath, options?: Options | undefined): Promise<PullTableJob>`
|
|
45
45
|
- `api.sdk.storage.refreshExternalBucket(bucketId: string, query?: RefreshExternalBucketQuery | undefined, options?: Options | undefined): Promise<RefreshBucketJob>`
|
|
46
|
-
- `api.sdk.storage.registerBucket(body:
|
|
46
|
+
- `api.sdk.storage.registerBucket(body: { name: string; displayName?: string | null | undefined; stage: "out" | "in" | "sys"; backend?: "snowflake" | "bigquery" | null | undefined; description?: string | null | undefined; path: string[]; isSnowflakeSharedDatabase: boolean; }, options?: Options | undefined): Promise<RegisterBucketJob>`
|
|
47
47
|
- `api.sdk.storage.removeTablePrimaryKey(input: { tableId: string; branchId: string; }, options?: Options | undefined): Promise<RemoveTablePrimaryKeyJob>`
|
|
48
48
|
- `api.sdk.storage.shareBucketToOrganization(input: { bucketId: string; branchId: string; }, options?: Options | undefined): Promise<ShareBucketToOrganizationJob>`
|
|
49
49
|
- `api.sdk.storage.shareBucketToOrganizationProject(input: { bucketId: string; branchId: string; }, options?: Options | undefined): Promise<ShareBucketToOrganizationProjectJob>`
|
|
@@ -66,8 +66,8 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
66
66
|
|
|
67
67
|
### `api.sdk.variables`
|
|
68
68
|
|
|
69
|
-
- `api.sdk.variables.copy({ variablesId, variablesValuesId, branchId, }: { variablesId: string; variablesValuesId?: string | undefined; branchId?:
|
|
70
|
-
- `api.sdk.variables.merge({ targetVariablesId, targetValuesId, sourceVariablesId, sourceValuesId, branchId, }: { targetVariablesId: string; targetValuesId?: string | undefined; sourceVariablesId: string; sourceValuesId?: string | undefined; branchId?:
|
|
69
|
+
- `api.sdk.variables.copy({ variablesId, variablesValuesId, branchId, }: { variablesId: string; variablesValuesId?: string | undefined; branchId?: string | undefined; }): Promise<VariablesRef>`
|
|
70
|
+
- `api.sdk.variables.merge({ targetVariablesId, targetValuesId, sourceVariablesId, sourceValuesId, branchId, }: { targetVariablesId: string; targetValuesId?: string | undefined; sourceVariablesId: string; sourceValuesId?: string | undefined; branchId?: string | undefined; }): Promise<VariablesRef>`
|
|
71
71
|
|
|
72
72
|
### `api.sdk.vault`
|
|
73
73
|
|