@keboola/api-client 33.0.0 → 35.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 +2 -2
- package/API-SURFACE.md +16 -2
- package/CHANGELOG.md +253 -0
- package/dist/{ManagementClientAuthError-DqeXL8nv.cjs → ManagementClientAuthError-DD4u0EU7.cjs} +2 -2
- package/dist/{ManagementClientAuthError-DqeXL8nv.cjs.map → ManagementClientAuthError-DD4u0EU7.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-iKbBugKC.js → ManagementClientAuthError-ey-f03vy.js} +2 -2
- package/dist/{ManagementClientAuthError-iKbBugKC.js.map → ManagementClientAuthError-ey-f03vy.js.map} +1 -1
- package/dist/{ValidationError-CzPWydEb.js → ValidationError-BekhphAq.js} +11 -7
- package/dist/ValidationError-BekhphAq.js.map +1 -0
- package/dist/{ValidationError-h5qvwahi.cjs → ValidationError-CLVJCCwH.cjs} +16 -6
- package/dist/ValidationError-CLVJCCwH.cjs.map +1 -0
- 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-D8K0VeNM.cjs → appLogs-BjfUoWzs.cjs} +2 -2
- package/dist/{appLogs-D8K0VeNM.cjs.map → appLogs-BjfUoWzs.cjs.map} +1 -1
- package/dist/{appLogs-u0XMZLjS.d.ts → appLogs-Ch7DYpzx.d.ts} +2 -2
- package/dist/{appLogs-Q4A7A_Fc.d.cts → appLogs-D5A13Y0y.d.cts} +2 -2
- package/dist/{appLogs-D72eD8vP.js → appLogs-xsVkTriU.js} +2 -2
- package/dist/{appLogs-D72eD8vP.js.map → appLogs-xsVkTriU.js.map} +1 -1
- package/dist/apps/index.cjs +3 -3
- package/dist/apps/index.d.cts +3 -3
- package/dist/apps/index.d.ts +3 -3
- package/dist/apps/index.js +3 -3
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/types.d.cts +1 -1
- package/dist/auth/types.d.ts +1 -1
- package/dist/{auth-C2_JLisH.cjs → auth-JQ33o3nU.cjs} +2 -2
- package/dist/{auth-C2_JLisH.cjs.map → auth-JQ33o3nU.cjs.map} +1 -1
- package/dist/{auth-CE9rQV3-.js → auth-aItmDu45.js} +2 -2
- package/dist/{auth-CE9rQV3-.js.map → auth-aItmDu45.js.map} +1 -1
- package/dist/{authClient-DZ_8lvdJ.d.cts → authClient-CTHNs6Tq.d.cts} +4 -4
- package/dist/{authClient-DEyqR7GW.js → authClient-D7W9vWPR.js} +5 -5
- package/dist/{authClient-DEyqR7GW.js.map → authClient-D7W9vWPR.js.map} +1 -1
- package/dist/{authClient-DwT6xdg5.d.ts → authClient-D8i3JTM-.d.ts} +4 -4
- package/dist/{authClient-IwQ9Ti0J.cjs → authClient-_PpvGgZJ.cjs} +5 -5
- package/dist/{authClient-IwQ9Ti0J.cjs.map → authClient-_PpvGgZJ.cjs.map} +1 -1
- package/dist/billing/index.cjs +46 -0
- package/dist/billing/index.cjs.map +1 -0
- package/dist/billing/index.d.cts +48 -0
- package/dist/billing/index.d.ts +48 -0
- package/dist/billing/index.js +45 -0
- package/dist/billing/index.js.map +1 -0
- package/dist/billing/types.cjs +0 -0
- package/dist/billing/types.d.cts +635 -0
- package/dist/billing/types.d.ts +635 -0
- package/dist/billing/types.js +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.cjs +18 -0
- package/dist/chat/types.cjs.map +1 -1
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/chat/types.js +18 -1
- package/dist/chat/types.js.map +1 -1
- package/dist/{configurations-d7SZmw69.js → configurations-BVvcimzo.js} +17 -2
- package/dist/configurations-BVvcimzo.js.map +1 -0
- package/dist/{configurations-CqwAxiQL.cjs → configurations-CyFF9Dtu.cjs} +22 -1
- package/dist/configurations-CyFF9Dtu.cjs.map +1 -0
- package/dist/{configurations-ZwBXilW-.js → configurations-VtNE0nrT.js} +2 -2
- package/dist/{configurations-ZwBXilW-.js.map → configurations-VtNE0nrT.js.map} +1 -1
- package/dist/{configurations-Ck-mNB_E.cjs → configurations-zkNjr73Q.cjs} +2 -2
- package/dist/{configurations-Ck-mNB_E.cjs.map → configurations-zkNjr73Q.cjs.map} +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/{constants-lIfSdTzS.cjs → constants-C4DlsF_M.cjs} +3 -2
- package/dist/constants-C4DlsF_M.cjs.map +1 -0
- package/dist/{constants-ByEwVtGf.js → constants-wfbFsqqN.js} +3 -2
- package/dist/constants-wfbFsqqN.js.map +1 -0
- package/dist/{createFetchClient-DvZvD31l.cjs → createFetchClient-DgMiqTJ8.cjs} +19 -4
- package/dist/createFetchClient-DgMiqTJ8.cjs.map +1 -0
- package/dist/{createFetchClient-DdyZMhxO.js → createFetchClient-U-ZrwPl2.js} +14 -5
- package/dist/{createFetchClient-DvZvD31l.cjs.map → createFetchClient-U-ZrwPl2.js.map} +1 -1
- package/dist/{createGenericFetchClient-qfCZlCTv.cjs → createGenericFetchClient-o3cPJeRn.cjs} +2 -2
- package/dist/{createGenericFetchClient-qfCZlCTv.cjs.map → createGenericFetchClient-o3cPJeRn.cjs.map} +1 -1
- package/dist/{createGenericFetchClient-MQeLRiNW.js → createGenericFetchClient-rxvUUbap.js} +2 -2
- package/dist/{createGenericFetchClient-MQeLRiNW.js.map → createGenericFetchClient-rxvUUbap.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-E7OIVkYv.js → createOpenapiFetchClient-BVSc9ibR.js} +2 -2
- package/dist/{createOpenapiFetchClient-E7OIVkYv.js.map → createOpenapiFetchClient-BVSc9ibR.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-C57Ljzi6.cjs → createOpenapiFetchClient-DhUU3M1W.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-C57Ljzi6.cjs.map → createOpenapiFetchClient-DhUU3M1W.cjs.map} +1 -1
- package/dist/{credential-Bxv7yxOZ.js → credential-CihSf_xs.js} +2 -2
- package/dist/{credential-Bxv7yxOZ.js.map → credential-CihSf_xs.js.map} +1 -1
- package/dist/{credential-D-X5QQrM.cjs → credential-DVWvJFJs.cjs} +2 -2
- package/dist/{credential-D-X5QQrM.cjs.map → credential-DVWvJFJs.cjs.map} +1 -1
- package/dist/dataScience/index.cjs +2 -2
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/index.js +2 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/{dataScience-BPW993AG.cjs → dataScience-0Rl_EuV_.cjs} +5 -5
- package/dist/{dataScience-BPW993AG.cjs.map → dataScience-0Rl_EuV_.cjs.map} +1 -1
- package/dist/{dataScience-B_TA7wCB.js → dataScience-C1gO5zUn.js} +5 -5
- package/dist/{dataScience-B_TA7wCB.js.map → dataScience-C1gO5zUn.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-jk46sjwP.js → developerPortalClient-C_48z8BN.js} +3 -3
- package/dist/{developerPortalClient-jk46sjwP.js.map → developerPortalClient-C_48z8BN.js.map} +1 -1
- package/dist/{developerPortalClient-Db2XVB_o.cjs → developerPortalClient-ki0XS_OD.cjs} +3 -3
- package/dist/{developerPortalClient-Db2XVB_o.cjs.map → developerPortalClient-ki0XS_OD.cjs.map} +1 -1
- package/dist/domain/permissions/index.cjs +2 -1
- package/dist/domain/permissions/index.d.cts +18 -3
- package/dist/domain/permissions/index.d.ts +18 -3
- package/dist/domain/permissions/index.js +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/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-DJilJ6tq.cjs → import-C83w7BKz.cjs} +3 -3
- package/dist/{import-DJilJ6tq.cjs.map → import-C83w7BKz.cjs.map} +1 -1
- package/dist/{import-2nqxQ9Rt.js → import-CROEK82b.js} +3 -3
- package/dist/{import-2nqxQ9Rt.js.map → import-CROEK82b.js.map} +1 -1
- package/dist/{index-DQef014j.d.ts → index-3LUk2rpD.d.ts} +4 -4
- package/dist/{index-BjKjp3Rf.d.ts → index-6Xe81qN3.d.ts} +5 -5
- package/dist/{index-DIVvL54G.d.cts → index-BLx14ZI4.d.cts} +104 -44
- package/dist/{index-CUXEFQ7i.d.cts → index-BgLnWTZU.d.cts} +6 -6
- package/dist/{index-C_cxKL1V.d.ts → index-BuegqrS1.d.ts} +3 -3
- package/dist/{index-bB6wvw1f.d.ts → index-C77vTm2K.d.ts} +4 -4
- package/dist/{index-qOK5FtAH.d.cts → index-CW3Pj7DY.d.cts} +4 -4
- package/dist/{index-B2OGaUap.d.ts → index-CqgtL2NU.d.ts} +6 -6
- package/dist/{index-C7gxKoDF.d.cts → index-D8rcUbnk.d.ts} +3 -3
- package/dist/{index-B0V1pJAa.d.ts → index-DFBFa3SS.d.ts} +104 -44
- package/dist/{index-CVqk63at.d.ts → index-DR4QqItd.d.cts} +3 -3
- package/dist/{index-DCN2lH0v.d.cts → index-DXSmFkol.d.cts} +4 -4
- package/dist/{index-CTd4YY8e.d.cts → index-Dodwl64k.d.cts} +69 -36
- package/dist/{index-t-a7kYnx.d.cts → index-DppA4k3b.d.cts} +5 -5
- package/dist/{index-DLYAvSWZ.d.cts → index-Dx52hNLP.d.cts} +3 -3
- package/dist/{index-exNi3I2Q.d.cts → index-GjcJTCbz.d.cts} +4 -4
- package/dist/{index-DhVFuQDv.d.cts → index-KuQ79Mnz.d.ts} +13 -3
- package/dist/{index-GNKwr7EQ.d.ts → index-P-iT5THa.d.ts} +69 -36
- package/dist/{index-DVhTNwvu.d.ts → index-V7XKUQm9.d.cts} +13 -3
- package/dist/{index-ChMtULt4.d.ts → index-pXN4LWUX.d.ts} +4 -4
- package/dist/index.cjs +77 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +74 -35
- package/dist/index.js.map +1 -1
- package/dist/isLoginPageRedirect-B0EmRsHr.cjs +25 -0
- package/dist/isLoginPageRedirect-B0EmRsHr.cjs.map +1 -0
- package/dist/isLoginPageRedirect-BTTAedW-.js +20 -0
- package/dist/isLoginPageRedirect-BTTAedW-.js.map +1 -0
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +1 -1
- package/dist/kaiAgent/index.d.ts +1 -1
- 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-CYYn0QJW.js → kaiAgent-8LNzGhZc.js} +4 -4
- package/dist/{kaiAgent-CYYn0QJW.js.map → kaiAgent-8LNzGhZc.js.map} +1 -1
- package/dist/{kaiAgent-CMVub6Sc.cjs → kaiAgent-B_TaUPRt.cjs} +4 -4
- package/dist/{kaiAgent-CMVub6Sc.cjs.map → kaiAgent-B_TaUPRt.cjs.map} +1 -1
- package/dist/{kaiAgentClient-B2O0DF4d.d.ts → kaiAgentClient-BJj_2aqt.d.ts} +4 -3
- package/dist/{kaiAgentClient-iCFR2tRU.d.cts → kaiAgentClient-DhTaM3GC.d.cts} +4 -3
- 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 +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-DGfgKsaA.cjs → management-BoxlRNg2.cjs} +53 -10
- package/dist/management-BoxlRNg2.cjs.map +1 -0
- package/dist/{management-DNEKhR6a.js → management-Bp440RsV.js} +53 -10
- package/dist/management-Bp440RsV.js.map +1 -0
- package/dist/metastore/index.cjs +1 -1
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/index.js +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/{metastore-DksEte8P.cjs → metastore-BYYWTb3m.cjs} +4 -4
- package/dist/{metastore-DksEte8P.cjs.map → metastore-BYYWTb3m.cjs.map} +1 -1
- package/dist/{metastore-CjwktHvw.js → metastore-VCDRVhUT.js} +4 -4
- package/dist/{metastore-CjwktHvw.js.map → metastore-VCDRVhUT.js.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-Bg5zro5S.js → oauth--asfePw-.js} +5 -5
- package/dist/{oauth-Bg5zro5S.js.map → oauth--asfePw-.js.map} +1 -1
- package/dist/{oauth-DFsI1TE5.cjs → oauth-B8yqG6Sy.cjs} +5 -5
- package/dist/{oauth-DFsI1TE5.cjs.map → oauth-B8yqG6Sy.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-Bh954iOA.d.ts → project-C2wvX0xZ.d.ts} +2 -2
- package/dist/{project-D25GH8zK.d.cts → project-hePfzUY0.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--t_W9PSJ.cjs → queryService-BVtjkXy1.cjs} +5 -5
- package/dist/{queryService--t_W9PSJ.cjs.map → queryService-BVtjkXy1.cjs.map} +1 -1
- package/dist/{queryService-DX6zeAs_.js → queryService-Ca65E5KH.js} +5 -5
- package/dist/{queryService-DX6zeAs_.js.map → queryService-Ca65E5KH.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-DrLUbk98.js → queue-DyotLFJi.js} +4 -4
- package/dist/{queue-DrLUbk98.js.map → queue-DyotLFJi.js.map} +1 -1
- package/dist/{queue-D1_TCe0z.cjs → queue-OJJUUqc2.cjs} +4 -4
- package/dist/{queue-D1_TCe0z.cjs.map → queue-OJJUUqc2.cjs.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.cjs +1 -1
- package/dist/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -4
- package/dist/sdk/configurations/index.js +1 -1
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.d.cts +3 -3
- package/dist/sdk/developerPortal/index.d.ts +3 -3
- package/dist/sdk/developerPortal/index.js +3 -3
- package/dist/sdk/queryService/index.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 +21 -448
- package/dist/sdk/semanticLayer/index.d.cts +21 -2
- package/dist/sdk/semanticLayer/index.d.ts +21 -2
- package/dist/sdk/semanticLayer/index.js +2 -430
- 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/semanticLayer-CSqmtHRo.js +692 -0
- package/dist/semanticLayer-CSqmtHRo.js.map +1 -0
- package/dist/semanticLayer-E0Vilu8u.cjs +811 -0
- package/dist/semanticLayer-E0Vilu8u.cjs.map +1 -0
- package/dist/{serviceIds-fHLDwOg9.d.ts → serviceIds-DRcoTnSd.d.cts} +2 -1
- package/dist/{serviceIds-fHLDwOg9.d.cts → serviceIds-DRcoTnSd.d.ts} +2 -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 +6 -5
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +6 -6
- package/dist/storage/types.d.cts +3 -3
- package/dist/storage/types.d.ts +3 -3
- package/dist/{storage-DexWot8H.cjs → storage-BKm7cztt.cjs} +6 -6
- package/dist/{storage-DexWot8H.cjs.map → storage-BKm7cztt.cjs.map} +1 -1
- package/dist/{storage--cVaecFq.js → storage-LYwFQPNO.js} +6 -6
- package/dist/{storage--cVaecFq.js.map → storage-LYwFQPNO.js.map} +1 -1
- 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-DQq_A9v6.cjs → syncActions-OEZdVffK.cjs} +6 -6
- package/dist/{syncActions-DQq_A9v6.cjs.map → syncActions-OEZdVffK.cjs.map} +1 -1
- package/dist/{syncActions-CkMHM-jB.js → syncActions-QeBhIVhG.js} +6 -6
- package/dist/{syncActions-CkMHM-jB.js.map → syncActions-QeBhIVhG.js.map} +1 -1
- package/dist/telemetry/index.cjs +38 -2
- package/dist/telemetry/index.cjs.map +1 -0
- package/dist/telemetry/index.d.cts +15 -8
- package/dist/telemetry/index.d.ts +15 -8
- package/dist/telemetry/index.js +37 -1
- package/dist/telemetry/index.js.map +1 -0
- package/dist/telemetry/types.d.cts +2 -2
- package/dist/telemetry/types.d.ts +2 -2
- package/dist/{types-Be3Wgn1U.d.cts → types-3eUgOA7I.d.cts} +2 -2
- package/dist/{types-bY6K3y0O.d.cts → types-52irAt99.d.cts} +2 -2
- package/dist/{types-C2gzqtjf.d.ts → types-B2U9cFcx.d.ts} +2 -2
- package/dist/{types-C35GWNmq.d.ts → types-B3GOGUJ7.d.cts} +753 -45
- package/dist/{types-B42HhyB0.d.cts → types-BEe50G2r.d.cts} +2 -2
- package/dist/{types-6ThDkaJw.d.ts → types-BH5LLeJy.d.ts} +2 -2
- package/dist/{types-CxmV36rp.d.cts → types-BMeDOB_D.d.ts} +753 -45
- package/dist/{types-CPaluTW7.d.cts → types-BOqD3Hqy.d.cts} +3 -3
- package/dist/{types-CHCM9oNk.d.ts → types-BQsOHNI0.d.ts} +3 -3
- package/dist/{types-Cu-0LT4f.d.cts → types-BQvv4RaI.d.cts} +2 -2
- package/dist/{types-ZGAWRIBW.d.ts → types-BTWIPEiU.d.ts} +2 -2
- package/dist/{types-B4_MM5Wf.d.cts → types-BW2BXUB4.d.cts} +2 -2
- package/dist/{types-CSc8NQCY.d.ts → types-BrYkBQo4.d.ts} +2 -2
- package/dist/{types-D7Wgcp0u.d.ts → types-BsxLGDoC.d.cts} +2 -2
- package/dist/{types-CNQdtffE.d.ts → types-BupPADSm.d.ts} +10 -3
- package/dist/{types-B7O5koJb.d.cts → types-Bxhh2SJr.d.ts} +2 -2
- package/dist/{types-DAzmGzlb.d.ts → types-BztF4HeB.d.ts} +2 -2
- package/dist/{types-6ku2LeX6.d.ts → types-C0_2KZ-A.d.ts} +2 -2
- package/dist/{types-BUYqdN7B.d.ts → types-C2vefB4D.d.ts} +17 -4
- package/dist/{types-6hh_3SZs.d.ts → types-CBgLCkYe.d.ts} +3 -3
- package/dist/{types-C_ilZZkQ.d.ts → types-CKiW3n6v.d.ts} +2 -2
- package/dist/{types-sO52qIAA.d.cts → types-COL1kVEB.d.cts} +2 -2
- package/dist/types-CPB-eF82.d.ts +289 -0
- package/dist/{types-Ccgbipp4.d.cts → types-CW6lCqrC.d.cts} +2 -2
- package/dist/{types-BS5M67xm.d.cts → types-CaYtinmA.d.cts} +3 -3
- package/dist/{types-BHI8Lin9.d.ts → types-CcrvrAJX.d.ts} +2 -2
- package/dist/{types-D-98DirB.d.ts → types-Ct0YPy2w.d.ts} +2 -2
- package/dist/{types-Jt0ipbSm.d.cts → types-Cz83RiVu.d.cts} +2 -2
- package/dist/{types-B6JJCta-.d.cts → types-D8Rrz51O.d.cts} +2 -2
- package/dist/{types-3p0adMdd.d.cts → types-DARv_P6O.d.cts} +3 -3
- package/dist/{types-Cpjk0-ta.d.ts → types-DBOSvWtD.d.ts} +2 -2
- package/dist/{types-C4mr0lop.d.ts → types-DEc55spK.d.ts} +13 -4
- package/dist/{types-DqniGeDJ.d.cts → types-DNxOHnZI.d.cts} +2 -2
- package/dist/{types-CrH4H8M4.d.cts → types-DPS8nwkV.d.cts} +2 -2
- package/dist/{types-DTTC70Ac.d.ts → types-DYzJ6K2e.d.ts} +2 -2
- package/dist/{types-CCr1-9Q6.d.cts → types-DZk3XHiN.d.cts} +3 -3
- package/dist/{types-DHqIJKwx.d.ts → types-DajzGOKB.d.ts} +2 -2
- package/dist/{types-DlvZeert.d.ts → types-DfvdbRPL.d.ts} +2 -2
- package/dist/{types-k4R8gQ4U.d.ts → types-DhDNS-5B.d.ts} +21 -3
- package/dist/{types-D6ocCyGh.d.cts → types-DjrRmQUe.d.cts} +13 -4
- package/dist/{types-B6lOyHY_.d.ts → types-Dmu-8g4O.d.ts} +3 -3
- package/dist/{types-BT46XIgn.d.cts → types-DqxIx9Pi.d.cts} +2 -2
- package/dist/{types-BO3sCD0a.d.cts → types-Jw10xuOW.d.cts} +2 -2
- package/dist/{types-sp1rJY9E.d.cts → types-M46WuBSm.d.cts} +2 -2
- package/dist/{types-BOnf68s5.d.cts → types-N3EChotg.d.cts} +2 -2
- package/dist/{types-Ur37iOqb.d.ts → types-OaD-cbbl.d.ts} +3 -3
- package/dist/{types-DHI0g51U.d.cts → types-_RhBCj4_.d.cts} +2 -2
- package/dist/{types-0xa_7cgo.d.cts → types-bGQb4Jtl.d.cts} +21 -3
- package/dist/{types-E3VT-zYz.d.cts → types-f8W_j6qD.d.cts} +10 -3
- package/dist/{types-DONxb2-c.d.cts → types-fX4gbxfV.d.cts} +17 -4
- package/dist/types-g3vU7hcg.d.cts +289 -0
- package/dist/{types-BYKHr5bR.d.ts → types-l9o4gFsI.d.ts} +2 -2
- package/dist/{types-CaMfshWX.d.ts → types-nrviNdzZ.d.ts} +2 -2
- package/dist/{types-BgVKG4vg.d.ts → types-zZBxJ0P-.d.ts} +2 -2
- package/dist/{validateConnectionStatus-24zqIQ0p.cjs → validateConnectionStatus-CsvYmCOI.cjs} +5 -4
- package/dist/validateConnectionStatus-CsvYmCOI.cjs.map +1 -0
- package/dist/{validateConnectionStatus-DhkWg6Eq.js → validateConnectionStatus-olE2sQ3U.js} +5 -4
- package/dist/{validateConnectionStatus-DhkWg6Eq.js.map → validateConnectionStatus-olE2sQ3U.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 +31 -5
- package/surface/billing.md +9 -0
- package/surface/kaiAgent.md +2 -2
- package/surface/management.md +13 -3
- package/surface/telemetry.md +2 -4
- package/dist/ValidationError-CzPWydEb.js.map +0 -1
- package/dist/ValidationError-h5qvwahi.cjs.map +0 -1
- package/dist/configurations-CqwAxiQL.cjs.map +0 -1
- package/dist/configurations-d7SZmw69.js.map +0 -1
- package/dist/constants-ByEwVtGf.js.map +0 -1
- package/dist/constants-lIfSdTzS.cjs.map +0 -1
- package/dist/createFetchClient-DdyZMhxO.js.map +0 -1
- package/dist/management-DGfgKsaA.cjs.map +0 -1
- package/dist/management-DNEKhR6a.js.map +0 -1
- package/dist/sdk/semanticLayer/index.cjs.map +0 -1
- package/dist/sdk/semanticLayer/index.js.map +0 -1
- package/dist/telemetry-CAu1Qt7B.cjs +0 -29
- package/dist/telemetry-CAu1Qt7B.cjs.map +0 -1
- package/dist/telemetry-Ca6j0i9w.js +0 -24
- package/dist/telemetry-Ca6j0i9w.js.map +0 -1
- package/dist/types-lFsTSkhe.d.cts +0 -14
- package/dist/types-lFsTSkhe.d.ts +0 -14
- package/dist/validateConnectionStatus-24zqIQ0p.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { $ as createDerivedStore, A as LegacySession, At as delay, Bt as KeboolaErrorType, C as LogLevel, Ct as poller, D as ResponseLog, Dt as PollResult, E as RequestLog, Et as PollOptions, F as ProjectClients, Ft as collect, G as createMemoryStorage, Gt as SyncActionError, H as createPersistor, Ht as ClientContext, It as coalesce, J as deepMerge, Jt as QueryJobTimeoutError, K as createNullStorage, Kt as isSyncActionError, Lt as TaskFn, M as createKeboola, Mt as ConcurrentOptions, N as KeboolaOptions, Nt as concurrent, O as createLoggingMiddleware, Ot as PollTick, P as KeboolaApi, Pt as CollectOptions, Q as createDerivedAsyncStore, Qt as UserError, Rt as assert, S as Log, St as poll, T as LoggingOptions, Tt as PollKey, U as StorageAdapter, Ut as isStorageTokenMutatingRequest, V as Persistor, Vt as isKeboolaError, W as createLocalStorage, X as isPlainObject, Xt as QueryJobError, Y as isEmptyDeep, Yt as isQueryJobTimeoutError, Z as AsyncState, Zt as isQueryJobError, _t as Poller, at as Failure, b as RetryOptions, bt as emitter, ct as asError, dt as PollRegistry, et as shallowEqual, ft as createPollRegistry, gt as PollTask, h as createStorageSdk, ht as PollState, i as createQueryServiceSdk, it as generateUUID, j as createLegacyKeboola, jt as dedupe, k as BearerSession, kt as lazy, lt as series, mt as PollSnapshot, nt as Store, ot as Result, pt as ObservedPoller, q as createSessionStorage, qt as ServiceUnavailableError, rt as createStore, st as Success, tt as ReadableStore, ut as PollEntry, v as jobStatus, vt as PollerStartFn, w as Logger, wt as PollContext, x as createRetryMiddleware, xt as failureOf, y as KeboolaHttpHeader, yt as PollerStopFn, zt as KeboolaError } from "./index-
|
|
3
|
-
import { r as AuthStrategy, t as BaseClientOptions } from "./types-
|
|
4
|
-
import { n as parseLogLines } from "./appLogs-
|
|
5
|
-
import { t as isManagementClientAuthError } from "./index-
|
|
1
|
+
import { C as HtmlResponseError, D as MiddlewareFn, S as ManagementClientAuthError, _ as isTimeoutError, b as isValidationError, d as HttpContentType, f as HttpHeader, g as isFetchClientError, h as isApiError, k as ApiError, m as isAbortError, p as FetchClientError, u as createGenericFetchClient, v as ValidationError, w as isHtmlResponseError, x as parseOrThrow, y as formatValidationIssues } from "./index-V7XKUQm9.cjs";
|
|
2
|
+
import { $ as createDerivedStore, A as LegacySession, At as delay, Bt as KeboolaErrorType, C as LogLevel, Ct as poller, D as ResponseLog, Dt as PollResult, E as RequestLog, Et as PollOptions, F as ProjectClients, Ft as collect, G as createMemoryStorage, Gt as SyncActionError, H as createPersistor, Ht as ClientContext, It as coalesce, J as deepMerge, Jt as QueryJobTimeoutError, K as createNullStorage, Kt as isSyncActionError, Lt as TaskFn, M as createKeboola, Mt as ConcurrentOptions, N as KeboolaOptions, Nt as concurrent, O as createLoggingMiddleware, Ot as PollTick, P as KeboolaApi, Pt as CollectOptions, Q as createDerivedAsyncStore, Qt as UserError, Rt as assert, S as Log, St as poll, T as LoggingOptions, Tt as PollKey, U as StorageAdapter, Ut as isStorageTokenMutatingRequest, V as Persistor, Vt as isKeboolaError, W as createLocalStorage, X as isPlainObject, Xt as QueryJobError, Y as isEmptyDeep, Yt as isQueryJobTimeoutError, Z as AsyncState, Zt as isQueryJobError, _t as Poller, at as Failure, b as RetryOptions, bt as emitter, ct as asError, dt as PollRegistry, et as shallowEqual, ft as createPollRegistry, gt as PollTask, h as createStorageSdk, ht as PollState, i as createQueryServiceSdk, it as generateUUID, j as createLegacyKeboola, jt as dedupe, k as BearerSession, kt as lazy, lt as series, mt as PollSnapshot, nt as Store, ot as Result, pt as ObservedPoller, q as createSessionStorage, qt as ServiceUnavailableError, rt as createStore, st as Success, tt as ReadableStore, ut as PollEntry, v as jobStatus, vt as PollerStartFn, w as Logger, wt as PollContext, x as createRetryMiddleware, xt as failureOf, y as KeboolaHttpHeader, yt as PollerStopFn, zt as KeboolaError } from "./index-BLx14ZI4.cjs";
|
|
3
|
+
import { r as AuthStrategy, t as BaseClientOptions } from "./types-_RhBCj4_.cjs";
|
|
4
|
+
import { n as parseLogLines } from "./appLogs-D5A13Y0y.cjs";
|
|
5
|
+
import { t as isManagementClientAuthError } from "./index-Dodwl64k.cjs";
|
|
6
6
|
import { r as createEmitter, t as Emitter } from "./emitter-dLF1Fyfg.cjs";
|
|
7
7
|
import { n as KeboolaObjectId, r as keboolaUID, t as schemaGuidedMerge } from "./index-NC1dXRTD.cjs";
|
|
8
|
-
export { ApiError, type AsyncState, type AuthStrategy, type BaseClientOptions, BearerSession, type ClientContext, CollectOptions, ConcurrentOptions, type Emitter, Failure, type FetchClientError, HtmlResponseError, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, LegacySession, Log, LogLevel, Logger, LoggingOptions, ManagementClientAuthError, MiddlewareFn, ObservedPoller, Persistor, type PollContext, PollEntry, type PollKey, type PollOptions, PollRegistry, type PollResult, PollSnapshot, PollState, PollTask, type PollTick, Poller, PollerStartFn, PollerStopFn, type ProjectClients, QueryJobError, QueryJobTimeoutError, type ReadableStore, RequestLog, ResponseLog, Result, RetryOptions, ServiceUnavailableError, type StorageAdapter, type Store, Success, SyncActionError, TaskFn, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isTimeoutError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
|
8
|
+
export { ApiError, type AsyncState, type AuthStrategy, type BaseClientOptions, BearerSession, type ClientContext, CollectOptions, ConcurrentOptions, type Emitter, Failure, type FetchClientError, HtmlResponseError, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, LegacySession, Log, LogLevel, Logger, LoggingOptions, ManagementClientAuthError, MiddlewareFn, ObservedPoller, Persistor, type PollContext, PollEntry, type PollKey, type PollOptions, PollRegistry, type PollResult, PollSnapshot, PollState, PollTask, type PollTick, Poller, PollerStartFn, PollerStopFn, type ProjectClients, QueryJobError, QueryJobTimeoutError, type ReadableStore, RequestLog, ResponseLog, Result, RetryOptions, ServiceUnavailableError, type StorageAdapter, type Store, Success, SyncActionError, TaskFn, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, formatValidationIssues, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isTimeoutError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { $ as createDerivedStore, A as LegacySession, At as delay, Bt as KeboolaErrorType, C as LogLevel, Ct as poller, D as ResponseLog, Dt as PollResult, E as RequestLog, Et as PollOptions, F as ProjectClients, Ft as collect, G as createMemoryStorage, Gt as SyncActionError, H as createPersistor, Ht as ClientContext, It as coalesce, J as deepMerge, Jt as QueryJobTimeoutError, K as createNullStorage, Kt as isSyncActionError, Lt as TaskFn, M as createKeboola, Mt as ConcurrentOptions, N as KeboolaOptions, Nt as concurrent, O as createLoggingMiddleware, Ot as PollTick, P as KeboolaApi, Pt as CollectOptions, Q as createDerivedAsyncStore, Qt as UserError, Rt as assert, S as Log, St as poll, T as LoggingOptions, Tt as PollKey, U as StorageAdapter, Ut as isStorageTokenMutatingRequest, V as Persistor, Vt as isKeboolaError, W as createLocalStorage, X as isPlainObject, Xt as QueryJobError, Y as isEmptyDeep, Yt as isQueryJobTimeoutError, Z as AsyncState, Zt as isQueryJobError, _t as Poller, at as Failure, b as RetryOptions, bt as emitter, ct as asError, dt as PollRegistry, et as shallowEqual, ft as createPollRegistry, gt as PollTask, h as createStorageSdk, ht as PollState, i as createQueryServiceSdk, it as generateUUID, j as createLegacyKeboola, jt as dedupe, k as BearerSession, kt as lazy, lt as series, mt as PollSnapshot, nt as Store, ot as Result, pt as ObservedPoller, q as createSessionStorage, qt as ServiceUnavailableError, rt as createStore, st as Success, tt as ReadableStore, ut as PollEntry, v as jobStatus, vt as PollerStartFn, w as Logger, wt as PollContext, x as createRetryMiddleware, xt as failureOf, y as KeboolaHttpHeader, yt as PollerStopFn, zt as KeboolaError } from "./index-
|
|
3
|
-
import { r as AuthStrategy, t as BaseClientOptions } from "./types-
|
|
4
|
-
import { n as parseLogLines } from "./appLogs-
|
|
5
|
-
import { t as isManagementClientAuthError } from "./index-
|
|
1
|
+
import { C as HtmlResponseError, D as MiddlewareFn, S as ManagementClientAuthError, _ as isTimeoutError, b as isValidationError, d as HttpContentType, f as HttpHeader, g as isFetchClientError, h as isApiError, k as ApiError, m as isAbortError, p as FetchClientError, u as createGenericFetchClient, v as ValidationError, w as isHtmlResponseError, x as parseOrThrow, y as formatValidationIssues } from "./index-KuQ79Mnz.js";
|
|
2
|
+
import { $ as createDerivedStore, A as LegacySession, At as delay, Bt as KeboolaErrorType, C as LogLevel, Ct as poller, D as ResponseLog, Dt as PollResult, E as RequestLog, Et as PollOptions, F as ProjectClients, Ft as collect, G as createMemoryStorage, Gt as SyncActionError, H as createPersistor, Ht as ClientContext, It as coalesce, J as deepMerge, Jt as QueryJobTimeoutError, K as createNullStorage, Kt as isSyncActionError, Lt as TaskFn, M as createKeboola, Mt as ConcurrentOptions, N as KeboolaOptions, Nt as concurrent, O as createLoggingMiddleware, Ot as PollTick, P as KeboolaApi, Pt as CollectOptions, Q as createDerivedAsyncStore, Qt as UserError, Rt as assert, S as Log, St as poll, T as LoggingOptions, Tt as PollKey, U as StorageAdapter, Ut as isStorageTokenMutatingRequest, V as Persistor, Vt as isKeboolaError, W as createLocalStorage, X as isPlainObject, Xt as QueryJobError, Y as isEmptyDeep, Yt as isQueryJobTimeoutError, Z as AsyncState, Zt as isQueryJobError, _t as Poller, at as Failure, b as RetryOptions, bt as emitter, ct as asError, dt as PollRegistry, et as shallowEqual, ft as createPollRegistry, gt as PollTask, h as createStorageSdk, ht as PollState, i as createQueryServiceSdk, it as generateUUID, j as createLegacyKeboola, jt as dedupe, k as BearerSession, kt as lazy, lt as series, mt as PollSnapshot, nt as Store, ot as Result, pt as ObservedPoller, q as createSessionStorage, qt as ServiceUnavailableError, rt as createStore, st as Success, tt as ReadableStore, ut as PollEntry, v as jobStatus, vt as PollerStartFn, w as Logger, wt as PollContext, x as createRetryMiddleware, xt as failureOf, y as KeboolaHttpHeader, yt as PollerStopFn, zt as KeboolaError } from "./index-DFBFa3SS.js";
|
|
3
|
+
import { r as AuthStrategy, t as BaseClientOptions } from "./types-Ct0YPy2w.js";
|
|
4
|
+
import { n as parseLogLines } from "./appLogs-Ch7DYpzx.js";
|
|
5
|
+
import { t as isManagementClientAuthError } from "./index-P-iT5THa.js";
|
|
6
6
|
import { r as createEmitter, t as Emitter } from "./emitter-dLF1Fyfg.js";
|
|
7
7
|
import { n as KeboolaObjectId, r as keboolaUID, t as schemaGuidedMerge } from "./index-NC1dXRTD.js";
|
|
8
|
-
export { ApiError, type AsyncState, type AuthStrategy, type BaseClientOptions, BearerSession, type ClientContext, CollectOptions, ConcurrentOptions, type Emitter, Failure, type FetchClientError, HtmlResponseError, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, LegacySession, Log, LogLevel, Logger, LoggingOptions, ManagementClientAuthError, MiddlewareFn, ObservedPoller, Persistor, type PollContext, PollEntry, type PollKey, type PollOptions, PollRegistry, type PollResult, PollSnapshot, PollState, PollTask, type PollTick, Poller, PollerStartFn, PollerStopFn, type ProjectClients, QueryJobError, QueryJobTimeoutError, type ReadableStore, RequestLog, ResponseLog, Result, RetryOptions, ServiceUnavailableError, type StorageAdapter, type Store, Success, SyncActionError, TaskFn, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isTimeoutError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
|
8
|
+
export { ApiError, type AsyncState, type AuthStrategy, type BaseClientOptions, BearerSession, type ClientContext, CollectOptions, ConcurrentOptions, type Emitter, Failure, type FetchClientError, HtmlResponseError, HttpContentType, HttpHeader, type KeboolaApi, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, KeboolaObjectId, type KeboolaOptions, LegacySession, Log, LogLevel, Logger, LoggingOptions, ManagementClientAuthError, MiddlewareFn, ObservedPoller, Persistor, type PollContext, PollEntry, type PollKey, type PollOptions, PollRegistry, type PollResult, PollSnapshot, PollState, PollTask, type PollTick, Poller, PollerStartFn, PollerStopFn, type ProjectClients, QueryJobError, QueryJobTimeoutError, type ReadableStore, RequestLog, ResponseLog, Result, RetryOptions, ServiceUnavailableError, type StorageAdapter, type Store, Success, SyncActionError, TaskFn, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, formatValidationIssues, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isTimeoutError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
package/dist/index.js
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
import { t as createProject } from "./project-DWwZv66D.js";
|
|
2
2
|
import { a as poller, c as Result, d as delay, i as poll, l as asError, n as emitter, o as clamp, r as failureOf, s as finiteOr, t as jobStatus, u as lazy } from "./jobStatus-PSZJMTiA.js";
|
|
3
|
-
import { n as collect, t as createQueueClient } from "./queue-
|
|
3
|
+
import { n as collect, t as createQueueClient } from "./queue-DyotLFJi.js";
|
|
4
4
|
import { t as concurrent } from "./concurrent-CH9fbNr3.js";
|
|
5
5
|
import { t as dedupe } from "./dedupe-DYIHgZoG.js";
|
|
6
6
|
import { n as createEmitter, t as createStore } from "./store-C9FQCHGe.js";
|
|
7
|
-
import { a as series, i as ServiceUnavailableError, t as createStorageClient } from "./storage
|
|
7
|
+
import { a as series, i as ServiceUnavailableError, t as createStorageClient } from "./storage-LYwFQPNO.js";
|
|
8
8
|
import { n as keboolaUID, t as createTagSdk } from "./tag-DCsoewjL.js";
|
|
9
9
|
import { t as generateUUID } from "./generateUUID-Dr8l-aoc.js";
|
|
10
10
|
import { t as isPlainObject } from "./isPlainObject-LYW-03uB.js";
|
|
11
|
-
import { n as schemaGuidedMerge, r as isEmptyDeep, t as createConfigurationSdk } from "./configurations-
|
|
11
|
+
import { n as schemaGuidedMerge, r as isEmptyDeep, t as createConfigurationSdk } from "./configurations-VtNE0nrT.js";
|
|
12
12
|
import { t as UserError } from "./UserError-By_Zckmc.js";
|
|
13
|
-
import { a as isTimeoutError,
|
|
14
|
-
import { n as HtmlResponseError, r as isHtmlResponseError } from "./validateConnectionStatus-
|
|
15
|
-
import { t as ManagementClientAuthError } from "./ManagementClientAuthError-
|
|
13
|
+
import { a as isTimeoutError, d as normalizeBaseUrl, g as ApiError, h as KeboolaHttpHeader, i as isFetchClientError, m as HttpStatus, n as isAbortError, o as HttpContentType, r as isApiError, s as HttpHeader } from "./createFetchClient-U-ZrwPl2.js";
|
|
14
|
+
import { n as HtmlResponseError, r as isHtmlResponseError } from "./validateConnectionStatus-olE2sQ3U.js";
|
|
15
|
+
import { t as ManagementClientAuthError } from "./ManagementClientAuthError-ey-f03vy.js";
|
|
16
16
|
import { i as isQueryJobError, n as isQueryJobTimeoutError, r as QueryJobError, t as QueryJobTimeoutError } from "./QueryJobTimeoutError-C7JbNGOM.js";
|
|
17
17
|
import { n as isSyncActionError, t as SyncActionError } from "./SyncActionError-CoZFsdUk.js";
|
|
18
|
-
import { n as
|
|
19
|
-
import { t as createGenericFetchClient } from "./createGenericFetchClient-
|
|
20
|
-
import { t as createImportClient } from "./import-
|
|
21
|
-
import { t as createAuthClient } from "./authClient-
|
|
22
|
-
import { n as isManagementClientAuthError, t as createManagementClient } from "./management-
|
|
23
|
-
import { s as ProjectFeature } from "./constants-
|
|
18
|
+
import { i as parseOrThrow, n as formatValidationIssues, r as isValidationError, t as ValidationError } from "./ValidationError-BekhphAq.js";
|
|
19
|
+
import { t as createGenericFetchClient } from "./createGenericFetchClient-rxvUUbap.js";
|
|
20
|
+
import { t as createImportClient } from "./import-CROEK82b.js";
|
|
21
|
+
import { t as createAuthClient } from "./authClient-D7W9vWPR.js";
|
|
22
|
+
import { n as isManagementClientAuthError, t as createManagementClient } from "./management-Bp440RsV.js";
|
|
23
|
+
import { s as ProjectFeature } from "./constants-wfbFsqqN.js";
|
|
24
24
|
import { t as createStorageTable } from "./storageTable-DslXtqNL.js";
|
|
25
|
-
import { createSemanticLayerSdk } from "./
|
|
25
|
+
import { a as createSemanticLayerSdk } from "./semanticLayer-CSqmtHRo.js";
|
|
26
26
|
import { createStorageSdk } from "./sdk/storage/index.js";
|
|
27
27
|
import { createVaultSdk } from "./sdk/vault/index.js";
|
|
28
28
|
import { createAiClient } from "./ai/index.js";
|
|
29
|
-
import { t as parseLogLines } from "./appLogs-
|
|
29
|
+
import { t as parseLogLines } from "./appLogs-xsVkTriU.js";
|
|
30
30
|
import { createAppsClient } from "./apps/index.js";
|
|
31
|
+
import { createBillingClient } from "./billing/index.js";
|
|
31
32
|
import { createChatClient } from "./chat/index.js";
|
|
32
|
-
import { t as createDataScienceClient } from "./dataScience-
|
|
33
|
+
import { t as createDataScienceClient } from "./dataScience-C1gO5zUn.js";
|
|
33
34
|
import { createEditorClient } from "./editor/index.js";
|
|
34
35
|
import { createEncryptionClient } from "./encryption/index.js";
|
|
35
|
-
import { t as createKaiAgentClient } from "./kaiAgent-
|
|
36
|
-
import { t as createMetastoreClient } from "./metastore-
|
|
36
|
+
import { t as createKaiAgentClient } from "./kaiAgent-8LNzGhZc.js";
|
|
37
|
+
import { t as createMetastoreClient } from "./metastore-VCDRVhUT.js";
|
|
37
38
|
import { createNotificationsClient } from "./notifications/index.js";
|
|
38
|
-
import { t as createOauthClient } from "./oauth
|
|
39
|
+
import { t as createOauthClient } from "./oauth--asfePw-.js";
|
|
39
40
|
import { createOmnisearchClient } from "./omnisearch/index.js";
|
|
40
|
-
import { t as createQueryServiceClient } from "./queryService-
|
|
41
|
+
import { t as createQueryServiceClient } from "./queryService-Ca65E5KH.js";
|
|
41
42
|
import { createSchedulerClient } from "./scheduler/index.js";
|
|
42
43
|
import { createStreamClient } from "./stream/index.js";
|
|
43
|
-
import { t as createSyncActionsClient } from "./syncActions-
|
|
44
|
-
import {
|
|
44
|
+
import { t as createSyncActionsClient } from "./syncActions-QeBhIVhG.js";
|
|
45
|
+
import { createTelemetryClient } from "./telemetry/index.js";
|
|
45
46
|
import { createVaultClient } from "./vault/index.js";
|
|
46
|
-
import { n as isUnauthorized, t as createBearerCredential } from "./credential-
|
|
47
|
+
import { n as isUnauthorized, t as createBearerCredential } from "./credential-CihSf_xs.js";
|
|
47
48
|
import { createQueryServiceSdk } from "./sdk/queryService/index.js";
|
|
48
49
|
import * as z$1 from "zod";
|
|
49
50
|
//#region src/utils/assert.ts
|
|
@@ -1123,6 +1124,14 @@ const createServiceClients = ({ baseUrl, auth, getServiceBaseUrl, middlewareFor,
|
|
|
1123
1124
|
middlewares: middlewareFor("notifications", [attachTokenMiddleware]),
|
|
1124
1125
|
auth
|
|
1125
1126
|
})
|
|
1127
|
+
}).add({
|
|
1128
|
+
serviceId: "billing",
|
|
1129
|
+
clientName: "billing",
|
|
1130
|
+
clientFn: (serviceBaseUrl) => createBillingClient({
|
|
1131
|
+
baseUrl: serviceBaseUrl,
|
|
1132
|
+
middlewares: middlewareFor("billing", [attachTokenMiddleware]),
|
|
1133
|
+
auth
|
|
1134
|
+
})
|
|
1126
1135
|
}).add({
|
|
1127
1136
|
serviceId: "metastore",
|
|
1128
1137
|
clientName: "metastore",
|
|
@@ -1325,6 +1334,20 @@ const createKeboola = (options = {}) => {
|
|
|
1325
1334
|
};
|
|
1326
1335
|
};
|
|
1327
1336
|
/**
|
|
1337
|
+
* The session's state, once it is known to carry a credential.
|
|
1338
|
+
*
|
|
1339
|
+
* - Returns the state rather than nothing, so the caller reads `baseUrl` and `credential` off a
|
|
1340
|
+
* narrowed union instead of re-checking the status to get at them.
|
|
1341
|
+
* - `NotAuthenticated`, the same refusal `requireScopedProject` opens with. The two differ only in
|
|
1342
|
+
* how far they go: this one stops at "somebody is signed in", which is all a request naming its
|
|
1343
|
+
* own project needs.
|
|
1344
|
+
*/
|
|
1345
|
+
const requireAuthenticated = () => {
|
|
1346
|
+
const state = config.store.get();
|
|
1347
|
+
if (state.status === "anonymous") throw new KeboolaError(KeboolaErrorType.NotAuthenticated);
|
|
1348
|
+
return state;
|
|
1349
|
+
};
|
|
1350
|
+
/**
|
|
1328
1351
|
* The project this session is scoped to, right now.
|
|
1329
1352
|
*
|
|
1330
1353
|
* - Read at every point that stamps a project, never snapshotted across an `await`: the scope moves
|
|
@@ -1335,8 +1358,7 @@ const createKeboola = (options = {}) => {
|
|
|
1335
1358
|
* reads the project from the header, not the token, and cannot attribute a call that omits it.
|
|
1336
1359
|
*/
|
|
1337
1360
|
const requireScopedProject = () => {
|
|
1338
|
-
const state =
|
|
1339
|
-
if (state.status === "anonymous") throw new KeboolaError(KeboolaErrorType.NotAuthenticated);
|
|
1361
|
+
const state = requireAuthenticated();
|
|
1340
1362
|
if (state.status !== "scoped") throw new KeboolaError(KeboolaErrorType.NotReady);
|
|
1341
1363
|
return state.projectId;
|
|
1342
1364
|
};
|
|
@@ -1464,8 +1486,7 @@ const createKeboola = (options = {}) => {
|
|
|
1464
1486
|
}
|
|
1465
1487
|
});
|
|
1466
1488
|
const forProject = async (projectId) => {
|
|
1467
|
-
const state =
|
|
1468
|
-
if (state.status === "anonymous") throw new KeboolaError(KeboolaErrorType.NotAuthenticated);
|
|
1489
|
+
const state = requireAuthenticated();
|
|
1469
1490
|
const cached = extraProjects.get(projectId);
|
|
1470
1491
|
if (cached) return cached();
|
|
1471
1492
|
const { assertSameSession, pinnedAuthMiddleware } = pinToSession({ expiresSession: false });
|
|
@@ -1545,24 +1566,42 @@ const createKeboola = (options = {}) => {
|
|
|
1545
1566
|
* string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
|
|
1546
1567
|
* - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
|
|
1547
1568
|
* one is never re-sent. A snapshot held by the caller would do neither.
|
|
1548
|
-
* - Throws rather than emitting a half-formed `Bearer null`:
|
|
1549
|
-
*
|
|
1569
|
+
* - Throws rather than emitting a half-formed `Bearer null`: a session with no credential has
|
|
1570
|
+
* nothing to authorize with.
|
|
1550
1571
|
* - Pinned to the sign-in it was called on, like every client here. This is the one
|
|
1551
1572
|
* credential-emitting surface with no middleware chain for the guard to sit in, so the check
|
|
1552
1573
|
* is written out around the `await` that rotates the token.
|
|
1553
|
-
*
|
|
1554
|
-
*
|
|
1574
|
+
*
|
|
1575
|
+
* `projectId` names the project the headers authorize, for a caller reaching a project the
|
|
1576
|
+
* session is not scoped to:
|
|
1577
|
+
*
|
|
1578
|
+
* - **Omitted**, the session's own scope answers — unchanged, and re-read *after* the rotation
|
|
1579
|
+
* rather than carried across it. The epoch the pin compares moves on a sign-in and a sign-out
|
|
1580
|
+
* only, so a project switch mid-rotation is invisible to it.
|
|
1581
|
+
* - **Given**, it is what the header says, and the scope is not consulted at all. A caller that
|
|
1582
|
+
* names a project has said everything the request needs: the credential is user-level and the
|
|
1583
|
+
* project is a header on top of it, so an authenticated session suffices where an unnamed call
|
|
1584
|
+
* requires a scoped one. Nothing about the session can change the answer, so there is nothing
|
|
1585
|
+
* to re-read after the `await`.
|
|
1586
|
+
* - **Not checked against an access set**, because this session cannot acquire one:
|
|
1587
|
+
* `forProject` — the only other surface taking a caller-supplied project id — records that
|
|
1588
|
+
* connection collapses every bearer failure into a single `invalid_token` 401, so "no access
|
|
1589
|
+
* to this project" and "revoked token" are the same response. Whether the caller may reach a
|
|
1590
|
+
* project is the caller's own knowledge, from `token.introspect`. What is guaranteed here is
|
|
1591
|
+
* that the header names what was asked for and never something else — which is the failure
|
|
1592
|
+
* worth preventing: a turn sent somewhere the transcript above it did not come from.
|
|
1555
1593
|
*/
|
|
1556
|
-
getAuthHeaders: async () => {
|
|
1594
|
+
getAuthHeaders: async (projectId) => {
|
|
1557
1595
|
const { assertSameSession } = pinToSession();
|
|
1558
|
-
requireScopedProject();
|
|
1596
|
+
if (projectId === void 0) requireScopedProject();
|
|
1597
|
+
else requireAuthenticated();
|
|
1559
1598
|
const accessToken = await credential.getAccessToken();
|
|
1560
1599
|
assertSameSession();
|
|
1561
|
-
const
|
|
1600
|
+
const authorizedProjectId = projectId ?? requireScopedProject();
|
|
1562
1601
|
assert$1(accessToken, KeboolaErrorType.NotAuthenticated);
|
|
1563
1602
|
return {
|
|
1564
1603
|
[HttpHeader.AUTHORIZATION]: `Bearer ${accessToken}`,
|
|
1565
|
-
[KeboolaHttpHeader.PROJECT_ID]: String(
|
|
1604
|
+
[KeboolaHttpHeader.PROJECT_ID]: String(authorizedProjectId)
|
|
1566
1605
|
};
|
|
1567
1606
|
},
|
|
1568
1607
|
restore: async () => {
|
|
@@ -1824,6 +1863,6 @@ const createLegacyKeboola = (options = {}) => {
|
|
|
1824
1863
|
};
|
|
1825
1864
|
};
|
|
1826
1865
|
//#endregion
|
|
1827
|
-
export { ApiError, HtmlResponseError, HttpContentType, HttpHeader, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, Result, ServiceUnavailableError, SyncActionError, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isTimeoutError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
|
1866
|
+
export { ApiError, HtmlResponseError, HttpContentType, HttpHeader, KeboolaError, KeboolaErrorType, KeboolaHttpHeader, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, Result, ServiceUnavailableError, SyncActionError, UserError, ValidationError, asError, assert, coalesce, collect, concurrent, createDerivedAsyncStore, createDerivedStore, createEmitter, createGenericFetchClient, createKeboola, createLegacyKeboola, createLocalStorage, createLoggingMiddleware, createMemoryStorage, createNullStorage, createPersistor, createPollRegistry, createQueryServiceSdk, createRetryMiddleware, createSessionStorage, createStorageSdk, createStore, dedupe, deepMerge, delay, emitter, failureOf, formatValidationIssues, generateUUID, isAbortError, isApiError, isEmptyDeep, isFetchClientError, isHtmlResponseError, isKeboolaError, isManagementClientAuthError, isPlainObject, isQueryJobError, isQueryJobTimeoutError, isStorageTokenMutatingRequest, isSyncActionError, isTimeoutError, isValidationError, jobStatus, keboolaUID, lazy, parseLogLines, parseOrThrow, poll, poller, schemaGuidedMerge, series, shallowEqual };
|
|
1828
1867
|
|
|
1829
1868
|
//# sourceMappingURL=index.js.map
|