@keboola/api-client 33.0.0 → 35.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -2
- package/API-SURFACE.md +16 -2
- package/CHANGELOG.md +253 -0
- package/dist/{ManagementClientAuthError-DqeXL8nv.cjs → ManagementClientAuthError-DD4u0EU7.cjs} +2 -2
- package/dist/{ManagementClientAuthError-DqeXL8nv.cjs.map → ManagementClientAuthError-DD4u0EU7.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-iKbBugKC.js → ManagementClientAuthError-ey-f03vy.js} +2 -2
- package/dist/{ManagementClientAuthError-iKbBugKC.js.map → ManagementClientAuthError-ey-f03vy.js.map} +1 -1
- package/dist/{ValidationError-CzPWydEb.js → ValidationError-BekhphAq.js} +11 -7
- package/dist/ValidationError-BekhphAq.js.map +1 -0
- package/dist/{ValidationError-h5qvwahi.cjs → ValidationError-CLVJCCwH.cjs} +16 -6
- package/dist/ValidationError-CLVJCCwH.cjs.map +1 -0
- package/dist/ai/index.cjs +2 -2
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/index.js +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/{appLogs-D8K0VeNM.cjs → appLogs-BjfUoWzs.cjs} +2 -2
- package/dist/{appLogs-D8K0VeNM.cjs.map → appLogs-BjfUoWzs.cjs.map} +1 -1
- package/dist/{appLogs-u0XMZLjS.d.ts → appLogs-Ch7DYpzx.d.ts} +2 -2
- package/dist/{appLogs-Q4A7A_Fc.d.cts → appLogs-D5A13Y0y.d.cts} +2 -2
- package/dist/{appLogs-D72eD8vP.js → appLogs-xsVkTriU.js} +2 -2
- package/dist/{appLogs-D72eD8vP.js.map → appLogs-xsVkTriU.js.map} +1 -1
- package/dist/apps/index.cjs +3 -3
- package/dist/apps/index.d.cts +3 -3
- package/dist/apps/index.d.ts +3 -3
- package/dist/apps/index.js +3 -3
- package/dist/apps/types.d.cts +2 -2
- package/dist/apps/types.d.ts +2 -2
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/types.d.cts +1 -1
- package/dist/auth/types.d.ts +1 -1
- package/dist/{auth-C2_JLisH.cjs → auth-JQ33o3nU.cjs} +2 -2
- package/dist/{auth-C2_JLisH.cjs.map → auth-JQ33o3nU.cjs.map} +1 -1
- package/dist/{auth-CE9rQV3-.js → auth-aItmDu45.js} +2 -2
- package/dist/{auth-CE9rQV3-.js.map → auth-aItmDu45.js.map} +1 -1
- package/dist/{authClient-DZ_8lvdJ.d.cts → authClient-CTHNs6Tq.d.cts} +4 -4
- package/dist/{authClient-DEyqR7GW.js → authClient-D7W9vWPR.js} +5 -5
- package/dist/{authClient-DEyqR7GW.js.map → authClient-D7W9vWPR.js.map} +1 -1
- package/dist/{authClient-DwT6xdg5.d.ts → authClient-D8i3JTM-.d.ts} +4 -4
- package/dist/{authClient-IwQ9Ti0J.cjs → authClient-_PpvGgZJ.cjs} +5 -5
- package/dist/{authClient-IwQ9Ti0J.cjs.map → authClient-_PpvGgZJ.cjs.map} +1 -1
- package/dist/billing/index.cjs +46 -0
- package/dist/billing/index.cjs.map +1 -0
- package/dist/billing/index.d.cts +48 -0
- package/dist/billing/index.d.ts +48 -0
- package/dist/billing/index.js +45 -0
- package/dist/billing/index.js.map +1 -0
- package/dist/billing/types.cjs +0 -0
- package/dist/billing/types.d.cts +635 -0
- package/dist/billing/types.d.ts +635 -0
- package/dist/billing/types.js +1 -0
- package/dist/chat/index.cjs +3 -3
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/index.js +3 -3
- package/dist/chat/types.cjs +18 -0
- package/dist/chat/types.cjs.map +1 -1
- package/dist/chat/types.d.cts +2 -2
- package/dist/chat/types.d.ts +2 -2
- package/dist/chat/types.js +18 -1
- package/dist/chat/types.js.map +1 -1
- package/dist/{configurations-d7SZmw69.js → configurations-BVvcimzo.js} +17 -2
- package/dist/configurations-BVvcimzo.js.map +1 -0
- package/dist/{configurations-CqwAxiQL.cjs → configurations-CyFF9Dtu.cjs} +22 -1
- package/dist/configurations-CyFF9Dtu.cjs.map +1 -0
- package/dist/{configurations-ZwBXilW-.js → configurations-VtNE0nrT.js} +2 -2
- package/dist/{configurations-ZwBXilW-.js.map → configurations-VtNE0nrT.js.map} +1 -1
- package/dist/{configurations-Ck-mNB_E.cjs → configurations-zkNjr73Q.cjs} +2 -2
- package/dist/{configurations-Ck-mNB_E.cjs.map → configurations-zkNjr73Q.cjs.map} +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/{constants-lIfSdTzS.cjs → constants-C4DlsF_M.cjs} +3 -2
- package/dist/constants-C4DlsF_M.cjs.map +1 -0
- package/dist/{constants-ByEwVtGf.js → constants-wfbFsqqN.js} +3 -2
- package/dist/constants-wfbFsqqN.js.map +1 -0
- package/dist/{createFetchClient-DvZvD31l.cjs → createFetchClient-DgMiqTJ8.cjs} +19 -4
- package/dist/createFetchClient-DgMiqTJ8.cjs.map +1 -0
- package/dist/{createFetchClient-DdyZMhxO.js → createFetchClient-U-ZrwPl2.js} +14 -5
- package/dist/{createFetchClient-DvZvD31l.cjs.map → createFetchClient-U-ZrwPl2.js.map} +1 -1
- package/dist/{createGenericFetchClient-qfCZlCTv.cjs → createGenericFetchClient-o3cPJeRn.cjs} +2 -2
- package/dist/{createGenericFetchClient-qfCZlCTv.cjs.map → createGenericFetchClient-o3cPJeRn.cjs.map} +1 -1
- package/dist/{createGenericFetchClient-MQeLRiNW.js → createGenericFetchClient-rxvUUbap.js} +2 -2
- package/dist/{createGenericFetchClient-MQeLRiNW.js.map → createGenericFetchClient-rxvUUbap.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-E7OIVkYv.js → createOpenapiFetchClient-BVSc9ibR.js} +2 -2
- package/dist/{createOpenapiFetchClient-E7OIVkYv.js.map → createOpenapiFetchClient-BVSc9ibR.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-C57Ljzi6.cjs → createOpenapiFetchClient-DhUU3M1W.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-C57Ljzi6.cjs.map → createOpenapiFetchClient-DhUU3M1W.cjs.map} +1 -1
- package/dist/{credential-Bxv7yxOZ.js → credential-CihSf_xs.js} +2 -2
- package/dist/{credential-Bxv7yxOZ.js.map → credential-CihSf_xs.js.map} +1 -1
- package/dist/{credential-D-X5QQrM.cjs → credential-DVWvJFJs.cjs} +2 -2
- package/dist/{credential-D-X5QQrM.cjs.map → credential-DVWvJFJs.cjs.map} +1 -1
- package/dist/dataScience/index.cjs +2 -2
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/index.js +2 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/{dataScience-BPW993AG.cjs → dataScience-0Rl_EuV_.cjs} +5 -5
- package/dist/{dataScience-BPW993AG.cjs.map → dataScience-0Rl_EuV_.cjs.map} +1 -1
- package/dist/{dataScience-B_TA7wCB.js → dataScience-C1gO5zUn.js} +5 -5
- package/dist/{dataScience-B_TA7wCB.js.map → dataScience-C1gO5zUn.js.map} +1 -1
- package/dist/developerPortal/index.cjs +1 -1
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/index.js +1 -1
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/{developerPortalClient-jk46sjwP.js → developerPortalClient-C_48z8BN.js} +3 -3
- package/dist/{developerPortalClient-jk46sjwP.js.map → developerPortalClient-C_48z8BN.js.map} +1 -1
- package/dist/{developerPortalClient-Db2XVB_o.cjs → developerPortalClient-ki0XS_OD.cjs} +3 -3
- package/dist/{developerPortalClient-Db2XVB_o.cjs.map → developerPortalClient-ki0XS_OD.cjs.map} +1 -1
- package/dist/domain/permissions/index.cjs +2 -1
- package/dist/domain/permissions/index.d.cts +18 -3
- package/dist/domain/permissions/index.d.ts +18 -3
- package/dist/domain/permissions/index.js +2 -2
- package/dist/editor/index.cjs +2 -2
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/index.js +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/encryption/index.cjs +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/index.js +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.cjs +1 -1
- package/dist/import/index.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/import/index.js +1 -1
- package/dist/{import-DJilJ6tq.cjs → import-C83w7BKz.cjs} +3 -3
- package/dist/{import-DJilJ6tq.cjs.map → import-C83w7BKz.cjs.map} +1 -1
- package/dist/{import-2nqxQ9Rt.js → import-CROEK82b.js} +3 -3
- package/dist/{import-2nqxQ9Rt.js.map → import-CROEK82b.js.map} +1 -1
- package/dist/{index-DQef014j.d.ts → index-3LUk2rpD.d.ts} +4 -4
- package/dist/{index-BjKjp3Rf.d.ts → index-6Xe81qN3.d.ts} +5 -5
- package/dist/{index-DIVvL54G.d.cts → index-BLx14ZI4.d.cts} +104 -44
- package/dist/{index-CUXEFQ7i.d.cts → index-BgLnWTZU.d.cts} +6 -6
- package/dist/{index-C_cxKL1V.d.ts → index-BuegqrS1.d.ts} +3 -3
- package/dist/{index-bB6wvw1f.d.ts → index-C77vTm2K.d.ts} +4 -4
- package/dist/{index-qOK5FtAH.d.cts → index-CW3Pj7DY.d.cts} +4 -4
- package/dist/{index-B2OGaUap.d.ts → index-CqgtL2NU.d.ts} +6 -6
- package/dist/{index-C7gxKoDF.d.cts → index-D8rcUbnk.d.ts} +3 -3
- package/dist/{index-B0V1pJAa.d.ts → index-DFBFa3SS.d.ts} +104 -44
- package/dist/{index-CVqk63at.d.ts → index-DR4QqItd.d.cts} +3 -3
- package/dist/{index-DCN2lH0v.d.cts → index-DXSmFkol.d.cts} +4 -4
- package/dist/{index-CTd4YY8e.d.cts → index-Dodwl64k.d.cts} +69 -36
- package/dist/{index-t-a7kYnx.d.cts → index-DppA4k3b.d.cts} +5 -5
- package/dist/{index-DLYAvSWZ.d.cts → index-Dx52hNLP.d.cts} +3 -3
- package/dist/{index-exNi3I2Q.d.cts → index-GjcJTCbz.d.cts} +4 -4
- package/dist/{index-DhVFuQDv.d.cts → index-KuQ79Mnz.d.ts} +13 -3
- package/dist/{index-GNKwr7EQ.d.ts → index-P-iT5THa.d.ts} +69 -36
- package/dist/{index-DVhTNwvu.d.ts → index-V7XKUQm9.d.cts} +13 -3
- package/dist/{index-ChMtULt4.d.ts → index-pXN4LWUX.d.ts} +4 -4
- package/dist/index.cjs +77 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +74 -35
- package/dist/index.js.map +1 -1
- package/dist/isLoginPageRedirect-B0EmRsHr.cjs +25 -0
- package/dist/isLoginPageRedirect-B0EmRsHr.cjs.map +1 -0
- package/dist/isLoginPageRedirect-BTTAedW-.js +20 -0
- package/dist/isLoginPageRedirect-BTTAedW-.js.map +1 -0
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +1 -1
- package/dist/kaiAgent/index.d.ts +1 -1
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/{kaiAgent-CYYn0QJW.js → kaiAgent-8LNzGhZc.js} +4 -4
- package/dist/{kaiAgent-CYYn0QJW.js.map → kaiAgent-8LNzGhZc.js.map} +1 -1
- package/dist/{kaiAgent-CMVub6Sc.cjs → kaiAgent-B_TaUPRt.cjs} +4 -4
- package/dist/{kaiAgent-CMVub6Sc.cjs.map → kaiAgent-B_TaUPRt.cjs.map} +1 -1
- package/dist/{kaiAgentClient-B2O0DF4d.d.ts → kaiAgentClient-BJj_2aqt.d.ts} +4 -3
- package/dist/{kaiAgentClient-iCFR2tRU.d.cts → kaiAgentClient-DhTaM3GC.d.cts} +4 -3
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-DGfgKsaA.cjs → management-BoxlRNg2.cjs} +53 -10
- package/dist/management-BoxlRNg2.cjs.map +1 -0
- package/dist/{management-DNEKhR6a.js → management-Bp440RsV.js} +53 -10
- package/dist/management-Bp440RsV.js.map +1 -0
- package/dist/metastore/index.cjs +1 -1
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/index.js +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/{metastore-DksEte8P.cjs → metastore-BYYWTb3m.cjs} +4 -4
- package/dist/{metastore-DksEte8P.cjs.map → metastore-BYYWTb3m.cjs.map} +1 -1
- package/dist/{metastore-CjwktHvw.js → metastore-VCDRVhUT.js} +4 -4
- package/dist/{metastore-CjwktHvw.js.map → metastore-VCDRVhUT.js.map} +1 -1
- package/dist/microsoftGraph/index.cjs +2 -2
- package/dist/microsoftGraph/index.d.cts +2 -2
- package/dist/microsoftGraph/index.d.ts +2 -2
- package/dist/microsoftGraph/index.js +2 -2
- package/dist/microsoftGraph/types.d.cts +1 -1
- package/dist/microsoftGraph/types.d.ts +1 -1
- package/dist/notifications/index.cjs +3 -3
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/index.js +3 -3
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.cjs +1 -1
- package/dist/oauth/index.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/index.js +1 -1
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/{oauth-Bg5zro5S.js → oauth--asfePw-.js} +5 -5
- package/dist/{oauth-Bg5zro5S.js.map → oauth--asfePw-.js.map} +1 -1
- package/dist/{oauth-DFsI1TE5.cjs → oauth-B8yqG6Sy.cjs} +5 -5
- package/dist/{oauth-DFsI1TE5.cjs.map → oauth-B8yqG6Sy.cjs.map} +1 -1
- package/dist/omnisearch/index.cjs +2 -2
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/index.js +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-Bh954iOA.d.ts → project-C2wvX0xZ.d.ts} +2 -2
- package/dist/{project-D25GH8zK.d.cts → project-hePfzUY0.d.cts} +2 -2
- package/dist/queryService/index.cjs +1 -1
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/index.js +1 -1
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/{queryService--t_W9PSJ.cjs → queryService-BVtjkXy1.cjs} +5 -5
- package/dist/{queryService--t_W9PSJ.cjs.map → queryService-BVtjkXy1.cjs.map} +1 -1
- package/dist/{queryService-DX6zeAs_.js → queryService-Ca65E5KH.js} +5 -5
- package/dist/{queryService-DX6zeAs_.js.map → queryService-Ca65E5KH.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +3 -3
- package/dist/queue/index.d.ts +3 -3
- package/dist/queue/index.js +1 -1
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/{queue-DrLUbk98.js → queue-DyotLFJi.js} +4 -4
- package/dist/{queue-DrLUbk98.js.map → queue-DyotLFJi.js.map} +1 -1
- package/dist/{queue-D1_TCe0z.cjs → queue-OJJUUqc2.cjs} +4 -4
- package/dist/{queue-D1_TCe0z.cjs.map → queue-OJJUUqc2.cjs.map} +1 -1
- package/dist/scheduler/index.cjs +3 -3
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/index.js +3 -3
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +1 -1
- package/dist/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -4
- package/dist/sdk/configurations/index.js +1 -1
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.d.cts +3 -3
- package/dist/sdk/developerPortal/index.d.ts +3 -3
- package/dist/sdk/developerPortal/index.js +3 -3
- package/dist/sdk/queryService/index.cjs +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/queryService/index.js +1 -1
- package/dist/sdk/semanticLayer/index.cjs +21 -448
- package/dist/sdk/semanticLayer/index.d.cts +21 -2
- package/dist/sdk/semanticLayer/index.d.ts +21 -2
- package/dist/sdk/semanticLayer/index.js +2 -430
- package/dist/sdk/semanticLayer/types.d.cts +2 -2
- package/dist/sdk/semanticLayer/types.d.ts +2 -2
- package/dist/sdk/storage/index.d.cts +1 -1
- package/dist/sdk/storage/index.d.ts +1 -1
- package/dist/sdk/tag/index.d.cts +2 -2
- package/dist/sdk/tag/index.d.ts +2 -2
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/semanticLayer-CSqmtHRo.js +692 -0
- package/dist/semanticLayer-CSqmtHRo.js.map +1 -0
- package/dist/semanticLayer-E0Vilu8u.cjs +811 -0
- package/dist/semanticLayer-E0Vilu8u.cjs.map +1 -0
- package/dist/{serviceIds-fHLDwOg9.d.ts → serviceIds-DRcoTnSd.d.cts} +2 -1
- package/dist/{serviceIds-fHLDwOg9.d.cts → serviceIds-DRcoTnSd.d.ts} +2 -1
- package/dist/status/index.cjs +1 -1
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +6 -5
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +6 -6
- package/dist/storage/types.d.cts +3 -3
- package/dist/storage/types.d.ts +3 -3
- package/dist/{storage-DexWot8H.cjs → storage-BKm7cztt.cjs} +6 -6
- package/dist/{storage-DexWot8H.cjs.map → storage-BKm7cztt.cjs.map} +1 -1
- package/dist/{storage--cVaecFq.js → storage-LYwFQPNO.js} +6 -6
- package/dist/{storage--cVaecFq.js.map → storage-LYwFQPNO.js.map} +1 -1
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/index.js +3 -3
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.d.cts +1 -1
- package/dist/syncActions/index.d.ts +1 -1
- package/dist/syncActions/index.js +1 -1
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/{syncActions-DQq_A9v6.cjs → syncActions-OEZdVffK.cjs} +6 -6
- package/dist/{syncActions-DQq_A9v6.cjs.map → syncActions-OEZdVffK.cjs.map} +1 -1
- package/dist/{syncActions-CkMHM-jB.js → syncActions-QeBhIVhG.js} +6 -6
- package/dist/{syncActions-CkMHM-jB.js.map → syncActions-QeBhIVhG.js.map} +1 -1
- package/dist/telemetry/index.cjs +38 -2
- package/dist/telemetry/index.cjs.map +1 -0
- package/dist/telemetry/index.d.cts +15 -8
- package/dist/telemetry/index.d.ts +15 -8
- package/dist/telemetry/index.js +37 -1
- package/dist/telemetry/index.js.map +1 -0
- package/dist/telemetry/types.d.cts +2 -2
- package/dist/telemetry/types.d.ts +2 -2
- package/dist/{types-Be3Wgn1U.d.cts → types-3eUgOA7I.d.cts} +2 -2
- package/dist/{types-bY6K3y0O.d.cts → types-52irAt99.d.cts} +2 -2
- package/dist/{types-C2gzqtjf.d.ts → types-B2U9cFcx.d.ts} +2 -2
- package/dist/{types-C35GWNmq.d.ts → types-B3GOGUJ7.d.cts} +753 -45
- package/dist/{types-B42HhyB0.d.cts → types-BEe50G2r.d.cts} +2 -2
- package/dist/{types-6ThDkaJw.d.ts → types-BH5LLeJy.d.ts} +2 -2
- package/dist/{types-CxmV36rp.d.cts → types-BMeDOB_D.d.ts} +753 -45
- package/dist/{types-CPaluTW7.d.cts → types-BOqD3Hqy.d.cts} +3 -3
- package/dist/{types-CHCM9oNk.d.ts → types-BQsOHNI0.d.ts} +3 -3
- package/dist/{types-Cu-0LT4f.d.cts → types-BQvv4RaI.d.cts} +2 -2
- package/dist/{types-ZGAWRIBW.d.ts → types-BTWIPEiU.d.ts} +2 -2
- package/dist/{types-B4_MM5Wf.d.cts → types-BW2BXUB4.d.cts} +2 -2
- package/dist/{types-CSc8NQCY.d.ts → types-BrYkBQo4.d.ts} +2 -2
- package/dist/{types-D7Wgcp0u.d.ts → types-BsxLGDoC.d.cts} +2 -2
- package/dist/{types-CNQdtffE.d.ts → types-BupPADSm.d.ts} +10 -3
- package/dist/{types-B7O5koJb.d.cts → types-Bxhh2SJr.d.ts} +2 -2
- package/dist/{types-DAzmGzlb.d.ts → types-BztF4HeB.d.ts} +2 -2
- package/dist/{types-6ku2LeX6.d.ts → types-C0_2KZ-A.d.ts} +2 -2
- package/dist/{types-BUYqdN7B.d.ts → types-C2vefB4D.d.ts} +17 -4
- package/dist/{types-6hh_3SZs.d.ts → types-CBgLCkYe.d.ts} +3 -3
- package/dist/{types-C_ilZZkQ.d.ts → types-CKiW3n6v.d.ts} +2 -2
- package/dist/{types-sO52qIAA.d.cts → types-COL1kVEB.d.cts} +2 -2
- package/dist/types-CPB-eF82.d.ts +289 -0
- package/dist/{types-Ccgbipp4.d.cts → types-CW6lCqrC.d.cts} +2 -2
- package/dist/{types-BS5M67xm.d.cts → types-CaYtinmA.d.cts} +3 -3
- package/dist/{types-BHI8Lin9.d.ts → types-CcrvrAJX.d.ts} +2 -2
- package/dist/{types-D-98DirB.d.ts → types-Ct0YPy2w.d.ts} +2 -2
- package/dist/{types-Jt0ipbSm.d.cts → types-Cz83RiVu.d.cts} +2 -2
- package/dist/{types-B6JJCta-.d.cts → types-D8Rrz51O.d.cts} +2 -2
- package/dist/{types-3p0adMdd.d.cts → types-DARv_P6O.d.cts} +3 -3
- package/dist/{types-Cpjk0-ta.d.ts → types-DBOSvWtD.d.ts} +2 -2
- package/dist/{types-C4mr0lop.d.ts → types-DEc55spK.d.ts} +13 -4
- package/dist/{types-DqniGeDJ.d.cts → types-DNxOHnZI.d.cts} +2 -2
- package/dist/{types-CrH4H8M4.d.cts → types-DPS8nwkV.d.cts} +2 -2
- package/dist/{types-DTTC70Ac.d.ts → types-DYzJ6K2e.d.ts} +2 -2
- package/dist/{types-CCr1-9Q6.d.cts → types-DZk3XHiN.d.cts} +3 -3
- package/dist/{types-DHqIJKwx.d.ts → types-DajzGOKB.d.ts} +2 -2
- package/dist/{types-DlvZeert.d.ts → types-DfvdbRPL.d.ts} +2 -2
- package/dist/{types-k4R8gQ4U.d.ts → types-DhDNS-5B.d.ts} +21 -3
- package/dist/{types-D6ocCyGh.d.cts → types-DjrRmQUe.d.cts} +13 -4
- package/dist/{types-B6lOyHY_.d.ts → types-Dmu-8g4O.d.ts} +3 -3
- package/dist/{types-BT46XIgn.d.cts → types-DqxIx9Pi.d.cts} +2 -2
- package/dist/{types-BO3sCD0a.d.cts → types-Jw10xuOW.d.cts} +2 -2
- package/dist/{types-sp1rJY9E.d.cts → types-M46WuBSm.d.cts} +2 -2
- package/dist/{types-BOnf68s5.d.cts → types-N3EChotg.d.cts} +2 -2
- package/dist/{types-Ur37iOqb.d.ts → types-OaD-cbbl.d.ts} +3 -3
- package/dist/{types-DHI0g51U.d.cts → types-_RhBCj4_.d.cts} +2 -2
- package/dist/{types-0xa_7cgo.d.cts → types-bGQb4Jtl.d.cts} +21 -3
- package/dist/{types-E3VT-zYz.d.cts → types-f8W_j6qD.d.cts} +10 -3
- package/dist/{types-DONxb2-c.d.cts → types-fX4gbxfV.d.cts} +17 -4
- package/dist/types-g3vU7hcg.d.cts +289 -0
- package/dist/{types-BYKHr5bR.d.ts → types-l9o4gFsI.d.ts} +2 -2
- package/dist/{types-CaMfshWX.d.ts → types-nrviNdzZ.d.ts} +2 -2
- package/dist/{types-BgVKG4vg.d.ts → types-zZBxJ0P-.d.ts} +2 -2
- package/dist/{validateConnectionStatus-24zqIQ0p.cjs → validateConnectionStatus-CsvYmCOI.cjs} +5 -4
- package/dist/validateConnectionStatus-CsvYmCOI.cjs.map +1 -0
- package/dist/{validateConnectionStatus-DhkWg6Eq.js → validateConnectionStatus-olE2sQ3U.js} +5 -4
- package/dist/{validateConnectionStatus-DhkWg6Eq.js.map → validateConnectionStatus-olE2sQ3U.js.map} +1 -1
- package/dist/vault/index.cjs +4 -4
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +4 -4
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +31 -5
- package/surface/billing.md +9 -0
- package/surface/kaiAgent.md +2 -2
- package/surface/management.md +13 -3
- package/surface/telemetry.md +2 -4
- package/dist/ValidationError-CzPWydEb.js.map +0 -1
- package/dist/ValidationError-h5qvwahi.cjs.map +0 -1
- package/dist/configurations-CqwAxiQL.cjs.map +0 -1
- package/dist/configurations-d7SZmw69.js.map +0 -1
- package/dist/constants-ByEwVtGf.js.map +0 -1
- package/dist/constants-lIfSdTzS.cjs.map +0 -1
- package/dist/createFetchClient-DdyZMhxO.js.map +0 -1
- package/dist/management-DGfgKsaA.cjs.map +0 -1
- package/dist/management-DNEKhR6a.js.map +0 -1
- package/dist/sdk/semanticLayer/index.cjs.map +0 -1
- package/dist/sdk/semanticLayer/index.js.map +0 -1
- package/dist/telemetry-CAu1Qt7B.cjs +0 -29
- package/dist/telemetry-CAu1Qt7B.cjs.map +0 -1
- package/dist/telemetry-Ca6j0i9w.js +0 -24
- package/dist/telemetry-Ca6j0i9w.js.map +0 -1
- package/dist/types-lFsTSkhe.d.cts +0 -14
- package/dist/types-lFsTSkhe.d.ts +0 -14
- package/dist/validateConnectionStatus-24zqIQ0p.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { $ as RemoveProjectUserPath, A as GetProjectPath, At as
|
|
1
|
+
import { D as MiddlewareFn, S as ManagementClientAuthError, t as createOpenapiFetchClient } from "./index-KuQ79Mnz.js";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-Ct0YPy2w.js";
|
|
3
|
+
import { $ as RemoveProjectUserPath, $n as FeatureProject, $t as MaintainerInvitationPath, A as GetProjectPath, An as OrganizationUserPath, At as CreditPaymentRequest, B as ProjectBase, Bn as FileStorageGcs, C as CreateProjectFeatureBody, Ct as UserDetail, D as DeleteProjectInvitationPath, Dn as OrganizationMetadataItemPath, E as CreateProjectInvitationPath, Et as UserOrganizationMembership, F as ListProjectJoinRequestsPath, Fn as CreateFileStorageAbsBody, Ft as TopUpSetting, Ht as CreateMaintainerBody, I as ListProjectUsersPath, In as CreateFileStorageGcsBody, It as UpdateStripeCustomerBody, Jt as CreateSamlConfigInput, K as ProjectMetadataItem, Kn as RotateFileStorageGcsInput, Kt as CreateMaintainerOrganizationInput, Ln as CreateFileStorageS3Body, Lt as UpdateTopUpSettingBody, Mn as SetOrganizationMetadataInput, Mt as PayAsYouGoBillingConfiguration, N as JoinProjectInput, Nt as StripeCustomer, O as DeleteProjectMetadataPath, Ot as UserProjectMembership, P as ListProjectInvitationsPath, Pn as UpdateOrganizationInput, Q as RemoveProjectTemplateFeaturePath, Qn as FeatureAdmin, R as MoveProjectInput, Sn as OrganizationDetail, St as User, T as CreateProjectInvitationBody, Tt as UserMaintainerMembership, Un as RotateFileStorageAbsInput, Vt as CompleteSamlSetupInput, W as ProjectJoinRequestPath, Wt as CreateMaintainerInvitationInput, X as RemoveProjectFeaturePath, Xt as Maintainer, Yn as RotateFileStorageS3Input, Z as RemoveProjectLimitPath, Zn as Feature, Zt as MaintainerDetail, _ as AddProjectUserPath, _t as RemoveUserFeaturePath, a as CreateBigqueryStorageBackendBody, bn as CreateOrganizationProjectInput, c as StorageBackend, ct as SetProjectMetadataPath, dn as UpdateMaintainerInput, en as MaintainerMetadataItemPath, ft as UpdateProjectInput, g as AddProjectUserBody, gt as GetUsersQuery, h as UpdateStorageBackendInput, hn as AddOrganizationUserInput, ht as DeleteUserMetadataPath, in as MetadataItem, ir as DeletedProjectsListQuery, it as SetProjectDisabledInput, j as GetProjectReviewersPath, jt as CreditPurchase, k as GetProjectMetadataPath, kt as CreatePaymentRequestBody, ln as SetMaintainerMetadataInput, lr as paths, lt as SetProjectReviewersBody, mt as AddUserFeaturePath, n as ActivateUiAppVersionPath, nn as MaintainerUser, nt as Reviewer, o as CreateSnowflakeStorageBackendBody, on as SamlConfigPath, ot as SetProjectLimitsInput, p as UpdateBigqueryStorageBackendInput, pn as UpdateSamlConfigInput, pt as AddUserFeatureBody, r as RegisterUiAppBody, rn as MaintainerUserPath, s as GetStorageBackendProjectsQuery, st as SetProjectMetadataBody, tr as GetAllFeaturesQuery, tt as RequestProjectAccessInput, ut as SetProjectReviewersPath, vn as CreateOrganizationInvitationInput, w as CreateProjectFeaturePath, wn as OrganizationInvitationPath, wt as UserListItem, x as ChangeProjectUserRoleInput, xt as UpdateUserInput, y as AssignProjectTemplateFeatureInput, yt as SetUserMetadataInput, z as Project, zt as AddMaintainerUserInput } from "./types-BMeDOB_D.js";
|
|
4
4
|
//#region src/clients/management/managementClient.d.ts
|
|
5
5
|
type ManagementOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
6
6
|
type AuthStrategy = {
|
|
@@ -355,42 +355,45 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
|
|
|
355
355
|
}[]>;
|
|
356
356
|
joinMaintainer: (maintainerId: number) => Promise<void>;
|
|
357
357
|
getMaintainerSamlConfigs: (maintainerId: number, signal?: AbortSignal) => Promise<{
|
|
358
|
-
id
|
|
359
|
-
maintainerId
|
|
360
|
-
customerSlug
|
|
361
|
-
name
|
|
362
|
-
description
|
|
363
|
-
idpEntityId
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
358
|
+
id: number;
|
|
359
|
+
maintainerId: number;
|
|
360
|
+
customerSlug: string;
|
|
361
|
+
name: string;
|
|
362
|
+
description: string | null;
|
|
363
|
+
idpEntityId: string;
|
|
364
|
+
membershipRestriction: 'none' | 'permittedDomains';
|
|
365
|
+
isActive: boolean;
|
|
366
|
+
createdAt: string;
|
|
367
|
+
updatedAt: string;
|
|
367
368
|
}>;
|
|
368
369
|
getMaintainerSamlConfig: ({ maintainerId, configId }: SamlConfigPath, signal?: AbortSignal) => Promise<{
|
|
369
|
-
id
|
|
370
|
-
maintainerId
|
|
371
|
-
customerSlug
|
|
372
|
-
name
|
|
373
|
-
description
|
|
374
|
-
idpEntityId
|
|
375
|
-
idpSsoUrl
|
|
376
|
-
idpSloUrl
|
|
377
|
-
idpX509Cert
|
|
378
|
-
spX509Cert
|
|
379
|
-
spEntityIdSuffix
|
|
380
|
-
attributeEmail
|
|
381
|
-
attributeFirstName
|
|
382
|
-
attributeLastName
|
|
383
|
-
attributeRoles
|
|
384
|
-
roleRequiredToLogin
|
|
385
|
-
roleProjectPrefix
|
|
386
|
-
roleOrgAdminPrefix
|
|
387
|
-
designAdminEmail
|
|
388
|
-
loginUrlParams
|
|
370
|
+
id: number;
|
|
371
|
+
maintainerId: number;
|
|
372
|
+
customerSlug: string;
|
|
373
|
+
name: string;
|
|
374
|
+
description: string | null;
|
|
375
|
+
idpEntityId: string;
|
|
376
|
+
idpSsoUrl: string | null;
|
|
377
|
+
idpSloUrl: string | null;
|
|
378
|
+
idpX509Cert: string | null;
|
|
379
|
+
spX509Cert: string;
|
|
380
|
+
spEntityIdSuffix: string | null;
|
|
381
|
+
attributeEmail: string;
|
|
382
|
+
attributeFirstName: string;
|
|
383
|
+
attributeLastName: string;
|
|
384
|
+
attributeRoles: string | null;
|
|
385
|
+
roleRequiredToLogin: string | null;
|
|
386
|
+
roleProjectPrefix: string | null;
|
|
387
|
+
roleOrgAdminPrefix: string | null;
|
|
388
|
+
designAdminEmail: string | null;
|
|
389
|
+
loginUrlParams: {
|
|
389
390
|
[key: string]: string;
|
|
390
391
|
} | null;
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
permittedEmailDomains: string[];
|
|
393
|
+
membershipRestriction: 'none' | 'permittedDomains';
|
|
394
|
+
isActive: boolean;
|
|
395
|
+
createdAt: string;
|
|
396
|
+
updatedAt: string;
|
|
394
397
|
}>;
|
|
395
398
|
createMaintainerSamlConfig: ({ maintainerId, ...body }: CreateSamlConfigInput) => Promise<{
|
|
396
399
|
id?: number;
|
|
@@ -398,6 +401,7 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
|
|
|
398
401
|
customerSlug?: string;
|
|
399
402
|
name?: string;
|
|
400
403
|
isActive?: boolean;
|
|
404
|
+
membershipRestriction?: 'none' | 'permittedDomains';
|
|
401
405
|
spConfiguration?: {
|
|
402
406
|
entityId?: string;
|
|
403
407
|
acsUrl?: string;
|
|
@@ -608,6 +612,35 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
|
|
|
608
612
|
setOrganizationMetadata: ({ organizationId, ...body }: SetOrganizationMetadataInput) => Promise<MetadataItem[]>;
|
|
609
613
|
deleteOrganizationMetadata: ({ organizationId, metadataId }: OrganizationMetadataItemPath) => Promise<void>;
|
|
610
614
|
};
|
|
615
|
+
payAsYouGo: {
|
|
616
|
+
getBillingConfiguration: (signal?: AbortSignal) => Promise<PayAsYouGoBillingConfiguration>;
|
|
617
|
+
getCreditPurchases: (idProject: number, signal?: AbortSignal) => Promise<CreditPurchase[]>;
|
|
618
|
+
getStripeCustomer: (idProject: number, signal?: AbortSignal) => Promise<StripeCustomer | null>;
|
|
619
|
+
updateStripeCustomer: (body: UpdateStripeCustomerBody) => Promise<{
|
|
620
|
+
email: string | null;
|
|
621
|
+
name: string | null;
|
|
622
|
+
address?: {
|
|
623
|
+
line1?: string | null;
|
|
624
|
+
line2?: string | null;
|
|
625
|
+
city?: string | null;
|
|
626
|
+
state?: string | null;
|
|
627
|
+
postal_code?: string | null;
|
|
628
|
+
country?: string | null;
|
|
629
|
+
};
|
|
630
|
+
vat_id?: string;
|
|
631
|
+
cards: {
|
|
632
|
+
id: string;
|
|
633
|
+
brand: string;
|
|
634
|
+
exp_month: number;
|
|
635
|
+
exp_year: number;
|
|
636
|
+
last4: string;
|
|
637
|
+
funding: string;
|
|
638
|
+
}[];
|
|
639
|
+
}>;
|
|
640
|
+
getTopUpSetting: (projectId: number, signal?: AbortSignal) => Promise<TopUpSetting>;
|
|
641
|
+
updateTopUpSetting: (body: UpdateTopUpSettingBody) => Promise<void>;
|
|
642
|
+
createPaymentRequest: (body: CreatePaymentRequestBody) => Promise<CreditPaymentRequest>;
|
|
643
|
+
};
|
|
611
644
|
features: {
|
|
612
645
|
getAllFeatures: (query: GetAllFeaturesQuery, signal?: AbortSignal) => Promise<Feature[]>;
|
|
613
646
|
getFeature: (featureId: number, signal?: AbortSignal) => Promise<Feature>;
|
|
@@ -1072,4 +1105,4 @@ declare const createManagementClient: ({ baseUrl, middlewares, auth, withAuthMid
|
|
|
1072
1105
|
declare const isManagementClientAuthError: (error: unknown) => error is ManagementClientAuthError;
|
|
1073
1106
|
//#endregion
|
|
1074
1107
|
export { createManagementClient as i, AuthStrategy as n, ManagementOpenApiFetchClient as r, isManagementClientAuthError as t };
|
|
1075
|
-
//# sourceMappingURL=index-
|
|
1108
|
+
//# sourceMappingURL=index-P-iT5THa.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as z$1 from "zod";
|
|
2
1
|
import { IStringifyOptions } from "qs";
|
|
2
|
+
import * as z$1 from "zod";
|
|
3
3
|
//#region src/errors/ApiError.d.ts
|
|
4
4
|
declare class ApiError extends Error {
|
|
5
5
|
response: Response;
|
|
@@ -84,6 +84,16 @@ declare class ValidationError extends Error {
|
|
|
84
84
|
constructor(message: string, issues?: z$1.core.$ZodIssue[]);
|
|
85
85
|
}
|
|
86
86
|
declare const isValidationError: (error: unknown) => error is ValidationError;
|
|
87
|
+
/**
|
|
88
|
+
* One line per issue, prefixed by the field it belongs to.
|
|
89
|
+
*
|
|
90
|
+
* - Not `z.prettifyError`, which formats for a terminal — its `✖`/`→` glyphs and newlines survive a
|
|
91
|
+
* log but collapse into one run-on line in HTML, where most of these end up.
|
|
92
|
+
* - Exported for the boundaries that degrade instead of throwing: a read that drops one malformed
|
|
93
|
+
* element still owes a reason, and it needs the same one line without a `ValidationError`.
|
|
94
|
+
* - Says which field and what is wrong with it, never the value — so it is safe to log.
|
|
95
|
+
*/
|
|
96
|
+
declare const formatValidationIssues: (issues: readonly z$1.core.$ZodIssue[]) => string;
|
|
87
97
|
/**
|
|
88
98
|
* Parses with `schema`, converting a `ZodError` into a {@link ValidationError}. Use it instead of a
|
|
89
99
|
* bare `schema.parse()` anywhere the value crosses the package boundary — every client input and
|
|
@@ -235,5 +245,5 @@ type FetchClient<Paths extends OpenapiPaths<Paths>> = {
|
|
|
235
245
|
};
|
|
236
246
|
declare const createOpenapiFetchClient: <Paths extends OpenapiPaths<Paths>>(defaultOptions: CreateFetchClientOptions) => FetchClient<Paths>;
|
|
237
247
|
//#endregion
|
|
238
|
-
export {
|
|
239
|
-
//# sourceMappingURL=index-
|
|
248
|
+
export { HtmlResponseError as C, MiddlewareFn as D, HttpMethod as E, ValidateStatusFn as O, ManagementClientAuthError as S, ApiResponse as T, isTimeoutError as _, OpenapiParametersType as a, isValidationError as b, OpenapiReturnType as c, HttpContentType as d, HttpHeader as f, isFetchClientError as g, isApiError as h, OpenapiFormDataType as i, ApiError as k, UploadProgress as l, isAbortError as m, ArrayElement as n, OpenapiPathType as o, FetchClientError as p, OpenapiBodyType as r, OpenapiQueryType as s, createOpenapiFetchClient as t, createGenericFetchClient as u, ValidationError as v, isHtmlResponseError as w, parseOrThrow as x, formatValidationIssues as y };
|
|
249
|
+
//# sourceMappingURL=index-V7XKUQm9.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, 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, x as LoginResult, y as LoginChallenge } from "./types-
|
|
1
|
+
import { D as MiddlewareFn, t as createOpenapiFetchClient } from "./index-KuQ79Mnz.js";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-Ct0YPy2w.js";
|
|
3
|
+
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, 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, x as LoginResult, y as LoginChallenge } from "./types-DajzGOKB.js";
|
|
4
4
|
//#region src/clients/developerPortal/developerPortalClient.d.ts
|
|
5
5
|
type DeveloperPortalFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
6
6
|
type DeveloperPortalClientInitOptions = Omit<ClientInitOptions, 'auth' | 'middlewares'> & {
|
|
@@ -1385,4 +1385,4 @@ type DeveloperPortalTokens = {
|
|
|
1385
1385
|
declare const authHeader: (token: string) => Record<string, string>;
|
|
1386
1386
|
//#endregion
|
|
1387
1387
|
export { DeveloperPortalClient as a, createDeveloperPortalClient as c, isMfaChallengeResponse as i, authHeader as n, DeveloperPortalClientInitOptions as o, uploadAppIcon as r, DeveloperPortalFetchClient as s, DeveloperPortalTokens as t };
|
|
1388
|
-
//# sourceMappingURL=index-
|
|
1388
|
+
//# sourceMappingURL=index-pXN4LWUX.d.ts.map
|
package/dist/index.cjs
CHANGED
|
@@ -2,50 +2,51 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
3
3
|
const require_project = require("./project-BvFi19K_.cjs");
|
|
4
4
|
const require_jobStatus = require("./jobStatus-0_Y3Sr4i.cjs");
|
|
5
|
-
const require_queue = require("./queue-
|
|
5
|
+
const require_queue = require("./queue-OJJUUqc2.cjs");
|
|
6
6
|
const require_concurrent = require("./concurrent-tbiIa0UL.cjs");
|
|
7
7
|
const require_dedupe = require("./dedupe-CiskLkGR.cjs");
|
|
8
8
|
const require_store = require("./store-xS-Cu_VS.cjs");
|
|
9
|
-
const require_storage = require("./storage-
|
|
9
|
+
const require_storage = require("./storage-BKm7cztt.cjs");
|
|
10
10
|
const require_tag = require("./tag-CsoOZWB_.cjs");
|
|
11
11
|
const require_generateUUID = require("./generateUUID-C6qKBPIv.cjs");
|
|
12
12
|
const require_isPlainObject = require("./isPlainObject-BB3iy87C.cjs");
|
|
13
|
-
const require_configurations = require("./configurations-
|
|
13
|
+
const require_configurations = require("./configurations-zkNjr73Q.cjs");
|
|
14
14
|
const require_UserError = require("./UserError-CSGO1qII.cjs");
|
|
15
|
-
const require_createFetchClient = require("./createFetchClient-
|
|
16
|
-
const require_validateConnectionStatus = require("./validateConnectionStatus-
|
|
17
|
-
const require_ManagementClientAuthError = require("./ManagementClientAuthError-
|
|
15
|
+
const require_createFetchClient = require("./createFetchClient-DgMiqTJ8.cjs");
|
|
16
|
+
const require_validateConnectionStatus = require("./validateConnectionStatus-CsvYmCOI.cjs");
|
|
17
|
+
const require_ManagementClientAuthError = require("./ManagementClientAuthError-DD4u0EU7.cjs");
|
|
18
18
|
const require_QueryJobTimeoutError = require("./QueryJobTimeoutError-CVNPdCWX.cjs");
|
|
19
19
|
const require_SyncActionError = require("./SyncActionError-BG0zwchi.cjs");
|
|
20
|
-
const require_ValidationError = require("./ValidationError-
|
|
21
|
-
const require_createGenericFetchClient = require("./createGenericFetchClient-
|
|
22
|
-
const require_import = require("./import-
|
|
23
|
-
const require_authClient = require("./authClient-
|
|
24
|
-
const require_management = require("./management-
|
|
25
|
-
const require_constants = require("./constants-
|
|
20
|
+
const require_ValidationError = require("./ValidationError-CLVJCCwH.cjs");
|
|
21
|
+
const require_createGenericFetchClient = require("./createGenericFetchClient-o3cPJeRn.cjs");
|
|
22
|
+
const require_import = require("./import-C83w7BKz.cjs");
|
|
23
|
+
const require_authClient = require("./authClient-_PpvGgZJ.cjs");
|
|
24
|
+
const require_management = require("./management-BoxlRNg2.cjs");
|
|
25
|
+
const require_constants = require("./constants-C4DlsF_M.cjs");
|
|
26
26
|
const require_storageTable = require("./storageTable-C9crh4Ef.cjs");
|
|
27
|
-
const
|
|
27
|
+
const require_semanticLayer = require("./semanticLayer-E0Vilu8u.cjs");
|
|
28
28
|
const require_sdk_storage_index = require("./sdk/storage/index.cjs");
|
|
29
29
|
const require_sdk_vault_index = require("./sdk/vault/index.cjs");
|
|
30
30
|
const require_ai_index = require("./ai/index.cjs");
|
|
31
|
-
const require_appLogs = require("./appLogs-
|
|
31
|
+
const require_appLogs = require("./appLogs-BjfUoWzs.cjs");
|
|
32
32
|
const require_apps_index = require("./apps/index.cjs");
|
|
33
|
+
const require_billing_index = require("./billing/index.cjs");
|
|
33
34
|
const require_chat_index = require("./chat/index.cjs");
|
|
34
|
-
const require_dataScience = require("./dataScience-
|
|
35
|
+
const require_dataScience = require("./dataScience-0Rl_EuV_.cjs");
|
|
35
36
|
const require_editor_index = require("./editor/index.cjs");
|
|
36
37
|
const require_encryption_index = require("./encryption/index.cjs");
|
|
37
|
-
const require_kaiAgent = require("./kaiAgent-
|
|
38
|
-
const require_metastore = require("./metastore-
|
|
38
|
+
const require_kaiAgent = require("./kaiAgent-B_TaUPRt.cjs");
|
|
39
|
+
const require_metastore = require("./metastore-BYYWTb3m.cjs");
|
|
39
40
|
const require_notifications_index = require("./notifications/index.cjs");
|
|
40
|
-
const require_oauth = require("./oauth-
|
|
41
|
+
const require_oauth = require("./oauth-B8yqG6Sy.cjs");
|
|
41
42
|
const require_omnisearch_index = require("./omnisearch/index.cjs");
|
|
42
|
-
const require_queryService = require("./queryService
|
|
43
|
+
const require_queryService = require("./queryService-BVtjkXy1.cjs");
|
|
43
44
|
const require_scheduler_index = require("./scheduler/index.cjs");
|
|
44
45
|
const require_stream_index = require("./stream/index.cjs");
|
|
45
|
-
const require_syncActions = require("./syncActions-
|
|
46
|
-
const
|
|
46
|
+
const require_syncActions = require("./syncActions-OEZdVffK.cjs");
|
|
47
|
+
const require_telemetry_index = require("./telemetry/index.cjs");
|
|
47
48
|
const require_vault_index = require("./vault/index.cjs");
|
|
48
|
-
const require_credential = require("./credential-
|
|
49
|
+
const require_credential = require("./credential-DVWvJFJs.cjs");
|
|
49
50
|
const require_sdk_queryService_index = require("./sdk/queryService/index.cjs");
|
|
50
51
|
let zod = require("zod");
|
|
51
52
|
zod = require_rolldown_runtime.__toESM(zod, 1);
|
|
@@ -1032,7 +1033,7 @@ const createServiceClients = ({ baseUrl, auth, getServiceBaseUrl, middlewareFor,
|
|
|
1032
1033
|
}).add({
|
|
1033
1034
|
serviceId: "telemetry",
|
|
1034
1035
|
clientName: "telemetry",
|
|
1035
|
-
clientFn: (serviceBaseUrl) =>
|
|
1036
|
+
clientFn: (serviceBaseUrl) => require_telemetry_index.createTelemetryClient({
|
|
1036
1037
|
baseUrl: serviceBaseUrl,
|
|
1037
1038
|
middlewares: middlewareFor("telemetry", [attachTokenMiddleware]),
|
|
1038
1039
|
auth
|
|
@@ -1126,6 +1127,14 @@ const createServiceClients = ({ baseUrl, auth, getServiceBaseUrl, middlewareFor,
|
|
|
1126
1127
|
middlewares: middlewareFor("notifications", [attachTokenMiddleware]),
|
|
1127
1128
|
auth
|
|
1128
1129
|
})
|
|
1130
|
+
}).add({
|
|
1131
|
+
serviceId: "billing",
|
|
1132
|
+
clientName: "billing",
|
|
1133
|
+
clientFn: (serviceBaseUrl) => require_billing_index.createBillingClient({
|
|
1134
|
+
baseUrl: serviceBaseUrl,
|
|
1135
|
+
middlewares: middlewareFor("billing", [attachTokenMiddleware]),
|
|
1136
|
+
auth
|
|
1137
|
+
})
|
|
1129
1138
|
}).add({
|
|
1130
1139
|
serviceId: "metastore",
|
|
1131
1140
|
clientName: "metastore",
|
|
@@ -1214,7 +1223,7 @@ const createProjectClients$1 = async ({ baseUrl, projectId, authMiddleware, midd
|
|
|
1214
1223
|
context
|
|
1215
1224
|
}),
|
|
1216
1225
|
tag: require_tag.createTagSdk({ metastoreClient: services.metastore }),
|
|
1217
|
-
semanticLayer:
|
|
1226
|
+
semanticLayer: require_semanticLayer.createSemanticLayerSdk({ metastoreClient: services.metastore }),
|
|
1218
1227
|
storage: require_sdk_storage_index.createStorageSdk({ storageClient: storage }),
|
|
1219
1228
|
vault: require_sdk_vault_index.createVaultSdk({
|
|
1220
1229
|
vaultClient: services.vault,
|
|
@@ -1328,6 +1337,20 @@ const createKeboola = (options = {}) => {
|
|
|
1328
1337
|
};
|
|
1329
1338
|
};
|
|
1330
1339
|
/**
|
|
1340
|
+
* The session's state, once it is known to carry a credential.
|
|
1341
|
+
*
|
|
1342
|
+
* - Returns the state rather than nothing, so the caller reads `baseUrl` and `credential` off a
|
|
1343
|
+
* narrowed union instead of re-checking the status to get at them.
|
|
1344
|
+
* - `NotAuthenticated`, the same refusal `requireScopedProject` opens with. The two differ only in
|
|
1345
|
+
* how far they go: this one stops at "somebody is signed in", which is all a request naming its
|
|
1346
|
+
* own project needs.
|
|
1347
|
+
*/
|
|
1348
|
+
const requireAuthenticated = () => {
|
|
1349
|
+
const state = config.store.get();
|
|
1350
|
+
if (state.status === "anonymous") throw new KeboolaError(KeboolaErrorType.NotAuthenticated);
|
|
1351
|
+
return state;
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1331
1354
|
* The project this session is scoped to, right now.
|
|
1332
1355
|
*
|
|
1333
1356
|
* - Read at every point that stamps a project, never snapshotted across an `await`: the scope moves
|
|
@@ -1338,8 +1361,7 @@ const createKeboola = (options = {}) => {
|
|
|
1338
1361
|
* reads the project from the header, not the token, and cannot attribute a call that omits it.
|
|
1339
1362
|
*/
|
|
1340
1363
|
const requireScopedProject = () => {
|
|
1341
|
-
const state =
|
|
1342
|
-
if (state.status === "anonymous") throw new KeboolaError(KeboolaErrorType.NotAuthenticated);
|
|
1364
|
+
const state = requireAuthenticated();
|
|
1343
1365
|
if (state.status !== "scoped") throw new KeboolaError(KeboolaErrorType.NotReady);
|
|
1344
1366
|
return state.projectId;
|
|
1345
1367
|
};
|
|
@@ -1467,8 +1489,7 @@ const createKeboola = (options = {}) => {
|
|
|
1467
1489
|
}
|
|
1468
1490
|
});
|
|
1469
1491
|
const forProject = async (projectId) => {
|
|
1470
|
-
const state =
|
|
1471
|
-
if (state.status === "anonymous") throw new KeboolaError(KeboolaErrorType.NotAuthenticated);
|
|
1492
|
+
const state = requireAuthenticated();
|
|
1472
1493
|
const cached = extraProjects.get(projectId);
|
|
1473
1494
|
if (cached) return cached();
|
|
1474
1495
|
const { assertSameSession, pinnedAuthMiddleware } = pinToSession({ expiresSession: false });
|
|
@@ -1548,24 +1569,42 @@ const createKeboola = (options = {}) => {
|
|
|
1548
1569
|
* string, and `X-KBC-ProjectId` is composed here rather than in every consuming app.
|
|
1549
1570
|
* - Resolved per call, through the credential — so a near-expiry token rotates and a revoked
|
|
1550
1571
|
* one is never re-sent. A snapshot held by the caller would do neither.
|
|
1551
|
-
* - Throws rather than emitting a half-formed `Bearer null`:
|
|
1552
|
-
*
|
|
1572
|
+
* - Throws rather than emitting a half-formed `Bearer null`: a session with no credential has
|
|
1573
|
+
* nothing to authorize with.
|
|
1553
1574
|
* - Pinned to the sign-in it was called on, like every client here. This is the one
|
|
1554
1575
|
* credential-emitting surface with no middleware chain for the guard to sit in, so the check
|
|
1555
1576
|
* is written out around the `await` that rotates the token.
|
|
1556
|
-
*
|
|
1557
|
-
*
|
|
1577
|
+
*
|
|
1578
|
+
* `projectId` names the project the headers authorize, for a caller reaching a project the
|
|
1579
|
+
* session is not scoped to:
|
|
1580
|
+
*
|
|
1581
|
+
* - **Omitted**, the session's own scope answers — unchanged, and re-read *after* the rotation
|
|
1582
|
+
* rather than carried across it. The epoch the pin compares moves on a sign-in and a sign-out
|
|
1583
|
+
* only, so a project switch mid-rotation is invisible to it.
|
|
1584
|
+
* - **Given**, it is what the header says, and the scope is not consulted at all. A caller that
|
|
1585
|
+
* names a project has said everything the request needs: the credential is user-level and the
|
|
1586
|
+
* project is a header on top of it, so an authenticated session suffices where an unnamed call
|
|
1587
|
+
* requires a scoped one. Nothing about the session can change the answer, so there is nothing
|
|
1588
|
+
* to re-read after the `await`.
|
|
1589
|
+
* - **Not checked against an access set**, because this session cannot acquire one:
|
|
1590
|
+
* `forProject` — the only other surface taking a caller-supplied project id — records that
|
|
1591
|
+
* connection collapses every bearer failure into a single `invalid_token` 401, so "no access
|
|
1592
|
+
* to this project" and "revoked token" are the same response. Whether the caller may reach a
|
|
1593
|
+
* project is the caller's own knowledge, from `token.introspect`. What is guaranteed here is
|
|
1594
|
+
* that the header names what was asked for and never something else — which is the failure
|
|
1595
|
+
* worth preventing: a turn sent somewhere the transcript above it did not come from.
|
|
1558
1596
|
*/
|
|
1559
|
-
getAuthHeaders: async () => {
|
|
1597
|
+
getAuthHeaders: async (projectId) => {
|
|
1560
1598
|
const { assertSameSession } = pinToSession();
|
|
1561
|
-
requireScopedProject();
|
|
1599
|
+
if (projectId === void 0) requireScopedProject();
|
|
1600
|
+
else requireAuthenticated();
|
|
1562
1601
|
const accessToken = await credential.getAccessToken();
|
|
1563
1602
|
assertSameSession();
|
|
1564
|
-
const
|
|
1603
|
+
const authorizedProjectId = projectId ?? requireScopedProject();
|
|
1565
1604
|
assert$1(accessToken, KeboolaErrorType.NotAuthenticated);
|
|
1566
1605
|
return {
|
|
1567
1606
|
[require_createFetchClient.HttpHeader.AUTHORIZATION]: `Bearer ${accessToken}`,
|
|
1568
|
-
[require_createFetchClient.KeboolaHttpHeader.PROJECT_ID]: String(
|
|
1607
|
+
[require_createFetchClient.KeboolaHttpHeader.PROJECT_ID]: String(authorizedProjectId)
|
|
1569
1608
|
};
|
|
1570
1609
|
},
|
|
1571
1610
|
restore: async () => {
|
|
@@ -1729,7 +1768,7 @@ const createProjectClients = async ({ baseUrl, getStorageToken, onStorageTokenRe
|
|
|
1729
1768
|
context
|
|
1730
1769
|
}),
|
|
1731
1770
|
tag: require_tag.createTagSdk({ metastoreClient: services.metastore }),
|
|
1732
|
-
semanticLayer:
|
|
1771
|
+
semanticLayer: require_semanticLayer.createSemanticLayerSdk({ metastoreClient: services.metastore }),
|
|
1733
1772
|
storage: require_sdk_storage_index.createStorageSdk({ storageClient: storage }),
|
|
1734
1773
|
vault: require_sdk_vault_index.createVaultSdk({
|
|
1735
1774
|
vaultClient: services.vault,
|
|
@@ -1869,6 +1908,7 @@ exports.deepMerge = deepMerge;
|
|
|
1869
1908
|
exports.delay = require_jobStatus.delay;
|
|
1870
1909
|
exports.emitter = require_jobStatus.emitter;
|
|
1871
1910
|
exports.failureOf = require_jobStatus.failureOf;
|
|
1911
|
+
exports.formatValidationIssues = require_ValidationError.formatValidationIssues;
|
|
1872
1912
|
exports.generateUUID = require_generateUUID.generateUUID;
|
|
1873
1913
|
exports.isAbortError = require_createFetchClient.isAbortError;
|
|
1874
1914
|
exports.isApiError = require_createFetchClient.isApiError;
|