@keboola/api-client 36.0.0 → 40.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 +133 -103
- package/API-SURFACE.md +36 -2
- package/CHANGELOG.md +194 -0
- package/README.md +22 -20
- package/dist/{ManagementClientAuthError-DD4u0EU7.cjs → ManagementClientAuthError-DE7lNGZQ.cjs} +3 -2
- package/dist/{ManagementClientAuthError-DD4u0EU7.cjs.map → ManagementClientAuthError-DE7lNGZQ.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-ey-f03vy.js → ManagementClientAuthError-H30lti_Q.js} +3 -2
- package/dist/{ManagementClientAuthError-ey-f03vy.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-BjfUoWzs.cjs → appLogs-B9zFJIuy.cjs} +2 -2
- package/dist/{appLogs-BjfUoWzs.cjs.map → appLogs-B9zFJIuy.cjs.map} +1 -1
- package/dist/{appLogs-xsVkTriU.js → appLogs-BBkkUOW1.js} +2 -2
- package/dist/{appLogs-xsVkTriU.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-JQ33o3nU.cjs → auth-Dm0F2rOh.cjs} +2 -2
- package/dist/{auth-JQ33o3nU.cjs.map → auth-Dm0F2rOh.cjs.map} +1 -1
- package/dist/{auth-aItmDu45.js → auth-DworfoPy.js} +2 -2
- package/dist/{auth-aItmDu45.js.map → auth-DworfoPy.js.map} +1 -1
- package/dist/{authClient-_PpvGgZJ.cjs → authClient-BmuUo0J4.cjs} +141 -48
- package/dist/authClient-BmuUo0J4.cjs.map +1 -0
- package/dist/{authClient-D8i3JTM-.d.ts → authClient-CHXWJ9x3.d.ts} +109 -76
- package/dist/{authClient-D7W9vWPR.js → authClient-CgcDGd30.js} +108 -39
- package/dist/authClient-CgcDGd30.js.map +1 -0
- package/dist/{authClient-CTHNs6Tq.d.cts → 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 +3 -0
- package/dist/businessWorkspaceApi/index.d.cts +2 -0
- package/dist/businessWorkspaceApi/index.d.ts +2 -0
- package/dist/businessWorkspaceApi/index.js +2 -0
- package/dist/businessWorkspaceApi/types.cjs +0 -0
- package/dist/businessWorkspaceApi/types.d.cts +2 -0
- package/dist/businessWorkspaceApi/types.d.ts +2 -0
- package/dist/businessWorkspaceApi/types.js +1 -0
- package/dist/businessWorkspaceApi-6tCDdpnY.cjs +66 -0
- package/dist/businessWorkspaceApi-6tCDdpnY.cjs.map +1 -0
- package/dist/businessWorkspaceApi-BLUdefRF.js +61 -0
- package/dist/businessWorkspaceApi-BLUdefRF.js.map +1 -0
- package/dist/businessWorkspaceApiClient-BHDJlHFo.d.cts +529 -0
- package/dist/businessWorkspaceApiClient-DI-z1VIH.d.ts +529 -0
- package/dist/chat/index.cjs +9 -5
- package/dist/chat/index.cjs.map +1 -1
- package/dist/chat/index.d.cts +3 -3
- package/dist/chat/index.d.ts +3 -3
- package/dist/chat/index.js +9 -5
- 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-DkyQ8PM0.cjs → componentId-57vjsa2i.cjs} +4 -2
- package/dist/{componentId-DkyQ8PM0.cjs.map → componentId-57vjsa2i.cjs.map} +1 -1
- package/dist/{componentId-vJz-kWs6.js → componentId-C6WZa_R1.js} +4 -2
- package/dist/{componentId-vJz-kWs6.js.map → componentId-C6WZa_R1.js.map} +1 -1
- 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-VtNE0nrT.js → configurations-BPKGGy-M.js} +14 -22
- package/dist/configurations-BPKGGy-M.js.map +1 -0
- package/dist/{configurations-CyFF9Dtu.cjs → configurations-BTRHVSRq.cjs} +20 -53
- package/dist/configurations-BTRHVSRq.cjs.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-IYyOvhI3.cjs} +14 -22
- package/dist/configurations-IYyOvhI3.cjs.map +1 -0
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.ts +2 -2
- package/dist/constants/index.js +2 -2
- package/dist/{constants-wfbFsqqN.js → constants-C2tYAJSj.js} +10 -1
- package/dist/constants-C2tYAJSj.js.map +1 -0
- package/dist/{constants-C4DlsF_M.cjs → constants-C6xku_Vx.cjs} +10 -1
- package/dist/constants-C6xku_Vx.cjs.map +1 -0
- package/dist/{createFetchClient-DgMiqTJ8.cjs → createFetchClient-Cwp8max9.cjs} +24 -5
- package/dist/createFetchClient-Cwp8max9.cjs.map +1 -0
- package/dist/{createFetchClient-U-ZrwPl2.js → createFetchClient-DXHQK63w.js} +24 -5
- package/dist/createFetchClient-DXHQK63w.js.map +1 -0
- package/dist/{createGenericFetchClient-rxvUUbap.js → createGenericFetchClient-Dg1rgzmG.js} +2 -2
- package/dist/{createGenericFetchClient-rxvUUbap.js.map → createGenericFetchClient-Dg1rgzmG.js.map} +1 -1
- package/dist/{createGenericFetchClient-o3cPJeRn.cjs → createGenericFetchClient-Dl9cqTvR.cjs} +2 -2
- package/dist/{createGenericFetchClient-o3cPJeRn.cjs.map → createGenericFetchClient-Dl9cqTvR.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-DhUU3M1W.cjs → createOpenapiFetchClient-BYqW-9tm.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-DhUU3M1W.cjs.map → createOpenapiFetchClient-BYqW-9tm.cjs.map} +1 -1
- package/dist/{createOpenapiFetchClient-BVSc9ibR.js → createOpenapiFetchClient-DZUOVupy.js} +2 -2
- package/dist/{createOpenapiFetchClient-BVSc9ibR.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-0Rl_EuV_.cjs → dataScience-B5QxZnvW.cjs} +5 -5
- package/dist/{dataScience-0Rl_EuV_.cjs.map → dataScience-B5QxZnvW.cjs.map} +1 -1
- package/dist/{dataScience-C1gO5zUn.js → dataScience-OXcwdk1p.js} +5 -5
- package/dist/{dataScience-C1gO5zUn.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-C_48z8BN.js → developerPortalClient-B1QZ1rYi.js} +6 -8
- package/dist/{developerPortalClient-C_48z8BN.js.map → developerPortalClient-B1QZ1rYi.js.map} +1 -1
- package/dist/{developerPortalClient-ki0XS_OD.cjs → developerPortalClient-CLPpBksD.cjs} +6 -8
- package/dist/{developerPortalClient-ki0XS_OD.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-C83w7BKz.cjs → import-CNk89mqy.cjs} +3 -3
- package/dist/{import-C83w7BKz.cjs.map → import-CNk89mqy.cjs.map} +1 -1
- package/dist/{import-CROEK82b.js → import-DiMQCzLa.js} +3 -3
- package/dist/{import-CROEK82b.js.map → import-DiMQCzLa.js.map} +1 -1
- package/dist/{index-DR4QqItd.d.cts → index--ZpnE3YT.d.cts} +3 -3
- 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-2JM0gyAf.d.ts → index-BkqackZf.d.ts} +439 -289
- package/dist/{index-BDG-LKXj.d.cts → index-ByRpNVcs.d.cts} +88 -18
- 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-NaYLwG_h.d.cts → index-C8gRRWHL.d.cts} +11 -1
- package/dist/{index-NaYLwG_h.d.ts → index-C8gRRWHL.d.ts} +11 -1
- package/dist/{index-3LUk2rpD.d.ts → index-CPu4Nezo.d.cts} +34 -9
- 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-Dx52hNLP.d.cts → index-CcMHJcuP.d.cts} +3 -3
- package/dist/{index-BgLnWTZU.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-D8rcUbnk.d.ts → index-D7-o-oGa.d.ts} +3 -3
- package/dist/{index-BXF-bs2d.d.ts → index-DCRKjihs.d.ts} +88 -18
- package/dist/{kaiAgentClient-DhTaM3GC.d.cts → index-DNThyEej.d.cts} +19 -5
- package/dist/{index-DXSmFkol.d.cts → index-DOAZmWvh.d.cts} +6 -6
- package/dist/{index-DIAyi-EZ.d.cts → index-DXYASsPP.d.cts} +439 -289
- package/dist/{index-BuegqrS1.d.ts → index-D_-4uQF8.d.ts} +3 -3
- package/dist/{index-CW3Pj7DY.d.cts → index-Dazy-meb.d.ts} +34 -9
- package/dist/{index-CqgtL2NU.d.ts → index-DnQTuc6t.d.ts} +6 -6
- package/dist/{kaiAgentClient-BJj_2aqt.d.ts → index-Qb7X6-ph.d.ts} +19 -5
- package/dist/index.cjs +1503 -895
- 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 +1501 -896
- 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-8LNzGhZc.js → kaiAgent-Dp20HLTh.js} +63 -7
- package/dist/kaiAgent-Dp20HLTh.js.map +1 -0
- package/dist/{kaiAgent-B_TaUPRt.cjs → kaiAgent-QNoeVKPs.cjs} +63 -7
- 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 +2 -2
- package/dist/management/index.d.ts +2 -2
- 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-BoxlRNg2.cjs → management-CCY0IYnq.cjs} +93 -25
- package/dist/management-CCY0IYnq.cjs.map +1 -0
- package/dist/{management-Bp440RsV.js → management-DvmPiG64.js} +93 -25
- 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-VCDRVhUT.js → metastore-BycJxe7A.js} +14 -8
- package/dist/metastore-BycJxe7A.js.map +1 -0
- package/dist/{metastore-BYYWTb3m.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-B8yqG6Sy.cjs → oauth--2p8jkJf.cjs} +5 -5
- package/dist/{oauth-B8yqG6Sy.cjs.map → oauth--2p8jkJf.cjs.map} +1 -1
- package/dist/{oauth--asfePw-.js → oauth-l5zE39cD.js} +5 -5
- package/dist/{oauth--asfePw-.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-C2wvX0xZ.d.ts → project-B15gStbM.d.ts} +2 -2
- package/dist/{project-hePfzUY0.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-Ca65E5KH.js → queryService-CCOYbRbw.js} +6 -6
- package/dist/{queryService-Ca65E5KH.js.map → queryService-CCOYbRbw.js.map} +1 -1
- package/dist/{queryService-BVtjkXy1.cjs → queryService-CQzclHdL.cjs} +6 -6
- package/dist/{queryService-BVtjkXy1.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-DyotLFJi.js → queue-Cowbg6bR.js} +8 -11
- package/dist/queue-Cowbg6bR.js.map +1 -0
- package/dist/{queue-OJJUUqc2.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-E0Vilu8u.cjs → semanticLayer-CKDVkU56.cjs} +78 -166
- package/dist/semanticLayer-CKDVkU56.cjs.map +1 -0
- package/dist/{semanticLayer-CSqmtHRo.js → semanticLayer-pYy082Ju.js} +78 -166
- package/dist/semanticLayer-pYy082Ju.js.map +1 -0
- package/dist/{serviceIds-DRcoTnSd.d.cts → serviceIds-DC-H6ZD9.d.cts} +2 -1
- package/dist/{serviceIds-DRcoTnSd.d.ts → serviceIds-DC-H6ZD9.d.ts} +2 -1
- package/dist/status/index.cjs +1 -1
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +6 -5
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +6 -6
- package/dist/storage/types.d.cts +3 -3
- package/dist/storage/types.d.ts +3 -3
- package/dist/{storage-LYwFQPNO.js → storage-CZQHZcXG.js} +127 -289
- package/dist/storage-CZQHZcXG.js.map +1 -0
- package/dist/{storage-BKm7cztt.cjs → storage-JinL1y1s.cjs} +132 -288
- 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-QeBhIVhG.js → syncActions-BmmoqZO_.js} +130 -111
- package/dist/syncActions-BmmoqZO_.js.map +1 -0
- package/dist/{syncActions-OEZdVffK.cjs → syncActions-CtcLGQiy.cjs} +130 -111
- package/dist/syncActions-CtcLGQiy.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-DBOSvWtD.d.ts → types-BS4jwuMi.d.ts} +8 -15
- package/dist/{types-BrYkBQo4.d.ts → types-BTK7Bv3n.d.cts} +171 -44
- package/dist/{types-CW6lCqrC.d.cts → types-BYM9Ptz5.d.ts} +93 -43
- 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-DjrRmQUe.d.cts → types-BiMahEK8.d.cts} +92 -238
- 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-DYzJ6K2e.d.ts → types-CFeZCQ9p.d.cts} +93 -43
- package/dist/{types-DEc55spK.d.ts → types-CKmTZSPG.d.ts} +92 -238
- package/dist/{types-CaYtinmA.d.cts → types-CMzQSHAQ.d.cts} +3 -3
- package/dist/{types-N3EChotg.d.cts → types-CP_LBmw3.d.cts} +2 -2
- 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-Bxhh2SJr.d.ts → types-CoJVrRAD.d.ts} +2 -2
- package/dist/{types-CKiW3n6v.d.ts → types-D3wcs4tp.d.ts} +2 -2
- package/dist/{types-DPS8nwkV.d.cts → types-DDOa07rU.d.cts} +8 -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-BuqxXXYP.d.ts → types-DKc1gmd9.d.ts} +949 -190
- package/dist/{types-BQsOHNI0.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-f8W_j6qD.d.cts → types-DinIJ1D_.d.cts} +688 -201
- 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-BsxLGDoC.d.cts → types-DrvKfXXd.d.cts} +2 -2
- package/dist/{types-CzsnuPFh.d.cts → types-Dtuvhm3K.d.cts} +949 -190
- 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-BupPADSm.d.ts → types-n4PTnLii.d.ts} +688 -201
- 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-olE2sQ3U.js → validateConnectionStatus-BEGu8wXT.js} +7 -10
- package/dist/validateConnectionStatus-BEGu8wXT.js.map +1 -0
- package/dist/{validateConnectionStatus-CsvYmCOI.cjs → validateConnectionStatus-BEYkQpu9.cjs} +7 -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 +58 -4
- package/surface/apps.md +3 -3
- package/surface/auth.md +13 -6
- package/surface/businessWorkspaceApi.md +12 -0
- package/surface/chat.md +7 -7
- package/surface/kaiAgent.md +13 -9
- package/surface/management.md +18 -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 +9 -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-D7W9vWPR.js.map +0 -1
- package/dist/authClient-_PpvGgZJ.cjs.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/constants-C4DlsF_M.cjs.map +0 -1
- package/dist/constants-wfbFsqqN.js.map +0 -1
- package/dist/createFetchClient-DgMiqTJ8.cjs.map +0 -1
- package/dist/createFetchClient-U-ZrwPl2.js.map +0 -1
- package/dist/credential-CihSf_xs.js +0 -36
- package/dist/credential-CihSf_xs.js.map +0 -1
- package/dist/credential-DVWvJFJs.cjs +0 -47
- package/dist/credential-DVWvJFJs.cjs.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/isLoginPageRedirect-B0EmRsHr.cjs +0 -25
- package/dist/isLoginPageRedirect-B0EmRsHr.cjs.map +0 -1
- package/dist/isLoginPageRedirect-BTTAedW-.js +0 -20
- package/dist/isLoginPageRedirect-BTTAedW-.js.map +0 -1
- package/dist/jobStatus-0_Y3Sr4i.cjs.map +0 -1
- package/dist/jobStatus-PSZJMTiA.js.map +0 -1
- package/dist/kaiAgent-8LNzGhZc.js.map +0 -1
- package/dist/kaiAgent-B_TaUPRt.cjs.map +0 -1
- package/dist/management-BoxlRNg2.cjs.map +0 -1
- package/dist/management-Bp440RsV.js.map +0 -1
- package/dist/metastore-BYYWTb3m.cjs.map +0 -1
- package/dist/metastore-VCDRVhUT.js.map +0 -1
- package/dist/queue-DyotLFJi.js.map +0 -1
- package/dist/queue-OJJUUqc2.cjs.map +0 -1
- package/dist/semanticLayer-CSqmtHRo.js.map +0 -1
- package/dist/semanticLayer-E0Vilu8u.cjs.map +0 -1
- package/dist/storage-BKm7cztt.cjs.map +0 -1
- package/dist/storage-LYwFQPNO.js.map +0 -1
- package/dist/syncActions-OEZdVffK.cjs.map +0 -1
- package/dist/syncActions-QeBhIVhG.js.map +0 -1
- package/dist/validateConnectionStatus-CsvYmCOI.cjs.map +0 -1
- package/dist/validateConnectionStatus-olE2sQ3U.js.map +0 -1
|
@@ -1,41 +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 {
|
|
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";
|
|
8
9
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.cjs";
|
|
9
|
-
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-
|
|
10
|
-
import "./index-
|
|
11
|
-
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-
|
|
12
|
-
import { t as ServiceId } from "./serviceIds-
|
|
13
|
-
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-
|
|
14
|
-
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-
|
|
15
|
-
import { a as EncryptQuery, s as ScopedSecrets } from "./types-
|
|
16
|
-
import { n as WriteTableInput, t as UploadFileInput } from "./types-
|
|
17
|
-
import {
|
|
18
|
-
import { n as SpendCapsView, t as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { a as SubscriptionId, n as ListSubscriptionsQuery, s as components$6, t as CreateSubscriptionBody } from "./types-
|
|
22
|
-
import { a as CredentialInput, r as CreateCredentialInput, s as GetCredentialsInput } from "./types-
|
|
23
|
-
import { h as components$7, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "./types-
|
|
24
|
-
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-
|
|
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
|
+
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-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";
|
|
25
26
|
import { n as Listener, t as Emitter } from "./emitter-dLF1Fyfg.cjs";
|
|
26
|
-
import { t as Project } from "./project-
|
|
27
|
-
import { r as createStorageTable } from "./index-
|
|
28
|
-
import { n as KeboolaObjectId } from "./index-
|
|
29
|
-
import { a as TagWithBindings, i as TagData, o as UpdateMetaObjectMetaDataInput, t as CreateMetaObjectMetaDataInput } from "./types-
|
|
30
|
-
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-
|
|
31
|
-
import { a as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { a as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
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 { B as ApifyObjectsInput, G as SyncActionContext, M as DbtActionInput, W as SyncActionBody, l as GetBranchesInput, o as TestLookerCredentialsInput, t as EnrollMFAInput, u as GetEntrypointsInput, w as FlowMigrationInput } from "./types-CFeZCQ9p.cjs";
|
|
39
|
+
import { n as SendSyncActionOptions } from "./index-CPu4Nezo.cjs";
|
|
40
|
+
import { n as ProvisioningToken, t as GetProvisioningTokenBody } from "./types-Bydx6ga_.cjs";
|
|
39
41
|
import { z } from "zod";
|
|
40
42
|
//#region src/errors/UserError.d.ts
|
|
41
43
|
declare class UserError extends Error {
|
|
@@ -62,6 +64,16 @@ declare class QueryJobError extends Error {
|
|
|
62
64
|
}
|
|
63
65
|
declare const isQueryJobError: (error: unknown) => error is QueryJobError;
|
|
64
66
|
//#endregion
|
|
67
|
+
//#region src/errors/readableReason.d.ts
|
|
68
|
+
/**
|
|
69
|
+
* The part of a failure worth putting in front of a reader, or `undefined` when there is none.
|
|
70
|
+
*
|
|
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.
|
|
74
|
+
*/
|
|
75
|
+
declare const readableReason: (error: unknown) => string | undefined;
|
|
76
|
+
//#endregion
|
|
65
77
|
//#region src/errors/QueryJobTimeoutError.d.ts
|
|
66
78
|
/**
|
|
67
79
|
* A query job that never reached a terminal state within the caller's `maxWaitTime` — the job may
|
|
@@ -99,10 +111,10 @@ declare const isSyncActionError: (error: unknown) => error is SyncActionError;
|
|
|
99
111
|
//#endregion
|
|
100
112
|
//#region src/domain/defaultBranch.d.ts
|
|
101
113
|
type BranchType = 'default' | 'dev';
|
|
102
|
-
type Options$
|
|
114
|
+
type Options$3 = {
|
|
103
115
|
devBranches: DevBranch[];
|
|
104
116
|
};
|
|
105
|
-
declare const createDefaultBranch: ({ devBranches }: Options$
|
|
117
|
+
declare const createDefaultBranch: ({ devBranches }: Options$3) => {
|
|
106
118
|
id: number;
|
|
107
119
|
name: string;
|
|
108
120
|
getType: (branchId?: string | number) => BranchType;
|
|
@@ -112,11 +124,11 @@ declare const createDefaultBranch: ({ devBranches }: Options$2) => {
|
|
|
112
124
|
//#endregion
|
|
113
125
|
//#region src/domain/stack.d.ts
|
|
114
126
|
type ServiceUrls = Partial<Record<ServiceId, (url: string) => string | undefined | null>>;
|
|
115
|
-
type Options$
|
|
127
|
+
type Options$2 = {
|
|
116
128
|
stackInfo: StackInfo;
|
|
117
129
|
clientServiceUrls?: ServiceUrls;
|
|
118
130
|
};
|
|
119
|
-
declare const createStack: ({ stackInfo, clientServiceUrls }: Options$
|
|
131
|
+
declare const createStack: ({ stackInfo, clientServiceUrls }: Options$2) => {
|
|
120
132
|
api: string;
|
|
121
133
|
documentation: string;
|
|
122
134
|
host: string;
|
|
@@ -140,16 +152,13 @@ declare const createStack: ({ stackInfo, clientServiceUrls }: Options$1) => {
|
|
|
140
152
|
declare const isStorageTokenMutatingRequest: (request: Request) => boolean;
|
|
141
153
|
type ClientContext = {
|
|
142
154
|
/**
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* own `host` field: the API pod that served the request (`connection-api-756b66f7c8-ql5sr`), not a
|
|
146
|
-
* stack hostname. It varies between two calls to the same stack and is never used to route a
|
|
147
|
-
* 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`.
|
|
148
157
|
*/
|
|
149
158
|
baseUrl: string;
|
|
150
159
|
stack: ReturnType<typeof createStack>;
|
|
151
160
|
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
152
|
-
readonly project: Project;
|
|
161
|
+
readonly project: Project$1;
|
|
153
162
|
readonly st: ReturnType<typeof createStorageTable>;
|
|
154
163
|
};
|
|
155
164
|
//#endregion
|
|
@@ -161,6 +170,7 @@ type ClientContext = {
|
|
|
161
170
|
declare const KeboolaErrorType: {
|
|
162
171
|
readonly Unconfigured: 'unconfigured';
|
|
163
172
|
readonly NotAuthenticated: 'not-authenticated';
|
|
173
|
+
readonly SignInEnded: 'sign-in-ended';
|
|
164
174
|
readonly AlreadyAuthenticated: 'already-authenticated';
|
|
165
175
|
readonly NoStorageToken: 'no-storage-token';
|
|
166
176
|
readonly NoManagementToken: 'no-management-token';
|
|
@@ -168,6 +178,8 @@ declare const KeboolaErrorType: {
|
|
|
168
178
|
readonly NotBearer: 'not-bearer';
|
|
169
179
|
readonly NotReady: 'not-ready';
|
|
170
180
|
readonly InvalidBuildTransition: 'invalid-build-transition';
|
|
181
|
+
readonly StackActive: 'stack-active';
|
|
182
|
+
readonly CredentialKindMismatch: 'credential-kind-mismatch';
|
|
171
183
|
};
|
|
172
184
|
type KeboolaErrorType = (typeof KeboolaErrorType)[keyof typeof KeboolaErrorType];
|
|
173
185
|
declare class KeboolaError extends Error {
|
|
@@ -179,6 +191,16 @@ declare const isKeboolaError: (error: unknown) => error is KeboolaError;
|
|
|
179
191
|
//#region src/utils/assert.d.ts
|
|
180
192
|
declare function assert<T>(value: T | undefined | null, message: string): asserts value is T;
|
|
181
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
|
|
182
204
|
//#region src/utils/async/types.d.ts
|
|
183
205
|
/** A deferred unit of async work: a no-arg function returning a value or promise. */
|
|
184
206
|
type TaskFn<T> = () => T | PromiseLike<T>;
|
|
@@ -186,19 +208,10 @@ type TaskFn<T> = () => T | PromiseLike<T>;
|
|
|
186
208
|
//#region src/utils/async/coalesce.d.ts
|
|
187
209
|
/**
|
|
188
210
|
* Coalesces concurrent triggers onto a single, never-parallel run of `task`.
|
|
189
|
-
* Triggers fired while a run is busy collapse into one trailing run, and each
|
|
190
|
-
* resolves with the first run that started after it — so it never sees stale state.
|
|
191
|
-
*
|
|
192
|
-
* Example — A triggers, then B and C trigger while A's run is still going:
|
|
193
|
-
* 1. trigger A → run #1 starts
|
|
194
|
-
* 2. trigger B, C → run #1 busy, so they wait
|
|
195
|
-
* 3. run #1 done → A resolves
|
|
196
|
-
* 4. run #2 starts → covers B and C together (one trailing run, not two)
|
|
197
|
-
* 5. run #2 done → B and C resolve
|
|
198
211
|
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
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.
|
|
202
215
|
*/
|
|
203
216
|
declare const coalesce: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
204
217
|
//#endregion
|
|
@@ -230,25 +243,19 @@ type ConcurrentOptions<T, R> = {
|
|
|
230
243
|
middlewares?: MiddlewareFn<T, R>[];
|
|
231
244
|
};
|
|
232
245
|
/**
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
* keeps executing detached behind the caller's back after the returned promise has settled.
|
|
238
|
-
* 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.
|
|
239
250
|
*/
|
|
240
251
|
declare const concurrent: <T, R>({ items, process, concurrency, middlewares }: ConcurrentOptions<T, R>) => Promise<R[]>;
|
|
241
252
|
//#endregion
|
|
242
253
|
//#region src/utils/async/dedupe.d.ts
|
|
243
254
|
/**
|
|
244
|
-
*
|
|
245
|
-
* While a run is in flight every trigger returns that same promise; once it
|
|
246
|
-
* settles the next trigger starts a fresh run. (Contrast `coalesce`, which
|
|
247
|
-
* runs a *trailing* pass for triggers that arrive mid-run.)
|
|
255
|
+
* Shares one in-flight run of `task` across concurrent triggers.
|
|
248
256
|
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* 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.
|
|
252
259
|
*/
|
|
253
260
|
declare const dedupe: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
254
261
|
//#endregion
|
|
@@ -257,20 +264,10 @@ declare const delay: (timeout: number, signal?: AbortSignal) => Promise<void>;
|
|
|
257
264
|
//#endregion
|
|
258
265
|
//#region src/utils/async/lazy.d.ts
|
|
259
266
|
/**
|
|
260
|
-
*
|
|
261
|
-
* the async `Lazy<T>`. While the first run is in flight every call shares it; once
|
|
262
|
-
* it resolves, every call — right after, or long after — replays the same promise.
|
|
263
|
-
* (Contrast `dedupe`, which shares only an *in-flight* run and lets the next
|
|
264
|
-
* trigger start a fresh one, success or not.)
|
|
267
|
+
* Runs `task` once and replays its promise to every later caller.
|
|
265
268
|
*
|
|
266
|
-
* A rejection is
|
|
267
|
-
*
|
|
268
|
-
* be bricked forever by one transient failure. Callers that joined the failed run
|
|
269
|
-
* all reject with its error; only a call made after it settles retries.
|
|
270
|
-
*
|
|
271
|
-
* @returns a getter; each call returns the promise of the computed value.
|
|
272
|
-
* @throws The returned promise rejects with whatever `task` throws or rejects
|
|
273
|
-
* 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.
|
|
274
271
|
*/
|
|
275
272
|
declare const lazy: <T>(task: TaskFn<T>) => (() => Promise<Awaited<T>>);
|
|
276
273
|
//#endregion
|
|
@@ -415,6 +412,7 @@ declare const map: <T, E extends Error, U>(result: Result<T, E>, fn: (data: T) =
|
|
|
415
412
|
declare const mapError: <T, E extends Error, F extends Error>(result: Result<T, E>, fn: (error: E) => F) => Result<T, F>;
|
|
416
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>;
|
|
417
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>;
|
|
418
416
|
declare const unwrap: <T, E extends Error>(result: Result<T, E>) => T;
|
|
419
417
|
declare const unwrapOr: <T, E extends Error, U>(result: Result<T, E>, fallback: U) => T | U;
|
|
420
418
|
declare const tryCatch: <T>(task: () => NotPromise<T>) => Result<T>;
|
|
@@ -430,6 +428,7 @@ declare const Result: {
|
|
|
430
428
|
mapError: typeof mapError;
|
|
431
429
|
andThen: typeof andThen;
|
|
432
430
|
match: typeof match;
|
|
431
|
+
tap: typeof tap;
|
|
433
432
|
unwrap: typeof unwrap;
|
|
434
433
|
unwrapOr: typeof unwrapOr;
|
|
435
434
|
tryCatch: typeof tryCatch;
|
|
@@ -542,11 +541,8 @@ type Schema<T> = {
|
|
|
542
541
|
type Persistor<T> = {
|
|
543
542
|
/** Read + validate the stored value; returns `defaultValue` when empty or corrupt. */
|
|
544
543
|
hydrate: () => T;
|
|
545
|
-
/** Serialize + write the value. */
|
|
546
544
|
persist: (value: T) => void;
|
|
547
|
-
/** Remove the stored value. */
|
|
548
545
|
clear: () => void;
|
|
549
|
-
/** Whether a value is currently persisted under the key. */
|
|
550
546
|
hasPersistedValue: () => boolean;
|
|
551
547
|
};
|
|
552
548
|
type PersistorOptions<T> = {
|
|
@@ -559,6 +555,123 @@ type PersistorOptions<T> = {
|
|
|
559
555
|
};
|
|
560
556
|
declare const createPersistor: <T>({ storage, key, schema, defaultValue, encode, decode }: PersistorOptions<T>) => Persistor<T>;
|
|
561
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
|
|
562
675
|
//#region src/clients/storage/storageClient.d.ts
|
|
563
676
|
type GenericFetchClient = ReturnType<typeof createGenericFetchClient>;
|
|
564
677
|
type StorageOpenApiFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
@@ -2694,23 +2807,12 @@ declare const createStorageClient: ({ baseUrl, auth, middlewares, onRefreshToken
|
|
|
2694
2807
|
};
|
|
2695
2808
|
};
|
|
2696
2809
|
//#endregion
|
|
2697
|
-
//#region src/clients/storage/
|
|
2810
|
+
//#region src/clients/storage/bucketListings/utils.d.ts
|
|
2698
2811
|
/**
|
|
2699
|
-
*
|
|
2700
|
-
*
|
|
2701
|
-
* - `poller.ts` types the read it needs as this same alias, so the two are one declaration. Restating
|
|
2702
|
-
* the signature over there gives TypeScript two generic signatures to compare and it answers TS2590
|
|
2703
|
-
* — the operation union is too wide to expand twice.
|
|
2812
|
+
* Encodes subscribers as GCP IAM principals (`user:`/`group:`); `fromBackendSubscribers` decodes.
|
|
2704
2813
|
*/
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
//#region src/clients/storage/poller.d.ts
|
|
2708
|
-
type StorageJobPollOptions = {
|
|
2709
|
-
interval?: number;
|
|
2710
|
-
maxAttempts?: number;
|
|
2711
|
-
timeout?: number;
|
|
2712
|
-
signal?: AbortSignal;
|
|
2713
|
-
};
|
|
2814
|
+
declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
|
|
2815
|
+
declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
|
|
2714
2816
|
//#endregion
|
|
2715
2817
|
//#region src/sdks/configurations/createRegistry/createRegistry.d.ts
|
|
2716
2818
|
type Registry<M extends Record<string, z.ZodObject>> = {
|
|
@@ -3602,6 +3704,7 @@ declare const registry: Registry<Record<never, never> & Record<"keboola.wr-db-my
|
|
|
3602
3704
|
parameters: import("zod").ZodObject<{
|
|
3603
3705
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
3604
3706
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3707
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3605
3708
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3606
3709
|
}, import("zod/v4/core").$strip>;
|
|
3607
3710
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -3747,7 +3850,7 @@ type RegisteredComponentId = InferComponentId<typeof registry>;
|
|
|
3747
3850
|
* Service clients reached through the registry — the key is the `clientName`
|
|
3748
3851
|
* the user accesses them by (e.g. `api.dataScience`), not the `serviceId`.
|
|
3749
3852
|
*/
|
|
3750
|
-
type ServiceClientName = 'vault' | 'dataScience' | 'apps' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'oauth' | 'omnisearch' | 'stream' | 'notifications' | 'scheduler' | 'metastore' | 'billing';
|
|
3853
|
+
type ServiceClientName = 'vault' | 'dataScience' | 'apps' | 'encryption' | 'editor' | 'syncActions' | 'telemetry' | 'queryService' | 'queue' | 'chat' | 'ai' | 'import' | 'kaiAgent' | 'businessWorkspaceApi' | 'oauth' | 'omnisearch' | 'stream' | 'notifications' | 'scheduler' | 'metastore' | 'billing';
|
|
3751
3854
|
/** Clients instantiated directly (not stack-discovered), keyed by their property name. */
|
|
3752
3855
|
type NonServiceClientName = 'storage' | 'management' | 'auth';
|
|
3753
3856
|
type MiddlewareTarget = ServiceClientName | NonServiceClientName;
|
|
@@ -3757,22 +3860,15 @@ type Middlewares = MiddlewareFn$1[] | ({
|
|
|
3757
3860
|
declare const createMiddlewareFor: (middlewares: Middlewares | undefined) => (target: MiddlewareTarget, baseline?: MiddlewareFn$1[]) => MiddlewareFn$1[];
|
|
3758
3861
|
type MiddlewareFor = ReturnType<typeof createMiddlewareFor>;
|
|
3759
3862
|
//#endregion
|
|
3760
|
-
//#region src/keboola/
|
|
3761
|
-
|
|
3762
|
-
* Bearer (OAuth) project surface. Same handshake + assembly as the legacy build. The
|
|
3763
|
-
* `Authorization: Bearer` header + transparent refresh come from the engine-shared `authMiddleware`
|
|
3764
|
-
* (one instance for management + every project client). This build only adds the project-scoped
|
|
3765
|
-
* `X-KBC-ProjectId` header, composed *outside* the auth middleware so the header is present
|
|
3766
|
-
* before it clones the request for the 401 replay. Bearer has no static token header, so this
|
|
3767
|
-
* combined `attach` rides on every client — including the operational storage and the bootstrap reader.
|
|
3768
|
-
*/
|
|
3769
|
-
declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middlewareFor, clientServiceUrls }: {
|
|
3863
|
+
//#region src/keboola/legacy/createProjectClients.d.ts
|
|
3864
|
+
type Options$1 = {
|
|
3770
3865
|
baseUrl: string;
|
|
3771
|
-
|
|
3772
|
-
|
|
3866
|
+
getStorageToken: () => string;
|
|
3867
|
+
onStorageTokenRefreshed: (token: string) => void;
|
|
3773
3868
|
middlewareFor: MiddlewareFor;
|
|
3774
3869
|
clientServiceUrls?: ServiceUrls;
|
|
3775
|
-
}
|
|
3870
|
+
};
|
|
3871
|
+
declare const createProjectClients: ({ baseUrl, getStorageToken, onStorageTokenRefreshed, middlewareFor, clientServiceUrls }: Options$1) => Promise<{
|
|
3776
3872
|
context: ClientContext;
|
|
3777
3873
|
serviceMeta: {
|
|
3778
3874
|
clientName: string;
|
|
@@ -6783,6 +6879,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
6783
6879
|
parameters: import("zod").ZodObject<{
|
|
6784
6880
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
6785
6881
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6882
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6786
6883
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6787
6884
|
}, import("zod/v4/core").$strip>;
|
|
6788
6885
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -7800,6 +7897,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
7800
7897
|
parameters: import("zod").ZodObject<{
|
|
7801
7898
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
7802
7899
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7900
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7803
7901
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7804
7902
|
}, import("zod/v4/core").$strip>;
|
|
7805
7903
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -8811,6 +8909,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
8811
8909
|
parameters: import("zod").ZodObject<{
|
|
8812
8910
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
8813
8911
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8912
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8814
8913
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8815
8914
|
}, import("zod/v4/core").$strip>;
|
|
8816
8915
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -9824,6 +9923,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
9824
9923
|
parameters: import("zod").ZodObject<{
|
|
9825
9924
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
9826
9925
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9926
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9827
9927
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9828
9928
|
}, import("zod/v4/core").$strip>;
|
|
9829
9929
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -10841,6 +10941,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
10841
10941
|
parameters: import("zod").ZodObject<{
|
|
10842
10942
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
10843
10943
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10944
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10844
10945
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10845
10946
|
}, import("zod/v4/core").$strip>;
|
|
10846
10947
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -11852,6 +11953,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
11852
11953
|
parameters: import("zod").ZodObject<{
|
|
11853
11954
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
11854
11955
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11956
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11855
11957
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11856
11958
|
}, import("zod/v4/core").$strip>;
|
|
11857
11959
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -12867,6 +12969,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
12867
12969
|
parameters: import("zod").ZodObject<{
|
|
12868
12970
|
customerId: import("zod").ZodArray<import("zod").ZodString>;
|
|
12869
12971
|
onlyEnabledCustomers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12972
|
+
continueOnFailure: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12870
12973
|
getAccountChildren: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12871
12974
|
}, import("zod/v4/core").$strip>;
|
|
12872
12975
|
}, import("zod/v4/core").$strip>> & Record<"keboola.ex-http", import("zod").ZodObject<{
|
|
@@ -13039,6 +13142,19 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
13039
13142
|
replaceTargetProjects: (objectType: SemanticObjectType, objectUUID: string, targetProjectIds: number[]) => Promise<void>;
|
|
13040
13143
|
promoteToOrganizationScope: (objectType: SemanticObjectType, objectUUID: string) => Promise<SemanticObject<Record<string, unknown>>>;
|
|
13041
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
|
+
};
|
|
13042
13158
|
storage: {
|
|
13043
13159
|
createTable: (input: CreateTableAsyncInput, options?: {
|
|
13044
13160
|
interval?: number;
|
|
@@ -14329,11 +14445,66 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14329
14445
|
};
|
|
14330
14446
|
}>;
|
|
14331
14447
|
};
|
|
14448
|
+
businessWorkspaceApi: {
|
|
14449
|
+
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
14450
|
+
status: 'ok';
|
|
14451
|
+
}>;
|
|
14452
|
+
getDashboards: (signal?: AbortSignal) => Promise<{
|
|
14453
|
+
id: string;
|
|
14454
|
+
ownerUserId: number;
|
|
14455
|
+
primaryProjectId: number;
|
|
14456
|
+
sourceProjectIds: number[];
|
|
14457
|
+
title: string;
|
|
14458
|
+
description: string | null;
|
|
14459
|
+
createdAt: string;
|
|
14460
|
+
updatedAt: string;
|
|
14461
|
+
}[]>;
|
|
14462
|
+
getDashboard: (id: DashboardId, signal?: AbortSignal) => Promise<{
|
|
14463
|
+
id: string;
|
|
14464
|
+
ownerUserId: number;
|
|
14465
|
+
primaryProjectId: number;
|
|
14466
|
+
sourceProjectIds: number[];
|
|
14467
|
+
title: string;
|
|
14468
|
+
description: string | null;
|
|
14469
|
+
spec: {
|
|
14470
|
+
[key: string]: unknown;
|
|
14471
|
+
};
|
|
14472
|
+
createdAt: string;
|
|
14473
|
+
updatedAt: string;
|
|
14474
|
+
}>;
|
|
14475
|
+
createDashboard: (input: DashboardInput, signal?: AbortSignal) => Promise<{
|
|
14476
|
+
id: string;
|
|
14477
|
+
ownerUserId: number;
|
|
14478
|
+
primaryProjectId: number;
|
|
14479
|
+
sourceProjectIds: number[];
|
|
14480
|
+
title: string;
|
|
14481
|
+
description: string | null;
|
|
14482
|
+
spec: {
|
|
14483
|
+
[key: string]: unknown;
|
|
14484
|
+
};
|
|
14485
|
+
createdAt: string;
|
|
14486
|
+
updatedAt: string;
|
|
14487
|
+
}>;
|
|
14488
|
+
updateDashboard: (id: DashboardId, input: DashboardInput, signal?: AbortSignal) => Promise<{
|
|
14489
|
+
id: string;
|
|
14490
|
+
ownerUserId: number;
|
|
14491
|
+
primaryProjectId: number;
|
|
14492
|
+
sourceProjectIds: number[];
|
|
14493
|
+
title: string;
|
|
14494
|
+
description: string | null;
|
|
14495
|
+
spec: {
|
|
14496
|
+
[key: string]: unknown;
|
|
14497
|
+
};
|
|
14498
|
+
createdAt: string;
|
|
14499
|
+
updatedAt: string;
|
|
14500
|
+
}>;
|
|
14501
|
+
deleteDashboard: (id: DashboardId, signal?: AbortSignal) => Promise<void>;
|
|
14502
|
+
};
|
|
14332
14503
|
chat: {
|
|
14333
14504
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
14334
14505
|
timestamp: string;
|
|
14335
14506
|
}>;
|
|
14336
|
-
getHistory: (params?: GetHistoryQuery) => Promise<{
|
|
14507
|
+
getHistory: (params?: GetHistoryQuery, signal?: AbortSignal) => Promise<{
|
|
14337
14508
|
chats: components$2['schemas']['Chat'][];
|
|
14338
14509
|
hasMore: boolean;
|
|
14339
14510
|
}>;
|
|
@@ -14780,7 +14951,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14780
14951
|
};
|
|
14781
14952
|
kaiAgent: {
|
|
14782
14953
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
14783
|
-
getHistory: (params?: GetHistoryQuery$1) => Promise<{
|
|
14954
|
+
getHistory: (params?: GetHistoryQuery$1, signal?: AbortSignal) => Promise<{
|
|
14784
14955
|
chats: {
|
|
14785
14956
|
id?: string;
|
|
14786
14957
|
title?: string;
|
|
@@ -14808,6 +14979,9 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14808
14979
|
} | null;
|
|
14809
14980
|
ppuUsed: number | null;
|
|
14810
14981
|
ppuPercentage: number | null;
|
|
14982
|
+
model: string | null;
|
|
14983
|
+
effort: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
|
|
14984
|
+
effectiveModel: string | null;
|
|
14811
14985
|
messages: {
|
|
14812
14986
|
id: string;
|
|
14813
14987
|
role: 'user' | 'assistant';
|
|
@@ -14853,6 +15027,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14853
15027
|
metadata?: {
|
|
14854
15028
|
createdAt?: string;
|
|
14855
15029
|
hidden?: boolean;
|
|
15030
|
+
autoForwarded?: boolean;
|
|
14856
15031
|
requestContext?: {
|
|
14857
15032
|
path?: string;
|
|
14858
15033
|
sqlEditorActive?: boolean;
|
|
@@ -14877,6 +15052,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14877
15052
|
}[]>;
|
|
14878
15053
|
submitVote: (params: VoteRequest$1) => Promise<void>;
|
|
14879
15054
|
getUsage: (signal?: AbortSignal) => Promise<UsageResponse$1>;
|
|
15055
|
+
getArtifacts: (chatId: GetArtifactsQuery['chatId'], signal?: AbortSignal) => Promise<ArtifactListResponse>;
|
|
15056
|
+
getArtifact: (artifactId: GetArtifactPath['id'], signal?: AbortSignal) => Promise<ArtifactResponse>;
|
|
14880
15057
|
approveToolCall: (chatId: string, body: ApprovalBody) => Promise<void>;
|
|
14881
15058
|
submitToolOutput: (chatId: string, body: {
|
|
14882
15059
|
toolUseId: string;
|
|
@@ -14886,29 +15063,16 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14886
15063
|
stopChat: (chatId: string) => Promise<{
|
|
14887
15064
|
stopped: boolean;
|
|
14888
15065
|
}>;
|
|
14889
|
-
|
|
14890
|
-
|
|
14891
|
-
projectId: string;
|
|
14892
|
-
customInstructions: string | null;
|
|
14893
|
-
createdAt: string;
|
|
14894
|
-
updatedAt: string;
|
|
15066
|
+
prepareChat: (chatId: string, signal?: AbortSignal, body?: PrepareChatRequest) => Promise<{
|
|
15067
|
+
started: boolean;
|
|
14895
15068
|
}>;
|
|
15069
|
+
getSuggestions: (request: SuggestionsRequestBody, signal?: AbortSignal) => Promise<SuggestionsApiResponse>;
|
|
15070
|
+
getAgentSettings: (signal?: AbortSignal) => Promise<AgentSettings$1>;
|
|
14896
15071
|
updateAgentSettings: (request: {
|
|
14897
15072
|
customInstructions?: string | null;
|
|
14898
|
-
}, signal?: AbortSignal) => Promise<
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
createdAt: string;
|
|
14902
|
-
updatedAt: string;
|
|
14903
|
-
}>;
|
|
14904
|
-
getUserAgentSettings: (signal?: AbortSignal) => Promise<{
|
|
14905
|
-
projectId: string;
|
|
14906
|
-
userId: string;
|
|
14907
|
-
customInstructions: string | null;
|
|
14908
|
-
toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
|
|
14909
|
-
createdAt: string;
|
|
14910
|
-
updatedAt: string;
|
|
14911
|
-
}>;
|
|
15073
|
+
}, signal?: AbortSignal) => Promise<AgentSettings$1>;
|
|
15074
|
+
updateProjectToolPolicy: (toolPermissions: ProjectToolPolicy, signal?: AbortSignal) => Promise<AgentSettings$1>;
|
|
15075
|
+
getUserAgentSettings: (signal?: AbortSignal) => Promise<UserAgentSettings$1>;
|
|
14912
15076
|
updateUserAgentSettings: (request: {
|
|
14913
15077
|
customInstructions?: string | null;
|
|
14914
15078
|
toolPermissions?: Record<string, import("zod").output<import("zod").ZodEnum<{
|
|
@@ -14916,14 +15080,7 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14916
15080
|
always_ask: "always_ask";
|
|
14917
15081
|
blocked: "blocked";
|
|
14918
15082
|
}>>> | null;
|
|
14919
|
-
}, signal?: AbortSignal) => Promise<
|
|
14920
|
-
projectId: string;
|
|
14921
|
-
userId: string;
|
|
14922
|
-
customInstructions: string | null;
|
|
14923
|
-
toolPermissions: Record<string, "always_allow" | "always_ask" | "blocked"> | null;
|
|
14924
|
-
createdAt: string;
|
|
14925
|
-
updatedAt: string;
|
|
14926
|
-
}>;
|
|
15083
|
+
}, signal?: AbortSignal) => Promise<UserAgentSettings$1>;
|
|
14927
15084
|
getSpendCaps: (signal?: AbortSignal) => Promise<SpendCapsView>;
|
|
14928
15085
|
updateSpendCaps: (request: {
|
|
14929
15086
|
projectCapPpu?: number | null;
|
|
@@ -14971,8 +15128,8 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
14971
15128
|
metastore: {
|
|
14972
15129
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
14973
15130
|
repository: {
|
|
14974
|
-
getMetaObjects: <TData extends Record<string, unknown>>(
|
|
14975
|
-
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>>;
|
|
14976
15133
|
getMetaObject: <TData extends Record<string, unknown>>(input: GetMetaObjectPath, signal?: AbortSignal) => Promise<MetaStoreObjectResponse<TData>>;
|
|
14977
15134
|
createMetaObject: <TData extends Record<string, unknown>>({ objectType, data, ...body }: CreateMetaObjectInput<TData>) => Promise<MetaStoreObjectResponse<TData>>;
|
|
14978
15135
|
deleteMetaObject: (input: DeleteMetaObjectPath) => Promise<never>;
|
|
@@ -15993,6 +16150,28 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
15993
16150
|
timeCompleted: string;
|
|
15994
16151
|
}[]>;
|
|
15995
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
|
+
};
|
|
15996
16175
|
git: {
|
|
15997
16176
|
getBranches: (input: GetBranchesInput, signal?: AbortSignal) => Promise<{
|
|
15998
16177
|
branch: string;
|
|
@@ -16014,6 +16193,13 @@ declare const createProjectClients: ({ baseUrl, projectId, authMiddleware, middl
|
|
|
16014
16193
|
message?: string | undefined;
|
|
16015
16194
|
}>;
|
|
16016
16195
|
};
|
|
16196
|
+
sshKeys: {
|
|
16197
|
+
generate: (input: SyncActionContext, signal?: AbortSignal) => Promise<{
|
|
16198
|
+
status: "success";
|
|
16199
|
+
public: string;
|
|
16200
|
+
private: string;
|
|
16201
|
+
}>;
|
|
16202
|
+
};
|
|
16017
16203
|
};
|
|
16018
16204
|
telemetry: {
|
|
16019
16205
|
healthCheck: (signal?: AbortSignal) => Promise<string>;
|
|
@@ -16054,123 +16240,91 @@ type KeboolaApi = ProjectClients & {
|
|
|
16054
16240
|
};
|
|
16055
16241
|
//#endregion
|
|
16056
16242
|
//#region src/keboola/types.d.ts
|
|
16057
|
-
type
|
|
16058
|
-
baseUrl?: string;
|
|
16243
|
+
type ClientOptions = {
|
|
16059
16244
|
middlewares?: Middlewares;
|
|
16060
16245
|
clientServiceUrls?: ServiceUrls;
|
|
16061
|
-
storage?: StorageAdapter;
|
|
16062
|
-
};
|
|
16063
|
-
//#endregion
|
|
16064
|
-
//#region src/keboola/bearer/createConfig.d.ts
|
|
16065
|
-
type TokenSet = {
|
|
16066
|
-
accessToken: string;
|
|
16067
|
-
refreshToken: string;
|
|
16068
|
-
expiresIn: number;
|
|
16069
|
-
};
|
|
16070
|
-
type Credential = TokenSet & {
|
|
16071
|
-
issuedAt: number;
|
|
16072
16246
|
};
|
|
16073
|
-
type
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
baseUrl: string;
|
|
16083
|
-
credential: Credential;
|
|
16084
|
-
projectId: number;
|
|
16085
|
-
};
|
|
16086
|
-
//#endregion
|
|
16087
|
-
//#region src/keboola/bearer/types.d.ts
|
|
16088
|
-
type SessionSnapshot$1 = {
|
|
16089
|
-
type: 'Bearer';
|
|
16090
|
-
config: State$1;
|
|
16091
|
-
authReady: boolean;
|
|
16092
|
-
managementReady: boolean;
|
|
16093
|
-
storage: AsyncState<unknown>['state'];
|
|
16247
|
+
type KeboolaOptions = ClientOptions & {
|
|
16248
|
+
/** The active stack from construction on, until `session.resume()` or `stack.select` moves it. */
|
|
16249
|
+
defaultBaseUrl: string;
|
|
16250
|
+
storage?: StorageAdapter;
|
|
16251
|
+
/**
|
|
16252
|
+
* The rotating credential to sign in with, default `token`. `cookie` needs `browserMode: true`
|
|
16253
|
+
* logins and the stack's own origin: the cookie is same-origin, and the backend checks `Origin`.
|
|
16254
|
+
*/
|
|
16255
|
+
credentials?: CredentialMode;
|
|
16094
16256
|
};
|
|
16095
|
-
type
|
|
16096
|
-
|
|
16257
|
+
type LegacyKeboolaOptions = ClientOptions & {
|
|
16258
|
+
/** The stack the legacy client talks to, fixed. */
|
|
16259
|
+
baseUrl?: string;
|
|
16097
16260
|
};
|
|
16098
16261
|
//#endregion
|
|
16099
16262
|
//#region src/keboola/bearer/keboola.d.ts
|
|
16100
|
-
|
|
16101
|
-
|
|
16263
|
+
/**
|
|
16264
|
+
* The bearer client: the session table, its two scopes, and the surface they back.
|
|
16265
|
+
*
|
|
16266
|
+
* - Credential-derived state is owned by the scope whose end ends it (`perStack`, `perProject`).
|
|
16267
|
+
*/
|
|
16268
|
+
declare const createKeboola: ({ defaultBaseUrl, storage, middlewares, clientServiceUrls, credentials: mode }: KeboolaOptions) => {
|
|
16269
|
+
getActiveApi: () => KeboolaApi;
|
|
16270
|
+
getApi: (projectId: ProjectId) => KeboolaApi;
|
|
16102
16271
|
session: {
|
|
16103
|
-
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16138
|
-
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
* project is a header on top of it, so an authenticated session suffices where an unnamed call
|
|
16160
|
-
* requires a scoped one. Nothing about the session can change the answer, so there is nothing
|
|
16161
|
-
* to re-read after the `await`.
|
|
16162
|
-
* - **Not checked against an access set**, because this session cannot acquire one:
|
|
16163
|
-
* `forProject` — the only other surface taking a caller-supplied project id — records that
|
|
16164
|
-
* connection collapses every bearer failure into a single `invalid_token` 401, so "no access
|
|
16165
|
-
* to this project" and "revoked token" are the same response. Whether the caller may reach a
|
|
16166
|
-
* project is the caller's own knowledge, from `token.introspect`. What is guaranteed here is
|
|
16167
|
-
* that the header names what was asked for and never something else — which is the failure
|
|
16168
|
-
* worth preventing: a turn sent somewhere the transcript above it did not come from.
|
|
16169
|
-
*/
|
|
16170
|
-
getAuthHeaders: (projectId?: number) => Promise<Record<string, string>>;
|
|
16171
|
-
restore: () => Promise<RestoreResult>;
|
|
16172
|
-
subscribe: (listener: (snapshot: SessionSnapshot$1) => void) => () => void;
|
|
16173
|
-
debug: () => SessionSnapshot$1;
|
|
16272
|
+
getState: () => State$1;
|
|
16273
|
+
subscribe: (listener: Listener<State$1>) => () => void;
|
|
16274
|
+
resume: () => Promise<"empty" | "expired" | "restored" | "unreachable">;
|
|
16275
|
+
stack: {
|
|
16276
|
+
getActive: () => Stack;
|
|
16277
|
+
select: (baseUrl: string) => Stack;
|
|
16278
|
+
close: (baseUrl: string) => Stack | null;
|
|
16279
|
+
retryContext: (id: string) => void;
|
|
16280
|
+
getContext: (baseUrl?: string) => StackInfo | null;
|
|
16281
|
+
getContextAsync: (baseUrl?: string) => Promise<StackInfo>;
|
|
16282
|
+
};
|
|
16283
|
+
project: {
|
|
16284
|
+
select: (projectId: number) => Project;
|
|
16285
|
+
close: (projectId: ProjectId) => Project | null;
|
|
16286
|
+
deactivate: () => void;
|
|
16287
|
+
retryContext: (id: `${string}#${number}`) => void;
|
|
16288
|
+
getContext: (id?: ProjectEntryId) => {
|
|
16289
|
+
token: Awaited<ReturnType<ReturnType<typeof createStorageClient>['tokens']['verify']>>;
|
|
16290
|
+
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
16291
|
+
} | null;
|
|
16292
|
+
getContextAsync: (id?: ProjectEntryId) => Promise<{
|
|
16293
|
+
token: Awaited<ReturnType<ReturnType<typeof createStorageClient>['tokens']['verify']>>;
|
|
16294
|
+
defaultBranch: ReturnType<typeof createDefaultBranch>;
|
|
16295
|
+
}>;
|
|
16296
|
+
};
|
|
16297
|
+
auth: {
|
|
16298
|
+
authenticate: (input: {
|
|
16299
|
+
type: 'cookie';
|
|
16300
|
+
accessToken: string;
|
|
16301
|
+
sessionId: string;
|
|
16302
|
+
expiresIn: number;
|
|
16303
|
+
} | {
|
|
16304
|
+
type: 'static';
|
|
16305
|
+
accessToken: string;
|
|
16306
|
+
} | (Omit<TokenCredentialInput, "refreshToken"> & {
|
|
16307
|
+
refreshToken?: string | null;
|
|
16308
|
+
})) => Stack;
|
|
16309
|
+
replace: (input: {
|
|
16310
|
+
type: 'cookie';
|
|
16311
|
+
accessToken: string;
|
|
16312
|
+
sessionId: string;
|
|
16313
|
+
expiresIn: number;
|
|
16314
|
+
} | {
|
|
16315
|
+
type: 'static';
|
|
16316
|
+
accessToken: string;
|
|
16317
|
+
} | (Omit<TokenCredentialInput, "refreshToken"> & {
|
|
16318
|
+
refreshToken?: string | null;
|
|
16319
|
+
})) => Stack;
|
|
16320
|
+
adoptInjected: (input: TokenCredentialInput) => Stack;
|
|
16321
|
+
signOut: (baseUrl?: string | undefined) => Stack;
|
|
16322
|
+
/** Whether the active stack holds a credential — `restoring` is not one yet. */
|
|
16323
|
+
isAuthenticated: () => boolean;
|
|
16324
|
+
isAuthenticatedAsync: () => Promise<boolean>;
|
|
16325
|
+
rotate: (baseUrl: string) => Promise<string>;
|
|
16326
|
+
getHeaders: (projectId?: ProjectId) => Record<string, string>;
|
|
16327
|
+
};
|
|
16174
16328
|
};
|
|
16175
16329
|
};
|
|
16176
16330
|
//#endregion
|
|
@@ -16191,7 +16345,7 @@ type SessionSnapshot = {
|
|
|
16191
16345
|
};
|
|
16192
16346
|
//#endregion
|
|
16193
16347
|
//#region src/keboola/legacy/keboola.d.ts
|
|
16194
|
-
declare const createLegacyKeboola: (options?:
|
|
16348
|
+
declare const createLegacyKeboola: (options?: LegacyKeboolaOptions) => {
|
|
16195
16349
|
api: KeboolaApi;
|
|
16196
16350
|
session: {
|
|
16197
16351
|
setBaseUrl: (baseUrl: string) => void;
|
|
@@ -16204,6 +16358,25 @@ declare const createLegacyKeboola: (options?: KeboolaOptions) => {
|
|
|
16204
16358
|
};
|
|
16205
16359
|
};
|
|
16206
16360
|
//#endregion
|
|
16361
|
+
//#region src/keboola/bearer/persistor.d.ts
|
|
16362
|
+
/**
|
|
16363
|
+
* Where a bearer session is persisted, under whichever adapter the client was given.
|
|
16364
|
+
*
|
|
16365
|
+
* Exported because a consumer sometimes has to drop a session a client cannot reach: the adapter is
|
|
16366
|
+
* chosen at construction, so a client built without one holds no handle to the storage its own
|
|
16367
|
+
* session is sitting in. `AppAuthStrategy` in kbc-ui is that case.
|
|
16368
|
+
*/
|
|
16369
|
+
declare const SESSION_STORAGE_KEY = "keboola:session";
|
|
16370
|
+
//#endregion
|
|
16371
|
+
//#region src/keboola/bearer/credentials/credentials.d.ts
|
|
16372
|
+
/**
|
|
16373
|
+
* What a boot-time restore found.
|
|
16374
|
+
*
|
|
16375
|
+
* - `expired`: the server refused the refresh token.
|
|
16376
|
+
* - `unreachable`: no answer; the stored token is still good — retry, never log in.
|
|
16377
|
+
*/
|
|
16378
|
+
type RestoreStatus = 'restored' | 'expired' | 'unreachable' | 'empty';
|
|
16379
|
+
//#endregion
|
|
16207
16380
|
//#region src/keboola/index.d.ts
|
|
16208
16381
|
/** The bearer (OAuth) session surface, derived from the factory's return. */
|
|
16209
16382
|
type BearerSession = ReturnType<typeof createKeboola>['session'];
|
|
@@ -16261,30 +16434,18 @@ declare const KeboolaHttpHeader: {
|
|
|
16261
16434
|
readonly PROJECT_ID: 'X-KBC-ProjectId';
|
|
16262
16435
|
/** Storage job a request enqueued, reported on the response rather than in its body. */
|
|
16263
16436
|
readonly STORAGE_API_JOB_ID: 'X-StorageApi-Job-Id';
|
|
16437
|
+
/** Set to "1" to opt an auth call into browser/cookie mode. */
|
|
16438
|
+
readonly CSRF: 'X-KBC-CSRF';
|
|
16264
16439
|
};
|
|
16265
16440
|
//#endregion
|
|
16266
16441
|
//#region src/domain/jobStatus.d.ts
|
|
16267
|
-
/**
|
|
16268
|
-
* A service's statuses as named constants — `SUCCESS: 'success'`.
|
|
16269
|
-
*
|
|
16270
|
-
* Keyed off the status type, so there is an entry per status and no more, and a spec that renames a
|
|
16271
|
-
* status renames the key with it.
|
|
16272
|
-
*/
|
|
16442
|
+
/** A service's statuses as named constants — `SUCCESS: 'success'`. */
|
|
16273
16443
|
type StatusNames<Status extends string> = { [K in Status as Uppercase<K>]: K; };
|
|
16274
16444
|
/**
|
|
16275
|
-
* Job statuses per service
|
|
16276
|
-
* `jobStatus.queue.statuses.failed` the statuses behind it,
|
|
16277
|
-
* `jobStatus.queue.named.ERROR` one of them by name.
|
|
16278
|
-
*
|
|
16279
|
-
* One entry per service, never one over the union: the vocabularies overlap by label — `processing`
|
|
16280
|
-
* belongs to all three, `created` to queue and query — while which statuses exist and what each
|
|
16281
|
-
* implies differ per service. A shared entry would take another service's status and answer by its
|
|
16282
|
-
* rules.
|
|
16445
|
+
* Job statuses per service, e.g. `jobStatus.queue.isFailed(status)`.
|
|
16283
16446
|
*
|
|
16284
|
-
* -
|
|
16285
|
-
*
|
|
16286
|
-
* - Spread a group where an array is wanted — an API `status` filter, or a UI list that mixes job
|
|
16287
|
-
* statuses with its own.
|
|
16447
|
+
* - Never merge services: labels overlap but their meaning differs.
|
|
16448
|
+
* - `query` covers the query job, not its statements (which have `notExecuted`).
|
|
16288
16449
|
*/
|
|
16289
16450
|
declare const jobStatus: {
|
|
16290
16451
|
storage: {
|
|
@@ -16349,16 +16510,6 @@ declare const jobStatus: {
|
|
|
16349
16510
|
};
|
|
16350
16511
|
};
|
|
16351
16512
|
//#endregion
|
|
16352
|
-
//#region src/clients/storage/bucketListings/utils.d.ts
|
|
16353
|
-
/**
|
|
16354
|
-
* The two halves of the `bigquery.subscribers` wire format: a GCP IAM principal, which the Storage
|
|
16355
|
-
* spec documents as "prefixed with `user:` or `group:`". The write path uses `toBackendSubscribers`;
|
|
16356
|
-
* reads hand back the raw `string[]`, so a consumer that renders or edits subscribers decodes with
|
|
16357
|
-
* `fromBackendSubscribers` rather than re-deriving the prefix rule.
|
|
16358
|
-
*/
|
|
16359
|
-
declare const toBackendSubscribers: (subscribers: Subscriber[]) => string[];
|
|
16360
|
-
declare const fromBackendSubscribers: (raw: string[]) => Subscriber[];
|
|
16361
|
-
//#endregion
|
|
16362
16513
|
//#region src/sdks/storage/storageSdk.d.ts
|
|
16363
16514
|
type Options = {
|
|
16364
16515
|
interval?: number;
|
|
@@ -17333,7 +17484,6 @@ type PrefixTagsOptions = {
|
|
|
17333
17484
|
hasStorageBranches?: boolean;
|
|
17334
17485
|
};
|
|
17335
17486
|
declare const prefixTagsWithDevBranchId: (tags: string[], branchId?: number | string | null, options?: PrefixTagsOptions) => string[];
|
|
17336
|
-
declare const removeBranchFromUrl: (url: string) => string;
|
|
17337
17487
|
//#endregion
|
|
17338
17488
|
//#region src/sdks/queryService/queryServiceSdk.d.ts
|
|
17339
17489
|
type WaitForJobOptions = {
|
|
@@ -17417,5 +17567,5 @@ declare const createQueryServiceClient: ({ baseUrl, middlewares, auth }: ClientI
|
|
|
17417
17567
|
exportResults: (queryJobId: GetQueryResultsPath['queryJobId'], statementId: GetQueryResultsPath['statementId'], query: GetExportResultsQuery, signal?: AbortSignal) => Promise<ExportResultsResponse>;
|
|
17418
17568
|
};
|
|
17419
17569
|
//#endregion
|
|
17420
|
-
export {
|
|
17421
|
-
//# sourceMappingURL=index-
|
|
17570
|
+
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 };
|
|
17571
|
+
//# sourceMappingURL=index-DXYASsPP.d.cts.map
|