@keboola/api-client 56.0.0 → 57.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 +110 -229
- package/API-SURFACE.md +10 -2
- package/CHANGELOG.md +45 -0
- package/README.md +20 -133
- package/dist/{ManagementSessionMintError-Bc9bc7Ai.cjs → ManagementSessionMintError-BCOLLaJi.cjs} +3 -2
- package/dist/ManagementSessionMintError-BCOLLaJi.cjs.map +1 -0
- package/dist/{ManagementSessionMintError-BMHDcEqV.js → ManagementSessionMintError-KUX3utTV.js} +3 -2
- package/dist/ManagementSessionMintError-KUX3utTV.js.map +1 -0
- package/dist/{adminRoles-CUB0JddB.d.ts → adminRoles-CnfGDvjN.d.ts} +2 -2
- package/dist/{adminRoles-BFOPSedO.d.cts → adminRoles-D6AS9Bzx.d.cts} +2 -2
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/apps/index.cjs +1 -1
- package/dist/apps/index.d.cts +2 -2
- package/dist/apps/index.d.ts +2 -2
- package/dist/apps/index.js +1 -1
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/{apps-C1x5IKNQ.cjs → apps-BA9JRLAZ.cjs} +55 -1
- package/dist/apps-BA9JRLAZ.cjs.map +1 -0
- package/dist/{apps-BN7fWtSm.js → apps-DDcguJ1i.js} +55 -1
- package/dist/apps-DDcguJ1i.js.map +1 -0
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/types.d.cts +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/{authClient-B_Mb4Vzs.js → authClient-BKGpJI5L.js} +13 -2
- package/dist/authClient-BKGpJI5L.js.map +1 -0
- package/dist/{authClient-C9QqhT2M.cjs → authClient-C3KG9hXw.cjs} +17 -6
- package/dist/authClient-C3KG9hXw.cjs.map +1 -0
- package/dist/{authClient-Dgyb0EFi.d.ts → authClient-CbWpMmdX.d.ts} +7 -4
- package/dist/{authClient-DOetdp2k.d.cts → authClient-UKeopxZZ.d.cts} +7 -4
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/types.d.cts +1 -1
- package/dist/billing/types.d.ts +1 -1
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/componentsMcp/index.d.cts +1 -1
- package/dist/componentsMcp/index.d.ts +1 -1
- package/dist/componentsMcp/types.d.cts +1 -1
- package/dist/componentsMcp/types.d.ts +1 -1
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +3 -3
- package/dist/constants/index.d.ts +3 -3
- package/dist/constants/index.js +2 -2
- package/dist/{constants-HccvU5kx.js → constants-CxEaHCyt.js} +4 -3
- package/dist/constants-CxEaHCyt.js.map +1 -0
- package/dist/{constants-V9hAyPTo.cjs → constants-fiyOLyZE.cjs} +4 -3
- package/dist/constants-fiyOLyZE.cjs.map +1 -0
- package/dist/dataScience/index.d.cts +3 -3
- package/dist/dataScience/index.d.ts +3 -3
- package/dist/dataScience/types.d.cts +1 -1
- package/dist/dataScience/types.d.ts +1 -1
- package/dist/developerPortal/index.cjs +1 -1
- package/dist/developerPortal/index.d.cts +3 -3
- package/dist/developerPortal/index.d.ts +3 -3
- package/dist/developerPortal/index.js +1 -1
- package/dist/developerPortal/types.d.cts +2 -2
- package/dist/developerPortal/types.d.ts +2 -2
- package/dist/{developerPortalClient-CzCJ5sE3.js → developerPortalClient-3Q7049-4.js} +19 -1
- package/dist/developerPortalClient-3Q7049-4.js.map +1 -0
- package/dist/{developerPortalClient-BcK9F-Fs.cjs → developerPortalClient-Cj9bStCS.cjs} +19 -1
- package/dist/developerPortalClient-Cj9bStCS.cjs.map +1 -0
- package/dist/domain/permissions/index.d.cts +1 -1
- package/dist/domain/permissions/index.d.ts +1 -1
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/{emitter-raKkIqRp.d.ts → emitter-yaYzJOdh.d.cts} +1 -2
- package/dist/{emitter-raKkIqRp.d.cts → emitter-yaYzJOdh.d.ts} +1 -2
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/{index-DcKc3_Y1.d.cts → index-9p4O-clX.d.cts} +2033 -72
- package/dist/{index-DcKc3_Y1.d.ts → index-9p4O-clX.d.ts} +2033 -72
- package/dist/{index-CLqZfRpv.d.cts → index-B-HCh7LL.d.cts} +3 -3
- package/dist/{index-CxoJuIzB.d.cts → index-B0e42GnK.d.cts} +4 -3
- package/dist/{index-Bgu3hnMO.d.ts → index-BbXGsspe.d.ts} +4 -4
- package/dist/{index-B7Ogo2SK.d.ts → index-Bg9BWpIY.d.ts} +4 -3
- package/dist/{index-DPhGNQC5.d.cts → index-BgEu7wGk.d.cts} +2559 -7319
- package/dist/{index-C_A0JS9s.d.ts → index-Btft3BFn.d.ts} +29 -3
- package/dist/{index-DXNRd61K.d.cts → index-ByaAn_lm.d.cts} +4 -4
- package/dist/{index-A8udJCGv.d.ts → index-C92Ct6K5.d.ts} +178 -4
- package/dist/{index-B30dBBBH.d.ts → index-CBq59Aif.d.ts} +3 -3
- package/dist/{index-DAb1g6je.d.cts → index-CGUPsu_R.d.cts} +29 -3
- package/dist/{index-CLxvW_pn.d.ts → index-CIA6-x2Q.d.ts} +4 -4
- package/dist/{index-B2YNTI4p.d.ts → index-CeWVf3d1.d.ts} +4 -4
- package/dist/{index-GlHJ4j3a.d.ts → index-Cj0l_DL_.d.ts} +2559 -7319
- package/dist/{index-BUZ-vTRt.d.ts → index-Ck0UPKMM.d.ts} +2 -2
- package/dist/{index-B-HhOTVk.d.cts → index-D0ACg_Pp.d.cts} +7 -4
- package/dist/{index-Dx02AUpZ.d.cts → index-D8nMnVp1.d.cts} +4 -4
- package/dist/{index-24GpnYhn.d.cts → index-DENUPo51.d.cts} +2 -2
- package/dist/{index-RHYdFrfn.d.cts → index-DGjxLWZ-.d.cts} +3 -3
- package/dist/{index-BH1jo-bb.d.ts → index-Dse6Psvc.d.ts} +7 -4
- package/dist/{index-BaJ-GMa7.d.ts → index-DxcaEIhU.d.ts} +3 -3
- package/dist/{index-CpidrJQc.d.cts → index-OCEoQ1Y-.d.cts} +4 -4
- package/dist/{index-DxbqDi_0.d.cts → index-jR69kGUZ.d.cts} +178 -4
- package/dist/index.cjs +615 -867
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +611 -860
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +2 -2
- package/dist/kaiAgent/index.d.ts +2 -2
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +2 -2
- package/dist/kaiAgent/types.d.ts +2 -2
- package/dist/{kaiAgent-De2T6G4G.cjs → kaiAgent-Q00g6S1v.cjs} +16 -1
- package/dist/kaiAgent-Q00g6S1v.cjs.map +1 -0
- package/dist/{kaiAgent-D0MoKqXe.js → kaiAgent-aqylPZHY.js} +16 -1
- package/dist/kaiAgent-aqylPZHY.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-BlMQnPNS.js → management-CIK5-Aq5.js} +14 -7
- package/dist/management-CIK5-Aq5.js.map +1 -0
- package/dist/{management-dIMrTTpI.cjs → management-Dqrc516s.cjs} +14 -7
- package/dist/management-Dqrc516s.cjs.map +1 -0
- package/dist/{metaObject-qWyZAD-5.d.ts → metaObject-AQ7wKDOu.d.ts} +2 -2
- package/dist/{metaObject-BsBMgWRt.d.cts → metaObject-I35_krxf.d.cts} +2 -2
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/microsoftGraph/index.d.cts +3 -3
- package/dist/microsoftGraph/index.d.ts +3 -3
- package/dist/microsoftGraph/types.d.cts +2 -2
- package/dist/microsoftGraph/types.d.ts +2 -2
- package/dist/{middleware-DxGv7DG8.js → middleware-DWmhthX0.js} +2 -2
- package/dist/middleware-DWmhthX0.js.map +1 -0
- package/dist/{middleware-vIaPDtQI.cjs → middleware-DYdDD4O6.cjs} +2 -2
- package/dist/middleware-DYdDD4O6.cjs.map +1 -0
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-CmV1OhK4.d.ts → project-DwRvx_zN.d.ts} +3 -3
- package/dist/{project-F6eHCACz.d.cts → project-ERH0FTGW.d.cts} +3 -3
- 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-C3BQ6GKW.cjs → queryService-CECWubS0.cjs} +2 -2
- package/dist/{queryService-C3BQ6GKW.cjs.map → queryService-CECWubS0.cjs.map} +1 -1
- package/dist/{queryService-DQHtHy2-.js → queryService-CIxb_mcP.js} +2 -2
- package/dist/{queryService-DQHtHy2-.js.map → queryService-CIxb_mcP.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +11 -4
- package/dist/queue/index.d.ts +11 -4
- 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-6cywDnA-.js → queue-BBihD5qQ.js} +2 -2
- package/dist/{queue-6cywDnA-.js.map → queue-BBihD5qQ.js.map} +1 -1
- package/dist/{queue-J2uXzXR9.cjs → queue-PmTfoniJ.cjs} +2 -2
- package/dist/{queue-J2uXzXR9.cjs.map → queue-PmTfoniJ.cjs.map} +1 -1
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/{schema-DLmBEgPM.d.cts → schema-CqzWi5cO.d.cts} +14 -4
- package/dist/{schema-DLmBEgPM.d.ts → schema-CqzWi5cO.d.ts} +14 -4
- package/dist/sdk/configurations/index.d.cts +2 -3
- package/dist/sdk/configurations/index.d.ts +2 -3
- package/dist/sdk/dataAppServer/index.cjs +3 -3
- package/dist/sdk/dataAppServer/index.d.cts +1 -1
- package/dist/sdk/dataAppServer/index.d.ts +1 -1
- package/dist/sdk/dataAppServer/index.js +3 -3
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.cjs.map +1 -1
- package/dist/sdk/developerPortal/index.d.cts +178 -4
- package/dist/sdk/developerPortal/index.d.ts +178 -4
- package/dist/sdk/developerPortal/index.js +3 -3
- package/dist/sdk/developerPortal/index.js.map +1 -1
- package/dist/sdk/kaiMemory/index.d.cts +1 -1
- package/dist/sdk/kaiMemory/index.d.ts +1 -1
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/securityPolicy/index.d.cts +2 -2
- package/dist/sdk/securityPolicy/index.d.ts +2 -2
- package/dist/sdk/securityPolicy/types.d.cts +1 -1
- package/dist/sdk/securityPolicy/types.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/tag/index.d.cts +3 -3
- package/dist/sdk/tag/index.d.ts +3 -3
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/storage/index.cjs +5 -5
- package/dist/storage/index.d.cts +2 -3
- package/dist/storage/index.d.ts +2 -3
- package/dist/storage/index.js +3 -3
- package/dist/storage/types.d.cts +5 -5
- package/dist/storage/types.d.ts +5 -5
- package/dist/{storage-jLhVrKZh.cjs → storage-chxoWtAL.cjs} +44 -56
- package/dist/storage-chxoWtAL.cjs.map +1 -0
- package/dist/{storage-Bw-HSnPp.js → storage-o9teEKl_.js} +42 -54
- package/dist/storage-o9teEKl_.js.map +1 -0
- package/dist/{store-2OyH1XOP.cjs → store-7xlVu4qF.cjs} +3 -14
- package/dist/store-7xlVu4qF.cjs.map +1 -0
- package/dist/{store-HP0zRcLz.js → store-DDUzPeCm.js} +3 -14
- package/dist/store-DDUzPeCm.js.map +1 -0
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{transientRetries-BORv47mH.js → transientRetries-dssygpwU.js} +2 -2
- package/dist/{transientRetries-BORv47mH.js.map → transientRetries-dssygpwU.js.map} +1 -1
- package/dist/{transientRetries-CBorl4Ue.cjs → transientRetries-yVaQgKqP.cjs} +2 -2
- package/dist/{transientRetries-CBorl4Ue.cjs.map → transientRetries-yVaQgKqP.cjs.map} +1 -1
- package/dist/{types-LOf_GCej.d.cts → types-B1kernzE.d.cts} +2 -2
- package/dist/{types-Cvbcjdgf.d.ts → types-BBmS7-IS.d.ts} +151 -4
- package/dist/{types-DaRxZt3v.d.ts → types-BJyWTgXX.d.ts} +2 -2
- package/dist/{types-CnKiVVb8.d.ts → types-BPNFTA63.d.cts} +21 -7
- package/dist/{types-BJRRAQ9R.d.cts → types-BPSExpye.d.cts} +244 -4
- package/dist/{types-Cg_66Toy.d.ts → types-BiXonOK6.d.ts} +2 -2
- package/dist/{types-CNDemlfn.d.cts → types-BimRBONo.d.cts} +3 -3
- package/dist/{types-CrXoqs8E.d.cts → types-BuEC58u3.d.cts} +2 -2
- package/dist/{types-BnkHyxdp.d.ts → types-BzHyi99r.d.cts} +5 -3
- package/dist/{types-2CMPwArl.d.ts → types-C4T_2JdN.d.cts} +40 -27
- package/dist/{types-lZRyNwOH.d.ts → types-C53aKnWt.d.ts} +2 -2
- package/dist/{types-6oLbURTK.d.cts → types-CEjgqmr2.d.cts} +2 -2
- package/dist/{types-BEEGI4aq.d.ts → types-CGtpwTJk.d.ts} +2 -2
- package/dist/{types-B_yv00AL.d.ts → types-CH1uguug.d.cts} +2 -163
- package/dist/{types-DMEl2iet.d.ts → types-CP8-CssY.d.ts} +2 -2
- package/dist/{types-DgAMVyiT.d.ts → types-CPQ6RkiZ.d.ts} +244 -4
- package/dist/{types-EdL0Eb0B.d.ts → types-CPwofeyq.d.ts} +3 -3
- package/dist/{types-CFuT8zr3.d.cts → types-CQAEOq-K.d.cts} +2 -2
- package/dist/{types-DslO1S5E.d.cts → types-CVWoP_PC.d.cts} +3 -3
- package/dist/{types-BqJycQNM.d.cts → types-CbM2MApW.d.cts} +2 -2
- package/dist/{types-BDGkMVWf.d.cts → types-CbOfT6lb.d.ts} +21 -7
- package/dist/{types-B6OG1lLf.d.cts → types-CcPpqVhm.d.cts} +2 -2
- package/dist/{types-D2J3SaoY.d.ts → types-CeqpzbBH.d.ts} +2 -2
- package/dist/{types-C_JO7FI9.d.cts → types-CjJYZaMO.d.cts} +2 -2
- package/dist/{types-D0Gqu-Xz.d.cts → types-CjP8RcFN.d.cts} +2 -2
- package/dist/{types-CUovU--e.d.ts → types-CjfsPtwk.d.ts} +2 -2
- package/dist/{types-DPFG6AAA.d.ts → types-CnSBLcZB.d.ts} +163 -3
- package/dist/{types-D4knWlwr.d.ts → types-CsXLdnfV.d.ts} +2 -2
- package/dist/{types-C3Kf_ggm.d.cts → types-CzAh5-0z.d.cts} +2 -2
- package/dist/{types-D6Fbf_y3.d.ts → types-D0F_c5KI.d.ts} +4 -4
- package/dist/{types-DykEfF2N.d.cts → types-D3L3CqKl.d.cts} +151 -4
- package/dist/{types--mz2z0Zm.d.cts → types-D4oIei5M.d.cts} +163 -3
- package/dist/{types-Cm1iOHE5.d.cts → types-D6ilG8sC.d.cts} +3 -3
- package/dist/{types-DtS7qAdz.d.cts → types-DEGkXcw2.d.ts} +5 -3
- package/dist/{types-DQguGTlM.d.cts → types-DEhAcO1Z.d.cts} +2 -2
- package/dist/{types-CuYaiy4R.d.cts → types-DaIfg9Mb.d.cts} +4 -4
- package/dist/{types-ByKSM08P.d.ts → types-DhofEmWy.d.ts} +2 -2
- package/dist/{types-B5FgsIiY.d.ts → types-Dp61pYgP.d.ts} +3 -3
- package/dist/{types-BhGr9OQ4.d.ts → types-Dteot3tT.d.ts} +757 -112
- package/dist/{types-3ZE32k8V.d.cts → types-K-JISUUI.d.cts} +757 -112
- package/dist/{types-CjqFLXVx.d.cts → types-TywAc1ow.d.ts} +40 -27
- package/dist/{types-DiXeO0yB.d.ts → types-UBpth6_9.d.ts} +2 -2
- package/dist/{types-D0BOES7q.d.cts → types-Vw-tduOH.d.ts} +2 -163
- package/dist/{types-CF5ZROX5.d.cts → types-ZyLTqgpa.d.cts} +2 -2
- package/dist/{types-BmcZyKgM.d.cts → types-aylD1zQz.d.cts} +3 -3
- package/dist/{types-CbPO9cGq.d.cts → types-fYY4q7dC.d.cts} +2 -2
- package/dist/{types-Foy0RnqF.d.ts → types-jYn3e3Du.d.ts} +3 -3
- package/dist/{types-p6UYqJo_.d.ts → types-qXqJRPHj.d.ts} +2 -2
- package/dist/{types-B452bFfS.d.ts → types-r-Qa3y8e.d.ts} +2 -2
- package/dist/{types-DhE7iY90.d.ts → types-z82j5aNW.d.ts} +3 -3
- package/dist/{collectByCursor-2-8SuJ-8.js → validateConnectionStatus-DgJwuEy9.js} +32 -22
- package/dist/validateConnectionStatus-DgJwuEy9.js.map +1 -0
- package/dist/{collectByCursor-D58__WD1.cjs → validateConnectionStatus-DpYRsU-e.cjs} +37 -21
- package/dist/validateConnectionStatus-DpYRsU-e.cjs.map +1 -0
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +2 -2
- package/surface/apps.md +8 -3
- package/surface/auth.md +3 -2
- package/surface/chat.md +3 -3
- package/surface/dataScience.md +2 -2
- package/surface/kaiAgent.md +4 -3
- package/surface/management.md +4 -4
- package/surface/queue.md +7 -7
- package/surface/storage.md +27 -26
- package/dist/ManagementSessionMintError-BMHDcEqV.js.map +0 -1
- package/dist/ManagementSessionMintError-Bc9bc7Ai.cjs.map +0 -1
- package/dist/apps-BN7fWtSm.js.map +0 -1
- package/dist/apps-C1x5IKNQ.cjs.map +0 -1
- package/dist/authClient-B_Mb4Vzs.js.map +0 -1
- package/dist/authClient-C9QqhT2M.cjs.map +0 -1
- package/dist/collectByCursor-2-8SuJ-8.js.map +0 -1
- package/dist/collectByCursor-D58__WD1.cjs.map +0 -1
- package/dist/constants-HccvU5kx.js.map +0 -1
- package/dist/constants-V9hAyPTo.cjs.map +0 -1
- package/dist/developerPortalClient-BcK9F-Fs.cjs.map +0 -1
- package/dist/developerPortalClient-CzCJ5sE3.js.map +0 -1
- package/dist/index-C6FI_Lc7.d.ts +0 -10
- package/dist/index-CmtqbTse.d.cts +0 -10
- package/dist/kaiAgent-D0MoKqXe.js.map +0 -1
- package/dist/kaiAgent-De2T6G4G.cjs.map +0 -1
- package/dist/management-BlMQnPNS.js.map +0 -1
- package/dist/management-dIMrTTpI.cjs.map +0 -1
- package/dist/middleware-DxGv7DG8.js.map +0 -1
- package/dist/middleware-vIaPDtQI.cjs.map +0 -1
- package/dist/storage-Bw-HSnPp.js.map +0 -1
- package/dist/storage-jLhVrKZh.cjs.map +0 -1
- package/dist/store-2OyH1XOP.cjs.map +0 -1
- package/dist/store-HP0zRcLz.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as ApiError, r as isApiError, s as HttpHeader, v as KeboolaHttpHeader } from "./createFetchClient-Dc_ZMuq7.js";
|
|
2
|
-
import { r as
|
|
2
|
+
import { r as iterateByCursor, t as validateConnectionStatus } from "./validateConnectionStatus-DgJwuEy9.js";
|
|
3
3
|
import { t as createGenericFetchClient } from "./createGenericFetchClient-Ba4E4T-Y.js";
|
|
4
4
|
import { t as createOpenapiFetchClient } from "./createOpenapiFetchClient-DSk29o_s.js";
|
|
5
5
|
import { t as concurrent } from "./concurrent-BtsT10Xe.js";
|
|
6
|
-
import { a as poller, n as jobStatus, t as transientRetries } from "./transientRetries-
|
|
6
|
+
import { a as poller, n as jobStatus, t as transientRetries } from "./transientRetries-dssygpwU.js";
|
|
7
7
|
import { t as createAuthHeaders } from "./auth-ZBQWCJPM.js";
|
|
8
8
|
// src/errors/ManageError.ts
|
|
9
9
|
const isRecord$1 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -51,8 +51,9 @@ const retryAfterSeconds = (error) => {
|
|
|
51
51
|
};
|
|
52
52
|
// src/errors/ServiceUnavailableError.ts
|
|
53
53
|
var ServiceUnavailableError = class ServiceUnavailableError extends Error {
|
|
54
|
-
constructor(serviceId, path, clientName) {
|
|
55
|
-
|
|
54
|
+
constructor(serviceId, path = [], clientName) {
|
|
55
|
+
const cause = clientName ? ` Caused by: ${clientName}.${path.join(".")}()` : "";
|
|
56
|
+
super(`Service "${serviceId}" is not available in this stack.${cause}`);
|
|
56
57
|
this.name = "ServiceUnavailableError";
|
|
57
58
|
Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
|
|
58
59
|
}
|
|
@@ -371,22 +372,23 @@ const toUpdateListingBody = (input) => {
|
|
|
371
372
|
if (input.name !== void 0) body.exposureName = input.name;
|
|
372
373
|
if (input.description !== void 0) body.exposureDescription = input.description?.trim() || null;
|
|
373
374
|
if (input.subscribers !== void 0) body.bigquery = { subscribers: toBackendSubscribers(input.subscribers) };
|
|
375
|
+
if (input.grantees !== void 0) body.snowflake = { grantees: input.grantees };
|
|
374
376
|
if (Object.keys(body).length === 0) throw new Error("updateListingAsync requires at least one field");
|
|
375
377
|
return body;
|
|
376
378
|
};
|
|
377
379
|
// src/clients/storage/bucketListings/bucketListings.ts
|
|
378
380
|
/**
|
|
379
|
-
* Bucket listings (exposures) publish a bucket
|
|
381
|
+
* Bucket listings (exposures) publish a bucket outside the project.
|
|
380
382
|
*
|
|
381
|
-
* - BigQuery Analytics Hub
|
|
383
|
+
* - BigQuery: an Analytics Hub listing. Snowflake: grants to roles in the backend's own account.
|
|
382
384
|
* - Write jobs are asserted: the spec's flat `JobResponse` is not the `Job<T>` union.
|
|
383
385
|
*/
|
|
384
386
|
const createBucketListings = (openApiClient, client, poller) => {
|
|
385
387
|
/**
|
|
386
388
|
* Returns `null` on 404: no bucket or no listing.
|
|
387
389
|
*
|
|
388
|
-
* - `bigquery` is present only for a BigQuery bucket.
|
|
389
|
-
* -
|
|
390
|
+
* - `bigquery` is present only for a BigQuery bucket, `snowflake` only for a Snowflake one.
|
|
391
|
+
* - `bigquery.subscribers` are raw `user:`/`group:` principals; decode with `fromBackendSubscribers`.
|
|
390
392
|
*/
|
|
391
393
|
const getListing = async ({ branchId, bucketId }, signal) => {
|
|
392
394
|
try {
|
|
@@ -409,10 +411,10 @@ const createBucketListings = (openApiClient, client, poller) => {
|
|
|
409
411
|
body: {
|
|
410
412
|
listingName: input.name,
|
|
411
413
|
listingDescription: input.description?.trim() || null,
|
|
412
|
-
bigquery: {
|
|
414
|
+
...input.snowflake ? { snowflake: input.snowflake } : { bigquery: {
|
|
413
415
|
listingId: input.listingId,
|
|
414
416
|
subscribers: toBackendSubscribers(input.subscribers)
|
|
415
|
-
}
|
|
417
|
+
} }
|
|
416
418
|
}
|
|
417
419
|
}, { signal });
|
|
418
420
|
return data;
|
|
@@ -422,7 +424,8 @@ const createBucketListings = (openApiClient, client, poller) => {
|
|
|
422
424
|
...options
|
|
423
425
|
});
|
|
424
426
|
/**
|
|
425
|
-
* Rejects when `name`, `description` and `
|
|
427
|
+
* Rejects when `name`, `description`, `subscribers` and `grantees` are all absent; gate on the form's
|
|
428
|
+
* dirty state.
|
|
426
429
|
*/
|
|
427
430
|
const updateListingAsync = async ({ branchId, bucketId, ...input }, signal) => {
|
|
428
431
|
const { data } = await openApiClient.patch("/v2/storage/branch/{branchId}/buckets/{bucketId}/listing", {
|
|
@@ -1806,29 +1809,6 @@ const createJobPoller = ({ getJob }) => ({ init, interval, maxAttempts, timeout,
|
|
|
1806
1809
|
signal
|
|
1807
1810
|
});
|
|
1808
1811
|
};
|
|
1809
|
-
// src/clients/storage/refreshTokenMiddleware.ts
|
|
1810
|
-
const isTokenRefreshEndpoint = (request) => {
|
|
1811
|
-
const url = new URL(request.url);
|
|
1812
|
-
return request.method === "POST" && /\/tokens\/[^/]+\/refresh$/.test(url.pathname);
|
|
1813
|
-
};
|
|
1814
|
-
const tryParseNewToken = (data) => {
|
|
1815
|
-
if (data === null || typeof data !== "object") return null;
|
|
1816
|
-
const token = data.token;
|
|
1817
|
-
return typeof token === "string" ? token : null;
|
|
1818
|
-
};
|
|
1819
|
-
const createRefreshTokenMiddlware = ({ accessToken, onRefresh }) => {
|
|
1820
|
-
let current = accessToken;
|
|
1821
|
-
return (next) => async (request) => {
|
|
1822
|
-
request.request.headers.set(KeboolaHttpHeader.STORAGE_API_TOKEN, current);
|
|
1823
|
-
if (!isTokenRefreshEndpoint(request.request)) return next(request);
|
|
1824
|
-
const response = await next(request);
|
|
1825
|
-
const newToken = tryParseNewToken(response.data);
|
|
1826
|
-
if (newToken === null) return response;
|
|
1827
|
-
current = newToken;
|
|
1828
|
-
onRefresh?.(current);
|
|
1829
|
-
return response;
|
|
1830
|
-
};
|
|
1831
|
-
};
|
|
1832
1812
|
// src/clients/storage/search/search.ts
|
|
1833
1813
|
/**
|
|
1834
1814
|
* Search endpoints.
|
|
@@ -1970,6 +1950,7 @@ const createTableList = (client) => {
|
|
|
1970
1950
|
include,
|
|
1971
1951
|
"filter[bucketId]": filter?.bucketId,
|
|
1972
1952
|
"filter[ids]": filter?.ids?.join(","),
|
|
1953
|
+
"filter[changedSince]": filter?.changedSince,
|
|
1973
1954
|
"page[limit]": limit,
|
|
1974
1955
|
"page[after]": after
|
|
1975
1956
|
} }, {
|
|
@@ -1979,23 +1960,34 @@ const createTableList = (client) => {
|
|
|
1979
1960
|
return data;
|
|
1980
1961
|
};
|
|
1981
1962
|
/**
|
|
1982
|
-
* Every table of the branch (or of `filter`),
|
|
1963
|
+
* Every table of the branch (or of `filter`), one page at a time, each yielded as soon as it arrives.
|
|
1983
1964
|
*
|
|
1984
|
-
* - An empty `filter.ids` is "no tables": it
|
|
1965
|
+
* - An empty `filter.ids` is "no tables": it yields nothing, without a request.
|
|
1985
1966
|
* - More than 200 IDs are refused by the endpoint (at most one page of IDs).
|
|
1967
|
+
* - The next page is requested only when the consumer asks for it; stopping the loop stops the walk.
|
|
1986
1968
|
*/
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
limit,
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1969
|
+
async function* iterateTables(input, signal) {
|
|
1970
|
+
if (input.filter?.ids?.length === 0) return;
|
|
1971
|
+
yield* iterateByCursor({
|
|
1972
|
+
pageSize: PAGE_LIMIT,
|
|
1973
|
+
signal,
|
|
1974
|
+
fetchFrom: (after, limit, pageSignal) => getTables({
|
|
1975
|
+
...input,
|
|
1976
|
+
limit,
|
|
1977
|
+
after
|
|
1978
|
+
}, pageSignal)
|
|
1979
|
+
});
|
|
1980
|
+
}
|
|
1981
|
+
/** Every table `iterateTables` yields, in one array. */
|
|
1982
|
+
const getAllTables = async (input, signal) => {
|
|
1983
|
+
const tables = [];
|
|
1984
|
+
for await (const page of iterateTables(input, signal)) tables.push(...page);
|
|
1985
|
+
return tables;
|
|
1986
|
+
};
|
|
1996
1987
|
return {
|
|
1997
1988
|
getTables,
|
|
1998
|
-
getAllTables
|
|
1989
|
+
getAllTables,
|
|
1990
|
+
iterateTables
|
|
1999
1991
|
};
|
|
2000
1992
|
};
|
|
2001
1993
|
// src/clients/storage/tables/tables.ts
|
|
@@ -2570,21 +2562,17 @@ const createWorkspaces = (client, poller) => {
|
|
|
2570
2562
|
};
|
|
2571
2563
|
};
|
|
2572
2564
|
// src/clients/storage/storageClient.ts
|
|
2573
|
-
const createStorageClient = ({ baseUrl, auth, middlewares = []
|
|
2565
|
+
const createStorageClient = ({ baseUrl, auth, middlewares = [] }) => {
|
|
2574
2566
|
const headers = createAuthHeaders(auth);
|
|
2575
|
-
const allMiddlewares = onRefreshToken && auth.type === "sapi-token" ? [...middlewares, createRefreshTokenMiddlware({
|
|
2576
|
-
accessToken: auth.token,
|
|
2577
|
-
onRefresh: onRefreshToken
|
|
2578
|
-
})] : middlewares;
|
|
2579
2567
|
const genericClient = createGenericFetchClient({
|
|
2580
2568
|
baseUrl,
|
|
2581
|
-
middlewares
|
|
2569
|
+
middlewares,
|
|
2582
2570
|
headers,
|
|
2583
2571
|
validateStatus: validateConnectionStatus
|
|
2584
2572
|
});
|
|
2585
2573
|
const client = createOpenapiFetchClient({
|
|
2586
2574
|
baseUrl,
|
|
2587
|
-
middlewares
|
|
2575
|
+
middlewares,
|
|
2588
2576
|
headers,
|
|
2589
2577
|
validateStatus: validateConnectionStatus
|
|
2590
2578
|
});
|
|
@@ -2630,4 +2618,4 @@ const createStorageClient = ({ baseUrl, auth, middlewares = [], onRefreshToken }
|
|
|
2630
2618
|
};
|
|
2631
2619
|
export { series as a, ServiceUnavailableError as c, isManageError as d, manageErrorCode as f, toBackendSubscribers as i, retryAfterSeconds as l, isSqlWorkspaceConnection as n, StorageJobError as o, fromBackendSubscribers as r, isStorageJobError as s, createStorageClient as t, readableReason as u };
|
|
2632
2620
|
|
|
2633
|
-
//# sourceMappingURL=storage-
|
|
2621
|
+
//# sourceMappingURL=storage-o9teEKl_.js.map
|