@keboola/api-client 31.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 +1 -1
- package/CHANGELOG.md +105 -0
- package/README.md +45 -19
- package/dist/{ManagementClientAuthError-DFhi5yxe.cjs → ManagementClientAuthError-B-tyPlyG.cjs} +2 -2
- package/dist/{ManagementClientAuthError-DFhi5yxe.cjs.map → ManagementClientAuthError-B-tyPlyG.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-90pvsej0.js → ManagementClientAuthError-BAFNvOdf.js} +2 -2
- package/dist/{ManagementClientAuthError-90pvsej0.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-hQdKt_8J.d.cts → appLogs-BAaaGYKg.d.cts} +2 -2
- package/dist/{appLogs-CLHhkQJn.js → appLogs-DTLE6HTy.js} +2 -2
- package/dist/{appLogs-CLHhkQJn.js.map → appLogs-DTLE6HTy.js.map} +1 -1
- package/dist/{appLogs-BdMG6Cvn.d.ts → appLogs-DX_WTBCa.d.ts} +2 -2
- package/dist/{appLogs-BCCi02w6.cjs → appLogs-NIEDTDHf.cjs} +2 -2
- package/dist/{appLogs-BCCi02w6.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 +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 +1 -1
- package/dist/auth/types.d.ts +1 -1
- package/dist/{auth-DmgTH0uY.cjs → auth-DP-6TFiM.cjs} +2 -2
- package/dist/{auth-DmgTH0uY.cjs.map → auth-DP-6TFiM.cjs.map} +1 -1
- package/dist/{auth-CE6Hlc9W.js → auth-DtbQaeDj.js} +2 -2
- package/dist/{auth-CE6Hlc9W.js.map → auth-DtbQaeDj.js.map} +1 -1
- package/dist/{authClient-XBAUz9g-.js → authClient--BtZgjIc.js} +5 -5
- package/dist/{authClient-XBAUz9g-.js.map → authClient--BtZgjIc.js.map} +1 -1
- package/dist/{authClient-Bc_bDisO.d.ts → authClient-CtfyVHRD.d.ts} +4 -4
- package/dist/{authClient-BL6h78Q1.d.cts → authClient-DhfzOUaa.d.cts} +4 -4
- package/dist/{authClient-Cixa8_L1.cjs → authClient-b7uec7sw.cjs} +5 -5
- package/dist/{authClient-Cixa8_L1.cjs.map → authClient-b7uec7sw.cjs.map} +1 -1
- 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 +2 -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-qeWGfk_7.js → constants-ByEwVtGf.js} +38 -2
- package/dist/constants-ByEwVtGf.js.map +1 -0
- package/dist/{constants-CkAVvuUq.cjs → constants-lIfSdTzS.cjs} +43 -1
- package/dist/constants-lIfSdTzS.cjs.map +1 -0
- package/dist/{createFetchClient-B9Cv0W9f.cjs → createFetchClient-BRfTjBLV.cjs} +15 -10
- package/dist/createFetchClient-BRfTjBLV.cjs.map +1 -0
- package/dist/{createFetchClient-B1h3-p65.js → createFetchClient-BbG46bL0.js} +15 -10
- package/dist/createFetchClient-BbG46bL0.js.map +1 -0
- package/dist/{createGenericFetchClient-DhpvUSlX.js → createGenericFetchClient-BHYQLZhe.js} +2 -2
- package/dist/{createGenericFetchClient-DhpvUSlX.js.map → createGenericFetchClient-BHYQLZhe.js.map} +1 -1
- package/dist/{createGenericFetchClient-BWoSkTki.cjs → createGenericFetchClient-DHs-i7_O.cjs} +2 -2
- package/dist/{createGenericFetchClient-BWoSkTki.cjs.map → createGenericFetchClient-DHs-i7_O.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-0_oqhdPv.js → createOpenapiFetchClient-Bn6_Pn0H.js} +2 -2
- package/dist/{createOpenapiFetchClient-0_oqhdPv.js.map → createOpenapiFetchClient-Bn6_Pn0H.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-yirrW6Tg.cjs → createOpenapiFetchClient-CyDUFxHB.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-yirrW6Tg.cjs.map → createOpenapiFetchClient-CyDUFxHB.cjs.map} +1 -1
- package/dist/{credential-D-tX9gP4.cjs → credential-DOXH7XRS.cjs} +2 -2
- package/dist/{credential-D-tX9gP4.cjs.map → credential-DOXH7XRS.cjs.map} +1 -1
- package/dist/{credential-dKxArMic.js → credential-d2RDcXRB.js} +2 -2
- package/dist/{credential-dKxArMic.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-jdbSSPYF.js → dataScience-Sm8iONhP.js} +5 -5
- package/dist/{dataScience-jdbSSPYF.js.map → dataScience-Sm8iONhP.js.map} +1 -1
- package/dist/{dataScience-BqNWX-Gr.cjs → dataScience-wexHEIue.cjs} +5 -5
- package/dist/{dataScience-BqNWX-Gr.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-B7lNR5q0.cjs → developerPortalClient-CgTSzLoG.cjs} +3 -3
- package/dist/{developerPortalClient-B7lNR5q0.cjs.map → developerPortalClient-CgTSzLoG.cjs.map} +1 -1
- package/dist/{developerPortalClient-5ABcxz1U.js → developerPortalClient-DywKpDlW.js} +3 -3
- package/dist/{developerPortalClient-5ABcxz1U.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-CXHppAxd.cjs → import-C0-y1GQK.cjs} +3 -3
- package/dist/{import-CXHppAxd.cjs.map → import-C0-y1GQK.cjs.map} +1 -1
- package/dist/{import-CExRbskw.js → import-SQuurg1G.js} +3 -3
- package/dist/{import-CExRbskw.js.map → import-SQuurg1G.js.map} +1 -1
- package/dist/{index-BfVv8isU.d.cts → index-BKh0prif.d.cts} +4 -4
- package/dist/{index-CMb0ygwb.d.ts → index-Bc_hXWae.d.ts} +3 -3
- package/dist/{index-7RvXnXmd.d.ts → index-Bg1P6Bb2.d.ts} +6 -6
- package/dist/{index-cu8THqZV.d.cts → index-Bjk-tCpG.d.cts} +547 -3073
- package/dist/{index-CwJE18PJ.d.cts → index-C7e3wBt9.d.cts} +3 -3
- package/dist/{index-B-frWtGW.d.cts → index-CQrKS7PV.d.cts} +5 -2
- package/dist/{index-CR9LsDaG.d.cts → index-CXtdQ7be.d.cts} +4 -4
- package/dist/{index-Ds8e0l7-.d.ts → index-CeJOmN-P.d.ts} +5 -2
- package/dist/{index-DeMDxHTz.d.ts → index-Ctqkm3Fx.d.ts} +4 -4
- package/dist/{index-B6q7HxKJ.d.cts → index-D_7yCRKy.d.cts} +4 -4
- package/dist/{index-J1I2HlSm.d.ts → index-Dbzjvy5h.d.ts} +5 -5
- package/dist/{index-NicJZIzu.d.ts → index-DeKPpYQy.d.ts} +3 -3
- package/dist/{index-C9mAoXF6.d.cts → index-DiHHyMEo.d.cts} +6 -6
- package/dist/{index-BSjfVDTr.d.cts → index-DqOAjqxN.d.cts} +5 -5
- package/dist/{index-BR2Fu-Wo.d.ts → index-FhKX7Cv1.d.ts} +547 -3073
- package/dist/{index-Daks5CeX.d.ts → index-GDdFZCXp.d.ts} +4 -4
- package/dist/{index-Cpjh05sx.d.cts → index-Gn1H63Hk.d.cts} +4 -4
- package/dist/{index--pxLseaw.d.cts → index-NaYLwG_h.d.cts} +143 -2
- package/dist/{index--pxLseaw.d.ts → index-NaYLwG_h.d.ts} +143 -2
- package/dist/{index-D_TnbEtp.d.cts → index-eAlN694c.d.cts} +3 -3
- package/dist/{index-CW4VC9oN.d.ts → index-fHfc_VqS.d.ts} +4 -4
- package/dist/{index-CYMAwD3E.d.ts → index-tKsiUarj.d.ts} +4 -4
- package/dist/index.cjs +44 -232
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +43 -232
- 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-Cc8mKfnf.js → management-CIFhu1Nm.js} +5 -5
- package/dist/{management-Cc8mKfnf.js.map → management-CIFhu1Nm.js.map} +1 -1
- package/dist/{management-DlVdxzPw.cjs → management-DfjwQo7z.cjs} +5 -5
- package/dist/{management-DlVdxzPw.cjs.map → management-DfjwQo7z.cjs.map} +1 -1
- 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-CNf1412Z.js → metastore-CrXkKufo.js} +4 -4
- package/dist/{metastore-CNf1412Z.js.map → metastore-CrXkKufo.js.map} +1 -1
- package/dist/{metastore-DbsxqjhS.cjs → metastore-Dq2NS6jb.cjs} +4 -4
- package/dist/{metastore-DbsxqjhS.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-ClksaYRY.js → oauth-CFwSNz37.js} +5 -5
- package/dist/{oauth-ClksaYRY.js.map → oauth-CFwSNz37.js.map} +1 -1
- package/dist/{oauth-DsZgmtPj.cjs → oauth-CkW5gln-.cjs} +5 -5
- package/dist/{oauth-DsZgmtPj.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-5SLw86eZ.d.ts → project-BOGaVs-q.d.ts} +2 -2
- package/dist/{project-CRrsxSAK.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-DxUUkTcy.cjs → queryService-BLaGbpm-.cjs} +5 -5
- package/dist/{queryService-DxUUkTcy.cjs.map → queryService-BLaGbpm-.cjs.map} +1 -1
- package/dist/{queryService-BlyAcBxP.js → queryService-DK-jUnET.js} +5 -5
- package/dist/{queryService-BlyAcBxP.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-CpcqeMPz.cjs → queue-B7TY4JLf.cjs} +4 -4
- package/dist/{queue-CpcqeMPz.cjs.map → queue-B7TY4JLf.cjs.map} +1 -1
- package/dist/{queue-DpZTm7U7.js → queue-DViSQ-eq.js} +4 -4
- package/dist/{queue-DpZTm7U7.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 +4 -4
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +4 -4
- package/dist/storage/types.d.cts +4 -3
- package/dist/storage/types.d.ts +4 -3
- package/dist/{storage-vnH64B_Q.cjs → storage-CihHwZ7z.cjs} +149 -160
- package/dist/storage-CihHwZ7z.cjs.map +1 -0
- package/dist/{storage-CQxu0EY3.js → storage-kgxscFEg.js} +149 -160
- 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-AgFiMjRS.js → syncActions-B75t0NwP.js} +5 -5
- package/dist/{syncActions-AgFiMjRS.js.map → syncActions-B75t0NwP.js.map} +1 -1
- package/dist/{syncActions-DPcAPYgJ.cjs → syncActions-CevF_TEb.cjs} +5 -5
- package/dist/{syncActions-DPcAPYgJ.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-BLgaYEvi.cjs → telemetry-DwlSLVAU.cjs} +3 -3
- package/dist/{telemetry-BLgaYEvi.cjs.map → telemetry-DwlSLVAU.cjs.map} +1 -1
- package/dist/{telemetry-CPiGWpLi.js → telemetry-FXpodtJN.js} +3 -3
- package/dist/{telemetry-CPiGWpLi.js.map → telemetry-FXpodtJN.js.map} +1 -1
- package/dist/{types-DQOOWgLt.d.cts → types-Av2egS_l.d.ts} +408 -24
- package/dist/{types-ca-YNg1r.d.cts → types-B2vmg_UF.d.cts} +3 -3
- package/dist/{types-CuAoZH8w.d.cts → types-B4jdPHoL.d.cts} +2 -2
- package/dist/{types-DSBNqF1J.d.cts → types-BH9ljNmj.d.cts} +2 -2
- package/dist/{types-CFhAduFK.d.cts → types-BI2jI-3-.d.cts} +3 -3
- package/dist/types-BMQW-2Yw.d.ts +2804 -0
- package/dist/{types-BdKtW2Ml.d.cts → types-BREGN3qo.d.cts} +2 -2
- package/dist/{types-B1S60aS2.d.ts → types-BTbczawY.d.ts} +2 -2
- package/dist/{types-DG_FlLJt.d.cts → types-BV2BDccJ.d.cts} +247 -430
- package/dist/{types-Bc3-a3DT.d.cts → types-BZBdLUpH.d.ts} +2 -2
- package/dist/{types-DWUd__fe.d.ts → types-BlCoTm7n.d.ts} +2 -2
- package/dist/{types-Drk7PEhk.d.ts → types-BnaAo7xn.d.ts} +2 -2
- package/dist/{types-BXnUqdBB.d.cts → types-BoV9M5Xg.d.cts} +2 -2
- package/dist/{types-Co8WobOo.d.ts → types-Bpnpa2Wt.d.ts} +3 -3
- package/dist/{types-D7YGPUsm.d.ts → types-BptQ7jpP.d.cts} +408 -24
- package/dist/{types-COFrOmuO.d.ts → types-ByWD2oeV.d.ts} +2 -2
- package/dist/{types-C2p7JYQ3.d.cts → types-C1vhYcic.d.cts} +2 -2
- package/dist/{types-B2Al1BNh.d.ts → types-C2CLlR4i.d.ts} +2 -2
- package/dist/{types-eP06LqcE.d.cts → types-CGH_lfxS.d.cts} +2 -16
- package/dist/{types-By47HWwB.d.cts → types-CJHi0zdD.d.cts} +2 -2
- package/dist/{types-C0bGZqFI.d.cts → types-COIsNoTQ.d.cts} +2 -2
- package/dist/{types-DkoyCUqv.d.ts → types-COc-nind.d.cts} +2 -2
- package/dist/{types-CIybfUJ9.d.cts → types-CPanB0p7.d.cts} +3 -3
- package/dist/{types-DnOGCb-p.d.cts → types-CXTqFYah.d.ts} +6 -6
- package/dist/{types-sTH4KiPc.d.cts → types-CcuG9cid.d.cts} +2 -2
- package/dist/{types-RmbvQimP.d.ts → types-Cj4bLPp5.d.cts} +6 -6
- package/dist/{types-Culr5v8R.d.ts → types-CkcMoXRk.d.ts} +3 -3
- package/dist/{types-BvXODdf5.d.ts → types-CpALS017.d.ts} +2 -16
- package/dist/{types-056giLrn.d.cts → types-CvkqEvhv.d.cts} +2 -2
- package/dist/{types-BJLRgXw0.d.ts → types-CyHZ1ZQe.d.ts} +2 -2
- package/dist/{types-DLazCdFR.d.cts → types-CyiRYRVq.d.cts} +3 -3
- package/dist/{types-CgF9R0Na.d.ts → types-Cz1dj_TM.d.ts} +2 -2
- package/dist/{types-DdeZK3BO.d.ts → types-D-qI9ne4.d.ts} +2 -2
- package/dist/{types-BIAP4CYp.d.cts → types-D1uloiuY.d.cts} +2 -2
- package/dist/{types-DMMMQuNt.d.ts → types-D6jKxUv_.d.ts} +247 -430
- package/dist/{types-CQd9PuKY.d.cts → types-DNXC_-fA.d.cts} +2 -2
- package/dist/{types-Dirp9mni.d.ts → types-DeSd3gqW.d.ts} +3 -3
- package/dist/{types-D5VvEdOv.d.ts → types-De_DA2ga.d.ts} +2 -2
- package/dist/{types-BMsK6T5k.d.ts → types-Dfc58bPE.d.ts} +2 -2
- package/dist/{types-DyIKgbGB.d.ts → types-Di8VIZwQ.d.ts} +2 -2
- package/dist/{types-B2El99VY.d.cts → types-DlbiVsVo.d.cts} +2 -2
- package/dist/types-DuiUN0h8.d.ts +33557 -0
- package/dist/{types-SX78XZZ0.d.ts → types-DwpRt3e9.d.ts} +2 -2
- package/dist/{types-lVXf05pr.d.ts → types-EJEoI3ZK.d.ts} +2 -2
- package/dist/types-GuWtMCMn.d.cts +33557 -0
- package/dist/{types-mXM8MrYS.d.cts → types-MbcIiKDI.d.cts} +3 -3
- package/dist/{types-BV74LS5r.d.ts → types-RfaldD4P.d.ts} +3 -3
- package/dist/{types-uP64XthM.d.cts → types-cDU_J45_.d.cts} +2 -2
- package/dist/{types-DN7RWWBw.d.ts → types-dybUhlU2.d.ts} +2 -2
- package/dist/types-iNlsdRkx.d.cts +2804 -0
- package/dist/{types-BHCigZFc.d.ts → types-sVYo0o9_.d.ts} +3 -3
- package/dist/{types-Bv5vw2dc.d.cts → types-zA3H84SM.d.cts} +2 -2
- package/dist/{validateConnectionStatus-CBhXmvWC.js → validateConnectionStatus-BrLXkoSI.js} +2 -2
- package/dist/{validateConnectionStatus-CBhXmvWC.js.map → validateConnectionStatus-BrLXkoSI.js.map} +1 -1
- package/dist/{validateConnectionStatus-DVHXGTdi.cjs → validateConnectionStatus-V9q6Nl6u.cjs} +2 -2
- package/dist/{validateConnectionStatus-DVHXGTdi.cjs.map → validateConnectionStatus-V9q6Nl6u.cjs.map} +1 -1
- 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 +54 -2
- package/surface/chat.md +1 -1
- package/surface/sdk.md +4 -4
- package/surface/storage.md +44 -44
- package/dist/configurations-DCOJONZZ.cjs.map +0 -1
- package/dist/configurations-iCbhe0tb.js.map +0 -1
- package/dist/constants-CkAVvuUq.cjs.map +0 -1
- package/dist/constants-qeWGfk_7.js.map +0 -1
- package/dist/createFetchClient-B1h3-p65.js.map +0 -1
- package/dist/createFetchClient-B9Cv0W9f.cjs.map +0 -1
- package/dist/storage-CQxu0EY3.js.map +0 -1
- package/dist/storage-vnH64B_Q.cjs.map +0 -1
- package/dist/types-CIJAtX8q.d.cts +0 -18784
- package/dist/types-X-gQF8F8.d.ts +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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as isHtmlResponse, m as ApiError, s as defaultValidateStatus } from "./createFetchClient-
|
|
1
|
+
import { c as isHtmlResponse, m as ApiError, s as defaultValidateStatus } from "./createFetchClient-BbG46bL0.js";
|
|
2
2
|
//#region src/errors/HtmlResponseError.ts
|
|
3
3
|
/**
|
|
4
4
|
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
@@ -35,4 +35,4 @@ const validateConnectionStatus = (apiResponse) => {
|
|
|
35
35
|
//#endregion
|
|
36
36
|
export { HtmlResponseError as n, isHtmlResponseError as r, validateConnectionStatus as t };
|
|
37
37
|
|
|
38
|
-
//# sourceMappingURL=validateConnectionStatus-
|
|
38
|
+
//# sourceMappingURL=validateConnectionStatus-BrLXkoSI.js.map
|
package/dist/{validateConnectionStatus-CBhXmvWC.js.map → validateConnectionStatus-BrLXkoSI.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateConnectionStatus-
|
|
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"}
|
package/dist/{validateConnectionStatus-DVHXGTdi.cjs → validateConnectionStatus-V9q6Nl6u.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_createFetchClient = require("./createFetchClient-
|
|
1
|
+
const require_createFetchClient = require("./createFetchClient-BRfTjBLV.cjs");
|
|
2
2
|
//#region src/errors/HtmlResponseError.ts
|
|
3
3
|
/**
|
|
4
4
|
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
@@ -52,4 +52,4 @@ Object.defineProperty(exports, "validateConnectionStatus", {
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
//# sourceMappingURL=validateConnectionStatus-
|
|
55
|
+
//# sourceMappingURL=validateConnectionStatus-V9q6Nl6u.cjs.map
|
package/dist/{validateConnectionStatus-DVHXGTdi.cjs.map → validateConnectionStatus-V9q6Nl6u.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateConnectionStatus-
|
|
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",
|
|
@@ -77,6 +77,12 @@
|
|
|
77
77
|
"import": [
|
|
78
78
|
"./dist/import/index.d.ts"
|
|
79
79
|
],
|
|
80
|
+
"kaiAgent": [
|
|
81
|
+
"./dist/kaiAgent/index.d.ts"
|
|
82
|
+
],
|
|
83
|
+
"kaiAgent/types": [
|
|
84
|
+
"./dist/kaiAgent/types.d.ts"
|
|
85
|
+
],
|
|
80
86
|
"management": [
|
|
81
87
|
"./dist/management/index.d.ts"
|
|
82
88
|
],
|
|
@@ -89,6 +95,12 @@
|
|
|
89
95
|
"metastore/types": [
|
|
90
96
|
"./dist/metastore/types.d.ts"
|
|
91
97
|
],
|
|
98
|
+
"microsoftGraph": [
|
|
99
|
+
"./dist/microsoftGraph/index.d.ts"
|
|
100
|
+
],
|
|
101
|
+
"microsoftGraph/types": [
|
|
102
|
+
"./dist/microsoftGraph/types.d.ts"
|
|
103
|
+
],
|
|
92
104
|
"notifications": [
|
|
93
105
|
"./dist/notifications/index.d.ts"
|
|
94
106
|
],
|
|
@@ -424,6 +436,26 @@
|
|
|
424
436
|
"default": "./dist/import/index.cjs"
|
|
425
437
|
}
|
|
426
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
|
+
},
|
|
427
459
|
"./management": {
|
|
428
460
|
"import": {
|
|
429
461
|
"types": "./dist/management/index.d.ts",
|
|
@@ -464,6 +496,26 @@
|
|
|
464
496
|
"default": "./dist/metastore/types.cjs"
|
|
465
497
|
}
|
|
466
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
|
+
},
|
|
467
519
|
"./notifications": {
|
|
468
520
|
"import": {
|
|
469
521
|
"types": "./dist/notifications/index.d.ts",
|
|
@@ -860,7 +912,7 @@
|
|
|
860
912
|
"@keboola/vitest-config": "^1.0.0"
|
|
861
913
|
},
|
|
862
914
|
"scripts": {
|
|
863
|
-
"gen:types": "
|
|
915
|
+
"gen:types": "node scripts/gen-types.mjs",
|
|
864
916
|
"type-check": "tsc",
|
|
865
917
|
"lint": "pnpm lint:format && pnpm lint:oxlint",
|
|
866
918
|
"lint:fix": "oxlint --fix . && oxfmt",
|
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/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
|
|
package/surface/storage.md
CHANGED
|
@@ -14,7 +14,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
14
14
|
- `api.storage.branches.createDevBranchAsync(body: CreateDevBranchBody): Promise<CreateDevBranchJob>`
|
|
15
15
|
- `api.storage.branches.deleteDevBranchAndWait(id: number, options?: StorageJobPollOptions | undefined): Promise<PollResult<DeleteDevBranchJob>>`
|
|
16
16
|
- `api.storage.branches.deleteDevBranchAsync(id: number): Promise<DeleteDevBranchJob>`
|
|
17
|
-
- `api.storage.branches.deleteDevBranchMetadata({ branchId, metadataId }:
|
|
17
|
+
- `api.storage.branches.deleteDevBranchMetadata({ branchId, metadataId }: { branchId: string; metadataId: number; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
18
18
|
- `api.storage.branches.getDevBranchMetadata(branchId: string, signal?: AbortSignal | undefined): Promise<{ id: string; key: string; value: string | null; timestamp: string; }[]>`
|
|
19
19
|
- `api.storage.branches.getDevBranches(signal?: AbortSignal | undefined): Promise<DevBranch[]>`
|
|
20
20
|
- `api.storage.branches.saveDevBranchMetadata({ branchId, metadata }: SaveDevBranchMetadataInput, signal?: AbortSignal | undefined): Promise<{ id: string; key: string; value: string | null; timestamp: string; }[]>`
|
|
@@ -22,11 +22,11 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
22
22
|
|
|
23
23
|
### `api.storage.bucketExternal`
|
|
24
24
|
|
|
25
|
-
- `api.storage.bucketExternal.createScheduledRefresh({ branchId, bucketId, ...body }: CreateScheduledRefreshInput): Promise<
|
|
25
|
+
- `api.storage.bucketExternal.createScheduledRefresh({ branchId, bucketId, ...body }: CreateScheduledRefreshInput): Promise<{ uuid: string; job: "bucketRefresh"; relatedEntity: "bucket"; relatedId: string; cronExpression: string; createdAt: string; }>`
|
|
26
26
|
- `api.storage.bucketExternal.deleteScheduledTask(taskId: string): Promise<void>`
|
|
27
27
|
- `api.storage.bucketExternal.getBucketRegistrationGuide(query: BucketRegistrationGuideQuery, signal?: AbortSignal | undefined): Promise<{ markdown: string; }>`
|
|
28
28
|
- `api.storage.bucketExternal.refreshExternalBucketAsync({ bucketId, ...query }: RefreshExternalBucketInput, signal?: AbortSignal | undefined): Promise<RefreshBucketJob>`
|
|
29
|
-
- `api.storage.bucketExternal.registerBucketAsync(body:
|
|
29
|
+
- `api.storage.bucketExternal.registerBucketAsync(body: { name: string; displayName?: string | null | undefined; stage: "out" | "in" | "sys"; backend?: "snowflake" | "bigquery" | null | undefined; description?: string | null | undefined; path: string[]; isSnowflakeSharedDatabase: boolean; }, signal?: AbortSignal | undefined): Promise<RegisterBucketJob>`
|
|
30
30
|
|
|
31
31
|
### `api.storage.bucketListings`
|
|
32
32
|
|
|
@@ -44,7 +44,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
44
44
|
- `api.storage.bucketSharing.shareBucketToOrganizationProjectAsync({ branchId, bucketId }: { bucketId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<ShareBucketToOrganizationProjectJob>`
|
|
45
45
|
- `api.storage.bucketSharing.shareBucketToProjectsAsync({ branchId, bucketId, ...body }: ShareBucketToProjectsInput, signal?: AbortSignal | undefined): Promise<ShareBucketToProjectsJob>`
|
|
46
46
|
- `api.storage.bucketSharing.shareBucketToUsersAsync({ branchId, bucketId, ...body }: ShareBucketToUsersInput, signal?: AbortSignal | undefined): Promise<ShareBucketToAdminsJob>`
|
|
47
|
-
- `api.storage.bucketSharing.sharedBuckets(query?: { include?: string | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<Record<string, never
|
|
47
|
+
- `api.storage.bucketSharing.sharedBuckets(query?: { include?: string | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ id: string; name: string; displayName: string; stage: "out" | "in" | "sys"; description: string; sharing?: "organization" | "organization-project" | "specific-projects" | "specific-users" | null | undefined; created: string; lastChangeDate?: string | null | undefined; dataSizeBytes: number; rowsCount: number; backend: "snowflake" | "bigquery"; hasExternalSchema: boolean; databaseName?: string | null | undefined; path: string; project: { id?: number | undefined; name?: string | undefined; }; color?: string | null | undefined; tables: { id?: string | undefined; name?: string | undefined; displayName?: string | undefined; path?: string | undefined; }[]; sharingParameters: { [key: string]: Record<string, never>; }; sharedBy: { id?: number | null | undefined; name?: string | null | undefined; date?: string | null | undefined; }; owner?: { id?: number | undefined; name?: string | undefined; email?: string | undefined; } | null | undefined; metadata: { id: string; key: string; value: string | null; provider: string; timestamp: string; }[]; }[]>`
|
|
48
48
|
- `api.storage.bucketSharing.unshareBucketAsync({ branchId, bucketId }: { bucketId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<RemoveBucketShareJob>`
|
|
49
49
|
|
|
50
50
|
### `api.storage.buckets`
|
|
@@ -52,11 +52,11 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
52
52
|
- `api.storage.buckets.createBucket(body: CreateBucketBody): Promise<BucketDetail>`
|
|
53
53
|
- `api.storage.buckets.deleteBucket(id: string): Promise<void>`
|
|
54
54
|
- `api.storage.buckets.deleteBucketAsync({ bucketId, ...query }: DeleteBucketAsyncInput): Promise<DeleteBucketJob>`
|
|
55
|
-
- `api.storage.buckets.deleteBucketMetadata({ branchId, bucketId, metadataId }:
|
|
55
|
+
- `api.storage.buckets.deleteBucketMetadata({ branchId, bucketId, metadataId }: { bucketId: string; metadataId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
56
56
|
- `api.storage.buckets.getBucket({ branchId, bucketId, include }: GetBucketInput, signal?: AbortSignal | undefined): Promise<BucketDetail>`
|
|
57
|
-
- `api.storage.buckets.getBucketOwner({ branchId, bucketId }:
|
|
57
|
+
- `api.storage.buckets.getBucketOwner({ branchId, bucketId }: { bucketId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<{ id: number; name: string; email: string; }>`
|
|
58
58
|
- `api.storage.buckets.getBuckets({ branchId, ...query }: GetBucketsInput, signal?: AbortSignal | undefined): Promise<Bucket[]>`
|
|
59
|
-
- `api.storage.buckets.saveBucketMetadata({ branchId, bucketId, ...body }: SaveBucketMetadataInput, signal?: AbortSignal | undefined): Promise<{ id:
|
|
59
|
+
- `api.storage.buckets.saveBucketMetadata({ branchId, bucketId, ...body }: SaveBucketMetadataInput, signal?: AbortSignal | undefined): Promise<{ id: string; key: string; value: string | null; provider: string; timestamp: string; }[]>`
|
|
60
60
|
- `api.storage.buckets.updateBucket({ bucketId, ...body }: UpdateBucketInput): Promise<BucketDetail>`
|
|
61
61
|
- `api.storage.buckets.updateBucketOwner({ bucketId, ...body }: UpdateBucketOwnerInput, signal?: AbortSignal | undefined): Promise<void>`
|
|
62
62
|
|
|
@@ -67,45 +67,45 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
67
67
|
- `api.storage.columns.deleteColumnMetadata({ branchId, columnId, metadataId }: DeleteColumnMetadataInput, signal?: AbortSignal | undefined): Promise<void>`
|
|
68
68
|
- `api.storage.columns.deleteTableColumnAsync({ branchId, tableId, columnName, ...query }: DeleteTableColumnInput, signal?: AbortSignal | undefined): Promise<DeleteTableColumnJob>`
|
|
69
69
|
- `api.storage.columns.removeTablePrimaryKeyAsync({ branchId, tableId }: { tableId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<RemoveTablePrimaryKeyJob>`
|
|
70
|
-
- `api.storage.columns.saveColumnMetadata({ branchId, columnId, ...body }: SaveColumnMetadataInput, signal?: AbortSignal | undefined): Promise<{ id:
|
|
70
|
+
- `api.storage.columns.saveColumnMetadata({ branchId, columnId, ...body }: SaveColumnMetadataInput, signal?: AbortSignal | undefined): Promise<{ id: string; key: string; value: string | null; provider: string; timestamp: string; }[]>`
|
|
71
71
|
|
|
72
72
|
### `api.storage.components`
|
|
73
73
|
|
|
74
|
-
- `api.storage.components.getComponent({ componentId, branchId }:
|
|
75
|
-
- `api.storage.components.getComponents({ branchId, ...query }
|
|
74
|
+
- `api.storage.components.getComponent({ componentId, branchId }: { componentId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<Component>`
|
|
75
|
+
- `api.storage.components.getComponents({ branchId, ...query }: GetComponentsInput, signal?: AbortSignal | undefined): Promise<Component[]>`
|
|
76
76
|
|
|
77
77
|
### `api.storage.configurationMetadata`
|
|
78
78
|
|
|
79
|
-
- `api.storage.configurationMetadata.deleteConfigurationMetadata(
|
|
80
|
-
- `api.storage.configurationMetadata.getConfigurationMetadata(
|
|
81
|
-
- `api.storage.configurationMetadata.saveConfigurationMetadata({ branchId, componentId, configurationId, ...body }:
|
|
79
|
+
- `api.storage.configurationMetadata.deleteConfigurationMetadata(path: { componentId: string; configurationId: string; metadataId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
80
|
+
- `api.storage.configurationMetadata.getConfigurationMetadata(path: { componentId: string; configurationId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<{ id: string; key: string; value: string; timestamp: string; }[]>`
|
|
81
|
+
- `api.storage.configurationMetadata.saveConfigurationMetadata({ branchId, componentId, configurationId, ...body }: SaveConfigurationMetadataInput): Promise<{ id: string; key: string; value: string; timestamp: string; }[]>`
|
|
82
82
|
|
|
83
83
|
### `api.storage.configurationRows`
|
|
84
84
|
|
|
85
|
-
- `api.storage.configurationRows.createConfigurationRow({ branchId, componentId, configurationId, ...body }:
|
|
86
|
-
- `api.storage.configurationRows.createConfigurationRows({ branchId, componentId, configurationId, data
|
|
85
|
+
- `api.storage.configurationRows.createConfigurationRow({ branchId, componentId, configurationId, ...body }: CreateConfigurationRowInput): Promise<Row>`
|
|
86
|
+
- `api.storage.configurationRows.createConfigurationRows({ branchId, componentId, configurationId, data }: CreateConfigurationRowsInput, options?: { middlewares: MiddlewareFn<CreateConfigurationRowBody, Row>[]; } | undefined): Promise<Row[]>`
|
|
87
87
|
- `api.storage.configurationRows.deleteConfigurationRow({ changeDescription, ...path }: DeleteConfigurationRowInput): Promise<void>`
|
|
88
88
|
- `api.storage.configurationRows.deleteConfigurationRows({ rowIds, changeDescription, ...input }: DeleteConfigurationRowsInput, options?: { middlewares: MiddlewareFn<string, void>[]; } | undefined): Promise<void>`
|
|
89
|
-
- `api.storage.configurationRows.getConfigurationRow({ branchId, ...path }:
|
|
90
|
-
- `api.storage.configurationRows.updateConfigurationRow({ branchId, componentId, configurationId, rowId, ...body }:
|
|
91
|
-
- `api.storage.configurationRows.updateConfigurationRowState({ branchId, componentId, configurationId, rowId, ...body }:
|
|
89
|
+
- `api.storage.configurationRows.getConfigurationRow({ branchId, ...path }: { componentId: string; configurationId: string; rowId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<Row>`
|
|
90
|
+
- `api.storage.configurationRows.updateConfigurationRow({ branchId, componentId, configurationId, rowId, ...body }: UpdateConfigurationRowInput, signal?: AbortSignal | undefined): Promise<Row>`
|
|
91
|
+
- `api.storage.configurationRows.updateConfigurationRowState({ branchId, componentId, configurationId, rowId, ...body }: UpdateConfigurationRowStateInput, signal?: AbortSignal | undefined): Promise<Row>`
|
|
92
92
|
|
|
93
93
|
### `api.storage.configurationVersions`
|
|
94
94
|
|
|
95
|
-
- `api.storage.configurationVersions.copyConfigurationFromVersion({ branchId, componentId, configurationId, versionId, ...body }: CopyConfigurationFromVersionInput): Promise<
|
|
96
|
-
- `api.storage.configurationVersions.copyConfigurationRowFromVersion({ branchId, componentId, configurationId, rowId, versionId, }:
|
|
97
|
-
- `api.storage.configurationVersions.getConfigurationRowVersion({ branchId, componentId, configurationId, rowId, versionId }:
|
|
98
|
-
- `api.storage.configurationVersions.getConfigurationRowVersions({ branchId, componentId, configurationId, rowId }:
|
|
99
|
-
- `api.storage.configurationVersions.getConfigurationVersion({ branchId, componentId, configurationId, versionId }:
|
|
100
|
-
- `api.storage.configurationVersions.getConfigurationVersions({ branchId, componentId, configurationId }:
|
|
101
|
-
- `api.storage.configurationVersions.rollbackConfigurationRowToVersion({ branchId, componentId, configurationId, rowId, versionId, }:
|
|
102
|
-
- `api.storage.configurationVersions.rollbackConfigurationToVersion({ branchId, componentId, configurationId, versionId, }:
|
|
95
|
+
- `api.storage.configurationVersions.copyConfigurationFromVersion({ branchId, componentId, configurationId, versionId, ...body }: CopyConfigurationFromVersionInput): Promise<{ id: string; }>`
|
|
96
|
+
- `api.storage.configurationVersions.copyConfigurationRowFromVersion({ branchId, componentId, configurationId, rowId, versionId, }: { componentId: string; configurationId: string; rowId: string; versionId: number; branchId: string; }): Promise<Row>`
|
|
97
|
+
- `api.storage.configurationVersions.getConfigurationRowVersion({ branchId, componentId, configurationId, rowId, versionId }: { componentId: string; configurationId: string; rowId: string; versionId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<ConfigurationRowVersionDetail>`
|
|
98
|
+
- `api.storage.configurationVersions.getConfigurationRowVersions({ branchId, componentId, configurationId, rowId }: { componentId: string; configurationId: string; rowId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<ConfigurationRowVersion[]>`
|
|
99
|
+
- `api.storage.configurationVersions.getConfigurationVersion({ branchId, componentId, configurationId, versionId }: { componentId: string; configurationId: string; versionId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<ConfigurationVersionDetail>`
|
|
100
|
+
- `api.storage.configurationVersions.getConfigurationVersions({ branchId, componentId, configurationId }: { componentId: string; configurationId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<ConfigurationVersion[]>`
|
|
101
|
+
- `api.storage.configurationVersions.rollbackConfigurationRowToVersion({ branchId, componentId, configurationId, rowId, versionId, }: { componentId: string; configurationId: string; rowId: string; versionId: number; branchId: string; }): Promise<Row>`
|
|
102
|
+
- `api.storage.configurationVersions.rollbackConfigurationToVersion({ branchId, componentId, configurationId, versionId, }: { componentId: string; configurationId: string; versionId: number; branchId: string; }): Promise<{ version: string; }>`
|
|
103
103
|
|
|
104
104
|
### `api.storage.configurationWorkspaces`
|
|
105
105
|
|
|
106
106
|
- `api.storage.configurationWorkspaces.createConfigurationWorkspace({ componentId, branchId, configurationId, ...body }: CreateConfigurationWorkspaceInput): Promise<Workspace>`
|
|
107
107
|
- `api.storage.configurationWorkspaces.createConfigurationWorkspaceJob({ componentId, branchId, configurationId, ...body }: CreateConfigurationWorkspaceInput): Promise<CreateWorkspaceJob>`
|
|
108
|
-
- `api.storage.configurationWorkspaces.getConfigurationWorkspaces({ componentId, branchId, configurationId, }: {
|
|
108
|
+
- `api.storage.configurationWorkspaces.getConfigurationWorkspaces({ componentId, branchId, configurationId, }: { componentId: string; configurationId: string; branchId: string; }): Promise<Workspace[]>`
|
|
109
109
|
|
|
110
110
|
### `api.storage.configurations`
|
|
111
111
|
|
|
@@ -120,9 +120,9 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
120
120
|
- `api.storage.configurations.rebaseConfiguration({ branchId, componentId, configId, ...body }: RebaseConfigurationInput): Promise<BaseComponentConfig<Record<string, unknown>>>`
|
|
121
121
|
- `api.storage.configurations.rebaseConfigurationToDeleted({ branchId, componentId, configId, version, }: RebaseConfigurationToDeletedInput): Promise<BaseComponentConfig<Record<string, unknown>>>`
|
|
122
122
|
- `api.storage.configurations.resetConfigurationToDefault({ branchId, componentId, configId, }: ConfigurationPath): Promise<void>`
|
|
123
|
-
- `api.storage.configurations.restoreConfiguration({ branchId, componentId, configId
|
|
124
|
-
- `api.storage.configurations.searchComponentConfigurations({ branchId, include, ...query }
|
|
125
|
-
- `api.storage.configurations.updateConfiguration<T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, workspaceId, ...rest }:
|
|
123
|
+
- `api.storage.configurations.restoreConfiguration({ branchId, componentId, configId }: ConfigurationPath): Promise<BaseComponentConfig<Record<string, unknown>>>`
|
|
124
|
+
- `api.storage.configurations.searchComponentConfigurations({ branchId, include, ...query }: SearchComponentConfigurationsInput, signal?: AbortSignal | undefined): Promise<SearchComponentConfiguration[]>`
|
|
125
|
+
- `api.storage.configurations.updateConfiguration<T extends ConfigType = "unknown">({ branchId, componentId, configId, configuration, workspaceId, ...rest }: UpdateConfigurationInput, signal?: AbortSignal | undefined): Promise<UpdateConfigurationResult<T>>`
|
|
126
126
|
- `api.storage.configurations.updateConfigurationState<T extends ConfigType = "unknown">({ branchId, componentId, configId, ...body }: UpdateConfigurationStateInput, signal?: AbortSignal | undefined): Promise<ComponentConfig<T>>`
|
|
127
127
|
|
|
128
128
|
### `api.storage.events`
|
|
@@ -135,13 +135,13 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
135
135
|
|
|
136
136
|
### `api.storage.files`
|
|
137
137
|
|
|
138
|
-
- `api.storage.files.addFileTag(fileId
|
|
138
|
+
- `api.storage.files.addFileTag({ fileId, ...body }: AddFileTagInput): Promise<void>`
|
|
139
139
|
- `api.storage.files.deleteFile(fileId: number): Promise<void>`
|
|
140
|
-
- `api.storage.files.deleteFileTag(fileId: number
|
|
140
|
+
- `api.storage.files.deleteFileTag(path: { fileId: number; tagName: string; }): Promise<void>`
|
|
141
141
|
- `api.storage.files.getFile(fileId: number, signal?: AbortSignal | undefined): Promise<File>`
|
|
142
142
|
- `api.storage.files.getFileContent(fileId: number, signal?: AbortSignal | undefined): Promise<string>`
|
|
143
|
-
- `api.storage.files.getFiles(query?:
|
|
144
|
-
- `api.storage.files.prepareFile(body: PrepareFileBody, signal?: AbortSignal | undefined): Promise<
|
|
143
|
+
- `api.storage.files.getFiles(query?: { sinceId?: string | undefined; maxId?: string | undefined; tags?: string[] | undefined; q?: string | undefined; runId?: string | undefined; limit?: number | undefined; offset?: number | undefined; showExpired?: boolean | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<File[]>`
|
|
144
|
+
- `api.storage.files.prepareFile(body: PrepareFileBody, signal?: AbortSignal | undefined): Promise<{ id: number; created: string; isPublic: boolean; isSliced: boolean; isEncrypted: boolean; name: string; fileType: string; url: string; provider: "aws" | "azure" | "gcp"; region: string; sizeBytes?: number | null | undefined; tags: string[]; maxAgeDays?: number | null | undefined; runId?: string | null | undefined; runIds: string[]; creatorToken: { id?: number | undefined; description?: string | undefined; }; } & { uploadParams?: { key?: string | undefined; bucket?: string | undefined; acl?: "private" | "public-read" | undefined; credentials?: { AccessKeyId?: string | undefined; SecretAccessKey?: string | undefined; SessionToken?: string | undefined; Expiration?: string | undefined; } | undefined; 'x-amz-server-side-encryption'?: string | undefined; } | null | undefined; absUploadParams?: { blobName?: string | undefined; accountName?: string | undefined; container?: string | undefined; absCredentials?: { SASConnectionString?: string | undefined; expiration?: string | undefined; } | undefined; } | null | undefined; gcsUploadParams?: { projectId?: string | undefined; bucket?: string | undefined; key?: string | undefined; access_token?: string | undefined; expires_in?: number | undefined; token_type?: string | undefined; } | null | undefined; }>`
|
|
145
145
|
|
|
146
146
|
### `api.storage.jobs`
|
|
147
147
|
|
|
@@ -156,7 +156,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
156
156
|
- `api.storage.mergeRequests.getMergeRequestConflicts(id: number, signal?: AbortSignal | undefined): Promise<{ message: string; componentId: string; configurationId: string; isDeleted: boolean; devBranchVersionIdentifier: string; defaultBranchVersionIdentifier: string; }[]>`
|
|
157
157
|
- `api.storage.mergeRequests.getMergeRequestWithActivityLog(id: number, signal?: AbortSignal | undefined): Promise<MergeRequestDetailWithActivityLog>`
|
|
158
158
|
- `api.storage.mergeRequests.getMergeRequests(signal?: AbortSignal | undefined): Promise<{ id: number; creator: { id?: number | undefined; name?: string | undefined; }; title: string; description: string; state: "canceled" | "development" | "in_review" | "approved" | "in_merge" | "published"; branches: { branchFromId?: number | null | undefined; branchIntoId?: number | null | undefined; }; merge: { mergedAt?: string | null | undefined; mergerId?: number | null | undefined; mergerName?: string | undefined; }; createdAt: string; externalId: string; autoMergeStrategy: "immediately" | "scheduled" | "none"; autoMergeAt?: string | null | undefined; approvals: { approverId?: string | undefined; approverName?: string | undefined; createdAt?: string | undefined; }[]; reviewers: { id?: number | undefined; name?: string | undefined; email?: string | undefined; status?: "approved" | "rejected" | null | undefined; }[]; }[]>`
|
|
159
|
-
- `api.storage.mergeRequests.mergeMergeRequest(id: number): Promise<{ id: string; status: string; url: string; tableId: string; operationName: string; operationParams: Record<string, never>; createdTime: string; startTime?: string | null | undefined; endTime?: string | null | undefined; runId: string; results?: Record<string, never> | { bucketId: string; exposureName: string; exposureDescription?: string | null | undefined; bigquery: { listingId?: string | undefined; subscribers?: string[] | undefined; }; } | { idBucket: number; listingId: string; listingResourceName: string; providerResourceName: string; } | { id: number; status: string; url: string; tableId?: string | null | undefined; operationName: string; operationParams: { [key: string]: Record<string, never>; }; createdTime: string; startTime?: string | null | undefined; endTime?: string | null | undefined; runId?: string | null | undefined; results?: Record<string, never> | null | undefined; creatorToken: { id?: number | undefined; description?: string | null | undefined; }; metrics: { [key: string]: Record<string, never>; }; error?: { code?: string | null | undefined; message?: string | null | undefined; exceptionId?: string | null | undefined; } | null | undefined; } | { id: number; status: string; url: string; tableId?: string | null | undefined; operationName: string; operationParams: { [key: string]: Record<string, never>; }; createdTime: string; startTime?: string | null | undefined; endTime?: string | null | undefined; runId?: string | null | undefined; results?: Record<string, never> | null | undefined; creatorToken: { id?: number | undefined; description?: string | null | undefined; }; metrics: { [key: string]: Record<string, never>; }; error?: { code?: string | null | undefined; message?: string | null | undefined; exceptionId?: string | null | undefined; } | null | undefined; } | { uri: string; id: string; name: string; displayName: string; idBranch: number; stage: string; description: string; tables: string; created: string; lastChangeDate?: string | null | undefined; updated?: string | null | undefined; isReadOnly: boolean; dataSizeBytes: number; rowsCount: number; isMaintenance: boolean; backend: string; sharing?: string | null | undefined; hasExternalSchema: boolean; databaseName?: string | null | undefined; path: string; isSnowflakeSharedDatabase: boolean; color?: string | null | undefined; sharingParameters?: Record<string, never> | null | undefined; sharedBy?: { id?: number | null | undefined; name?: string | null | undefined; date?: string | null | undefined; } | null | undefined; owner?: Record<string, never> | null | undefined; sourceBucket?: Record<string, never> | null | undefined; warnings: { message?: string | undefined; context?: string | null | undefined; }[]; } | { id:
|
|
159
|
+
- `api.storage.mergeRequests.mergeMergeRequest(id: number): Promise<{ id: string; status: string; url: string; tableId: string; operationName: string; operationParams: Record<string, never>; createdTime: string; startTime?: string | null | undefined; endTime?: string | null | undefined; runId: string; results?: Record<string, never> | { uri: string; id: string; name: string; displayName: string; transactional: boolean; primaryKey: string[]; indexType: string | null; indexKey: string[]; distributionType: string | null; distributionKey: string[]; syntheticPrimaryKeyEnabled: boolean; created: string | null; lastImportDate: string | null; lastChangeDate: string | null; rowsCount: number | null; dataSizeBytes: number | null; isAlias: boolean; isAliasable: boolean; isTyped: boolean; tableType: string; path: string; columns: string[]; sourceTable?: { id: string; uri: string; project: { id: number; name: string; }; isAlias: boolean; } | null | undefined; aliasColumnsAutoSync?: boolean | null | undefined; aliasFilter?: Record<string, never> | null | undefined; selectSql?: string | null | undefined; } | { bucketId: string; exposureName: string; exposureDescription?: string | null | undefined; bigquery: { listingId?: string | undefined; subscribers?: string[] | undefined; }; } | { idBucket: number; listingId: string; listingResourceName: string; providerResourceName: string; } | { id: number; status: string; url: string; tableId?: string | null | undefined; operationName: string; operationParams: { [key: string]: Record<string, never>; }; createdTime: string; startTime?: string | null | undefined; endTime?: string | null | undefined; runId?: string | null | undefined; results?: Record<string, never> | null | undefined; creatorToken: { id?: number | undefined; description?: string | null | undefined; }; metrics: { [key: string]: Record<string, never>; }; error?: { code?: string | null | undefined; message?: string | null | undefined; exceptionId?: string | null | undefined; } | null | undefined; } | { id: number; status: string; url: string; tableId?: string | null | undefined; operationName: string; operationParams: { [key: string]: Record<string, never>; }; createdTime: string; startTime?: string | null | undefined; endTime?: string | null | undefined; runId?: string | null | undefined; results?: Record<string, never> | null | undefined; creatorToken: { id?: number | undefined; description?: string | null | undefined; }; metrics: { [key: string]: Record<string, never>; }; error?: { code?: string | null | undefined; message?: string | null | undefined; exceptionId?: string | null | undefined; } | null | undefined; } | { uri: string; id: string; name: string; displayName: string; idBranch: number; stage: string; description: string; tables: string; created: string; lastChangeDate?: string | null | undefined; updated?: string | null | undefined; isReadOnly: boolean; dataSizeBytes: number; rowsCount: number; isMaintenance: boolean; backend: string; sharing?: string | null | undefined; hasExternalSchema: boolean; databaseName?: string | null | undefined; path: string; isSnowflakeSharedDatabase: boolean; color?: string | null | undefined; sharingParameters?: Record<string, never> | null | undefined; sharedBy?: { id?: number | null | undefined; name?: string | null | undefined; date?: string | null | undefined; } | null | undefined; owner?: Record<string, never> | null | undefined; sourceBucket?: Record<string, never> | null | undefined; warnings: { message?: string | undefined; context?: string | null | undefined; }[]; } | { id: string; description?: string | null | undefined; createdTime: string; type: string; creatorToken: { id?: number | undefined; description?: string | undefined; }; uri: string; dataFileId: number; } | { file: { id?: number | undefined; }; cacheHit: boolean; } | { tableAStringId: string; tableBStringId: string; } | { file?: { id?: number | null | undefined; } | null | undefined; } | null | undefined; creatorToken: { id?: string | undefined; description?: string | undefined; }; metrics: { inCompressed?: boolean | undefined; inBytes?: number | undefined; inBytesUncompressed?: number | undefined; outCompressed?: boolean | undefined; outBytes?: number | undefined; outBytesUncompressed?: number | undefined; }; error?: { code?: string | undefined; message?: string | undefined; exceptionId?: string | undefined; contextParams?: Record<string, never> | null | undefined; uuid?: string | null | undefined; } | null | undefined; }>`
|
|
160
160
|
- `api.storage.mergeRequests.requestChangesMergeRequest(id: number, reason?: string | undefined): Promise<{ id: number; creator: { id?: number | undefined; name?: string | undefined; }; title: string; description: string; state: "canceled" | "development" | "in_review" | "approved" | "in_merge" | "published"; branches: { branchFromId?: number | null | undefined; branchIntoId?: number | null | undefined; }; merge: { mergedAt?: string | null | undefined; mergerId?: number | null | undefined; mergerName?: string | undefined; }; createdAt: string; externalId: string; autoMergeStrategy: "immediately" | "scheduled" | "none"; autoMergeAt?: string | null | undefined; approvals: { approverId?: string | undefined; approverName?: string | undefined; createdAt?: string | undefined; }[]; reviewers: { id?: number | undefined; name?: string | undefined; email?: string | undefined; status?: "approved" | "rejected" | null | undefined; }[]; } & { changeLog?: Record<string, never> | undefined; }>`
|
|
161
161
|
- `api.storage.mergeRequests.requestReview(id: number): Promise<{ id: number; creator: { id?: number | undefined; name?: string | undefined; }; title: string; description: string; state: "canceled" | "development" | "in_review" | "approved" | "in_merge" | "published"; branches: { branchFromId?: number | null | undefined; branchIntoId?: number | null | undefined; }; merge: { mergedAt?: string | null | undefined; mergerId?: number | null | undefined; mergerName?: string | undefined; }; createdAt: string; externalId: string; autoMergeStrategy: "immediately" | "scheduled" | "none"; autoMergeAt?: string | null | undefined; approvals: { approverId?: string | undefined; approverName?: string | undefined; createdAt?: string | undefined; }[]; reviewers: { id?: number | undefined; name?: string | undefined; email?: string | undefined; status?: "approved" | "rejected" | null | undefined; }[]; } & { changeLog?: Record<string, never> | undefined; }>`
|
|
162
162
|
- `api.storage.mergeRequests.updateMergeRequest({ id, ...body }: UpdateMergeRequestInput): Promise<{ id: number; creator: { id?: number | undefined; name?: string | undefined; }; title: string; description: string; state: "canceled" | "development" | "in_review" | "approved" | "in_merge" | "published"; branches: { branchFromId?: number | null | undefined; branchIntoId?: number | null | undefined; }; merge: { mergedAt?: string | null | undefined; mergerId?: number | null | undefined; mergerName?: string | undefined; }; createdAt: string; externalId: string; autoMergeStrategy: "immediately" | "scheduled" | "none"; autoMergeAt?: string | null | undefined; approvals: { approverId?: string | undefined; approverName?: string | undefined; createdAt?: string | undefined; }[]; reviewers: { id?: number | undefined; name?: string | undefined; email?: string | undefined; status?: "approved" | "rejected" | null | undefined; }[]; }>`
|
|
@@ -183,7 +183,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
183
183
|
- `api.storage.tables.createTableAsync({ branchId, id, ...body }: CreateTableAsyncInput, signal?: AbortSignal | undefined): Promise<TableCreateJob>`
|
|
184
184
|
- `api.storage.tables.createTableDefinitionAsync({ branchId, bucketId, ...body }: CreateTableDefinitionInput, signal?: AbortSignal | undefined): Promise<TableDefinitionCreateJob>`
|
|
185
185
|
- `api.storage.tables.deleteTable({ branchId, id, ...query }: DeleteTableInput, signal?: AbortSignal | undefined): Promise<void>`
|
|
186
|
-
- `api.storage.tables.deleteTableMetadata({ branchId, id, metadataId }:
|
|
186
|
+
- `api.storage.tables.deleteTableMetadata({ branchId, id, metadataId }: { id: string; metadataId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<void>`
|
|
187
187
|
- `api.storage.tables.deleteTableRows({ branchId, id, ...query }: DeleteTableRowsInput, signal?: AbortSignal | undefined): Promise<DeleteTableRowsJob>`
|
|
188
188
|
- `api.storage.tables.deleteTables({ branchId, ids, force }: DeleteTablesInput): Promise<void>`
|
|
189
189
|
- `api.storage.tables.exportAsync({ tableId, ...body }: ExportAsyncInput, signal?: AbortSignal | undefined): Promise<TableExportJob>`
|
|
@@ -191,18 +191,18 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
191
191
|
- `api.storage.tables.getTable({ branchId, id }: { id: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<TableDetail>`
|
|
192
192
|
- `api.storage.tables.getTables({ branchId, include, ...query }: GetTablesInput, signal?: AbortSignal | undefined): Promise<Table[]>`
|
|
193
193
|
- `api.storage.tables.importAsync({ branchId, id, ...body }: ImportAsyncInput, signal?: AbortSignal | undefined): Promise<TableImportJob>`
|
|
194
|
-
- `api.storage.tables.pullTableAsync({ branchId, id }:
|
|
194
|
+
- `api.storage.tables.pullTableAsync({ branchId, id }: PullTableAsyncPath, signal?: AbortSignal | undefined): Promise<PullTableJob>`
|
|
195
195
|
- `api.storage.tables.removeAliasTableFilter(tableId: string, signal?: AbortSignal | undefined): Promise<void>`
|
|
196
|
-
- `api.storage.tables.saveTableMetadata({ branchId, id, ...body }: SaveTableMetadataInput, signal?: AbortSignal | undefined): Promise<{ metadata: { id:
|
|
196
|
+
- `api.storage.tables.saveTableMetadata({ branchId, id, ...body }: SaveTableMetadataInput, signal?: AbortSignal | undefined): Promise<{ metadata: { id: string; key: string; value: string | null; provider: string; timestamp: string; }[]; columnsMetadata: { [key: string]: { id: string; key: string; value: string | null; provider: string; timestamp: string; }[]; }; }>`
|
|
197
197
|
- `api.storage.tables.setAliasTableFilter({ tableId, ...body }: SetAliasTableFilterInput, signal?: AbortSignal | undefined): Promise<Table>`
|
|
198
198
|
- `api.storage.tables.updateTable({ tableId, ...body }: UpdateTableInput, signal?: AbortSignal | undefined): Promise<Table>`
|
|
199
199
|
- `api.storage.tables.updateTableDefinition({ branchId, tableId, ...body }: UpdateTableDefinitionInput, signal?: AbortSignal | undefined): Promise<TableDefinitionUpdateJob>`
|
|
200
200
|
|
|
201
201
|
### `api.storage.tokens`
|
|
202
202
|
|
|
203
|
-
- `api.storage.tokens.createToken(body: CreateTokenBody, signal?: AbortSignal | undefined): Promise<{ id: string;
|
|
203
|
+
- `api.storage.tokens.createToken(body: CreateTokenBody, signal?: AbortSignal | undefined): Promise<{ id: string; created?: string | null | undefined; refreshed?: string | null | undefined; description?: string | null | undefined; uri: string; isMasterToken: boolean; canManageBuckets: boolean; canManageTokens: boolean; canReadAllFileUploads: boolean; canPurgeTrash: boolean; canManageProtectedDefaultBranch: boolean; canCreateJobs: boolean; canReadAllProjectEvents: boolean; canManageDevBranches: boolean; expires?: string | null | undefined; isExpired: boolean; isDisabled: boolean; dailyCapacity: number; token: string; creatorToken: { id?: number | undefined; description?: string | undefined; }; componentAccess: string[]; bucketPermissions: { [key: string]: string; }; }>`
|
|
204
204
|
- `api.storage.tokens.deleteToken(id: string, signal?: AbortSignal | undefined): Promise<void>`
|
|
205
|
-
- `api.storage.tokens.getTokenEvents({ id, ...query }: GetTokenEventsInput, signal?: AbortSignal | undefined): Promise<{
|
|
205
|
+
- `api.storage.tokens.getTokenEvents({ id, ...query }: GetTokenEventsInput, signal?: AbortSignal | undefined): Promise<{ uuid: string; event: string; component: string; message: string; description?: string | null | undefined; type: "error" | "success" | "info" | "warn"; runId?: string | null | undefined; created: string; configurationId?: string | null | undefined; objectId?: string | null | undefined; objectName?: string | null | undefined; objectType?: string | null | undefined; context: { remoteAddr?: string | null | undefined; httpReferer?: string | null | undefined; httpUserAgent?: string | null | undefined; httpUserAgentOriginal?: string | null | undefined; authorization?: string | null | undefined; apiVersion?: string | null | undefined; }; params: { [key: string]: unknown; }; results: { [key: string]: unknown; }; performance: { [key: string]: unknown; }; token: { id?: number | undefined; name?: string | undefined; }; idBranch?: number | null | undefined; uri: string; attachments: { id: number; isSliced: boolean; uploadType: string; isExpired: boolean; created: string; name: string; url: string; sizeBytes?: number | null | undefined; }[]; }[]>`
|
|
206
206
|
- `api.storage.tokens.getTokens(signal?: AbortSignal | undefined): Promise<{ id: string; created: string; refreshed: string; description?: string | null | undefined; uri: string; isMasterToken: boolean; canManageBuckets: boolean; canManageTokens: boolean; canReadAllFileUploads: boolean; canPurgeTrash: boolean; canManageProtectedDefaultBranch: boolean; canCreateJobs: boolean; canReadAllProjectEvents: boolean; canManageDevBranches: boolean; expires?: string | null | undefined; isExpired: boolean; isDisabled: boolean; dailyCapacity: number; token?: string | null | undefined; creatorToken?: { id?: number | undefined; description?: string | undefined; } | null | undefined; componentAccess?: string[] | null | undefined; bucketPermissions: { [key: string]: string; }; admin?: { name?: string | undefined; id?: number | undefined; role?: string | undefined; } | null | undefined; }[]>`
|
|
207
207
|
- `api.storage.tokens.refresh(id: string, signal?: AbortSignal | undefined): Promise<StorageToken>`
|
|
208
208
|
- `api.storage.tokens.shareToken({ id, ...body }: ShareTokenInput, signal?: AbortSignal | undefined): Promise<void>`
|
|
@@ -218,15 +218,15 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
218
218
|
|
|
219
219
|
### `api.storage.workspaces`
|
|
220
220
|
|
|
221
|
-
- `api.storage.workspaces.deleteWorkspace({ branchId, workspaceId }:
|
|
222
|
-
- `api.storage.workspaces.
|
|
221
|
+
- `api.storage.workspaces.deleteWorkspace({ branchId, workspaceId }: { workspaceId: number; branchId: string; }): Promise<void>`
|
|
222
|
+
- `api.storage.workspaces.deleteWorkspaceAsync({ branchId, workspaceId }: { workspaceId: number; branchId: string; }): Promise<WorkspaceDropJob>`
|
|
223
223
|
- `api.storage.workspaces.deleteWorkspaceObjectsAsync({ branchId, workspaceId, ...body }: DeleteWorkspaceObjectInput): Promise<DeleteWorkspaceObjectsJob>`
|
|
224
224
|
- `api.storage.workspaces.deleteWorkspaces({ workspaceIds, branchId }: DeleteWorkspacesInput): Promise<void>`
|
|
225
225
|
- `api.storage.workspaces.getWorkspace(path: { workspaceId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<Workspace>`
|
|
226
226
|
- `api.storage.workspaces.getWorkspaceObjects(path: { workspaceId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<{ name: string; type: "table" | "view"; }[]>`
|
|
227
|
-
- `api.storage.workspaces.getWorkspaceSaml2Login(path: {
|
|
227
|
+
- `api.storage.workspaces.getWorkspaceSaml2Login(path: { workspaceId: number; branchId: string; }, signal?: AbortSignal | undefined): Promise<WorkspaceSaml2Login>`
|
|
228
228
|
- `api.storage.workspaces.getWorkspaces(path: { branchId: string; }, signal?: AbortSignal | undefined): Promise<Workspace[]>`
|
|
229
229
|
- `api.storage.workspaces.inputMappingLoadPreview({ branchId, body, backend }: WorkspaceInputMappingLoadPreviewInput, signal?: AbortSignal | undefined): Promise<{ input: { source: string; destination: string; loadType: "VIEW" | "COPY" | "CLONE"; possibleLoadTypes: ("VIEW" | "COPY" | "CLONE")[]; }[]; }>`
|
|
230
|
-
- `api.storage.workspaces.resetWorkspacePassword({ branchId, workspaceId }:
|
|
230
|
+
- `api.storage.workspaces.resetWorkspacePassword({ branchId, workspaceId }: { workspaceId: number; branchId: string; }): Promise<ResetWorkspacePassword>`
|
|
231
231
|
- `api.storage.workspaces.setWorkspacePublicKey({ branchId, workspaceId, ...body }: SetWorkspacePublicInput): Promise<Workspace>`
|
|
232
232
|
- `api.storage.workspaces.unloadWorkspace({ branchId, workspaceId, ...query }: UnloadWorkspaceInput): Promise<Record<string, never>[]>`
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurations-DCOJONZZ.cjs","names":["AdminRole"],"sources":["../src/domain/permissions/errors.ts","../src/domain/permissions/admin.ts","../src/domain/permissions/configurations.ts"],"sourcesContent":["/**\n * @module domain/permissions/errors\n *\n * Stable error contract for permission denials.\n *\n * `PermissionDeniedError` is what every `assertCan*` pair throws on denial. The\n * three public fields are part of the SDK's published contract — consumers\n * (kbc-ui, kai-agent, third-party TS callers) may pattern-match on `action`\n * and surface `reason` in UI, so renames here are breaking changes.\n *\n * PII boundary on `subject`:\n * `subject` is optional and intended for debugging hints only — admin id,\n * role name, configuration id, branch id, etc. It MUST NOT carry the full\n * `StorageToken`, raw tokens, secrets, or any value that could be logged or\n * surfaced to a user without further redaction.\n */\nexport class PermissionDeniedError extends Error {\n public readonly action: string;\n public readonly reason?: string;\n public readonly subject?: string;\n\n constructor({ action, reason, subject }: { action: string; reason?: string; subject?: string }) {\n super(reason ? `Permission denied: ${action} (${reason})` : `Permission denied: ${action}`);\n this.name = 'PermissionDeniedError';\n this.action = action;\n this.reason = reason;\n this.subject = subject;\n }\n}\n","/**\n * @module domain/permissions/admin\n *\n * Baseline admin-role predicates. Token-only — depend purely on the admin\n * role string carried in `StorageToken.admin.role`. Each predicate has an\n * `assertCan*` pair that throws `PermissionDeniedError` with a stable\n * kebab-case `action` field documented per pair.\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\nimport { AdminRole } from '../../constants/adminRoles';\n\nimport { PermissionDeniedError } from './errors';\n\nconst role = (token: StorageToken): string => token.admin.role;\n\nexport const isAdmin = (token: StorageToken): boolean => role(token) === AdminRole.Admin;\n\nexport const isAdminOrShare = (token: StorageToken): boolean =>\n role(token) === AdminRole.Admin || role(token) === AdminRole.Share;\n\nexport const isProductionManager = (token: StorageToken): boolean =>\n role(token) === AdminRole.ProductionManager;\n\nexport const isDeveloperOrReviewer = (token: StorageToken): boolean =>\n role(token) === AdminRole.Developer || role(token) === AdminRole.Reviewer;\n\nexport const isReadOnlyRole = (token: StorageToken): boolean => role(token) === AdminRole.ReadOnly;\n\n/**\n * Whether a role string is a member of `AdminRole` at all — distinct from\n * whether it may do any particular thing. A role failing this check is not\n * \"denied\", it's *unrecognized*: either Storage started returning a role this\n * client has never heard of, or something upstream is sending garbage. Callers\n * that deny-by-default on every predicate here (the common case) still want to\n * know about this distinction, because it never shows up as a failed request —\n * a caller should log it loudly rather than treat it as routine.\n */\nexport const isKnownAdminRole = (adminRole: string | null | undefined): boolean =>\n (Object.values(AdminRole) as string[]).includes(adminRole ?? '');\n\n/**\n * Whether an admin role may write Kai's **project-wide** settings (custom\n * instructions injected into every project member's system prompt).\n *\n * `admin` and `share` only. The value is a shared prompt-injection surface, so\n * changing it counts as project administration rather than project work:\n * `productionManager` and `guest` are read-only for project management in kbc-ui,\n * and `developer`/`reviewer` are denied because `agent_settings` is keyed by\n * `project_id` alone — editing it \"inside a dev branch\" writes production-visible\n * global config.\n *\n * An allowlist, deliberately: `AdminRole` gains members upstream, and a denylist\n * would admit each new one silently with no test failing. Takes the raw role\n * string so a caller holding an unparsed `tokens.verify()` response can use it\n * without fabricating a `StorageToken`. AI-3671.\n */\nexport const isKaiSettingsWriterRole = (adminRole: string | null | undefined): boolean => {\n switch (adminRole) {\n case AdminRole.Admin:\n case AdminRole.Share:\n return true;\n default:\n return false;\n }\n};\n\n/**\n * Whether this token may write Kai's project-wide settings. A limited\n * (non-master) token never may: it carries no project role at all, and its\n * `admin` block is absent despite the hand-authored type declaring it required\n * (AI-3593) — hence the optional chain.\n */\nexport const canWriteKaiSettings = (token: StorageToken): boolean =>\n token.isMasterToken && isKaiSettingsWriterRole(token.admin?.role);\n\nexport const assertCanWriteKaiSettings = (token: StorageToken): void => {\n if (!canWriteKaiSettings(token)) {\n throw new PermissionDeniedError({\n action: 'write-kai-settings',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' may not write Kai settings`\n : 'a limited (non-master) token may not write Kai settings',\n });\n }\n};\n\nexport const assertCanAdmin = (token: StorageToken): void => {\n if (!isAdmin(token)) {\n throw new PermissionDeniedError({\n action: 'admin',\n reason: `role '${role(token)}' is not admin`,\n });\n }\n};\n\nexport const assertCanAdminOrShare = (token: StorageToken): void => {\n if (!isAdminOrShare(token)) {\n throw new PermissionDeniedError({\n action: 'admin-or-share',\n reason: `role '${role(token)}' is not admin or share`,\n });\n }\n};\n\nexport const assertCanProductionManage = (token: StorageToken): void => {\n if (!isProductionManager(token)) {\n throw new PermissionDeniedError({\n action: 'production-manage',\n reason: `role '${role(token)}' is not productionManager`,\n });\n }\n};\n\nexport const assertCanDevelopOrReview = (token: StorageToken): void => {\n if (!isDeveloperOrReviewer(token)) {\n throw new PermissionDeniedError({\n action: 'develop-or-review',\n reason: `role '${role(token)}' is not developer or reviewer`,\n });\n }\n};\n","/**\n * @module domain/permissions/configurations\n *\n * Predicate pairs guarding the Core SDK configuration workflow methods\n * (create / update / copy / migrate-from-template / purge / assign-folder). Each\n * predicate composes the baseline admin role predicates with the caller-\n * supplied dev-mode flag from `ctx`.\n *\n * Rule shape:\n * - In a dev branch (`ctx.isDevModeActive === true`) → caller must be a\n * developer or reviewer.\n * - In production (`ctx.isDevModeActive === false`) → caller must be a\n * production manager.\n * - `canPurgeConfiguration` is **admin-only**, regardless of branch mode.\n * Purge is destructive and the situational base rule does not apply —\n * `token.admin.role` is a single scalar, so requiring both \"admin\" and\n * \"developer/reviewer/productionManager\" simultaneously would be an\n * impossible conjunction. The `ctx` parameter is accepted for signature\n * symmetry with the other configuration predicates and ignored.\n *\n * `ctx` is the trailing object argument convention for composed predicates;\n * extra fields land here as future rules grow (see AGENTS.md).\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\n\nimport { isAdmin, isDeveloperOrReviewer, isProductionManager } from './admin';\nimport { PermissionDeniedError } from './errors';\n\n/**\n * Caller-supplied context for configuration predicates.\n *\n * @property isDevModeActive — `true` when the user is operating inside a\n * development branch (any storage branch other than the protected default /\n * production branch); `false` when operating on the default branch in\n * production.\n *\n * How the caller determines this:\n * - The active branch comes from the caller's own routing / app state\n * (e.g. `/branch/:branchId` in kbc-ui).\n * - A branch is \"dev mode\" when it is **not** the default branch returned by\n * `apiClient.storage.devBranches.list()` (where `isDefault === true`).\n * - kbc-ui exposes this through its `RoutesStore.getCurrentRouteParam('branchId')`\n * compared against the default branch id; the api-client itself stays\n * isomorphic and never reads that state directly.\n *\n * Why it changes the rule:\n * - In dev branches Keboola allows broader write access — `developer` and\n * `reviewer` roles may create / copy / migrate configurations because the\n * branch is sandboxed from production.\n * - On the default branch only `productionManager` (or `admin`) may perform\n * the same writes, since changes ship live to production.\n */\nexport type ConfigurationCtx = {\n isDevModeActive: boolean;\n};\n\nconst meetsBaseRule = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n ctx.isDevModeActive ? isDeveloperOrReviewer(token) : isProductionManager(token);\n\nconst baseDenialReason = (ctx: ConfigurationCtx): string =>\n ctx.isDevModeActive\n ? 'dev branch requires developer or reviewer role'\n : 'production requires productionManager role';\n\nexport const canCreateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canUpdateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canCopyConfiguration = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canMigrateFromTemplate = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canPurgeConfiguration: (token: StorageToken, ctx: ConfigurationCtx) => boolean = (\n token,\n) => isAdmin(token);\n\nexport const canAssignFolder = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const assertCanCreateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canCreateConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'create-configuration',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanUpdateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canUpdateConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'update-configuration',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanCopyConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canCopyConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'copy-configuration',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanMigrateFromTemplate = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canMigrateFromTemplate(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'migrate-from-template',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanPurgeConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canPurgeConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'purge-configuration',\n reason: 'purge requires admin role',\n });\n }\n};\n\nexport const assertCanAssignFolder = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canAssignFolder(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'assign-folder',\n reason: baseDenialReason(ctx),\n });\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAgBA,IAAa,wBAAb,cAA2C,MAAM;CAC/C;CACA;CACA;CAEA,YAAY,EAAE,QAAQ,QAAQ,WAAkE;EAC9F,MAAM,SAAS,sBAAsB,OAAO,IAAI,OAAO,KAAK,sBAAsB,QAAQ;EAC1F,KAAK,OAAO;EACZ,KAAK,SAAS;EACd,KAAK,SAAS;EACd,KAAK,UAAU;CACjB;AACF;;;ACfA,MAAM,QAAQ,UAAgC,MAAM,MAAM;AAE1D,MAAa,WAAW,UAAiC,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAEnF,MAAa,kBAAkB,UAC7B,KAAK,KAAK,MAAMA,mBAAAA,UAAU,SAAS,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAE/D,MAAa,uBAAuB,UAClC,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAE5B,MAAa,yBAAyB,UACpC,KAAK,KAAK,MAAMA,mBAAAA,UAAU,aAAa,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAEnE,MAAa,kBAAkB,UAAiC,KAAK,KAAK,MAAMA,mBAAAA,UAAU;;;;;;;;;;AAW1F,MAAa,oBAAoB,cAC9B,OAAO,OAAOA,mBAAAA,SAAS,CAAC,CAAc,SAAS,aAAa,EAAE;;;;;;;;;;;;;;;;;AAkBjE,MAAa,2BAA2B,cAAkD;CACxF,QAAQ,WAAR;EACE,KAAKA,mBAAAA,UAAU;EACf,KAAKA,mBAAAA,UAAU,OACb,OAAO;EACT,SACE,OAAO;CACX;AACF;;;;;;;AAQA,MAAa,uBAAuB,UAClC,MAAM,iBAAiB,wBAAwB,MAAM,OAAO,IAAI;AAElE,MAAa,6BAA6B,UAA8B;CACtE,IAAI,CAAC,oBAAoB,KAAK,GAC5B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,gCACrC;CACN,CAAC;AAEL;AAEA,MAAa,kBAAkB,UAA8B;CAC3D,IAAI,CAAC,QAAQ,KAAK,GAChB,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;AAEA,MAAa,yBAAyB,UAA8B;CAClE,IAAI,CAAC,eAAe,KAAK,GACvB,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;AAEA,MAAa,6BAA6B,UAA8B;CACtE,IAAI,CAAC,oBAAoB,KAAK,GAC5B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;AAEA,MAAa,4BAA4B,UAA8B;CACrE,IAAI,CAAC,sBAAsB,KAAK,GAC9B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;;;AChEA,MAAM,iBAAiB,OAAqB,QAC1C,IAAI,kBAAkB,sBAAsB,KAAK,IAAI,oBAAoB,KAAK;AAEhF,MAAM,oBAAoB,QACxB,IAAI,kBACA,mDACA;AAEN,MAAa,0BAA0B,OAAqB,QAC1D,cAAc,OAAO,GAAG;AAE1B,MAAa,0BAA0B,OAAqB,QAC1D,cAAc,OAAO,GAAG;AAE1B,MAAa,wBAAwB,OAAqB,QACxD,cAAc,OAAO,GAAG;AAE1B,MAAa,0BAA0B,OAAqB,QAC1D,cAAc,OAAO,GAAG;AAE1B,MAAa,yBACX,UACG,QAAQ,KAAK;AAElB,MAAa,mBAAmB,OAAqB,QACnD,cAAc,OAAO,GAAG;AAE1B,MAAa,gCAAgC,OAAqB,QAAgC;CAChG,IAAI,CAAC,uBAAuB,OAAO,GAAG,GACpC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,gCAAgC,OAAqB,QAAgC;CAChG,IAAI,CAAC,uBAAuB,OAAO,GAAG,GACpC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,8BAA8B,OAAqB,QAAgC;CAC9F,IAAI,CAAC,qBAAqB,OAAO,GAAG,GAClC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,gCAAgC,OAAqB,QAAgC;CAChG,IAAI,CAAC,uBAAuB,OAAO,GAAG,GACpC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,+BAA+B,OAAqB,QAAgC;CAC/F,IAAI,CAAC,sBAAsB,OAAO,GAAG,GACnC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ;CACV,CAAC;AAEL;AAEA,MAAa,yBAAyB,OAAqB,QAAgC;CACzF,IAAI,CAAC,gBAAgB,OAAO,GAAG,GAC7B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL"}
|