@keboola/api-client 32.0.0 → 33.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 +80 -2
- package/API-SURFACE.md +4 -1
- package/CHANGELOG.md +222 -0
- package/dist/{ManagementClientAuthError-B-tyPlyG.cjs → ManagementClientAuthError-DqeXL8nv.cjs} +2 -2
- package/dist/{ManagementClientAuthError-B-tyPlyG.cjs.map → ManagementClientAuthError-DqeXL8nv.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-BAFNvOdf.js → ManagementClientAuthError-iKbBugKC.js} +2 -2
- package/dist/{ManagementClientAuthError-BAFNvOdf.js.map → ManagementClientAuthError-iKbBugKC.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-DTLE6HTy.js → appLogs-D72eD8vP.js} +2 -2
- package/dist/{appLogs-DTLE6HTy.js.map → appLogs-D72eD8vP.js.map} +1 -1
- package/dist/{appLogs-NIEDTDHf.cjs → appLogs-D8K0VeNM.cjs} +2 -2
- package/dist/{appLogs-NIEDTDHf.cjs.map → appLogs-D8K0VeNM.cjs.map} +1 -1
- package/dist/{appLogs-BAaaGYKg.d.cts → appLogs-Q4A7A_Fc.d.cts} +2 -2
- package/dist/{appLogs-DX_WTBCa.d.ts → appLogs-u0XMZLjS.d.ts} +2 -2
- 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 +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/{auth-DP-6TFiM.cjs → auth-C2_JLisH.cjs} +2 -2
- package/dist/{auth-DP-6TFiM.cjs.map → auth-C2_JLisH.cjs.map} +1 -1
- package/dist/{auth-DtbQaeDj.js → auth-CE9rQV3-.js} +2 -2
- package/dist/{auth-DtbQaeDj.js.map → auth-CE9rQV3-.js.map} +1 -1
- package/dist/{authClient--BtZgjIc.js → authClient-DEyqR7GW.js} +43 -9
- package/dist/authClient-DEyqR7GW.js.map +1 -0
- package/dist/{authClient-DhfzOUaa.d.cts → authClient-DZ_8lvdJ.d.cts} +6 -6
- package/dist/{authClient-CtfyVHRD.d.ts → authClient-DwT6xdg5.d.ts} +6 -6
- package/dist/{authClient-b7uec7sw.cjs → authClient-IwQ9Ti0J.cjs} +43 -9
- package/dist/authClient-IwQ9Ti0J.cjs.map +1 -0
- package/dist/chat/index.cjs +3 -3
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/index.js +3 -3
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/{createFetchClient-BbG46bL0.js → createFetchClient-DdyZMhxO.js} +3 -2
- package/dist/{createFetchClient-BbG46bL0.js.map → createFetchClient-DdyZMhxO.js.map} +1 -1
- package/dist/{createFetchClient-BRfTjBLV.cjs → createFetchClient-DvZvD31l.cjs} +8 -1
- package/dist/{createFetchClient-BRfTjBLV.cjs.map → createFetchClient-DvZvD31l.cjs.map} +1 -1
- package/dist/{createGenericFetchClient-BHYQLZhe.js → createGenericFetchClient-MQeLRiNW.js} +2 -2
- package/dist/{createGenericFetchClient-BHYQLZhe.js.map → createGenericFetchClient-MQeLRiNW.js.map} +1 -1
- package/dist/{createGenericFetchClient-DHs-i7_O.cjs → createGenericFetchClient-qfCZlCTv.cjs} +2 -2
- package/dist/{createGenericFetchClient-DHs-i7_O.cjs.map → createGenericFetchClient-qfCZlCTv.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs → createOpenapiFetchClient-C57Ljzi6.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-CyDUFxHB.cjs.map → createOpenapiFetchClient-C57Ljzi6.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js → createOpenapiFetchClient-E7OIVkYv.js} +2 -2
- package/dist/{createOpenapiFetchClient-Bn6_Pn0H.js.map → createOpenapiFetchClient-E7OIVkYv.js.map} +1 -1
- package/dist/{credential-d2RDcXRB.js → credential-Bxv7yxOZ.js} +7 -4
- package/dist/credential-Bxv7yxOZ.js.map +1 -0
- package/dist/{credential-DOXH7XRS.cjs → credential-D-X5QQrM.cjs} +7 -4
- package/dist/credential-D-X5QQrM.cjs.map +1 -0
- 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-wexHEIue.cjs → dataScience-BPW993AG.cjs} +5 -5
- package/dist/{dataScience-wexHEIue.cjs.map → dataScience-BPW993AG.cjs.map} +1 -1
- package/dist/{dataScience-Sm8iONhP.js → dataScience-B_TA7wCB.js} +5 -5
- package/dist/{dataScience-Sm8iONhP.js.map → dataScience-B_TA7wCB.js.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-CgTSzLoG.cjs → developerPortalClient-Db2XVB_o.cjs} +3 -3
- package/dist/{developerPortalClient-CgTSzLoG.cjs.map → developerPortalClient-Db2XVB_o.cjs.map} +1 -1
- package/dist/{developerPortalClient-DywKpDlW.js → developerPortalClient-jk46sjwP.js} +3 -3
- package/dist/{developerPortalClient-DywKpDlW.js.map → developerPortalClient-jk46sjwP.js.map} +1 -1
- package/dist/domain/permissions/index.d.cts +2 -2
- package/dist/domain/permissions/index.d.ts +2 -2
- 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/emitter-dLF1Fyfg.d.cts +11 -0
- package/dist/emitter-dLF1Fyfg.d.ts +11 -0
- 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-SQuurg1G.js → import-2nqxQ9Rt.js} +3 -3
- package/dist/{import-SQuurg1G.js.map → import-2nqxQ9Rt.js.map} +1 -1
- package/dist/{import-C0-y1GQK.cjs → import-DJilJ6tq.cjs} +3 -3
- package/dist/{import-C0-y1GQK.cjs.map → import-DJilJ6tq.cjs.map} +1 -1
- package/dist/{index-FhKX7Cv1.d.ts → index-B0V1pJAa.d.ts} +241 -200
- package/dist/{index-Bg1P6Bb2.d.ts → index-B2OGaUap.d.ts} +6 -6
- package/dist/{index-Dbzjvy5h.d.ts → index-BjKjp3Rf.d.ts} +5 -5
- package/dist/{index-DeKPpYQy.d.ts → index-C7gxKoDF.d.cts} +3 -3
- package/dist/{index-D_7yCRKy.d.cts → index-CTd4YY8e.d.cts} +4 -4
- package/dist/{index-DiHHyMEo.d.cts → index-CUXEFQ7i.d.cts} +6 -6
- package/dist/{index-eAlN694c.d.cts → index-CVqk63at.d.ts} +3 -3
- package/dist/{index-Bc_hXWae.d.ts → index-C_cxKL1V.d.ts} +3 -3
- package/dist/{index-tKsiUarj.d.ts → index-ChMtULt4.d.ts} +4 -4
- package/dist/{index-Gn1H63Hk.d.cts → index-DCN2lH0v.d.cts} +4 -4
- package/dist/{index-Bjk-tCpG.d.cts → index-DIVvL54G.d.cts} +241 -200
- package/dist/{index-C7e3wBt9.d.cts → index-DLYAvSWZ.d.cts} +3 -3
- package/dist/{index-fHfc_VqS.d.ts → index-DQef014j.d.ts} +4 -4
- package/dist/{index-CeJOmN-P.d.ts → index-DVhTNwvu.d.ts} +3 -2
- package/dist/{index-CQrKS7PV.d.cts → index-DhVFuQDv.d.cts} +3 -2
- package/dist/{index-Ctqkm3Fx.d.ts → index-GNKwr7EQ.d.ts} +4 -4
- package/dist/{index-GDdFZCXp.d.ts → index-bB6wvw1f.d.ts} +4 -4
- package/dist/{index-BKh0prif.d.cts → index-exNi3I2Q.d.cts} +4 -4
- package/dist/{index-CXtdQ7be.d.cts → index-qOK5FtAH.d.cts} +4 -4
- package/dist/{index-DqOAjqxN.d.cts → index-t-a7kYnx.d.cts} +5 -5
- package/dist/index.cjs +303 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +285 -30
- package/dist/index.js.map +1 -1
- package/dist/{jobStatus-kQ9JqF8t.cjs → jobStatus-0_Y3Sr4i.cjs} +37 -20
- package/dist/jobStatus-0_Y3Sr4i.cjs.map +1 -0
- package/dist/{jobStatus-DbMupQEK.js → jobStatus-PSZJMTiA.js} +35 -18
- package/dist/jobStatus-PSZJMTiA.js.map +1 -0
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +2 -210
- package/dist/kaiAgent/index.d.ts +2 -210
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/{kaiAgent-4OiIK1C2.cjs → kaiAgent-CMVub6Sc.cjs} +48 -4
- package/dist/kaiAgent-CMVub6Sc.cjs.map +1 -0
- package/dist/{kaiAgent-HDaFS9BR.js → kaiAgent-CYYn0QJW.js} +48 -4
- package/dist/kaiAgent-CYYn0QJW.js.map +1 -0
- package/dist/kaiAgentClient-B2O0DF4d.d.ts +249 -0
- package/dist/kaiAgentClient-iCFR2tRU.d.cts +249 -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-DfjwQo7z.cjs → management-DGfgKsaA.cjs} +5 -5
- package/dist/{management-DfjwQo7z.cjs.map → management-DGfgKsaA.cjs.map} +1 -1
- package/dist/{management-CIFhu1Nm.js → management-DNEKhR6a.js} +5 -5
- package/dist/{management-CIFhu1Nm.js.map → management-DNEKhR6a.js.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-CrXkKufo.js → metastore-CjwktHvw.js} +4 -4
- package/dist/{metastore-CrXkKufo.js.map → metastore-CjwktHvw.js.map} +1 -1
- package/dist/{metastore-Dq2NS6jb.cjs → metastore-DksEte8P.cjs} +4 -4
- package/dist/{metastore-Dq2NS6jb.cjs.map → metastore-DksEte8P.cjs.map} +1 -1
- package/dist/microsoftGraph/index.cjs +2 -2
- package/dist/microsoftGraph/index.d.cts +2 -2
- package/dist/microsoftGraph/index.d.ts +2 -2
- package/dist/microsoftGraph/index.js +2 -2
- package/dist/microsoftGraph/types.d.cts +1 -1
- package/dist/microsoftGraph/types.d.ts +1 -1
- package/dist/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-CFwSNz37.js → oauth-Bg5zro5S.js} +5 -5
- package/dist/{oauth-CFwSNz37.js.map → oauth-Bg5zro5S.js.map} +1 -1
- package/dist/{oauth-CkW5gln-.cjs → oauth-DFsI1TE5.cjs} +5 -5
- package/dist/{oauth-CkW5gln-.cjs.map → oauth-DFsI1TE5.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-BOGaVs-q.d.ts → project-Bh954iOA.d.ts} +2 -2
- package/dist/{project-BnQkL8cb.d.cts → project-D25GH8zK.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-BLaGbpm-.cjs → queryService--t_W9PSJ.cjs} +6 -6
- package/dist/{queryService-BLaGbpm-.cjs.map → queryService--t_W9PSJ.cjs.map} +1 -1
- package/dist/{queryService-DK-jUnET.js → queryService-DX6zeAs_.js} +6 -6
- package/dist/{queryService-DK-jUnET.js.map → queryService-DX6zeAs_.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-B7TY4JLf.cjs → queue-D1_TCe0z.cjs} +5 -5
- package/dist/{queue-B7TY4JLf.cjs.map → queue-D1_TCe0z.cjs.map} +1 -1
- package/dist/{queue-DViSQ-eq.js → queue-DrLUbk98.js} +5 -5
- package/dist/{queue-DViSQ-eq.js.map → queue-DrLUbk98.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/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -4
- package/dist/sdk/developerPortal/index.cjs +5 -5
- package/dist/sdk/developerPortal/index.cjs.map +1 -1
- package/dist/sdk/developerPortal/index.d.cts +5 -4
- package/dist/sdk/developerPortal/index.d.ts +5 -4
- package/dist/sdk/developerPortal/index.js +4 -4
- package/dist/sdk/queryService/index.cjs +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/queryService/index.js +1 -1
- package/dist/sdk/semanticLayer/index.cjs +163 -74
- package/dist/sdk/semanticLayer/index.cjs.map +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +16 -13
- package/dist/sdk/semanticLayer/index.d.ts +16 -13
- package/dist/sdk/semanticLayer/index.js +158 -75
- package/dist/sdk/semanticLayer/index.js.map +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +2 -2
- package/dist/sdk/semanticLayer/types.d.ts +2 -2
- 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/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 +2 -2
- package/dist/storage/types.d.ts +2 -2
- package/dist/{storage-kgxscFEg.js → storage--cVaecFq.js} +7 -7
- package/dist/{storage-kgxscFEg.js.map → storage--cVaecFq.js.map} +1 -1
- package/dist/{storage-CihHwZ7z.cjs → storage-DexWot8H.cjs} +7 -7
- package/dist/{storage-CihHwZ7z.cjs.map → storage-DexWot8H.cjs.map} +1 -1
- package/dist/store-C9FQCHGe.js +74 -0
- package/dist/store-C9FQCHGe.js.map +1 -0
- package/dist/store-xS-Cu_VS.cjs +85 -0
- package/dist/store-xS-Cu_VS.cjs.map +1 -0
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/index.js +3 -3
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.d.cts +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-B75t0NwP.js → syncActions-CkMHM-jB.js} +5 -5
- package/dist/{syncActions-B75t0NwP.js.map → syncActions-CkMHM-jB.js.map} +1 -1
- package/dist/{syncActions-CevF_TEb.cjs → syncActions-DQq_A9v6.cjs} +5 -5
- package/dist/{syncActions-CevF_TEb.cjs.map → syncActions-DQq_A9v6.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-DwlSLVAU.cjs → telemetry-CAu1Qt7B.cjs} +3 -3
- package/dist/{telemetry-DwlSLVAU.cjs.map → telemetry-CAu1Qt7B.cjs.map} +1 -1
- package/dist/{telemetry-FXpodtJN.js → telemetry-Ca6j0i9w.js} +3 -3
- package/dist/{telemetry-FXpodtJN.js.map → telemetry-Ca6j0i9w.js.map} +1 -1
- package/dist/{types-CGH_lfxS.d.cts → types-0xa_7cgo.d.cts} +2 -2
- package/dist/{types-CyiRYRVq.d.cts → types-3p0adMdd.d.cts} +3 -3
- package/dist/{types-BlCoTm7n.d.ts → types-6ThDkaJw.d.ts} +2 -2
- package/dist/{types-CkcMoXRk.d.ts → types-6hh_3SZs.d.ts} +3 -3
- package/dist/{types-dybUhlU2.d.ts → types-6ku2LeX6.d.ts} +2 -2
- package/dist/{types-BH9ljNmj.d.cts → types-B42HhyB0.d.cts} +2 -2
- package/dist/{types-C1vhYcic.d.cts → types-B4_MM5Wf.d.cts} +2 -2
- package/dist/{types-DlbiVsVo.d.cts → types-B6JJCta-.d.cts} +2 -2
- package/dist/{types-sVYo0o9_.d.ts → types-B6lOyHY_.d.ts} +3 -3
- package/dist/{types-BZBdLUpH.d.ts → types-B7O5koJb.d.cts} +2 -2
- package/dist/{types-De_DA2ga.d.ts → types-BHI8Lin9.d.ts} +2 -2
- package/dist/{types-Cj4bLPp5.d.cts → types-BO3sCD0a.d.cts} +37 -6
- package/dist/{types-zA3H84SM.d.cts → types-BOnf68s5.d.cts} +2 -2
- package/dist/{types-CPanB0p7.d.cts → types-BS5M67xm.d.cts} +3 -3
- package/dist/{types-COIsNoTQ.d.cts → types-BT46XIgn.d.cts} +2 -2
- package/dist/types-BUYqdN7B.d.ts +205 -0
- package/dist/{types-D-qI9ne4.d.ts → types-BYKHr5bR.d.ts} +2 -2
- package/dist/{types-D1uloiuY.d.cts → types-Be3Wgn1U.d.cts} +2 -2
- package/dist/{types-BTbczawY.d.ts → types-BgVKG4vg.d.ts} +2 -2
- package/dist/{types-CyHZ1ZQe.d.ts → types-C2gzqtjf.d.ts} +2 -2
- package/dist/{types-Av2egS_l.d.ts → types-C35GWNmq.d.ts} +2 -2
- package/dist/{types-D6jKxUv_.d.ts → types-C4mr0lop.d.ts} +35 -3
- package/dist/{types-BI2jI-3-.d.cts → types-CCr1-9Q6.d.cts} +3 -3
- package/dist/{types-DeSd3gqW.d.ts → types-CHCM9oNk.d.ts} +3 -3
- package/dist/{types-BMQW-2Yw.d.ts → types-CNQdtffE.d.ts} +729 -79
- package/dist/{types-MbcIiKDI.d.cts → types-CPaluTW7.d.cts} +3 -3
- package/dist/{types-CXTqFYah.d.ts → types-CSc8NQCY.d.ts} +37 -6
- package/dist/{types-Cz1dj_TM.d.ts → types-C_ilZZkQ.d.ts} +2 -2
- package/dist/{types-EJEoI3ZK.d.ts → types-CaMfshWX.d.ts} +2 -2
- package/dist/{types-BoV9M5Xg.d.cts → types-Ccgbipp4.d.cts} +2 -2
- package/dist/{types-DuiUN0h8.d.ts → types-Cpjk0-ta.d.ts} +2 -2
- package/dist/{types-GuWtMCMn.d.cts → types-CrH4H8M4.d.cts} +2 -2
- package/dist/{types-DNXC_-fA.d.cts → types-Cu-0LT4f.d.cts} +2 -2
- package/dist/{types-BptQ7jpP.d.cts → types-CxmV36rp.d.cts} +2 -2
- package/dist/{types-DwpRt3e9.d.ts → types-D-98DirB.d.ts} +2 -2
- package/dist/{types-BV2BDccJ.d.cts → types-D6ocCyGh.d.cts} +35 -3
- package/dist/{types-COc-nind.d.cts → types-D7Wgcp0u.d.ts} +2 -2
- package/dist/{types-ByWD2oeV.d.ts → types-DAzmGzlb.d.ts} +2 -2
- package/dist/{types-BREGN3qo.d.cts → types-DHI0g51U.d.cts} +2 -2
- package/dist/{types-Dfc58bPE.d.ts → types-DHqIJKwx.d.ts} +2 -2
- package/dist/types-DONxb2-c.d.cts +205 -0
- package/dist/{types-Di8VIZwQ.d.ts → types-DTTC70Ac.d.ts} +2 -2
- package/dist/{types-C2CLlR4i.d.ts → types-DlvZeert.d.ts} +2 -2
- package/dist/{types-cDU_J45_.d.cts → types-DqniGeDJ.d.cts} +2 -2
- package/dist/{types-iNlsdRkx.d.cts → types-E3VT-zYz.d.cts} +729 -79
- package/dist/{types-B4jdPHoL.d.cts → types-Jt0ipbSm.d.cts} +2 -2
- package/dist/{types-Bpnpa2Wt.d.ts → types-Ur37iOqb.d.ts} +3 -3
- package/dist/{types-BnaAo7xn.d.ts → types-ZGAWRIBW.d.ts} +2 -2
- package/dist/{types-CvkqEvhv.d.cts → types-bY6K3y0O.d.cts} +2 -2
- package/dist/{types-CpALS017.d.ts → types-k4R8gQ4U.d.ts} +2 -2
- package/dist/{types-CcuG9cid.d.cts → types-sO52qIAA.d.cts} +2 -2
- package/dist/{types-CJHi0zdD.d.cts → types-sp1rJY9E.d.cts} +2 -2
- package/dist/{validateConnectionStatus-V9q6Nl6u.cjs → validateConnectionStatus-24zqIQ0p.cjs} +2 -2
- package/dist/{validateConnectionStatus-V9q6Nl6u.cjs.map → validateConnectionStatus-24zqIQ0p.cjs.map} +1 -1
- package/dist/{validateConnectionStatus-BrLXkoSI.js → validateConnectionStatus-DhkWg6Eq.js} +2 -2
- package/dist/{validateConnectionStatus-BrLXkoSI.js.map → validateConnectionStatus-DhkWg6Eq.js.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 +2 -2
- package/surface/auth.md +2 -2
- package/surface/kaiAgent.md +5 -2
- package/dist/authClient--BtZgjIc.js.map +0 -1
- package/dist/authClient-b7uec7sw.cjs.map +0 -1
- package/dist/createStore-BNiCRQXa.js +0 -148
- package/dist/createStore-BNiCRQXa.js.map +0 -1
- package/dist/createStore-MQbboXcB.cjs +0 -177
- package/dist/createStore-MQbboXcB.cjs.map +0 -1
- package/dist/credential-DOXH7XRS.cjs.map +0 -1
- package/dist/credential-d2RDcXRB.js.map +0 -1
- package/dist/jobStatus-DbMupQEK.js.map +0 -1
- package/dist/jobStatus-kQ9JqF8t.cjs.map +0 -1
- package/dist/kaiAgent-4OiIK1C2.cjs.map +0 -1
- package/dist/kaiAgent-HDaFS9BR.js.map +0 -1
- package/dist/types-B2vmg_UF.d.cts +0 -148
- package/dist/types-RfaldD4P.d.ts +0 -148
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-
|
|
2
|
-
import {
|
|
3
|
-
import { n as ClientInitOptions } from "./types-
|
|
4
|
-
import { S as components$1, b as GetLogsTailQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as RunId, y as GetAppsQuery } from "./types-
|
|
5
|
-
import { t as LogEntry } from "./appLogs-
|
|
6
|
-
import { r as createAuthClient } from "./authClient-
|
|
7
|
-
import { C as VoteRequest, E as components$2, S as Vote, _ as UpdateAgentSettingsRequest, a as ChatRequest, b as UserAgentSettings, c as GetChatPath, g as ToolsListResponse, l as GetHistoryQuery, t as AgentSettings, u as GetVotesQuery, v as UpdateUserAgentSettingsRequest, y as UsageResponse } from "./types-
|
|
1
|
+
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-bY6K3y0O.cjs";
|
|
2
|
+
import { E as MiddlewareFn$1, T as HttpMethod, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient, w as ApiResponse } from "./index-DhVFuQDv.cjs";
|
|
3
|
+
import { n as ClientInitOptions } from "./types-DHI0g51U.cjs";
|
|
4
|
+
import { S as components$1, b as GetLogsTailQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as RunId, y as GetAppsQuery } from "./types-3p0adMdd.cjs";
|
|
5
|
+
import { t as LogEntry } from "./appLogs-Q4A7A_Fc.cjs";
|
|
6
|
+
import { r as createAuthClient } from "./authClient-DZ_8lvdJ.cjs";
|
|
7
|
+
import { C as VoteRequest, E as components$2, S as Vote, _ as UpdateAgentSettingsRequest, a as ChatRequest, b as UserAgentSettings, c as GetChatPath, g as ToolsListResponse, l as GetHistoryQuery, t as AgentSettings, u as GetVotesQuery, v as UpdateUserAgentSettingsRequest, y as UsageResponse } from "./types-0xa_7cgo.cjs";
|
|
8
8
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.cjs";
|
|
9
|
-
import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-
|
|
9
|
+
import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-CCr1-9Q6.cjs";
|
|
10
|
+
import "./index-t-a7kYnx.cjs";
|
|
11
|
+
import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-sO52qIAA.cjs";
|
|
12
12
|
import { t as ServiceId } from "./serviceIds-fHLDwOg9.cjs";
|
|
13
|
-
import { g as paths, h as components$4, i as GetTokenEventsInput, l as StorageToken, p as UpdateTokenInput, s as ShareTokenInput, t as CreateTokenBody } from "./types-
|
|
14
|
-
import { $ as ConfigurationRowVersionDetailPath, $i as DeleteTablesInput, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, Bn as DeleteConfigurationRowInput, C as CreateTriggerBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Dn as UpdateConfigurationInput, Ea as SetAliasTableFilterInput, F as StorageJobStatus, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gr as File, Gt as GetComponentsInput, I as CreateMergeRequestBody, Ir as SaveDevBranchMetadataInput, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Li as CreateTableAsyncInput, M as Job, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, N as JobOperation, No as DeleteBucketMetadataInput, Nt as GetConfigurationWorkspacesPath, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Ot as ConfigurationUseCaseType, P as JobUnion, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Q as ConfigurationRowVersionDetail, Qn as UpdateConfigurationRowStateInput, Qt as ConfigType, Ra as UpdateTableDefinitionInput, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Sa as SaveTableMetadataInput, Sn as SearchComponentConfiguration, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ti as DeleteTableColumnInput, To as BucketDetail, Tt as SaveConfigurationMetadataInput, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vr as AddFileTagInput, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wr as DeleteFileTagPath, Xa as UpdateBucketListingBody, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zo as BucketRegistrationGuideQuery, Zt as ComponentConfig, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, a as Service, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, at as ConfigurationVersionDetailPath, bo as SharedBucketsQuery, c as RunIdStats, ci as GetEventsInput, cr as GetWorkspacePath, d as CreateSnapshotInput, di as GetTableEventsInput, dn as GetConfigurationsPath, dr as ResetWorkspacePassword, ea as ExportAsyncInput, eo as ForceUnlinkBucketInput, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, fr as ResetWorkspacePasswordPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, ho as ShareBucketToUsersInput, ii as GetBucketEventsInput, is as RegisterBucketBody, it as ConfigurationVersionDetail, ja as TableExportAsyncBody, ji as CreateAliasTableInput, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kr as WorkspaceSaml2Login, la as GetTablesInput, lr as GetWorkspaceSaml2LoginPath, m as Snapshot, mi as StorageEvent, mn as PurgeConfigurationsInput, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, ni as CreatedEvent, ns as RefreshExternalBucketInput, o as StackComponent, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pn as PurgeConfigurationInput, pr as SetWorkspacePublicInput, qr as GetFilePath, ra as GetDataPreviewInput, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, sr as GetWorkspaceObjectsPath, tn as ConfigurationDiffPath, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wi as DeleteColumnMetadataInput, x as SearchTablesQuery, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, y as GlobalSearchResponse, yr as Workspace } from "./types-
|
|
15
|
-
import { a as EncryptQuery, s as ScopedSecrets } from "./types-
|
|
16
|
-
import { n as WriteTableInput, t as UploadFileInput } from "./types-
|
|
17
|
-
import { a as GetHistoryQuery$1, c as VoteRequest$1, i as GetChatPath$1, n as ChatRequest$1, o as GetVotesQuery$1, s as UsageResponse$1, t as ApprovalBody } from "./types-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { a as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { t as
|
|
13
|
+
import { g as paths, h as components$4, i as GetTokenEventsInput, l as StorageToken, p as UpdateTokenInput, s as ShareTokenInput, t as CreateTokenBody } from "./types-CrH4H8M4.cjs";
|
|
14
|
+
import { $ as ConfigurationRowVersionDetailPath, $i as DeleteTablesInput, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, Bn as DeleteConfigurationRowInput, C as CreateTriggerBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Dn as UpdateConfigurationInput, Ea as SetAliasTableFilterInput, F as StorageJobStatus, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gr as File, Gt as GetComponentsInput, I as CreateMergeRequestBody, Ir as SaveDevBranchMetadataInput, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Li as CreateTableAsyncInput, M as Job, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, N as JobOperation, No as DeleteBucketMetadataInput, Nt as GetConfigurationWorkspacesPath, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Ot as ConfigurationUseCaseType, P as JobUnion, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Q as ConfigurationRowVersionDetail, Qn as UpdateConfigurationRowStateInput, Qt as ConfigType, Ra as UpdateTableDefinitionInput, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Sa as SaveTableMetadataInput, Sn as SearchComponentConfiguration, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ti as DeleteTableColumnInput, To as BucketDetail, Tt as SaveConfigurationMetadataInput, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vr as AddFileTagInput, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wr as DeleteFileTagPath, Xa as UpdateBucketListingBody, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zo as BucketRegistrationGuideQuery, Zt as ComponentConfig, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, a as Service, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, at as ConfigurationVersionDetailPath, bo as SharedBucketsQuery, c as RunIdStats, ci as GetEventsInput, cr as GetWorkspacePath, d as CreateSnapshotInput, di as GetTableEventsInput, dn as GetConfigurationsPath, dr as ResetWorkspacePassword, ea as ExportAsyncInput, eo as ForceUnlinkBucketInput, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, fr as ResetWorkspacePasswordPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, ho as ShareBucketToUsersInput, ii as GetBucketEventsInput, is as RegisterBucketBody, it as ConfigurationVersionDetail, ja as TableExportAsyncBody, ji as CreateAliasTableInput, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kr as WorkspaceSaml2Login, la as GetTablesInput, lr as GetWorkspaceSaml2LoginPath, m as Snapshot, mi as StorageEvent, mn as PurgeConfigurationsInput, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, ni as CreatedEvent, ns as RefreshExternalBucketInput, o as StackComponent, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pn as PurgeConfigurationInput, pr as SetWorkspacePublicInput, qr as GetFilePath, ra as GetDataPreviewInput, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, sr as GetWorkspaceObjectsPath, tn as ConfigurationDiffPath, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wi as DeleteColumnMetadataInput, x as SearchTablesQuery, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, y as GlobalSearchResponse, yr as Workspace } from "./types-D6ocCyGh.cjs";
|
|
15
|
+
import { a as EncryptQuery, s as ScopedSecrets } from "./types-BS5M67xm.cjs";
|
|
16
|
+
import { n as WriteTableInput, t as UploadFileInput } from "./types-B42HhyB0.cjs";
|
|
17
|
+
import { a as GetHistoryQuery$1, c as VoteRequest$1, i as GetChatPath$1, n as ChatRequest$1, o as GetVotesQuery$1, s as UsageResponse$1, t as ApprovalBody } from "./types-E3VT-zYz.cjs";
|
|
18
|
+
import { n as SpendCapsView, t as SpendCapMember } from "./kaiAgentClient-iCFR2tRU.cjs";
|
|
19
|
+
import { i as createManagementClient } from "./index-CTd4YY8e.cjs";
|
|
20
|
+
import { D as components$5, S as ReplaceTargetProjectsInput, T as UpdateMetaObjectInput, c as DeleteMetaObjectRevisionPath, d as GetMetaObjectRevisionsPath, f as GetMetaObjectsPath, g as MetaStoreObjectResponse, h as MetaStoreListResponse, i as CreateMetaObjectInput, l as GetMetaObjectPath, n as GetVersionedSchemaPath, p as MetaObject, s as DeleteMetaObjectPath, t as GetSchemaPath, u as GetMetaObjectRevisionPath, y as ReplaceMetaObjectInput } from "./types-Jt0ipbSm.cjs";
|
|
21
|
+
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-DqniGeDJ.cjs";
|
|
22
|
+
import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-BOnf68s5.cjs";
|
|
23
|
+
import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-BT46XIgn.cjs";
|
|
24
|
+
import { a as GetQueryJobPath, c as JobStatusResponse, d as PostQueryPath, h as components$8, i as GetQueriesPath, l as PostCancelQueryJobPath, n as GetExportResultsQuery, o as GetQueryResultsPath, p as QueryResult, r as GetQueriesHistoryQuery, s as GetQueryResutsQuery, t as ExportResultsResponse, u as PostQueryBody } from "./types-Be3Wgn1U.cjs";
|
|
25
|
+
import { n as Listener, t as Emitter } from "./emitter-dLF1Fyfg.cjs";
|
|
26
|
+
import { t as Project } from "./project-D25GH8zK.cjs";
|
|
25
27
|
import { r as createStorageTable } from "./index-BMqLPS6S.cjs";
|
|
26
28
|
import { n as KeboolaObjectId } from "./index-NC1dXRTD.cjs";
|
|
27
|
-
import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-
|
|
28
|
-
import {
|
|
29
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-
|
|
30
|
-
import { s as EncryptionCtx } from "./index-
|
|
31
|
-
import { a as OrchestrationRerunPlanPath, c as SearchAllJobsQuery, d as SearchJobsQuery, l as SearchGroupedJobsQuery, n as GetQueueJobPath, p as components$9, r as KillJobPath, t as CreateJobBody } from "./types-
|
|
32
|
-
import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-
|
|
33
|
-
import { C as UpdateSinkSettingsRequestBody, E as components$10, S as UpdateSinkRequestBody, T as UpdateSourceSettingsRequestBody, d as SinkStatisticsFilesQuery, n as CreateSourceRequestBody, o as PaginationQuery, r as DeleteSourceQuery, t as CreateSinkRequestBody, w as UpdateSourceRequestBody, x as TestSourceQuery } from "./types-
|
|
34
|
-
import { A as ApifyObjectsInput, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-
|
|
35
|
-
import { n as SendSyncActionOptions } from "./index-
|
|
29
|
+
import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-CPaluTW7.cjs";
|
|
30
|
+
import { E as UpdateSemanticObjectMeta, _ as SemanticModelData, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelChildRef, i as SemanticChildObjectDataMap, m as SemanticMetricData, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObject, x as SemanticRelationshipData } from "./types-DONxb2-c.cjs";
|
|
31
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-sp1rJY9E.cjs";
|
|
32
|
+
import { s as EncryptionCtx } from "./index-CUXEFQ7i.cjs";
|
|
33
|
+
import { a as OrchestrationRerunPlanPath, c as SearchAllJobsQuery, d as SearchJobsQuery, l as SearchGroupedJobsQuery, n as GetQueueJobPath, p as components$9, r as KillJobPath, t as CreateJobBody } from "./types-Cu-0LT4f.cjs";
|
|
34
|
+
import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-B4_MM5Wf.cjs";
|
|
35
|
+
import { C as UpdateSinkSettingsRequestBody, E as components$10, S as UpdateSinkRequestBody, T as UpdateSourceSettingsRequestBody, d as SinkStatisticsFilesQuery, n as CreateSourceRequestBody, o as PaginationQuery, r as DeleteSourceQuery, t as CreateSinkRequestBody, w as UpdateSourceRequestBody, x as TestSourceQuery } from "./types-B7O5koJb.cjs";
|
|
36
|
+
import { A as ApifyObjectsInput, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-Ccgbipp4.cjs";
|
|
37
|
+
import { n as SendSyncActionOptions } from "./index-qOK5FtAH.cjs";
|
|
36
38
|
import { n as WorkspaceData, t as CreateCredentialsBody } from "./types-lFsTSkhe.cjs";
|
|
37
39
|
import { z } from "zod";
|
|
38
40
|
//#region src/errors/UserError.d.ts
|
|
@@ -174,40 +176,6 @@ declare class KeboolaError extends Error {
|
|
|
174
176
|
}
|
|
175
177
|
declare const isKeboolaError: (error: unknown) => error is KeboolaError;
|
|
176
178
|
//#endregion
|
|
177
|
-
//#region src/utils/persistor/adapters.d.ts
|
|
178
|
-
type StorageAdapter = {
|
|
179
|
-
getItem: (key: string) => string | null;
|
|
180
|
-
setItem: (key: string, value: string) => void;
|
|
181
|
-
removeItem: (key: string) => void;
|
|
182
|
-
};
|
|
183
|
-
declare const createNullStorage: () => StorageAdapter;
|
|
184
|
-
declare const createMemoryStorage: () => StorageAdapter;
|
|
185
|
-
declare const createLocalStorage: () => StorageAdapter;
|
|
186
|
-
declare const createSessionStorage: () => StorageAdapter;
|
|
187
|
-
//#endregion
|
|
188
|
-
//#region src/keboola/createMiddlewareFor.d.ts
|
|
189
|
-
/**
|
|
190
|
-
* Service clients reached through the registry — the key is the `clientName`
|
|
191
|
-
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
192
|
-
*/
|
|
193
|
-
type ServiceClientName = 'vault' | 'dataScience' | 'apps' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'omnisearch' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
|
|
194
|
-
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
195
|
-
type NonServiceClientName = 'storage' | 'management' | 'auth';
|
|
196
|
-
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
197
|
-
type Middlewares = MiddlewareFn$1[] | ({
|
|
198
|
-
all?: MiddlewareFn$1[];
|
|
199
|
-
} & Partial<Record<MiddlewareTarget, MiddlewareFn$1[]>>);
|
|
200
|
-
declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn$1[]) => MiddlewareFn$1[];
|
|
201
|
-
type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
|
|
202
|
-
//#endregion
|
|
203
|
-
//#region src/keboola/types.d.ts
|
|
204
|
-
type KeboolaOptions = {
|
|
205
|
-
baseUrl?: string;
|
|
206
|
-
middlewares?: Middlewares;
|
|
207
|
-
clientServiceUrls?: ServiceUrls;
|
|
208
|
-
storage?: StorageAdapter;
|
|
209
|
-
};
|
|
210
|
-
//#endregion
|
|
211
179
|
//#region src/utils/assert.d.ts
|
|
212
180
|
declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
|
|
213
181
|
//#endregion
|
|
@@ -428,19 +396,42 @@ declare const createPollRegistry: ({ limit }?: {
|
|
|
428
396
|
declare const series: <T, R>(options: Omit<ConcurrentOptions<T, R>, 'concurrency'>) => Promise<R[]>;
|
|
429
397
|
//#endregion
|
|
430
398
|
//#region src/utils/async/result.d.ts
|
|
431
|
-
type
|
|
399
|
+
type Success<T> = {
|
|
432
400
|
success: true;
|
|
433
401
|
data: T;
|
|
434
|
-
}
|
|
402
|
+
};
|
|
403
|
+
type Failure<E extends Error> = {
|
|
435
404
|
success: false;
|
|
436
405
|
error: E;
|
|
437
406
|
};
|
|
407
|
+
type Result<T, E extends Error = Error> = Success<T> | Failure<E>;
|
|
408
|
+
type NotPromise<T> = T extends PromiseLike<unknown> ? never : T;
|
|
438
409
|
declare const asError: (thrown: unknown) => Error;
|
|
439
|
-
declare const
|
|
410
|
+
declare const success: <T>(data: T) => Result<T, never>;
|
|
411
|
+
declare const failure: <E extends Error>(error: E) => Result<never, E>;
|
|
412
|
+
declare const isSuccess: <T, E extends Error>(result: Result<T, E>) => result is Success<T>;
|
|
413
|
+
declare const isFailure: <T, E extends Error>(result: Result<T, E>) => result is Failure<E>;
|
|
414
|
+
declare const map: <T, E extends Error, U>(result: Result<T, E>, fn: (data: T) => U) => Result<U, E>;
|
|
415
|
+
declare const mapError: <T, E extends Error, F extends Error>(result: Result<T, E>, fn: (error: E) => F) => Result<T, F>;
|
|
416
|
+
declare const andThen: <T, E extends Error, U, F extends Error>(result: Result<T, E>, fn: (data: T) => Result<U, F>) => Result<U, E | F>;
|
|
417
|
+
declare const match: <T, E extends Error, R>(result: Result<T, E>, onSuccess: (data: T) => R, onFailure: (error: E) => R) => R;
|
|
418
|
+
declare const unwrap: <T, E extends Error>(result: Result<T, E>) => T;
|
|
419
|
+
declare const unwrapOr: <T, E extends Error, U>(result: Result<T, E>, fallback: U) => T | U;
|
|
420
|
+
declare const tryCatch: <T>(task: () => NotPromise<T>) => Result<T>;
|
|
440
421
|
declare const tryCatchAsync: <T>(task: () => T | PromiseLike<T>) => Promise<Result<T>>;
|
|
441
|
-
declare const fromThrowable: <A extends unknown[], R>(fn: (...args: A) => R) => (...args: A) => Result<R>;
|
|
422
|
+
declare const fromThrowable: <A extends unknown[], R>(fn: (...args: A) => NotPromise<R>) => (...args: A) => Result<R>;
|
|
442
423
|
declare const fromThrowableAsync: <A extends unknown[], R>(fn: (...args: A) => R | PromiseLike<R>) => (...args: A) => Promise<Result<R>>;
|
|
443
424
|
declare const Result: {
|
|
425
|
+
success: typeof success;
|
|
426
|
+
failure: typeof failure;
|
|
427
|
+
isSuccess: typeof isSuccess;
|
|
428
|
+
isFailure: typeof isFailure;
|
|
429
|
+
map: typeof map;
|
|
430
|
+
mapError: typeof mapError;
|
|
431
|
+
andThen: typeof andThen;
|
|
432
|
+
match: typeof match;
|
|
433
|
+
unwrap: typeof unwrap;
|
|
434
|
+
unwrapOr: typeof unwrapOr;
|
|
444
435
|
tryCatch: typeof tryCatch;
|
|
445
436
|
tryCatchAsync: typeof tryCatchAsync;
|
|
446
437
|
fromThrowable: typeof fromThrowable;
|
|
@@ -450,26 +441,7 @@ declare const Result: {
|
|
|
450
441
|
//#region src/utils/generateUUID.d.ts
|
|
451
442
|
declare const generateUUID: () => `${string}-${string}-${string}-${string}-${string}`;
|
|
452
443
|
//#endregion
|
|
453
|
-
//#region src/utils/
|
|
454
|
-
type Listener<T> = (value: T) => void;
|
|
455
|
-
type Emitter<T> = {
|
|
456
|
-
emit: (event: T) => void;
|
|
457
|
-
subscribe: (listener: Listener<T>) => () => void;
|
|
458
|
-
/** Drops every listener. A store's `dispose` is the reason this exists. */
|
|
459
|
-
clear: () => void;
|
|
460
|
-
};
|
|
461
|
-
/**
|
|
462
|
-
* An occurrence, announced to whoever is listening.
|
|
463
|
-
*
|
|
464
|
-
* - For what happened rather than what is: nothing is held, so a listener that arrives later hears
|
|
465
|
-
* the next event and never the last one. A store is this plus a value it keeps.
|
|
466
|
-
* - Listeners run in the order they subscribed, synchronously, so an emitter is safe where the
|
|
467
|
-
* emitting code must not be left waiting.
|
|
468
|
-
* - A listener that throws is logged and stepped over. Emitting happens on someone else's call
|
|
469
|
-
* stack — a poll reporting how it ended, a session announcing a new token — and a subscriber's
|
|
470
|
-
* failure must not become theirs.
|
|
471
|
-
*/
|
|
472
|
-
declare const createEmitter: <T>() => Emitter<T>;
|
|
444
|
+
//#region src/utils/store/store.d.ts
|
|
473
445
|
type ReadableStore<T> = {
|
|
474
446
|
get: () => T;
|
|
475
447
|
subscribe: (listener: Listener<T>) => () => void;
|
|
@@ -477,9 +449,11 @@ type ReadableStore<T> = {
|
|
|
477
449
|
};
|
|
478
450
|
type Store<T> = ReadableStore<T> & {
|
|
479
451
|
set: (value: T) => void;
|
|
452
|
+
asReadable: () => ReadableStore<T>;
|
|
480
453
|
};
|
|
481
|
-
/** A value that is kept, and announced when it changes: an emitter with the value in front of it. */
|
|
482
454
|
declare const createStore: <T>(initial: T) => Store<T>;
|
|
455
|
+
//#endregion
|
|
456
|
+
//#region src/utils/store/derivedStore.d.ts
|
|
483
457
|
declare const shallowEqual: <T>(a: T, b: T) => boolean;
|
|
484
458
|
type DerivedStoreOptions<S, K, T> = {
|
|
485
459
|
source: ReadableStore<S>;
|
|
@@ -488,6 +462,8 @@ type DerivedStoreOptions<S, K, T> = {
|
|
|
488
462
|
keyEquals?: (a: K, b: K) => boolean;
|
|
489
463
|
};
|
|
490
464
|
declare const createDerivedStore: <S, K, T>({ source, dependsOn, build, keyEquals }: DerivedStoreOptions<S, K, T>) => ReadableStore<T>;
|
|
465
|
+
//#endregion
|
|
466
|
+
//#region src/utils/store/derivedAsyncStore.d.ts
|
|
491
467
|
type AsyncState<T> = {
|
|
492
468
|
state: 'idle';
|
|
493
469
|
} | {
|
|
@@ -543,6 +519,17 @@ declare const isEmptyDeep: (value: unknown) => boolean;
|
|
|
543
519
|
*/
|
|
544
520
|
declare const deepMerge: <T extends Record<string, unknown>>(base: T, patch: Record<string, unknown>) => T;
|
|
545
521
|
//#endregion
|
|
522
|
+
//#region src/utils/persistor/adapters.d.ts
|
|
523
|
+
type StorageAdapter = {
|
|
524
|
+
getItem: (key: string) => string | null;
|
|
525
|
+
setItem: (key: string, value: string) => void;
|
|
526
|
+
removeItem: (key: string) => void;
|
|
527
|
+
};
|
|
528
|
+
declare const createNullStorage: () => StorageAdapter;
|
|
529
|
+
declare const createMemoryStorage: () => StorageAdapter;
|
|
530
|
+
declare const createLocalStorage: () => StorageAdapter;
|
|
531
|
+
declare const createSessionStorage: () => StorageAdapter;
|
|
532
|
+
//#endregion
|
|
546
533
|
//#region src/utils/persistor/persistor.d.ts
|
|
547
534
|
type Schema<T> = {
|
|
548
535
|
safeParse: (value: unknown) => {
|
|
@@ -572,114 +559,6 @@ type PersistorOptions<T> = {
|
|
|
572
559
|
};
|
|
573
560
|
declare const createPersistor: <T>({ storage, key, schema, defaultValue, encode, decode }: PersistorOptions<T>) => Persistor<T>;
|
|
574
561
|
//#endregion
|
|
575
|
-
//#region src/keboola/bearer/createConfig.d.ts
|
|
576
|
-
type TokenSet = {
|
|
577
|
-
accessToken: string;
|
|
578
|
-
refreshToken: string;
|
|
579
|
-
expiresIn: number;
|
|
580
|
-
};
|
|
581
|
-
type Credential = TokenSet & {
|
|
582
|
-
issuedAt: number;
|
|
583
|
-
};
|
|
584
|
-
type State$1 = {
|
|
585
|
-
status: 'anonymous';
|
|
586
|
-
baseUrl: string | null;
|
|
587
|
-
} | {
|
|
588
|
-
status: 'authenticated';
|
|
589
|
-
baseUrl: string;
|
|
590
|
-
credential: Credential;
|
|
591
|
-
} | {
|
|
592
|
-
status: 'scoped';
|
|
593
|
-
baseUrl: string;
|
|
594
|
-
credential: Credential;
|
|
595
|
-
projectId: number;
|
|
596
|
-
};
|
|
597
|
-
//#endregion
|
|
598
|
-
//#region src/keboola/bearer/types.d.ts
|
|
599
|
-
type SessionSnapshot$1 = {
|
|
600
|
-
type: 'Bearer';
|
|
601
|
-
config: State$1;
|
|
602
|
-
authReady: boolean;
|
|
603
|
-
managementReady: boolean;
|
|
604
|
-
storage: AsyncState<unknown>['state'];
|
|
605
|
-
};
|
|
606
|
-
type RestoreResult = {
|
|
607
|
-
status: 'empty' | 'restored' | 'expired';
|
|
608
|
-
};
|
|
609
|
-
//#endregion
|
|
610
|
-
//#region src/keboola/bearer/keboola.d.ts
|
|
611
|
-
declare const createKeboola: (options?: KeboolaOptions) => {
|
|
612
|
-
api: KeboolaApi;
|
|
613
|
-
session: {
|
|
614
|
-
hasPersistedValue: () => boolean;
|
|
615
|
-
setBaseUrl: (baseUrl: string) => void;
|
|
616
|
-
isStorageReady: () => boolean;
|
|
617
|
-
authenticate: (tokens: TokenSet) => void;
|
|
618
|
-
setProject: (projectId: number) => void;
|
|
619
|
-
setProjectAsync: (projectId: number) => Promise<void>;
|
|
620
|
-
/**
|
|
621
|
-
* Leave the current project but stay signed in — the storage build returns to `idle`, so a
|
|
622
|
-
* consumer gating on it falls back to its project picker. The persisted session is rewritten with
|
|
623
|
-
* `projectId: null` by the subscription above, so a reload lands on the picker rather than
|
|
624
|
-
* re-entering the project. Use `reset` to sign out instead.
|
|
625
|
-
*/
|
|
626
|
-
clearProject: () => void;
|
|
627
|
-
reset: () => void;
|
|
628
|
-
/**
|
|
629
|
-
* Dev/test only: mark the current access token as expired so the bearer credential rotates it on
|
|
630
|
-
* the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
|
|
631
|
-
* the rotation immediately and observe the new credential.
|
|
632
|
-
*/
|
|
633
|
-
debugForceRefresh: () => void;
|
|
634
|
-
/**
|
|
635
|
-
* The headers that authorize one off-client request, resolved fresh each call.
|
|
636
|
-
*
|
|
637
|
-
* - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
|
|
638
|
-
* holds. Anything with a service client on `api` should use that instead.
|
|
639
|
-
* - Returns the assembled bag, never the bare token: no caller handles the credential as a
|
|
640
|
-
* string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
|
|
641
|
-
* - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
|
|
642
|
-
* one is never re-sent. A snapshot held by the caller would do neither.
|
|
643
|
-
* - Throws rather than emitting a half-formed `Bearer null`: an unauthenticated or unscoped
|
|
644
|
-
* session has nothing to authorize with.
|
|
645
|
-
*/
|
|
646
|
-
getAuthHeaders: () => Promise<Record<string, string>>;
|
|
647
|
-
restore: () => Promise<RestoreResult>;
|
|
648
|
-
subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
|
|
649
|
-
debug: () => SessionSnapshot$1;
|
|
650
|
-
};
|
|
651
|
-
};
|
|
652
|
-
//#endregion
|
|
653
|
-
//#region src/keboola/legacy/createConfig.d.ts
|
|
654
|
-
type State = {
|
|
655
|
-
baseUrl: string | null;
|
|
656
|
-
sapiToken: string | null;
|
|
657
|
-
managementToken: string | null;
|
|
658
|
-
};
|
|
659
|
-
//#endregion
|
|
660
|
-
//#region src/keboola/legacy/types.d.ts
|
|
661
|
-
type SessionSnapshot = {
|
|
662
|
-
type: 'Sapi';
|
|
663
|
-
config: State;
|
|
664
|
-
authReady: boolean;
|
|
665
|
-
managementReady: boolean;
|
|
666
|
-
storage: AsyncState<unknown>['state'];
|
|
667
|
-
};
|
|
668
|
-
//#endregion
|
|
669
|
-
//#region src/keboola/legacy/keboola.d.ts
|
|
670
|
-
declare const createLegacyKeboola: (options?: KeboolaOptions) => {
|
|
671
|
-
api: KeboolaApi;
|
|
672
|
-
session: {
|
|
673
|
-
setBaseUrl: (baseUrl: string) => void;
|
|
674
|
-
isStorageReady: () => boolean;
|
|
675
|
-
authenticateStorage: (sapiToken: string) => void;
|
|
676
|
-
authenticateStorageAsync: (sapiToken: string) => Promise<void>;
|
|
677
|
-
authenticateManagement: (managementToken: string) => void;
|
|
678
|
-
subscribe: (listener: (snapshot: SessionSnapshot) => void) => () => void;
|
|
679
|
-
debug: () => SessionSnapshot;
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
//#endregion
|
|
683
562
|
//#region src/clients/storage/storageClient.d.ts
|
|
684
563
|
type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
|
|
685
564
|
type StorageOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
@@ -3863,6 +3742,21 @@ declare const registry: Registry<Record<never, never> & Record<"keboola.wr-db-my
|
|
|
3863
3742
|
}, import("zod/v4/core").$loose>>>;
|
|
3864
3743
|
type RegisteredComponentId = InferComponentId<typeof registry>;
|
|
3865
3744
|
//#endregion
|
|
3745
|
+
//#region src/keboola/createMiddlewareFor.d.ts
|
|
3746
|
+
/**
|
|
3747
|
+
* Service clients reached through the registry — the key is the `clientName`
|
|
3748
|
+
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
3749
|
+
*/
|
|
3750
|
+
type ServiceClientName = 'vault' | 'dataScience' | 'apps' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'omnisearch' | 'stream' | 'notifications' | 'scheduler' | 'metastore';
|
|
3751
|
+
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
3752
|
+
type NonServiceClientName = 'storage' | 'management' | 'auth';
|
|
3753
|
+
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
3754
|
+
type Middlewares = MiddlewareFn$1[] | ({
|
|
3755
|
+
all?: MiddlewareFn$1[];
|
|
3756
|
+
} & Partial<Record<MiddlewareTarget, MiddlewareFn$1[]>>);
|
|
3757
|
+
declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn$1[]) => MiddlewareFn$1[];
|
|
3758
|
+
type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
|
|
3759
|
+
//#endregion
|
|
3866
3760
|
//#region src/keboola/bearer/createProjectClients.d.ts
|
|
3867
3761
|
/**
|
|
3868
3762
|
* Bearer (OAuth) project surface. Same handshake + assembly as the legacy build. The
|
|
@@ -14905,6 +14799,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14905
14799
|
maxTokens: number;
|
|
14906
14800
|
percentage: number;
|
|
14907
14801
|
} | null;
|
|
14802
|
+
ppuUsed: number | null;
|
|
14803
|
+
ppuPercentage: number | null;
|
|
14908
14804
|
messages: {
|
|
14909
14805
|
id: string;
|
|
14910
14806
|
role: 'user' | 'assistant';
|
|
@@ -15021,6 +14917,12 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
15021
14917
|
createdAt: string;
|
|
15022
14918
|
updatedAt: string;
|
|
15023
14919
|
}>;
|
|
14920
|
+
getSpendCaps: (signal?: AbortSignal) => Promise<SpendCapsView>;
|
|
14921
|
+
updateSpendCaps: (request: {
|
|
14922
|
+
projectCapPpu?: number | null;
|
|
14923
|
+
defaultUserLimitPpu?: number | null;
|
|
14924
|
+
}, signal?: AbortSignal) => Promise<SpendCapsView>;
|
|
14925
|
+
setUserSpendLimit: (userId: string, overrideLimitPpu: number | null, signal?: AbortSignal) => Promise<SpendCapMember>;
|
|
15024
14926
|
getToolsList: (signal?: AbortSignal) => Promise<{
|
|
15025
14927
|
tools: {
|
|
15026
14928
|
name: string;
|
|
@@ -16134,12 +16036,151 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16134
16036
|
}>;
|
|
16135
16037
|
//#endregion
|
|
16136
16038
|
//#region src/keboola/createApi.d.ts
|
|
16039
|
+
/**
|
|
16040
|
+
* Everything on `api` except `auth` and `management` — the project-scoped half of `KeboolaApi`.
|
|
16041
|
+
*
|
|
16042
|
+
* - Holds no credential; the token and its refresh loop live on the session that built it.
|
|
16043
|
+
*/
|
|
16137
16044
|
type ProjectClients = Awaited<ReturnType<typeof createProjectClients>>;
|
|
16138
16045
|
type KeboolaApi = ProjectClients & {
|
|
16139
16046
|
auth: ReturnType<typeof createAuthClient>;
|
|
16140
16047
|
management: ReturnType<typeof createManagementClient>;
|
|
16141
16048
|
};
|
|
16142
16049
|
//#endregion
|
|
16050
|
+
//#region src/keboola/types.d.ts
|
|
16051
|
+
type KeboolaOptions = {
|
|
16052
|
+
baseUrl?: string;
|
|
16053
|
+
middlewares?: Middlewares;
|
|
16054
|
+
clientServiceUrls?: ServiceUrls;
|
|
16055
|
+
storage?: StorageAdapter;
|
|
16056
|
+
};
|
|
16057
|
+
//#endregion
|
|
16058
|
+
//#region src/keboola/bearer/createConfig.d.ts
|
|
16059
|
+
type TokenSet = {
|
|
16060
|
+
accessToken: string;
|
|
16061
|
+
refreshToken: string;
|
|
16062
|
+
expiresIn: number;
|
|
16063
|
+
};
|
|
16064
|
+
type Credential = TokenSet & {
|
|
16065
|
+
issuedAt: number;
|
|
16066
|
+
};
|
|
16067
|
+
type State$1 = {
|
|
16068
|
+
status: 'anonymous';
|
|
16069
|
+
baseUrl: string | null;
|
|
16070
|
+
} | {
|
|
16071
|
+
status: 'authenticated';
|
|
16072
|
+
baseUrl: string;
|
|
16073
|
+
credential: Credential;
|
|
16074
|
+
} | {
|
|
16075
|
+
status: 'scoped';
|
|
16076
|
+
baseUrl: string;
|
|
16077
|
+
credential: Credential;
|
|
16078
|
+
projectId: number;
|
|
16079
|
+
};
|
|
16080
|
+
//#endregion
|
|
16081
|
+
//#region src/keboola/bearer/types.d.ts
|
|
16082
|
+
type SessionSnapshot$1 = {
|
|
16083
|
+
type: 'Bearer';
|
|
16084
|
+
config: State$1;
|
|
16085
|
+
authReady: boolean;
|
|
16086
|
+
managementReady: boolean;
|
|
16087
|
+
storage: AsyncState<unknown>['state'];
|
|
16088
|
+
};
|
|
16089
|
+
type RestoreResult = {
|
|
16090
|
+
status: 'empty' | 'restored' | 'expired';
|
|
16091
|
+
};
|
|
16092
|
+
//#endregion
|
|
16093
|
+
//#region src/keboola/bearer/keboola.d.ts
|
|
16094
|
+
declare const createKeboola: (options?: KeboolaOptions) => {
|
|
16095
|
+
api: KeboolaApi;
|
|
16096
|
+
session: {
|
|
16097
|
+
hasPersistedValue: () => boolean;
|
|
16098
|
+
setBaseUrl: (baseUrl: string) => void;
|
|
16099
|
+
isStorageReady: () => boolean;
|
|
16100
|
+
authenticate: (tokens: TokenSet) => void;
|
|
16101
|
+
setProject: (projectId: number) => void;
|
|
16102
|
+
setProjectAsync: (projectId: number) => Promise<void>;
|
|
16103
|
+
/**
|
|
16104
|
+
* Leave the current project but stay signed in — the storage build returns to `idle`, so a
|
|
16105
|
+
* consumer gating on it falls back to its project picker. The persisted session is rewritten with
|
|
16106
|
+
* `projectId: null` by the subscription above, so a reload lands on the picker rather than
|
|
16107
|
+
* re-entering the project. Use `reset` to sign out instead.
|
|
16108
|
+
*/
|
|
16109
|
+
clearProject: () => void;
|
|
16110
|
+
/**
|
|
16111
|
+
* The clients for one project, off this session — for reaching a second project without leaving
|
|
16112
|
+
* the first.
|
|
16113
|
+
*
|
|
16114
|
+
* - `setProjectAsync` *moves* the session (and `api`) to another project; this *adds* one. The
|
|
16115
|
+
* returned set is the caller's to hold and never appears on `api`.
|
|
16116
|
+
* - Every set shares this session's auth middleware, so one rotation serves all of them. A second
|
|
16117
|
+
* `createKeboola()` does not: both hold the same single-use refresh token, and the first to
|
|
16118
|
+
* rotate invalidates the other's, whose next refresh 401s and signs it out.
|
|
16119
|
+
* - Independent of the scope, including for the scoped project itself — asking for that one
|
|
16120
|
+
* builds a second set with its own `liveProject`, so prefer `api.*` there.
|
|
16121
|
+
*/
|
|
16122
|
+
forProject: (projectId: number) => Promise<ProjectClients>;
|
|
16123
|
+
reset: () => void;
|
|
16124
|
+
/**
|
|
16125
|
+
* Dev/test only: mark the current access token as expired so the bearer credential rotates it on
|
|
16126
|
+
* the next request. Pair with any authenticated call (e.g. `api.storage.tokens.verify()`) to force
|
|
16127
|
+
* the rotation immediately and observe the new credential.
|
|
16128
|
+
*/
|
|
16129
|
+
debugForceRefresh: () => void;
|
|
16130
|
+
/**
|
|
16131
|
+
* The headers that authorize one off-client request, resolved fresh each call.
|
|
16132
|
+
*
|
|
16133
|
+
* - For a transport this package does not own — the chat SSE stream, whose `fetch` the AI SDK
|
|
16134
|
+
* holds. Anything with a service client on `api` should use that instead.
|
|
16135
|
+
* - Returns the assembled bag, never the bare token: no caller handles the credential as a
|
|
16136
|
+
* string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
|
|
16137
|
+
* - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
|
|
16138
|
+
* one is never re-sent. A snapshot held by the caller would do neither.
|
|
16139
|
+
* - Throws rather than emitting a half-formed `Bearer null`: an unauthenticated or unscoped
|
|
16140
|
+
* session has nothing to authorize with.
|
|
16141
|
+
* - Pinned to the sign-in it was called on, like every client here. This is the one
|
|
16142
|
+
* credential-emitting surface with no middleware chain for the guard to sit in, so the check
|
|
16143
|
+
* is written out around the `await` that rotates the token.
|
|
16144
|
+
* - The scope is re-read after that `await`, not carried across it. The epoch the pin compares
|
|
16145
|
+
* moves on a sign-in and a sign-out only, so a project switch mid-rotation is invisible to it.
|
|
16146
|
+
*/
|
|
16147
|
+
getAuthHeaders: () => Promise<Record<string, string>>;
|
|
16148
|
+
restore: () => Promise<RestoreResult>;
|
|
16149
|
+
subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
|
|
16150
|
+
debug: () => SessionSnapshot$1;
|
|
16151
|
+
};
|
|
16152
|
+
};
|
|
16153
|
+
//#endregion
|
|
16154
|
+
//#region src/keboola/legacy/createConfig.d.ts
|
|
16155
|
+
type State = {
|
|
16156
|
+
baseUrl: string | null;
|
|
16157
|
+
sapiToken: string | null;
|
|
16158
|
+
managementToken: string | null;
|
|
16159
|
+
};
|
|
16160
|
+
//#endregion
|
|
16161
|
+
//#region src/keboola/legacy/types.d.ts
|
|
16162
|
+
type SessionSnapshot = {
|
|
16163
|
+
type: 'Sapi';
|
|
16164
|
+
config: State;
|
|
16165
|
+
authReady: boolean;
|
|
16166
|
+
managementReady: boolean;
|
|
16167
|
+
storage: AsyncState<unknown>['state'];
|
|
16168
|
+
};
|
|
16169
|
+
//#endregion
|
|
16170
|
+
//#region src/keboola/legacy/keboola.d.ts
|
|
16171
|
+
declare const createLegacyKeboola: (options?: KeboolaOptions) => {
|
|
16172
|
+
api: KeboolaApi;
|
|
16173
|
+
session: {
|
|
16174
|
+
setBaseUrl: (baseUrl: string) => void;
|
|
16175
|
+
isStorageReady: () => boolean;
|
|
16176
|
+
authenticateStorage: (sapiToken: string) => void;
|
|
16177
|
+
authenticateStorageAsync: (sapiToken: string) => Promise<void>;
|
|
16178
|
+
authenticateManagement: (managementToken: string) => void;
|
|
16179
|
+
subscribe: (listener: (snapshot: SessionSnapshot) => void) => () => void;
|
|
16180
|
+
debug: () => SessionSnapshot;
|
|
16181
|
+
};
|
|
16182
|
+
};
|
|
16183
|
+
//#endregion
|
|
16143
16184
|
//#region src/keboola/index.d.ts
|
|
16144
16185
|
/** The bearer (OAuth) session surface, derived from the factory's return. */
|
|
16145
16186
|
type BearerSession = ReturnType<typeof createKeboola>['session'];
|
|
@@ -17353,5 +17394,5 @@ declare const createQueryServiceClient: ({ baseUrl, middlewares, auth }: ClientI
|
|
|
17353
17394
|
exportResults: (queryJobId: GetQueryResultsPath['queryJobId'], statementId: GetQueryResultsPath['statementId'], query: GetExportResultsQuery, signal?: AbortSignal) => Promise<ExportResultsResponse>;
|
|
17354
17395
|
};
|
|
17355
17396
|
//#endregion
|
|
17356
|
-
export {
|
|
17357
|
-
//# sourceMappingURL=index-
|
|
17397
|
+
export { createDerivedStore as $, LegacySession as A, delay as At, createStorageClient as B, KeboolaErrorType as Bt, LogLevel as C, poller as Ct, ResponseLog as D, PollResult as Dt, RequestLog as E, PollOptions as Et, ProjectClients as F, collect as Ft, createMemoryStorage as G, SyncActionError as Gt, createPersistor as H, ClientContext as Ht, RegisteredComponentId as I, coalesce as It, deepMerge as J, QueryJobTimeoutError as Jt, createNullStorage as K, isSyncActionError as Kt, registry as L, TaskFn as Lt, createKeboola as M, ConcurrentOptions as Mt, KeboolaOptions as N, concurrent as Nt, createLoggingMiddleware as O, PollTick as Ot, KeboolaApi as P, CollectOptions as Pt, createDerivedAsyncStore as Q, UserError as Qt, GenericFetchClient as R, assert as Rt, Log as S, poll as St, LoggingOptions as T, PollKey as Tt, StorageAdapter as U, isStorageTokenMutatingRequest as Ut, Persistor as V, isKeboolaError as Vt, createLocalStorage as W, createDefaultBranch as Wt, isPlainObject as X, QueryJobError as Xt, isEmptyDeep as Y, isQueryJobTimeoutError as Yt, AsyncState as Z, isQueryJobError as Zt, toBackendSubscribers as _, Poller as _t, parseCurrentDevBranchIdFromUrl as a, Failure as at, RetryOptions as b, emitter as bt, removeBranchFromUrl as c, asError as ct, constructFQID as d, PollRegistry as dt, shallowEqual as et, parseFQID as f, createPollRegistry as ft, fromBackendSubscribers as g, PollTask as gt, createStorageSdk as h, PollState as ht, createQueryServiceSdk as i, generateUUID as it, createLegacyKeboola as j, dedupe as jt, BearerSession as k, lazy as kt, FQID_TYPES as l, series as lt, tableIdParser as m, PollSnapshot as mt, ExecuteQueryOptions as n, Store as nt, parseDevBranchId as o, Result as ot, parse as p, ObservedPoller as pt, createSessionStorage as q, ServiceUnavailableError as qt, WaitForJobOptions as r, createStore as rt, prefixTagsWithDevBranchId as s, Success as st, createQueryServiceClient as t, ReadableStore as tt, ParsedFQID as u, PollEntry as ut, jobStatus as v, PollerStartFn as vt, Logger as w, PollContext as wt, createRetryMiddleware as x, failureOf as xt, KeboolaHttpHeader as y, PollerStopFn as yt, StorageOpenApiFetchClient as z, KeboolaError as zt };
|
|
17398
|
+
//# sourceMappingURL=index-DIVvL54G.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "./types-
|
|
2
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-
|
|
1
|
+
import { n as ClientInitOptions } from "./types-DHI0g51U.cjs";
|
|
2
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-sp1rJY9E.cjs";
|
|
3
3
|
//#region src/clients/vault/vaultClient.d.ts
|
|
4
4
|
declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -23,4 +23,4 @@ declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOpti
|
|
|
23
23
|
};
|
|
24
24
|
//#endregion
|
|
25
25
|
export { createVaultClient as t };
|
|
26
|
-
//# sourceMappingURL=index-
|
|
26
|
+
//# sourceMappingURL=index-DLYAvSWZ.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { A as ApifyObjectsInput, N as paths, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-
|
|
1
|
+
import { D as ValidateStatusFn, t as createOpenapiFetchClient } from "./index-DVhTNwvu.js";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-D-98DirB.js";
|
|
3
|
+
import { A as ApifyObjectsInput, N as paths, P as SyncActionBody, S as DbtActionInput, c as GetEntrypointsInput, i as TestLookerCredentialsInput, s as GetBranchesInput, t as EnrollMFAInput } from "./types-DTTC70Ac.js";
|
|
4
4
|
//#region src/clients/syncActions/syncActionsClient.d.ts
|
|
5
5
|
type SendSyncActionOptions = {
|
|
6
6
|
signal?: AbortSignal;
|
|
@@ -62,4 +62,4 @@ declare const createSyncActionsClient: ({ baseUrl, middlewares, auth }: ClientIn
|
|
|
62
62
|
};
|
|
63
63
|
//#endregion
|
|
64
64
|
export { SendSyncActionOptions as n, createSyncActionsClient as r, SendSyncAction as t };
|
|
65
|
-
//# sourceMappingURL=index-
|
|
65
|
+
//# sourceMappingURL=index-DQef014j.d.ts.map
|
|
@@ -95,6 +95,7 @@ declare const parseOrThrow: <T extends z$1.ZodType>(schema: T, value: unknown) =
|
|
|
95
95
|
type FetchClientError = TypeError | ApiError | SyntaxError | DOMException;
|
|
96
96
|
declare const isApiError: (error: unknown) => error is ApiError;
|
|
97
97
|
declare const isAbortError: (error: unknown) => error is DOMException;
|
|
98
|
+
declare const isTimeoutError: (error: unknown) => error is DOMException;
|
|
98
99
|
declare const isFetchClientError: (error: unknown) => error is FetchClientError;
|
|
99
100
|
//#endregion
|
|
100
101
|
//#region src/fetchClient/createFetchClient/utils.d.ts
|
|
@@ -234,5 +235,5 @@ type FetchClient<Paths extends OpenapiPaths<Paths>> = {
|
|
|
234
235
|
};
|
|
235
236
|
declare const createOpenapiFetchClient: <Paths extends OpenapiPaths<Paths>>(defaultOptions: CreateFetchClientOptions) => FetchClient<Paths>;
|
|
236
237
|
//#endregion
|
|
237
|
-
export {
|
|
238
|
-
//# sourceMappingURL=index-
|
|
238
|
+
export { isHtmlResponseError as C, ValidateStatusFn as D, MiddlewareFn as E, ApiError as O, HtmlResponseError as S, HttpMethod as T, isTimeoutError as _, OpenapiParametersType as a, parseOrThrow as b, OpenapiReturnType as c, HttpContentType as d, HttpHeader as f, isFetchClientError as g, isApiError as h, OpenapiFormDataType as i, UploadProgress as l, isAbortError as m, ArrayElement as n, OpenapiPathType as o, FetchClientError as p, OpenapiBodyType as r, OpenapiQueryType as s, createOpenapiFetchClient as t, createGenericFetchClient as u, ValidationError as v, ApiResponse as w, ManagementClientAuthError as x, isValidationError as y };
|
|
239
|
+
//# sourceMappingURL=index-DVhTNwvu.d.ts.map
|