@keboola/api-client 41.0.0 → 43.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/API-SURFACE.md +44 -3
- package/CHANGELOG.md +170 -0
- package/README.md +1 -1
- package/dist/{ManagementClientAuthError-DE7lNGZQ.cjs → ManagementClientAuthError-BFZOtLgj.cjs} +2 -2
- package/dist/{ManagementClientAuthError-DE7lNGZQ.cjs.map → ManagementClientAuthError-BFZOtLgj.cjs.map} +1 -1
- package/dist/{ManagementClientAuthError-H30lti_Q.js → ManagementClientAuthError-DUbXlry2.js} +2 -2
- package/dist/{ManagementClientAuthError-H30lti_Q.js.map → ManagementClientAuthError-DUbXlry2.js.map} +1 -1
- package/dist/ai/index.cjs +2 -2
- package/dist/ai/index.js +2 -2
- package/dist/{appLogs-BBkkUOW1.js → appLogs-DfkItQCO.js} +2 -2
- package/dist/{appLogs-BBkkUOW1.js.map → appLogs-DfkItQCO.js.map} +1 -1
- package/dist/{appLogs-B9zFJIuy.cjs → appLogs-oZvt59mk.cjs} +2 -2
- package/dist/{appLogs-B9zFJIuy.cjs.map → appLogs-oZvt59mk.cjs.map} +1 -1
- package/dist/apps/index.cjs +3 -3
- package/dist/apps/index.js +3 -3
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.js +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/types.d.cts +2 -2
- package/dist/auth/types.d.ts +2 -2
- package/dist/{auth-DworfoPy.js → auth-DUHTJTwS.js} +2 -2
- package/dist/{auth-DworfoPy.js.map → auth-DUHTJTwS.js.map} +1 -1
- package/dist/{auth-Dm0F2rOh.cjs → auth-zfI04oj7.cjs} +2 -2
- package/dist/{auth-Dm0F2rOh.cjs.map → auth-zfI04oj7.cjs.map} +1 -1
- package/dist/{authClient-BmuUo0J4.cjs → authClient-BxqRGR5c.cjs} +39 -5
- package/dist/authClient-BxqRGR5c.cjs.map +1 -0
- package/dist/{authClient-vEt_7_uk.d.cts → authClient-CBVAT3v9.d.cts} +49 -2
- package/dist/{authClient-CHXWJ9x3.d.ts → authClient-CRumc934.d.ts} +49 -2
- package/dist/{authClient-CgcDGd30.js → authClient-CX4buUMc.js} +39 -5
- package/dist/authClient-CX4buUMc.js.map +1 -0
- package/dist/billing/index.cjs +2 -2
- package/dist/billing/index.js +2 -2
- package/dist/businessWorkspaceApi/index.cjs +1 -1
- package/dist/businessWorkspaceApi/index.js +1 -1
- package/dist/{businessWorkspaceApi-BLUdefRF.js → businessWorkspaceApi-DFky1k61.js} +3 -3
- package/dist/{businessWorkspaceApi-BLUdefRF.js.map → businessWorkspaceApi-DFky1k61.js.map} +1 -1
- package/dist/{businessWorkspaceApi-6tCDdpnY.cjs → businessWorkspaceApi-Uzqu0PJM.cjs} +3 -3
- package/dist/{businessWorkspaceApi-6tCDdpnY.cjs.map → businessWorkspaceApi-Uzqu0PJM.cjs.map} +1 -1
- package/dist/chat/index.cjs +3 -3
- package/dist/chat/index.js +3 -3
- package/dist/collect-97WhfEpt.js +30 -0
- package/dist/collect-97WhfEpt.js.map +1 -0
- package/dist/collect-B5TCNiT1.cjs +35 -0
- package/dist/collect-B5TCNiT1.cjs.map +1 -0
- package/dist/{componentId-_IKXxICq.cjs → componentId-D4jp6a13.cjs} +17 -1
- package/dist/componentId-D4jp6a13.cjs.map +1 -0
- package/dist/{componentId-BJLfnaGc.js → componentId-DmHwHG5V.js} +17 -1
- package/dist/componentId-DmHwHG5V.js.map +1 -0
- package/dist/{configurations-VlfQ_37Y.cjs → configurations-D_Rbs0Wl.cjs} +2 -2
- package/dist/{configurations-VlfQ_37Y.cjs.map → configurations-D_Rbs0Wl.cjs.map} +1 -1
- package/dist/{configurations-CF3xz7RB.js → configurations-DcpUlC8I.js} +2 -2
- package/dist/{configurations-CF3xz7RB.js.map → configurations-DcpUlC8I.js.map} +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/createAbortError-BxupOt-6.js +6 -0
- package/dist/createAbortError-BxupOt-6.js.map +1 -0
- package/dist/createAbortError-RendOpo7.cjs +11 -0
- package/dist/createAbortError-RendOpo7.cjs.map +1 -0
- package/dist/{createFetchClient-Cwp8max9.cjs → createFetchClient-BgihytBn.cjs} +2 -1
- package/dist/createFetchClient-BgihytBn.cjs.map +1 -0
- package/dist/{createFetchClient-DXHQK63w.js → createFetchClient-cgWkwgAQ.js} +2 -1
- package/dist/createFetchClient-cgWkwgAQ.js.map +1 -0
- package/dist/{createGenericFetchClient-Dl9cqTvR.cjs → createGenericFetchClient-C7Y0YVfc.cjs} +2 -2
- package/dist/{createGenericFetchClient-Dl9cqTvR.cjs.map → createGenericFetchClient-C7Y0YVfc.cjs.map} +1 -1
- package/dist/{createGenericFetchClient-Dg1rgzmG.js → createGenericFetchClient-CX9Hn3Aq.js} +2 -2
- package/dist/{createGenericFetchClient-Dg1rgzmG.js.map → createGenericFetchClient-CX9Hn3Aq.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-DZUOVupy.js → createOpenapiFetchClient-BxcLLU_N.js} +2 -2
- package/dist/{createOpenapiFetchClient-DZUOVupy.js.map → createOpenapiFetchClient-BxcLLU_N.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-BYqW-9tm.cjs → createOpenapiFetchClient-DY5s-aH6.cjs} +2 -2
- package/dist/{createOpenapiFetchClient-BYqW-9tm.cjs.map → createOpenapiFetchClient-DY5s-aH6.cjs.map} +1 -1
- package/dist/dataScience/index.cjs +2 -2
- package/dist/dataScience/index.d.cts +1 -1
- package/dist/dataScience/index.d.ts +1 -1
- package/dist/dataScience/index.js +2 -2
- package/dist/dataScience/types.d.cts +1 -1
- package/dist/dataScience/types.d.ts +1 -1
- package/dist/{dataScience-B5QxZnvW.cjs → dataScience-BoS8Xfvx.cjs} +5 -5
- package/dist/{dataScience-B5QxZnvW.cjs.map → dataScience-BoS8Xfvx.cjs.map} +1 -1
- package/dist/{dataScience-OXcwdk1p.js → dataScience-BxRoGfnG.js} +5 -5
- package/dist/{dataScience-OXcwdk1p.js.map → dataScience-BxRoGfnG.js.map} +1 -1
- package/dist/developerPortal/index.cjs +1 -1
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/index.js +1 -1
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/{developerPortalClient-B1QZ1rYi.js → developerPortalClient-C7s0kpjK.js} +3 -3
- package/dist/{developerPortalClient-B1QZ1rYi.js.map → developerPortalClient-C7s0kpjK.js.map} +1 -1
- package/dist/{developerPortalClient-CLPpBksD.cjs → developerPortalClient-DFHEsrlt.cjs} +3 -3
- package/dist/{developerPortalClient-CLPpBksD.cjs.map → developerPortalClient-DFHEsrlt.cjs.map} +1 -1
- package/dist/domain/permissions/index.d.cts +2 -2
- package/dist/domain/permissions/index.d.ts +2 -2
- package/dist/domain/storageTable/index.cjs +7 -1
- package/dist/domain/storageTable/index.d.cts +2 -2
- package/dist/domain/storageTable/index.d.ts +2 -2
- package/dist/domain/storageTable/index.js +2 -2
- package/dist/editor/index.cjs +2 -2
- package/dist/editor/index.js +2 -2
- package/dist/encryption/index.cjs +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/index.js +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.cjs +1 -1
- package/dist/import/index.js +1 -1
- package/dist/{import-CNk89mqy.cjs → import-BSYvG3Uy.cjs} +3 -3
- package/dist/{import-CNk89mqy.cjs.map → import-BSYvG3Uy.cjs.map} +1 -1
- package/dist/{import-DiMQCzLa.js → import-CXBcFVbk.js} +3 -3
- package/dist/{import-DiMQCzLa.js.map → import-CXBcFVbk.js.map} +1 -1
- package/dist/{index-DNThyEej.d.cts → index-04pgr-EO.d.cts} +14 -3
- package/dist/{index-DCRKjihs.d.ts → index-B03vhWSX.d.ts} +117 -90
- package/dist/{index-BDZvaRud.d.ts → index-B72LTF-k.d.ts} +6 -3
- package/dist/{index-CcMHJcuP.d.cts → index-BHWTa4YN.d.cts} +3 -2
- package/dist/{index-DOAZmWvh.d.cts → index-BMiZx-4_.d.cts} +6 -3
- package/dist/{index-CaaTOANF.d.ts → index-BQZ9njUC.d.ts} +598 -85
- package/dist/{index--ZpnE3YT.d.cts → index-BUsLHNOA.d.cts} +2 -2
- package/dist/{index-Cz0MXhzs.d.cts → index-C7KThHI3.d.cts} +6 -2
- package/dist/{index-D-VMgpGc.d.ts → index-CAvT_ahE.d.ts} +6 -2
- package/dist/{index-D7-o-oGa.d.ts → index-CBWfpd-0.d.ts} +2 -2
- package/dist/index-CGCXR_6Q.d.ts +273 -0
- package/dist/{index-C11JSxBY.d.ts → index-CX8GAP2g.d.ts} +13 -8
- package/dist/{index-Cvbjp3jx.d.cts → index-CdS-c6sC.d.cts} +6 -6
- package/dist/{index-cWp_V6K5.d.cts → index-Cm04GKm9.d.cts} +598 -85
- package/dist/{index-C4TNAA8-.d.cts → index-Cvkrjh--.d.cts} +13 -8
- package/dist/{index-ByRpNVcs.d.cts → index-D3HFMfJJ.d.cts} +117 -90
- package/dist/{index-DnQTuc6t.d.ts → index-D7of2MMN.d.ts} +6 -6
- package/dist/index-DINB7vsV.d.cts +273 -0
- package/dist/{index-B5w7WlaU.d.cts → index-DeQDdut6.d.cts} +17 -1
- package/dist/{index-B5w7WlaU.d.ts → index-DeQDdut6.d.ts} +17 -1
- package/dist/{index-CXcWpZQ2.d.ts → index-P1vR966i.d.cts} +74 -2
- package/dist/{index-CXcWpZQ2.d.cts → index-P1vR966i.d.ts} +74 -2
- package/dist/{index-Qb7X6-ph.d.ts → index-R-w0Zncz.d.ts} +14 -3
- package/dist/{index-D_-4uQF8.d.ts → index-zyxZVJnd.d.ts} +3 -2
- package/dist/index.cjs +68 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +67 -41
- package/dist/index.js.map +1 -1
- package/dist/{isLoginPageRedirect-XPwAOKK3.js → isLoginPageRedirect-CsjF95_P.js} +2 -2
- package/dist/{isLoginPageRedirect-XPwAOKK3.js.map → isLoginPageRedirect-CsjF95_P.js.map} +1 -1
- package/dist/{isLoginPageRedirect-jQHiLrG7.cjs → isLoginPageRedirect-c451CoWW.cjs} +2 -2
- package/dist/{isLoginPageRedirect-jQHiLrG7.cjs.map → isLoginPageRedirect-c451CoWW.cjs.map} +1 -1
- package/dist/{jobStatus-CfRtsIpv.js → jobStatus-CDp4r5JQ.js} +3 -5
- package/dist/jobStatus-CDp4r5JQ.js.map +1 -0
- package/dist/{jobStatus-BMlsyXWI.cjs → jobStatus-CcNlIy5R.cjs} +5 -13
- package/dist/{jobStatus-CfRtsIpv.js.map → jobStatus-CcNlIy5R.cjs.map} +1 -1
- package/dist/kaiAgent/index.cjs +1 -1
- package/dist/kaiAgent/index.d.cts +2 -2
- package/dist/kaiAgent/index.d.ts +2 -2
- package/dist/kaiAgent/index.js +1 -1
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/{kaiAgent-QNoeVKPs.cjs → kaiAgent-ph4DRKlT.cjs} +21 -5
- package/dist/kaiAgent-ph4DRKlT.cjs.map +1 -0
- package/dist/{kaiAgent-Dp20HLTh.js → kaiAgent-xBpUwLeQ.js} +21 -5
- package/dist/kaiAgent-xBpUwLeQ.js.map +1 -0
- package/dist/{kaiMemory-D0Y_16U4.js → kaiMemory-BAniZZAN.js} +2 -2
- package/dist/{kaiMemory-D0Y_16U4.js.map → kaiMemory-BAniZZAN.js.map} +1 -1
- package/dist/{kaiMemory-CClSPInt.cjs → kaiMemory-U0DG-CpY.cjs} +2 -2
- package/dist/{kaiMemory-CClSPInt.cjs.map → kaiMemory-U0DG-CpY.cjs.map} +1 -1
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-CCY0IYnq.cjs → management-5597SiC7.cjs} +79 -11
- package/dist/management-5597SiC7.cjs.map +1 -0
- package/dist/{management-DvmPiG64.js → management-D46KlXts.js} +79 -11
- package/dist/management-D46KlXts.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-XtWciCZT.cjs → metastore-DwMFlP2d.cjs} +52 -7
- package/dist/metastore-DwMFlP2d.cjs.map +1 -0
- package/dist/{metastore-BycJxe7A.js → metastore-_OskcLGz.js} +52 -7
- package/dist/metastore-_OskcLGz.js.map +1 -0
- package/dist/microsoftGraph/index.cjs +2 -2
- package/dist/microsoftGraph/index.d.cts +2 -1
- package/dist/microsoftGraph/index.d.ts +2 -1
- 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 → middleware-Drbo_UIZ.js} +2 -2
- package/dist/{middleware-CBwrtgQd.js.map → middleware-Drbo_UIZ.js.map} +1 -1
- package/dist/{middleware-IjYx3d5u.cjs → middleware-xhg2r2fE.cjs} +2 -2
- package/dist/{middleware-IjYx3d5u.cjs.map → middleware-xhg2r2fE.cjs.map} +1 -1
- package/dist/notifications/index.cjs +3 -3
- package/dist/notifications/index.js +3 -3
- package/dist/oauth/index.cjs +1 -1
- package/dist/oauth/index.d.cts +1 -1
- package/dist/oauth/index.d.ts +1 -1
- 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--2p8jkJf.cjs → oauth-L0Uic3YA.cjs} +5 -5
- package/dist/{oauth--2p8jkJf.cjs.map → oauth-L0Uic3YA.cjs.map} +1 -1
- package/dist/{oauth-l5zE39cD.js → oauth-TWwAv-va.js} +5 -5
- package/dist/{oauth-l5zE39cD.js.map → oauth-TWwAv-va.js.map} +1 -1
- package/dist/omnisearch/index.cjs +2 -2
- package/dist/omnisearch/index.d.cts +1 -1
- package/dist/omnisearch/index.d.ts +1 -1
- package/dist/omnisearch/index.js +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-cHKuGvqJ.d.cts → project-B8wtlstY.d.cts} +2 -2
- package/dist/{project-B15gStbM.d.ts → project-BCc3mpAy.d.ts} +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-CQzclHdL.cjs → queryService-DSww_TJp.cjs} +6 -6
- package/dist/{queryService-CQzclHdL.cjs.map → queryService-DSww_TJp.cjs.map} +1 -1
- package/dist/{queryService-CCOYbRbw.js → queryService-Drvy1ztW.js} +6 -6
- package/dist/{queryService-CCOYbRbw.js.map → queryService-Drvy1ztW.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +1 -1
- package/dist/queue/index.d.ts +1 -1
- package/dist/queue/index.js +1 -1
- package/dist/{queue-Cowbg6bR.js → queue-Ci_f_5TI.js} +7 -32
- package/dist/queue-Ci_f_5TI.js.map +1 -0
- package/dist/{queue-UG_BWKIC.cjs → queue-DpMvv8C-.cjs} +7 -38
- package/dist/{queue-Cowbg6bR.js.map → queue-DpMvv8C-.cjs.map} +1 -1
- package/dist/scheduler/index.cjs +3 -3
- package/dist/scheduler/index.d.cts +13 -1
- package/dist/scheduler/index.d.ts +13 -1
- package/dist/scheduler/index.js +3 -3
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/{schema-D1oxyn1O.d.cts → schema-DJa9WBjR.d.cts} +28 -1
- package/dist/{schema-D1oxyn1O.d.ts → schema-DJa9WBjR.d.ts} +28 -1
- package/dist/sdk/configurations/index.cjs +1 -1
- package/dist/sdk/configurations/index.d.cts +4 -4
- package/dist/sdk/configurations/index.d.ts +4 -4
- package/dist/sdk/configurations/index.js +1 -1
- package/dist/sdk/developerPortal/index.cjs +3 -3
- package/dist/sdk/developerPortal/index.d.cts +13 -8
- package/dist/sdk/developerPortal/index.d.ts +13 -8
- package/dist/sdk/developerPortal/index.js +3 -3
- package/dist/sdk/kaiMemory/index.cjs +1 -1
- package/dist/sdk/kaiMemory/index.d.cts +1 -1
- package/dist/sdk/kaiMemory/index.d.ts +1 -1
- package/dist/sdk/kaiMemory/index.js +1 -1
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.cjs +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/queryService/index.js +1 -1
- package/dist/sdk/semanticLayer/index.cjs +2 -1
- package/dist/sdk/semanticLayer/index.d.cts +10 -3
- package/dist/sdk/semanticLayer/index.d.ts +10 -3
- package/dist/sdk/semanticLayer/index.js +2 -2
- package/dist/sdk/semanticLayer/types.d.cts +2 -2
- package/dist/sdk/semanticLayer/types.d.ts +2 -2
- package/dist/sdk/storage/index.cjs +12 -24
- package/dist/sdk/storage/index.cjs.map +1 -1
- package/dist/sdk/storage/index.d.cts +1 -1
- package/dist/sdk/storage/index.d.ts +1 -1
- package/dist/sdk/storage/index.js +12 -24
- package/dist/sdk/storage/index.js.map +1 -1
- package/dist/sdk/tag/index.d.cts +2 -2
- package/dist/sdk/tag/index.d.ts +2 -2
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/{semanticLayer-CKDVkU56.cjs → semanticLayer-D3NDh_QH.cjs} +115 -20
- package/dist/semanticLayer-D3NDh_QH.cjs.map +1 -0
- package/dist/{semanticLayer-pYy082Ju.js → semanticLayer-Ddg0LSnt.js} +110 -21
- package/dist/semanticLayer-Ddg0LSnt.js.map +1 -0
- package/dist/status/index.cjs +1 -1
- package/dist/status/index.js +1 -1
- package/dist/storage/index.cjs +4 -4
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +4 -4
- package/dist/storage/types.d.cts +3 -3
- package/dist/storage/types.d.ts +3 -3
- package/dist/{storage-CZQHZcXG.js → storage-C-lyo_iX.js} +273 -135
- package/dist/storage-C-lyo_iX.js.map +1 -0
- package/dist/{storage-JinL1y1s.cjs → storage-DAJquqEw.cjs} +273 -135
- package/dist/storage-DAJquqEw.cjs.map +1 -0
- package/dist/{storageTable-C9crh4Ef.cjs → storageTable-BNOR2FCh.cjs} +137 -5
- package/dist/storageTable-BNOR2FCh.cjs.map +1 -0
- package/dist/{storageTable-DslXtqNL.js → storageTable-BldTNyEk.js} +102 -6
- package/dist/storageTable-BldTNyEk.js.map +1 -0
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/index.js +3 -3
- package/dist/syncActions/index.cjs +4 -1
- package/dist/syncActions/index.d.cts +3 -2
- package/dist/syncActions/index.d.ts +3 -2
- package/dist/syncActions/index.js +2 -2
- package/dist/syncActions/types.d.cts +2 -2
- package/dist/syncActions/types.d.ts +2 -2
- package/dist/syncActions-BQ8kMgL6.js +1191 -0
- package/dist/syncActions-BQ8kMgL6.js.map +1 -0
- package/dist/syncActions-DyxNmbUR.cjs +1216 -0
- package/dist/syncActions-DyxNmbUR.cjs.map +1 -0
- package/dist/telemetry/index.cjs +3 -3
- package/dist/telemetry/index.js +3 -3
- package/dist/{types-DWiLcrxt.d.cts → types-04GTqleJ.d.cts} +3 -3
- package/dist/{types-DRCMBt89.d.ts → types-2Do0DZ60.d.ts} +3 -3
- package/dist/{types-n4PTnLii.d.ts → types-AYX7VtS6.d.ts} +179 -2
- package/dist/{types-DIiOMV-t.d.ts → types-B3P5yAuI.d.ts} +5 -1
- package/dist/{types-BLNB882w.d.cts → types-B3i04d_A.d.cts} +5 -1
- package/dist/{types-CZXPu3gn.d.ts → types-BBUZ9EHs.d.ts} +4 -1
- package/dist/{types-Dtuvhm3K.d.cts → types-BWmLo73i.d.cts} +749 -186
- package/dist/{types-CQFOCQzk.d.ts → types-BaSlU0uo.d.ts} +510 -5
- package/dist/{types-DEzW1CfI.d.cts → types-BgHtMe8s.d.cts} +3 -3
- package/dist/{types-BiMahEK8.d.cts → types-BgVt8SUY.d.cts} +126 -62
- package/dist/{types-BS4jwuMi.d.ts → types-BhEx9iRx.d.ts} +3068 -621
- package/dist/{types-CP_LBmw3.d.cts → types-BhOUS9j1.d.cts} +26 -3
- package/dist/{types-tKkeLa2B.d.cts → types-BiEh5c_t.d.cts} +60 -8
- package/dist/{types-CMzQSHAQ.d.cts → types-BzPuxmaR.d.cts} +3 -3
- package/dist/{types-CKmTZSPG.d.ts → types-C0rVtqz2.d.ts} +126 -62
- package/dist/{types-Bl03Cg2n.d.cts → types-CAAgCRmE.d.cts} +31 -5
- package/dist/{types-RbrfiY8T.d.ts → types-CAp1VexS.d.ts} +3 -3
- package/dist/{types-DinIJ1D_.d.cts → types-CBPKpLTf.d.cts} +179 -2
- package/dist/{types-BIECJYun.d.ts → types-CN6huo55.d.ts} +406 -5
- package/dist/{types-Cg14ncdV.d.ts → types-CV7jmgtX.d.ts} +3 -3
- package/dist/{types-CqwHP7mN.d.cts → types-CcYxlqtB.d.cts} +510 -5
- package/dist/{types-DE9hgr7i.d.cts → types-CgBzm1YR.d.cts} +106 -1
- package/dist/{types-FwRmjsNN.d.ts → types-CigD_EF5.d.ts} +18 -6
- package/dist/{types-B_iLJlp4.d.ts → types-CwZgZqrA.d.ts} +31 -5
- package/dist/{types-B61aCifg.d.cts → types-D9axmt5o.d.cts} +4 -1
- package/dist/{types-CWyXTMwy.d.ts → types-DaMmgW-O.d.ts} +106 -1
- package/dist/{types-BTK7Bv3n.d.cts → types-DgPt4LY_.d.cts} +406 -5
- package/dist/{types-bc-4z_gc.d.cts → types-DyArI_Jq.d.cts} +18 -6
- package/dist/{types-q-1r_9d1.d.ts → types-DzV6LaZq.d.ts} +60 -8
- package/dist/{types-DekYAlA-.d.ts → types-QSchmyvO.d.ts} +3 -3
- package/dist/{types-DKc1gmd9.d.ts → types-R3AFJD6r.d.ts} +749 -186
- package/dist/{types-6kuMW4JW.d.cts → types-c_bsDkV6.d.cts} +3 -3
- package/dist/{types-DgJeO9Nd.d.ts → types-gcAb6olM.d.ts} +26 -3
- package/dist/{types-DDOa07rU.d.cts → types-sV9OaqTI.d.cts} +3068 -621
- package/dist/{validateConnectionStatus-BEYkQpu9.cjs → validateConnectionStatus-Ca1uEizv.cjs} +3 -3
- package/dist/{validateConnectionStatus-BEYkQpu9.cjs.map → validateConnectionStatus-Ca1uEizv.cjs.map} +1 -1
- package/dist/{validateConnectionStatus-BEGu8wXT.js → validateConnectionStatus-gFsBi5FV.js} +3 -3
- package/dist/{validateConnectionStatus-BEGu8wXT.js.map → validateConnectionStatus-gFsBi5FV.js.map} +1 -1
- package/dist/vault/index.cjs +31 -6
- package/dist/vault/index.cjs.map +1 -1
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +31 -6
- package/dist/vault/index.js.map +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +7 -7
- package/surface/auth.md +7 -0
- package/surface/dataScience.md +2 -2
- package/surface/kaiAgent.md +5 -3
- package/surface/management.md +28 -13
- package/surface/metastore.md +4 -1
- package/surface/queue.md +1 -1
- package/surface/scheduler.md +3 -3
- package/surface/sdk.md +13 -8
- package/surface/storage.md +27 -24
- package/surface/syncActions.md +48 -1
- package/surface/vault.md +1 -0
- package/dist/authClient-BmuUo0J4.cjs.map +0 -1
- package/dist/authClient-CgcDGd30.js.map +0 -1
- package/dist/componentId-BJLfnaGc.js.map +0 -1
- package/dist/componentId-_IKXxICq.cjs.map +0 -1
- package/dist/createFetchClient-Cwp8max9.cjs.map +0 -1
- package/dist/createFetchClient-DXHQK63w.js.map +0 -1
- package/dist/index-DbLFwXgb.d.cts +0 -116
- package/dist/index-rwK7GcB2.d.ts +0 -116
- package/dist/jobStatus-BMlsyXWI.cjs.map +0 -1
- package/dist/kaiAgent-Dp20HLTh.js.map +0 -1
- package/dist/kaiAgent-QNoeVKPs.cjs.map +0 -1
- package/dist/management-CCY0IYnq.cjs.map +0 -1
- package/dist/management-DvmPiG64.js.map +0 -1
- package/dist/metastore-BycJxe7A.js.map +0 -1
- package/dist/metastore-XtWciCZT.cjs.map +0 -1
- package/dist/queue-UG_BWKIC.cjs.map +0 -1
- package/dist/semanticLayer-CKDVkU56.cjs.map +0 -1
- package/dist/semanticLayer-pYy082Ju.js.map +0 -1
- package/dist/storage-CZQHZcXG.js.map +0 -1
- package/dist/storage-JinL1y1s.cjs.map +0 -1
- package/dist/storageTable-C9crh4Ef.cjs.map +0 -1
- package/dist/storageTable-DslXtqNL.js.map +0 -1
- package/dist/syncActions-ChNWuhYA.js +0 -646
- package/dist/syncActions-ChNWuhYA.js.map +0 -1
- package/dist/syncActions-mFlF16cl.cjs +0 -653
- package/dist/syncActions-mFlF16cl.cjs.map +0 -1
|
@@ -20,6 +20,8 @@ declare const ComponentId: {
|
|
|
20
20
|
readonly WR_HIVE_CSAS: 'kds-team.wr-hive-csas';
|
|
21
21
|
readonly WR_THOUGHTSPOT: 'keboola.wr-thoughtspot';
|
|
22
22
|
readonly WR_SISENSE: 'keboola.wr-sisense';
|
|
23
|
+
readonly WR_AWS_S3: 'keboola.wr-aws-s3';
|
|
24
|
+
readonly WR_STORAGE: 'keboola.wr-storage';
|
|
23
25
|
readonly SCHEDULER: 'keboola.scheduler';
|
|
24
26
|
readonly APP_SNOWFLAKE_DWH_MANAGER: 'keboola.app-snowflake-dwh-manager';
|
|
25
27
|
readonly GOODDATA_WRITER: 'keboola.gooddata-writer';
|
|
@@ -43,15 +45,28 @@ declare const ComponentId: {
|
|
|
43
45
|
readonly KDS_EX_NETSUITE: 'kds-team.ex-netsuite';
|
|
44
46
|
readonly KDS_EX_PROGRESS_DB: 'kds-team.ex-progress-db';
|
|
45
47
|
readonly EX_GOOGLE_ADS: 'keboola.ex-google-ads';
|
|
48
|
+
readonly EX_GOOGLE_ANALYTICS_V4: 'keboola.ex-google-analytics-v4';
|
|
49
|
+
readonly WR_GOOGLE_DRIVE: 'keboola.wr-google-drive';
|
|
50
|
+
readonly WR_GOOGLE_SHEETS: 'keboola.wr-google-sheets';
|
|
51
|
+
readonly EX_FACEBOOK: 'keboola.ex-facebook';
|
|
52
|
+
readonly EX_FACEBOOK_ADS: 'keboola.ex-facebook-ads';
|
|
53
|
+
readonly EX_FACEBOOK_ADS_V2: 'keboola.ex-facebook-ads-v2';
|
|
54
|
+
readonly EX_FACEBOOK_PAGES: 'keboola.ex-facebook-pages';
|
|
55
|
+
readonly EX_INSTAGRAM: 'keboola.ex-instagram';
|
|
56
|
+
readonly EX_INSTAGRAM_V2: 'keboola.ex-instagram-v2';
|
|
46
57
|
readonly EX_ONEDRIVE: 'keboola.ex-onedrive';
|
|
47
58
|
readonly WR_ONEDRIVE: 'keboola.wr-onedrive';
|
|
48
59
|
readonly EX_HTTP: 'keboola.ex-http';
|
|
49
60
|
readonly EX_FTP: 'keboola.ex-ftp';
|
|
50
61
|
readonly EX_FTP_CSAS: 'keboola.ex-ftp-csas';
|
|
62
|
+
readonly EX_EMAIL_ATTACHMENTS: 'keboola.ex-email-attachments';
|
|
51
63
|
readonly EX_AWS_S3: 'keboola.ex-aws-s3';
|
|
52
64
|
readonly KDS_EX_AZURE_BLOB_STORAGE_V2: 'kds-team.ex-azure-blob-storage-v2';
|
|
53
65
|
readonly KDS_EX_AZURE_DATA_LAKE_GEN2: 'kds-team.ex-azure-data-lake-gen2';
|
|
54
66
|
readonly APIFY: 'apify.apify';
|
|
67
|
+
readonly EX_GENERIC_V2: 'ex-generic-v2';
|
|
68
|
+
readonly EX_GOOGLE_BIGQUERY_V2: 'keboola.ex-google-bigquery-v2';
|
|
69
|
+
readonly EX_STORAGE: 'keboola.ex-storage';
|
|
55
70
|
readonly DATA_APPS: 'keboola.data-apps';
|
|
56
71
|
readonly SANDBOXES: 'keboola.sandboxes';
|
|
57
72
|
readonly DBT_TEST_CORE_KEY_PAIR: 'keboola-test.dbt-core-key-pair';
|
|
@@ -63,6 +78,7 @@ declare const ComponentId: {
|
|
|
63
78
|
readonly DBT_TRANSFORMATION_REMOTE_POSTGRESQL: 'keboola.dbt-transformation-remote-postgresql';
|
|
64
79
|
readonly DBT_TRANSFORMATION_REMOTE_REDSHIFT: 'keboola.dbt-transformation-remote-redshift';
|
|
65
80
|
readonly DBT_TRANSFORMATION_REMOTE_SNOWFLAKE: 'keboola.dbt-transformation-remote-snowflake';
|
|
81
|
+
readonly APP_CONFIGURATION_MIGRATION_TOOL: 'keboola.app-configuration-migration-tool';
|
|
66
82
|
readonly FLOW_MIGRATION_TOOL: 'keboola.flow-migration-tool';
|
|
67
83
|
readonly SSH_KEYGEN_V2: 'keboola.ssh-keygen-v2';
|
|
68
84
|
};
|
|
@@ -275,4 +291,4 @@ declare const URLS: {
|
|
|
275
291
|
};
|
|
276
292
|
//#endregion
|
|
277
293
|
export { STACKS as a, Provider as i, Continent as n, ProjectFeature as o, KeboolaStack as r, ComponentId as s, URLS as t };
|
|
278
|
-
//# sourceMappingURL=index-
|
|
294
|
+
//# sourceMappingURL=index-DeQDdut6.d.cts.map
|
|
@@ -20,6 +20,8 @@ declare const ComponentId: {
|
|
|
20
20
|
readonly WR_HIVE_CSAS: 'kds-team.wr-hive-csas';
|
|
21
21
|
readonly WR_THOUGHTSPOT: 'keboola.wr-thoughtspot';
|
|
22
22
|
readonly WR_SISENSE: 'keboola.wr-sisense';
|
|
23
|
+
readonly WR_AWS_S3: 'keboola.wr-aws-s3';
|
|
24
|
+
readonly WR_STORAGE: 'keboola.wr-storage';
|
|
23
25
|
readonly SCHEDULER: 'keboola.scheduler';
|
|
24
26
|
readonly APP_SNOWFLAKE_DWH_MANAGER: 'keboola.app-snowflake-dwh-manager';
|
|
25
27
|
readonly GOODDATA_WRITER: 'keboola.gooddata-writer';
|
|
@@ -43,15 +45,28 @@ declare const ComponentId: {
|
|
|
43
45
|
readonly KDS_EX_NETSUITE: 'kds-team.ex-netsuite';
|
|
44
46
|
readonly KDS_EX_PROGRESS_DB: 'kds-team.ex-progress-db';
|
|
45
47
|
readonly EX_GOOGLE_ADS: 'keboola.ex-google-ads';
|
|
48
|
+
readonly EX_GOOGLE_ANALYTICS_V4: 'keboola.ex-google-analytics-v4';
|
|
49
|
+
readonly WR_GOOGLE_DRIVE: 'keboola.wr-google-drive';
|
|
50
|
+
readonly WR_GOOGLE_SHEETS: 'keboola.wr-google-sheets';
|
|
51
|
+
readonly EX_FACEBOOK: 'keboola.ex-facebook';
|
|
52
|
+
readonly EX_FACEBOOK_ADS: 'keboola.ex-facebook-ads';
|
|
53
|
+
readonly EX_FACEBOOK_ADS_V2: 'keboola.ex-facebook-ads-v2';
|
|
54
|
+
readonly EX_FACEBOOK_PAGES: 'keboola.ex-facebook-pages';
|
|
55
|
+
readonly EX_INSTAGRAM: 'keboola.ex-instagram';
|
|
56
|
+
readonly EX_INSTAGRAM_V2: 'keboola.ex-instagram-v2';
|
|
46
57
|
readonly EX_ONEDRIVE: 'keboola.ex-onedrive';
|
|
47
58
|
readonly WR_ONEDRIVE: 'keboola.wr-onedrive';
|
|
48
59
|
readonly EX_HTTP: 'keboola.ex-http';
|
|
49
60
|
readonly EX_FTP: 'keboola.ex-ftp';
|
|
50
61
|
readonly EX_FTP_CSAS: 'keboola.ex-ftp-csas';
|
|
62
|
+
readonly EX_EMAIL_ATTACHMENTS: 'keboola.ex-email-attachments';
|
|
51
63
|
readonly EX_AWS_S3: 'keboola.ex-aws-s3';
|
|
52
64
|
readonly KDS_EX_AZURE_BLOB_STORAGE_V2: 'kds-team.ex-azure-blob-storage-v2';
|
|
53
65
|
readonly KDS_EX_AZURE_DATA_LAKE_GEN2: 'kds-team.ex-azure-data-lake-gen2';
|
|
54
66
|
readonly APIFY: 'apify.apify';
|
|
67
|
+
readonly EX_GENERIC_V2: 'ex-generic-v2';
|
|
68
|
+
readonly EX_GOOGLE_BIGQUERY_V2: 'keboola.ex-google-bigquery-v2';
|
|
69
|
+
readonly EX_STORAGE: 'keboola.ex-storage';
|
|
55
70
|
readonly DATA_APPS: 'keboola.data-apps';
|
|
56
71
|
readonly SANDBOXES: 'keboola.sandboxes';
|
|
57
72
|
readonly DBT_TEST_CORE_KEY_PAIR: 'keboola-test.dbt-core-key-pair';
|
|
@@ -63,6 +78,7 @@ declare const ComponentId: {
|
|
|
63
78
|
readonly DBT_TRANSFORMATION_REMOTE_POSTGRESQL: 'keboola.dbt-transformation-remote-postgresql';
|
|
64
79
|
readonly DBT_TRANSFORMATION_REMOTE_REDSHIFT: 'keboola.dbt-transformation-remote-redshift';
|
|
65
80
|
readonly DBT_TRANSFORMATION_REMOTE_SNOWFLAKE: 'keboola.dbt-transformation-remote-snowflake';
|
|
81
|
+
readonly APP_CONFIGURATION_MIGRATION_TOOL: 'keboola.app-configuration-migration-tool';
|
|
66
82
|
readonly FLOW_MIGRATION_TOOL: 'keboola.flow-migration-tool';
|
|
67
83
|
readonly SSH_KEYGEN_V2: 'keboola.ssh-keygen-v2';
|
|
68
84
|
};
|
|
@@ -275,4 +291,4 @@ declare const URLS: {
|
|
|
275
291
|
};
|
|
276
292
|
//#endregion
|
|
277
293
|
export { STACKS as a, Provider as i, Continent as n, ProjectFeature as o, KeboolaStack as r, ComponentId as s, URLS as t };
|
|
278
|
-
//# sourceMappingURL=index-
|
|
294
|
+
//# sourceMappingURL=index-DeQDdut6.d.ts.map
|
|
@@ -39,6 +39,78 @@ type ModelOptions = {
|
|
|
39
39
|
hasStorageBranches: boolean;
|
|
40
40
|
};
|
|
41
41
|
//#endregion
|
|
42
|
+
//#region src/clients/storage/__generated__/constraints.d.ts
|
|
43
|
+
/**
|
|
44
|
+
* The name of a bucket or a table.
|
|
45
|
+
*
|
|
46
|
+
* - Allowed characters: `A-Z`, `a-z`, `0-9`, dash `-` and underscore `_`. Anything else — a
|
|
47
|
+
* space, a dot, an accented letter — is rejected, not transliterated.
|
|
48
|
+
* - 1 to 96 characters.
|
|
49
|
+
* - Cannot start with an underscore. A dash or a digit as the first character is fine.
|
|
50
|
+
* - Registered (external) buckets follow this same rule, dashes included.
|
|
51
|
+
* - Uniqueness is case-insensitive within a stage: creating `MyBucket` next to `mybucket`
|
|
52
|
+
* fails with `storage.buckets.alreadyExists`, and for tables with
|
|
53
|
+
* `storage.buckets.tableAlreadyExists` or `storage.validation.tableAlreadyExists`.
|
|
54
|
+
* - To turn arbitrary user input into a name that satisfies this rule, call
|
|
55
|
+
* `POST /v2/storage/webalize/display-name` instead of reimplementing the transformation. It
|
|
56
|
+
* unaccents the input, replaces every run of disallowed characters with a single `-`, trims
|
|
57
|
+
* `-` from both ends, strips leading underscores, and truncates to 96 characters.
|
|
58
|
+
*/
|
|
59
|
+
declare const STORAGE_NAME: {
|
|
60
|
+
readonly pattern: RegExp;
|
|
61
|
+
readonly minLength: 1;
|
|
62
|
+
readonly maxLength: 96;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* The name of a table column.
|
|
66
|
+
*
|
|
67
|
+
* - Allowed characters: `A-Z`, `a-z`, `0-9` and underscore `_`. Unlike a bucket or table name,
|
|
68
|
+
* a column name may **not** contain a dash.
|
|
69
|
+
* - 1 to 64 characters.
|
|
70
|
+
* - Must start with a letter or a digit.
|
|
71
|
+
* - To turn arbitrary user input into a name that satisfies this rule, call
|
|
72
|
+
* `POST /v2/storage/webalize/column-names` instead of reimplementing the transformation. In
|
|
73
|
+
* order, it strips emoji, transliterates the rest to ASCII, replaces every run of disallowed
|
|
74
|
+
* characters with a single `_`, trims `_` from both ends, truncates to 64 characters, and
|
|
75
|
+
* strips any leading `_` the truncation left behind. Input with no usable character left
|
|
76
|
+
* webalizes to an empty string, which is *not* a valid column name.
|
|
77
|
+
* - `POST /v2/storage/validate/column-names` applies one rule the creation endpoints do not:
|
|
78
|
+
* it also rejects the backend system columns `oid`, `tableoid`, `xmin`, `cmin`, `xmax`,
|
|
79
|
+
* `cmax` and `ctid`.
|
|
80
|
+
*/
|
|
81
|
+
declare const STORAGE_COLUMN_NAME: {
|
|
82
|
+
readonly pattern: RegExp;
|
|
83
|
+
readonly minLength: 1;
|
|
84
|
+
readonly maxLength: 64;
|
|
85
|
+
};
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/domain/storageTable/nameRule.d.ts
|
|
88
|
+
/**
|
|
89
|
+
* The charset half of each rule, as a sentence.
|
|
90
|
+
*
|
|
91
|
+
* - The generated components carry the rule as a regex; a person filling in a field needs words.
|
|
92
|
+
* - A bucket or table name admits a dash. A column name does not.
|
|
93
|
+
*/
|
|
94
|
+
declare const NAME_CHARSET_HINT = "Only alphanumeric characters, dashes, and underscores are allowed.";
|
|
95
|
+
declare const COLUMN_NAME_CHARSET_HINT = "Only alphanumeric characters and underscores are allowed.";
|
|
96
|
+
/**
|
|
97
|
+
* Why Storage would reject `value` as a bucket or table name, or `null` when it would accept it.
|
|
98
|
+
*
|
|
99
|
+
* - Checks the published `StorageName` component — charset, length and the leading underscore.
|
|
100
|
+
* - Knows nothing about names already taken; uniqueness is the caller's own lookup.
|
|
101
|
+
* - `entity` only names the thing in the message.
|
|
102
|
+
*/
|
|
103
|
+
declare const validateStorageName: (value: string, entity?: string) => string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Why Storage would reject `value` as a column name, or `null` when it would accept it.
|
|
106
|
+
*
|
|
107
|
+
* - Checks the published `StorageColumnName` component, which is a different, stricter rule than
|
|
108
|
+
* `validateStorageName`: no dash, 64 characters, and the first character must be alphanumeric.
|
|
109
|
+
* - `POST /v2/storage/validate/column-names` additionally rejects the backend system columns; that
|
|
110
|
+
* is a server round-trip, not part of this check.
|
|
111
|
+
*/
|
|
112
|
+
declare const validateStorageColumnName: (value: string, entity?: string) => string | null;
|
|
113
|
+
//#endregion
|
|
42
114
|
//#region src/domain/storageTable/model.d.ts
|
|
43
115
|
type CreateBucketFn = (input: {
|
|
44
116
|
stage: BucketStage;
|
|
@@ -123,5 +195,5 @@ type StorageTable = {
|
|
|
123
195
|
};
|
|
124
196
|
declare const createStorageTable: (flags: ModelOptions) => StorageTable;
|
|
125
197
|
//#endregion
|
|
126
|
-
export { TableId as _, CreateTableFn as a,
|
|
127
|
-
//# sourceMappingURL=index-
|
|
198
|
+
export { TableId as C, Table as S, TableName as T, BucketStage as _, CreateTableFn as a, ParsedBucket as b, COLUMN_NAME_CHARSET_HINT as c, validateStorageName as d, STORAGE_COLUMN_NAME as f, BucketName as g, BucketId as h, CreateBucketFn as i, NAME_CHARSET_HINT as l, Bucket as m, StorageTableInstance as n, TableModel as o, STORAGE_NAME as p, createStorageTable as r, createTableModel as s, StorageTable as t, validateStorageColumnName as u, LegacyBucket as v, TableIdParts as w, StorageBranchBucket as x, ModelOptions as y };
|
|
199
|
+
//# sourceMappingURL=index-P1vR966i.d.cts.map
|
|
@@ -39,6 +39,78 @@ type ModelOptions = {
|
|
|
39
39
|
hasStorageBranches: boolean;
|
|
40
40
|
};
|
|
41
41
|
//#endregion
|
|
42
|
+
//#region src/clients/storage/__generated__/constraints.d.ts
|
|
43
|
+
/**
|
|
44
|
+
* The name of a bucket or a table.
|
|
45
|
+
*
|
|
46
|
+
* - Allowed characters: `A-Z`, `a-z`, `0-9`, dash `-` and underscore `_`. Anything else — a
|
|
47
|
+
* space, a dot, an accented letter — is rejected, not transliterated.
|
|
48
|
+
* - 1 to 96 characters.
|
|
49
|
+
* - Cannot start with an underscore. A dash or a digit as the first character is fine.
|
|
50
|
+
* - Registered (external) buckets follow this same rule, dashes included.
|
|
51
|
+
* - Uniqueness is case-insensitive within a stage: creating `MyBucket` next to `mybucket`
|
|
52
|
+
* fails with `storage.buckets.alreadyExists`, and for tables with
|
|
53
|
+
* `storage.buckets.tableAlreadyExists` or `storage.validation.tableAlreadyExists`.
|
|
54
|
+
* - To turn arbitrary user input into a name that satisfies this rule, call
|
|
55
|
+
* `POST /v2/storage/webalize/display-name` instead of reimplementing the transformation. It
|
|
56
|
+
* unaccents the input, replaces every run of disallowed characters with a single `-`, trims
|
|
57
|
+
* `-` from both ends, strips leading underscores, and truncates to 96 characters.
|
|
58
|
+
*/
|
|
59
|
+
declare const STORAGE_NAME: {
|
|
60
|
+
readonly pattern: RegExp;
|
|
61
|
+
readonly minLength: 1;
|
|
62
|
+
readonly maxLength: 96;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* The name of a table column.
|
|
66
|
+
*
|
|
67
|
+
* - Allowed characters: `A-Z`, `a-z`, `0-9` and underscore `_`. Unlike a bucket or table name,
|
|
68
|
+
* a column name may **not** contain a dash.
|
|
69
|
+
* - 1 to 64 characters.
|
|
70
|
+
* - Must start with a letter or a digit.
|
|
71
|
+
* - To turn arbitrary user input into a name that satisfies this rule, call
|
|
72
|
+
* `POST /v2/storage/webalize/column-names` instead of reimplementing the transformation. In
|
|
73
|
+
* order, it strips emoji, transliterates the rest to ASCII, replaces every run of disallowed
|
|
74
|
+
* characters with a single `_`, trims `_` from both ends, truncates to 64 characters, and
|
|
75
|
+
* strips any leading `_` the truncation left behind. Input with no usable character left
|
|
76
|
+
* webalizes to an empty string, which is *not* a valid column name.
|
|
77
|
+
* - `POST /v2/storage/validate/column-names` applies one rule the creation endpoints do not:
|
|
78
|
+
* it also rejects the backend system columns `oid`, `tableoid`, `xmin`, `cmin`, `xmax`,
|
|
79
|
+
* `cmax` and `ctid`.
|
|
80
|
+
*/
|
|
81
|
+
declare const STORAGE_COLUMN_NAME: {
|
|
82
|
+
readonly pattern: RegExp;
|
|
83
|
+
readonly minLength: 1;
|
|
84
|
+
readonly maxLength: 64;
|
|
85
|
+
};
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/domain/storageTable/nameRule.d.ts
|
|
88
|
+
/**
|
|
89
|
+
* The charset half of each rule, as a sentence.
|
|
90
|
+
*
|
|
91
|
+
* - The generated components carry the rule as a regex; a person filling in a field needs words.
|
|
92
|
+
* - A bucket or table name admits a dash. A column name does not.
|
|
93
|
+
*/
|
|
94
|
+
declare const NAME_CHARSET_HINT = "Only alphanumeric characters, dashes, and underscores are allowed.";
|
|
95
|
+
declare const COLUMN_NAME_CHARSET_HINT = "Only alphanumeric characters and underscores are allowed.";
|
|
96
|
+
/**
|
|
97
|
+
* Why Storage would reject `value` as a bucket or table name, or `null` when it would accept it.
|
|
98
|
+
*
|
|
99
|
+
* - Checks the published `StorageName` component — charset, length and the leading underscore.
|
|
100
|
+
* - Knows nothing about names already taken; uniqueness is the caller's own lookup.
|
|
101
|
+
* - `entity` only names the thing in the message.
|
|
102
|
+
*/
|
|
103
|
+
declare const validateStorageName: (value: string, entity?: string) => string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Why Storage would reject `value` as a column name, or `null` when it would accept it.
|
|
106
|
+
*
|
|
107
|
+
* - Checks the published `StorageColumnName` component, which is a different, stricter rule than
|
|
108
|
+
* `validateStorageName`: no dash, 64 characters, and the first character must be alphanumeric.
|
|
109
|
+
* - `POST /v2/storage/validate/column-names` additionally rejects the backend system columns; that
|
|
110
|
+
* is a server round-trip, not part of this check.
|
|
111
|
+
*/
|
|
112
|
+
declare const validateStorageColumnName: (value: string, entity?: string) => string | null;
|
|
113
|
+
//#endregion
|
|
42
114
|
//#region src/domain/storageTable/model.d.ts
|
|
43
115
|
type CreateBucketFn = (input: {
|
|
44
116
|
stage: BucketStage;
|
|
@@ -123,5 +195,5 @@ type StorageTable = {
|
|
|
123
195
|
};
|
|
124
196
|
declare const createStorageTable: (flags: ModelOptions) => StorageTable;
|
|
125
197
|
//#endregion
|
|
126
|
-
export { TableId as _, CreateTableFn as a,
|
|
127
|
-
//# sourceMappingURL=index-
|
|
198
|
+
export { TableId as C, Table as S, TableName as T, BucketStage as _, CreateTableFn as a, ParsedBucket as b, COLUMN_NAME_CHARSET_HINT as c, validateStorageName as d, STORAGE_COLUMN_NAME as f, BucketName as g, BucketId as h, CreateBucketFn as i, NAME_CHARSET_HINT as l, Bucket as m, StorageTableInstance as n, TableModel as o, STORAGE_NAME as p, createStorageTable as r, createTableModel as s, StorageTable as t, validateStorageColumnName as u, LegacyBucket as v, TableIdParts as w, StorageBranchBucket as x, ModelOptions as y };
|
|
199
|
+
//# sourceMappingURL=index-P1vR966i.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "./types-B2w2TtSA.js";
|
|
2
2
|
import { h as ProjectToolPolicyValue, m as ProjectToolPolicy } from "./types-DlQw6FCi.js";
|
|
3
3
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-BH3x7xU7.js";
|
|
4
|
-
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-
|
|
4
|
+
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-AYX7VtS6.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/clients/kaiAgent/kaiAgentClient.d.ts
|
|
7
7
|
declare const agentSettingsSchema: z.ZodObject<{
|
|
@@ -30,6 +30,13 @@ declare const userAgentSettingsSchema: z.ZodObject<{
|
|
|
30
30
|
createdAt: z.ZodString;
|
|
31
31
|
updatedAt: z.ZodString;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
+
declare const userMemoriesSchema: z.ZodObject<{
|
|
34
|
+
memories: z.ZodArray<z.ZodObject<{
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
content: z.ZodString;
|
|
37
|
+
createdAt: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
33
40
|
declare const toolsListResponseSchema: z.ZodObject<{
|
|
34
41
|
tools: z.ZodArray<z.ZodObject<{
|
|
35
42
|
name: z.ZodString;
|
|
@@ -112,6 +119,7 @@ type SpendCapsView = Omit<z.infer<typeof spendCapsViewSchema>, 'defaultProjectCa
|
|
|
112
119
|
};
|
|
113
120
|
type AgentSettings = z.infer<typeof agentSettingsSchema>;
|
|
114
121
|
type UserAgentSettings = z.infer<typeof userAgentSettingsSchema>;
|
|
122
|
+
type UserMemory = z.infer<typeof userMemoriesSchema>['memories'][number];
|
|
115
123
|
type ToolsListResponse = z.infer<typeof toolsListResponseSchema>;
|
|
116
124
|
type SkillsListResponse = z.infer<typeof skillsListResponseSchema>;
|
|
117
125
|
type SandboxFileListing = z.infer<typeof sandboxFileListingSchema>;
|
|
@@ -208,6 +216,7 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
208
216
|
createdAt?: string;
|
|
209
217
|
hidden?: boolean;
|
|
210
218
|
autoForwarded?: boolean;
|
|
219
|
+
pausedReason?: 'turn-budget';
|
|
211
220
|
requestContext?: {
|
|
212
221
|
path?: string;
|
|
213
222
|
sqlEditorActive?: boolean;
|
|
@@ -248,6 +257,8 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
248
257
|
updateProjectToolPolicy: (toolPermissions: ProjectToolPolicy, signal?: AbortSignal) => Promise<AgentSettings>;
|
|
249
258
|
getUserAgentSettings: (signal?: AbortSignal) => Promise<UserAgentSettings>;
|
|
250
259
|
updateUserAgentSettings: (request: UpdateUserAgentSettingsRequest, signal?: AbortSignal) => Promise<UserAgentSettings>;
|
|
260
|
+
getUserMemories: (signal?: AbortSignal) => Promise<UserMemory[]>;
|
|
261
|
+
deleteUserMemory: (memoryId: string, signal?: AbortSignal) => Promise<void>;
|
|
251
262
|
getSpendCaps: (signal?: AbortSignal) => Promise<SpendCapsView>;
|
|
252
263
|
updateSpendCaps: (request: UpdateSpendCapsRequest, signal?: AbortSignal) => Promise<SpendCapsView>;
|
|
253
264
|
setUserSpendLimit: (userId: string, overrideLimitPpu: number | null, signal?: AbortSignal) => Promise<SpendCapMember>;
|
|
@@ -260,5 +271,5 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
260
271
|
chatStreamUrl: string;
|
|
261
272
|
};
|
|
262
273
|
//#endregion
|
|
263
|
-
export {
|
|
264
|
-
//# sourceMappingURL=index-
|
|
274
|
+
export { UserMemory as a, UserAgentSettings as i, SpendCapMember as n, createKaiAgentClient as o, SpendCapsView as r, AgentSettings as t };
|
|
275
|
+
//# sourceMappingURL=index-R-w0Zncz.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "./types-B2w2TtSA.js";
|
|
2
|
-
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-
|
|
2
|
+
import { a as GetVariablesQuery, i as GetVariablesByBranchId, n as CreateVariableBody, o as VariableWithHash, r as DeleteVariablePath } from "./types-BBUZ9EHs.js";
|
|
3
3
|
//#region src/clients/vault/vaultClient.d.ts
|
|
4
4
|
declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -20,7 +20,8 @@ declare const createVaultClient: ({ baseUrl, middlewares, auth }: ClientInitOpti
|
|
|
20
20
|
getProjectWideVariables: (signal?: AbortSignal) => Promise<VariableWithHash[]>;
|
|
21
21
|
getVariables: (query: GetVariablesQuery, signal?: AbortSignal) => Promise<VariableWithHash[]>;
|
|
22
22
|
getVariablesByBranchId: (branchId: GetVariablesByBranchId['branchId'], signal?: AbortSignal) => Promise<VariableWithHash[]>;
|
|
23
|
+
getVariablesInScope: (branchId: string | null, signal?: AbortSignal) => Promise<VariableWithHash[]>;
|
|
23
24
|
};
|
|
24
25
|
//#endregion
|
|
25
26
|
export { createVaultClient as t };
|
|
26
|
-
//# sourceMappingURL=index-
|
|
27
|
+
//# sourceMappingURL=index-zyxZVJnd.d.ts.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,54 +1,55 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
3
3
|
const require_project = require("./project-BvFi19K_.cjs");
|
|
4
|
-
const
|
|
5
|
-
const require_queue = require("./queue-UG_BWKIC.cjs");
|
|
4
|
+
const require_collect = require("./collect-B5TCNiT1.cjs");
|
|
6
5
|
const require_concurrent = require("./concurrent-CdVfR1N5.cjs");
|
|
7
6
|
const require_dedupe = require("./dedupe-OSnnst2u.cjs");
|
|
7
|
+
const require_jobStatus = require("./jobStatus-CcNlIy5R.cjs");
|
|
8
8
|
const require_store = require("./store-xS-Cu_VS.cjs");
|
|
9
|
-
const require_storage = require("./storage-
|
|
9
|
+
const require_storage = require("./storage-DAJquqEw.cjs");
|
|
10
10
|
const require_tag = require("./tag-DHS_soa7.cjs");
|
|
11
11
|
const require_generateUUID = require("./generateUUID-C6qKBPIv.cjs");
|
|
12
12
|
const require_isPlainObject = require("./isPlainObject-BB3iy87C.cjs");
|
|
13
|
-
const require_configurations = require("./configurations-
|
|
13
|
+
const require_configurations = require("./configurations-D_Rbs0Wl.cjs");
|
|
14
14
|
const require_UserError = require("./UserError-CSGO1qII.cjs");
|
|
15
|
-
const require_createFetchClient = require("./createFetchClient-
|
|
16
|
-
const require_validateConnectionStatus = require("./validateConnectionStatus-
|
|
17
|
-
const require_ManagementClientAuthError = require("./ManagementClientAuthError-
|
|
15
|
+
const require_createFetchClient = require("./createFetchClient-BgihytBn.cjs");
|
|
16
|
+
const require_validateConnectionStatus = require("./validateConnectionStatus-Ca1uEizv.cjs");
|
|
17
|
+
const require_ManagementClientAuthError = require("./ManagementClientAuthError-BFZOtLgj.cjs");
|
|
18
18
|
const require_QueryJobTimeoutError = require("./QueryJobTimeoutError-CVNPdCWX.cjs");
|
|
19
19
|
const require_SyncActionError = require("./SyncActionError-BG0zwchi.cjs");
|
|
20
20
|
const require_ValidationError = require("./ValidationError-D65QU0uq.cjs");
|
|
21
|
-
const require_createGenericFetchClient = require("./createGenericFetchClient-
|
|
22
|
-
const require_import = require("./import-
|
|
23
|
-
const require_authClient = require("./authClient-
|
|
24
|
-
const require_management = require("./management-
|
|
21
|
+
const require_createGenericFetchClient = require("./createGenericFetchClient-C7Y0YVfc.cjs");
|
|
22
|
+
const require_import = require("./import-BSYvG3Uy.cjs");
|
|
23
|
+
const require_authClient = require("./authClient-BxqRGR5c.cjs");
|
|
24
|
+
const require_management = require("./management-5597SiC7.cjs");
|
|
25
25
|
const require_constants = require("./constants-C6xku_Vx.cjs");
|
|
26
|
-
const require_storageTable = require("./storageTable-
|
|
27
|
-
const require_kaiMemory = require("./kaiMemory-
|
|
28
|
-
const require_semanticLayer = require("./semanticLayer-
|
|
26
|
+
const require_storageTable = require("./storageTable-BNOR2FCh.cjs");
|
|
27
|
+
const require_kaiMemory = require("./kaiMemory-U0DG-CpY.cjs");
|
|
28
|
+
const require_semanticLayer = require("./semanticLayer-D3NDh_QH.cjs");
|
|
29
29
|
const require_sdk_storage_index = require("./sdk/storage/index.cjs");
|
|
30
30
|
const require_sdk_vault_index = require("./sdk/vault/index.cjs");
|
|
31
31
|
const require_ai_index = require("./ai/index.cjs");
|
|
32
|
-
const require_appLogs = require("./appLogs-
|
|
32
|
+
const require_appLogs = require("./appLogs-oZvt59mk.cjs");
|
|
33
33
|
const require_apps_index = require("./apps/index.cjs");
|
|
34
34
|
const require_billing_index = require("./billing/index.cjs");
|
|
35
|
-
const require_businessWorkspaceApi = require("./businessWorkspaceApi-
|
|
35
|
+
const require_businessWorkspaceApi = require("./businessWorkspaceApi-Uzqu0PJM.cjs");
|
|
36
36
|
const require_chat_index = require("./chat/index.cjs");
|
|
37
|
-
const require_dataScience = require("./dataScience-
|
|
37
|
+
const require_dataScience = require("./dataScience-BoS8Xfvx.cjs");
|
|
38
38
|
const require_editor_index = require("./editor/index.cjs");
|
|
39
39
|
const require_encryption_index = require("./encryption/index.cjs");
|
|
40
|
-
const require_kaiAgent = require("./kaiAgent-
|
|
41
|
-
const require_metastore = require("./metastore-
|
|
40
|
+
const require_kaiAgent = require("./kaiAgent-ph4DRKlT.cjs");
|
|
41
|
+
const require_metastore = require("./metastore-DwMFlP2d.cjs");
|
|
42
42
|
const require_notifications_index = require("./notifications/index.cjs");
|
|
43
|
-
const require_oauth = require("./oauth
|
|
43
|
+
const require_oauth = require("./oauth-L0Uic3YA.cjs");
|
|
44
44
|
const require_omnisearch_index = require("./omnisearch/index.cjs");
|
|
45
|
-
const require_queryService = require("./queryService-
|
|
45
|
+
const require_queryService = require("./queryService-DSww_TJp.cjs");
|
|
46
|
+
const require_queue = require("./queue-DpMvv8C-.cjs");
|
|
46
47
|
const require_scheduler_index = require("./scheduler/index.cjs");
|
|
47
48
|
const require_stream_index = require("./stream/index.cjs");
|
|
48
|
-
const require_syncActions = require("./syncActions-
|
|
49
|
+
const require_syncActions = require("./syncActions-DyxNmbUR.cjs");
|
|
49
50
|
const require_telemetry_index = require("./telemetry/index.cjs");
|
|
50
51
|
const require_vault_index = require("./vault/index.cjs");
|
|
51
|
-
const require_middleware = require("./middleware-
|
|
52
|
+
const require_middleware = require("./middleware-xhg2r2fE.cjs");
|
|
52
53
|
const require_sdk_queryService_index = require("./sdk/queryService/index.cjs");
|
|
53
54
|
let zod = require("zod");
|
|
54
55
|
zod = require_rolldown_runtime.__toESM(zod, 1);
|
|
@@ -723,6 +724,24 @@ const createVariablesSdk = ({ storageClient }) => {
|
|
|
723
724
|
};
|
|
724
725
|
};
|
|
725
726
|
//#endregion
|
|
727
|
+
//#region src/keboola/createSdk.ts
|
|
728
|
+
const createSdk = ({ storage, services, context }) => ({
|
|
729
|
+
configuration: require_configurations.createConfigurationSdk({
|
|
730
|
+
storageClient: storage,
|
|
731
|
+
encryptionClient: services.encryption,
|
|
732
|
+
context
|
|
733
|
+
}),
|
|
734
|
+
tag: require_tag.createTagSdk({ metastoreClient: services.metastore }),
|
|
735
|
+
semanticLayer: require_semanticLayer.createSemanticLayerSdk({ metastoreClient: services.metastore }),
|
|
736
|
+
kaiMemory: require_kaiMemory.createKaiMemorySdk({ metastoreClient: services.metastore }),
|
|
737
|
+
storage: require_sdk_storage_index.createStorageSdk({ storageClient: storage }),
|
|
738
|
+
vault: require_sdk_vault_index.createVaultSdk({
|
|
739
|
+
vaultClient: services.vault,
|
|
740
|
+
encryptionClient: services.encryption
|
|
741
|
+
}),
|
|
742
|
+
variables: createVariablesSdk({ storageClient: storage })
|
|
743
|
+
});
|
|
744
|
+
//#endregion
|
|
726
745
|
//#region src/keboola/createServiceClients.ts
|
|
727
746
|
const withPath = (serviceBaseUrl, path) => typeof serviceBaseUrl === "string" ? `${serviceBaseUrl}${path}` : async () => `${await serviceBaseUrl()}${path}`;
|
|
728
747
|
const createServiceClients = ({ baseUrl, auth, getServiceBaseUrl, middlewareFor, attachTokenMiddleware }) => createServiceClientRegistry()({
|
|
@@ -964,28 +983,16 @@ const createProjectClients = async ({ baseUrl, getStorageToken, onStorageTokenRe
|
|
|
964
983
|
middlewareFor,
|
|
965
984
|
attachTokenMiddleware: attach
|
|
966
985
|
});
|
|
967
|
-
const sdk = {
|
|
968
|
-
configuration: require_configurations.createConfigurationSdk({
|
|
969
|
-
storageClient: storage,
|
|
970
|
-
encryptionClient: services.encryption,
|
|
971
|
-
context
|
|
972
|
-
}),
|
|
973
|
-
tag: require_tag.createTagSdk({ metastoreClient: services.metastore }),
|
|
974
|
-
semanticLayer: require_semanticLayer.createSemanticLayerSdk({ metastoreClient: services.metastore }),
|
|
975
|
-
kaiMemory: require_kaiMemory.createKaiMemorySdk({ metastoreClient: services.metastore }),
|
|
976
|
-
storage: require_sdk_storage_index.createStorageSdk({ storageClient: storage }),
|
|
977
|
-
vault: require_sdk_vault_index.createVaultSdk({
|
|
978
|
-
vaultClient: services.vault,
|
|
979
|
-
encryptionClient: services.encryption
|
|
980
|
-
}),
|
|
981
|
-
variables: createVariablesSdk({ storageClient: storage })
|
|
982
|
-
};
|
|
983
986
|
return {
|
|
984
987
|
context,
|
|
985
988
|
serviceMeta,
|
|
986
989
|
storage,
|
|
987
990
|
...services,
|
|
988
|
-
sdk
|
|
991
|
+
sdk: createSdk({
|
|
992
|
+
storage,
|
|
993
|
+
services,
|
|
994
|
+
context
|
|
995
|
+
})
|
|
989
996
|
};
|
|
990
997
|
};
|
|
991
998
|
//#endregion
|
|
@@ -1890,6 +1897,11 @@ const createPerProject = ({ state, credentials, middlewareFor, stack, clientServ
|
|
|
1890
1897
|
const attach = attachFor(project);
|
|
1891
1898
|
const live = once(() => buildLive(project, attach));
|
|
1892
1899
|
const clients = once(() => buildClients(project, attach));
|
|
1900
|
+
const sdk = once(() => createSdk({
|
|
1901
|
+
storage: live().storage,
|
|
1902
|
+
services: clients().client,
|
|
1903
|
+
context: live().context
|
|
1904
|
+
}));
|
|
1893
1905
|
return {
|
|
1894
1906
|
api: buildApi(project),
|
|
1895
1907
|
get clients() {
|
|
@@ -1900,6 +1912,9 @@ const createPerProject = ({ state, credentials, middlewareFor, stack, clientServ
|
|
|
1900
1912
|
},
|
|
1901
1913
|
get context() {
|
|
1902
1914
|
return live().context;
|
|
1915
|
+
},
|
|
1916
|
+
get sdk() {
|
|
1917
|
+
return sdk();
|
|
1903
1918
|
}
|
|
1904
1919
|
};
|
|
1905
1920
|
};
|
|
@@ -2141,6 +2156,7 @@ const createKeboola = ({ defaultBaseUrl, storage, middlewares, clientServiceUrls
|
|
|
2141
2156
|
const derived = perProject.get(resolve.project());
|
|
2142
2157
|
if (property === "context") return derived.context;
|
|
2143
2158
|
if (property === "storage") return derived.storage;
|
|
2159
|
+
if (property === "sdk") return derived.sdk;
|
|
2144
2160
|
const { client, meta } = derived.clients;
|
|
2145
2161
|
if (property === "serviceMeta") return meta;
|
|
2146
2162
|
return client[property];
|
|
@@ -2471,6 +2487,16 @@ const createRetryMiddleware = (options) => {
|
|
|
2471
2487
|
};
|
|
2472
2488
|
};
|
|
2473
2489
|
//#endregion
|
|
2490
|
+
//#region src/middlewares/uiVersionMiddleware.ts
|
|
2491
|
+
/** Stamps `X-KBC-Ui-Version`; an empty `uiVersion` sends no header. */
|
|
2492
|
+
const createUiVersionMiddleware = (uiVersion) => {
|
|
2493
|
+
if (!uiVersion) return (next) => next;
|
|
2494
|
+
return (next) => async (request) => {
|
|
2495
|
+
request.request.headers.set(require_createFetchClient.KeboolaHttpHeader.UI_VERSION, uiVersion);
|
|
2496
|
+
return next(request);
|
|
2497
|
+
};
|
|
2498
|
+
};
|
|
2499
|
+
//#endregion
|
|
2474
2500
|
exports.ApiError = require_createFetchClient.ApiError;
|
|
2475
2501
|
exports.HtmlResponseError = require_validateConnectionStatus.HtmlResponseError;
|
|
2476
2502
|
exports.HttpContentType = require_createFetchClient.HttpContentType;
|
|
@@ -2490,7 +2516,7 @@ exports.ValidationError = require_ValidationError.ValidationError;
|
|
|
2490
2516
|
exports.asError = require_jobStatus.asError;
|
|
2491
2517
|
exports.assert = assert;
|
|
2492
2518
|
exports.coalesce = coalesce;
|
|
2493
|
-
exports.collect =
|
|
2519
|
+
exports.collect = require_collect.collect;
|
|
2494
2520
|
exports.concurrent = require_concurrent.concurrent;
|
|
2495
2521
|
exports.createDerivedAsyncStore = createDerivedAsyncStore;
|
|
2496
2522
|
exports.createDerivedStore = createDerivedStore;
|
|
@@ -2509,6 +2535,7 @@ exports.createRetryMiddleware = createRetryMiddleware;
|
|
|
2509
2535
|
exports.createSessionStorage = createSessionStorage;
|
|
2510
2536
|
exports.createStorageSdk = require_sdk_storage_index.createStorageSdk;
|
|
2511
2537
|
exports.createStore = require_store.createStore;
|
|
2538
|
+
exports.createUiVersionMiddleware = createUiVersionMiddleware;
|
|
2512
2539
|
exports.dedupe = require_dedupe.dedupe;
|
|
2513
2540
|
exports.deepMerge = deepMerge;
|
|
2514
2541
|
exports.delay = require_jobStatus.delay;
|