@keboola/api-client 39.0.0 → 41.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 +121 -100
- package/API-SURFACE.md +27 -2
- package/CHANGELOG.md +129 -0
- package/README.md +3 -3
- package/dist/{ManagementClientAuthError-FcfMJNhr.cjs → ManagementClientAuthError-DE7lNGZQ.cjs} +2 -2
- package/dist/{ManagementClientAuthError-FcfMJNhr.cjs.map → ManagementClientAuthError-DE7lNGZQ.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-Cr9IOsnJ.js → ManagementClientAuthError-H30lti_Q.js} +2 -2
- package/dist/{ManagementClientAuthError-Cr9IOsnJ.js.map → ManagementClientAuthError-H30lti_Q.js.map} +1 -1
- package/dist/{ValidationError-CLVJCCwH.cjs → ValidationError-D65QU0uq.cjs} +10 -16
- package/dist/ValidationError-D65QU0uq.cjs.map +1 -0
- package/dist/ValidationError-DjhtNMfZ.js +42 -0
- package/dist/ValidationError-DjhtNMfZ.js.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-C_zP0lpv.cjs → appLogs-B9zFJIuy.cjs} +2 -2
- package/dist/{appLogs-C_zP0lpv.cjs.map → appLogs-B9zFJIuy.cjs.map} +1 -1
- package/dist/{appLogs-Cl7Q_MR9.js → appLogs-BBkkUOW1.js} +2 -2
- package/dist/{appLogs-Cl7Q_MR9.js.map → appLogs-BBkkUOW1.js.map} +1 -1
- package/dist/{appLogs-Ch7DYpzx.d.ts → appLogs-BS6ViVGR.d.ts} +2 -2
- package/dist/{appLogs-D5A13Y0y.d.cts → appLogs-C9YlJ2g8.d.cts} +2 -2
- package/dist/apps/index.cjs +30 -56
- package/dist/apps/index.cjs.map +1 -1
- package/dist/apps/index.d.cts +8 -13
- package/dist/apps/index.d.ts +8 -13
- package/dist/apps/index.js +30 -56
- 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.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 +8 -4
- package/dist/auth/index.d.cts +2 -2
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/auth/types.d.cts +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/{auth-DLWnl18b.cjs → auth-Dm0F2rOh.cjs} +2 -2
- package/dist/{auth-DLWnl18b.cjs.map → auth-Dm0F2rOh.cjs.map} +1 -1
- package/dist/{auth-BjmkFOgd.js → auth-DworfoPy.js} +2 -2
- package/dist/{auth-BjmkFOgd.js.map → auth-DworfoPy.js.map} +1 -1
- package/dist/{authClient-8yU1last.cjs → authClient-BmuUo0J4.cjs} +141 -48
- package/dist/authClient-BmuUo0J4.cjs.map +1 -0
- package/dist/{authClient-CTHNs6Tq.d.cts → authClient-CHXWJ9x3.d.ts} +109 -76
- package/dist/{authClient-BTo4Afm6.js → authClient-CgcDGd30.js} +108 -39
- package/dist/authClient-CgcDGd30.js.map +1 -0
- package/dist/{authClient-D8i3JTM-.d.ts → authClient-vEt_7_uk.d.cts} +109 -76
- package/dist/billing/index.cjs +2 -2
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/index.js +2 -2
- package/dist/billing/types.d.cts +1 -1
- package/dist/billing/types.d.ts +1 -1
- package/dist/businessWorkspaceApi/index.cjs +1 -1
- package/dist/businessWorkspaceApi/index.d.cts +1 -1
- package/dist/businessWorkspaceApi/index.d.ts +1 -1
- package/dist/businessWorkspaceApi/index.js +1 -1
- package/dist/businessWorkspaceApi/types.d.cts +1 -1
- package/dist/businessWorkspaceApi/types.d.ts +1 -1
- package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs → businessWorkspaceApi-6tCDdpnY.cjs} +3 -3
- package/dist/{businessWorkspaceApi-wyBdbpIJ.cjs.map → businessWorkspaceApi-6tCDdpnY.cjs.map} +1 -1
- package/dist/{businessWorkspaceApi-BD-iUj07.js → businessWorkspaceApi-BLUdefRF.js} +3 -3
- package/dist/{businessWorkspaceApi-BD-iUj07.js.map → businessWorkspaceApi-BLUdefRF.js.map} +1 -1
- package/dist/{businessWorkspaceApiClient-CRM1U8b-.d.cts → businessWorkspaceApiClient-BHDJlHFo.d.cts} +3 -3
- package/dist/{businessWorkspaceApiClient-C2WyWN3b.d.ts → businessWorkspaceApiClient-DI-z1VIH.d.ts} +3 -3
- package/dist/chat/index.cjs +7 -3
- package/dist/chat/index.cjs.map +1 -1
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/index.js +7 -3
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/types.cjs +1 -3
- 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 +1 -3
- package/dist/chat/types.js.map +1 -1
- package/dist/{componentId-vJz-kWs6.js → componentId-BJLfnaGc.js} +6 -2
- package/dist/componentId-BJLfnaGc.js.map +1 -0
- package/dist/{componentId-DkyQ8PM0.cjs → componentId-_IKXxICq.cjs} +6 -2
- package/dist/componentId-_IKXxICq.cjs.map +1 -0
- package/dist/{concurrent-CH9fbNr3.js → concurrent-BacWxPwi.js} +5 -7
- package/dist/concurrent-BacWxPwi.js.map +1 -0
- package/dist/{concurrent-tbiIa0UL.cjs → concurrent-CdVfR1N5.cjs} +5 -7
- package/dist/concurrent-CdVfR1N5.cjs.map +1 -0
- package/dist/{configurations-CyFF9Dtu.cjs → configurations-BTRHVSRq.cjs} +20 -53
- package/dist/configurations-BTRHVSRq.cjs.map +1 -0
- package/dist/{configurations-VtNE0nrT.js → configurations-CF3xz7RB.js} +14 -22
- package/dist/configurations-CF3xz7RB.js.map +1 -0
- package/dist/{configurations-BVvcimzo.js → configurations-Chg_JwJ1.js} +20 -53
- package/dist/configurations-Chg_JwJ1.js.map +1 -0
- package/dist/{configurations-zkNjr73Q.cjs → configurations-VlfQ_37Y.cjs} +14 -22
- package/dist/configurations-VlfQ_37Y.cjs.map +1 -0
- 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/{createFetchClient-BlgPbjFj.cjs → createFetchClient-Cwp8max9.cjs} +11 -4
- package/dist/createFetchClient-Cwp8max9.cjs.map +1 -0
- package/dist/{createFetchClient-C-cadpBx.js → createFetchClient-DXHQK63w.js} +11 -4
- package/dist/createFetchClient-DXHQK63w.js.map +1 -0
- package/dist/{createGenericFetchClient-Bnf1QK9W.js → createGenericFetchClient-Dg1rgzmG.js} +2 -2
- package/dist/{createGenericFetchClient-Bnf1QK9W.js.map → createGenericFetchClient-Dg1rgzmG.js.map} +1 -1
- package/dist/{createGenericFetchClient-lcozzwk2.cjs → createGenericFetchClient-Dl9cqTvR.cjs} +2 -2
- package/dist/{createGenericFetchClient-lcozzwk2.cjs.map → createGenericFetchClient-Dl9cqTvR.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs → createOpenapiFetchClient-BYqW-9tm.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-C3UmDXpe.cjs.map → createOpenapiFetchClient-BYqW-9tm.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-COaPeeQ0.js → createOpenapiFetchClient-DZUOVupy.js} +2 -2
- package/dist/{createOpenapiFetchClient-COaPeeQ0.js.map → createOpenapiFetchClient-DZUOVupy.js.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-D-hyc4GY.cjs → dataScience-B5QxZnvW.cjs} +5 -5
- package/dist/{dataScience-D-hyc4GY.cjs.map → dataScience-B5QxZnvW.cjs.map} +1 -1
- package/dist/{dataScience-B_BmnB1m.js → dataScience-OXcwdk1p.js} +5 -5
- package/dist/{dataScience-B_BmnB1m.js.map → dataScience-OXcwdk1p.js.map} +1 -1
- package/dist/dedupe-Cky1gSUu.js +21 -0
- package/dist/dedupe-Cky1gSUu.js.map +1 -0
- package/dist/dedupe-OSnnst2u.cjs +26 -0
- package/dist/dedupe-OSnnst2u.cjs.map +1 -0
- 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-yHFTkKPb.js → developerPortalClient-B1QZ1rYi.js} +6 -8
- package/dist/{developerPortalClient-yHFTkKPb.js.map → developerPortalClient-B1QZ1rYi.js.map} +1 -1
- package/dist/{developerPortalClient-CutPqoAa.cjs → developerPortalClient-CLPpBksD.cjs} +6 -8
- package/dist/{developerPortalClient-CutPqoAa.cjs.map → developerPortalClient-CLPpBksD.cjs.map} +1 -1
- package/dist/domain/permissions/index.cjs +9 -30
- package/dist/domain/permissions/index.cjs.map +1 -1
- package/dist/domain/permissions/index.d.cts +29 -102
- package/dist/domain/permissions/index.d.ts +29 -102
- package/dist/domain/permissions/index.js +9 -30
- package/dist/domain/permissions/index.js.map +1 -1
- package/dist/domain/storageTable/index.d.cts +1 -1
- package/dist/domain/storageTable/index.d.ts +1 -1
- package/dist/editor/index.cjs +2 -2
- package/dist/editor/index.cjs.map +1 -1
- 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/index.js.map +1 -1
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/encryption/index.cjs +2 -22
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/index.js +2 -22
- package/dist/encryption/index.js.map +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-7YyyD_U_.cjs → import-CNk89mqy.cjs} +3 -3
- package/dist/{import-7YyyD_U_.cjs.map → import-CNk89mqy.cjs.map} +1 -1
- package/dist/{import-xliONVib.js → import-DiMQCzLa.js} +3 -3
- package/dist/{import-xliONVib.js.map → import-DiMQCzLa.js.map} +1 -1
- package/dist/{index-1r_CskjU.d.ts → index--ZpnE3YT.d.cts} +3 -3
- package/dist/{index-DBklbaTp.d.cts → index-B5w7WlaU.d.cts} +5 -1
- package/dist/{index-DBklbaTp.d.ts → index-B5w7WlaU.d.ts} +5 -1
- package/dist/{index-C77vTm2K.d.ts → index-BDZvaRud.d.ts} +6 -6
- package/dist/{index-KuQ79Mnz.d.ts → index-BVhHt5lx.d.cts} +18 -26
- package/dist/{index-NC1dXRTD.d.ts → index-BfqkgPGI.d.cts} +7 -13
- package/dist/{index-NC1dXRTD.d.cts → index-BfqkgPGI.d.ts} +7 -13
- package/dist/{index-V7XKUQm9.d.cts → index-BgR5zcjJ.d.ts} +18 -26
- package/dist/{index-BK-qHT39.d.ts → index-ByRpNVcs.d.cts} +83 -17
- package/dist/{index-pXN4LWUX.d.ts → index-C11JSxBY.d.ts} +8 -11
- package/dist/{index-GjcJTCbz.d.cts → index-C4TNAA8-.d.cts} +8 -11
- package/dist/{index-BMqLPS6S.d.ts → index-CXcWpZQ2.d.cts} +4 -12
- package/dist/{index-BMqLPS6S.d.cts → index-CXcWpZQ2.d.ts} +4 -12
- package/dist/{index-GfKzh267.d.ts → index-CaaTOANF.d.ts} +395 -297
- package/dist/{index-Dx52hNLP.d.cts → index-CcMHJcuP.d.cts} +3 -3
- package/dist/{index-DVw4Av4b.d.cts → index-Cvbjp3jx.d.cts} +6 -6
- package/dist/{index-DppA4k3b.d.cts → index-Cz0MXhzs.d.cts} +5 -5
- package/dist/{index-6Xe81qN3.d.ts → index-D-VMgpGc.d.ts} +5 -5
- package/dist/{index-DWf6FXOr.d.cts → index-D7-o-oGa.d.ts} +3 -3
- package/dist/{index-CWoEnDJ_.d.cts → index-DCRKjihs.d.ts} +83 -17
- package/dist/{kaiAgentClient-CHpULyeG.d.cts → index-DNThyEej.d.cts} +14 -5
- package/dist/{index-DXSmFkol.d.cts → index-DOAZmWvh.d.cts} +6 -6
- package/dist/{index-BuegqrS1.d.ts → index-D_-4uQF8.d.ts} +3 -3
- package/dist/index-DbLFwXgb.d.cts +116 -0
- package/dist/{index-De5qUWhp.d.ts → index-DnQTuc6t.d.ts} +6 -6
- package/dist/{kaiAgentClient-B5L4gbQ1.d.ts → index-Qb7X6-ph.d.ts} +14 -5
- package/dist/{index-CHXnJQ9s.d.cts → index-cWp_V6K5.d.cts} +395 -297
- package/dist/index-rwK7GcB2.d.ts +116 -0
- package/dist/index.cjs +1498 -901
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1497 -902
- package/dist/index.js.map +1 -1
- package/dist/isLoginPageRedirect-XPwAOKK3.js +14 -0
- package/dist/isLoginPageRedirect-XPwAOKK3.js.map +1 -0
- package/dist/isLoginPageRedirect-jQHiLrG7.cjs +19 -0
- package/dist/isLoginPageRedirect-jQHiLrG7.cjs.map +1 -0
- package/dist/{jobStatus-0_Y3Sr4i.cjs → jobStatus-BMlsyXWI.cjs} +19 -45
- package/dist/jobStatus-BMlsyXWI.cjs.map +1 -0
- package/dist/{jobStatus-PSZJMTiA.js → jobStatus-CfRtsIpv.js} +19 -45
- package/dist/jobStatus-CfRtsIpv.js.map +1 -0
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +3 -2
- package/dist/kaiAgent/index.d.ts +3 -2
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +2 -2
- package/dist/kaiAgent/types.d.ts +2 -2
- package/dist/{kaiAgent-CcT2oNip.js → kaiAgent-Dp20HLTh.js} +32 -11
- package/dist/kaiAgent-Dp20HLTh.js.map +1 -0
- package/dist/{kaiAgent-DaB6UCsh.cjs → kaiAgent-QNoeVKPs.cjs} +32 -11
- package/dist/kaiAgent-QNoeVKPs.cjs.map +1 -0
- package/dist/kaiMemory-CClSPInt.cjs +289 -0
- package/dist/kaiMemory-CClSPInt.cjs.map +1 -0
- package/dist/kaiMemory-D0Y_16U4.js +260 -0
- package/dist/kaiMemory-D0Y_16U4.js.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-DeZiQSlw.cjs → management-CCY0IYnq.cjs} +59 -24
- package/dist/management-CCY0IYnq.cjs.map +1 -0
- package/dist/{management-ckdnu1dA.js → management-DvmPiG64.js} +59 -24
- package/dist/management-DvmPiG64.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 +2 -2
- package/dist/metastore/types.d.ts +2 -2
- package/dist/{metastore-B0PolCjQ.js → metastore-BycJxe7A.js} +14 -8
- package/dist/metastore-BycJxe7A.js.map +1 -0
- package/dist/{metastore-9AGrwjmN.cjs → metastore-XtWciCZT.cjs} +14 -8
- package/dist/metastore-XtWciCZT.cjs.map +1 -0
- 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/middleware-CBwrtgQd.js +34 -0
- package/dist/middleware-CBwrtgQd.js.map +1 -0
- package/dist/middleware-IjYx3d5u.cjs +45 -0
- package/dist/middleware-IjYx3d5u.cjs.map +1 -0
- package/dist/notifications/index.cjs +4 -4
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/index.js +4 -4
- 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-DNtv4Ihb.cjs → oauth--2p8jkJf.cjs} +5 -5
- package/dist/{oauth-DNtv4Ihb.cjs.map → oauth--2p8jkJf.cjs.map} +1 -1
- package/dist/{oauth-BnHVf4cB.js → oauth-l5zE39cD.js} +5 -5
- package/dist/{oauth-BnHVf4cB.js.map → oauth-l5zE39cD.js.map} +1 -1
- package/dist/omnisearch/index.cjs +6 -14
- package/dist/omnisearch/index.cjs.map +1 -1
- package/dist/omnisearch/index.d.cts +6 -14
- package/dist/omnisearch/index.d.ts +6 -14
- package/dist/omnisearch/index.js +6 -14
- package/dist/omnisearch/index.js.map +1 -1
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-DCHOxRWd.d.ts → project-B15gStbM.d.ts} +2 -2
- package/dist/{project-BRpzv3yE.d.cts → project-cHKuGvqJ.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-j3XZ2mX6.js → queryService-CCOYbRbw.js} +6 -6
- package/dist/{queryService-j3XZ2mX6.js.map → queryService-CCOYbRbw.js.map} +1 -1
- package/dist/{queryService-BVwD6Vmc.cjs → queryService-CQzclHdL.cjs} +6 -6
- package/dist/{queryService-BVwD6Vmc.cjs.map → queryService-CQzclHdL.cjs.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-Dagl0sdP.js → queue-Cowbg6bR.js} +8 -11
- package/dist/queue-Cowbg6bR.js.map +1 -0
- package/dist/{queue-e3rMWbmK.cjs → queue-UG_BWKIC.cjs} +8 -11
- package/dist/queue-UG_BWKIC.cjs.map +1 -0
- package/dist/scheduler/index.cjs +4 -4
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/index.js +4 -4
- 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 +11 -11
- package/dist/sdk/configurations/index.d.ts +11 -11
- package/dist/sdk/configurations/index.js +1 -1
- package/dist/sdk/developerPortal/index.cjs +10 -18
- package/dist/sdk/developerPortal/index.cjs.map +1 -1
- package/dist/sdk/developerPortal/index.d.cts +7 -15
- package/dist/sdk/developerPortal/index.d.ts +7 -15
- package/dist/sdk/developerPortal/index.js +7 -15
- package/dist/sdk/developerPortal/index.js.map +1 -1
- package/dist/sdk/kaiMemory/index.cjs +7 -0
- package/dist/sdk/kaiMemory/index.d.cts +41 -0
- package/dist/sdk/kaiMemory/index.d.ts +41 -0
- package/dist/sdk/kaiMemory/index.js +2 -0
- package/dist/sdk/kaiMemory/types.cjs +0 -0
- package/dist/sdk/kaiMemory/types.d.cts +2 -0
- package/dist/sdk/kaiMemory/types.d.ts +2 -0
- package/dist/sdk/kaiMemory/types.js +1 -0
- package/dist/sdk/queryService/index.cjs +2 -2
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/queryService/index.js +2 -2
- package/dist/sdk/semanticLayer/index.cjs +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +16 -40
- package/dist/sdk/semanticLayer/index.d.ts +16 -40
- package/dist/sdk/semanticLayer/index.js +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/storage/index.cjs +0 -5
- package/dist/sdk/storage/index.cjs.map +1 -1
- package/dist/sdk/storage/index.d.cts +2 -2
- package/dist/sdk/storage/index.d.ts +2 -2
- package/dist/sdk/storage/index.js +1 -5
- package/dist/sdk/storage/index.js.map +1 -1
- package/dist/sdk/tag/index.cjs +1 -1
- package/dist/sdk/tag/index.d.cts +3 -3
- package/dist/sdk/tag/index.d.ts +3 -3
- package/dist/sdk/tag/index.js +1 -1
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.cjs +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/sdk/vault/index.js +1 -1
- package/dist/{semanticLayer-9uTaU7UT.cjs → semanticLayer-CKDVkU56.cjs} +62 -183
- package/dist/semanticLayer-CKDVkU56.cjs.map +1 -0
- package/dist/{semanticLayer-6_gtFxDu.js → semanticLayer-pYy082Ju.js} +62 -183
- package/dist/semanticLayer-pYy082Ju.js.map +1 -0
- 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 +5 -5
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +5 -5
- package/dist/storage/types.d.cts +2 -2
- package/dist/storage/types.d.ts +2 -2
- package/dist/{storage-Ob1LUIDq.js → storage-CZQHZcXG.js} +109 -302
- package/dist/storage-CZQHZcXG.js.map +1 -0
- package/dist/{storage-HFUdEy7P.cjs → storage-JinL1y1s.cjs} +109 -302
- package/dist/storage-JinL1y1s.cjs.map +1 -0
- 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 +2 -2
- package/dist/syncActions/types.d.ts +2 -2
- package/dist/{syncActions-B3NS5a0g.js → syncActions-ChNWuhYA.js} +260 -111
- package/dist/syncActions-ChNWuhYA.js.map +1 -0
- package/dist/{syncActions-D2DhY6pP.cjs → syncActions-mFlF16cl.cjs} +260 -111
- package/dist/syncActions-mFlF16cl.cjs.map +1 -0
- package/dist/{tag-CsoOZWB_.cjs → tag-DHS_soa7.cjs} +2 -2
- package/dist/{tag-CsoOZWB_.cjs.map → tag-DHS_soa7.cjs.map} +1 -1
- package/dist/{tag-DCsoewjL.js → tag-hh-1nhNr.js} +2 -2
- package/dist/{tag-DCsoewjL.js.map → tag-hh-1nhNr.js.map} +1 -1
- package/dist/telemetry/index.cjs +7 -11
- package/dist/telemetry/index.cjs.map +1 -1
- package/dist/telemetry/index.d.cts +5 -9
- package/dist/telemetry/index.d.ts +5 -9
- package/dist/telemetry/index.js +7 -11
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{types-DqxIx9Pi.d.cts → types-6kuMW4JW.d.cts} +2 -2
- package/dist/{types-Ct0YPy2w.d.ts → types-B2w2TtSA.d.ts} +3 -3
- package/dist/{types-M46WuBSm.d.cts → types-B61aCifg.d.cts} +2 -2
- package/dist/{types-COL1kVEB.d.cts → types-B8N_k79M.d.cts} +2 -2
- package/dist/{types-Jw10xuOW.d.cts → types-BIECJYun.d.ts} +171 -44
- package/dist/{types-DZk3XHiN.d.cts → types-BLNB882w.d.cts} +3 -3
- package/dist/{types-BEe50G2r.d.cts → types-BPy5Ozee.d.cts} +2 -2
- package/dist/{types-gi4Eay19.d.ts → types-BS4jwuMi.d.ts} +7 -15
- package/dist/{types-BrYkBQo4.d.ts → types-BTK7Bv3n.d.cts} +171 -44
- package/dist/{types-D6UmMa6E.d.ts → types-BZDV8DZk.d.ts} +3 -3
- package/dist/{types-Cz83RiVu.d.cts → types-B_iLJlp4.d.ts} +255 -12
- package/dist/{types-CmF3pR2n.d.cts → types-BiMahEK8.d.cts} +91 -237
- package/dist/{types-BH5LLeJy.d.ts → types-Bl03Cg2n.d.cts} +255 -12
- package/dist/{types-bGQb4Jtl.d.cts → types-ByLH46Dt.d.cts} +13 -8
- package/dist/{types-g3vU7hcg.d.cts → types-Bydx6ga_.d.cts} +2 -2
- package/dist/{types-B95uNQ9o.d.ts → types-CKmTZSPG.d.ts} +91 -237
- package/dist/{types-D_j2Uq5X.d.cts → types-CMzQSHAQ.d.cts} +3 -3
- package/dist/{types-N3EChotg.d.cts → types-CP_LBmw3.d.cts} +2 -2
- package/dist/{types-CW6lCqrC.d.cts → types-CQFOCQzk.d.ts} +230 -43
- package/dist/{types-zZBxJ0P-.d.ts → types-CWyXTMwy.d.ts} +2 -2
- package/dist/{types-CPB-eF82.d.ts → types-CZJlLCbA.d.ts} +2 -2
- package/dist/{types-l9o4gFsI.d.ts → types-CZXPu3gn.d.ts} +2 -2
- package/dist/{types-BztF4HeB.d.ts → types-CaOtNjSZ.d.ts} +6 -13
- package/dist/{types-BTWIPEiU.d.ts → types-CfwqVkEA.d.ts} +2 -2
- package/dist/types-Cg14ncdV.d.ts +63 -0
- package/dist/{types-BsxLGDoC.d.cts → types-CoJVrRAD.d.ts} +2 -2
- package/dist/{types-DYzJ6K2e.d.ts → types-CqwHP7mN.d.cts} +230 -43
- package/dist/{types-CKiW3n6v.d.ts → types-D3wcs4tp.d.ts} +2 -2
- package/dist/{types-DOyNe7oe.d.cts → types-DDOa07rU.d.cts} +7 -15
- package/dist/{types-BW2BXUB4.d.cts → types-DE9hgr7i.d.cts} +2 -2
- package/dist/{types-BOqD3Hqy.d.cts → types-DEzW1CfI.d.cts} +3 -3
- package/dist/{types-OaD-cbbl.d.ts → types-DIiOMV-t.d.ts} +3 -3
- package/dist/{types-B-P4vQe0.d.cts → types-DKc1gmd9.d.ts} +857 -131
- package/dist/{types-BrPlv-NS.d.ts → types-DRCMBt89.d.ts} +3 -3
- package/dist/{types-BQvv4RaI.d.cts → types-DUMal2E-.d.cts} +5 -8
- package/dist/types-DWiLcrxt.d.cts +63 -0
- package/dist/{types-DNxOHnZI.d.cts → types-Dd31Lw4S.d.cts} +2 -2
- package/dist/{types-Dmu-8g4O.d.ts → types-DekYAlA-.d.ts} +3 -3
- package/dist/{types-B2U9cFcx.d.ts → types-DgJeO9Nd.d.ts} +2 -2
- package/dist/{types-nrviNdzZ.d.ts → types-DicSaNwq.d.ts} +2 -2
- package/dist/{types-Crhy0c9m.d.cts → types-DinIJ1D_.d.cts} +40 -11
- package/dist/{types-DhDNS-5B.d.ts → types-DlQw6FCi.d.ts} +13 -8
- package/dist/{types-_RhBCj4_.d.cts → types-DoZtE9tz.d.cts} +3 -3
- package/dist/{types-Bxhh2SJr.d.ts → types-DrvKfXXd.d.cts} +2 -2
- package/dist/{types-DPl8pZsY.d.ts → types-Dtuvhm3K.d.cts} +857 -131
- package/dist/{types-CcrvrAJX.d.ts → types-DwVSj-Da.d.ts} +5 -8
- package/dist/{types-C2vefB4D.d.ts → types-FwRmjsNN.d.ts} +10 -34
- package/dist/{types-C0_2KZ-A.d.ts → types-RbrfiY8T.d.ts} +2 -2
- package/dist/{types-DfvdbRPL.d.ts → types-WZBztugL.d.ts} +2 -2
- package/dist/{types-52irAt99.d.cts → types-YHUEArkR.d.cts} +2 -2
- package/dist/{types-fX4gbxfV.d.cts → types-bc-4z_gc.d.cts} +10 -34
- package/dist/{types-3eUgOA7I.d.cts → types-ePSqbXRr.d.cts} +6 -13
- package/dist/{types-DrqKICcK.d.ts → types-n4PTnLii.d.ts} +40 -11
- package/dist/{types-DXskkNp8.d.cts → types-pvQzbgNE.d.cts} +3 -3
- package/dist/{types-DajzGOKB.d.ts → types-q-1r_9d1.d.ts} +2 -2
- package/dist/{types-D8Rrz51O.d.cts → types-tKkeLa2B.d.cts} +2 -2
- package/dist/{validateConnectionStatus-828HV8WL.js → validateConnectionStatus-BEGu8wXT.js} +6 -10
- package/dist/validateConnectionStatus-BEGu8wXT.js.map +1 -0
- package/dist/{validateConnectionStatus-CvBKyeDO.cjs → validateConnectionStatus-BEYkQpu9.cjs} +6 -10
- package/dist/validateConnectionStatus-BEYkQpu9.cjs.map +1 -0
- 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 +32 -4
- package/surface/apps.md +3 -3
- package/surface/auth.md +13 -6
- package/surface/chat.md +6 -6
- package/surface/kaiAgent.md +9 -8
- package/surface/management.md +14 -5
- package/surface/metastore.md +2 -2
- package/surface/queue.md +3 -3
- package/surface/sdk.md +13 -3
- package/surface/storage.md +6 -6
- package/surface/syncActions.md +16 -0
- package/dist/ValidationError-BekhphAq.js +0 -48
- package/dist/ValidationError-BekhphAq.js.map +0 -1
- package/dist/ValidationError-CLVJCCwH.cjs.map +0 -1
- package/dist/authClient-8yU1last.cjs.map +0 -1
- package/dist/authClient-BTo4Afm6.js.map +0 -1
- package/dist/componentId-DkyQ8PM0.cjs.map +0 -1
- package/dist/componentId-vJz-kWs6.js.map +0 -1
- package/dist/concurrent-CH9fbNr3.js.map +0 -1
- package/dist/concurrent-tbiIa0UL.cjs.map +0 -1
- package/dist/configurations-BVvcimzo.js.map +0 -1
- package/dist/configurations-CyFF9Dtu.cjs.map +0 -1
- package/dist/configurations-VtNE0nrT.js.map +0 -1
- package/dist/configurations-zkNjr73Q.cjs.map +0 -1
- package/dist/createFetchClient-BlgPbjFj.cjs.map +0 -1
- package/dist/createFetchClient-C-cadpBx.js.map +0 -1
- package/dist/credential-CAulvfZ-.cjs +0 -47
- package/dist/credential-CAulvfZ-.cjs.map +0 -1
- package/dist/credential-DWXbo4IX.js +0 -36
- package/dist/credential-DWXbo4IX.js.map +0 -1
- package/dist/dedupe-CiskLkGR.cjs +0 -30
- package/dist/dedupe-CiskLkGR.cjs.map +0 -1
- package/dist/dedupe-DYIHgZoG.js +0 -25
- package/dist/dedupe-DYIHgZoG.js.map +0 -1
- package/dist/index-3LUk2rpD.d.ts +0 -65
- package/dist/index-CW3Pj7DY.d.cts +0 -65
- package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs +0 -25
- package/dist/isLoginPageRedirect-Cm6Pn8Pj.cjs.map +0 -1
- package/dist/isLoginPageRedirect-hyPqyWNX.js +0 -20
- package/dist/isLoginPageRedirect-hyPqyWNX.js.map +0 -1
- package/dist/jobStatus-0_Y3Sr4i.cjs.map +0 -1
- package/dist/jobStatus-PSZJMTiA.js.map +0 -1
- package/dist/kaiAgent-CcT2oNip.js.map +0 -1
- package/dist/kaiAgent-DaB6UCsh.cjs.map +0 -1
- package/dist/management-DeZiQSlw.cjs.map +0 -1
- package/dist/management-ckdnu1dA.js.map +0 -1
- package/dist/metastore-9AGrwjmN.cjs.map +0 -1
- package/dist/metastore-B0PolCjQ.js.map +0 -1
- package/dist/queue-Dagl0sdP.js.map +0 -1
- package/dist/queue-e3rMWbmK.cjs.map +0 -1
- package/dist/semanticLayer-6_gtFxDu.js.map +0 -1
- package/dist/semanticLayer-9uTaU7UT.cjs.map +0 -1
- package/dist/storage-HFUdEy7P.cjs.map +0 -1
- package/dist/storage-Ob1LUIDq.js.map +0 -1
- package/dist/syncActions-B3NS5a0g.js.map +0 -1
- package/dist/syncActions-D2DhY6pP.cjs.map +0 -1
- package/dist/validateConnectionStatus-828HV8WL.js.map +0 -1
- package/dist/validateConnectionStatus-CvBKyeDO.cjs.map +0 -1
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-
|
|
2
|
-
import { D as
|
|
3
|
-
import { n as ClientInitOptions } from "./types-
|
|
4
|
-
import { C as components$1, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "./types-
|
|
5
|
-
import { t as LogEntry } from "./appLogs-
|
|
6
|
-
import { r as createAuthClient } from "./authClient-
|
|
7
|
-
import { a as DashboardId, o as DashboardInput } from "./businessWorkspaceApiClient-
|
|
8
|
-
import { C as
|
|
1
|
+
import { a as DescribeConfigurationVersionBody, f as SuggestComponentBody, i as DescribeConfigurationMergeBody, l as ExplainErrorBody, p as components, r as DescribeConfigurationBody, s as DocsQuestionBody, u as FeedbackBody } from "./types-YHUEArkR.cjs";
|
|
2
|
+
import { D as HttpMethod, O as MiddlewareFn$1, T as ApiResponse, l as UploadProgress, t as createOpenapiFetchClient, u as createGenericFetchClient } from "./index-BVhHt5lx.cjs";
|
|
3
|
+
import { n as ClientInitOptions } from "./types-DoZtE9tz.cjs";
|
|
4
|
+
import { C as components$1, S as RunId, b as GetDeploymentsQuery, c as CreateCredentialBody, f as CredentialId, g as DeploymentId, l as CreateDeploymentBody, r as AppId, s as CreateAppBody, t as App, v as GetAppRunsQuery, x as GetLogsTailQuery, y as GetAppsQuery } from "./types-pvQzbgNE.cjs";
|
|
5
|
+
import { t as LogEntry } from "./appLogs-C9YlJ2g8.cjs";
|
|
6
|
+
import { r as createAuthClient } from "./authClient-vEt_7_uk.cjs";
|
|
7
|
+
import { a as DashboardId, o as DashboardInput } from "./businessWorkspaceApiClient-BHDJlHFo.cjs";
|
|
8
|
+
import { A as components$2, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, m as ProjectToolPolicy, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "./types-ByLH46Dt.cjs";
|
|
9
9
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.cjs";
|
|
10
|
-
import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-
|
|
10
|
+
import { _ as PatchDataAppPath, a as DeleteSandboxPath, c as GetDataAppLogsTailPath, d as GetDataAppPath, f as GetDataAppRunPath, g as PatchDataAppBody, h as GetSandboxPath, i as DeleteDataAppPath, l as GetDataAppLogsTailQuery, m as GetDataAppRunsQuery, o as GetAppsQuery$1, p as GetDataAppRunsPath, s as GetDataAppLogsDownloadPath, t as CreateDataAppBody, u as GetDataAppPasswordPath, y as ResetDataAppPasswordPath } from "./types-BLNB882w.cjs";
|
|
11
|
+
import "./index-Cz0MXhzs.cjs";
|
|
12
|
+
import { C as components$3, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "./types-B8N_k79M.cjs";
|
|
13
13
|
import { t as ServiceId } from "./serviceIds-DC-H6ZD9.cjs";
|
|
14
|
-
import { g as paths, h as components$4, i as GetTokenEventsInput, l as StorageToken, p as UpdateTokenInput, s as ShareTokenInput, t as CreateTokenBody } from "./types-
|
|
15
|
-
import { $ as ConfigurationRowVersionDetailPath, $i as DeleteTablesInput, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, Bn as DeleteConfigurationRowInput, C as CreateTriggerBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Dn as UpdateConfigurationInput, Ea as SetAliasTableFilterInput, F as StorageJobStatus, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gr as File, Gt as GetComponentsInput, I as CreateMergeRequestBody, Ir as SaveDevBranchMetadataInput, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Li as CreateTableAsyncInput, M as Job, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, N as JobOperation, No as DeleteBucketMetadataInput, Nt as GetConfigurationWorkspacesPath, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Ot as ConfigurationUseCaseType, P as JobUnion, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Q as ConfigurationRowVersionDetail, Qn as UpdateConfigurationRowStateInput, Qt as ConfigType, Ra as UpdateTableDefinitionInput, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Sa as SaveTableMetadataInput, Sn as SearchComponentConfiguration, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ti as DeleteTableColumnInput, To as BucketDetail, Tt as SaveConfigurationMetadataInput, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vr as AddFileTagInput, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wr as DeleteFileTagPath, Xa as UpdateBucketListingBody, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zo as BucketRegistrationGuideQuery, Zt as ComponentConfig, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, a as Service, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, at as ConfigurationVersionDetailPath, bo as SharedBucketsQuery, c as RunIdStats, ci as GetEventsInput, cr as GetWorkspacePath, d as CreateSnapshotInput, di as GetTableEventsInput, dn as GetConfigurationsPath, dr as ResetWorkspacePassword, ea as ExportAsyncInput, eo as ForceUnlinkBucketInput, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, fr as ResetWorkspacePasswordPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, ho as ShareBucketToUsersInput, ii as GetBucketEventsInput, is as RegisterBucketBody, it as ConfigurationVersionDetail, ja as TableExportAsyncBody, ji as CreateAliasTableInput, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kr as WorkspaceSaml2Login, la as GetTablesInput, lr as GetWorkspaceSaml2LoginPath, m as Snapshot, mi as StorageEvent, mn as PurgeConfigurationsInput, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, ni as CreatedEvent, ns as RefreshExternalBucketInput, o as StackComponent, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pn as PurgeConfigurationInput, pr as SetWorkspacePublicInput, qr as GetFilePath, ra as GetDataPreviewInput, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, sr as GetWorkspaceObjectsPath, tn as ConfigurationDiffPath, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wi as DeleteColumnMetadataInput, x as SearchTablesQuery, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, y as GlobalSearchResponse, yr as Workspace } from "./types-
|
|
16
|
-
import { a as EncryptQuery, s as ScopedSecrets } from "./types-
|
|
17
|
-
import { n as WriteTableInput, t as UploadFileInput } from "./types-
|
|
18
|
-
import { c as GetChatPath$1, d as
|
|
19
|
-
import { n as SpendCapsView, t as
|
|
20
|
-
import { a as createManagementClient } from "./index-
|
|
21
|
-
import {
|
|
22
|
-
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-
|
|
23
|
-
import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-
|
|
24
|
-
import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-
|
|
25
|
-
import { a as GetQueryJobPath, c as JobStatusResponse, d as PostQueryPath, h as components$8, i as GetQueriesPath, l as PostCancelQueryJobPath, n as GetExportResultsQuery, o as GetQueryResultsPath, p as QueryResult, r as GetQueriesHistoryQuery, s as GetQueryResutsQuery, t as ExportResultsResponse, u as PostQueryBody } from "./types-
|
|
14
|
+
import { g as paths, h as components$4, i as GetTokenEventsInput, l as StorageToken, p as UpdateTokenInput, s as ShareTokenInput, t as CreateTokenBody } from "./types-DDOa07rU.cjs";
|
|
15
|
+
import { $ as ConfigurationRowVersionDetailPath, $i as DeleteTablesInput, $r as CreateEventInput, $t as ConfigurationDiff, A as GetJobsQuery, Aa as TableDetail, Ao as CreateBucketBody, Ar as CreateDevBranchBody, At as CreateConfigurationWorkspaceInput, Bn as DeleteConfigurationRowInput, C as CreateTriggerBody, Cn as SearchComponentConfigurationsInput, Co as Bucket, Ct as GetConfigurationMetadataPath, D as UpdateTriggerInput, Dn as UpdateConfigurationInput, Ea as SetAliasTableFilterInput, F as StorageJobStatus, Fn as CreateConfigurationRowInput, Fo as GetBucketOwnerInput, Ft as Component, G as MergeRequestDetailWithActivityLog, Ga as CreateBucketListingInput, Gi as DeleteTableMetadataInput, Gr as File, Gt as GetComponentsInput, I as CreateMergeRequestBody, Ir as SaveDevBranchMetadataInput, Jn as UpdateConfigurationRowInput, Jo as UpdateBucketOwnerInput, Jr as GetFilesQuery, Kn as Row, Ko as UpdateBucketInput, Kr as GetFileContentPath, Li as CreateTableAsyncInput, M as Job, Mn as UpdateConfigurationStateInput, Mo as DeleteBucketAsyncInput, Mr as DeleteDevBranchMetadataPath, N as JobOperation, No as DeleteBucketMetadataInput, Nt as GetConfigurationWorkspacesPath, Oi as RemoveTablePrimaryKeyInput, On as UpdateConfigurationResult, Ot as ConfigurationUseCaseType, P as JobUnion, Pn as CreateConfigurationRowBody, Po as GetBucketInput, Pr as DevBranch, Q as ConfigurationRowVersionDetail, Qn as UpdateConfigurationRowStateInput, Qt as ConfigType, Ra as UpdateTableDefinitionInput, Rn as CreateConfigurationRowsInput, Ro as GetBucketsInput, Rr as UpdateDevBranchInput, Sa as SaveTableMetadataInput, Sn as SearchComponentConfiguration, Sr as WorkspaceInputMappingLoadPreviewInput, St as DeleteConfigurationMetadataPath, T as Trigger, Ti as DeleteTableColumnInput, To as BucketDetail, Tt as SaveConfigurationMetadataInput, Un as DeleteConfigurationRowsInput, Uo as SaveBucketMetadataInput, Ur as DeleteFilePath, Ut as GetComponentPath, Va as UpdateTableInput, Vi as CreateTableDefinitionInput, Vr as AddFileTagInput, W as MergeRequestDetail, Wa as CreateBucketListingBody, Wi as DeleteTableInput, Wn as GetConfigurationRowInput, Wr as DeleteFileTagPath, Xa as UpdateBucketListingBody, Xr as PrepareFileBody, Xt as BaseComponentConfig, Y as UpdateMergeRequestInput, Ya as Subscriber, Yi as DeleteTableRowsInput, Z as ConfigurationRowVersion, Za as UpdateBucketListingInput, Zo as BucketRegistrationGuideQuery, Zt as ComponentConfig, _a as PreviewData, _i as AddTableColumnInput, _n as RebaseConfigurationInput, a as Service, an as ConfigurationPath, ao as ShareBucketToOrganizationInput, ar as DeleteWorkspacePath, at as ConfigurationVersionDetailPath, bo as SharedBucketsQuery, c as RunIdStats, ci as GetEventsInput, cr as GetWorkspacePath, d as CreateSnapshotInput, di as GetTableEventsInput, dn as GetConfigurationsPath, dr as ResetWorkspacePassword, ea as ExportAsyncInput, eo as ForceUnlinkBucketInput, es as CreateScheduledRefreshInput, et as ConfigurationRowVersionPath, fr as ResetWorkspacePasswordPath, gr as UnloadWorkspaceInput, gt as RollbackConfigurationRowToVersionInput, ho as ShareBucketToUsersInput, ii as GetBucketEventsInput, is as RegisterBucketBody, it as ConfigurationVersionDetail, ja as TableExportAsyncBody, ji as CreateAliasTableInput, k as GetJobPath, ka as Table, ki as SaveColumnMetadataInput, kr as WorkspaceSaml2Login, la as GetTablesInput, lr as GetWorkspaceSaml2LoginPath, m as Snapshot, mi as StorageEvent, mn as PurgeConfigurationsInput, mt as CopyConfigurationRowFromVersionInput, n as GetStackInfoQuery, ni as CreatedEvent, ns as RefreshExternalBucketInput, o as StackComponent, oo as ShareBucketToOrganizationProjectInput, or as DeleteWorkspacesInput, ot as ConfigurationVersionPath, p as GetTableSnapshotsInput, pa as ImportAsyncInput, pn as PurgeConfigurationInput, pr as SetWorkspacePublicInput, qr as GetFilePath, ra as GetDataPreviewInput, ro as LinkBucketBody, rr as DeleteWorkspaceObjectInput, rs as RefreshExternalBucketQuery, rt as ConfigurationVersion, s as StackInfo, sa as GetTableInput, si as GetEventPath, sn as CreateConfigurationInput, sr as GetWorkspaceObjectsPath, tn as ConfigurationDiffPath, un as DeleteConfigurationInput, uo as ShareBucketToProjectsInput, ur as GetWorkspacesPath, ut as CopyConfigurationFromVersionInput, v as GlobalSearchQuery, va as PullTableAsyncInput, vt as RollbackConfigurationToVersionInput, w as GetTriggersQuery, wi as DeleteColumnMetadataInput, x as SearchTablesQuery, xi as CreateTablePrimaryKeyInput, xn as RebaseConfigurationToDeletedInput, xo as UnshareBucketInput, y as GlobalSearchResponse, yr as Workspace } from "./types-BiMahEK8.cjs";
|
|
16
|
+
import { a as EncryptQuery, s as ScopedSecrets } from "./types-CMzQSHAQ.cjs";
|
|
17
|
+
import { n as WriteTableInput, t as UploadFileInput } from "./types-BPy5Ozee.cjs";
|
|
18
|
+
import { c as GetChatPath$1, d as PrepareChatRequest, f as UsageResponse$1, i as ChatRequest$1, l as GetHistoryQuery$1, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest$1, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery$1 } from "./types-DinIJ1D_.cjs";
|
|
19
|
+
import { i as UserAgentSettings$1, n as SpendCapMember, r as SpendCapsView, t as AgentSettings$1 } from "./index-DNThyEej.cjs";
|
|
20
|
+
import { a as createManagementClient } from "./index-ByRpNVcs.cjs";
|
|
21
|
+
import { N as components$5, O as ReplaceTargetProjectsInput, S as MetaStoreObjectResponse, T as ReplaceMetaObjectInput, c as DeleteMetaObjectRevisionPath, d as GetMetaObjectRevisionsInput, h as GetMetaObjectsInput, i as CreateMetaObjectInput, j as UpdateMetaObjectInput, l as GetMetaObjectPath, n as GetVersionedSchemaPath, s as DeleteMetaObjectPath, t as GetSchemaPath, u as GetMetaObjectRevisionPath, x as MetaStoreListResponse, y as MetaObject } from "./types-Bl03Cg2n.cjs";
|
|
22
|
+
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-Dd31Lw4S.cjs";
|
|
23
|
+
import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-CP_LBmw3.cjs";
|
|
24
|
+
import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-6kuMW4JW.cjs";
|
|
25
|
+
import { a as GetQueryJobPath, c as JobStatusResponse, d as PostQueryPath, h as components$8, i as GetQueriesPath, l as PostCancelQueryJobPath, n as GetExportResultsQuery, o as GetQueryResultsPath, p as QueryResult, r as GetQueriesHistoryQuery, s as GetQueryResutsQuery, t as ExportResultsResponse, u as PostQueryBody } from "./types-ePSqbXRr.cjs";
|
|
26
26
|
import { n as Listener, t as Emitter } from "./emitter-dLF1Fyfg.cjs";
|
|
27
|
-
import { t as Project } from "./project-
|
|
28
|
-
import { r as createStorageTable } from "./index-
|
|
29
|
-
import { n as KeboolaObjectId } from "./index-
|
|
30
|
-
import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-
|
|
31
|
-
import { D as UpdateSemanticObjectMeta, _ as SemanticModelData, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelChildRef, i as SemanticChildObjectDataMap, m as SemanticMetricData, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObject, x as SemanticRelationshipData } from "./types-
|
|
32
|
-
import { a as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { a as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { n as
|
|
27
|
+
import { t as Project$1 } from "./project-cHKuGvqJ.cjs";
|
|
28
|
+
import { r as createStorageTable } from "./index-CXcWpZQ2.cjs";
|
|
29
|
+
import { n as KeboolaObjectId } from "./index-BfqkgPGI.cjs";
|
|
30
|
+
import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-DEzW1CfI.cjs";
|
|
31
|
+
import { D as UpdateSemanticObjectMeta, _ as SemanticModelData, a as SemanticChildObjectType, b as SemanticObjectType, g as SemanticModelChildRef, i as SemanticChildObjectDataMap, m as SemanticMetricData, o as SemanticConstraintData, p as SemanticGlossaryData, t as CreateSemanticObjectMeta, u as SemanticDatasetData, v as SemanticObject, x as SemanticRelationshipData } from "./types-bc-4z_gc.cjs";
|
|
32
|
+
import { a as KaiMemoryStatus, r as KaiMemoryItem, s as UpdateKaiMemoryMeta, t as CreateKaiMemoryMeta } from "./types-DWiLcrxt.cjs";
|
|
33
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-B61aCifg.cjs";
|
|
34
|
+
import { s as EncryptionCtx } from "./index-Cvbjp3jx.cjs";
|
|
35
|
+
import { a as OrchestrationRerunPlanPath, c as SearchAllJobsQuery, d as SearchJobsQuery, l as SearchGroupedJobsQuery, n as GetQueueJobPath, p as components$9, r as KillJobPath, t as CreateJobBody } from "./types-DUMal2E-.cjs";
|
|
36
|
+
import { a as SchedulePath, n as ConfigurationPath$1, r as GetSchedulesQuery, t as ActivateScheduleBody } from "./types-DE9hgr7i.cjs";
|
|
37
|
+
import { C as UpdateSinkSettingsRequestBody, E as components$10, S as UpdateSinkRequestBody, T as UpdateSourceSettingsRequestBody, d as SinkStatisticsFilesQuery, n as CreateSourceRequestBody, o as PaginationQuery, r as DeleteSourceQuery, t as CreateSinkRequestBody, w as UpdateSourceRequestBody, x as TestSourceQuery } from "./types-DrvKfXXd.cjs";
|
|
38
|
+
import { C as TestLookerCredentialsInput, D as GetEntrypointsInput, E as GetBranchesInput, V as FlowMigrationInput, Y as DbtActionInput, c as OneDriveCreateWorkbookInput, ct as SyncActionContext, d as OneDriveGetWorksheetsInput, f as OneDriveSearchFilesInput, l as OneDriveCreateWorksheetInput, rt as ApifyObjectsInput, st as SyncActionBody, t as EnrollMFAInput } from "./types-CqwHP7mN.cjs";
|
|
39
|
+
import { n as SendSyncActionOptions } from "./index-DbLFwXgb.cjs";
|
|
40
|
+
import { n as ProvisioningToken, t as GetProvisioningTokenBody } from "./types-Bydx6ga_.cjs";
|
|
40
41
|
import { z } from "zod";
|
|
41
42
|
//#region src/errors/UserError.d.ts
|
|
42
43
|
declare class UserError extends Error {
|
|
@@ -67,16 +68,9 @@ declare const isQueryJobError: (error: unknown) => error is QueryJobError;
|
|
|
67
68
|
/**
|
|
68
69
|
* The part of a failure worth putting in front of a reader, or `undefined` when there is none.
|
|
69
70
|
*
|
|
70
|
-
* - A plain `ApiError
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* - Every other error's message *is* a reason, and is returned as-is: a network failure says so in
|
|
74
|
-
* words, and an `ApiError` subclass carries wording written for exactly this spot ("The session
|
|
75
|
-
* has most likely expired").
|
|
76
|
-
*
|
|
77
|
-
* `undefined` is the caller's cue to render its own wording. Branching on an empty `message`
|
|
78
|
-
* cannot do that job — a status line is never empty, so such a test silently stops firing and the
|
|
79
|
-
* reader gets the status number instead of the sentence written for them.
|
|
71
|
+
* - A plain `ApiError`: the service's message from the body, never the status line.
|
|
72
|
+
* - Any other error: its `message` as-is.
|
|
73
|
+
* - `undefined` means render your own wording; don't test for an empty `message` instead.
|
|
80
74
|
*/
|
|
81
75
|
declare const readableReason: (error: unknown) => string | undefined;
|
|
82
76
|
//#endregion
|
|
@@ -117,10 +111,10 @@ declare const isSyncActionError: (error: unknown) => error is SyncActionError;
|
|
|
117
111
|
//#endregion
|
|
118
112
|
//#region src/domain/defaultBranch.d.ts
|
|
119
113
|
type BranchType = 'default' | 'dev';
|
|
120
|
-
type Options$
|
|
114
|
+
type Options$3 = {
|
|
121
115
|
devBranches: DevBranch[];
|
|
122
116
|
};
|
|
123
|
-
declare const createDefaultBranch: ({ devBranches }: Options$
|
|
117
|
+
declare const createDefaultBranch: ({ devBranches }: Options$3) => {
|
|
124
118
|
id: number;
|
|
125
119
|
name: string;
|
|
126
120
|
getType: (branchId?: string | number) => BranchType;
|
|
@@ -130,11 +124,11 @@ declare const createDefaultBranch: ({ devBranches }: Options$2) => {
|
|
|
130
124
|
//#endregion
|
|
131
125
|
//#region src/domain/stack.d.ts
|
|
132
126
|
type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
|
|
133
|
-
type Options$
|
|
127
|
+
type Options$2 = {
|
|
134
128
|
stackInfo: StackInfo;
|
|
135
129
|
clientServiceUrls?: ServiceUrls;
|
|
136
130
|
};
|
|
137
|
-
declare const createStack: ({ stackInfo, clientServiceUrls }: Options$
|
|
131
|
+
declare const createStack: ({ stackInfo, clientServiceUrls }: Options$2) => {
|
|
138
132
|
api: string;
|
|
139
133
|
documentation: string;
|
|
140
134
|
host: string;
|
|
@@ -158,16 +152,13 @@ declare const createStack: ({ stackInfo, clientServiceUrls }: Options$1) => {
|
|
|
158
152
|
declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
|
|
159
153
|
type ClientContext = {
|
|
160
154
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* own `host` field: the API pod that served the request (`connection-api-756b66f7c8-ql5sr`), not a
|
|
164
|
-
* stack hostname. It varies between two calls to the same stack and is never used to route a
|
|
165
|
-
* request. For the stack's hostname, look the stack id up in `STACKS` (`@keboola/api-client/constants`).
|
|
155
|
+
* Canonical stack URL every request is built on. Not `stack.host`, which names the serving pod;
|
|
156
|
+
* for the stack's hostname look its id up in `STACKS`.
|
|
166
157
|
*/
|
|
167
158
|
baseUrl: string;
|
|
168
159
|
stack: ReturnType<typeof createStack>;
|
|
169
160
|
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
170
|
-
readonly project: Project;
|
|
161
|
+
readonly project: Project$1;
|
|
171
162
|
readonly st: ReturnType<typeof createStorageTable>;
|
|
172
163
|
};
|
|
173
164
|
//#endregion
|
|
@@ -179,6 +170,7 @@ type ClientContext = {
|
|
|
179
170
|
declare const KeboolaErrorType: {
|
|
180
171
|
readonly Unconfigured: 'unconfigured';
|
|
181
172
|
readonly NotAuthenticated: 'not-authenticated';
|
|
173
|
+
readonly SignInEnded: 'sign-in-ended';
|
|
182
174
|
readonly AlreadyAuthenticated: 'already-authenticated';
|
|
183
175
|
readonly NoStorageToken: 'no-storage-token';
|
|
184
176
|
readonly NoManagementToken: 'no-management-token';
|
|
@@ -186,6 +178,8 @@ declare const KeboolaErrorType: {
|
|
|
186
178
|
readonly NotBearer: 'not-bearer';
|
|
187
179
|
readonly NotReady: 'not-ready';
|
|
188
180
|
readonly InvalidBuildTransition: 'invalid-build-transition';
|
|
181
|
+
readonly StackActive: 'stack-active';
|
|
182
|
+
readonly CredentialKindMismatch: 'credential-kind-mismatch';
|
|
189
183
|
};
|
|
190
184
|
type KeboolaErrorType = (typeof KeboolaErrorType)[keyof typeof KeboolaErrorType];
|
|
191
185
|
declare class KeboolaError extends Error {
|
|
@@ -197,6 +191,16 @@ declare const isKeboolaError: (error: unknown) => error is KeboolaError;
|
|
|
197
191
|
//#region src/utils/assert.d.ts
|
|
198
192
|
declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
|
|
199
193
|
//#endregion
|
|
194
|
+
//#region src/utils/ensure.d.ts
|
|
195
|
+
/**
|
|
196
|
+
* Read a key, or build its value and keep it.
|
|
197
|
+
*
|
|
198
|
+
* `Map.prototype.getOrInsertComputed` is this natively — swap to it once it clears the app's
|
|
199
|
+
* `baseline-widely-available` build target. Vite transpiles syntax, not methods, so adopting it
|
|
200
|
+
* early fails in the browser rather than at build.
|
|
201
|
+
*/
|
|
202
|
+
declare const ensure: <K, V extends NonNullable<unknown>>(map: Map<K, V>, key: K, build: () => V) => V;
|
|
203
|
+
//#endregion
|
|
200
204
|
//#region src/utils/async/types.d.ts
|
|
201
205
|
/** A deferred unit of async work: a no-arg function returning a value or promise. */
|
|
202
206
|
type TaskFn<T> = () => T | PromiseLike<T>;
|
|
@@ -204,19 +208,10 @@ type TaskFn<T> = () => T | PromiseLike<T>;
|
|
|
204
208
|
//#region src/utils/async/coalesce.d.ts
|
|
205
209
|
/**
|
|
206
210
|
* Coalesces concurrent triggers onto a single, never-parallel run of `task`.
|
|
207
|
-
* Triggers fired while a run is busy collapse into one trailing run, and each
|
|
208
|
-
* resolves with the first run that started after it — so it never sees stale state.
|
|
209
|
-
*
|
|
210
|
-
* Example — A triggers, then B and C trigger while A's run is still going:
|
|
211
|
-
* 1. trigger A → run #1 starts
|
|
212
|
-
* 2. trigger B, C → run #1 busy, so they wait
|
|
213
|
-
* 3. run #1 done → A resolves
|
|
214
|
-
* 4. run #2 starts → covers B and C together (one trailing run, not two)
|
|
215
|
-
* 5. run #2 done → B and C resolve
|
|
216
211
|
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
212
|
+
* - Triggers fired while a run is busy collapse into one trailing run.
|
|
213
|
+
* - Each trigger resolves with the first run started after it, so it never sees stale state.
|
|
214
|
+
* - The returned promise rejects with whatever `task` throws.
|
|
220
215
|
*/
|
|
221
216
|
declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
222
217
|
//#endregion
|
|
@@ -248,25 +243,19 @@ type ConcurrentOptions<T, R> = {
|
|
|
248
243
|
middlewares?: MiddlewareFn<T, R>[];
|
|
249
244
|
};
|
|
250
245
|
/**
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
* keeps executing detached behind the caller's back after the returned promise has settled.
|
|
256
|
-
* The order of the results matches the order of the promises.
|
|
246
|
+
* Runs `process` over `items` with at most `concurrency` in flight; results keep item order.
|
|
247
|
+
*
|
|
248
|
+
* - Rejects on the first failure, like `Promise.all`.
|
|
249
|
+
* - After a rejection no further items start; in-flight ones run to completion.
|
|
257
250
|
*/
|
|
258
251
|
declare const concurrent: <T, R>({ items, process, concurrency, middlewares }: ConcurrentOptions<T, R>) => Promise<R[]>;
|
|
259
252
|
//#endregion
|
|
260
253
|
//#region src/utils/async/dedupe.d.ts
|
|
261
254
|
/**
|
|
262
|
-
*
|
|
263
|
-
* While a run is in flight every trigger returns that same promise; once it
|
|
264
|
-
* settles the next trigger starts a fresh run. (Contrast `coalesce`, which
|
|
265
|
-
* runs a *trailing* pass for triggers that arrive mid-run.)
|
|
255
|
+
* Shares one in-flight run of `task` across concurrent triggers.
|
|
266
256
|
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
* with — the caller handles it (try/catch, or `.catch` on `void trigger()`).
|
|
257
|
+
* - Once it settles, the next trigger starts a fresh run (unlike `coalesce`, no trailing run).
|
|
258
|
+
* - The returned promise rejects with whatever `task` throws.
|
|
270
259
|
*/
|
|
271
260
|
declare const dedupe: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
272
261
|
//#endregion
|
|
@@ -275,20 +264,10 @@ declare const delay: (timeout: number, signal?: AbortSignal) => Promise<void>;
|
|
|
275
264
|
//#endregion
|
|
276
265
|
//#region src/utils/async/lazy.d.ts
|
|
277
266
|
/**
|
|
278
|
-
*
|
|
279
|
-
* the async `Lazy<T>`. While the first run is in flight every call shares it; once
|
|
280
|
-
* it resolves, every call — right after, or long after — replays the same promise.
|
|
281
|
-
* (Contrast `dedupe`, which shares only an *in-flight* run and lets the next
|
|
282
|
-
* trigger start a fresh one, success or not.)
|
|
267
|
+
* Runs `task` once and replays its promise to every later caller.
|
|
283
268
|
*
|
|
284
|
-
* A rejection is
|
|
285
|
-
*
|
|
286
|
-
* be bricked forever by one transient failure. Callers that joined the failed run
|
|
287
|
-
* all reject with its error; only a call made after it settles retries.
|
|
288
|
-
*
|
|
289
|
-
* @returns a getter; each call returns the promise of the computed value.
|
|
290
|
-
* @throws The returned promise rejects with whatever `task` throws or rejects
|
|
291
|
-
* with — the caller handles it (try/catch, or `.catch` on `void get()`).
|
|
269
|
+
* - A rejection is not cached: the next call retries, so a transient failure never sticks.
|
|
270
|
+
* - Callers that joined the failed run reject with its error.
|
|
292
271
|
*/
|
|
293
272
|
declare const lazy: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
294
273
|
//#endregion
|
|
@@ -433,6 +412,7 @@ declare const map: <T, E extends Error, U>(result: Result<T, E>, fn: (data: T) =
|
|
|
433
412
|
declare const mapError: <T, E extends Error, F extends Error>(result: Result<T, E>, fn: (error: E) => F) => Result<T, F>;
|
|
434
413
|
declare const andThen: <T, E extends Error, U, F extends Error>(result: Result<T, E>, fn: (data: T) => Result<U, F>) => Result<U, E | F>;
|
|
435
414
|
declare const match: <T, E extends Error, R>(result: Result<T, E>, onSuccess: (data: T) => R, onFailure: (error: E) => R) => R;
|
|
415
|
+
declare const tap: <T, E extends Error>(result: Result<T, E>, fn: (data: T) => void) => Result<T, E>;
|
|
436
416
|
declare const unwrap: <T, E extends Error>(result: Result<T, E>) => T;
|
|
437
417
|
declare const unwrapOr: <T, E extends Error, U>(result: Result<T, E>, fallback: U) => T | U;
|
|
438
418
|
declare const tryCatch: <T>(task: () => NotPromise<T>) => Result<T>;
|
|
@@ -448,6 +428,7 @@ declare const Result: {
|
|
|
448
428
|
mapError: typeof mapError;
|
|
449
429
|
andThen: typeof andThen;
|
|
450
430
|
match: typeof match;
|
|
431
|
+
tap: typeof tap;
|
|
451
432
|
unwrap: typeof unwrap;
|
|
452
433
|
unwrapOr: typeof unwrapOr;
|
|
453
434
|
tryCatch: typeof tryCatch;
|
|
@@ -560,11 +541,8 @@ type Schema<T> = {
|
|
|
560
541
|
type Persistor<T> = {
|
|
561
542
|
/** Read + validate the stored value; returns `defaultValue` when empty or corrupt. */
|
|
562
543
|
hydrate: () => T;
|
|
563
|
-
/** Serialize + write the value. */
|
|
564
544
|
persist: (value: T) => void;
|
|
565
|
-
/** Remove the stored value. */
|
|
566
545
|
clear: () => void;
|
|
567
|
-
/** Whether a value is currently persisted under the key. */
|
|
568
546
|
hasPersistedValue: () => boolean;
|
|
569
547
|
};
|
|
570
548
|
type PersistorOptions<T> = {
|
|
@@ -577,6 +555,123 @@ type PersistorOptions<T> = {
|
|
|
577
555
|
};
|
|
578
556
|
declare const createPersistor: <T>({ storage, key, schema, defaultValue, encode, decode }: PersistorOptions<T>) => Persistor<T>;
|
|
579
557
|
//#endregion
|
|
558
|
+
//#region src/keboola/bearer/state/types.d.ts
|
|
559
|
+
type BaseUrl = string;
|
|
560
|
+
type ProjectId = number;
|
|
561
|
+
type TokenCredential = {
|
|
562
|
+
type: 'token';
|
|
563
|
+
accessToken: string;
|
|
564
|
+
refreshToken: string;
|
|
565
|
+
expiresIn: number;
|
|
566
|
+
issuedAt: number;
|
|
567
|
+
};
|
|
568
|
+
type CookieCredential = {
|
|
569
|
+
type: 'cookie';
|
|
570
|
+
accessToken: string;
|
|
571
|
+
sessionId: string;
|
|
572
|
+
expiresIn: number;
|
|
573
|
+
issuedAt: number;
|
|
574
|
+
};
|
|
575
|
+
type StaticCredential = {
|
|
576
|
+
type: 'static';
|
|
577
|
+
accessToken: string;
|
|
578
|
+
};
|
|
579
|
+
type BearerCredential = TokenCredential | CookieCredential | StaticCredential;
|
|
580
|
+
/** The kinds with an issue time and a lifetime: what a rotation or an expiry can act on. */
|
|
581
|
+
type RotatingCredential = TokenCredential | CookieCredential;
|
|
582
|
+
type TokenCredentialInput = Omit<TokenCredential, 'issuedAt'>;
|
|
583
|
+
/**
|
|
584
|
+
* Which rotating kind a client signs in with, fixed when it is built.
|
|
585
|
+
*
|
|
586
|
+
* - `token`: API mode — the client holds and rotates the refresh token.
|
|
587
|
+
* - `cookie`: browser mode — the refresh token never reaches JS; only the stack's own origin can use it.
|
|
588
|
+
*/
|
|
589
|
+
type CredentialMode = RotatingCredential['type'];
|
|
590
|
+
type FetchStatus = 'idle' | 'pending' | 'ready' | 'errored';
|
|
591
|
+
/** Storage key of the `projects` map. */
|
|
592
|
+
type ProjectEntryId = `${BaseUrl}#${ProjectId}`;
|
|
593
|
+
/**
|
|
594
|
+
* Sign-in lifecycle of one credential holder.
|
|
595
|
+
*
|
|
596
|
+
* - `restoring`: a persisted credential is read back before any request (for `token`, an exchange).
|
|
597
|
+
*/
|
|
598
|
+
type Auth = {
|
|
599
|
+
status: 'anonymous';
|
|
600
|
+
} | {
|
|
601
|
+
status: 'restoring';
|
|
602
|
+
} | {
|
|
603
|
+
status: 'authenticated';
|
|
604
|
+
credential: BearerCredential;
|
|
605
|
+
};
|
|
606
|
+
/** One OAuth sign-in on one stack; owns the credential its projects borrow via a header. */
|
|
607
|
+
type Stack = {
|
|
608
|
+
/** The stack it addresses, and the entry's own id. */
|
|
609
|
+
baseUrl: BaseUrl;
|
|
610
|
+
/** The stack-index fetch; a public endpoint, independent of any credential. */
|
|
611
|
+
context: FetchStatus;
|
|
612
|
+
/**
|
|
613
|
+
* - Sign-in pin: moves on `authenticate` and `signOut`, never on a rotation.
|
|
614
|
+
* - Refuses a rotation, replay or restore resolving after its sign-in ended.
|
|
615
|
+
*/
|
|
616
|
+
epoch: number;
|
|
617
|
+
auth: Auth;
|
|
618
|
+
};
|
|
619
|
+
/** Borrows its stack's credential; holds no auth of its own. */
|
|
620
|
+
type Project = {
|
|
621
|
+
id: ProjectEntryId;
|
|
622
|
+
baseUrl: BaseUrl;
|
|
623
|
+
projectId: ProjectId;
|
|
624
|
+
context: FetchStatus;
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* A reference into the entry table; `State.active` holds the one `api.*` addresses right now.
|
|
628
|
+
*
|
|
629
|
+
* - A project is only ever addressed inside its own stack, so the pair is one value.
|
|
630
|
+
* - `projectId: null` points at the stack itself, with no project.
|
|
631
|
+
*/
|
|
632
|
+
type StackAddress = {
|
|
633
|
+
baseUrl: BaseUrl;
|
|
634
|
+
projectId: null;
|
|
635
|
+
};
|
|
636
|
+
type ProjectAddress = {
|
|
637
|
+
baseUrl: BaseUrl;
|
|
638
|
+
projectId: ProjectId;
|
|
639
|
+
};
|
|
640
|
+
type Address = StackAddress | ProjectAddress;
|
|
641
|
+
type State$1 = {
|
|
642
|
+
/** Never empty: the table starts scoped to its default stack, and the active one cannot close. */
|
|
643
|
+
active: Address;
|
|
644
|
+
stacks: Record<BaseUrl, Stack>;
|
|
645
|
+
projects: Record<ProjectEntryId, Project>;
|
|
646
|
+
};
|
|
647
|
+
type StackLocation = {
|
|
648
|
+
stack: Stack;
|
|
649
|
+
project: null;
|
|
650
|
+
};
|
|
651
|
+
type ProjectLocation = {
|
|
652
|
+
stack: Stack;
|
|
653
|
+
project: Project;
|
|
654
|
+
};
|
|
655
|
+
type Location = StackLocation | ProjectLocation;
|
|
656
|
+
//#endregion
|
|
657
|
+
//#region src/clients/storage/jobs/jobs.d.ts
|
|
658
|
+
/**
|
|
659
|
+
* The job read, declared rather than inferred.
|
|
660
|
+
*
|
|
661
|
+
* - `poller.ts` types the read it needs as this same alias, so the two are one declaration. Restating
|
|
662
|
+
* the signature over there gives TypeScript two generic signatures to compare and it answers TS2590
|
|
663
|
+
* — the operation union is too wide to expand twice.
|
|
664
|
+
*/
|
|
665
|
+
type GetJob = <T extends JobOperation | string = string>(jobId: GetJobPath['jobId'], signal?: AbortSignal) => Promise<Job<T>>;
|
|
666
|
+
//#endregion
|
|
667
|
+
//#region src/clients/storage/poller.d.ts
|
|
668
|
+
type StorageJobPollOptions = {
|
|
669
|
+
interval?: number;
|
|
670
|
+
maxAttempts?: number;
|
|
671
|
+
timeout?: number;
|
|
672
|
+
signal?: AbortSignal;
|
|
673
|
+
};
|
|
674
|
+
//#endregion
|
|
580
675
|
//#region src/clients/storage/storageClient.d.ts
|
|
581
676
|
type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
|
|
582
677
|
type StorageOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
@@ -2712,23 +2807,12 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2712
2807
|
};
|
|
2713
2808
|
};
|
|
2714
2809
|
//#endregion
|
|
2715
|
-
//#region src/clients/storage/
|
|
2810
|
+
//#region src/clients/storage/bucketListings/utils.d.ts
|
|
2716
2811
|
/**
|
|
2717
|
-
*
|
|
2718
|
-
*
|
|
2719
|
-
* - `poller.ts` types the read it needs as this same alias, so the two are one declaration. Restating
|
|
2720
|
-
* the signature over there gives TypeScript two generic signatures to compare and it answers TS2590
|
|
2721
|
-
* — the operation union is too wide to expand twice.
|
|
2812
|
+
* Encodes subscribers as GCP IAM principals (`user:`/`group:`); `fromBackendSubscribers` decodes.
|
|
2722
2813
|
*/
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
//#region src/clients/storage/poller.d.ts
|
|
2726
|
-
type StorageJobPollOptions = {
|
|
2727
|
-
interval?: number;
|
|
2728
|
-
maxAttempts?: number;
|
|
2729
|
-
timeout?: number;
|
|
2730
|
-
signal?: AbortSignal;
|
|
2731
|
-
};
|
|
2814
|
+
declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
|
|
2815
|
+
declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
|
|
2732
2816
|
//#endregion
|
|
2733
2817
|
//#region src/sdks/configurations/createRegistry/createRegistry.d.ts
|
|
2734
2818
|
type Registry<M extends Record<string, z.ZodObject>> = {
|
|
@@ -3620,6 +3704,7 @@ declare const registry: Registry<Record<never, never> & Record<"keboola.wr-db-my
|
|
|
3620
3704
|
parameters: import("zod").ZodObject<{
|
|
3621
3705
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
3622
3706
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3707
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3623
3708
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3624
3709
|
}, import("zod/v4/core").$strip>;
|
|
3625
3710
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -3775,22 +3860,15 @@ type Middlewares = MiddlewareFn$1[] | ({
|
|
|
3775
3860
|
declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn$1[]) => MiddlewareFn$1[];
|
|
3776
3861
|
type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
|
|
3777
3862
|
//#endregion
|
|
3778
|
-
//#region src/keboola/
|
|
3779
|
-
|
|
3780
|
-
* Bearer (OAuth) project surface. Same handshake + assembly as the legacy build. The
|
|
3781
|
-
* `Authorization: Bearer` header + transparent refresh come from the engine-shared `authMiddleware`
|
|
3782
|
-
* (one instance for management + every project client). This build only adds the project-scoped
|
|
3783
|
-
* `X-KBC-ProjectId` header, composed *outside* the auth middleware so the header is present
|
|
3784
|
-
* before it clones the request for the 401 replay. Bearer has no static token header, so this
|
|
3785
|
-
* combined `attach` rides on every client — including the operational storage and the bootstrap reader.
|
|
3786
|
-
*/
|
|
3787
|
-
declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middlewareFor, clientServiceUrls }: {
|
|
3863
|
+
//#region src/keboola/legacy/createProjectClients.d.ts
|
|
3864
|
+
type Options$1 = {
|
|
3788
3865
|
baseUrl: string;
|
|
3789
|
-
|
|
3790
|
-
|
|
3866
|
+
getStorageToken: () => string;
|
|
3867
|
+
onStorageTokenRefreshed: (token: string) => void;
|
|
3791
3868
|
middlewareFor: MiddlewareFor;
|
|
3792
3869
|
clientServiceUrls?: ServiceUrls;
|
|
3793
|
-
}
|
|
3870
|
+
};
|
|
3871
|
+
declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenRefreshed, middlewareFor, clientServiceUrls }: Options$1) => Promise<{
|
|
3794
3872
|
context: ClientContext;
|
|
3795
3873
|
serviceMeta: {
|
|
3796
3874
|
clientName: string;
|
|
@@ -6801,6 +6879,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
6801
6879
|
parameters: import("zod").ZodObject<{
|
|
6802
6880
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
6803
6881
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6882
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6804
6883
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6805
6884
|
}, import("zod/v4/core").$strip>;
|
|
6806
6885
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -7818,6 +7897,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
7818
7897
|
parameters: import("zod").ZodObject<{
|
|
7819
7898
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
7820
7899
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7900
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7821
7901
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7822
7902
|
}, import("zod/v4/core").$strip>;
|
|
7823
7903
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -8829,6 +8909,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8829
8909
|
parameters: import("zod").ZodObject<{
|
|
8830
8910
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
8831
8911
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8912
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8832
8913
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8833
8914
|
}, import("zod/v4/core").$strip>;
|
|
8834
8915
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -9842,6 +9923,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
9842
9923
|
parameters: import("zod").ZodObject<{
|
|
9843
9924
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
9844
9925
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9926
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9845
9927
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9846
9928
|
}, import("zod/v4/core").$strip>;
|
|
9847
9929
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -10859,6 +10941,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
10859
10941
|
parameters: import("zod").ZodObject<{
|
|
10860
10942
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
10861
10943
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10944
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10862
10945
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10863
10946
|
}, import("zod/v4/core").$strip>;
|
|
10864
10947
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -11870,6 +11953,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
11870
11953
|
parameters: import("zod").ZodObject<{
|
|
11871
11954
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
11872
11955
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11956
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11873
11957
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11874
11958
|
}, import("zod/v4/core").$strip>;
|
|
11875
11959
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -12885,6 +12969,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
12885
12969
|
parameters: import("zod").ZodObject<{
|
|
12886
12970
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
12887
12971
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12972
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12888
12973
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12889
12974
|
}, import("zod/v4/core").$strip>;
|
|
12890
12975
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -13057,6 +13142,19 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
13057
13142
|
replaceTargetProjects: (objectType: SemanticObjectType, objectUUID: string, targetProjectIds: number[]) => Promise<void>;
|
|
13058
13143
|
promoteToOrganizationScope: (objectType: SemanticObjectType, objectUUID: string) => Promise<SemanticObject<Record<string, unknown>>>;
|
|
13059
13144
|
};
|
|
13145
|
+
kaiMemory: {
|
|
13146
|
+
getItems: (signal?: AbortSignal) => Promise<KaiMemoryItem[]>;
|
|
13147
|
+
getItemsByStatus: (status: KaiMemoryStatus, signal?: AbortSignal) => Promise<KaiMemoryItem[]>;
|
|
13148
|
+
getItemsByStatusStrict: (status: KaiMemoryStatus, signal?: AbortSignal) => Promise<KaiMemoryItem[]>;
|
|
13149
|
+
getUnreadableItemIds: (signal?: AbortSignal) => Promise<string[]>;
|
|
13150
|
+
deleteUnreadableItem: (uuid: string) => Promise<void>;
|
|
13151
|
+
createItem: ({ content, chatId, createdBy }: {
|
|
13152
|
+
content: string;
|
|
13153
|
+
chatId: string;
|
|
13154
|
+
createdBy?: string;
|
|
13155
|
+
}, meta?: CreateKaiMemoryMeta) => Promise<KaiMemoryItem>;
|
|
13156
|
+
updateStatus: (uuid: string, status: KaiMemoryStatus, meta?: UpdateKaiMemoryMeta) => Promise<KaiMemoryItem>;
|
|
13157
|
+
};
|
|
13060
13158
|
storage: {
|
|
13061
13159
|
createTable: (input: CreateTableAsyncInput, options?: {
|
|
13062
13160
|
interval?: number;
|
|
@@ -14881,6 +14979,9 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14881
14979
|
} | null;
|
|
14882
14980
|
ppuUsed: number | null;
|
|
14883
14981
|
ppuPercentage: number | null;
|
|
14982
|
+
model: string | null;
|
|
14983
|
+
effort: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
|
|
14984
|
+
effectiveModel: string | null;
|
|
14884
14985
|
messages: {
|
|
14885
14986
|
id: string;
|
|
14886
14987
|
role: 'user' | 'assistant';
|
|
@@ -14926,6 +15027,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14926
15027
|
metadata?: {
|
|
14927
15028
|
createdAt?: string;
|
|
14928
15029
|
hidden?: boolean;
|
|
15030
|
+
autoForwarded?: boolean;
|
|
14929
15031
|
requestContext?: {
|
|
14930
15032
|
path?: string;
|
|
14931
15033
|
sqlEditorActive?: boolean;
|
|
@@ -14961,32 +15063,16 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14961
15063
|
stopChat: (chatId: string) => Promise<{
|
|
14962
15064
|
stopped: boolean;
|
|
14963
15065
|
}>;
|
|
14964
|
-
prepareChat: (chatId: string, signal?: AbortSignal) => Promise<{
|
|
15066
|
+
prepareChat: (chatId: string, signal?: AbortSignal, body?: PrepareChatRequest) => Promise<{
|
|
14965
15067
|
started: boolean;
|
|
14966
15068
|
}>;
|
|
14967
15069
|
getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
|
|
14968
|
-
getAgentSettings: (signal?: AbortSignal) => Promise<
|
|
14969
|
-
projectId: string;
|
|
14970
|
-
customInstructions: string | null;
|
|
14971
|
-
createdAt: string;
|
|
14972
|
-
updatedAt: string;
|
|
14973
|
-
}>;
|
|
15070
|
+
getAgentSettings: (signal?: AbortSignal) => Promise<AgentSettings$1>;
|
|
14974
15071
|
updateAgentSettings: (request: {
|
|
14975
15072
|
customInstructions?: string | null;
|
|
14976
|
-
}, signal?: AbortSignal) => Promise<
|
|
14977
|
-
|
|
14978
|
-
|
|
14979
|
-
createdAt: string;
|
|
14980
|
-
updatedAt: string;
|
|
14981
|
-
}>;
|
|
14982
|
-
getUserAgentSettings: (signal?: AbortSignal) => Promise<{
|
|
14983
|
-
projectId: string;
|
|
14984
|
-
userId: string;
|
|
14985
|
-
customInstructions: string | null;
|
|
14986
|
-
toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
|
|
14987
|
-
createdAt: string;
|
|
14988
|
-
updatedAt: string;
|
|
14989
|
-
}>;
|
|
15073
|
+
}, signal?: AbortSignal) => Promise<AgentSettings$1>;
|
|
15074
|
+
updateProjectToolPolicy: (toolPermissions: ProjectToolPolicy, signal?: AbortSignal) => Promise<AgentSettings$1>;
|
|
15075
|
+
getUserAgentSettings: (signal?: AbortSignal) => Promise<UserAgentSettings$1>;
|
|
14990
15076
|
updateUserAgentSettings: (request: {
|
|
14991
15077
|
customInstructions?: string | null;
|
|
14992
15078
|
toolPermissions?: Record<string, import("zod").output<import("zod").ZodEnum<{
|
|
@@ -14994,14 +15080,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14994
15080
|
always_ask: "always_ask";
|
|
14995
15081
|
blocked: "blocked";
|
|
14996
15082
|
}>>> | null;
|
|
14997
|
-
}, signal?: AbortSignal) => Promise<
|
|
14998
|
-
projectId: string;
|
|
14999
|
-
userId: string;
|
|
15000
|
-
customInstructions: string | null;
|
|
15001
|
-
toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
|
|
15002
|
-
createdAt: string;
|
|
15003
|
-
updatedAt: string;
|
|
15004
|
-
}>;
|
|
15083
|
+
}, signal?: AbortSignal) => Promise<UserAgentSettings$1>;
|
|
15005
15084
|
getSpendCaps: (signal?: AbortSignal) => Promise<SpendCapsView>;
|
|
15006
15085
|
updateSpendCaps: (request: {
|
|
15007
15086
|
projectCapPpu?: number | null;
|
|
@@ -15049,8 +15128,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
15049
15128
|
metastore: {
|
|
15050
15129
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
15051
15130
|
repository: {
|
|
15052
|
-
getMetaObjects: <TData extends Record<string, unknown>>(
|
|
15053
|
-
getMetaObjectRevisions: <TData extends Record<string, unknown>>(
|
|
15131
|
+
getMetaObjects: <TData extends Record<string, unknown>>({ query, ...path }: GetMetaObjectsInput, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
|
|
15132
|
+
getMetaObjectRevisions: <TData extends Record<string, unknown>>({ query, ...path }: GetMetaObjectRevisionsInput, signal?: AbortSignal) => Promise<MetaStoreListResponse<TData>>;
|
|
15054
15133
|
getMetaObject: <TData extends Record<string, unknown>>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData>>;
|
|
15055
15134
|
createMetaObject: <TData extends Record<string, unknown>>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
|
|
15056
15135
|
deleteMetaObject: (input: DeleteMetaObjectPath) => Promise<never>;
|
|
@@ -16071,6 +16150,28 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16071
16150
|
timeCompleted: string;
|
|
16072
16151
|
}[]>;
|
|
16073
16152
|
};
|
|
16153
|
+
flowMigration: {
|
|
16154
|
+
validate: (input: FlowMigrationInput, signal?: AbortSignal) => Promise<{
|
|
16155
|
+
orchestrationId: string;
|
|
16156
|
+
orchestrationName: string;
|
|
16157
|
+
valid: boolean;
|
|
16158
|
+
issues: string[];
|
|
16159
|
+
}[]>;
|
|
16160
|
+
preview: (input: FlowMigrationInput, signal?: AbortSignal) => Promise<{
|
|
16161
|
+
orchestrationId: string;
|
|
16162
|
+
orchestrationName: string;
|
|
16163
|
+
status: "dry-run" | "failed" | "skipped";
|
|
16164
|
+
issues: string[];
|
|
16165
|
+
changes: string[];
|
|
16166
|
+
error?: string | undefined;
|
|
16167
|
+
migratedConfiguration?: {
|
|
16168
|
+
[x: string]: unknown;
|
|
16169
|
+
phases?: unknown[] | undefined;
|
|
16170
|
+
tasks?: unknown[] | undefined;
|
|
16171
|
+
parameters?: unknown;
|
|
16172
|
+
} | undefined;
|
|
16173
|
+
}[]>;
|
|
16174
|
+
};
|
|
16074
16175
|
git: {
|
|
16075
16176
|
getBranches: (input: GetBranchesInput, signal?: AbortSignal) => Promise<{
|
|
16076
16177
|
branch: string;
|
|
@@ -16092,6 +16193,39 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16092
16193
|
message?: string | undefined;
|
|
16093
16194
|
}>;
|
|
16094
16195
|
};
|
|
16196
|
+
oneDrive: {
|
|
16197
|
+
searchFiles: (input: OneDriveSearchFilesInput, signal?: AbortSignal) => Promise<{
|
|
16198
|
+
driveId: string;
|
|
16199
|
+
fileId: string;
|
|
16200
|
+
name: string;
|
|
16201
|
+
path: string | null;
|
|
16202
|
+
}[]>;
|
|
16203
|
+
getWorksheets: (input: OneDriveGetWorksheetsInput, signal?: AbortSignal) => Promise<{
|
|
16204
|
+
driveId: string;
|
|
16205
|
+
fileId: string;
|
|
16206
|
+
worksheetId: string;
|
|
16207
|
+
name: string;
|
|
16208
|
+
title: string;
|
|
16209
|
+
position: number;
|
|
16210
|
+
visible: boolean;
|
|
16211
|
+
}[]>;
|
|
16212
|
+
createWorkbook: (input: OneDriveCreateWorkbookInput, signal?: AbortSignal) => Promise<{
|
|
16213
|
+
driveId: string;
|
|
16214
|
+
fileId: string;
|
|
16215
|
+
}>;
|
|
16216
|
+
createWorksheet: (input: OneDriveCreateWorksheetInput, signal?: AbortSignal) => Promise<{
|
|
16217
|
+
driveId: string;
|
|
16218
|
+
fileId: string;
|
|
16219
|
+
worksheetId: string;
|
|
16220
|
+
}>;
|
|
16221
|
+
};
|
|
16222
|
+
sshKeys: {
|
|
16223
|
+
generate: (input: SyncActionContext, signal?: AbortSignal) => Promise<{
|
|
16224
|
+
status: "success";
|
|
16225
|
+
public: string;
|
|
16226
|
+
private: string;
|
|
16227
|
+
}>;
|
|
16228
|
+
};
|
|
16095
16229
|
};
|
|
16096
16230
|
telemetry: {
|
|
16097
16231
|
healthCheck: (signal?: AbortSignal) => Promise<string>;
|
|
@@ -16132,123 +16266,91 @@ type KeboolaApi = ProjectClients & {
|
|
|
16132
16266
|
};
|
|
16133
16267
|
//#endregion
|
|
16134
16268
|
//#region src/keboola/types.d.ts
|
|
16135
|
-
type
|
|
16136
|
-
baseUrl?: string;
|
|
16269
|
+
type ClientOptions = {
|
|
16137
16270
|
middlewares?: Middlewares;
|
|
16138
16271
|
clientServiceUrls?: ServiceUrls;
|
|
16139
|
-
storage?: StorageAdapter;
|
|
16140
16272
|
};
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
};
|
|
16151
|
-
type State$1 = {
|
|
16152
|
-
status: 'anonymous';
|
|
16153
|
-
baseUrl: string | null;
|
|
16154
|
-
} | {
|
|
16155
|
-
status: 'authenticated';
|
|
16156
|
-
baseUrl: string;
|
|
16157
|
-
credential: Credential;
|
|
16158
|
-
} | {
|
|
16159
|
-
status: 'scoped';
|
|
16160
|
-
baseUrl: string;
|
|
16161
|
-
credential: Credential;
|
|
16162
|
-
projectId: number;
|
|
16163
|
-
};
|
|
16164
|
-
//#endregion
|
|
16165
|
-
//#region src/keboola/bearer/types.d.ts
|
|
16166
|
-
type SessionSnapshot$1 = {
|
|
16167
|
-
type: 'Bearer';
|
|
16168
|
-
config: State$1;
|
|
16169
|
-
authReady: boolean;
|
|
16170
|
-
managementReady: boolean;
|
|
16171
|
-
storage: AsyncState<unknown>['state'];
|
|
16273
|
+
type KeboolaOptions = ClientOptions & {
|
|
16274
|
+
/** The active stack from construction on, until `session.resume()` or `stack.select` moves it. */
|
|
16275
|
+
defaultBaseUrl: string;
|
|
16276
|
+
storage?: StorageAdapter;
|
|
16277
|
+
/**
|
|
16278
|
+
* The rotating credential to sign in with, default `token`. `cookie` needs `browserMode: true`
|
|
16279
|
+
* logins and the stack's own origin: the cookie is same-origin, and the backend checks `Origin`.
|
|
16280
|
+
*/
|
|
16281
|
+
credentials?: CredentialMode;
|
|
16172
16282
|
};
|
|
16173
|
-
type
|
|
16174
|
-
|
|
16283
|
+
type LegacyKeboolaOptions = ClientOptions & {
|
|
16284
|
+
/** The stack the legacy client talks to, fixed. */
|
|
16285
|
+
baseUrl?: string;
|
|
16175
16286
|
};
|
|
16176
16287
|
//#endregion
|
|
16177
16288
|
//#region src/keboola/bearer/keboola.d.ts
|
|
16178
|
-
|
|
16179
|
-
|
|
16289
|
+
/**
|
|
16290
|
+
* The bearer client: the session table, its two scopes, and the surface they back.
|
|
16291
|
+
*
|
|
16292
|
+
* - Credential-derived state is owned by the scope whose end ends it (`perStack`, `perProject`).
|
|
16293
|
+
*/
|
|
16294
|
+
declare const createKeboola: ({ defaultBaseUrl, storage, middlewares, clientServiceUrls, credentials: mode }: KeboolaOptions) => {
|
|
16295
|
+
getActiveApi: () => KeboolaApi;
|
|
16296
|
+
getApi: (projectId: ProjectId) => KeboolaApi;
|
|
16180
16297
|
session: {
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
|
|
16185
|
-
|
|
16186
|
-
|
|
16187
|
-
|
|
16188
|
-
|
|
16189
|
-
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
|
|
16205
|
-
|
|
16206
|
-
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
|
-
|
|
16223
|
-
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
|
|
16229
|
-
|
|
16230
|
-
|
|
16231
|
-
|
|
16232
|
-
|
|
16233
|
-
|
|
16234
|
-
|
|
16235
|
-
|
|
16236
|
-
|
|
16237
|
-
* project is a header on top of it, so an authenticated session suffices where an unnamed call
|
|
16238
|
-
* requires a scoped one. Nothing about the session can change the answer, so there is nothing
|
|
16239
|
-
* to re-read after the `await`.
|
|
16240
|
-
* - **Not checked against an access set**, because this session cannot acquire one:
|
|
16241
|
-
* `forProject` — the only other surface taking a caller-supplied project id — records that
|
|
16242
|
-
* connection collapses every bearer failure into a single `invalid_token` 401, so "no access
|
|
16243
|
-
* to this project" and "revoked token" are the same response. Whether the caller may reach a
|
|
16244
|
-
* project is the caller's own knowledge, from `token.introspect`. What is guaranteed here is
|
|
16245
|
-
* that the header names what was asked for and never something else — which is the failure
|
|
16246
|
-
* worth preventing: a turn sent somewhere the transcript above it did not come from.
|
|
16247
|
-
*/
|
|
16248
|
-
getAuthHeaders: (projectId?: number) => Promise<Record<string, string>>;
|
|
16249
|
-
restore: () => Promise<RestoreResult>;
|
|
16250
|
-
subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
|
|
16251
|
-
debug: () => SessionSnapshot$1;
|
|
16298
|
+
getState: () => State$1;
|
|
16299
|
+
subscribe: (listener: Listener<State$1>) => () => void;
|
|
16300
|
+
resume: () => Promise<"empty" | "expired" | "restored" | "unreachable">;
|
|
16301
|
+
stack: {
|
|
16302
|
+
getActive: () => Stack;
|
|
16303
|
+
select: (baseUrl: string) => Stack;
|
|
16304
|
+
close: (baseUrl: string) => Stack | null;
|
|
16305
|
+
retryContext: (id: string) => void;
|
|
16306
|
+
getContext: (baseUrl?: string) => StackInfo | null;
|
|
16307
|
+
getContextAsync: (baseUrl?: string) => Promise<StackInfo>;
|
|
16308
|
+
};
|
|
16309
|
+
project: {
|
|
16310
|
+
select: (projectId: number) => Project;
|
|
16311
|
+
close: (projectId: ProjectId) => Project | null;
|
|
16312
|
+
deactivate: () => void;
|
|
16313
|
+
retryContext: (id: `${string}#${number}`) => void;
|
|
16314
|
+
getContext: (id?: ProjectEntryId) => {
|
|
16315
|
+
token: Awaited<ReturnType<ReturnType<typeof createStorageClient>['tokens']['verify']>>;
|
|
16316
|
+
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
16317
|
+
} | null;
|
|
16318
|
+
getContextAsync: (id?: ProjectEntryId) => Promise<{
|
|
16319
|
+
token: Awaited<ReturnType<ReturnType<typeof createStorageClient>['tokens']['verify']>>;
|
|
16320
|
+
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
16321
|
+
}>;
|
|
16322
|
+
};
|
|
16323
|
+
auth: {
|
|
16324
|
+
authenticate: (input: {
|
|
16325
|
+
type: 'cookie';
|
|
16326
|
+
accessToken: string;
|
|
16327
|
+
sessionId: string;
|
|
16328
|
+
expiresIn: number;
|
|
16329
|
+
} | {
|
|
16330
|
+
type: 'static';
|
|
16331
|
+
accessToken: string;
|
|
16332
|
+
} | (Omit<TokenCredentialInput, "refreshToken"> & {
|
|
16333
|
+
refreshToken?: string | null;
|
|
16334
|
+
})) => Stack;
|
|
16335
|
+
replace: (input: {
|
|
16336
|
+
type: 'cookie';
|
|
16337
|
+
accessToken: string;
|
|
16338
|
+
sessionId: string;
|
|
16339
|
+
expiresIn: number;
|
|
16340
|
+
} | {
|
|
16341
|
+
type: 'static';
|
|
16342
|
+
accessToken: string;
|
|
16343
|
+
} | (Omit<TokenCredentialInput, "refreshToken"> & {
|
|
16344
|
+
refreshToken?: string | null;
|
|
16345
|
+
})) => Stack;
|
|
16346
|
+
adoptInjected: (input: TokenCredentialInput) => Stack;
|
|
16347
|
+
signOut: (baseUrl?: string | undefined) => Stack;
|
|
16348
|
+
/** Whether the active stack holds a credential — `restoring` is not one yet. */
|
|
16349
|
+
isAuthenticated: () => boolean;
|
|
16350
|
+
isAuthenticatedAsync: () => Promise<boolean>;
|
|
16351
|
+
rotate: (baseUrl: string) => Promise<string>;
|
|
16352
|
+
getHeaders: (projectId?: ProjectId) => Record<string, string>;
|
|
16353
|
+
};
|
|
16252
16354
|
};
|
|
16253
16355
|
};
|
|
16254
16356
|
//#endregion
|
|
@@ -16269,7 +16371,7 @@ type SessionSnapshot = {
|
|
|
16269
16371
|
};
|
|
16270
16372
|
//#endregion
|
|
16271
16373
|
//#region src/keboola/legacy/keboola.d.ts
|
|
16272
|
-
declare const createLegacyKeboola: (options?:
|
|
16374
|
+
declare const createLegacyKeboola: (options?: LegacyKeboolaOptions) => {
|
|
16273
16375
|
api: KeboolaApi;
|
|
16274
16376
|
session: {
|
|
16275
16377
|
setBaseUrl: (baseUrl: string) => void;
|
|
@@ -16282,6 +16384,25 @@ declare const createLegacyKeboola: (options?: KeboolaOptions) => {
|
|
|
16282
16384
|
};
|
|
16283
16385
|
};
|
|
16284
16386
|
//#endregion
|
|
16387
|
+
//#region src/keboola/bearer/persistor.d.ts
|
|
16388
|
+
/**
|
|
16389
|
+
* Where a bearer session is persisted, under whichever adapter the client was given.
|
|
16390
|
+
*
|
|
16391
|
+
* Exported because a consumer sometimes has to drop a session a client cannot reach: the adapter is
|
|
16392
|
+
* chosen at construction, so a client built without one holds no handle to the storage its own
|
|
16393
|
+
* session is sitting in. `AppAuthStrategy` in kbc-ui is that case.
|
|
16394
|
+
*/
|
|
16395
|
+
declare const SESSION_STORAGE_KEY = "keboola:session";
|
|
16396
|
+
//#endregion
|
|
16397
|
+
//#region src/keboola/bearer/credentials/credentials.d.ts
|
|
16398
|
+
/**
|
|
16399
|
+
* What a boot-time restore found.
|
|
16400
|
+
*
|
|
16401
|
+
* - `expired`: the server refused the refresh token.
|
|
16402
|
+
* - `unreachable`: no answer; the stored token is still good — retry, never log in.
|
|
16403
|
+
*/
|
|
16404
|
+
type RestoreStatus = 'restored' | 'expired' | 'unreachable' | 'empty';
|
|
16405
|
+
//#endregion
|
|
16285
16406
|
//#region src/keboola/index.d.ts
|
|
16286
16407
|
/** The bearer (OAuth) session surface, derived from the factory's return. */
|
|
16287
16408
|
type BearerSession = ReturnType<typeof createKeboola>['session'];
|
|
@@ -16339,30 +16460,18 @@ declare const KeboolaHttpHeader: {
|
|
|
16339
16460
|
readonly PROJECT_ID: 'X-KBC-ProjectId';
|
|
16340
16461
|
/** Storage job a request enqueued, reported on the response rather than in its body. */
|
|
16341
16462
|
readonly STORAGE_API_JOB_ID: 'X-StorageApi-Job-Id';
|
|
16463
|
+
/** Set to "1" to opt an auth call into browser/cookie mode. */
|
|
16464
|
+
readonly CSRF: 'X-KBC-CSRF';
|
|
16342
16465
|
};
|
|
16343
16466
|
//#endregion
|
|
16344
16467
|
//#region src/domain/jobStatus.d.ts
|
|
16345
|
-
/**
|
|
16346
|
-
* A service's statuses as named constants — `SUCCESS: 'success'`.
|
|
16347
|
-
*
|
|
16348
|
-
* Keyed off the status type, so there is an entry per status and no more, and a spec that renames a
|
|
16349
|
-
* status renames the key with it.
|
|
16350
|
-
*/
|
|
16468
|
+
/** A service's statuses as named constants — `SUCCESS: 'success'`. */
|
|
16351
16469
|
type StatusNames<Status extends string> = { [K in Status as Uppercase<K>]: K; };
|
|
16352
16470
|
/**
|
|
16353
|
-
* Job statuses per service
|
|
16354
|
-
* `jobStatus.queue.statuses.failed` the statuses behind it,
|
|
16355
|
-
* `jobStatus.queue.named.ERROR` one of them by name.
|
|
16356
|
-
*
|
|
16357
|
-
* One entry per service, never one over the union: the vocabularies overlap by label — `processing`
|
|
16358
|
-
* belongs to all three, `created` to queue and query — while which statuses exist and what each
|
|
16359
|
-
* implies differ per service. A shared entry would take another service's status and answer by its
|
|
16360
|
-
* rules.
|
|
16471
|
+
* Job statuses per service, e.g. `jobStatus.queue.isFailed(status)`.
|
|
16361
16472
|
*
|
|
16362
|
-
* -
|
|
16363
|
-
*
|
|
16364
|
-
* - Spread a group where an array is wanted — an API `status` filter, or a UI list that mixes job
|
|
16365
|
-
* statuses with its own.
|
|
16473
|
+
* - Never merge services: labels overlap but their meaning differs.
|
|
16474
|
+
* - `query` covers the query job, not its statements (which have `notExecuted`).
|
|
16366
16475
|
*/
|
|
16367
16476
|
declare const jobStatus: {
|
|
16368
16477
|
storage: {
|
|
@@ -16427,16 +16536,6 @@ declare const jobStatus: {
|
|
|
16427
16536
|
};
|
|
16428
16537
|
};
|
|
16429
16538
|
//#endregion
|
|
16430
|
-
//#region src/clients/storage/bucketListings/utils.d.ts
|
|
16431
|
-
/**
|
|
16432
|
-
* The two halves of the `bigquery.subscribers` wire format: a GCP IAM principal, which the Storage
|
|
16433
|
-
* spec documents as "prefixed with `user:` or `group:`". The write path uses `toBackendSubscribers`;
|
|
16434
|
-
* reads hand back the raw `string[]`, so a consumer that renders or edits subscribers decodes with
|
|
16435
|
-
* `fromBackendSubscribers` rather than re-deriving the prefix rule.
|
|
16436
|
-
*/
|
|
16437
|
-
declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
|
|
16438
|
-
declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
|
|
16439
|
-
//#endregion
|
|
16440
16539
|
//#region src/sdks/storage/storageSdk.d.ts
|
|
16441
16540
|
type Options = {
|
|
16442
16541
|
interval?: number;
|
|
@@ -17411,7 +17510,6 @@ type PrefixTagsOptions = {
|
|
|
17411
17510
|
hasStorageBranches?: boolean;
|
|
17412
17511
|
};
|
|
17413
17512
|
declare const prefixTagsWithDevBranchId: (tags: string[], branchId?: number | string | null, options?: PrefixTagsOptions) => string[];
|
|
17414
|
-
declare const removeBranchFromUrl: (url: string) => string;
|
|
17415
17513
|
//#endregion
|
|
17416
17514
|
//#region src/sdks/queryService/queryServiceSdk.d.ts
|
|
17417
17515
|
type WaitForJobOptions = {
|
|
@@ -17495,5 +17593,5 @@ declare const createQueryServiceClient: ({ baseUrl, middlewares, auth }: ClientI
|
|
|
17495
17593
|
exportResults: (queryJobId: GetQueryResultsPath['queryJobId'], statementId: GetQueryResultsPath['statementId'], query: GetExportResultsQuery, signal?: AbortSignal) => Promise<ExportResultsResponse>;
|
|
17496
17594
|
};
|
|
17497
17595
|
//#endregion
|
|
17498
|
-
export {
|
|
17499
|
-
//# sourceMappingURL=index-
|
|
17596
|
+
export { StorageAdapter as $, ClientContext as $t, createLegacyKeboola as A, emitter as At, GenericFetchClient as B, delay as Bt, RequestLog as C, ObservedPoller as Ct, LegacySession as D, Poller as Dt, BearerSession as E, PollTask as Et, ProjectClients as F, PollKey as Ft, CredentialMode as G, collect as Gt, createStorageClient as H, ConcurrentOptions as Ht, RegisteredComponentId as I, PollOptions as It, Project as J, ensure as Jt, FetchStatus as K, coalesce as Kt, registry as L, PollResult as Lt, KeboolaOptions as M, poll as Mt, LegacyKeboolaOptions as N, poller as Nt, RestoreStatus as O, PollerStartFn as Ot, KeboolaApi as P, PollContext as Pt, createPersistor as Q, isKeboolaError as Qt, fromBackendSubscribers as R, PollTick as Rt, LoggingOptions as S, createPollRegistry as St, createLoggingMiddleware as T, PollState as Tt, Auth as U, concurrent as Ut, StorageOpenApiFetchClient as V, dedupe as Vt, BearerCredential as W, CollectOptions as Wt, State$1 as X, KeboolaError as Xt, Stack as Y, assert as Yt, Persistor as Z, KeboolaErrorType as Zt, RetryOptions as _, Success as _t, parseCurrentDevBranchIdFromUrl as a, QueryJobTimeoutError as an, isEmptyDeep as at, LogLevel as b, PollEntry as bt, FQID_TYPES as c, QueryJobError as cn, createDerivedAsyncStore as ct, parseFQID as d, ReadableStore as dt, isStorageTokenMutatingRequest as en, createLocalStorage as et, parse as f, Store as ft, KeboolaHttpHeader as g, Result as gt, jobStatus as h, Failure as ht, createQueryServiceSdk as i, ServiceUnavailableError as in, deepMerge as it, createKeboola as j, failureOf as jt, SESSION_STORAGE_KEY as k, PollerStopFn as kt, ParsedFQID as l, isQueryJobError as ln, createDerivedStore as lt, createStorageSdk as m, generateUUID as mt, ExecuteQueryOptions as n, SyncActionError as nn, createNullStorage as nt, parseDevBranchId as o, isQueryJobTimeoutError as on, isPlainObject as ot, tableIdParser as p, createStore as pt, Location as q, TaskFn as qt, WaitForJobOptions as r, isSyncActionError as rn, createSessionStorage as rt, prefixTagsWithDevBranchId as s, readableReason as sn, AsyncState as st, createQueryServiceClient as t, createDefaultBranch as tn, createMemoryStorage as tt, constructFQID as u, UserError as un, shallowEqual as ut, createRetryMiddleware as v, asError as vt, ResponseLog as w, PollSnapshot as wt, Logger as x, PollRegistry as xt, Log as y, series as yt, toBackendSubscribers as z, lazy as zt };
|
|
17597
|
+
//# sourceMappingURL=index-cWp_V6K5.d.cts.map
|