@keboola/api-client 47.0.0 → 48.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 +9 -3
- package/API-SURFACE.md +4 -2
- package/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/dist/{adminRoles-DGM8SuuF.d.cts → adminRoles-BgpaBE7h.d.cts} +2 -2
- package/dist/{adminRoles-CvdIUkiC.d.ts → adminRoles-DsoGQipO.d.ts} +2 -2
- package/dist/ai/index.cjs +0 -5
- package/dist/ai/index.cjs.map +1 -1
- package/dist/ai/index.d.cts +2 -3
- package/dist/ai/index.d.ts +2 -3
- package/dist/ai/index.js +0 -5
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/types.d.cts +2 -2
- package/dist/ai/types.d.ts +2 -2
- package/dist/{appLogs-xW0-JQXg.d.ts → appLogs-DpcqeOe5.d.ts} +2 -2
- package/dist/{appLogs-Cxhm2Rkn.d.cts → appLogs-SjrflOHk.d.cts} +2 -2
- package/dist/apps/index.cjs +2 -2
- package/dist/apps/index.cjs.map +1 -1
- package/dist/apps/index.d.cts +3 -3
- package/dist/apps/index.d.ts +3 -3
- package/dist/apps/index.js +2 -2
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/types.d.cts +1 -1
- package/dist/auth/types.d.ts +1 -1
- package/dist/{authClient-Bso5UaXS.d.ts → authClient-BYIGzL_u.d.ts} +4 -4
- package/dist/{authClient-aud2dUZd.d.cts → authClient-D06srBQE.d.cts} +4 -4
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/types.d.cts +1 -1
- package/dist/billing/types.d.ts +1 -1
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/componentsMcp/index.d.cts +1 -1
- package/dist/componentsMcp/index.d.ts +1 -1
- package/dist/componentsMcp/types.d.cts +1 -1
- package/dist/componentsMcp/types.d.ts +1 -1
- package/dist/{configurations-D_Rbs0Wl.cjs → configurations-B2O8AAy0.cjs} +2 -2
- package/dist/{configurations-D_Rbs0Wl.cjs.map → configurations-B2O8AAy0.cjs.map} +1 -1
- package/dist/{configurations-Chg_JwJ1.js → configurations-CL0ouUMa.js} +3 -3
- package/dist/configurations-CL0ouUMa.js.map +1 -0
- package/dist/{configurations-BTRHVSRq.cjs → configurations-D9J3jh3g.cjs} +3 -3
- package/dist/configurations-D9J3jh3g.cjs.map +1 -0
- package/dist/{configurations-DcpUlC8I.js → configurations-DKINmjA3.js} +2 -2
- package/dist/{configurations-DcpUlC8I.js.map → configurations-DKINmjA3.js.map} +1 -1
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/domain/permissions/index.cjs +1 -1
- package/dist/domain/permissions/index.d.cts +2 -2
- package/dist/domain/permissions/index.d.ts +2 -2
- package/dist/domain/permissions/index.js +1 -1
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/{index-CAWy1qjR.d.ts → index-B3QTeqfL.d.ts} +300 -140
- package/dist/{index-Ds0tViQS.d.cts → index-BCjU-g9t.d.cts} +3 -3
- package/dist/{index-BGEuaZqI.d.cts → index-BHiJu8LF.d.cts} +9 -4
- package/dist/{index-BeOd45XE.d.ts → index-BIldED4N.d.ts} +4 -4
- package/dist/{index-B_MzjCeE.d.ts → index-BLvmyehw.d.ts} +3 -3
- package/dist/{index-DloFSSj3.d.ts → index-BTrxCk90.d.ts} +3 -3
- package/dist/{index-x_kS_5x_.d.cts → index-ByLCYBaw.d.cts} +4 -4
- package/dist/{index-CkwZ5x7E.d.cts → index-C40Fbj-6.d.cts} +300 -140
- package/dist/{index-Dp-a2DdI.d.ts → index-CIqWOEWD.d.ts} +4 -4
- package/dist/{index-DTysQ_yn.d.cts → index-Cc5wSIRJ.d.cts} +5 -5
- package/dist/{index-XaPb6unB.d.cts → index-ChDl6ig5.d.cts} +256 -33
- package/dist/{index-URgNfi5L.d.cts → index-Co2Cd-nw.d.cts} +3 -3
- package/dist/{index-DUB0BwQv.d.cts → index-CpGmmJbt.d.cts} +4 -4
- package/dist/{index-ZYvgoqgW.d.cts → index-CpUYVB-d.d.cts} +4 -4
- package/dist/{index-BnPmXDVP.d.ts → index-CzHrIfZS.d.ts} +2 -2
- package/dist/{index-XG5cO-4H.d.cts → index-D91RxB_S.d.cts} +18 -13
- package/dist/{index-_Va9wynk.d.ts → index-DlZiWfQb.d.ts} +9 -4
- package/dist/{index-HSkjm3QW.d.ts → index-DzLXtE4Q.d.ts} +5 -5
- package/dist/{index-8ZjY7YD8.d.cts → index-VlzlOBkc.d.cts} +2 -2
- package/dist/{index-BIP0PoMW.d.ts → index-avzO5sLa.d.ts} +18 -13
- package/dist/{index-C2OAOK0s.d.ts → index-m7fX76x3.d.ts} +4 -4
- package/dist/{index-r6YSe8B-.d.ts → index-sDHBkJhU.d.ts} +256 -33
- package/dist/index.cjs +451 -256
- 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 +451 -257
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +3 -3
- package/dist/kaiAgent/index.d.ts +3 -3
- 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-CBPbMwBh.js → kaiAgent-CYvrS8oZ.js} +12 -3
- package/dist/kaiAgent-CYvrS8oZ.js.map +1 -0
- package/dist/{kaiAgent-BmfUG8bB.cjs → kaiAgent-N2qbUFZm.cjs} +12 -3
- package/dist/kaiAgent-N2qbUFZm.cjs.map +1 -0
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-BUGPJ1Bu.cjs → management-CXHnxVaZ.cjs} +12 -5
- package/dist/management-CXHnxVaZ.cjs.map +1 -0
- package/dist/{management-DAg2obYt.js → management-NYAD6ej4.js} +12 -5
- package/dist/management-NYAD6ej4.js.map +1 -0
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/microsoftGraph/index.d.cts +2 -2
- package/dist/microsoftGraph/index.d.ts +2 -2
- package/dist/microsoftGraph/types.d.cts +1 -1
- package/dist/microsoftGraph/types.d.ts +1 -1
- package/dist/{middleware-DU_5pFDW.cjs → middleware-CEP6uu_D.cjs} +4 -4
- package/dist/middleware-CEP6uu_D.cjs.map +1 -0
- package/dist/{middleware-CWaLMlG1.js → middleware-GOfx8Apu.js} +4 -4
- package/dist/middleware-GOfx8Apu.js.map +1 -0
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-dxCJbFay.d.cts → project-Dzu85cqr.d.cts} +3 -3
- package/dist/{project-BMmfPhXg.d.ts → project-nbv9yjpl.d.ts} +3 -3
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/queue/index.d.cts +3 -3
- package/dist/queue/index.d.ts +3 -3
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +1 -1
- package/dist/sdk/configurations/index.d.cts +2 -2
- package/dist/sdk/configurations/index.d.ts +2 -2
- package/dist/sdk/configurations/index.js +1 -1
- package/dist/sdk/developerPortal/index.cjs +1 -1
- package/dist/sdk/developerPortal/index.d.cts +3 -3
- package/dist/sdk/developerPortal/index.d.ts +3 -3
- package/dist/sdk/developerPortal/index.js +1 -1
- package/dist/sdk/kaiMemory/index.d.cts +1 -1
- package/dist/sdk/kaiMemory/index.d.ts +1 -1
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +1 -1
- package/dist/sdk/semanticLayer/index.d.ts +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/tag/index.d.cts +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.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +1 -1
- package/dist/storage/types.d.cts +6 -6
- package/dist/storage/types.d.ts +6 -6
- package/dist/{storage-DyR7hDdv.js → storage-BR-Kgi-6.js} +7 -2
- package/dist/storage-BR-Kgi-6.js.map +1 -0
- package/dist/{storage-yovv11k6.cjs → storage-CVBXivpB.cjs} +7 -2
- package/dist/storage-CVBXivpB.cjs.map +1 -0
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{types-L50Y6ATu.d.cts → types-0ZAMQhva.d.cts} +3 -3
- package/dist/{types-BoH7NFCh.d.ts → types-1LENlL5h.d.ts} +3 -3
- package/dist/{types-kbyIaA7p.d.cts → types-6KabdIyO.d.cts} +3 -3
- package/dist/{types-Bx0TSdwF.d.cts → types-9d8ihjZh.d.cts} +2 -2
- package/dist/{types-COQOzyac.d.ts → types-B7L6uSYb.d.ts} +7 -3
- package/dist/{types-DWJVbskE.d.ts → types-BTy_FFSu.d.ts} +2 -2
- package/dist/{types-4HmtNuJf.d.ts → types-BWYtQkHu.d.ts} +2 -2
- package/dist/{types-BIDKSQdc.d.ts → types-BXHZQvGy.d.ts} +169 -31
- package/dist/{types-B2ZLjagf.d.ts → types-BYFU_6Iz.d.ts} +2 -2
- package/dist/{types-BNPvFLgC.d.ts → types-BaqdM92a.d.ts} +3 -4
- package/dist/{types-BKIcow3B.d.cts → types-BbwrMl0Q.d.cts} +2 -2
- package/dist/{types-Dg8a7m7f.d.ts → types-Bt8CEZ6K.d.ts} +2 -2
- package/dist/{types-4bSZLxq3.d.cts → types-BtS3DhGu.d.cts} +169 -31
- package/dist/{types-C2j6Jsie.d.ts → types-C-GSYDTN.d.ts} +3 -3
- package/dist/{types-BwsE-pFo.d.cts → types-C4eQ-Zcx.d.cts} +2 -2
- package/dist/{types-ij6BpTzR.d.ts → types-C9VaQSqV.d.ts} +2 -2
- package/dist/{types-BZBU3mwz.d.cts → types-CNkQuWnO.d.cts} +3 -3
- package/dist/{types-TRJiPqJr.d.cts → types-CXv_e6xC.d.cts} +2 -2
- package/dist/{types-CMKIdreQ.d.cts → types-C_raqbl-.d.cts} +3 -3
- package/dist/{types-BjEiUOL6.d.ts → types-Cc4yTEdK.d.ts} +2 -2
- package/dist/{types-ituiCs8g.d.ts → types-Ce5Blzhg.d.ts} +2 -2
- package/dist/{types-CBrNIgEy.d.ts → types-CfZLdfAL.d.ts} +3 -3
- package/dist/{types-4CjbcUdD.d.cts → types-Cfc-fYbq.d.cts} +2 -2
- package/dist/{types-DHlXKVEM.d.ts → types-Cn8I0vcr.d.ts} +3 -3
- package/dist/{types-C7t_6FLh.d.ts → types-CpWE6Yg2.d.ts} +2 -2
- package/dist/{types-DBJ8c3hN.d.cts → types-CrJIILXf.d.cts} +2 -2
- package/dist/{types-B_3zoXA1.d.cts → types-CwGbiMF-.d.cts} +3 -3
- package/dist/{types-BiTn_JVW.d.cts → types-CwQ8_n8q.d.ts} +94 -13
- package/dist/{types-Cw9UISvM.d.ts → types-D3H3EAre.d.ts} +2 -2
- package/dist/{types-BG0oWq8u.d.cts → types-D3mj56iq.d.cts} +2 -2
- package/dist/{types-D51g4h9w.d.cts → types-D8d5tyGi.d.cts} +2 -2
- package/dist/{types-CZCPdPqv.d.cts → types-DMpiG2q4.d.cts} +3 -3
- package/dist/{types-DPDq8C4q.d.cts → types-DSBrhK_K.d.cts} +2 -2
- package/dist/{types--qQPfxWt.d.cts → types-DXF6faow.d.cts} +2 -2
- package/dist/{types-BXgINefw.d.ts → types-DfJP6Dti.d.ts} +2 -2
- package/dist/{types-C3IQu1gV.d.ts → types-DgOLSRiy.d.ts} +3 -3
- package/dist/{types-BdF6NDvo.d.cts → types-DlgqPU_4.d.cts} +2 -2
- package/dist/{types-C2JMisvL.d.ts → types-Dn1G-qv4.d.cts} +94 -13
- package/dist/{types-B6ozaDkl.d.cts → types-EkyQ0_10.d.cts} +2 -2
- package/dist/{types-B_1plf0y.d.cts → types-EmIcG-8K.d.cts} +2 -2
- package/dist/{types-D8w9lyb8.d.cts → types-NSxpnYW5.d.cts} +7 -3
- package/dist/{types-CEw2IzWk.d.ts → types-QPW-7dPm.d.ts} +2 -2
- package/dist/{types-BcQ3j8xK.d.ts → types-UySfduQo.d.ts} +2 -2
- package/dist/{types-7DBpH7Rf.d.ts → types-VehpPOQX.d.ts} +2 -2
- package/dist/{types-BiBBKcin.d.ts → types-Vu09EUZs.d.ts} +3 -3
- package/dist/{types-DgIzXY-Y.d.ts → types-c4h2YDMC.d.ts} +2 -2
- package/dist/{types-OkQWmonU.d.cts → types-sOM2_KPc.d.cts} +2 -2
- package/dist/{types-BBbzWczQ.d.cts → types-wNuJUhco.d.cts} +3 -4
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +1 -1
- package/surface/ai.md +0 -1
- package/surface/kaiAgent.md +5 -4
- package/surface/management.md +1 -0
- package/surface/storage.md +3 -2
- package/dist/configurations-BTRHVSRq.cjs.map +0 -1
- package/dist/configurations-Chg_JwJ1.js.map +0 -1
- package/dist/kaiAgent-BmfUG8bB.cjs.map +0 -1
- package/dist/kaiAgent-CBPbMwBh.js.map +0 -1
- package/dist/management-BUGPJ1Bu.cjs.map +0 -1
- package/dist/management-DAg2obYt.js.map +0 -1
- package/dist/middleware-CWaLMlG1.js.map +0 -1
- package/dist/middleware-DU_5pFDW.cjs.map +0 -1
- package/dist/storage-DyR7hDdv.js.map +0 -1
- package/dist/storage-yovv11k6.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as OpenapiReturnType } from "../index-
|
|
1
|
+
import { l as OpenapiReturnType } from "../index-sDHBkJhU.js";
|
|
2
2
|
import { n as paths } from "../schema-BUyMwQnM.js";
|
|
3
3
|
//#region src/clients/microsoftGraph/types.d.ts
|
|
4
4
|
type User = OpenapiReturnType<paths['/me']['get']>;
|
|
@@ -8,9 +8,9 @@ const isUnauthorized = (error) => error instanceof require_createFetchClient.Api
|
|
|
8
8
|
* - Anonymous (`null` token): passes through untouched, so `login` / `refresh` work.
|
|
9
9
|
* - A `forceRefresh` answering `null` stops the replay.
|
|
10
10
|
*/
|
|
11
|
-
const createBearerAuthMiddleware = (
|
|
11
|
+
const createBearerAuthMiddleware = (source) => {
|
|
12
12
|
return (next) => async (request) => {
|
|
13
|
-
const token = await
|
|
13
|
+
const token = await source.getAccessToken({ forceRefresh: false });
|
|
14
14
|
if (token === null) return next(request);
|
|
15
15
|
const retryRequest = request.request.clone();
|
|
16
16
|
request.request.headers.set(require_createFetchClient.HttpHeader.AUTHORIZATION, `Bearer ${token}`);
|
|
@@ -18,7 +18,7 @@ const createBearerAuthMiddleware = (credential) => {
|
|
|
18
18
|
return await next(request);
|
|
19
19
|
} catch (error) {
|
|
20
20
|
if (!isUnauthorized(error)) throw error;
|
|
21
|
-
const refreshed = await
|
|
21
|
+
const refreshed = await source.getAccessToken({ forceRefresh: true });
|
|
22
22
|
if (refreshed === null) throw error;
|
|
23
23
|
retryRequest.headers.set(require_createFetchClient.HttpHeader.AUTHORIZATION, `Bearer ${refreshed}`);
|
|
24
24
|
return await next({
|
|
@@ -42,4 +42,4 @@ Object.defineProperty(exports, "isUnauthorized", {
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
//# sourceMappingURL=middleware-
|
|
45
|
+
//# sourceMappingURL=middleware-CEP6uu_D.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"middleware-CEP6uu_D.cjs","names":["ApiError","HttpStatus","HttpHeader"],"sources":["../src/keboola/bearer/credentials/middleware.ts"],"sourcesContent":["import { ApiError } from '../../../errors';\nimport { HttpHeader, type MiddlewareFn } from '../../../fetchClient';\nimport { HttpStatus } from '../../../internal';\n\nexport const isUnauthorized = (error: unknown): boolean =>\n error instanceof ApiError && error.response.status === HttpStatus.UNAUTHORIZED;\n\n/** Where the middleware gets its token; whether the credential behind it is dead is not its call. */\nexport type AccessTokenSource = {\n /** `null` while anonymous — nothing to stamp. */\n getAccessToken: (options?: { forceRefresh?: boolean }) => Promise<string | null>;\n};\n\n/**\n * Bearer auth: stamps the access token; on a 401, force-refreshes and replays once.\n *\n * - A replay that still 401s passes on, not as expiry: an unreachable project gets the same 401.\n * - Anonymous (`null` token): passes through untouched, so `login` / `refresh` work.\n * - A `forceRefresh` answering `null` stops the replay.\n */\nexport const createBearerAuthMiddleware = (source: AccessTokenSource): MiddlewareFn => {\n return (next) => async (request) => {\n const token = await source.getAccessToken({ forceRefresh: false });\n if (token === null) return next(request);\n\n // Cloned for the replay: the first attempt may consume the body.\n const retryRequest = request.request.clone();\n request.request.headers.set(HttpHeader.AUTHORIZATION, `Bearer ${token}`);\n\n try {\n return await next(request);\n } catch (error) {\n if (!isUnauthorized(error)) throw error;\n\n const refreshed = await source.getAccessToken({ forceRefresh: true });\n // Went anonymous mid-flight — surface the original 401.\n if (refreshed === null) throw error;\n retryRequest.headers.set(HttpHeader.AUTHORIZATION, `Bearer ${refreshed}`);\n\n return await next({ ...request, request: retryRequest });\n }\n };\n};\n"],"mappings":";;AAIA,MAAa,kBAAkB,UAC7B,iBAAiBA,0BAAAA,YAAY,MAAM,SAAS,WAAWC,0BAAAA,WAAW;;;;;;;;AAepE,MAAa,8BAA8B,WAA4C;CACrF,QAAQ,SAAS,OAAO,YAAY;EAClC,MAAM,QAAQ,MAAM,OAAO,eAAe,EAAE,cAAc,MAAM,CAAC;EACjE,IAAI,UAAU,MAAM,OAAO,KAAK,OAAO;EAGvC,MAAM,eAAe,QAAQ,QAAQ,MAAM;EAC3C,QAAQ,QAAQ,QAAQ,IAAIC,0BAAAA,WAAW,eAAe,UAAU,OAAO;EAEvE,IAAI;GACF,OAAO,MAAM,KAAK,OAAO;EAC3B,SAAS,OAAO;GACd,IAAI,CAAC,eAAe,KAAK,GAAG,MAAM;GAElC,MAAM,YAAY,MAAM,OAAO,eAAe,EAAE,cAAc,KAAK,CAAC;GAEpE,IAAI,cAAc,MAAM,MAAM;GAC9B,aAAa,QAAQ,IAAIA,0BAAAA,WAAW,eAAe,UAAU,WAAW;GAExE,OAAO,MAAM,KAAK;IAAE,GAAG;IAAS,SAAS;GAAa,CAAC;EACzD;CACF;AACF"}
|
|
@@ -8,9 +8,9 @@ const isUnauthorized = (error) => error instanceof ApiError && error.response.st
|
|
|
8
8
|
* - Anonymous (`null` token): passes through untouched, so `login` / `refresh` work.
|
|
9
9
|
* - A `forceRefresh` answering `null` stops the replay.
|
|
10
10
|
*/
|
|
11
|
-
const createBearerAuthMiddleware = (
|
|
11
|
+
const createBearerAuthMiddleware = (source) => {
|
|
12
12
|
return (next) => async (request) => {
|
|
13
|
-
const token = await
|
|
13
|
+
const token = await source.getAccessToken({ forceRefresh: false });
|
|
14
14
|
if (token === null) return next(request);
|
|
15
15
|
const retryRequest = request.request.clone();
|
|
16
16
|
request.request.headers.set(HttpHeader.AUTHORIZATION, `Bearer ${token}`);
|
|
@@ -18,7 +18,7 @@ const createBearerAuthMiddleware = (credential) => {
|
|
|
18
18
|
return await next(request);
|
|
19
19
|
} catch (error) {
|
|
20
20
|
if (!isUnauthorized(error)) throw error;
|
|
21
|
-
const refreshed = await
|
|
21
|
+
const refreshed = await source.getAccessToken({ forceRefresh: true });
|
|
22
22
|
if (refreshed === null) throw error;
|
|
23
23
|
retryRequest.headers.set(HttpHeader.AUTHORIZATION, `Bearer ${refreshed}`);
|
|
24
24
|
return await next({
|
|
@@ -31,4 +31,4 @@ const createBearerAuthMiddleware = (credential) => {
|
|
|
31
31
|
//#endregion
|
|
32
32
|
export { isUnauthorized as n, createBearerAuthMiddleware as t };
|
|
33
33
|
|
|
34
|
-
//# sourceMappingURL=middleware-
|
|
34
|
+
//# sourceMappingURL=middleware-GOfx8Apu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"middleware-GOfx8Apu.js","names":[],"sources":["../src/keboola/bearer/credentials/middleware.ts"],"sourcesContent":["import { ApiError } from '../../../errors';\nimport { HttpHeader, type MiddlewareFn } from '../../../fetchClient';\nimport { HttpStatus } from '../../../internal';\n\nexport const isUnauthorized = (error: unknown): boolean =>\n error instanceof ApiError && error.response.status === HttpStatus.UNAUTHORIZED;\n\n/** Where the middleware gets its token; whether the credential behind it is dead is not its call. */\nexport type AccessTokenSource = {\n /** `null` while anonymous — nothing to stamp. */\n getAccessToken: (options?: { forceRefresh?: boolean }) => Promise<string | null>;\n};\n\n/**\n * Bearer auth: stamps the access token; on a 401, force-refreshes and replays once.\n *\n * - A replay that still 401s passes on, not as expiry: an unreachable project gets the same 401.\n * - Anonymous (`null` token): passes through untouched, so `login` / `refresh` work.\n * - A `forceRefresh` answering `null` stops the replay.\n */\nexport const createBearerAuthMiddleware = (source: AccessTokenSource): MiddlewareFn => {\n return (next) => async (request) => {\n const token = await source.getAccessToken({ forceRefresh: false });\n if (token === null) return next(request);\n\n // Cloned for the replay: the first attempt may consume the body.\n const retryRequest = request.request.clone();\n request.request.headers.set(HttpHeader.AUTHORIZATION, `Bearer ${token}`);\n\n try {\n return await next(request);\n } catch (error) {\n if (!isUnauthorized(error)) throw error;\n\n const refreshed = await source.getAccessToken({ forceRefresh: true });\n // Went anonymous mid-flight — surface the original 401.\n if (refreshed === null) throw error;\n retryRequest.headers.set(HttpHeader.AUTHORIZATION, `Bearer ${refreshed}`);\n\n return await next({ ...request, request: retryRequest });\n }\n };\n};\n"],"mappings":";;AAIA,MAAa,kBAAkB,UAC7B,iBAAiB,YAAY,MAAM,SAAS,WAAW,WAAW;;;;;;;;AAepE,MAAa,8BAA8B,WAA4C;CACrF,QAAQ,SAAS,OAAO,YAAY;EAClC,MAAM,QAAQ,MAAM,OAAO,eAAe,EAAE,cAAc,MAAM,CAAC;EACjE,IAAI,UAAU,MAAM,OAAO,KAAK,OAAO;EAGvC,MAAM,eAAe,QAAQ,QAAQ,MAAM;EAC3C,QAAQ,QAAQ,QAAQ,IAAI,WAAW,eAAe,UAAU,OAAO;EAEvE,IAAI;GACF,OAAO,MAAM,KAAK,OAAO;EAC3B,SAAS,OAAO;GACd,IAAI,CAAC,eAAe,KAAK,GAAG,MAAM;GAElC,MAAM,YAAY,MAAM,OAAO,eAAe,EAAE,cAAc,KAAK,CAAC;GAEpE,IAAI,cAAc,MAAM,MAAM;GAC9B,aAAa,QAAQ,IAAI,WAAW,eAAe,UAAU,WAAW;GAExE,OAAO,MAAM,KAAK;IAAE,GAAG;IAAS,SAAS;GAAa,CAAC;EACzD;CACF;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components, t as CreateSubscriptionBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-sOM2_KPc.cjs";
|
|
2
|
+
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components, t as CreateSubscriptionBody } from "../types-CrJIILXf.cjs";
|
|
3
3
|
//#region src/clients/notifications/notificationsClient.d.ts
|
|
4
4
|
declare const createNotificationsClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components, t as CreateSubscriptionBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-D3H3EAre.js";
|
|
2
|
+
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components, t as CreateSubscriptionBody } from "../types-BTy_FFSu.js";
|
|
3
3
|
//#region src/clients/notifications/notificationsClient.d.ts
|
|
4
4
|
declare const createNotificationsClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SubscriptionId, i as SubscriptionFilter, n as ListSubscriptionsQuery, o as SubscriptionRecipient, r as ProjectSubscription, t as CreateSubscriptionBody } from "../types-
|
|
1
|
+
import { a as SubscriptionId, i as SubscriptionFilter, n as ListSubscriptionsQuery, o as SubscriptionRecipient, r as ProjectSubscription, t as CreateSubscriptionBody } from "../types-CrJIILXf.cjs";
|
|
2
2
|
export { CreateSubscriptionBody, ListSubscriptionsQuery, ProjectSubscription, SubscriptionFilter, SubscriptionId, SubscriptionRecipient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SubscriptionId, i as SubscriptionFilter, n as ListSubscriptionsQuery, o as SubscriptionRecipient, r as ProjectSubscription, t as CreateSubscriptionBody } from "../types-
|
|
1
|
+
import { a as SubscriptionId, i as SubscriptionFilter, n as ListSubscriptionsQuery, o as SubscriptionRecipient, r as ProjectSubscription, t as CreateSubscriptionBody } from "../types-BTy_FFSu.js";
|
|
2
2
|
export { CreateSubscriptionBody, ListSubscriptionsQuery, ProjectSubscription, SubscriptionFilter, SubscriptionId, SubscriptionRecipient };
|
package/dist/oauth/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as CredentialInput, c as GetCredentialsInput, r as CreateCredentialInput } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-sOM2_KPc.cjs";
|
|
2
|
+
import { a as CredentialInput, c as GetCredentialsInput, r as CreateCredentialInput } from "../types-Cfc-fYbq.cjs";
|
|
3
3
|
//#region src/clients/oauth/oauthClient.d.ts
|
|
4
4
|
declare const createOauthClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
package/dist/oauth/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as CredentialInput, c as GetCredentialsInput, r as CreateCredentialInput } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-D3H3EAre.js";
|
|
2
|
+
import { a as CredentialInput, c as GetCredentialsInput, r as CreateCredentialInput } from "../types-BYFU_6Iz.js";
|
|
3
3
|
//#region src/clients/oauth/oauthClient.d.ts
|
|
4
4
|
declare const createOauthClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
package/dist/oauth/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CredentialInput, c as GetCredentialsInput, i as Credential, n as CreateCredentialBody, o as CredentialPath, r as CreateCredentialInput, s as OrganizationConnection, t as ComponentPath } from "../types-
|
|
1
|
+
import { a as CredentialInput, c as GetCredentialsInput, i as Credential, n as CreateCredentialBody, o as CredentialPath, r as CreateCredentialInput, s as OrganizationConnection, t as ComponentPath } from "../types-Cfc-fYbq.cjs";
|
|
2
2
|
export { ComponentPath, CreateCredentialBody, CreateCredentialInput, Credential, CredentialInput, CredentialPath, type GetCredentialsInput, OrganizationConnection };
|
package/dist/oauth/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CredentialInput, c as GetCredentialsInput, i as Credential, n as CreateCredentialBody, o as CredentialPath, r as CreateCredentialInput, s as OrganizationConnection, t as ComponentPath } from "../types-
|
|
1
|
+
import { a as CredentialInput, c as GetCredentialsInput, i as Credential, n as CreateCredentialBody, o as CredentialPath, r as CreateCredentialInput, s as OrganizationConnection, t as ComponentPath } from "../types-BYFU_6Iz.js";
|
|
2
2
|
export { ComponentPath, CreateCredentialBody, CreateCredentialInput, Credential, CredentialInput, CredentialPath, type GetCredentialsInput, OrganizationConnection };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-sOM2_KPc.cjs";
|
|
2
|
+
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-DSBrhK_K.cjs";
|
|
3
3
|
//#region src/clients/omnisearch/omnisearchClient.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Omnisearch — data lineage.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-D3H3EAre.js";
|
|
2
|
+
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-Bt8CEZ6K.js";
|
|
3
3
|
//#region src/clients/omnisearch/omnisearchClient.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Omnisearch — data lineage.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-
|
|
1
|
+
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-DSBrhK_K.cjs";
|
|
2
2
|
export { GetProjectsLineageQuery, GetTablesLineageQuery, LineageBucket, LineageConfiguration, LineageMetadata, LineageProject, LineageSource, LineageTable, ProjectLineageRelation, ProjectsLineage, ProjectsLineageResponse, TableLineageRelation, TablesLineage, TablesLineageResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-
|
|
1
|
+
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-Bt8CEZ6K.js";
|
|
2
2
|
export { GetProjectsLineageQuery, GetTablesLineageQuery, LineageBucket, LineageConfiguration, LineageMetadata, LineageProject, LineageSource, LineageTable, ProjectLineageRelation, ProjectsLineage, ProjectsLineageResponse, TableLineageRelation, TablesLineage, TablesLineageResponse };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Lr as paths, c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-
|
|
2
|
-
import "./adminRoles-
|
|
1
|
+
import { Lr as paths, c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
|
|
2
|
+
import "./adminRoles-BgpaBE7h.cjs";
|
|
3
3
|
import { t as Backend } from "./backends-DKBz5OxE.cjs";
|
|
4
4
|
//#region src/clients/storage/tokens/types.d.ts
|
|
5
5
|
type ProjectId = number;
|
|
@@ -71,4 +71,4 @@ declare const createProject: ({ sapiToken }: Options) => {
|
|
|
71
71
|
type Project = ReturnType<typeof createProject>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { UpdateTokenInput as _, CreateTokenResponse as a, GetTokenEventsPath as c, ShareTokenInput as d, ShareTokenPath as f, UpdateTokenBody as g, TokenListItem as h, CreateTokenBody as i, ProjectId as l, StorageTokenRaw as m, hasAdminFeature as n, CreateTokenSchemaBody as o, StorageToken as p, hasFeature as r, GetTokenEventsInput as s, Project as t, ShareTokenBody as u, UpdateTokenPath as v, UpdateTokenSchemaBody as y };
|
|
74
|
-
//# sourceMappingURL=project-
|
|
74
|
+
//# sourceMappingURL=project-Dzu85cqr.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Lr as paths, c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-
|
|
2
|
-
import "./adminRoles-
|
|
1
|
+
import { Lr as paths, c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
|
|
2
|
+
import "./adminRoles-DsoGQipO.js";
|
|
3
3
|
import { t as Backend } from "./backends-DKBz5OxE.js";
|
|
4
4
|
//#region src/clients/storage/tokens/types.d.ts
|
|
5
5
|
type ProjectId = number;
|
|
@@ -71,4 +71,4 @@ declare const createProject: ({ sapiToken }: Options) => {
|
|
|
71
71
|
type Project = ReturnType<typeof createProject>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { UpdateTokenInput as _, CreateTokenResponse as a, GetTokenEventsPath as c, ShareTokenInput as d, ShareTokenPath as f, UpdateTokenBody as g, TokenListItem as h, CreateTokenBody as i, ProjectId as l, StorageTokenRaw as m, hasAdminFeature as n, CreateTokenSchemaBody as o, StorageToken as p, hasFeature as r, GetTokenEventsInput as s, Project as t, ShareTokenBody as u, UpdateTokenPath as v, UpdateTokenSchemaBody as y };
|
|
74
|
-
//# sourceMappingURL=project-
|
|
74
|
+
//# sourceMappingURL=project-nbv9yjpl.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as createQueryServiceClient } from "../index-
|
|
1
|
+
import { S as createQueryServiceClient } from "../index-C40Fbj-6.cjs";
|
|
2
2
|
export { createQueryServiceClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as createQueryServiceClient } from "../index-
|
|
1
|
+
import { S as createQueryServiceClient } from "../index-B3QTeqfL.js";
|
|
2
2
|
export { createQueryServiceClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as PostQueryBody, G as GetExportResultsQuery, J as GetQueryJobPath, K as GetQueriesHistoryQuery, Q as PostCancelQueryJobPath, U as QueryJobPollOptions, W as ExportResultsResponse, X as GetQueryResutsQuery, Y as GetQueryResultsPath, Z as JobStatusResponse, et as PostQueryPath, nt as QueryResult, q as GetQueriesPath, rt as Statements, tt as QueryJobStatus } from "../index-C40Fbj-6.cjs";
|
|
2
2
|
export { ExportResultsResponse, GetExportResultsQuery, GetQueriesHistoryQuery, GetQueriesPath, GetQueryJobPath, GetQueryResultsPath, GetQueryResutsQuery, JobStatusResponse, PostCancelQueryJobPath, PostQueryBody, PostQueryPath, type QueryJobPollOptions, QueryJobStatus, QueryResult, Statements };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as PostQueryBody, G as GetExportResultsQuery, J as GetQueryJobPath, K as GetQueriesHistoryQuery, Q as PostCancelQueryJobPath, U as QueryJobPollOptions, W as ExportResultsResponse, X as GetQueryResutsQuery, Y as GetQueryResultsPath, Z as JobStatusResponse, et as PostQueryPath, nt as QueryResult, q as GetQueriesPath, rt as Statements, tt as QueryJobStatus } from "../index-B3QTeqfL.js";
|
|
2
2
|
export { ExportResultsResponse, GetExportResultsQuery, GetQueriesHistoryQuery, GetQueriesPath, GetQueryJobPath, GetQueryResultsPath, GetQueryResutsQuery, JobStatusResponse, PostCancelQueryJobPath, PostQueryBody, PostQueryPath, type QueryJobPollOptions, QueryJobStatus, QueryResult, Statements };
|
package/dist/queue/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Br as CreateJobBody, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Qr as components, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, qr as SearchAllJobsQuery } from "../index-
|
|
2
|
-
import {
|
|
3
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { Br as CreateJobBody, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Qr as components, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, qr as SearchAllJobsQuery } from "../index-ChDl6ig5.cjs";
|
|
2
|
+
import { Xt as Poller } from "../index-C40Fbj-6.cjs";
|
|
3
|
+
import { n as ClientInitOptions } from "../types-sOM2_KPc.cjs";
|
|
4
4
|
//#region src/clients/queue/queueClient.d.ts
|
|
5
5
|
declare const createQueueClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
6
6
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
package/dist/queue/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Br as CreateJobBody, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Qr as components, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, qr as SearchAllJobsQuery } from "../index-
|
|
2
|
-
import {
|
|
3
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { Br as CreateJobBody, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Qr as components, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, qr as SearchAllJobsQuery } from "../index-sDHBkJhU.js";
|
|
2
|
+
import { Xt as Poller } from "../index-B3QTeqfL.js";
|
|
3
|
+
import { n as ClientInitOptions } from "../types-D3H3EAre.js";
|
|
4
4
|
//#region src/clients/queue/queueClient.d.ts
|
|
5
5
|
declare const createQueueClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
6
6
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
package/dist/queue/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as CreateJobBody, Gr as QueueJob, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Kr as QueueJobStatus, Ur as OrchestrationRerunPlan, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, Yr as SearchGroupedJobsResponse, Zr as SearchJobsResponse, qr as SearchAllJobsQuery } from "../index-
|
|
1
|
+
import { Br as CreateJobBody, Gr as QueueJob, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Kr as QueueJobStatus, Ur as OrchestrationRerunPlan, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, Yr as SearchGroupedJobsResponse, Zr as SearchJobsResponse, qr as SearchAllJobsQuery } from "../index-ChDl6ig5.cjs";
|
|
2
2
|
export { CreateJobBody, GetQueueJobPath, KillJobPath, OrchestrationRerunPlan, OrchestrationRerunPlanPath, QueueJob, QueueJobStatus, SearchAllJobsQuery, SearchGroupedJobsQuery, SearchGroupedJobsResponse, SearchJobsQuery, SearchJobsResponse };
|
package/dist/queue/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as CreateJobBody, Gr as QueueJob, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Kr as QueueJobStatus, Ur as OrchestrationRerunPlan, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, Yr as SearchGroupedJobsResponse, Zr as SearchJobsResponse, qr as SearchAllJobsQuery } from "../index-
|
|
1
|
+
import { Br as CreateJobBody, Gr as QueueJob, Hr as KillJobPath, Jr as SearchGroupedJobsQuery, Kr as QueueJobStatus, Ur as OrchestrationRerunPlan, Vr as GetQueueJobPath, Wr as OrchestrationRerunPlanPath, Xr as SearchJobsQuery, Yr as SearchGroupedJobsResponse, Zr as SearchJobsResponse, qr as SearchAllJobsQuery } from "../index-sDHBkJhU.js";
|
|
2
2
|
export { CreateJobBody, GetQueueJobPath, KillJobPath, OrchestrationRerunPlan, OrchestrationRerunPlanPath, QueueJob, QueueJobStatus, SearchAllJobsQuery, SearchGroupedJobsQuery, SearchGroupedJobsResponse, SearchJobsQuery, SearchJobsResponse };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-sOM2_KPc.cjs";
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-D3mj56iq.cjs";
|
|
3
3
|
//#region src/clients/scheduler/schedulerClient.d.ts
|
|
4
4
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-D3H3EAre.js";
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-BWYtQkHu.js";
|
|
3
3
|
//#region src/clients/scheduler/schedulerClient.d.ts
|
|
4
4
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-D3mj56iq.cjs";
|
|
2
2
|
export { ActivateScheduleBody, ConfigurationPath, GetSchedulesQuery, Schedule, SchedulePath, Schedules };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-BWYtQkHu.js";
|
|
2
2
|
export { ActivateScheduleBody, ConfigurationPath, GetSchedulesQuery, Schedule, SchedulePath, Schedules };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_configurations = require("../../configurations-
|
|
2
|
+
const require_configurations = require("../../configurations-B2O8AAy0.cjs");
|
|
3
3
|
exports.createConfigurationSdk = require_configurations.createConfigurationSdk;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Project } from "../../project-
|
|
1
|
+
import { It as createDefaultBranch, Mo as BaseComponentConfig, Uo as CreateConfigurationInput, Vo as ConfigurationPath, dt as RegisteredComponentId, ft as registry, ps as UpdateConfigurationInput, t as createEncryptionClient, y as createStorageClient } from "../../index-C40Fbj-6.cjs";
|
|
2
|
+
import { t as Project } from "../../project-Dzu85cqr.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/sdks/configurations/configurationsSdk.d.ts
|
|
5
5
|
type ConfigurationSdkContext = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Project } from "../../project-
|
|
1
|
+
import { It as createDefaultBranch, Mo as BaseComponentConfig, Uo as CreateConfigurationInput, Vo as ConfigurationPath, dt as RegisteredComponentId, ft as registry, ps as UpdateConfigurationInput, t as createEncryptionClient, y as createStorageClient } from "../../index-B3QTeqfL.js";
|
|
2
|
+
import { t as Project } from "../../project-nbv9yjpl.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/sdks/configurations/configurationsSdk.d.ts
|
|
5
5
|
type ConfigurationSdkContext = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createConfigurationSdk } from "../../configurations-
|
|
1
|
+
import { t as createConfigurationSdk } from "../../configurations-DKINmjA3.js";
|
|
2
2
|
export { createConfigurationSdk };
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_dedupe = require("../../dedupe-OSnnst2u.cjs");
|
|
3
3
|
const require_store = require("../../store-xS-Cu_VS.cjs");
|
|
4
4
|
const require_createFetchClient = require("../../createFetchClient-lZ_93Yrb.cjs");
|
|
5
|
-
const require_middleware = require("../../middleware-
|
|
5
|
+
const require_middleware = require("../../middleware-CEP6uu_D.cjs");
|
|
6
6
|
const require_developerPortalClient = require("../../developerPortalClient-DUerKw-7.cjs");
|
|
7
7
|
//#region src/sdks/developerPortal/tokenExpiry.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { oi as MiddlewareFn } from "../../index-
|
|
2
|
-
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-
|
|
3
|
-
import { t as DeveloperPortalTokens } from "../../index-
|
|
1
|
+
import { oi as MiddlewareFn } from "../../index-ChDl6ig5.cjs";
|
|
2
|
+
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-DMpiG2q4.cjs";
|
|
3
|
+
import { t as DeveloperPortalTokens } from "../../index-CpGmmJbt.cjs";
|
|
4
4
|
import { n as Listener } from "../../emitter-dLF1Fyfg.cjs";
|
|
5
5
|
//#region src/sdks/developerPortal/developerPortalSdk.d.ts
|
|
6
6
|
type DeveloperPortalSdkOptions = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { oi as MiddlewareFn } from "../../index-
|
|
2
|
-
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-
|
|
3
|
-
import { t as DeveloperPortalTokens } from "../../index-
|
|
1
|
+
import { oi as MiddlewareFn } from "../../index-sDHBkJhU.js";
|
|
2
|
+
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-Cn8I0vcr.js";
|
|
3
|
+
import { t as DeveloperPortalTokens } from "../../index-m7fX76x3.js";
|
|
4
4
|
import { n as Listener } from "../../emitter-dLF1Fyfg.js";
|
|
5
5
|
//#region src/sdks/developerPortal/developerPortalSdk.d.ts
|
|
6
6
|
type DeveloperPortalSdkOptions = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as dedupe } from "../../dedupe-Cky1gSUu.js";
|
|
2
2
|
import { t as createStore } from "../../store-C9FQCHGe.js";
|
|
3
3
|
import { s as HttpHeader } from "../../createFetchClient-CkHdS_IG.js";
|
|
4
|
-
import { n as isUnauthorized } from "../../middleware-
|
|
4
|
+
import { n as isUnauthorized } from "../../middleware-GOfx8Apu.js";
|
|
5
5
|
import { t as createDeveloperPortalClient } from "../../developerPortalClient-Bb2suezr.js";
|
|
6
6
|
//#region src/sdks/developerPortal/tokenExpiry.ts
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as KaiMemoryStatus, c as KAI_MEMORY_STATUSES, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-
|
|
1
|
+
import { a as KaiMemoryStatus, c as KAI_MEMORY_STATUSES, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-CNkQuWnO.cjs";
|
|
2
2
|
//#region src/sdks/kaiMemory/kaiMemorySdk.d.ts
|
|
3
3
|
/** The metastore object type this SDK addresses — see `SEMANTIC_OBJECT_TYPE` for the convention. */
|
|
4
4
|
declare const KAI_MEMORY_OBJECT_TYPE = "kai-memory";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as KaiMemoryStatus, c as KAI_MEMORY_STATUSES, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-
|
|
1
|
+
import { a as KaiMemoryStatus, c as KAI_MEMORY_STATUSES, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-1LENlL5h.js";
|
|
2
2
|
//#region src/sdks/kaiMemory/kaiMemorySdk.d.ts
|
|
3
3
|
/** The metastore object type this SDK addresses — see `SEMANTIC_OBJECT_TYPE` for the convention. */
|
|
4
4
|
declare const KAI_MEMORY_OBJECT_TYPE = "kai-memory";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as KaiMemoryStatus, i as KaiMemoryMeta, n as KaiMemoryData, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-
|
|
1
|
+
import { a as KaiMemoryStatus, i as KaiMemoryMeta, n as KaiMemoryData, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-CNkQuWnO.cjs";
|
|
2
2
|
export { CreateKaiMemoryMeta, KaiMemoryData, KaiMemoryItem, KaiMemoryMeta, KaiMemoryStatus, MetastoreClient, UpdateKaiMemoryMeta };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as KaiMemoryStatus, i as KaiMemoryMeta, n as KaiMemoryData, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-
|
|
1
|
+
import { a as KaiMemoryStatus, i as KaiMemoryMeta, n as KaiMemoryData, o as MetastoreClient, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "../../types-1LENlL5h.js";
|
|
2
2
|
export { CreateKaiMemoryMeta, KaiMemoryData, KaiMemoryItem, KaiMemoryMeta, KaiMemoryStatus, MetastoreClient, UpdateKaiMemoryMeta };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as ExecuteQueryOptions, x as createQueryServiceSdk } from "../../index-
|
|
1
|
+
import { b as ExecuteQueryOptions, x as createQueryServiceSdk } from "../../index-C40Fbj-6.cjs";
|
|
2
2
|
export { ExecuteQueryOptions, createQueryServiceSdk };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as ExecuteQueryOptions, x as createQueryServiceSdk } from "../../index-
|
|
1
|
+
import { b as ExecuteQueryOptions, x as createQueryServiceSdk } from "../../index-B3QTeqfL.js";
|
|
2
2
|
export { ExecuteQueryOptions, createQueryServiceSdk };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as CONSTRAINT_TYPES, D as UpdateSemanticObjectMeta, F as SQL_DIALECTS, M as RELATIONSHIP_JOIN_TYPES, N as RULE_OPERATORS, O as CONSTRAINT_SCOPES, P as SEMANTIC_OBJECT_SCOPES, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, j as FIELD_ROLES, k as CONSTRAINT_SEVERITIES, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, x as SemanticRelationshipData } from "../../types-
|
|
1
|
+
import { A as CONSTRAINT_TYPES, D as UpdateSemanticObjectMeta, F as SQL_DIALECTS, M as RELATIONSHIP_JOIN_TYPES, N as RULE_OPERATORS, O as CONSTRAINT_SCOPES, P as SEMANTIC_OBJECT_SCOPES, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, j as FIELD_ROLES, k as CONSTRAINT_SEVERITIES, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, x as SemanticRelationshipData } from "../../types-C_raqbl-.cjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/sdks/semanticLayer/errorMessage.d.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as CONSTRAINT_TYPES, D as UpdateSemanticObjectMeta, F as SQL_DIALECTS, M as RELATIONSHIP_JOIN_TYPES, N as RULE_OPERATORS, O as CONSTRAINT_SCOPES, P as SEMANTIC_OBJECT_SCOPES, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, j as FIELD_ROLES, k as CONSTRAINT_SEVERITIES, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, x as SemanticRelationshipData } from "../../types-
|
|
1
|
+
import { A as CONSTRAINT_TYPES, D as UpdateSemanticObjectMeta, F as SQL_DIALECTS, M as RELATIONSHIP_JOIN_TYPES, N as RULE_OPERATORS, O as CONSTRAINT_SCOPES, P as SEMANTIC_OBJECT_SCOPES, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, j as FIELD_ROLES, k as CONSTRAINT_SEVERITIES, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, x as SemanticRelationshipData } from "../../types-Vu09EUZs.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/sdks/semanticLayer/errorMessage.d.ts
|
|
4
4
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as SemanticRuleExpression, D as UpdateSemanticObjectMeta, E as SemanticValidationQuery, S as SemanticRelationshipJoinType, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, c as SemanticConstraintSeverity, d as SemanticFieldData, f as SemanticFieldRole, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, l as SemanticConstraintType, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, r as SemanticAiMetadata, s as SemanticConstraintScope, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObjectMeta, w as SemanticRuleOperator, x as SemanticRelationshipData, y as SemanticObjectScope } from "../../types-
|
|
1
|
+
import { C as SemanticRuleExpression, D as UpdateSemanticObjectMeta, E as SemanticValidationQuery, S as SemanticRelationshipJoinType, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, c as SemanticConstraintSeverity, d as SemanticFieldData, f as SemanticFieldRole, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, l as SemanticConstraintType, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, r as SemanticAiMetadata, s as SemanticConstraintScope, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObjectMeta, w as SemanticRuleOperator, x as SemanticRelationshipData, y as SemanticObjectScope } from "../../types-C_raqbl-.cjs";
|
|
2
2
|
export { CreateSemanticObjectMeta, MetastoreClient, SemanticAiMetadata, SemanticChildObjectDataMap, SemanticChildObjectType, SemanticConstraintData, SemanticConstraintScope, SemanticConstraintSeverity, SemanticConstraintType, SemanticDatasetData, SemanticFieldData, SemanticFieldRole, SemanticGlossaryData, SemanticMetricData, SemanticModelChildRef, SemanticModelData, SemanticObject, SemanticObjectMeta, SemanticObjectScope, SemanticObjectType, SemanticRelationshipData, SemanticRelationshipJoinType, SemanticRuleExpression, SemanticRuleOperator, SemanticUnreadableObjectRef, SemanticValidationQuery, UpdateSemanticObjectMeta };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as SemanticRuleExpression, D as UpdateSemanticObjectMeta, E as SemanticValidationQuery, S as SemanticRelationshipJoinType, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, c as SemanticConstraintSeverity, d as SemanticFieldData, f as SemanticFieldRole, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, l as SemanticConstraintType, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, r as SemanticAiMetadata, s as SemanticConstraintScope, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObjectMeta, w as SemanticRuleOperator, x as SemanticRelationshipData, y as SemanticObjectScope } from "../../types-
|
|
1
|
+
import { C as SemanticRuleExpression, D as UpdateSemanticObjectMeta, E as SemanticValidationQuery, S as SemanticRelationshipJoinType, T as SemanticUnreadableObjectRef, _ as SemanticObject, a as SemanticChildObjectType, b as SemanticObjectType, c as SemanticConstraintSeverity, d as SemanticFieldData, f as SemanticFieldRole, g as SemanticModelData, h as SemanticModelChildRef, i as SemanticChildObjectDataMap, l as SemanticConstraintType, m as SemanticMetricData, n as MetastoreClient, o as SemanticConstraintData, p as SemanticGlossaryData, r as SemanticAiMetadata, s as SemanticConstraintScope, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObjectMeta, w as SemanticRuleOperator, x as SemanticRelationshipData, y as SemanticObjectScope } from "../../types-Vu09EUZs.js";
|
|
2
2
|
export { CreateSemanticObjectMeta, MetastoreClient, SemanticAiMetadata, SemanticChildObjectDataMap, SemanticChildObjectType, SemanticConstraintData, SemanticConstraintScope, SemanticConstraintSeverity, SemanticConstraintType, SemanticDatasetData, SemanticFieldData, SemanticFieldRole, SemanticGlossaryData, SemanticMetricData, SemanticModelChildRef, SemanticModelData, SemanticObject, SemanticObjectMeta, SemanticObjectScope, SemanticObjectType, SemanticRelationshipData, SemanticRelationshipJoinType, SemanticRuleExpression, SemanticRuleOperator, SemanticUnreadableObjectRef, SemanticValidationQuery, UpdateSemanticObjectMeta };
|
package/dist/sdk/tag/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as KeboolaObjectId } from "../../index-BfqkgPGI.cjs";
|
|
2
|
-
import { S as MetaObject } from "../../types
|
|
3
|
-
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "../../types-
|
|
2
|
+
import { S as MetaObject } from "../../types-DXF6faow.cjs";
|
|
3
|
+
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "../../types-CwGbiMF-.cjs";
|
|
4
4
|
//#region src/sdks/tag/tagSdk.d.ts
|
|
5
5
|
type Options = {
|
|
6
6
|
metastoreClient: MetastoreClient;
|
package/dist/sdk/tag/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as KeboolaObjectId } from "../../index-BfqkgPGI.js";
|
|
2
|
-
import { S as MetaObject } from "../../types-
|
|
3
|
-
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "../../types-
|
|
2
|
+
import { S as MetaObject } from "../../types-C9VaQSqV.js";
|
|
3
|
+
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "../../types-C-GSYDTN.js";
|
|
4
4
|
//#region src/sdks/tag/tagSdk.d.ts
|
|
5
5
|
type Options = {
|
|
6
6
|
metastoreClient: MetastoreClient;
|
package/dist/sdk/tag/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, r as TagBindingData, t as CreateMetaObjectMetaDataInput } from "../../types-
|
|
1
|
+
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, r as TagBindingData, t as CreateMetaObjectMetaDataInput } from "../../types-CwGbiMF-.cjs";
|
|
2
2
|
export { CreateMetaObjectMetaDataInput, MetastoreClient, TagBindingData, TagData, TagWithBindings, UpdateMetaObjectMetaDataInput };
|
package/dist/sdk/tag/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, r as TagBindingData, t as CreateMetaObjectMetaDataInput } from "../../types-
|
|
1
|
+
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, r as TagBindingData, t as CreateMetaObjectMetaDataInput } from "../../types-C-GSYDTN.js";
|
|
2
2
|
export { CreateMetaObjectMetaDataInput, MetastoreClient, TagBindingData, TagData, TagWithBindings, UpdateMetaObjectMetaDataInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as isVariableEncryptionRequired, ct as vaultRef, it as isSameVariable, lt as createVaultSdk, ot as isVariableOauth, st as partitionByOauth, ut as EncryptionCtx } from "../../index-C40Fbj-6.cjs";
|
|
2
2
|
export { type EncryptionCtx, createVaultSdk, isSameVariable, isVariableEncryptionRequired, isVariableOauth, partitionByOauth, vaultRef };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as isVariableEncryptionRequired, ct as vaultRef, it as isSameVariable, lt as createVaultSdk, ot as isVariableOauth, st as partitionByOauth, ut as EncryptionCtx } from "../../index-B3QTeqfL.js";
|
|
2
2
|
export { type EncryptionCtx, createVaultSdk, isSameVariable, isVariableEncryptionRequired, isVariableOauth, partitionByOauth, vaultRef };
|
package/dist/status/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-sOM2_KPc.cjs";
|
|
2
2
|
import { Maintenance, StatusSummary } from "./types.cjs";
|
|
3
3
|
//#region src/clients/status/statusClient.d.ts
|
|
4
4
|
declare const createStatusClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
|
package/dist/status/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-D3H3EAre.js";
|
|
2
2
|
import { Maintenance, StatusSummary } from "./types.js";
|
|
3
3
|
//#region src/clients/status/statusClient.d.ts
|
|
4
4
|
declare const createStatusClient: ({ baseUrl, middlewares }: Omit<ClientInitOptions, 'auth'>) => {
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_storage = require("../storage-
|
|
2
|
+
const require_storage = require("../storage-CVBXivpB.cjs");
|
|
3
3
|
const require_UserError = require("../UserError-CSGO1qII.cjs");
|
|
4
4
|
const require_createFetchClient = require("../createFetchClient-lZ_93Yrb.cjs");
|
|
5
5
|
const require_validateConnectionStatus = require("../validateConnectionStatus-BalWEyRk.cjs");
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $r as ManagementSessionMintError, C as isValidationError, E as isStorageJobError, Rr as QueueJobError, S as formatValidationIssues, T as StorageJobError, _ as isAbortError, ci as ApiError, ei as ManagementClientAuthError, g as FetchClientError, ni as isHtmlResponseError, ti as HtmlResponseError, v as isApiError, w as parseOrThrow, x as ValidationError, y as isFetchClientError, zr as isQueueJobError } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { $r as ManagementSessionMintError, C as isValidationError, E as isStorageJobError, Rr as QueueJobError, S as formatValidationIssues, T as StorageJobError, _ as isAbortError, ci as ApiError, ei as ManagementClientAuthError, g as FetchClientError, ni as isHtmlResponseError, ti as HtmlResponseError, v as isApiError, w as parseOrThrow, x as ValidationError, y as isFetchClientError, zr as isQueueJobError } from "../index-ChDl6ig5.cjs";
|
|
2
|
+
import { At as isSqlWorkspaceConnection, Gs as QueryJobError, Hs as isSyncActionError, Ks as isQueryJobError, Ot as fromBackendSubscribers, Us as ServiceUnavailableError, Vs as SyncActionError, Ws as readableReason, _ as StorageGenericFetchClient, kt as toBackendSubscribers, qs as UserError, v as StorageOpenApiFetchClient, y as createStorageClient } from "../index-C40Fbj-6.cjs";
|
|
3
3
|
export { ApiError, type FetchClientError, HtmlResponseError, ManagementClientAuthError, ManagementSessionMintError, QueryJobError, QueueJobError, ServiceUnavailableError, StorageGenericFetchClient, StorageJobError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueueJobError, isSqlWorkspaceConnection, isStorageJobError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $r as ManagementSessionMintError, C as isValidationError, E as isStorageJobError, Rr as QueueJobError, S as formatValidationIssues, T as StorageJobError, _ as isAbortError, ci as ApiError, ei as ManagementClientAuthError, g as FetchClientError, ni as isHtmlResponseError, ti as HtmlResponseError, v as isApiError, w as parseOrThrow, x as ValidationError, y as isFetchClientError, zr as isQueueJobError } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { $r as ManagementSessionMintError, C as isValidationError, E as isStorageJobError, Rr as QueueJobError, S as formatValidationIssues, T as StorageJobError, _ as isAbortError, ci as ApiError, ei as ManagementClientAuthError, g as FetchClientError, ni as isHtmlResponseError, ti as HtmlResponseError, v as isApiError, w as parseOrThrow, x as ValidationError, y as isFetchClientError, zr as isQueueJobError } from "../index-sDHBkJhU.js";
|
|
2
|
+
import { At as isSqlWorkspaceConnection, Gs as QueryJobError, Hs as isSyncActionError, Ks as isQueryJobError, Ot as fromBackendSubscribers, Us as ServiceUnavailableError, Vs as SyncActionError, Ws as readableReason, _ as StorageGenericFetchClient, kt as toBackendSubscribers, qs as UserError, v as StorageOpenApiFetchClient, y as createStorageClient } from "../index-B3QTeqfL.js";
|
|
3
3
|
export { ApiError, type FetchClientError, HtmlResponseError, ManagementClientAuthError, ManagementSessionMintError, QueryJobError, QueueJobError, ServiceUnavailableError, StorageGenericFetchClient, StorageJobError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueueJobError, isSqlWorkspaceConnection, isStorageJobError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
|
package/dist/storage/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as StorageJobError, c as readableReason, i as toBackendSubscribers, n as isSqlWorkspaceConnection, o as isStorageJobError, r as fromBackendSubscribers, s as ServiceUnavailableError, t as createStorageClient } from "../storage-
|
|
1
|
+
import { a as StorageJobError, c as readableReason, i as toBackendSubscribers, n as isSqlWorkspaceConnection, o as isStorageJobError, r as fromBackendSubscribers, s as ServiceUnavailableError, t as createStorageClient } from "../storage-BR-Kgi-6.js";
|
|
2
2
|
import { t as UserError } from "../UserError-By_Zckmc.js";
|
|
3
3
|
import { i as isFetchClientError, n as isAbortError, p as ApiError, r as isApiError } from "../createFetchClient-CkHdS_IG.js";
|
|
4
4
|
import { n as HtmlResponseError, r as isHtmlResponseError } from "../validateConnectionStatus-DyrYpn0G.js";
|