@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
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as ApiError, S as isHtmlResponseError, T as MiddlewareFn, _ as ValidationError, b as ManagementClientAuthError, d as HttpContentType, f as HttpHeader, g as isFetchClientError, h as isApiError, m as isAbortError, p as FetchClientError, u as createGenericFetchClient, v as isValidationError, x as HtmlResponseError, y as parseOrThrow } from "./index-
|
|
2
|
-
import { $ as generateUUID, A as LegacySession, At as TaskFn, B as createPersistor, Bt as isKeboolaError, C as LogLevel, Ct as delay, D as ResponseLog, Dt as CollectOptions, E as RequestLog, Et as concurrent, Ft as createMemoryStorage, G as Emitter, Gt as isSyncActionError, H as isEmptyDeep, Ht as isStorageTokenMutatingRequest, It as createNullStorage, J as createDerivedAsyncStore, Jt as isQueryJobTimeoutError, K as ReadableStore, Kt as ServiceUnavailableError, L as createLegacyKeboola, Lt as createSessionStorage, Mt as KeboolaOptions, Nt as StorageAdapter, O as createLoggingMiddleware, Ot as collect, Pt as createLocalStorage, Q as shallowEqual, R as createKeboola, Rt as KeboolaError, S as Log, St as lazy, T as LoggingOptions, Tt as ConcurrentOptions, U as isPlainObject, V as deepMerge, Vt as ClientContext, W as AsyncState, Wt as SyncActionError, X as createEmitter, Xt as isQueryJobError, Y as createDerivedStore, Yt as QueryJobError, Z as createStore, Zt as UserError, _t as PollContext, at as createPollRegistry, b as RetryOptions, bt as PollResult, ct as PollState, dt as PollerStartFn, et as Result, ft as PollerStopFn, gt as poller, h as createStorageSdk, ht as poll, i as createQueryServiceSdk, it as PollRegistry, j as KeboolaApi, jt as assert, k as BearerSession, kt as coalesce, lt as PollTask, mt as failureOf, nt as series, ot as ObservedPoller, pt as emitter, q as Store, qt as QueryJobTimeoutError, rt as PollEntry, st as PollSnapshot, tt as asError, ut as Poller, v as jobStatus, vt as PollKey, w as Logger, wt as dedupe, x as createRetryMiddleware, xt as PollTick, y as KeboolaHttpHeader, yt as PollOptions, z as Persistor, zt as KeboolaErrorType } from "./index-
|
|
3
|
-
import { r as AuthStrategy, t as BaseClientOptions } from "./types-
|
|
4
|
-
import { n as parseLogLines } from "./appLogs-
|
|
5
|
-
import { t as isManagementClientAuthError } from "./index-
|
|
1
|
+
import { D as ApiError, S as isHtmlResponseError, T as MiddlewareFn, _ as ValidationError, b as ManagementClientAuthError, d as HttpContentType, f as HttpHeader, g as isFetchClientError, h as isApiError, m as isAbortError, p as FetchClientError, u as createGenericFetchClient, v as isValidationError, x as HtmlResponseError, y as parseOrThrow } from "./index-CQrKS7PV.cjs";
|
|
2
|
+
import { $ as generateUUID, A as LegacySession, At as TaskFn, B as createPersistor, Bt as isKeboolaError, C as LogLevel, Ct as delay, D as ResponseLog, Dt as CollectOptions, E as RequestLog, Et as concurrent, Ft as createMemoryStorage, G as Emitter, Gt as isSyncActionError, H as isEmptyDeep, Ht as isStorageTokenMutatingRequest, It as createNullStorage, J as createDerivedAsyncStore, Jt as isQueryJobTimeoutError, K as ReadableStore, Kt as ServiceUnavailableError, L as createLegacyKeboola, Lt as createSessionStorage, Mt as KeboolaOptions, Nt as StorageAdapter, O as createLoggingMiddleware, Ot as collect, Pt as createLocalStorage, Q as shallowEqual, R as createKeboola, Rt as KeboolaError, S as Log, St as lazy, T as LoggingOptions, Tt as ConcurrentOptions, U as isPlainObject, V as deepMerge, Vt as ClientContext, W as AsyncState, Wt as SyncActionError, X as createEmitter, Xt as isQueryJobError, Y as createDerivedStore, Yt as QueryJobError, Z as createStore, Zt as UserError, _t as PollContext, at as createPollRegistry, b as RetryOptions, bt as PollResult, ct as PollState, dt as PollerStartFn, et as Result, ft as PollerStopFn, gt as poller, h as createStorageSdk, ht as poll, i as createQueryServiceSdk, it as PollRegistry, j as KeboolaApi, jt as assert, k as BearerSession, kt as coalesce, lt as PollTask, mt as failureOf, nt as series, ot as ObservedPoller, pt as emitter, q as Store, qt as QueryJobTimeoutError, rt as PollEntry, st as PollSnapshot, tt as asError, ut as Poller, v as jobStatus, vt as PollKey, w as Logger, wt as dedupe, x as createRetryMiddleware, xt as PollTick, y as KeboolaHttpHeader, yt as PollOptions, z as Persistor, zt as KeboolaErrorType } from "./index-Bjk-tCpG.cjs";
|
|
3
|
+
import { r as AuthStrategy, t as BaseClientOptions } from "./types-BREGN3qo.cjs";
|
|
4
|
+
import { n as parseLogLines } from "./appLogs-BAaaGYKg.cjs";
|
|
5
|
+
import { t as isManagementClientAuthError } from "./index-D_7yCRKy.cjs";
|
|
6
6
|
import { n as KeboolaObjectId, r as keboolaUID, t as schemaGuidedMerge } from "./index-NC1dXRTD.cjs";
|
|
7
7
|
export { ApiError, AsyncState, type AuthStrategy, type BaseClientOptions, BearerSession, type ClientContext, CollectOptions, ConcurrentOptions, Emitter, type FetchClientError, HtmlResponseError, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, LegacySession, Log, LogLevel, Logger, LoggingOptions, ManagementClientAuthError, MiddlewareFn, ObservedPoller, Persistor, type PollContext, PollEntry, type PollKey, type PollOptions, PollRegistry, type PollResult, PollSnapshot, PollState, PollTask, type PollTick, Poller, PollerStartFn, PollerStopFn, QueryJobError, QueryJobTimeoutError, ReadableStore, RequestLog, ResponseLog, Result, RetryOptions, ServiceUnavailableError, type StorageAdapter, Store, SyncActionError, TaskFn, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as ApiError, S as isHtmlResponseError, T as MiddlewareFn, _ as ValidationError, b as ManagementClientAuthError, d as HttpContentType, f as HttpHeader, g as isFetchClientError, h as isApiError, m as isAbortError, p as FetchClientError, u as createGenericFetchClient, v as isValidationError, x as HtmlResponseError, y as parseOrThrow } from "./index-
|
|
2
|
-
import { $ as generateUUID, A as LegacySession, At as TaskFn, B as createPersistor, Bt as isKeboolaError, C as LogLevel, Ct as delay, D as ResponseLog, Dt as CollectOptions, E as RequestLog, Et as concurrent, Ft as createMemoryStorage, G as Emitter, Gt as isSyncActionError, H as isEmptyDeep, Ht as isStorageTokenMutatingRequest, It as createNullStorage, J as createDerivedAsyncStore, Jt as isQueryJobTimeoutError, K as ReadableStore, Kt as ServiceUnavailableError, L as createLegacyKeboola, Lt as createSessionStorage, Mt as KeboolaOptions, Nt as StorageAdapter, O as createLoggingMiddleware, Ot as collect, Pt as createLocalStorage, Q as shallowEqual, R as createKeboola, Rt as KeboolaError, S as Log, St as lazy, T as LoggingOptions, Tt as ConcurrentOptions, U as isPlainObject, V as deepMerge, Vt as ClientContext, W as AsyncState, Wt as SyncActionError, X as createEmitter, Xt as isQueryJobError, Y as createDerivedStore, Yt as QueryJobError, Z as createStore, Zt as UserError, _t as PollContext, at as createPollRegistry, b as RetryOptions, bt as PollResult, ct as PollState, dt as PollerStartFn, et as Result, ft as PollerStopFn, gt as poller, h as createStorageSdk, ht as poll, i as createQueryServiceSdk, it as PollRegistry, j as KeboolaApi, jt as assert, k as BearerSession, kt as coalesce, lt as PollTask, mt as failureOf, nt as series, ot as ObservedPoller, pt as emitter, q as Store, qt as QueryJobTimeoutError, rt as PollEntry, st as PollSnapshot, tt as asError, ut as Poller, v as jobStatus, vt as PollKey, w as Logger, wt as dedupe, x as createRetryMiddleware, xt as PollTick, y as KeboolaHttpHeader, yt as PollOptions, z as Persistor, zt as KeboolaErrorType } from "./index-
|
|
3
|
-
import { r as AuthStrategy, t as BaseClientOptions } from "./types-
|
|
4
|
-
import { n as parseLogLines } from "./appLogs-
|
|
5
|
-
import { t as isManagementClientAuthError } from "./index-
|
|
1
|
+
import { D as ApiError, S as isHtmlResponseError, T as MiddlewareFn, _ as ValidationError, b as ManagementClientAuthError, d as HttpContentType, f as HttpHeader, g as isFetchClientError, h as isApiError, m as isAbortError, p as FetchClientError, u as createGenericFetchClient, v as isValidationError, x as HtmlResponseError, y as parseOrThrow } from "./index-CeJOmN-P.js";
|
|
2
|
+
import { $ as generateUUID, A as LegacySession, At as TaskFn, B as createPersistor, Bt as isKeboolaError, C as LogLevel, Ct as delay, D as ResponseLog, Dt as CollectOptions, E as RequestLog, Et as concurrent, Ft as createMemoryStorage, G as Emitter, Gt as isSyncActionError, H as isEmptyDeep, Ht as isStorageTokenMutatingRequest, It as createNullStorage, J as createDerivedAsyncStore, Jt as isQueryJobTimeoutError, K as ReadableStore, Kt as ServiceUnavailableError, L as createLegacyKeboola, Lt as createSessionStorage, Mt as KeboolaOptions, Nt as StorageAdapter, O as createLoggingMiddleware, Ot as collect, Pt as createLocalStorage, Q as shallowEqual, R as createKeboola, Rt as KeboolaError, S as Log, St as lazy, T as LoggingOptions, Tt as ConcurrentOptions, U as isPlainObject, V as deepMerge, Vt as ClientContext, W as AsyncState, Wt as SyncActionError, X as createEmitter, Xt as isQueryJobError, Y as createDerivedStore, Yt as QueryJobError, Z as createStore, Zt as UserError, _t as PollContext, at as createPollRegistry, b as RetryOptions, bt as PollResult, ct as PollState, dt as PollerStartFn, et as Result, ft as PollerStopFn, gt as poller, h as createStorageSdk, ht as poll, i as createQueryServiceSdk, it as PollRegistry, j as KeboolaApi, jt as assert, k as BearerSession, kt as coalesce, lt as PollTask, mt as failureOf, nt as series, ot as ObservedPoller, pt as emitter, q as Store, qt as QueryJobTimeoutError, rt as PollEntry, st as PollSnapshot, tt as asError, ut as Poller, v as jobStatus, vt as PollKey, w as Logger, wt as dedupe, x as createRetryMiddleware, xt as PollTick, y as KeboolaHttpHeader, yt as PollOptions, z as Persistor, zt as KeboolaErrorType } from "./index-FhKX7Cv1.js";
|
|
3
|
+
import { r as AuthStrategy, t as BaseClientOptions } from "./types-DwpRt3e9.js";
|
|
4
|
+
import { n as parseLogLines } from "./appLogs-DX_WTBCa.js";
|
|
5
|
+
import { t as isManagementClientAuthError } from "./index-Ctqkm3Fx.js";
|
|
6
6
|
import { n as KeboolaObjectId, r as keboolaUID, t as schemaGuidedMerge } from "./index-NC1dXRTD.js";
|
|
7
7
|
export { ApiError, AsyncState, type AuthStrategy, type BaseClientOptions, BearerSession, type ClientContext, CollectOptions, ConcurrentOptions, Emitter, type FetchClientError, HtmlResponseError, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, LegacySession, Log, LogLevel, Logger, LoggingOptions, ManagementClientAuthError, MiddlewareFn, ObservedPoller, Persistor, type PollContext, PollEntry, type PollKey, type PollOptions, PollRegistry, type PollResult, PollSnapshot, PollState, PollTask, type PollTick, Poller, PollerStartFn, PollerStopFn, QueryJobError, QueryJobTimeoutError, ReadableStore, RequestLog, ResponseLog, Result, RetryOptions, ServiceUnavailableError, type StorageAdapter, Store, SyncActionError, TaskFn, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
package/dist/index.js
CHANGED
|
@@ -1,53 +1,51 @@
|
|
|
1
1
|
import { t as createProject } from "./project-DWwZv66D.js";
|
|
2
2
|
import { a as poller, c as Result, d as delay, i as poll, l as asError, n as emitter, o as clamp, r as failureOf, s as finiteOr, t as jobStatus, u as lazy } from "./jobStatus-DbMupQEK.js";
|
|
3
|
-
import { n as collect, t as createQueueClient } from "./queue-
|
|
3
|
+
import { n as collect, t as createQueueClient } from "./queue-DViSQ-eq.js";
|
|
4
4
|
import { t as concurrent } from "./concurrent-CH9fbNr3.js";
|
|
5
5
|
import { t as dedupe } from "./dedupe-DYIHgZoG.js";
|
|
6
6
|
import { a as shallowEqual, i as createStore, n as createDerivedStore, r as createEmitter, t as createDerivedAsyncStore } from "./createStore-BNiCRQXa.js";
|
|
7
|
-
import { a as series, i as ServiceUnavailableError, t as createStorageClient } from "./storage-
|
|
7
|
+
import { a as series, i as ServiceUnavailableError, t as createStorageClient } from "./storage-kgxscFEg.js";
|
|
8
8
|
import { n as keboolaUID, t as createTagSdk } from "./tag-DCsoewjL.js";
|
|
9
9
|
import { t as generateUUID } from "./generateUUID-Dr8l-aoc.js";
|
|
10
10
|
import { t as isPlainObject } from "./isPlainObject-LYW-03uB.js";
|
|
11
|
-
import { n as schemaGuidedMerge, r as isEmptyDeep, t as createConfigurationSdk } from "./configurations-
|
|
11
|
+
import { n as schemaGuidedMerge, r as isEmptyDeep, t as createConfigurationSdk } from "./configurations-ZwBXilW-.js";
|
|
12
12
|
import { t as UserError } from "./UserError-By_Zckmc.js";
|
|
13
|
-
import { a as HttpContentType, f as HttpStatus, i as isFetchClientError, l as normalizeBaseUrl, m as ApiError, n as isAbortError, o as HttpHeader, p as KeboolaHttpHeader, r as isApiError } from "./createFetchClient-
|
|
14
|
-
import { n as HtmlResponseError, r as isHtmlResponseError } from "./validateConnectionStatus-
|
|
15
|
-
import { t as ManagementClientAuthError } from "./ManagementClientAuthError-
|
|
13
|
+
import { a as HttpContentType, f as HttpStatus, i as isFetchClientError, l as normalizeBaseUrl, m as ApiError, n as isAbortError, o as HttpHeader, p as KeboolaHttpHeader, r as isApiError } from "./createFetchClient-BbG46bL0.js";
|
|
14
|
+
import { n as HtmlResponseError, r as isHtmlResponseError } from "./validateConnectionStatus-BrLXkoSI.js";
|
|
15
|
+
import { t as ManagementClientAuthError } from "./ManagementClientAuthError-BAFNvOdf.js";
|
|
16
16
|
import { i as isQueryJobError, n as isQueryJobTimeoutError, r as QueryJobError, t as QueryJobTimeoutError } from "./QueryJobTimeoutError-C7JbNGOM.js";
|
|
17
17
|
import { n as isSyncActionError, t as SyncActionError } from "./SyncActionError-CoZFsdUk.js";
|
|
18
18
|
import { n as isValidationError, r as parseOrThrow, t as ValidationError } from "./ValidationError-CzPWydEb.js";
|
|
19
|
-
import { t as createGenericFetchClient } from "./createGenericFetchClient-
|
|
20
|
-
import { t as createImportClient } from "./import-
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import { t as createAuthHeaders } from "./auth-CE6Hlc9W.js";
|
|
25
|
-
import { o as ProjectFeature } from "./constants-qeWGfk_7.js";
|
|
19
|
+
import { t as createGenericFetchClient } from "./createGenericFetchClient-BHYQLZhe.js";
|
|
20
|
+
import { t as createImportClient } from "./import-SQuurg1G.js";
|
|
21
|
+
import { t as createAuthClient } from "./authClient--BtZgjIc.js";
|
|
22
|
+
import { n as isManagementClientAuthError, t as createManagementClient } from "./management-CIFhu1Nm.js";
|
|
23
|
+
import { s as ProjectFeature } from "./constants-ByEwVtGf.js";
|
|
26
24
|
import { t as createStorageTable } from "./storageTable-DslXtqNL.js";
|
|
27
25
|
import { createSemanticLayerSdk } from "./sdk/semanticLayer/index.js";
|
|
28
26
|
import { createStorageSdk } from "./sdk/storage/index.js";
|
|
29
27
|
import { createVaultSdk } from "./sdk/vault/index.js";
|
|
30
28
|
import { createAiClient } from "./ai/index.js";
|
|
31
|
-
import { t as parseLogLines } from "./appLogs-
|
|
29
|
+
import { t as parseLogLines } from "./appLogs-DTLE6HTy.js";
|
|
32
30
|
import { createAppsClient } from "./apps/index.js";
|
|
33
31
|
import { createChatClient } from "./chat/index.js";
|
|
34
|
-
import { t as createDataScienceClient } from "./dataScience-
|
|
32
|
+
import { t as createDataScienceClient } from "./dataScience-Sm8iONhP.js";
|
|
35
33
|
import { createEditorClient } from "./editor/index.js";
|
|
36
34
|
import { createEncryptionClient } from "./encryption/index.js";
|
|
37
|
-
import { t as
|
|
35
|
+
import { t as createKaiAgentClient } from "./kaiAgent-HDaFS9BR.js";
|
|
36
|
+
import { t as createMetastoreClient } from "./metastore-CrXkKufo.js";
|
|
38
37
|
import { createNotificationsClient } from "./notifications/index.js";
|
|
39
|
-
import { t as createOauthClient } from "./oauth-
|
|
38
|
+
import { t as createOauthClient } from "./oauth-CFwSNz37.js";
|
|
40
39
|
import { createOmnisearchClient } from "./omnisearch/index.js";
|
|
41
|
-
import { t as createQueryServiceClient } from "./queryService-
|
|
40
|
+
import { t as createQueryServiceClient } from "./queryService-DK-jUnET.js";
|
|
42
41
|
import { createSchedulerClient } from "./scheduler/index.js";
|
|
43
42
|
import { createStreamClient } from "./stream/index.js";
|
|
44
|
-
import { t as createSyncActionsClient } from "./syncActions-
|
|
45
|
-
import { t as createTelemetryClient } from "./telemetry-
|
|
43
|
+
import { t as createSyncActionsClient } from "./syncActions-B75t0NwP.js";
|
|
44
|
+
import { t as createTelemetryClient } from "./telemetry-FXpodtJN.js";
|
|
46
45
|
import { createVaultClient } from "./vault/index.js";
|
|
47
|
-
import { n as isUnauthorized, t as createBearerCredential } from "./credential-
|
|
46
|
+
import { n as isUnauthorized, t as createBearerCredential } from "./credential-d2RDcXRB.js";
|
|
48
47
|
import { createQueryServiceSdk } from "./sdk/queryService/index.js";
|
|
49
48
|
import * as z$1 from "zod";
|
|
50
|
-
import { z } from "zod";
|
|
51
49
|
//#region src/utils/assert.ts
|
|
52
50
|
function assert(value, message) {
|
|
53
51
|
if (value == null) throw new Error(message);
|
|
@@ -857,216 +855,6 @@ const createVariablesSdk = ({ storageClient }) => {
|
|
|
857
855
|
};
|
|
858
856
|
};
|
|
859
857
|
//#endregion
|
|
860
|
-
//#region src/clients/kaiAgent/kaiAgentClient.ts
|
|
861
|
-
const agentSettingsSchema = z.object({
|
|
862
|
-
projectId: z.string(),
|
|
863
|
-
customInstructions: z.string().nullable(),
|
|
864
|
-
createdAt: z.string(),
|
|
865
|
-
updatedAt: z.string()
|
|
866
|
-
});
|
|
867
|
-
const toolPermissionValueSchema = z.enum([
|
|
868
|
-
"always_allow",
|
|
869
|
-
"always_ask",
|
|
870
|
-
"blocked"
|
|
871
|
-
]);
|
|
872
|
-
const userAgentSettingsSchema = z.object({
|
|
873
|
-
projectId: z.string(),
|
|
874
|
-
userId: z.string(),
|
|
875
|
-
customInstructions: z.string().nullable(),
|
|
876
|
-
toolPermissions: z.record(z.string(), toolPermissionValueSchema).nullable(),
|
|
877
|
-
createdAt: z.string(),
|
|
878
|
-
updatedAt: z.string()
|
|
879
|
-
});
|
|
880
|
-
const toolInfoSchema = z.object({
|
|
881
|
-
name: z.string(),
|
|
882
|
-
description: z.string(),
|
|
883
|
-
readOnly: z.boolean()
|
|
884
|
-
});
|
|
885
|
-
const toolsListResponseSchema = z.object({ tools: z.array(toolInfoSchema) });
|
|
886
|
-
const skillInfoSchema = z.object({
|
|
887
|
-
name: z.string(),
|
|
888
|
-
description: z.string().nullable(),
|
|
889
|
-
source: z.enum([
|
|
890
|
-
"first-party",
|
|
891
|
-
"vendored",
|
|
892
|
-
"project"
|
|
893
|
-
])
|
|
894
|
-
});
|
|
895
|
-
const builtInCommandSchema = z.object({
|
|
896
|
-
name: z.string(),
|
|
897
|
-
description: z.string()
|
|
898
|
-
});
|
|
899
|
-
const skillsListResponseSchema = z.object({
|
|
900
|
-
skills: z.array(skillInfoSchema),
|
|
901
|
-
commands: z.array(builtInCommandSchema)
|
|
902
|
-
});
|
|
903
|
-
const sandboxFileEntrySchema = z.object({
|
|
904
|
-
name: z.string(),
|
|
905
|
-
path: z.string(),
|
|
906
|
-
type: z.enum(["file", "dir"]),
|
|
907
|
-
size: z.number().int().nonnegative().optional()
|
|
908
|
-
});
|
|
909
|
-
const sandboxFileListingSchema = z.object({ entries: z.array(sandboxFileEntrySchema) });
|
|
910
|
-
const sandboxFileContentSchema = z.object({
|
|
911
|
-
content: z.string(),
|
|
912
|
-
encoding: z.enum(["utf-8", "binary"]),
|
|
913
|
-
truncated: z.boolean(),
|
|
914
|
-
size: z.number().int().nonnegative()
|
|
915
|
-
});
|
|
916
|
-
const sandboxGitBranchSchema = z.object({ branch: z.string().nullable() });
|
|
917
|
-
const votesResponseSchema = z.array(z.object({
|
|
918
|
-
chatId: z.string(),
|
|
919
|
-
messageId: z.string(),
|
|
920
|
-
isUpvoted: z.boolean()
|
|
921
|
-
}));
|
|
922
|
-
const createKaiAgentClient = ({ baseUrl, middlewares, auth }) => {
|
|
923
|
-
const clientOptions = {
|
|
924
|
-
baseUrl,
|
|
925
|
-
middlewares,
|
|
926
|
-
headers: createAuthHeaders(auth)
|
|
927
|
-
};
|
|
928
|
-
const client = createOpenapiFetchClient(clientOptions);
|
|
929
|
-
const genericClient = createGenericFetchClient(clientOptions);
|
|
930
|
-
const getHistory = async (params) => {
|
|
931
|
-
const { data } = await client.get("/api/history", { query: params });
|
|
932
|
-
return data;
|
|
933
|
-
};
|
|
934
|
-
const getChat = async (chatId, signal) => {
|
|
935
|
-
const { data } = await client.get("/api/chat/{id}", { path: { id: chatId } }, { signal });
|
|
936
|
-
return data;
|
|
937
|
-
};
|
|
938
|
-
const deleteChat = async (chatId) => {
|
|
939
|
-
const { data } = await client.delete("/api/chat", { query: { id: chatId } });
|
|
940
|
-
return data;
|
|
941
|
-
};
|
|
942
|
-
const createChat = async (request) => {
|
|
943
|
-
const { response } = await client.post("/api/chat", { body: request });
|
|
944
|
-
return response;
|
|
945
|
-
};
|
|
946
|
-
const getVotes = async (chatId) => {
|
|
947
|
-
const { data } = await client.get("/api/vote", { query: { chatId } });
|
|
948
|
-
const result = votesResponseSchema.safeParse(data);
|
|
949
|
-
if (!result.success) throw new Error("Invalid votes response format");
|
|
950
|
-
return result.data;
|
|
951
|
-
};
|
|
952
|
-
const submitVote = async (params) => {
|
|
953
|
-
await client.patch("/api/vote", { body: params });
|
|
954
|
-
};
|
|
955
|
-
const getUsage = async (signal) => {
|
|
956
|
-
const { data } = await client.get("/api/usage", {}, { signal });
|
|
957
|
-
return data;
|
|
958
|
-
};
|
|
959
|
-
const approveToolCall = async (chatId, body) => {
|
|
960
|
-
await client.post("/api/chat/{id}/approval", {
|
|
961
|
-
path: { id: chatId },
|
|
962
|
-
body
|
|
963
|
-
});
|
|
964
|
-
};
|
|
965
|
-
const submitToolOutput = async (chatId, body) => {
|
|
966
|
-
await client.post("/api/chat/{id}/ui-tool-result", {
|
|
967
|
-
path: { id: chatId },
|
|
968
|
-
body
|
|
969
|
-
});
|
|
970
|
-
};
|
|
971
|
-
const stopChat = async (chatId) => {
|
|
972
|
-
const { data } = await client.post("/api/chat/{id}/stop", { path: { id: chatId } });
|
|
973
|
-
return data;
|
|
974
|
-
};
|
|
975
|
-
const getSuggestions = async (request, signal) => {
|
|
976
|
-
const { data } = await client.post("/api/suggestions", { body: request }, { signal });
|
|
977
|
-
return data;
|
|
978
|
-
};
|
|
979
|
-
const getAgentSettings = async (signal) => {
|
|
980
|
-
const { data } = await genericClient.get("/api/settings", {}, { signal });
|
|
981
|
-
const result = agentSettingsSchema.safeParse(data);
|
|
982
|
-
if (!result.success) throw new Error("Invalid agent settings response format");
|
|
983
|
-
return result.data;
|
|
984
|
-
};
|
|
985
|
-
const updateAgentSettings = async (request, signal) => {
|
|
986
|
-
const { data } = await genericClient.patch("/api/settings", { body: request }, { signal });
|
|
987
|
-
const result = agentSettingsSchema.safeParse(data);
|
|
988
|
-
if (!result.success) throw new Error("Invalid agent settings response format");
|
|
989
|
-
return result.data;
|
|
990
|
-
};
|
|
991
|
-
const getUserAgentSettings = async (signal) => {
|
|
992
|
-
const { data } = await genericClient.get("/api/settings/user", {}, { signal });
|
|
993
|
-
const result = userAgentSettingsSchema.safeParse(data);
|
|
994
|
-
if (!result.success) throw new Error("Invalid user agent settings response format");
|
|
995
|
-
return result.data;
|
|
996
|
-
};
|
|
997
|
-
const updateUserAgentSettings = async (request, signal) => {
|
|
998
|
-
const { data } = await genericClient.patch("/api/settings/user", { body: request }, { signal });
|
|
999
|
-
const result = userAgentSettingsSchema.safeParse(data);
|
|
1000
|
-
if (!result.success) throw new Error("Invalid user agent settings response format");
|
|
1001
|
-
return result.data;
|
|
1002
|
-
};
|
|
1003
|
-
const getToolsList = async (signal) => {
|
|
1004
|
-
const { data } = await genericClient.get("/api/settings/tools", {}, { signal });
|
|
1005
|
-
const result = toolsListResponseSchema.safeParse(data);
|
|
1006
|
-
if (!result.success) throw new Error("Invalid tools list response format");
|
|
1007
|
-
return result.data;
|
|
1008
|
-
};
|
|
1009
|
-
const getSkillsList = async (signal) => {
|
|
1010
|
-
const { data } = await genericClient.get("/api/skills", {}, { signal });
|
|
1011
|
-
const result = skillsListResponseSchema.safeParse(data);
|
|
1012
|
-
if (!result.success) throw new Error("Invalid skills list response format");
|
|
1013
|
-
return result.data;
|
|
1014
|
-
};
|
|
1015
|
-
const listSandboxFiles = async (chatId, path, signal) => {
|
|
1016
|
-
const { data } = await genericClient.get(`/api/chat/${encodeURIComponent(chatId)}/sandbox/files`, { query: path ? { path } : void 0 }, { signal });
|
|
1017
|
-
const result = sandboxFileListingSchema.safeParse(data);
|
|
1018
|
-
if (!result.success) throw new Error("Invalid sandbox files response format");
|
|
1019
|
-
return result.data;
|
|
1020
|
-
};
|
|
1021
|
-
const readSandboxFile = async (chatId, path, signal) => {
|
|
1022
|
-
const { data } = await genericClient.get(`/api/chat/${encodeURIComponent(chatId)}/sandbox/file`, { query: { path } }, { signal });
|
|
1023
|
-
const result = sandboxFileContentSchema.safeParse(data);
|
|
1024
|
-
if (!result.success) throw new Error("Invalid sandbox file response format");
|
|
1025
|
-
return result.data;
|
|
1026
|
-
};
|
|
1027
|
-
const downloadSandboxFile = async (chatId, path, signal) => {
|
|
1028
|
-
const { data } = await genericClient.get(`/api/chat/${encodeURIComponent(chatId)}/sandbox/file/download`, { query: { path } }, { signal });
|
|
1029
|
-
if (!(data instanceof Blob)) throw new Error("Invalid sandbox file download response format");
|
|
1030
|
-
return data;
|
|
1031
|
-
};
|
|
1032
|
-
const getSandboxGitBranch = async (chatId, signal) => {
|
|
1033
|
-
const { data } = await genericClient.get(`/api/chat/${encodeURIComponent(chatId)}/sandbox/git-branch`, {}, { signal });
|
|
1034
|
-
const result = sandboxGitBranchSchema.safeParse(data);
|
|
1035
|
-
if (!result.success) throw new Error("Invalid sandbox git-branch response format");
|
|
1036
|
-
return result.data;
|
|
1037
|
-
};
|
|
1038
|
-
const chatStreamUrl = clientOptions.baseUrl + "/api/chat";
|
|
1039
|
-
const healthCheck = async (signal) => {
|
|
1040
|
-
const { data } = await genericClient.get("/health", {}, { signal });
|
|
1041
|
-
return data;
|
|
1042
|
-
};
|
|
1043
|
-
return {
|
|
1044
|
-
healthCheck,
|
|
1045
|
-
getHistory,
|
|
1046
|
-
getChat,
|
|
1047
|
-
deleteChat,
|
|
1048
|
-
createChat,
|
|
1049
|
-
getVotes,
|
|
1050
|
-
submitVote,
|
|
1051
|
-
getUsage,
|
|
1052
|
-
approveToolCall,
|
|
1053
|
-
submitToolOutput,
|
|
1054
|
-
stopChat,
|
|
1055
|
-
getSuggestions,
|
|
1056
|
-
getAgentSettings,
|
|
1057
|
-
updateAgentSettings,
|
|
1058
|
-
getUserAgentSettings,
|
|
1059
|
-
updateUserAgentSettings,
|
|
1060
|
-
getToolsList,
|
|
1061
|
-
getSkillsList,
|
|
1062
|
-
listSandboxFiles,
|
|
1063
|
-
readSandboxFile,
|
|
1064
|
-
downloadSandboxFile,
|
|
1065
|
-
getSandboxGitBranch,
|
|
1066
|
-
chatStreamUrl
|
|
1067
|
-
};
|
|
1068
|
-
};
|
|
1069
|
-
//#endregion
|
|
1070
858
|
//#region src/keboola/createServiceClients.ts
|
|
1071
859
|
const createServiceClients = ({ baseUrl, auth, getServiceBaseUrl, middlewareFor, attachTokenMiddleware }) => createServiceClientRegistry()({
|
|
1072
860
|
getServiceBaseUrl,
|
|
@@ -1502,6 +1290,29 @@ const createKeboola = (options = {}) => {
|
|
|
1502
1290
|
* the rotation immediately and observe the new credential.
|
|
1503
1291
|
*/
|
|
1504
1292
|
debugForceRefresh: config.forceExpire,
|
|
1293
|
+
/**
|
|
1294
|
+
* The headers that authorize one off-client request, resolved fresh each call.
|
|
1295
|
+
*
|
|
1296
|
+
* - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
|
|
1297
|
+
* holds. Anything with a service client on `api` should use that instead.
|
|
1298
|
+
* - Returns the assembled bag, never the bare token: no caller handles the credential as a
|
|
1299
|
+
* string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
|
|
1300
|
+
* - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
|
|
1301
|
+
* one is never re-sent. A snapshot held by the caller would do neither.
|
|
1302
|
+
* - Throws rather than emitting a half-formed `Bearer null`: an unauthenticated or unscoped
|
|
1303
|
+
* session has nothing to authorize with.
|
|
1304
|
+
*/
|
|
1305
|
+
getAuthHeaders: async () => {
|
|
1306
|
+
const state = config.store.get();
|
|
1307
|
+
if (state.status === "anonymous") throw new KeboolaError(KeboolaErrorType.NotAuthenticated);
|
|
1308
|
+
if (state.status !== "scoped") throw new KeboolaError(KeboolaErrorType.NotReady);
|
|
1309
|
+
const accessToken = await credential.getAccessToken();
|
|
1310
|
+
assert$1(accessToken, KeboolaErrorType.NotAuthenticated);
|
|
1311
|
+
return {
|
|
1312
|
+
[HttpHeader.AUTHORIZATION]: `Bearer ${accessToken}`,
|
|
1313
|
+
[KeboolaHttpHeader.PROJECT_ID]: String(state.projectId)
|
|
1314
|
+
};
|
|
1315
|
+
},
|
|
1505
1316
|
restore: async () => {
|
|
1506
1317
|
const persisted = persistor.hydrate();
|
|
1507
1318
|
if (!persisted.refreshToken || !persisted.baseUrl) return { status: "empty" };
|