@keboola/api-client 48.0.0 → 49.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 +1 -1
- package/API-SURFACE.md +3 -2
- package/CHANGELOG.md +34 -0
- package/dist/{adminRoles-DsoGQipO.d.ts → adminRoles-BX1gk3At.d.ts} +2 -2
- package/dist/{adminRoles-BgpaBE7h.d.cts → adminRoles-BbxFgfX-.d.cts} +2 -2
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/{appLogs-DpcqeOe5.d.ts → appLogs-DI2Y4imY.d.ts} +2 -2
- package/dist/{appLogs-SjrflOHk.d.cts → appLogs-IhRA3xyv.d.cts} +2 -2
- package/dist/apps/index.cjs +1 -1
- package/dist/apps/index.cjs.map +1 -1
- package/dist/apps/index.d.cts +6 -3
- package/dist/apps/index.d.ts +6 -3
- package/dist/apps/index.js +1 -1
- 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-BYIGzL_u.d.ts → authClient-6Aau_4Zt.d.ts} +4 -4
- package/dist/{authClient-D06srBQE.d.cts → authClient-B3P6WtWW.d.cts} +4 -4
- package/dist/billing/index.cjs +0 -1
- package/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.d.cts +27 -27
- package/dist/billing/index.d.ts +27 -27
- package/dist/billing/index.js +0 -1
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/types.d.cts +26 -22
- package/dist/billing/types.d.ts +26 -22
- 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-DKINmjA3.js → configurations-B44z6BSO.js} +2 -2
- package/dist/{configurations-DKINmjA3.js.map → configurations-B44z6BSO.js.map} +1 -1
- package/dist/{configurations-B2O8AAy0.cjs → configurations-Dkxsa3Uf.cjs} +2 -2
- package/dist/{configurations-B2O8AAy0.cjs.map → configurations-Dkxsa3Uf.cjs.map} +1 -1
- package/dist/constants/index.cjs +4 -1
- package/dist/constants/index.d.cts +4 -3
- package/dist/constants/index.d.ts +4 -3
- package/dist/constants/index.js +2 -2
- package/dist/{constants-a0jswUeK.cjs → constants-DErcRkWl.cjs} +95 -2
- package/dist/constants-DErcRkWl.cjs.map +1 -0
- package/dist/{constants-CA4UN2Xv.js → constants-VpSwBtCb.js} +78 -3
- package/dist/constants-VpSwBtCb.js.map +1 -0
- 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 +7 -42
- package/dist/domain/permissions/index.d.cts +6 -2
- package/dist/domain/permissions/index.d.ts +6 -2
- package/dist/domain/permissions/index.js +2 -38
- package/dist/domain/storageTable/index.d.cts +1 -1
- package/dist/domain/storageTable/index.d.ts +1 -1
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/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-Cc5wSIRJ.d.cts → index-BM_fXKq5.d.cts} +5 -5
- package/dist/{index-ChDl6ig5.d.cts → index-BPMr8PQJ.d.ts} +16 -3
- package/dist/{index-CzHrIfZS.d.ts → index-BT88-GpA.d.ts} +73 -3
- package/dist/{index-ByLCYBaw.d.cts → index-BVjhAkXW.d.cts} +4 -4
- package/dist/{index-C40Fbj-6.d.cts → index-Be2dNJ_N.d.cts} +71 -64
- package/dist/{index-m7fX76x3.d.ts → index-BiZR9BjN.d.ts} +4 -4
- package/dist/{index-BLvmyehw.d.ts → index-C6oPUTWZ.d.ts} +3 -3
- package/dist/{index-sDHBkJhU.d.ts → index-CL4iKFic.d.cts} +16 -3
- package/dist/{index-Co2Cd-nw.d.cts → index-CbZQCDkD.d.cts} +3 -3
- package/dist/{index-D91RxB_S.d.cts → index-CrrHvDiX.d.cts} +4 -4
- package/dist/{index-CpUYVB-d.d.cts → index-CtQl-Iqw.d.cts} +4 -4
- package/dist/{index-avzO5sLa.d.ts → index-D6JMbJ9b.d.ts} +4 -4
- package/dist/{index-BCjU-g9t.d.cts → index-DGKCTQkb.d.cts} +3 -3
- package/dist/{index-BIldED4N.d.ts → index-DReKz9Zt.d.ts} +4 -4
- package/dist/{index-CpGmmJbt.d.cts → index-DYNVbgm8.d.cts} +4 -4
- package/dist/{index-BTrxCk90.d.ts → index-DhZTIejy.d.ts} +3 -3
- package/dist/{index-BHiJu8LF.d.cts → index-Dkb8CynB.d.cts} +16 -5
- package/dist/{index-DlZiWfQb.d.ts → index-DorowSay.d.ts} +16 -5
- package/dist/{index-VlzlOBkc.d.cts → index-PqJGDHHl.d.cts} +73 -3
- package/dist/{index-DzLXtE4Q.d.ts → index-XcnkRVb0.d.ts} +5 -5
- package/dist/{index-CIqWOEWD.d.ts → index-dgu6udMy.d.ts} +4 -4
- package/dist/{index-P1vR966i.d.cts → index-fMoM8SeH.d.cts} +4 -4
- package/dist/{index-P1vR966i.d.ts → index-fMoM8SeH.d.ts} +4 -4
- package/dist/{index-B3QTeqfL.d.ts → index-uGRdAORl.d.ts} +71 -64
- package/dist/index.cjs +10 -6
- 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 +8 -7
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.d.cts +2 -2
- package/dist/kaiAgent/index.d.ts +2 -2
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- 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.cjs +14 -0
- package/dist/management/types.cjs.map +1 -0
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/management/types.js +12 -1
- package/dist/management/types.js.map +1 -0
- package/dist/{management-CXHnxVaZ.cjs → management-B1o6RpKF.cjs} +9 -15
- package/dist/management-B1o6RpKF.cjs.map +1 -0
- package/dist/{management-NYAD6ej4.js → management-C9w3DNhs.js} +9 -15
- package/dist/management-C9w3DNhs.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/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-ClH22nzH.js +86 -0
- package/dist/project-ClH22nzH.js.map +1 -0
- package/dist/{project-nbv9yjpl.d.ts → project-DTfBtIJs.d.ts} +4 -3
- package/dist/project-Rh4nXiWh.cjs +139 -0
- package/dist/project-Rh4nXiWh.cjs.map +1 -0
- package/dist/{project-Dzu85cqr.d.cts → project-vOnvjo80.d.cts} +4 -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.d.cts +3 -3
- package/dist/sdk/developerPortal/index.d.ts +3 -3
- 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 +4 -1
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +2 -2
- package/dist/storage/types.d.cts +5 -5
- package/dist/storage/types.d.ts +5 -5
- package/dist/{storage-BR-Kgi-6.js → storage-CChfKlrb.js} +25 -2
- package/dist/{storage-CVBXivpB.cjs.map → storage-CChfKlrb.js.map} +1 -1
- package/dist/{storage-CVBXivpB.cjs → storage-Ci9gXgcw.cjs} +42 -1
- package/dist/storage-Ci9gXgcw.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-Cn8I0vcr.d.ts → types-0R9-osUJ.d.ts} +2 -2
- package/dist/{types-CfZLdfAL.d.ts → types-302-NBaU.d.ts} +3 -3
- package/dist/{types-BWYtQkHu.d.ts → types-45O2dU2w.d.ts} +2 -2
- package/dist/{types-DMpiG2q4.d.cts → types-BAsYMltG.d.cts} +2 -2
- package/dist/{types-Vu09EUZs.d.ts → types-BM6rri7-.d.ts} +3 -3
- package/dist/{types-BaqdM92a.d.ts → types-BOT6TgOS.d.ts} +2 -2
- package/dist/{types-CwQ8_n8q.d.ts → types-BT5e9TSQ.d.ts} +26 -27
- package/dist/{types-C-GSYDTN.d.ts → types-BUirSne-.d.ts} +3 -3
- package/dist/{types-1LENlL5h.d.ts → types-BWzt1ju_.d.ts} +3 -3
- package/dist/{types-Cc4yTEdK.d.ts → types-BXybSjn-.d.ts} +2 -2
- package/dist/{types-BXHZQvGy.d.ts → types-BZ--6pIt.d.ts} +2 -2
- package/dist/{types-BYFU_6Iz.d.ts → types-BjwbzqJd.d.ts} +2 -2
- package/dist/{types-EkyQ0_10.d.cts → types-BnmsuDfH.d.cts} +2 -2
- package/dist/{types-9d8ihjZh.d.cts → types-BrpIEj_N.d.ts} +2 -2
- package/dist/{types-D3mj56iq.d.cts → types-C614wC5h.d.cts} +2 -2
- package/dist/{types-Cfc-fYbq.d.cts → types-CTS2NSIb.d.cts} +2 -2
- package/dist/{types-CNkQuWnO.d.cts → types-CY8X39qv.d.cts} +3 -3
- package/dist/{types-D3H3EAre.d.ts → types-CeqZuOEC.d.ts} +2 -2
- package/dist/{types-DgOLSRiy.d.ts → types-CfXqFz2e.d.ts} +5 -3
- package/dist/{types-BbwrMl0Q.d.cts → types-ChLWY8aU.d.cts} +2 -2
- package/dist/{types-CwGbiMF-.d.cts → types-CjNl7O7f.d.cts} +3 -3
- package/dist/{types-C4eQ-Zcx.d.cts → types-CkJxMoTk.d.cts} +2 -2
- package/dist/{types-DXF6faow.d.cts → types-CpJhWBmH.d.cts} +2 -2
- package/dist/{types-c4h2YDMC.d.ts → types-D2Pb_4FA.d.cts} +2 -2
- package/dist/{types-VehpPOQX.d.ts → types-D53zBV25.d.ts} +2 -2
- package/dist/{types-Bt8CEZ6K.d.ts → types-D9ZKJYZk.d.ts} +2 -2
- package/dist/{types-DfJP6Dti.d.ts → types-DODAZKEm.d.ts} +2 -2
- package/dist/{types-wNuJUhco.d.cts → types-DV7K07oX.d.cts} +2 -2
- package/dist/{types-CXv_e6xC.d.cts → types-DbXV0g8U.d.cts} +2 -2
- package/dist/{types-UySfduQo.d.ts → types-DjadPty5.d.ts} +2 -2
- package/dist/{types-BTy_FFSu.d.ts → types-DlhNay1n.d.ts} +2 -2
- package/dist/{types-CrJIILXf.d.cts → types-DmzSFOhK.d.cts} +2 -2
- package/dist/{types-EmIcG-8K.d.cts → types-DpbrGDRf.d.cts} +2 -2
- package/dist/{types-Ce5Blzhg.d.ts → types-DqOxIujY.d.ts} +2 -2
- package/dist/{types-NSxpnYW5.d.cts → types-Duurgaqk.d.cts} +2 -2
- package/dist/{types-CpWE6Yg2.d.ts → types-Dy6EdWPG.d.ts} +2 -2
- package/dist/{types-6KabdIyO.d.cts → types-HmK8iKp5.d.cts} +3 -3
- package/dist/{types-DlgqPU_4.d.cts → types-JZ0Bdlpk.d.cts} +2 -2
- package/dist/{types-sOM2_KPc.d.cts → types-O6XM48J8.d.cts} +2 -2
- package/dist/{types-QPW-7dPm.d.ts → types-RogkWzOu.d.ts} +2 -2
- package/dist/{types-Dn1G-qv4.d.cts → types-TmrPVMhy.d.cts} +26 -27
- package/dist/{types-C9VaQSqV.d.ts → types-_zKX6JmD.d.ts} +2 -2
- package/dist/{types-0ZAMQhva.d.cts → types-dn6MHur3.d.cts} +5 -3
- package/dist/{types-BtS3DhGu.d.cts → types-jN2KmMet.d.cts} +2 -2
- package/dist/{types-D8d5tyGi.d.cts → types-jfPoUlO8.d.cts} +2 -2
- package/dist/{types-C_raqbl-.d.cts → types-ptynVnkv.d.cts} +3 -3
- package/dist/{types-B7L6uSYb.d.ts → types-tdIo5FpR.d.ts} +2 -2
- package/dist/{types-DSBrhK_K.d.cts → types-vvw_H7wp.d.cts} +2 -2
- 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/apps.md +7 -7
- package/surface/billing.md +2 -2
- package/surface/management.md +2 -1
- package/dist/constants-CA4UN2Xv.js.map +0 -1
- package/dist/constants-a0jswUeK.cjs.map +0 -1
- package/dist/domain/permissions/index.cjs.map +0 -1
- package/dist/domain/permissions/index.js.map +0 -1
- package/dist/management-CXHnxVaZ.cjs.map +0 -1
- package/dist/management-NYAD6ej4.js.map +0 -1
- package/dist/project-BXLFrWJ6.js +0 -45
- package/dist/project-BXLFrWJ6.js.map +0 -1
- package/dist/project-CpgplgCr.cjs +0 -62
- package/dist/project-CpgplgCr.cjs.map +0 -1
- package/dist/storage-BR-Kgi-6.js.map +0 -1
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
const require_adminRoles = require("./adminRoles-CO7J5qAy.cjs");
|
|
2
|
+
const require_configurations = require("./configurations-D9J3jh3g.cjs");
|
|
3
|
+
//#region src/domain/permissions/organization.ts
|
|
4
|
+
/**
|
|
5
|
+
* Whether this token's admin is a member of the organization owning the project.
|
|
6
|
+
*
|
|
7
|
+
* - A limited token has no `admin` block despite the type saying required.
|
|
8
|
+
* - Prefer `isOrganizationAdmin` for authorization decisions.
|
|
9
|
+
*/
|
|
10
|
+
const isOrganizationMember = (token) => token.isMasterToken && (token.admin?.isOrganizationMember ?? false);
|
|
11
|
+
/**
|
|
12
|
+
* `isOrganizationMember` AND `admin`/`share`.
|
|
13
|
+
*
|
|
14
|
+
* - An org member with a `readOnly` or `guest` role on this project still cannot write.
|
|
15
|
+
*/
|
|
16
|
+
const isOrganizationAdmin = (token) => isOrganizationMember(token) && require_configurations.isAdminOrShare(token);
|
|
17
|
+
const assertCanAdministerOrganization = (token) => {
|
|
18
|
+
if (!isOrganizationAdmin(token)) throw new require_configurations.PermissionDeniedError({
|
|
19
|
+
action: "administer-organization",
|
|
20
|
+
reason: token.isMasterToken ? `role '${token.admin?.role ?? "none"}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not administer organization settings` : "a limited (non-master) token may not administer organization settings"
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Whether this token may write Kai's spend caps: project cap, default and per-user limits.
|
|
25
|
+
*
|
|
26
|
+
* - Org-admin only, stricter than `canWriteKaiSettings`: caps commit the org's money.
|
|
27
|
+
* - A project whose own admin could raise its cap has no cap.
|
|
28
|
+
*/
|
|
29
|
+
const canWriteKaiSpendCaps = (token) => isOrganizationAdmin(token);
|
|
30
|
+
const assertCanWriteKaiSpendCaps = (token) => {
|
|
31
|
+
if (!canWriteKaiSpendCaps(token)) throw new require_configurations.PermissionDeniedError({
|
|
32
|
+
action: "write-kai-spend-caps",
|
|
33
|
+
reason: token.isMasterToken ? `role '${token.admin?.role ?? "none"}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not change Kai spend caps` : "a limited (non-master) token may not change Kai spend caps"
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/domain/permissions/storage.ts
|
|
38
|
+
/** Mirrors Connection's `CanListShareOptions` voter: the `share` role, or organization membership. */
|
|
39
|
+
const canListSharingTargets = (token) => isOrganizationMember(token) || token.isMasterToken && token.admin?.role === require_adminRoles.AdminRole.Share;
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/domain/project.ts
|
|
42
|
+
const hasFeature = (token, ...feature) => {
|
|
43
|
+
if (feature.length === 0) return false;
|
|
44
|
+
const projectFeatureSet = new Set(token.owner.features);
|
|
45
|
+
return feature.every((x) => projectFeatureSet.has(x));
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* The admin's features as the Storage token carries them.
|
|
49
|
+
*
|
|
50
|
+
* - The same list `createAdminAccount` reads from the Manage token: Connection serialises both
|
|
51
|
+
* from the admin row, so prefer the account where one is at hand — it also knows `isSuperAdmin`.
|
|
52
|
+
*/
|
|
53
|
+
const hasAdminFeature = (token, ...feature) => {
|
|
54
|
+
if (feature.length === 0) return false;
|
|
55
|
+
const adminFeatureSet = new Set(token.admin?.features ?? []);
|
|
56
|
+
return feature.every((x) => adminFeatureSet.has(x));
|
|
57
|
+
};
|
|
58
|
+
const createProject = ({ sapiToken }) => {
|
|
59
|
+
const { owner, admin } = sapiToken;
|
|
60
|
+
const projectFeatureSet = new Set(owner.features);
|
|
61
|
+
const adminFeatureSet = new Set(admin?.features ?? []);
|
|
62
|
+
const hasFeature = (...feature) => {
|
|
63
|
+
if (feature.length === 0) return false;
|
|
64
|
+
return feature.every((x) => projectFeatureSet.has(x));
|
|
65
|
+
};
|
|
66
|
+
const hasAdminFeature = (...feature) => {
|
|
67
|
+
if (feature.length === 0) return false;
|
|
68
|
+
return feature.every((x) => adminFeatureSet.has(x));
|
|
69
|
+
};
|
|
70
|
+
const hasBackend = (backend) => {
|
|
71
|
+
if (backend === "bigquery") return owner.hasBigquery;
|
|
72
|
+
if (backend === "snowflake") return owner.hasSnowflake;
|
|
73
|
+
return false;
|
|
74
|
+
};
|
|
75
|
+
return {
|
|
76
|
+
hasFeature,
|
|
77
|
+
hasAdminFeature,
|
|
78
|
+
hasBackend,
|
|
79
|
+
canListSharingTargets: canListSharingTargets(sapiToken),
|
|
80
|
+
sapiToken
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
//#endregion
|
|
84
|
+
Object.defineProperty(exports, "assertCanAdministerOrganization", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function() {
|
|
87
|
+
return assertCanAdministerOrganization;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "assertCanWriteKaiSpendCaps", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function() {
|
|
93
|
+
return assertCanWriteKaiSpendCaps;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "canListSharingTargets", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function() {
|
|
99
|
+
return canListSharingTargets;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "canWriteKaiSpendCaps", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function() {
|
|
105
|
+
return canWriteKaiSpendCaps;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "createProject", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function() {
|
|
111
|
+
return createProject;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "hasAdminFeature", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function() {
|
|
117
|
+
return hasAdminFeature;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "hasFeature", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function() {
|
|
123
|
+
return hasFeature;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "isOrganizationAdmin", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function() {
|
|
129
|
+
return isOrganizationAdmin;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "isOrganizationMember", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function() {
|
|
135
|
+
return isOrganizationMember;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
//# sourceMappingURL=project-Rh4nXiWh.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-Rh4nXiWh.cjs","names":["isAdminOrShare","PermissionDeniedError","AdminRole"],"sources":["../src/domain/permissions/organization.ts","../src/domain/permissions/storage.ts","../src/domain/project.ts"],"sourcesContent":["/**\n * @module domain/permissions/organization\n *\n * Organization-scope predicates, read from `admin.isOrganizationMember`, not the project role.\n * - In Keboola, org membership is org administration of every project the org owns.\n * - `isOrganizationMember` is a raw signal; nothing asserts on bare membership.\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\n\nimport { isAdminOrShare } from './admin';\nimport { PermissionDeniedError } from './errors';\n\n/**\n * Whether this token's admin is a member of the organization owning the project.\n *\n * - A limited token has no `admin` block despite the type saying required.\n * - Prefer `isOrganizationAdmin` for authorization decisions.\n */\nexport const isOrganizationMember = (token: StorageToken): boolean =>\n token.isMasterToken && (token.admin?.isOrganizationMember ?? false);\n\n/**\n * `isOrganizationMember` AND `admin`/`share`.\n *\n * - An org member with a `readOnly` or `guest` role on this project still cannot write.\n */\nexport const isOrganizationAdmin = (token: StorageToken): boolean =>\n isOrganizationMember(token) && isAdminOrShare(token);\n\nexport const assertCanAdministerOrganization = (token: StorageToken): void => {\n if (!isOrganizationAdmin(token)) {\n throw new PermissionDeniedError({\n action: 'administer-organization',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not administer organization settings`\n : 'a limited (non-master) token may not administer organization settings',\n });\n }\n};\n\n/**\n * Whether this token may write Kai's spend caps: project cap, default and per-user limits.\n *\n * - Org-admin only, stricter than `canWriteKaiSettings`: caps commit the org's money.\n * - A project whose own admin could raise its cap has no cap.\n */\nexport const canWriteKaiSpendCaps = (token: StorageToken): boolean => isOrganizationAdmin(token);\n\nexport const assertCanWriteKaiSpendCaps = (token: StorageToken): void => {\n if (!canWriteKaiSpendCaps(token)) {\n throw new PermissionDeniedError({\n action: 'write-kai-spend-caps',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' with isOrganizationMember=${token.admin?.isOrganizationMember ?? false} may not change Kai spend caps`\n : 'a limited (non-master) token may not change Kai spend caps',\n });\n }\n};\n","/**\n * @module domain/permissions/storage\n *\n * Storage-scope predicates.\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\nimport { AdminRole } from '../../constants/adminRoles';\n\nimport { isOrganizationMember } from './organization';\n\n/** Mirrors Connection's `CanListShareOptions` voter: the `share` role, or organization membership. */\nexport const canListSharingTargets = (token: StorageToken): boolean =>\n isOrganizationMember(token) || (token.isMasterToken && token.admin?.role === AdminRole.Share);\n","import type { Backend, StorageToken } from '../clients/storage/tokens/types';\n\nimport { canListSharingTargets } from './permissions/storage';\n\ntype Options = {\n sapiToken: StorageToken;\n};\n\nexport const hasFeature = (token: StorageToken, ...feature: string[]): boolean => {\n if (feature.length === 0) return false;\n const projectFeatureSet = new Set(token.owner.features);\n return feature.every((x) => projectFeatureSet.has(x));\n};\n\n/**\n * The admin's features as the Storage token carries them.\n *\n * - The same list `createAdminAccount` reads from the Manage token: Connection serialises both\n * from the admin row, so prefer the account where one is at hand — it also knows `isSuperAdmin`.\n */\nexport const hasAdminFeature = (token: StorageToken, ...feature: string[]): boolean => {\n if (feature.length === 0) return false;\n const adminFeatureSet = new Set(token.admin?.features ?? []);\n return feature.every((x) => adminFeatureSet.has(x));\n};\n\nexport const createProject = ({ sapiToken }: Options) => {\n const { owner, admin } = sapiToken;\n const projectFeatureSet = new Set(owner.features);\n // `verify` omits `admin` for a token created via `POST /v2/storage/tokens`, even though the type\n // declares it: an admin-less token holds no admin features, rather than failing to build at all.\n const adminFeatureSet = new Set(admin?.features ?? []);\n\n const hasFeature = (...feature: string[]) => {\n if (feature.length === 0) return false;\n return feature.every((x) => projectFeatureSet.has(x));\n };\n\n // Same list as `createAdminAccount`'s; prefer the account where one is at hand.\n const hasAdminFeature = (...feature: string[]) => {\n if (feature.length === 0) return false;\n return feature.every((x) => adminFeatureSet.has(x));\n };\n\n const hasBackend = (backend: Backend): boolean => {\n if (backend === 'bigquery') return owner.hasBigquery;\n if (backend === 'snowflake') return owner.hasSnowflake;\n return false;\n };\n\n return {\n hasFeature,\n hasAdminFeature,\n hasBackend,\n canListSharingTargets: canListSharingTargets(sapiToken),\n sapiToken,\n };\n};\n\nexport type Project = ReturnType<typeof createProject>;\n"],"mappings":";;;;;;;;;AAkBA,MAAa,wBAAwB,UACnC,MAAM,kBAAkB,MAAM,OAAO,wBAAwB;;;;;;AAO/D,MAAa,uBAAuB,UAClC,qBAAqB,KAAK,KAAKA,uBAAAA,eAAe,KAAK;AAErD,MAAa,mCAAmC,UAA8B;CAC5E,IAAI,CAAC,oBAAoB,KAAK,GAC5B,MAAM,IAAIC,uBAAAA,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,8BAA8B,MAAM,OAAO,wBAAwB,MAAM,6CAC9G;CACN,CAAC;AAEL;;;;;;;AAQA,MAAa,wBAAwB,UAAiC,oBAAoB,KAAK;AAE/F,MAAa,8BAA8B,UAA8B;CACvE,IAAI,CAAC,qBAAqB,KAAK,GAC7B,MAAM,IAAIA,uBAAAA,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,8BAA8B,MAAM,OAAO,wBAAwB,MAAM,kCAC9G;CACN,CAAC;AAEL;;;;AC9CA,MAAa,yBAAyB,UACpC,qBAAqB,KAAK,KAAM,MAAM,iBAAiB,MAAM,OAAO,SAASC,mBAAAA,UAAU;;;ACJzF,MAAa,cAAc,OAAqB,GAAG,YAA+B;CAChF,IAAI,QAAQ,WAAW,GAAG,OAAO;CACjC,MAAM,oBAAoB,IAAI,IAAI,MAAM,MAAM,QAAQ;CACtD,OAAO,QAAQ,OAAO,MAAM,kBAAkB,IAAI,CAAC,CAAC;AACtD;;;;;;;AAQA,MAAa,mBAAmB,OAAqB,GAAG,YAA+B;CACrF,IAAI,QAAQ,WAAW,GAAG,OAAO;CACjC,MAAM,kBAAkB,IAAI,IAAI,MAAM,OAAO,YAAY,CAAC,CAAC;CAC3D,OAAO,QAAQ,OAAO,MAAM,gBAAgB,IAAI,CAAC,CAAC;AACpD;AAEA,MAAa,iBAAiB,EAAE,gBAAyB;CACvD,MAAM,EAAE,OAAO,UAAU;CACzB,MAAM,oBAAoB,IAAI,IAAI,MAAM,QAAQ;CAGhD,MAAM,kBAAkB,IAAI,IAAI,OAAO,YAAY,CAAC,CAAC;CAErD,MAAM,cAAc,GAAG,YAAsB;EAC3C,IAAI,QAAQ,WAAW,GAAG,OAAO;EACjC,OAAO,QAAQ,OAAO,MAAM,kBAAkB,IAAI,CAAC,CAAC;CACtD;CAGA,MAAM,mBAAmB,GAAG,YAAsB;EAChD,IAAI,QAAQ,WAAW,GAAG,OAAO;EACjC,OAAO,QAAQ,OAAO,MAAM,gBAAgB,IAAI,CAAC,CAAC;CACpD;CAEA,MAAM,cAAc,YAA8B;EAChD,IAAI,YAAY,YAAY,OAAO,MAAM;EACzC,IAAI,YAAY,aAAa,OAAO,MAAM;EAC1C,OAAO;CACT;CAEA,OAAO;EACL;EACA;EACA;EACA,uBAAuB,sBAAsB,SAAS;EACtD;CACF;AACF"}
|
|
@@ -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-CL4iKFic.cjs";
|
|
2
|
+
import "./adminRoles-BbxFgfX-.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;
|
|
@@ -66,9 +66,10 @@ declare const createProject: ({ sapiToken }: Options) => {
|
|
|
66
66
|
hasFeature: (...feature: string[]) => boolean;
|
|
67
67
|
hasAdminFeature: (...feature: string[]) => boolean;
|
|
68
68
|
hasBackend: (backend: Backend) => boolean;
|
|
69
|
+
canListSharingTargets: boolean;
|
|
69
70
|
sapiToken: StorageToken;
|
|
70
71
|
};
|
|
71
72
|
type Project = ReturnType<typeof createProject>;
|
|
72
73
|
//#endregion
|
|
73
74
|
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-
|
|
75
|
+
//# sourceMappingURL=project-vOnvjo80.d.cts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as createQueryServiceClient } from "../index-
|
|
1
|
+
import { S as createQueryServiceClient } from "../index-Be2dNJ_N.cjs";
|
|
2
2
|
export { createQueryServiceClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as createQueryServiceClient } from "../index-
|
|
1
|
+
import { S as createQueryServiceClient } from "../index-uGRdAORl.js";
|
|
2
2
|
export { createQueryServiceClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-Be2dNJ_N.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 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-
|
|
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-uGRdAORl.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 { Xt as Poller } from "../index-
|
|
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-CL4iKFic.cjs";
|
|
2
|
+
import { Xt as Poller } from "../index-Be2dNJ_N.cjs";
|
|
3
|
+
import { n as ClientInitOptions } from "../types-O6XM48J8.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 { Xt as Poller } from "../index-
|
|
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-BPMr8PQJ.js";
|
|
2
|
+
import { Xt as Poller } from "../index-uGRdAORl.js";
|
|
3
|
+
import { n as ClientInitOptions } from "../types-CeqZuOEC.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-CL4iKFic.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-BPMr8PQJ.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-O6XM48J8.cjs";
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-C614wC5h.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-CeqZuOEC.js";
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-45O2dU2w.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-C614wC5h.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-45O2dU2w.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-Dkxsa3Uf.cjs");
|
|
3
3
|
exports.createConfigurationSdk = require_configurations.createConfigurationSdk;
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-Be2dNJ_N.cjs";
|
|
2
|
+
import { t as Project } from "../../project-vOnvjo80.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 { 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-
|
|
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-uGRdAORl.js";
|
|
2
|
+
import { t as Project } from "../../project-DTfBtIJs.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-B44z6BSO.js";
|
|
2
2
|
export { createConfigurationSdk };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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 { li as MiddlewareFn } from "../../index-CL4iKFic.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-BAsYMltG.cjs";
|
|
3
|
+
import { t as DeveloperPortalTokens } from "../../index-DYNVbgm8.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 {
|
|
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 { li as MiddlewareFn } from "../../index-BPMr8PQJ.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-0R9-osUJ.js";
|
|
3
|
+
import { t as DeveloperPortalTokens } from "../../index-BiZR9BjN.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,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-CY8X39qv.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-BWzt1ju_.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-CY8X39qv.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-BWzt1ju_.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-Be2dNJ_N.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-uGRdAORl.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-ptynVnkv.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-BM6rri7-.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-ptynVnkv.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-BM6rri7-.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-CpJhWBmH.cjs";
|
|
3
|
+
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "../../types-CjNl7O7f.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-_zKX6JmD.js";
|
|
3
|
+
import { a as TagWithBindings, i as TagData, n as MetastoreClient, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "../../types-BUirSne-.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-CjNl7O7f.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-BUirSne-.js";
|
|
2
2
|
export { CreateMetaObjectMetaDataInput, MetastoreClient, TagBindingData, TagData, TagWithBindings, UpdateMetaObjectMetaDataInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-Be2dNJ_N.cjs";
|
|
2
2
|
export { type EncryptionCtx, createVaultSdk, isSameVariable, isVariableEncryptionRequired, isVariableOauth, partitionByOauth, vaultRef };
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-uGRdAORl.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-O6XM48J8.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-CeqZuOEC.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-Ci9gXgcw.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");
|
|
@@ -26,12 +26,15 @@ exports.isAbortError = require_createFetchClient.isAbortError;
|
|
|
26
26
|
exports.isApiError = require_createFetchClient.isApiError;
|
|
27
27
|
exports.isFetchClientError = require_createFetchClient.isFetchClientError;
|
|
28
28
|
exports.isHtmlResponseError = require_validateConnectionStatus.isHtmlResponseError;
|
|
29
|
+
exports.isManageError = require_storage.isManageError;
|
|
29
30
|
exports.isQueryJobError = require_QueryJobError.isQueryJobError;
|
|
30
31
|
exports.isQueueJobError = require_QueueJobError.isQueueJobError;
|
|
31
32
|
exports.isSqlWorkspaceConnection = require_storage.isSqlWorkspaceConnection;
|
|
32
33
|
exports.isStorageJobError = require_storage.isStorageJobError;
|
|
33
34
|
exports.isSyncActionError = require_SyncActionError.isSyncActionError;
|
|
34
35
|
exports.isValidationError = require_ValidationError.isValidationError;
|
|
36
|
+
exports.manageErrorCode = require_storage.manageErrorCode;
|
|
35
37
|
exports.parseOrThrow = require_ValidationError.parseOrThrow;
|
|
36
38
|
exports.readableReason = require_storage.readableReason;
|
|
39
|
+
exports.retryAfterSeconds = require_storage.retryAfterSeconds;
|
|
37
40
|
exports.toBackendSubscribers = require_storage.toBackendSubscribers;
|
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,
|
|
2
|
-
import { At as isSqlWorkspaceConnection, Gs as
|
|
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 };
|
|
1
|
+
import { $r as ManagementSessionMintError, C as isValidationError, E as isStorageJobError, Rr as QueueJobError, S as formatValidationIssues, T as StorageJobError, _ as isAbortError, ai as isHtmlResponseError, di as ApiError, ei as ManagementClientAuthError, g as FetchClientError, ii as HtmlResponseError, ni as manageErrorCode, ti as isManageError, v as isApiError, w as parseOrThrow, x as ValidationError, y as isFetchClientError, zr as isQueueJobError } from "../index-CL4iKFic.cjs";
|
|
2
|
+
import { At as isSqlWorkspaceConnection, Gs as readableReason, Hs as isSyncActionError, Js as UserError, Ks as QueryJobError, Ot as fromBackendSubscribers, Us as ServiceUnavailableError, Vs as SyncActionError, Ws as retryAfterSeconds, _ as StorageGenericFetchClient, kt as toBackendSubscribers, qs as isQueryJobError, v as StorageOpenApiFetchClient, y as createStorageClient } from "../index-Be2dNJ_N.cjs";
|
|
3
|
+
export { ApiError, type FetchClientError, HtmlResponseError, ManagementClientAuthError, ManagementSessionMintError, QueryJobError, QueueJobError, ServiceUnavailableError, StorageGenericFetchClient, StorageJobError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isManageError, isQueryJobError, isQueueJobError, isSqlWorkspaceConnection, isStorageJobError, isSyncActionError, isValidationError, manageErrorCode, parseOrThrow, readableReason, retryAfterSeconds, 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,
|
|
2
|
-
import { At as isSqlWorkspaceConnection, Gs as
|
|
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 };
|
|
1
|
+
import { $r as ManagementSessionMintError, C as isValidationError, E as isStorageJobError, Rr as QueueJobError, S as formatValidationIssues, T as StorageJobError, _ as isAbortError, ai as isHtmlResponseError, di as ApiError, ei as ManagementClientAuthError, g as FetchClientError, ii as HtmlResponseError, ni as manageErrorCode, ti as isManageError, v as isApiError, w as parseOrThrow, x as ValidationError, y as isFetchClientError, zr as isQueueJobError } from "../index-BPMr8PQJ.js";
|
|
2
|
+
import { At as isSqlWorkspaceConnection, Gs as readableReason, Hs as isSyncActionError, Js as UserError, Ks as QueryJobError, Ot as fromBackendSubscribers, Us as ServiceUnavailableError, Vs as SyncActionError, Ws as retryAfterSeconds, _ as StorageGenericFetchClient, kt as toBackendSubscribers, qs as isQueryJobError, v as StorageOpenApiFetchClient, y as createStorageClient } from "../index-uGRdAORl.js";
|
|
3
|
+
export { ApiError, type FetchClientError, HtmlResponseError, ManagementClientAuthError, ManagementSessionMintError, QueryJobError, QueueJobError, ServiceUnavailableError, StorageGenericFetchClient, StorageJobError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isManageError, isQueryJobError, isQueueJobError, isSqlWorkspaceConnection, isStorageJobError, isSyncActionError, isValidationError, manageErrorCode, parseOrThrow, readableReason, retryAfterSeconds, toBackendSubscribers };
|
package/dist/storage/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as StorageJobError, c as
|
|
1
|
+
import { a as StorageJobError, c as retryAfterSeconds, d as manageErrorCode, i as toBackendSubscribers, l as readableReason, n as isSqlWorkspaceConnection, o as isStorageJobError, r as fromBackendSubscribers, s as ServiceUnavailableError, t as createStorageClient, u as isManageError } from "../storage-CChfKlrb.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";
|
|
@@ -7,4 +7,4 @@ import { n as isQueryJobError, t as QueryJobError } from "../QueryJobError-ZZZ04
|
|
|
7
7
|
import { n as isQueueJobError, t as QueueJobError } from "../QueueJobError-8bThS_Mc.js";
|
|
8
8
|
import { n as isSyncActionError, t as SyncActionError } from "../SyncActionError-CoZFsdUk.js";
|
|
9
9
|
import { i as parseOrThrow, n as formatValidationIssues, r as isValidationError, t as ValidationError } from "../ValidationError-DjhtNMfZ.js";
|
|
10
|
-
export { ApiError, HtmlResponseError, ManagementClientAuthError, ManagementSessionMintError, QueryJobError, QueueJobError, ServiceUnavailableError, StorageJobError, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueueJobError, isSqlWorkspaceConnection, isStorageJobError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
|
|
10
|
+
export { ApiError, HtmlResponseError, ManagementClientAuthError, ManagementSessionMintError, QueryJobError, QueueJobError, ServiceUnavailableError, StorageJobError, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isManageError, isQueryJobError, isQueueJobError, isSqlWorkspaceConnection, isStorageJobError, isSyncActionError, isValidationError, manageErrorCode, parseOrThrow, readableReason, retryAfterSeconds, toBackendSubscribers };
|