@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 { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/management/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -1488,6 +1488,26 @@ type paths = {
|
|
|
1488
1488
|
patch: operations['patch_/manage/organizations/{id}/force-mfa::OrganizationSetMfaRequiredAction'];
|
|
1489
1489
|
trace?: never;
|
|
1490
1490
|
};
|
|
1491
|
+
'/manage/programmatic-projects/claim': {
|
|
1492
|
+
parameters: {
|
|
1493
|
+
query?: never;
|
|
1494
|
+
header?: never;
|
|
1495
|
+
path?: never;
|
|
1496
|
+
cookie?: never;
|
|
1497
|
+
};
|
|
1498
|
+
/**
|
|
1499
|
+
* Read the parked agent-project claim
|
|
1500
|
+
* @description Reports whether the browser carries a claim cookie, with the claim's id and the name of the project it hands over. Never returns the claim secret. Answers `present: true` only to a same-origin request that carries the cookie: `SameSite=Lax` keeps it off cross-site fetches and the wildcard CORS rule allows no credentials.
|
|
1501
|
+
*/
|
|
1502
|
+
get: operations['get_/manage/programmatic-projects/claim::ProgrammaticProjectClaimDetailAction'];
|
|
1503
|
+
put?: never;
|
|
1504
|
+
post?: never;
|
|
1505
|
+
delete?: never;
|
|
1506
|
+
options?: never;
|
|
1507
|
+
head?: never;
|
|
1508
|
+
patch?: never;
|
|
1509
|
+
trace?: never;
|
|
1510
|
+
};
|
|
1491
1511
|
'/manage/programmatic-projects/confirm': {
|
|
1492
1512
|
parameters: {
|
|
1493
1513
|
query?: never;
|
|
@@ -2444,7 +2464,7 @@ type paths = {
|
|
|
2444
2464
|
*
|
|
2445
2465
|
* A backend uses one taxonomy. Pass the existing one as the single item of `resourceScopes`, or `createTaxonomy=true` for a new one in `roleProject`; a second taxonomy is refused. The taxonomy must be in the backend region, and in `roleProject`: the custom roles are project-level and can be granted only on resources of their own project.
|
|
2446
2466
|
*
|
|
2447
|
-
* Available to a super admin
|
|
2467
|
+
* Available to a super admin only, the same as creating a BigQuery backend.
|
|
2448
2468
|
*/
|
|
2449
2469
|
get: operations['get_/manage/storage-backend/{id}/policy-tags/enablement-guide::StorageBackendPolicyTagEnablementGuideAction'];
|
|
2450
2470
|
put?: never;
|
|
@@ -5718,6 +5738,20 @@ type components = {
|
|
|
5718
5738
|
};
|
|
5719
5739
|
};
|
|
5720
5740
|
OrganizationsListResponse: components['schemas']['OrganizationListResponse'][];
|
|
5741
|
+
ProgrammaticProjectClaimDetailResponse: {
|
|
5742
|
+
/** @description Whether the browser carries a parked claim. */
|
|
5743
|
+
present: boolean;
|
|
5744
|
+
/**
|
|
5745
|
+
* @description The claim's safe-to-log id, never its secret. `null` when the cookie does not parse.
|
|
5746
|
+
* @example 01a00eb0-2b6c-7496-9520-d6f4cae52015
|
|
5747
|
+
*/
|
|
5748
|
+
claimId?: string | null;
|
|
5749
|
+
/**
|
|
5750
|
+
* @description The project the claim hands over. `null` when it cannot be resolved.
|
|
5751
|
+
* @example Agent project
|
|
5752
|
+
*/
|
|
5753
|
+
projectName?: string | null;
|
|
5754
|
+
};
|
|
5721
5755
|
ConfirmProgrammaticProjectRequest2: {
|
|
5722
5756
|
/**
|
|
5723
5757
|
* Null when the body carried no token. The caller resolves the effective claim - see
|
|
@@ -6252,7 +6286,7 @@ type components = {
|
|
|
6252
6286
|
/** @description Backend region. */
|
|
6253
6287
|
region: string;
|
|
6254
6288
|
/** @description Associated legal owner (mostly: keboola, client-<name>). */
|
|
6255
|
-
owner: string;
|
|
6289
|
+
owner: string | null;
|
|
6256
6290
|
/** @description Associated technical owner (who technically manages the account). One of: keboola, internal, kbdb, byodb. */
|
|
6257
6291
|
technicalOwner: string;
|
|
6258
6292
|
/** @description Username used for the connection. */
|
|
@@ -6323,6 +6357,8 @@ type components = {
|
|
|
6323
6357
|
* @example something@else.iam.gserviceaccount.com
|
|
6324
6358
|
*/
|
|
6325
6359
|
serviceAccountEmail?: string | null;
|
|
6360
|
+
/** @description Detail endpoint only (absent on the list endpoint). Whether the BigQuery policy-tag capability is enabled on the backend. BigQuery backends only; absent otherwise. */
|
|
6361
|
+
policyTagsEnabled?: boolean;
|
|
6326
6362
|
};
|
|
6327
6363
|
StorageBackendListResponse: components['schemas']['StorageBackendDetailResponse'][];
|
|
6328
6364
|
StorageBackendMaintainerListResponse: {
|
|
@@ -6346,6 +6382,26 @@ type components = {
|
|
|
6346
6382
|
/** @description The guide: a Markdown document, or a Terraform module. */
|
|
6347
6383
|
content: string;
|
|
6348
6384
|
};
|
|
6385
|
+
PolicyTagEnablementGuideErrorResponse: {
|
|
6386
|
+
/** @description Human-readable reason, safe to show to the user. */
|
|
6387
|
+
error: string;
|
|
6388
|
+
/**
|
|
6389
|
+
* @description Machine-readable error code.
|
|
6390
|
+
* @example manage.storageBackend.invalidPolicyTagEnablementGuideRequest
|
|
6391
|
+
*/
|
|
6392
|
+
code?: string;
|
|
6393
|
+
/** @description Identifier of the error occurrence, for support. */
|
|
6394
|
+
exceptionId?: string;
|
|
6395
|
+
/** @description Per-parameter validation errors, present when a query parameter fails its format check. */
|
|
6396
|
+
errors?: {
|
|
6397
|
+
/**
|
|
6398
|
+
* @description The query parameter.
|
|
6399
|
+
* @example roleProject
|
|
6400
|
+
*/
|
|
6401
|
+
key: string;
|
|
6402
|
+
message: string;
|
|
6403
|
+
}[];
|
|
6404
|
+
};
|
|
6349
6405
|
StorageBackendProjectListResponse: {
|
|
6350
6406
|
/**
|
|
6351
6407
|
* @description Project identifier.
|
|
@@ -12322,6 +12378,26 @@ interface operations {
|
|
|
12322
12378
|
};
|
|
12323
12379
|
};
|
|
12324
12380
|
};
|
|
12381
|
+
'get_/manage/programmatic-projects/claim::ProgrammaticProjectClaimDetailAction': {
|
|
12382
|
+
parameters: {
|
|
12383
|
+
query?: never;
|
|
12384
|
+
header?: never;
|
|
12385
|
+
path?: never;
|
|
12386
|
+
cookie?: never;
|
|
12387
|
+
};
|
|
12388
|
+
requestBody?: never;
|
|
12389
|
+
responses: {
|
|
12390
|
+
/** @description The parked claim, or `present: false` when the browser carries none. */
|
|
12391
|
+
200: {
|
|
12392
|
+
headers: {
|
|
12393
|
+
[name: string]: unknown;
|
|
12394
|
+
};
|
|
12395
|
+
content: {
|
|
12396
|
+
'application/json': components['schemas']['ProgrammaticProjectClaimDetailResponse'];
|
|
12397
|
+
};
|
|
12398
|
+
};
|
|
12399
|
+
};
|
|
12400
|
+
};
|
|
12325
12401
|
'post_/manage/programmatic-projects/confirm::ProgrammaticProjectConfirmAction': {
|
|
12326
12402
|
parameters: {
|
|
12327
12403
|
query?: never;
|
|
@@ -12571,7 +12647,7 @@ interface operations {
|
|
|
12571
12647
|
};
|
|
12572
12648
|
content?: never;
|
|
12573
12649
|
};
|
|
12574
|
-
/** @description Returned when the feature is already assigned
|
|
12650
|
+
/** @description Returned when the feature is already assigned, the request is invalid, or the feature is `bigquery-policy-tags`, which is assigned per project only. */
|
|
12575
12651
|
422: {
|
|
12576
12652
|
headers: {
|
|
12577
12653
|
[name: string]: unknown;
|
|
@@ -12971,7 +13047,7 @@ interface operations {
|
|
|
12971
13047
|
};
|
|
12972
13048
|
content?: never;
|
|
12973
13049
|
};
|
|
12974
|
-
/** @description Returned when the feature is already assigned
|
|
13050
|
+
/** @description Returned when the feature is already assigned, cannot be managed via API, or is `bigquery-policy-tags` on a project whose BigQuery backend lacks the policy-tag capability. */
|
|
12975
13051
|
422: {
|
|
12976
13052
|
headers: {
|
|
12977
13053
|
[name: string]: unknown;
|
|
@@ -14578,7 +14654,7 @@ interface operations {
|
|
|
14578
14654
|
};
|
|
14579
14655
|
content?: never;
|
|
14580
14656
|
};
|
|
14581
|
-
/** @description Returned when the current admin is
|
|
14657
|
+
/** @description Returned when the current admin is neither a super admin nor holds the can-reactivate-workspaces feature. */
|
|
14582
14658
|
403: {
|
|
14583
14659
|
headers: {
|
|
14584
14660
|
[name: string]: unknown;
|
|
@@ -15252,7 +15328,7 @@ interface operations {
|
|
|
15252
15328
|
'application/json': components['schemas']['StorageBackendResponse'];
|
|
15253
15329
|
};
|
|
15254
15330
|
};
|
|
15255
|
-
/** @description Returned when the backend cannot be activated or validation fails (connection test, missing certificate, already-enabled certificate, unsupported backend). */
|
|
15331
|
+
/** @description Returned when the backend cannot be activated or validation fails (connection test, missing certificate, already-enabled certificate, unsupported backend, or a dynamic backend whose Snowflake account lacks the bare warehouse or a small, medium or large sized warehouse). */
|
|
15256
15332
|
400: {
|
|
15257
15333
|
headers: {
|
|
15258
15334
|
[name: string]: unknown;
|
|
@@ -15764,7 +15840,9 @@ interface operations {
|
|
|
15764
15840
|
headers: {
|
|
15765
15841
|
[name: string]: unknown;
|
|
15766
15842
|
};
|
|
15767
|
-
content
|
|
15843
|
+
content: {
|
|
15844
|
+
'application/json': components['schemas']['PolicyTagEnablementGuideErrorResponse'];
|
|
15845
|
+
};
|
|
15768
15846
|
};
|
|
15769
15847
|
/** @description Returned when the Manage token is missing or invalid. */
|
|
15770
15848
|
401: {
|
|
@@ -15773,7 +15851,7 @@ interface operations {
|
|
|
15773
15851
|
};
|
|
15774
15852
|
content?: never;
|
|
15775
15853
|
};
|
|
15776
|
-
/** @description Returned when the current admin is
|
|
15854
|
+
/** @description Returned when the current admin is not a super admin. */
|
|
15777
15855
|
403: {
|
|
15778
15856
|
headers: {
|
|
15779
15857
|
[name: string]: unknown;
|
|
@@ -15792,7 +15870,9 @@ interface operations {
|
|
|
15792
15870
|
headers: {
|
|
15793
15871
|
[name: string]: unknown;
|
|
15794
15872
|
};
|
|
15795
|
-
content
|
|
15873
|
+
content: {
|
|
15874
|
+
'application/json': components['schemas']['PolicyTagEnablementGuideErrorResponse'];
|
|
15875
|
+
};
|
|
15796
15876
|
};
|
|
15797
15877
|
};
|
|
15798
15878
|
};
|
|
@@ -17145,7 +17225,7 @@ interface operations {
|
|
|
17145
17225
|
};
|
|
17146
17226
|
content?: never;
|
|
17147
17227
|
};
|
|
17148
|
-
/** @description Returned when the current admin is
|
|
17228
|
+
/** @description Returned when the current admin is neither a super admin nor holds the can-reactivate-workspaces feature. */
|
|
17149
17229
|
403: {
|
|
17150
17230
|
headers: {
|
|
17151
17231
|
[name: string]: unknown;
|
|
@@ -17994,6 +18074,7 @@ type ConfirmProgrammaticProjectResult = {
|
|
|
17994
18074
|
};
|
|
17995
18075
|
confirmedByAdminId: number;
|
|
17996
18076
|
};
|
|
18077
|
+
type ProgrammaticProjectClaim = OpenapiReturnType<paths['/manage/programmatic-projects/claim']['get']>;
|
|
17997
18078
|
//#endregion
|
|
17998
18079
|
//#region src/clients/management/users/types.d.ts
|
|
17999
18080
|
type AddUserFeaturePath = {
|
|
@@ -18340,5 +18421,5 @@ type ProjectRetentionWorkspace = {
|
|
|
18340
18421
|
//#region src/clients/management/tokenTypes.d.ts
|
|
18341
18422
|
type ManagementToken = components['schemas']['ManageTokenVerifyResponse'];
|
|
18342
18423
|
//#endregion
|
|
18343
|
-
export { MoveProjectInput as $,
|
|
18344
|
-
//# sourceMappingURL=types-
|
|
18424
|
+
export { MoveProjectInput as $, SetUpBigQueryBody as $n, TopUpSetting as $t, UpdateStorageBackendInput as A, UpdateSamlConfigBody as An, OrganizationInvitation as Ar, DeleteUserMetadataPath as At, CreateProjectInvitationBody as B, OrganizationDetail as Bn, UserMaintainerMembership as Bt, StorageBackendBigquery as C, SamlConfigDetail as Cn, DeletedProjectPurgeResult as Cr, SetProjectMetadataPath as Ct, UpdateBigqueryStorageBackendBody as D, SetMaintainerMetadataInput as Dn, DeletedProjectsStats as Dr, UpdateProjectInput as Dt, StorageBackendProject as E, SetMaintainerMetadataBody as En, DeletedProjectsPage as Er, UpdateProjectBody as Et, ChangeProjectUserRoleBody as F, CreateOrganizationInvitationBody as Fn, CreateApplicationTokenBody as Fr, UpdateUserBody as Ft, GetProjectPath as G, OrganizationMetadataItemPath as Gn, ConfirmProgrammaticProjectResult as Gt, DeleteProjectInvitationPath as H, OrganizationInvitationPath as Hn, UserPath as Ht, ChangeProjectUserRoleInput as I, CreateOrganizationInvitationInput as In, CreatedApplicationToken as Ir, UpdateUserInput as It, JoinProjectInput as J, OrganizationUserPath as Jn, CreditPaymentRequest as Jt, GetProjectReviewersPath as K, OrganizationPath as Kn, ProgrammaticProjectClaim as Kt, ChangeProjectUserRolePath as L, CreateOrganizationProjectBody as Ln, components as Lr, User as Lt, AddProjectUserPath as M, AddOrganizationUserBody as Mn, ProjectJoinRequest as Mr, RemoveUserFeaturePath as Mt, AssignFeatureBody as N, AddOrganizationUserInput as Nn, ApplicationToken as Nr, SetUserMetadataBody as Nt, UpdateBigqueryStorageBackendInput as O, UpdateMaintainerBody as On, DeletedProjectsStatus as Or, AddUserFeatureBody as Ot, AssignProjectTemplateFeatureInput as P, AdminUser as Pn, ApplicationTokenScope as Pr, SetUserMetadataInput as Pt, MoveProjectBody as Q, UpdateOrganizationInput as Qn, StripeCustomerCard as Qt, CreateProjectFeatureBody as R, CreateOrganizationProjectInput as Rn, paths as Rr, UserDetail as Rt, StorageBackend as S, MetadataItem as Sn, DeletedProject as Sr, SetProjectMetadataBody as St, StorageBackendPath as T, SamlConfigSummary as Tn, DeletedProjectsListQuery as Tr, SetProjectReviewersPath as Tt, DeleteProjectMetadataPath as U, OrganizationListItem as Un, UserProjectMembership as Ut, CreateProjectInvitationPath as V, OrganizationInvitationDetail as Vn, UserOrganizationMembership as Vt, GetProjectMetadataPath as W, OrganizationMaintainer as Wn, ConfirmProgrammaticProjectPayload as Wt, ListProjectJoinRequestsPath as X, SetOrganizationMetadataInput as Xn, PayAsYouGoBillingConfiguration as Xt, ListProjectInvitationsPath as Y, SetOrganizationMetadataBody as Yn, CreditPurchase as Yt, ListProjectUsersPath as Z, UpdateOrganizationBody as Zn, StripeCustomer as Zt, PolicyTagEnablementGuide as _, MaintainerInvitationPath as _n, Feature as _r, Reviewer as _t, GetUiAppsQuery as a, CompleteSamlSetupInput as an, FileStorageGcs as ar, ProjectJoinRequestPath as at, PolicyTagEnablementGuideQuery as b, MaintainerUser as bn, FeatureType as br, SetProjectLimitsBody as bt, UiApp as c, CreateMaintainerInvitationInput as cn, RotateFileStorageAbsInput as cr, ProjectPath as ct, UiAppVersion as d, CreateSamlConfigBody as dn, RotateFileStorageGcsInput as dr, RemoveProjectFeaturePath as dt, UpdateStripeCustomerBody as en, CreateFileStorageAbsBody as er, Project as et, CreateBigqueryServerSideStorageBackendBody as f, CreateSamlConfigInput as fn, RotateFileStorageGcsPath as fr, RemoveProjectLimitPath as ft, GetStorageBackendProjectsQuery as g, MaintainerInvitationDetail as gn, UpdateFileStorageBody as gr, RequestProjectAccessInput as gt, CreateSnowflakeStorageBackendResponse as h, MaintainerDetail as hn, RotateFileStorageS3Path as hr, RequestProjectAccessBody as ht, ReactivateWorkspaceResult as i, CompleteSamlSetupBody as in, FileStorageAbs as ir, ProjectJoinRequestDetail as it, AddProjectUserBody as j, UpdateSamlConfigInput as jn, ProjectInvitation as jr, GetUsersQuery as jt, UpdateStorageBackendBody as k, UpdateMaintainerInput as kn, MaintainerInvitation as kr, AddUserFeaturePath as kt, UiAppDetail as l, CreateMaintainerOrganizationBody as ln, RotateFileStorageAbsPath as lr, ProjectTemplate as lt, CreateSnowflakeStorageBackendBody as m, Maintainer as mn, RotateFileStorageS3Input as mr, RemoveProjectUserPath as mt, ProjectRetentionWorkspace as n, AddMaintainerUserBody as nn, CreateFileStorageS3Body as nr, ProjectInvitableRole as nt, RegisterUiAppBody as o, CreateMaintainerBody as on, FileStorageS3 as or, ProjectMetadataInput as ot, CreateBigqueryStorageBackendBody as p, CreateSamlConfigPath as pn, RotateFileStorageS3Body as pr, RemoveProjectTemplateFeaturePath as pt, JoinProjectBody as q, OrganizationProject as qn, CreatePaymentRequestBody as qt, ProjectRetentionWorkspaceState as r, AddMaintainerUserInput as rn, FileStorage as rr, ProjectInvitationDetail as rt, RenameUiAppBody as s, CreateMaintainerInvitationBody as sn, RotateFileStorageAbsBody as sr, ProjectMetadataItem as st, ManagementToken as t, UpdateTopUpSettingBody as tn, CreateFileStorageGcsBody as tr, ProjectBase as tt, UiAppRegistrationResult as u, CreateMaintainerOrganizationInput as un, RotateFileStorageGcsBody as ur, ProjectTemplatePath as ut, PolicyTagEnablementGuideInput as v, MaintainerMetadataItemPath as vn, FeatureAdmin as vr, SetProjectDisabledBody as vt, StorageBackendMaintainer as w, SamlConfigPath as wn, DeletedProjectsListFilter as wr, SetProjectReviewersBody as wt, PolicyTagEnablementGuideSchemaQuery as x, MaintainerUserPath as xn, GetAllFeaturesQuery as xr, SetProjectLimitsInput as xt, PolicyTagEnablementGuidePath as y, MaintainerPath as yn, FeatureProject as yr, SetProjectDisabledInput as yt, CreateProjectFeaturePath as z, Organization as zn, UserListItem as zt };
|
|
18425
|
+
//# sourceMappingURL=types-Dn1G-qv4.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/auth/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -3880,4 +3880,4 @@ type RemoveWebauthnQuery = NonNullable<OpenapiQueryType<paths['/v1/auth/webauthn
|
|
|
3880
3880
|
type RemoveWebauthnInput = RemoveWebauthnPath & RemoveWebauthnQuery;
|
|
3881
3881
|
//#endregion
|
|
3882
3882
|
export { CreateDeviceAuthorizationBody as $, PatScopeInput as A, GetMeMaintainersResult as B, GetPkceTokenResult as C, ExchangePatBodyRaw as D, CreatePatResult as E, TotpVerifyResult as F, MeMaintainer as G, GetMeOrganizationsResult as H, VerifyMfaBody as I, MeResult as J, MeOrganization as K, VerifyMfaResult as L, DisableTotpPath as M, RegenerateRecoveryCodesResult as N, ExchangePatInput as O, TotpSetupResult as P, ApproveDeviceAuthorizationResult as Q, VerifyMfaType as R, GetPkceTokenBody as S, CreatePatInput as T, GetMeProjectsQuery as U, GetMeOrganizationsQuery as V, GetMeProjectsResult as W, LoginBody as X, MeUser as Y, ApproveDeviceAuthorizationBody as Z, RevokeSessionPath as _, RemoveWebauthnInput as a, InitiateSamlBody as b, IntrospectTokenResult as c, RefreshTokenResult as d, CreateDeviceAuthorizationResult as et, RevokeTokenBody as f, SudoResult as g, SudoChallengeResult as h, RegisterWebauthnResult as i, paths as it, RevokePatPath as j, ListPatsResult as k, RefreshTokenBody as l, SudoBodyRaw as m, RegisterWebauthnInput as n, GetDeviceAuthorizationTokenResult as nt, RemoveWebauthnPath as o, SudoBody as p, MeProject as q, RegisterWebauthnOptionsResult as r, components as rt, RemoveWebauthnQuery as s, ListWebauthnCredentialsResult as t, GetDeviceAuthorizationTokenBody as tt, RefreshTokenPartialBody as u, AssertSamlBody as v, CreatePatBodyRaw as w, InitiateSamlResult as x, AssertSamlResult as y, GetMeMaintainersQuery as z };
|
|
3883
|
-
//# sourceMappingURL=types-
|
|
3883
|
+
//# sourceMappingURL=types-EkyQ0_10.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-
|
|
1
|
+
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/telemetry/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -286,4 +286,4 @@ type GetProvisioningTokenBody = NonNullable<OpenapiBodyType<paths['/token']['pos
|
|
|
286
286
|
type ProvisioningToken = OpenapiReturnType<paths['/token']['post']>;
|
|
287
287
|
//#endregion
|
|
288
288
|
export { ProvisioningToken as n, GetProvisioningTokenBody as t };
|
|
289
|
-
//# sourceMappingURL=types-
|
|
289
|
+
//# sourceMappingURL=types-EmIcG-8K.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/kaiAgent/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -325,6 +325,10 @@ type paths = {
|
|
|
325
325
|
supportsApprovalRequestedEvent?: boolean;
|
|
326
326
|
/** @enum {string} */
|
|
327
327
|
client?: 'kbc-ui' | 'business-chat';
|
|
328
|
+
gitCredential?: {
|
|
329
|
+
repository: string;
|
|
330
|
+
token: string;
|
|
331
|
+
};
|
|
328
332
|
};
|
|
329
333
|
};
|
|
330
334
|
};
|
|
@@ -1049,7 +1053,7 @@ type paths = {
|
|
|
1049
1053
|
errorText?: string;
|
|
1050
1054
|
approval?: {
|
|
1051
1055
|
id: string;
|
|
1052
|
-
approved
|
|
1056
|
+
approved?: boolean;
|
|
1053
1057
|
reason?: string;
|
|
1054
1058
|
};
|
|
1055
1059
|
})[];
|
|
@@ -4332,4 +4336,4 @@ type ArtifactResponse = OpenapiReturnType<paths['/api/artifacts/{id}']['get']>;
|
|
|
4332
4336
|
type ArtifactListResponse = OpenapiReturnType<paths['/api/artifacts']['get']>;
|
|
4333
4337
|
//#endregion
|
|
4334
4338
|
export { ChatWithMessages as a, GetChatPath as c, PrepareChatRequest as d, UsageResponse as f, ChatRequest as i, GetHistoryQuery as l, ArtifactListResponse as n, GetArtifactPath as o, VoteRequest as p, ArtifactResponse as r, GetArtifactsQuery as s, ApprovalBody as t, GetVotesQuery as u };
|
|
4335
|
-
//# sourceMappingURL=types-
|
|
4339
|
+
//# sourceMappingURL=types-NSxpnYW5.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-
|
|
1
|
+
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-sDHBkJhU.js";
|
|
2
2
|
//#region src/clients/telemetry/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -286,4 +286,4 @@ type GetProvisioningTokenBody = NonNullable<OpenapiBodyType<paths['/token']['pos
|
|
|
286
286
|
type ProvisioningToken = OpenapiReturnType<paths['/token']['post']>;
|
|
287
287
|
//#endregion
|
|
288
288
|
export { ProvisioningToken as n, GetProvisioningTokenBody as t };
|
|
289
|
-
//# sourceMappingURL=types-
|
|
289
|
+
//# sourceMappingURL=types-QPW-7dPm.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType, s as OpenapiPathType } from "./index-sDHBkJhU.js";
|
|
2
2
|
//#region src/clients/vault/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -392,4 +392,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
|
|
|
392
392
|
type AnyVariable = VariableWithHash | CreateVariableBody;
|
|
393
393
|
//#endregion
|
|
394
394
|
export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
|
|
395
|
-
//# sourceMappingURL=types-
|
|
395
|
+
//# sourceMappingURL=types-UySfduQo.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as OpenapiBodyType } from "./index-
|
|
1
|
+
import { r as OpenapiBodyType } from "./index-sDHBkJhU.js";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
//#region src/clients/syncActions/schemas.d.ts
|
|
4
4
|
/** The Keboola-side context every sync action carries; namespaces extend it with their own fields. */
|
|
@@ -1310,4 +1310,4 @@ declare const buildOauthAuthorization: (credentials: OauthCredentials) => {
|
|
|
1310
1310
|
type PostActionsBodyRaw = OpenapiBodyType<paths['/actions']['post']>;
|
|
1311
1311
|
//#endregion
|
|
1312
1312
|
export { GitBranch as $, ConfigurationMigrationStatus as $t, GoogleSheetsTable as A, flowMigrationPreviewResultSchema as At, GoogleAnalyticsGetProfilesPropertiesInput as B, FacebookComponentId as Bt, oneDriveSearchFilesResultSchema as C, genericExtractorPerformFunctionResultSchema as Ct, testLookerCredentialsInputSchema as D, FlowMigrationPreviewResult as Dt, lookerCredentialsResultSchema as E, FlowMigrationInput as Et, GoogleDriveCreateFileInput as F, FacebookGetAccountsInput as Ft, GoogleAnalyticsProperty as G, DbtActionInput as Gt, GoogleAnalyticsGetPropertiesMetadataInput as H, GetEmailAttachmentsEmailInput as Ht, GoogleDriveFile as I, facebookAccountsSchema as It, googleAnalyticsGetPropertiesMetadataInputSchema as J, dbtActionInputSchema as Jt, googleAnalyticsGetProfilesPropertiesInputSchema as K, DbtCompiled as Kt, GoogleDriveTable as L, facebookGetAccountsInputSchema as Lt, googleSheetsAddSheetResultSchema as M, flowMigrationValidationResultSchema as Mt, googleSheetsCreateSpreadsheetResultSchema as N, flowMigrationValidationResultsSchema as Nt, GoogleSheetsSheet as O, FlowMigrationValidationResult as Ot, googleSheetsTableActionInputSchema as P, FacebookAccount as Pt, GitAuth as Q, dbtRunResultsSchema as Qt, googleDriveCreateFileInputSchema as R, FACEBOOK_ACCOUNTS_ACTION as Rt, oneDriveSearchFilesInputSchema as S, syncActionContextSchema as Sn, genericExtractorPerformFunctionInputSchema as St, TestLookerCredentialsInput as T, genericExtractorTestRequestResultSchema as Tt, GoogleAnalyticsGetPropertiesMetadataResult as U, emailAttachmentsEmailSchema as Ut, GoogleAnalyticsGetProfilesPropertiesResult as V, isFacebookComponentId as Vt, GoogleAnalyticsProfile as W, getEmailAttachmentsEmailInputSchema as Wt, GetBranchesInput as X, dbtDocsSchema as Xt, googleAnalyticsGetPropertiesMetadataResultSchema as Y, dbtCompiledSchema as Yt, GetEntrypointsInput as Z, dbtModelTimingSchema as Zt, oneDriveCreateWorkbookResultSchema as _, apifyObjectsSchema as _n, GenericExtractorTestRequestResult as _t, SshKeyPair as a, PreparedRow as an, gitEntrypointsSchema as at, oneDriveGetWorksheetsInputSchema as b, SyncActionContext as bn, genericExtractorLoadFromCurlInputSchema as bt, snowflakeDwhManagerUserActionInputSchema as c, preparedRowsSchema as cn, GIT_FAMILY as ct, OneDriveCreateWorksheetInput as d, CodePatternGenerateResult as dn, GenericExtractorInferMappingInput as dt, GetConfigurationMigrationStatusInput as en, GitEntrypoints as et, OneDriveFile as f, codePatternGenerateInputSchema as fn, GenericExtractorJob as ft, oneDriveCreateWorkbookInputSchema as g, apifyObjectsInputSchema as gn, GenericExtractorTestRequestInput as gt, OneDriveWorksheet as h, ApifyObjectsInput as hn, GenericExtractorPerformFunctionInput as ht, oauthCredentialsSchema as i, CommonActionInput as in, gitBranchesSchema as it, GoogleSheetsTableActionInput as j, flowMigrationPreviewResultsSchema as jt, GoogleSheetsSpreadsheet as k, flowMigrationInputSchema as kt, snowflakeDwhManagerUserActionResultSchema as l, testConnectionResultSchema as ln, GitComponentId as lt, OneDriveSearchFilesInput as m, ApifyObject as mn, GenericExtractorMapping as mt, OauthCredentials as n, getConfigurationMigrationStatusInputSchema as nn, getEntrypointsInputSchema as nt, sshKeyPairSchema as o, TestConnectionResult as on, DATA_APP_FAMILY as ot, OneDriveGetWorksheetsInput as p, codePatternGenerateResultSchema as pn, GenericExtractorLoadFromCurlInput as pt, googleAnalyticsGetProfilesPropertiesResultSchema as q, DbtModelTiming as qt, buildOauthAuthorization as r, getConfigurationMigrationStatusResultSchema as rn, gitAuthSchema as rt, SnowflakeDwhManagerUserActionInput as s, commonActionInputSchema as sn, DataAppComponentId as st, PostActionsBodyRaw as t, configurationMigrationStatusSchema as tn, getBranchesInputSchema as tt, OneDriveCreateWorkbookInput as u, CodePatternGenerateInput as un, isDataAppFamily as ut, oneDriveCreateWorksheetInputSchema as v, paths as vn, genericExtractorInferMappingInputSchema as vt, LookerCredentialsResult as w, genericExtractorTestRequestInputSchema as wt, oneDriveGetWorksheetsResultSchema as x, syncActionBodySchema as xn, genericExtractorMappingSchema as xt, oneDriveCreateWorksheetResultSchema as y, SyncActionBody as yn, genericExtractorJobSchema as yt, googleDriveCreateFileResultSchema as z, FACEBOOK_FAMILY as zt };
|
|
1313
|
-
//# sourceMappingURL=types-
|
|
1313
|
+
//# sourceMappingURL=types-VehpPOQX.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as CreateMetaObjectInput } from "./types-
|
|
2
|
-
import { n as createMetastoreClient } from "./index-
|
|
1
|
+
import { i as CreateMetaObjectInput } from "./types-C9VaQSqV.js";
|
|
2
|
+
import { n as createMetastoreClient } from "./index-CIqWOEWD.js";
|
|
3
3
|
//#region src/sdks/semanticLayer/vocabulary.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The closed value sets the metastore accepts on a semantic object.
|
|
@@ -199,4 +199,4 @@ type SemanticUnreadableObjectRef = {
|
|
|
199
199
|
};
|
|
200
200
|
//#endregion
|
|
201
201
|
export { CONSTRAINT_TYPES as A, SemanticRuleExpression as C, UpdateSemanticObjectMeta as D, SemanticValidationQuery as E, SQL_DIALECTS as F, RELATIONSHIP_JOIN_TYPES as M, RULE_OPERATORS as N, CONSTRAINT_SCOPES as O, SEMANTIC_OBJECT_SCOPES as P, SemanticRelationshipJoinType as S, SemanticUnreadableObjectRef as T, SemanticObject as _, SemanticChildObjectType as a, SemanticObjectType as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelData as g, SemanticModelChildRef as h, SemanticChildObjectDataMap as i, FIELD_ROLES as j, CONSTRAINT_SEVERITIES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObjectMeta as v, SemanticRuleOperator as w, SemanticRelationshipData as x, SemanticObjectScope as y };
|
|
202
|
-
//# sourceMappingURL=types-
|
|
202
|
+
//# sourceMappingURL=types-Vu09EUZs.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType } from "./index-
|
|
1
|
+
import { c as OpenapiQueryType, l as OpenapiReturnType, n as ArrayElement, r as OpenapiBodyType } from "./index-sDHBkJhU.js";
|
|
2
2
|
//#region src/clients/stream/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -7521,4 +7521,4 @@ type SinkStatisticsFilesQuery = OpenapiQueryType<paths['/v1/branches/{branchId}/
|
|
|
7521
7521
|
type TestSourceQuery = OpenapiQueryType<paths['/v1/branches/{branchId}/sources/{sourceId}/test']['post']>;
|
|
7522
7522
|
//#endregion
|
|
7523
7523
|
export { UpdateSinkSettingsRequestBody as C, components as E, UpdateSinkRequestBody as S, UpdateSourceSettingsRequestBody as T, TableColumn as _, OTLPSource as a, TestResult as b, SettingsResult as c, SinkStatisticsFilesQuery as d, SinkStatisticsFilesResult as f, SourcesList as g, Source as h, OTLPSignal as i, Sink as l, SinksList as m, CreateSourceRequestBody as n, PaginationQuery as o, SinkStatisticsTotalResult as p, DeleteSourceQuery as r, SettingResult as s, CreateSinkRequestBody as t, SinkFile as u, TableSinkCreate as v, UpdateSourceRequestBody as w, TestSourceQuery as x, Task as y };
|
|
7524
|
-
//# sourceMappingURL=types-
|
|
7524
|
+
//# sourceMappingURL=types-c4h2YDMC.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ii as BaseUrl, oi as MiddlewareFn } from "./index-
|
|
1
|
+
import { ii as BaseUrl, oi as MiddlewareFn } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/auth.d.ts
|
|
3
3
|
type AuthStrategy = {
|
|
4
4
|
type: 'sapi-token';
|
|
@@ -20,4 +20,4 @@ type ClientInitOptions = {
|
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ClientInitOptions as n, AuthStrategy as r, BaseClientOptions as t };
|
|
23
|
-
//# sourceMappingURL=types-
|
|
23
|
+
//# sourceMappingURL=types-sOM2_KPc.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-
|
|
1
|
+
import { l as OpenapiReturnType, r as OpenapiBodyType } from "./index-ChDl6ig5.cjs";
|
|
2
2
|
//#region src/clients/ai/__generated__/schema.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
|
@@ -852,7 +852,6 @@ interface operations {
|
|
|
852
852
|
//#region src/clients/ai/types.d.ts
|
|
853
853
|
type DescribeConfigurationVersionBody = OpenapiBodyType<paths['/describe/configuration-version']['post']>;
|
|
854
854
|
type DescribeConfigurationMergeBody = OpenapiBodyType<paths['/describe/configuration-merge']['post']>;
|
|
855
|
-
type FeedbackBody = OpenapiBodyType<paths['/feedback']['post']>;
|
|
856
855
|
type ExplainErrorBody = OpenapiBodyType<paths['/explain']['post']>;
|
|
857
856
|
type ErrorExplanation = OpenapiReturnType<paths['/explain']['post']>;
|
|
858
857
|
type SuggestComponentBody = OpenapiBodyType<paths['/suggest/component']['post']>;
|
|
@@ -863,5 +862,5 @@ type DocsQuestionBody = OpenapiBodyType<paths['/docs/question']['post']>;
|
|
|
863
862
|
type DocsAnswer = OpenapiReturnType<paths['/docs/question']['post']>;
|
|
864
863
|
type ComponentDocsDetail = OpenapiReturnType<paths['/docs/components/{componentId}']['get']>;
|
|
865
864
|
//#endregion
|
|
866
|
-
export { DescribeConfigurationVersionBody as a, ErrorExplanation as c,
|
|
867
|
-
//# sourceMappingURL=types-
|
|
865
|
+
export { DescribeConfigurationVersionBody as a, ErrorExplanation as c, SuggestComponentBody as d, components as f, DescribeConfigurationMergeBody as i, ExplainErrorBody as l, ComponentSuggestion as n, DocsAnswer as o, DescribeConfigurationBody as r, DocsQuestionBody as s, ComponentDocsDetail as t, ObjectDescription as u };
|
|
866
|
+
//# sourceMappingURL=types-wNuJUhco.d.cts.map
|
package/dist/vault/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createVaultClient } from "../index-
|
|
1
|
+
import { t as createVaultClient } from "../index-BCjU-g9t.cjs";
|
|
2
2
|
export { createVaultClient };
|
package/dist/vault/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createVaultClient } from "../index-
|
|
1
|
+
import { t as createVaultClient } from "../index-BTrxCk90.js";
|
|
2
2
|
export { createVaultClient };
|
package/dist/vault/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-
|
|
1
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-D8d5tyGi.cjs";
|
|
2
2
|
export { AnyVariable, CreateVariableBody, DeleteVariablePath, GetVariablesByBranchId, GetVariablesQuery, VariableWithHash };
|
package/dist/vault/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-
|
|
1
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath, t as AnyVariable } from "../types-UySfduQo.js";
|
|
2
2
|
export { AnyVariable, CreateVariableBody, DeleteVariablePath, GetVariablesByBranchId, GetVariablesQuery, VariableWithHash };
|
package/package.json
CHANGED
package/surface/ai.md
CHANGED
|
@@ -9,7 +9,6 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
9
9
|
- `api.ai.describeConfigurationVersion(body: { branchId: string; componentId: string; configId: string; currentVersionId: string; previousVersionId?: string | undefined; rowId?: string | undefined; }): Promise<{ description: string; correlationId: string; }>`
|
|
10
10
|
- `api.ai.docsQuestion(body: { query: string; }): Promise<{ response: string; metadata: { sources: string[]; }; }>`
|
|
11
11
|
- `api.ai.explainError(body: { error?: string | undefined; jobId: string; }): Promise<{ answer: string; correlationId: string; }>`
|
|
12
|
-
- `api.ai.feedback(body: { value: "good" | "bad" | "cancel"; correlationId?: string | undefined; comment?: string | undefined; subject?: { type: "failed-job"; jobId: string; } | { type: "configuration"; branchId: string; componentId: string; configId: string; rowId?: string | undefined; } | { type: "component-suggestions"; searchTerm: string; } | undefined; }): Promise<never>`
|
|
13
12
|
- `api.ai.getComponentDetail(componentId: string): Promise<{ componentId: string; componentType: string; componentName: string; componentCategories: string[]; description: string; longDescription: string; documentationUrl: string | null; documentation: string | null; configurationSchema: Record<string, never> | null; configurationRowSchema: Record<string, never> | null; configurationDescription: string | null; rootConfigurationExamples: Record<string, never>[] | null; rowConfigurationExamples: Record<string, never>[] | null; componentFlags: string[] | null; synchronousActions?: string[] | null | undefined; }>`
|
|
14
13
|
- `api.ai.healthCheck(signal?: AbortSignal | undefined): Promise<{ status: "ok"; }>`
|
|
15
14
|
- `api.ai.suggestComponent(body: { prompt: string; }): Promise<{ components: { componentId: string; score: number; }[]; correlationId: string; }>`
|
package/surface/kaiAgent.md
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
6
6
|
|
|
7
7
|
- `api.kaiAgent.approveToolCall(chatId: string, body: { toolUseId: string; approved: boolean; reason?: string | undefined; dismissed?: boolean | undefined; updatedInput?: { [key: string]: unknown; } | undefined; answers?: { [key: string]: string; } | undefined; }): Promise<void>`
|
|
8
|
-
- `api.kaiAgent.createChat(request: { id: string; message: { id: string; role: "user" | "assistant"; parts: { [key: string]: unknown; }[]; metadata?: { hidden?: boolean | undefined; autoForwarded?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; deployPreapproval?: { configurationId: string; } | undefined; tableContext?: { tableName: string; tableId: string; bucketId: string; fileName: string; }[] | undefined; previewSelections?: { source: string | null; sourceTrail: string[]; selector: string; tag: string; text: string; html: string; rect: { x: number; y: number; width: number; height: number; }; page: string; viewport: { width: number; height: number; }; area?: { inside: { source: string | null; tag: string; text: string; }[]; within: { source: string | null; tag: string; text: string; } | null; above: { source: string | null; tag: string; text: string; } | null; below: { source: string | null; tag: string; text: string; } | null; } | undefined; }[] | undefined; previewIntent?: "data-source" | undefined; } | undefined; }; selectedChatModel?: string | undefined; selectedVisibilityType?: "public" | "private" | undefined; branchId?: number | undefined; model?: string | undefined; toolRestrictions?: { allowedTools?: string[] | undefined; disallowedTools?: string[] | undefined; readOnlyMode?: boolean | undefined; } | undefined; telemetryMetadata?: { [key: string]: string | number | boolean; } | undefined; supportsApprovalRequestedEvent?: boolean | undefined; client?: "kbc-ui" | "business-chat" | undefined; }): Promise<Response>`
|
|
8
|
+
- `api.kaiAgent.createChat(request: { id: string; message: { id: string; role: "user" | "assistant"; parts: { [key: string]: unknown; }[]; metadata?: { hidden?: boolean | undefined; autoForwarded?: boolean | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; deployPreapproval?: { configurationId: string; } | undefined; tableContext?: { tableName: string; tableId: string; bucketId: string; fileName: string; }[] | undefined; previewSelections?: { source: string | null; sourceTrail: string[]; selector: string; tag: string; text: string; html: string; rect: { x: number; y: number; width: number; height: number; }; page: string; viewport: { width: number; height: number; }; area?: { inside: { source: string | null; tag: string; text: string; }[]; within: { source: string | null; tag: string; text: string; } | null; above: { source: string | null; tag: string; text: string; } | null; below: { source: string | null; tag: string; text: string; } | null; } | undefined; }[] | undefined; previewIntent?: "data-source" | undefined; } | undefined; }; selectedChatModel?: string | undefined; selectedVisibilityType?: "public" | "private" | undefined; branchId?: number | undefined; model?: string | undefined; toolRestrictions?: { allowedTools?: string[] | undefined; disallowedTools?: string[] | undefined; readOnlyMode?: boolean | undefined; } | undefined; telemetryMetadata?: { [key: string]: string | number | boolean; } | undefined; supportsApprovalRequestedEvent?: boolean | undefined; client?: "kbc-ui" | "business-chat" | undefined; gitCredential?: { repository: string; token: string; } | undefined; }): Promise<Response>`
|
|
9
9
|
- `api.kaiAgent.deleteChat(chatId: string): Promise<{ id?: string | undefined; title?: string | undefined; userId?: string | undefined; createdAt?: string | undefined; visibility?: "public" | "private" | undefined; branchId?: number | null | undefined; }>`
|
|
10
10
|
- `api.kaiAgent.deleteUserMemory(memoryId: string, signal?: AbortSignal | undefined): Promise<void>`
|
|
11
11
|
- `api.kaiAgent.downloadSandboxFile(chatId: string, path: string, signal?: AbortSignal | undefined): Promise<Blob>`
|
|
12
12
|
- `api.kaiAgent.getAgentSettings(signal?: AbortSignal | undefined): Promise<{ projectId: string; customInstructions: string | null; createdAt: string; updatedAt: string; toolPermissions?: Record<string, ProjectToolPolicyValue> | null | undefined; canWriteToolPolicy?: boolean | undefined; }>`
|
|
13
13
|
- `api.kaiAgent.getArtifact(artifactId: string, signal?: AbortSignal | undefined): Promise<{ id: string; chatId: string; messageId: string; kind: "table" | "chart" | "document"; title: string; summary: string | null; spec: { [key: string]: unknown; }; recipe: { [key: string]: unknown; }; createdAt: string; }>`
|
|
14
14
|
- `api.kaiAgent.getArtifacts(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; chatId: string; messageId: string; kind: "table" | "chart" | "document"; title: string; summary: string | null; spec: { [key: string]: unknown; }; recipe: { [key: string]: unknown; }; createdAt: string; }[]>`
|
|
15
|
-
- `api.kaiAgent.getChat(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; contextWindow?: { usedTokens: number; maxTokens: number; percentage: number; } | null | undefined; ppuUsed: number | null; ppuPercentage: number | null; model: string | null; effort: "medium" | "low" | "high" | "xhigh" | "max" | null; effectiveModel: string | null; messages: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: "data-compact-boundary"; data: { trigger: "
|
|
15
|
+
- `api.kaiAgent.getChat(chatId: string, signal?: AbortSignal | undefined): Promise<{ id: string; title: string; userId: string; createdAt: string; lastMessageAt: string; visibility: "public" | "private"; branchId?: number | null | undefined; contextWindow?: { usedTokens: number; maxTokens: number; percentage: number; } | null | undefined; ppuUsed: number | null; ppuPercentage: number | null; model: string | null; effort: "medium" | "low" | "high" | "xhigh" | "max" | null; effectiveModel: string | null; messages: { id: string; role: "user" | "assistant"; parts: ({ type: "text"; text: string; state?: "done" | undefined; } | { type: "tool-result"; toolCallId: string; toolName: string; result: string; } | { type: "step-start"; } | { type: "data-compact-boundary"; data: { trigger: "auto" | "manual"; preTokens: number; preservedSegment?: { headUuid: string; anchorUuid: string; tailUuid: string; } | undefined; summary: string; sdkSessionId: string; }; } | { type: string; toolCallId: string; state: "output-available" | "output-error" | "output-denied" | "input-available" | "input-streaming" | "approval-requested" | "approval-responded"; input?: { [key: string]: unknown; } | undefined; output?: unknown; errorText?: string | undefined; approval?: { id: string; approved?: boolean | undefined; reason?: string | undefined; } | undefined; })[]; metadata?: { createdAt?: string | undefined; hidden?: boolean | undefined; autoForwarded?: boolean | undefined; pausedReason?: "turn-budget" | undefined; requestContext?: { path?: string | undefined; sqlEditorActive?: boolean | undefined; } | undefined; } | undefined; status?: "pending" | "failed" | "completed" | "interrupted" | undefined; }[]; }>`
|
|
16
16
|
- `api.kaiAgent.getHistory(params?: { limit?: number | undefined; starting_after?: string | undefined; ending_before?: string | undefined; client?: "kbc-ui" | "business-chat" | undefined; } | undefined, signal?: AbortSignal | undefined): Promise<{ chats: { id?: string | undefined; title?: string | undefined; userId?: string | undefined; createdAt?: string | undefined; lastMessageAt?: string | undefined; visibility?: "public" | "private" | undefined; branchId?: number | null | undefined; client?: "kbc-ui" | "business-chat" | null | undefined; }[]; hasMore: boolean; }>`
|
|
17
17
|
- `api.kaiAgent.getSandboxGitBranch(chatId: string, signal?: AbortSignal | undefined): Promise<{ branch: string | null; }>`
|
|
18
18
|
- `api.kaiAgent.getSkillsList(signal?: AbortSignal | undefined): Promise<{ skills: { name: string; description: string | null; source: "first-party" | "vendored" | "project"; }[]; commands: { name: string; description: string; }[]; }>`
|
|
@@ -20,7 +20,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
20
20
|
- `api.kaiAgent.getSuggestions(request: { context: "dashboard"; data: { recentFailedJobs: { id: string; status: "error" | "warning"; component: string; configId: string; createdTime: string; configName?: string | undefined; durationSeconds?: number | undefined; errorMessage?: string | undefined; }[]; deprecatedComponents: { id: string; name: string; type: string; expiredOn: string; configCount: number; }[]; userRecentEdits: { component: string; configId: string; configName: string; lastEdited: string; }[]; currentUserEmail: string; }; } | { context: "job-detail"; data: { job: { id: string; status: "error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled"; component: string; createdTime: string; configId?: string | undefined; configName?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; durationSeconds?: number | undefined; errorMessage?: string | undefined; errorType?: "user" | "application" | undefined; backendSize?: string | undefined; }; currentUserEmail: string; component?: { id: string; name: string; type: string; } | undefined; runtimeHistory?: { recentJobsCount: number; averageDurationSeconds?: number | undefined; minDurationSeconds?: number | undefined; maxDurationSeconds?: number | undefined; isSlowerThanAverage?: boolean | undefined; isFasterThanAverage?: boolean | undefined; percentageDifference?: number | undefined; } | undefined; }; } | { context: "configuration-detail"; data: { configuration: { id: string; name: string; component: string; hasRows: boolean; description?: string | undefined; rowCount?: number | undefined; lastChangeDescription?: string | undefined; }; currentUserEmail: string; component?: { id: string; name: string; type: string; } | undefined; latestJobs?: { id: string; status: "error" | "success" | "warning" | "created" | "waiting" | "processing" | "terminating" | "terminated" | "cancelled"; createdTime: string; durationSeconds?: number | undefined; errorMessage?: string | undefined; }[] | undefined; }; }, signal?: AbortSignal | undefined): Promise<{ suggestions: { label: string; prompt: string; priority: number; category: "error" | "maintenance" | "documentation"; reasoning: string; id: string; }[]; suggestionSessionId: string; }>`
|
|
21
21
|
- `api.kaiAgent.getToolsList(signal?: AbortSignal | undefined): Promise<{ tools: { name: string; description: string; readOnly: boolean; }[]; }>`
|
|
22
22
|
- `api.kaiAgent.getUsage(signal?: AbortSignal | undefined): Promise<UsageResponse>`
|
|
23
|
-
- `api.kaiAgent.getUserAgentSettings(signal?: AbortSignal | undefined): Promise<{ projectId: string; userId: string; customInstructions: string | null; toolPermissions: Record<string, "blocked" | "always_ask" | "always_allow"> | null; createdAt: string; updatedAt: string; projectToolPermissions?: Record<string, ProjectToolPolicyValue> | null | undefined; }>`
|
|
23
|
+
- `api.kaiAgent.getUserAgentSettings(signal?: AbortSignal | undefined): Promise<{ projectId: string; userId: string; customInstructions: string | null; toolPermissions: Record<string, "blocked" | "always_ask" | "always_allow"> | null; createdAt: string; updatedAt: string; projectToolPermissions?: Record<string, ProjectToolPolicyValue> | null | undefined; memorySaveMode?: "auto" | "ask" | undefined; }>`
|
|
24
24
|
- `api.kaiAgent.getUserMemories(signal?: AbortSignal | undefined): Promise<{ id: string; content: string; createdAt: string; }[]>`
|
|
25
25
|
- `api.kaiAgent.getVotes(chatId: string): Promise<{ chatId: string; messageId: string; isUpvoted: boolean; }[]>`
|
|
26
26
|
- `api.kaiAgent.healthCheck(signal?: AbortSignal | undefined): Promise<unknown>`
|
|
@@ -34,4 +34,5 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
34
34
|
- `api.kaiAgent.updateAgentSettings(request: UpdateAgentSettingsRequest, signal?: AbortSignal | undefined): Promise<{ projectId: string; customInstructions: string | null; createdAt: string; updatedAt: string; toolPermissions?: Record<string, ProjectToolPolicyValue> | null | undefined; canWriteToolPolicy?: boolean | undefined; }>`
|
|
35
35
|
- `api.kaiAgent.updateProjectToolPolicy(toolPermissions: ProjectToolPolicy, signal?: AbortSignal | undefined): Promise<{ projectId: string; customInstructions: string | null; createdAt: string; updatedAt: string; toolPermissions?: Record<string, ProjectToolPolicyValue> | null | undefined; canWriteToolPolicy?: boolean | undefined; }>`
|
|
36
36
|
- `api.kaiAgent.updateSpendCaps(request: UpdateSpendCapsRequest, signal?: AbortSignal | undefined): Promise<SpendCapsView>`
|
|
37
|
-
- `api.kaiAgent.updateUserAgentSettings(request: UpdateUserAgentSettingsRequest, signal?: AbortSignal | undefined): Promise<{ projectId: string; userId: string; customInstructions: string | null; toolPermissions: Record<string, "blocked" | "always_ask" | "always_allow"> | null; createdAt: string; updatedAt: string; projectToolPermissions?: Record<string, ProjectToolPolicyValue> | null | undefined; }>`
|
|
37
|
+
- `api.kaiAgent.updateUserAgentSettings(request: UpdateUserAgentSettingsRequest, signal?: AbortSignal | undefined): Promise<{ projectId: string; userId: string; customInstructions: string | null; toolPermissions: Record<string, "blocked" | "always_ask" | "always_allow"> | null; createdAt: string; updatedAt: string; projectToolPermissions?: Record<string, ProjectToolPolicyValue> | null | undefined; memorySaveMode?: "auto" | "ask" | undefined; }>`
|
|
38
|
+
- `api.kaiAgent.updateUserMemory(memoryId: string, content: string, signal?: AbortSignal | undefined): Promise<{ id: string; content: string; createdAt: string; }>`
|
package/surface/management.md
CHANGED
|
@@ -130,6 +130,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
130
130
|
### `api.management.programmaticProjects`
|
|
131
131
|
|
|
132
132
|
- `api.management.programmaticProjects.confirm(payload: ConfirmProgrammaticProjectPayload, signal?: AbortSignal | undefined): Promise<ConfirmProgrammaticProjectResult>`
|
|
133
|
+
- `api.management.programmaticProjects.getClaim(signal?: AbortSignal | undefined): Promise<{ present: boolean; claimId?: string | null | undefined; projectName?: string | null | undefined; }>`
|
|
133
134
|
|
|
134
135
|
### `api.management.projects`
|
|
135
136
|
|
package/surface/storage.md
CHANGED
|
@@ -57,6 +57,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
57
57
|
- `api.storage.bucketSharing.shareBucketToUsersAsync({ branchId, bucketId, ...body }: ShareBucketToUsersInput, signal?: AbortSignal | undefined): Promise<ShareBucketToAdminsJob>`
|
|
58
58
|
- `api.storage.bucketSharing.shareBucketToUsersPoller(input: ShareBucketToUsersInput, options?: StorageJobPollOptions | undefined): Poller<ShareBucketToAdminsJob, JobBase<"bucketShareToAdmins", Record<string, unknown>> & { status: "success"; results: null; }>`
|
|
59
59
|
- `api.storage.bucketSharing.sharedBuckets<const I extends readonly SharedBucketInclude[] = []>(query?: SharedBucketsQuery<I> | undefined, signal?: AbortSignal | undefined): Promise<SharedBucketWith<I>[]>`
|
|
60
|
+
- `api.storage.bucketSharing.sharingTargets(signal?: AbortSignal | undefined): Promise<{ projects: { id: number; name: string; }[]; users: { id: number; name: string; email: string; }[]; }>`
|
|
60
61
|
- `api.storage.bucketSharing.unshareBucketAsync({ branchId, bucketId }: { bucketId: string; branchId: string; }, signal?: AbortSignal | undefined): Promise<RemoveBucketShareJob>`
|
|
61
62
|
- `api.storage.bucketSharing.unshareBucketPoller(input: { bucketId: string; branchId: string; }, options?: StorageJobPollOptions | undefined): Poller<RemoveBucketShareJob, JobBase<"bucketRemoveShare", Record<string, unknown>> & { status: "success"; results: null; }>`
|
|
62
63
|
|
|
@@ -124,7 +125,7 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
124
125
|
- `api.storage.configurationWorkspaces.createConfigurationWorkspace({ componentId, branchId, configurationId, ...body }: CreateConfigurationWorkspaceInput): Promise<CreatedWorkspace>`
|
|
125
126
|
- `api.storage.configurationWorkspaces.createConfigurationWorkspaceAsync({ componentId, branchId, configurationId, ...body }: CreateConfigurationWorkspaceInput, signal?: AbortSignal | undefined): Promise<CreateWorkspaceJob>`
|
|
126
127
|
- `api.storage.configurationWorkspaces.createConfigurationWorkspacePoller(input: CreateConfigurationWorkspaceInput, options?: StorageJobPollOptions | undefined): Poller<CreateWorkspaceJob, JobBase<"workspaceCreate", { backend: string; backendConfiguration: []; backendSize: null; branchId: number; componentId: string; configurationId: string; loginType: number; networkPolicy: string; publicKey: string; readOnlyStorageAccess: boolean; useCase: ConfigurationUseCaseType; }> & { status: "success"; results: Workspace; }>`
|
|
127
|
-
- `api.storage.configurationWorkspaces.getConfigurationWorkspaces({ componentId, branchId, configurationId, }: { componentId: string; configurationId: string; branchId: string; }): Promise<{ id: number; type: "file" | "table"; name: string | null; component: string | null; configurationId: string | null; configurationVersion: number | null; created: string; connection: { backend: "snowflake" | "bigquery" | "synapse" | "exasol" | "teradata" | "postgres" | "ducklake"; region: string; host: string; database: string | null; schema: string | null; warehouse: string | null; user: string; loginType: "default" | "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "none"; ssoLoginAvailable: boolean; account?: string | undefined; role?: string | null | undefined; } | { backend: string; container: string | null; region: string; }; backendSize: string | null; statementTimeoutSeconds: number; creatorToken: { id: number; description: string | null; }; readOnlyStorageAccess: boolean; platformUsageType: "user" | "service" | "reader" | null; state: "active" | "deactivated"; deactivateAt: string | null; }[]>`
|
|
128
|
+
- `api.storage.configurationWorkspaces.getConfigurationWorkspaces({ componentId, branchId, configurationId, }: { componentId: string; configurationId: string; branchId: string; }): Promise<{ id: number; type: "file" | "table"; name: string | null; component: string | null; configurationId: string | null; configurationVersion: number | null; created: string; connection: { backend: "snowflake" | "bigquery" | "synapse" | "exasol" | "teradata" | "postgres" | "ducklake"; region: string; host: string; database: string | null; schema: string | null; warehouse: string | null; user: string; loginType: "default" | "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "none" | "governed"; ssoLoginAvailable: boolean; account?: string | undefined; role?: string | null | undefined; } | { backend: string; container: string | null; region: string; }; backendSize: string | null; statementTimeoutSeconds: number; creatorToken: { id: number; description: string | null; }; readOnlyStorageAccess: boolean; platformUsageType: "user" | "service" | "reader" | null; state: "active" | "deactivated"; lastActivityAt: string | null; warnAt: string | null; deactivateAt: string | null; deleteAt: string | null; }[]>`
|
|
128
129
|
|
|
129
130
|
### `api.storage.configurations`
|
|
130
131
|
|
|
@@ -261,5 +262,5 @@ Part of the [`@keboola/api-client` surface index](../API-SURFACE.md).
|
|
|
261
262
|
- `api.storage.workspaces.getWorkspaces(path: { branchId: string; }, signal?: AbortSignal | undefined): Promise<Workspace[]>`
|
|
262
263
|
- `api.storage.workspaces.inputMappingLoadPreview({ branchId, body, ...query }: WorkspaceInputMappingLoadPreviewInput, signal?: AbortSignal | undefined): Promise<{ input: { source: string; destination: string; loadType: "VIEW" | "COPY" | "CLONE"; possibleLoadTypes: ("VIEW" | "COPY" | "CLONE")[]; }[]; }>`
|
|
263
264
|
- `api.storage.workspaces.resetWorkspacePassword({ branchId, workspaceId }: { workspaceId: number; branchId: string; }): Promise<{ password?: string | undefined; connectionString?: string | undefined; credentials?: { type?: string | undefined; project_id?: string | undefined; private_key_id?: string | undefined; private_key?: string | undefined; client_email?: string | undefined; client_id?: string | undefined; auth_uri?: string | undefined; token_uri?: string | undefined; auth_provider_x509_cert_url?: string | undefined; client_x509_cert_url?: string | undefined; } | undefined; }>`
|
|
264
|
-
- `api.storage.workspaces.setWorkspacePublicKey({ branchId, workspaceId, ...body }: SetWorkspacePublicInput): Promise<{ id: number; type: "file" | "table"; name: string | null; component: string | null; configurationId: string | null; configurationVersion: number | null; created: string; connection: { backend: "snowflake" | "bigquery" | "synapse" | "exasol" | "teradata" | "postgres" | "ducklake"; region: string; host: string; database: string | null; schema: string | null; warehouse: string | null; user: string; loginType: "default" | "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "none"; ssoLoginAvailable: boolean; account?: string | undefined; role?: string | null | undefined; } | { backend: string; container: string | null; region: string; }; backendSize: string | null; statementTimeoutSeconds: number; creatorToken: { id: number; description: string | null; }; readOnlyStorageAccess: boolean; platformUsageType: "user" | "service" | "reader" | null; state: "active" | "deactivated"; deactivateAt: string | null; }>`
|
|
265
|
+
- `api.storage.workspaces.setWorkspacePublicKey({ branchId, workspaceId, ...body }: SetWorkspacePublicInput): Promise<{ id: number; type: "file" | "table"; name: string | null; component: string | null; configurationId: string | null; configurationVersion: number | null; created: string; connection: { backend: "snowflake" | "bigquery" | "synapse" | "exasol" | "teradata" | "postgres" | "ducklake"; region: string; host: string; database: string | null; schema: string | null; warehouse: string | null; user: string; loginType: "default" | "snowflake-person-sso" | "snowflake-legacy-service" | "snowflake-person-keypair" | "snowflake-service-keypair" | "none" | "governed"; ssoLoginAvailable: boolean; account?: string | undefined; role?: string | null | undefined; } | { backend: string; container: string | null; region: string; }; backendSize: string | null; statementTimeoutSeconds: number; creatorToken: { id: number; description: string | null; }; readOnlyStorageAccess: boolean; platformUsageType: "user" | "service" | "reader" | null; state: "active" | "deactivated"; lastActivityAt: string | null; warnAt: string | null; deactivateAt: string | null; deleteAt: string | null; }>`
|
|
265
266
|
- `api.storage.workspaces.unloadWorkspace({ branchId, workspaceId, ...query }: UnloadWorkspaceInput): Promise<Record<string, never>[]>`
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurations-BTRHVSRq.cjs","names":["AdminRole"],"sources":["../src/domain/permissions/errors.ts","../src/domain/permissions/admin.ts","../src/domain/permissions/configurations.ts"],"sourcesContent":["/**\n * @module domain/permissions/errors\n *\n * - What every `assertCan*` throws; its public fields are SDK contract — renames break consumers.\n * - `subject` is a debugging hint only — never a `StorageToken`, raw token or secret.\n */\nexport class PermissionDeniedError extends Error {\n public readonly action: string;\n public readonly reason?: string;\n public readonly subject?: string;\n\n constructor({ action, reason, subject }: { action: string; reason?: string; subject?: string }) {\n super(reason ? `Permission denied: ${action} (${reason})` : `Permission denied: ${action}`);\n this.name = 'PermissionDeniedError';\n this.action = action;\n this.reason = reason;\n this.subject = subject;\n }\n}\n","/**\n * @module domain/permissions/admin\n *\n * Admin-role predicates read from `token.admin.role` alone.\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\nimport { AdminRole } from '../../constants/adminRoles';\n\nimport { PermissionDeniedError } from './errors';\n\nconst role = (token: StorageToken): AdminRole | null => token.admin.role;\n\nexport const isAdmin = (token: StorageToken): boolean => role(token) === AdminRole.Admin;\n\nexport const isAdminOrShare = (token: StorageToken): boolean =>\n role(token) === AdminRole.Admin || role(token) === AdminRole.Share;\n\nexport const isProductionManager = (token: StorageToken): boolean =>\n role(token) === AdminRole.ProductionManager;\n\nexport const isDeveloperOrReviewer = (token: StorageToken): boolean =>\n role(token) === AdminRole.Developer || role(token) === AdminRole.Reviewer;\n\nexport const isReadOnlyRole = (token: StorageToken): boolean => role(token) === AdminRole.ReadOnly;\n\n/**\n * Whether a role string is a member of `AdminRole` at all.\n *\n * - Failing it means *unrecognized*, not denied — log it loudly.\n */\nexport const isKnownAdminRole = (adminRole: string | null | undefined): boolean =>\n (Object.values(AdminRole) as string[]).includes(adminRole ?? '');\n\n/**\n * Whether an admin role may write Kai's project-wide settings.\n *\n * - `admin` and `share` only: a shared prompt-injection surface is project administration.\n * - `developer`/`reviewer` are denied: `agent_settings` is keyed by `project_id` alone, so a dev-branch edit hits production.\n * - An allowlist, so new upstream `AdminRole` members are denied by default.\n * - Spend caps use `./organization#canWriteKaiSpendCaps`; don't widen this for them.\n */\nexport const isKaiSettingsWriterRole = (adminRole: string | null | undefined): boolean => {\n switch (adminRole) {\n case AdminRole.Admin:\n case AdminRole.Share:\n return true;\n default:\n return false;\n }\n};\n\n/**\n * Whether this token may write Kai's project-wide settings.\n *\n * - A limited (non-master) token never may; its `admin` block is absent despite the type.\n */\nexport const canWriteKaiSettings = (token: StorageToken): boolean =>\n token.isMasterToken && isKaiSettingsWriterRole(token.admin?.role);\n\nexport const assertCanWriteKaiSettings = (token: StorageToken): void => {\n if (!canWriteKaiSettings(token)) {\n throw new PermissionDeniedError({\n action: 'write-kai-settings',\n reason: token.isMasterToken\n ? `role '${token.admin?.role ?? 'none'}' may not write Kai settings`\n : 'a limited (non-master) token may not write Kai settings',\n });\n }\n};\n\n/**\n * Whether this token may write the project's semantic layer in the metastore.\n *\n * - Mirrors the metastore's role mapping (go-monorepo `services/metastore/internal/authz`):\n * only a master token with the `admin` or `productionManager` role gets `project-admin`.\n * - Every other role, and a limited token (no `admin` block), gets a 403.\n * - Organization-scope promotion is left to the metastore's 403.\n */\nexport const canWriteSemanticLayer = (token: StorageToken): boolean =>\n token.admin?.role === AdminRole.Admin || token.admin?.role === AdminRole.ProductionManager;\n\nexport const assertCanAdmin = (token: StorageToken): void => {\n if (!isAdmin(token)) {\n throw new PermissionDeniedError({\n action: 'admin',\n reason: `role '${role(token)}' is not admin`,\n });\n }\n};\n\nexport const assertCanAdminOrShare = (token: StorageToken): void => {\n if (!isAdminOrShare(token)) {\n throw new PermissionDeniedError({\n action: 'admin-or-share',\n reason: `role '${role(token)}' is not admin or share`,\n });\n }\n};\n\nexport const assertCanProductionManage = (token: StorageToken): void => {\n if (!isProductionManager(token)) {\n throw new PermissionDeniedError({\n action: 'production-manage',\n reason: `role '${role(token)}' is not productionManager`,\n });\n }\n};\n\nexport const assertCanDevelopOrReview = (token: StorageToken): void => {\n if (!isDeveloperOrReviewer(token)) {\n throw new PermissionDeniedError({\n action: 'develop-or-review',\n reason: `role '${role(token)}' is not developer or reviewer`,\n });\n }\n};\n","/**\n * @module domain/permissions/configurations\n *\n * - Dev branch → developer or reviewer; production → production manager.\n * - Purge is admin-only in any branch mode; its `ctx` is ignored.\n */\nimport type { StorageToken } from '../../clients/storage/tokens/types';\n\nimport { isAdmin, isDeveloperOrReviewer, isProductionManager } from './admin';\nimport { PermissionDeniedError } from './errors';\n\n/**\n * Caller-supplied context for configuration predicates.\n *\n * @property isDevModeActive — `true` on any branch other than the default (`isDefault`) one.\n */\nexport type ConfigurationCtx = {\n isDevModeActive: boolean;\n};\n\nconst meetsBaseRule = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n ctx.isDevModeActive ? isDeveloperOrReviewer(token) : isProductionManager(token);\n\nconst baseDenialReason = (ctx: ConfigurationCtx): string =>\n ctx.isDevModeActive\n ? 'dev branch requires developer or reviewer role'\n : 'production requires productionManager role';\n\nexport const canCreateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canUpdateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canCopyConfiguration = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canMigrateFromTemplate = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const canPurgeConfiguration: (token: StorageToken, ctx: ConfigurationCtx) => boolean = (\n token,\n) => isAdmin(token);\n\nexport const canAssignFolder = (token: StorageToken, ctx: ConfigurationCtx): boolean =>\n meetsBaseRule(token, ctx);\n\nexport const assertCanCreateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canCreateConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'create-configuration',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanUpdateConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canUpdateConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'update-configuration',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanCopyConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canCopyConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'copy-configuration',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanMigrateFromTemplate = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canMigrateFromTemplate(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'migrate-from-template',\n reason: baseDenialReason(ctx),\n });\n }\n};\n\nexport const assertCanPurgeConfiguration = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canPurgeConfiguration(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'purge-configuration',\n reason: 'purge requires admin role',\n });\n }\n};\n\nexport const assertCanAssignFolder = (token: StorageToken, ctx: ConfigurationCtx): void => {\n if (!canAssignFolder(token, ctx)) {\n throw new PermissionDeniedError({\n action: 'assign-folder',\n reason: baseDenialReason(ctx),\n });\n }\n};\n"],"mappings":";;;;;;;;AAMA,IAAa,wBAAb,cAA2C,MAAM;CAC/C;CACA;CACA;CAEA,YAAY,EAAE,QAAQ,QAAQ,WAAkE;EAC9F,MAAM,SAAS,sBAAsB,OAAO,IAAI,OAAO,KAAK,sBAAsB,QAAQ;EAC1F,KAAK,OAAO;EACZ,KAAK,SAAS;EACd,KAAK,SAAS;EACd,KAAK,UAAU;CACjB;AACF;;;ACRA,MAAM,QAAQ,UAA0C,MAAM,MAAM;AAEpE,MAAa,WAAW,UAAiC,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAEnF,MAAa,kBAAkB,UAC7B,KAAK,KAAK,MAAMA,mBAAAA,UAAU,SAAS,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAE/D,MAAa,uBAAuB,UAClC,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAE5B,MAAa,yBAAyB,UACpC,KAAK,KAAK,MAAMA,mBAAAA,UAAU,aAAa,KAAK,KAAK,MAAMA,mBAAAA,UAAU;AAEnE,MAAa,kBAAkB,UAAiC,KAAK,KAAK,MAAMA,mBAAAA,UAAU;;;;;;AAO1F,MAAa,oBAAoB,cAC9B,OAAO,OAAOA,mBAAAA,SAAS,CAAC,CAAc,SAAS,aAAa,EAAE;;;;;;;;;AAUjE,MAAa,2BAA2B,cAAkD;CACxF,QAAQ,WAAR;EACE,KAAKA,mBAAAA,UAAU;EACf,KAAKA,mBAAAA,UAAU,OACb,OAAO;EACT,SACE,OAAO;CACX;AACF;;;;;;AAOA,MAAa,uBAAuB,UAClC,MAAM,iBAAiB,wBAAwB,MAAM,OAAO,IAAI;AAElE,MAAa,6BAA6B,UAA8B;CACtE,IAAI,CAAC,oBAAoB,KAAK,GAC5B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,MAAM,gBACV,SAAS,MAAM,OAAO,QAAQ,OAAO,gCACrC;CACN,CAAC;AAEL;;;;;;;;;AAUA,MAAa,yBAAyB,UACpC,MAAM,OAAO,SAASA,mBAAAA,UAAU,SAAS,MAAM,OAAO,SAASA,mBAAAA,UAAU;AAE3E,MAAa,kBAAkB,UAA8B;CAC3D,IAAI,CAAC,QAAQ,KAAK,GAChB,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;AAEA,MAAa,yBAAyB,UAA8B;CAClE,IAAI,CAAC,eAAe,KAAK,GACvB,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;AAEA,MAAa,6BAA6B,UAA8B;CACtE,IAAI,CAAC,oBAAoB,KAAK,GAC5B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;AAEA,MAAa,4BAA4B,UAA8B;CACrE,IAAI,CAAC,sBAAsB,KAAK,GAC9B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,SAAS,KAAK,KAAK,EAAE;CAC/B,CAAC;AAEL;;;AC/FA,MAAM,iBAAiB,OAAqB,QAC1C,IAAI,kBAAkB,sBAAsB,KAAK,IAAI,oBAAoB,KAAK;AAEhF,MAAM,oBAAoB,QACxB,IAAI,kBACA,mDACA;AAEN,MAAa,0BAA0B,OAAqB,QAC1D,cAAc,OAAO,GAAG;AAE1B,MAAa,0BAA0B,OAAqB,QAC1D,cAAc,OAAO,GAAG;AAE1B,MAAa,wBAAwB,OAAqB,QACxD,cAAc,OAAO,GAAG;AAE1B,MAAa,0BAA0B,OAAqB,QAC1D,cAAc,OAAO,GAAG;AAE1B,MAAa,yBACX,UACG,QAAQ,KAAK;AAElB,MAAa,mBAAmB,OAAqB,QACnD,cAAc,OAAO,GAAG;AAE1B,MAAa,gCAAgC,OAAqB,QAAgC;CAChG,IAAI,CAAC,uBAAuB,OAAO,GAAG,GACpC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,gCAAgC,OAAqB,QAAgC;CAChG,IAAI,CAAC,uBAAuB,OAAO,GAAG,GACpC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,8BAA8B,OAAqB,QAAgC;CAC9F,IAAI,CAAC,qBAAqB,OAAO,GAAG,GAClC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,gCAAgC,OAAqB,QAAgC;CAChG,IAAI,CAAC,uBAAuB,OAAO,GAAG,GACpC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL;AAEA,MAAa,+BAA+B,OAAqB,QAAgC;CAC/F,IAAI,CAAC,sBAAsB,OAAO,GAAG,GACnC,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ;CACV,CAAC;AAEL;AAEA,MAAa,yBAAyB,OAAqB,QAAgC;CACzF,IAAI,CAAC,gBAAgB,OAAO,GAAG,GAC7B,MAAM,IAAI,sBAAsB;EAC9B,QAAQ;EACR,QAAQ,iBAAiB,GAAG;CAC9B,CAAC;AAEL"}
|