@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
|
@@ -62,6 +62,32 @@ type paths = {
|
|
|
62
62
|
patch?: never;
|
|
63
63
|
trace?: never;
|
|
64
64
|
};
|
|
65
|
+
'/schedules/migrate': {
|
|
66
|
+
parameters: {
|
|
67
|
+
query?: never;
|
|
68
|
+
header?: never;
|
|
69
|
+
path?: never;
|
|
70
|
+
cookie?: never;
|
|
71
|
+
};
|
|
72
|
+
get?: never;
|
|
73
|
+
put?: never;
|
|
74
|
+
/**
|
|
75
|
+
* Activate Schedule With A Reused Token
|
|
76
|
+
* @description Activates a configuration of `keboola.scheduler` so that it becomes an active schedule, reusing the Storage token of an already activated schedule instead of creating a new one.
|
|
77
|
+
*
|
|
78
|
+
* Restricted to migrating a schedule from `keboola.orchestrator` to `keboola.flow`: the source schedule must target `keboola.orchestrator` and the activated configuration must target `keboola.flow`, otherwise the request is rejected with `400`. No Storage token is created, so the caller does not have to be allowed to create tokens - and because this endpoint accepts a role-less token where `POST /schedules` does not, the allowed component pair is deliberately narrow. The token is shared, not moved - the source schedule keeps running under it, and the token is dropped only once the last schedule using it is deleted.
|
|
79
|
+
*
|
|
80
|
+
* If there already is a schedule for the given `configurationId`, it is updated and `sourceConfigurationId` is ignored, so repeated calls stay idempotent.
|
|
81
|
+
*
|
|
82
|
+
* Unlike `POST /schedules`, this endpoint also accepts a role-less (machine-minted) project token, because it mints no token of its own. Everything else about the authorization is the same.
|
|
83
|
+
*/
|
|
84
|
+
post: operations['migrateSchedule'];
|
|
85
|
+
delete?: never;
|
|
86
|
+
options?: never;
|
|
87
|
+
head?: never;
|
|
88
|
+
patch?: never;
|
|
89
|
+
trace?: never;
|
|
90
|
+
};
|
|
65
91
|
'/schedules/{scheduleId}': {
|
|
66
92
|
parameters: {
|
|
67
93
|
query?: never;
|
|
@@ -160,6 +186,38 @@ type components = {
|
|
|
160
186
|
timezone: string;
|
|
161
187
|
/** @enum {string} */
|
|
162
188
|
state: 'enabled' | 'disabled';
|
|
189
|
+
/**
|
|
190
|
+
* Format: date-time
|
|
191
|
+
* @description ISO-8601 timestamp of the next firing, evaluated in the schedule's timezone.
|
|
192
|
+
* Null when the schedule is not enabled or the expression can not be evaluated.
|
|
193
|
+
* Reflects the schedule's own state only: a schedule pointing at a disabled target
|
|
194
|
+
* configuration still reports its next fire time even though the run would be skipped.
|
|
195
|
+
* @example 2021-03-13T06:30:00+00:00
|
|
196
|
+
*/
|
|
197
|
+
nextRunAt: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* @description The next four firings, same semantics as nextRunAt (which is the first element).
|
|
200
|
+
* Empty when the schedule is not enabled or the expression can not be evaluated.
|
|
201
|
+
* @example [
|
|
202
|
+
* "2021-03-13T06:30:00+00:00",
|
|
203
|
+
* "2021-03-14T06:30:00+00:00",
|
|
204
|
+
* "2021-03-15T06:30:00+00:00",
|
|
205
|
+
* "2021-03-16T06:30:00+00:00"
|
|
206
|
+
* ]
|
|
207
|
+
*/
|
|
208
|
+
nextRunsAt: string[];
|
|
209
|
+
/**
|
|
210
|
+
* @description Human-readable prose describing the cron expression, with the timezone appended.
|
|
211
|
+
* Falls back to the raw cron expression when it can not be parsed.
|
|
212
|
+
* @example Every 2 minutes (UTC)
|
|
213
|
+
*/
|
|
214
|
+
humanCron: string;
|
|
215
|
+
/**
|
|
216
|
+
* @description Coarse grouping of the schedule cadence for display purposes.
|
|
217
|
+
* @example custom
|
|
218
|
+
* @enum {string}
|
|
219
|
+
*/
|
|
220
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
163
221
|
};
|
|
164
222
|
target: {
|
|
165
223
|
/** @example keboola.ex-db-snowflake */
|
|
@@ -237,6 +295,53 @@ interface operations {
|
|
|
237
295
|
};
|
|
238
296
|
};
|
|
239
297
|
};
|
|
298
|
+
migrateSchedule: {
|
|
299
|
+
parameters: {
|
|
300
|
+
query?: never;
|
|
301
|
+
header?: never;
|
|
302
|
+
path?: never;
|
|
303
|
+
cookie?: never;
|
|
304
|
+
};
|
|
305
|
+
requestBody?: {
|
|
306
|
+
content: {
|
|
307
|
+
'application/json': {
|
|
308
|
+
/** @description Id of the `keboola.scheduler` configuration to activate. */
|
|
309
|
+
configurationId: string;
|
|
310
|
+
/** @description Id of the `keboola.scheduler` configuration whose schedule owns the Storage token the new schedule will run under. That configuration must already have a schedule in the same project as the caller's token - it is the schedule row that is looked up, so a configuration that was never activated is rejected - and that schedule must target `keboola.orchestrator`. Its state does not matter: a disabled schedule still owns a usable token. */
|
|
311
|
+
sourceConfigurationId: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
responses: {
|
|
316
|
+
/** @description Schedule Activated */
|
|
317
|
+
200: {
|
|
318
|
+
headers: {
|
|
319
|
+
[name: string]: unknown;
|
|
320
|
+
};
|
|
321
|
+
content: {
|
|
322
|
+
'application/json': components['schemas']['Schedule'];
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
/** @description There is no schedule for the given `sourceConfigurationId` in this project, or the component pair is not `keboola.orchestrator` to `keboola.flow` */
|
|
326
|
+
400: {
|
|
327
|
+
headers: {
|
|
328
|
+
[name: string]: unknown;
|
|
329
|
+
};
|
|
330
|
+
content: {
|
|
331
|
+
'application/json': components['schemas']['Error'];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
/** @description Error response */
|
|
335
|
+
default: {
|
|
336
|
+
headers: {
|
|
337
|
+
[name: string]: unknown;
|
|
338
|
+
};
|
|
339
|
+
content: {
|
|
340
|
+
'application/json': components['schemas']['Error'];
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
240
345
|
getSchedule: {
|
|
241
346
|
parameters: {
|
|
242
347
|
query?: never;
|
|
@@ -370,4 +475,4 @@ type SchedulePath = OpenapiPathType<paths['/schedules/{scheduleId}']['get']>;
|
|
|
370
475
|
type ConfigurationPath = OpenapiPathType<paths['/configurations/{configurationId}']['delete']>;
|
|
371
476
|
//#endregion
|
|
372
477
|
export { SchedulePath as a, Schedule as i, ConfigurationPath as n, Schedules as o, GetSchedulesQuery as r, ActivateScheduleBody as t };
|
|
373
|
-
//# sourceMappingURL=types-
|
|
478
|
+
//# sourceMappingURL=types-CgBzm1YR.d.cts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as CreateMetaObjectInput } from "./types-
|
|
2
|
-
import { n as createMetastoreClient } from "./index-
|
|
1
|
+
import { i as CreateMetaObjectInput } from "./types-CwZgZqrA.js";
|
|
2
|
+
import { n as createMetastoreClient } from "./index-B72LTF-k.js";
|
|
3
3
|
//#region src/sdks/semanticLayer/vocabulary.d.ts
|
|
4
4
|
/**
|
|
5
|
-
* The closed value sets the metastore accepts
|
|
5
|
+
* The closed value sets the metastore accepts on a semantic object.
|
|
6
6
|
*
|
|
7
7
|
* - The single runtime source for the unions `./types` derives from these arrays.
|
|
8
8
|
* - Imports nothing: `./types` reads it, never the reverse.
|
|
@@ -22,6 +22,8 @@ declare const CONSTRAINT_SEVERITIES: readonly ['error', 'warning', 'info'];
|
|
|
22
22
|
declare const CONSTRAINT_SCOPES: readonly ['global', 'per_location', 'per_date', 'per_category'];
|
|
23
23
|
declare const RULE_OPERATORS: readonly ['<', '<=', '=', '>=', '>', '!=', 'between', 'in', 'sum_equals', 'ratio_between'];
|
|
24
24
|
declare const RELATIONSHIP_JOIN_TYPES: readonly ['left', 'inner'];
|
|
25
|
+
/** Who can read an object, narrowest first; an envelope `meta` field, not part of `data`. */
|
|
26
|
+
declare const SEMANTIC_OBJECT_SCOPES: readonly ['project', 'targeted', 'organization'];
|
|
25
27
|
//#endregion
|
|
26
28
|
//#region src/sdks/semanticLayer/types.d.ts
|
|
27
29
|
type MetastoreClient = ReturnType<typeof createMetastoreClient>;
|
|
@@ -133,16 +135,24 @@ type SemanticChildObjectDataMap = {
|
|
|
133
135
|
};
|
|
134
136
|
type SemanticChildObjectType = keyof SemanticChildObjectDataMap;
|
|
135
137
|
type SemanticObjectType = SemanticChildObjectType | 'semantic-model';
|
|
138
|
+
type SemanticObjectScope = (typeof SEMANTIC_OBJECT_SCOPES)[number];
|
|
136
139
|
type SemanticObjectMeta = {
|
|
137
140
|
name?: string;
|
|
138
141
|
branch?: string;
|
|
139
|
-
projectId?: number;
|
|
142
|
+
projectId?: number | null;
|
|
140
143
|
organizationId?: string;
|
|
141
144
|
revision?: number;
|
|
142
145
|
schemaVersion?: string;
|
|
143
146
|
createdAt?: string;
|
|
144
147
|
lastUpdated?: string;
|
|
145
148
|
revisionCreatedAt?: string;
|
|
149
|
+
scope?: SemanticObjectScope;
|
|
150
|
+
sourceProjectId?: number;
|
|
151
|
+
/** The projects a `targeted` object is shared with, read-only. */
|
|
152
|
+
targetProjectIds?: number[];
|
|
153
|
+
/** Set while a `project`-scope object awaits an org-admin decision. Cleared by promoting
|
|
154
|
+
* (PATCH `{scope:"organization"}`) or withdrawing the request. */
|
|
155
|
+
scopeElevationRequestedAt?: string;
|
|
146
156
|
};
|
|
147
157
|
/**
|
|
148
158
|
* Normalized metastore object as returned by this SDK. Matches the live metastore
|
|
@@ -171,6 +181,8 @@ type SemanticModelChildRef = {
|
|
|
171
181
|
objectType: SemanticChildObjectType;
|
|
172
182
|
objectUUID: string;
|
|
173
183
|
name: string | undefined;
|
|
184
|
+
/** What sibling objects point at it by: a dataset's `tableId`, a metric's `name`; else absent. */
|
|
185
|
+
referenceKey?: string;
|
|
174
186
|
};
|
|
175
187
|
/**
|
|
176
188
|
* An object a read could not parse, as far as the raw envelope can be trusted to say.
|
|
@@ -190,5 +202,5 @@ type SemanticModelChildDeleteFailure = SemanticModelChildRef & {
|
|
|
190
202
|
error: unknown;
|
|
191
203
|
};
|
|
192
204
|
//#endregion
|
|
193
|
-
export {
|
|
194
|
-
//# sourceMappingURL=types-
|
|
205
|
+
export { CONSTRAINT_SEVERITIES as A, SemanticRelationshipJoinType as C, SemanticValidationQuery as D, SemanticUnreadableObjectRef as E, SEMANTIC_OBJECT_SCOPES as F, SQL_DIALECTS as I, FIELD_ROLES as M, RELATIONSHIP_JOIN_TYPES as N, UpdateSemanticObjectMeta as O, RULE_OPERATORS as P, SemanticRelationshipData as S, SemanticRuleOperator as T, SemanticModelData as _, SemanticChildObjectType as a, SemanticObjectScope as b, SemanticConstraintSeverity as c, SemanticFieldData as d, SemanticFieldRole as f, SemanticModelChildRef as g, SemanticModelChildDeleteFailure as h, SemanticChildObjectDataMap as i, CONSTRAINT_TYPES as j, CONSTRAINT_SCOPES as k, SemanticConstraintType as l, SemanticMetricData as m, MetastoreClient as n, SemanticConstraintData as o, SemanticGlossaryData as p, SemanticAiMetadata as r, SemanticConstraintScope as s, CreateSemanticObjectMeta as t, SemanticDatasetData as u, SemanticObject as v, SemanticRuleExpression as w, SemanticObjectType as x, SemanticObjectMeta as y };
|
|
206
|
+
//# sourceMappingURL=types-CigD_EF5.d.ts.map
|
|
@@ -1663,7 +1663,12 @@ type components = {
|
|
|
1663
1663
|
};
|
|
1664
1664
|
//#endregion
|
|
1665
1665
|
//#region src/clients/metastore/repository/types.d.ts
|
|
1666
|
-
type
|
|
1666
|
+
type MetaObjectScope = 'project' | 'organization' | 'targeted';
|
|
1667
|
+
type MetaObjectMeta = Omit<NonNullable<components['schemas']['handlers.JSONAPIMetaObjectResource']['meta']>, 'projectId' | 'scope'> & {
|
|
1668
|
+
targetProjectIds?: number[];
|
|
1669
|
+
projectId?: number | null;
|
|
1670
|
+
scope?: MetaObjectScope;
|
|
1671
|
+
};
|
|
1667
1672
|
type MetaObject<TData extends Record<string, unknown>, TDataOptional extends boolean = false> = {
|
|
1668
1673
|
uuid: string;
|
|
1669
1674
|
meta: MetaObjectMeta;
|
|
@@ -1675,14 +1680,30 @@ type MetaObject<TData extends Record<string, unknown>, TDataOptional extends boo
|
|
|
1675
1680
|
type GetMetaObjectsPath = OpenapiPathType<paths['/api/v1/repository/{objectType}']['get']>;
|
|
1676
1681
|
type GetMetaObjectsSchemaQuery = OpenapiQueryType<paths['/api/v1/repository/{objectType}']['get']>;
|
|
1677
1682
|
type GetMetaObjectsQuery = GetMetaObjectsSchemaQuery & Record<string, string | number | boolean>;
|
|
1683
|
+
/**
|
|
1684
|
+
* `GetMetaObjectsPath` plus the dynamic-filter `query` hybrid, plus the server-side filters this
|
|
1685
|
+
* list endpoint supports beyond what the generated query type expresses (`limit`/`offset` only —
|
|
1686
|
+
* swaggo can't declare a dynamic per-field query key in its annotations).
|
|
1687
|
+
*/
|
|
1678
1688
|
type GetMetaObjectsInput = GetMetaObjectsPath & {
|
|
1679
1689
|
query?: GetMetaObjectsQuery;
|
|
1690
|
+
/** Every child object schema declares this `x-filterable: true` server-side. Passed as a real
|
|
1691
|
+
* query filter instead of fetching the whole type's list and filtering client-side. */
|
|
1692
|
+
modelUUID?: string;
|
|
1693
|
+
/** Filters to project-scope objects with a pending request. Backs "my pending requests" for
|
|
1694
|
+
* the requester, on the regular per-project list — the org-wide queue filters `/organization`. */
|
|
1695
|
+
pendingElevationOnly?: boolean;
|
|
1696
|
+
/** Opt-in: sorts `scope[order]=asc` (organization, targeted, project). Off by default —
|
|
1697
|
+
* `getMetaObjects` backs every object-type SDK, not just semantic-layer's. */
|
|
1698
|
+
sortByScope?: boolean;
|
|
1680
1699
|
};
|
|
1681
1700
|
type CreateMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}']['post']>;
|
|
1682
1701
|
type CreateMetaObjectBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}']['post']>;
|
|
1683
1702
|
type CreateMetaObjectReturn = OpenapiReturnType<paths['/api/v1/repository/{objectType}']['post']>;
|
|
1684
|
-
type CreateMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = CreateMetaObjectPath & Omit<CreateMetaObjectBody, 'data'> & {
|
|
1703
|
+
type CreateMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = CreateMetaObjectPath & Omit<CreateMetaObjectBody, 'data' | 'scope'> & {
|
|
1685
1704
|
data: TData;
|
|
1705
|
+
scope?: MetaObjectScope;
|
|
1706
|
+
dropSourceProject?: boolean;
|
|
1686
1707
|
};
|
|
1687
1708
|
type GetMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['get']>;
|
|
1688
1709
|
type DeleteMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['delete']>;
|
|
@@ -1703,9 +1724,10 @@ type UpdateMetaObjectContentPatch<TData extends Record<string, unknown>> = {
|
|
|
1703
1724
|
scope?: never;
|
|
1704
1725
|
};
|
|
1705
1726
|
type UpdateMetaObjectScopeStepUp = {
|
|
1706
|
-
scope:
|
|
1727
|
+
scope: 'organization';
|
|
1707
1728
|
data?: never;
|
|
1708
1729
|
name?: never;
|
|
1730
|
+
dropSourceProject?: boolean;
|
|
1709
1731
|
};
|
|
1710
1732
|
/**
|
|
1711
1733
|
* A PATCH is exactly one of two operations, and the metastore enforces the split server-side: a
|
|
@@ -1719,6 +1741,10 @@ type UpdateMetaObjectInput<TData extends Record<string, unknown> = Record<string
|
|
|
1719
1741
|
type ReplaceTargetProjectsPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}/target-projects']['put']>;
|
|
1720
1742
|
type ReplaceTargetProjectsBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}/{UUID}/target-projects']['put']>;
|
|
1721
1743
|
type ReplaceTargetProjectsInput = ReplaceTargetProjectsPath & ReplaceTargetProjectsBody;
|
|
1744
|
+
type ScopeElevationRequestPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}/scope-elevation-request']['put']>;
|
|
1745
|
+
type GetOrganizationMetaObjectsPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/organization']['get']>;
|
|
1746
|
+
type GetOrganizationMetaObjectsSchemaQuery = OpenapiQueryType<paths['/api/v1/repository/{objectType}/organization']['get']>;
|
|
1747
|
+
type GetOrganizationMetaObjectsQuery = GetOrganizationMetaObjectsSchemaQuery & Record<string, string | number | boolean>;
|
|
1722
1748
|
type ReplaceMetaObjectPath = OpenapiPathType<paths['/api/v1/repository/{objectType}/{UUID}']['put']>;
|
|
1723
1749
|
type ReplaceMetaObjectBody = OpenapiBodyType<paths['/api/v1/repository/{objectType}/{UUID}']['put']>;
|
|
1724
1750
|
type ReplaceMetaObjectInput<TData extends Record<string, unknown> = Record<string, unknown>> = ReplaceMetaObjectPath & Omit<ReplaceMetaObjectBody, 'data'> & {
|
|
@@ -1749,5 +1775,5 @@ type MetaStoreListResponse<TData extends Record<string, unknown>> = {
|
|
|
1749
1775
|
type GetSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}']['get']>;
|
|
1750
1776
|
type GetVersionedSchemaPath = OpenapiPathType<paths['/api/v1/schema/{objectType}/{version}']['get']>;
|
|
1751
1777
|
//#endregion
|
|
1752
|
-
export {
|
|
1753
|
-
//# sourceMappingURL=types-
|
|
1778
|
+
export { ReplaceMetaObjectPath as A, MetaObjectMeta as C, RawMetaObject as D, MetaStoreObjectResponse as E, UpdateMetaObjectBody as F, UpdateMetaObjectInput as I, UpdateMetaObjectPath as L, ReplaceTargetProjectsInput as M, ReplaceTargetProjectsPath as N, ReplaceMetaObjectBody as O, ScopeElevationRequestPath as P, components as R, MetaObject as S, MetaStoreListResponse as T, GetMetaObjectsQuery as _, CreateMetaObjectPath as a, GetOrganizationMetaObjectsQuery as b, DeleteMetaObjectRevisionPath as c, GetMetaObjectRevisionsInput as d, GetMetaObjectRevisionsPath as f, GetMetaObjectsPath as g, GetMetaObjectsInput as h, CreateMetaObjectInput as i, ReplaceTargetProjectsBody as j, ReplaceMetaObjectInput as k, GetMetaObjectPath as l, GetMetaObjectRevisionsSchemaQuery as m, GetVersionedSchemaPath as n, CreateMetaObjectReturn as o, GetMetaObjectRevisionsQuery as p, CreateMetaObjectBody as r, DeleteMetaObjectPath as s, GetSchemaPath as t, GetMetaObjectRevisionPath as u, GetMetaObjectsSchemaQuery as v, MetaObjectScope as w, GetOrganizationMetaObjectsSchemaQuery as x, GetOrganizationMetaObjectsPath as y, paths as z };
|
|
1779
|
+
//# sourceMappingURL=types-CwZgZqrA.d.ts.map
|
|
@@ -150,6 +150,9 @@ type components = {
|
|
|
150
150
|
*
|
|
151
151
|
* Attributes are part of the variable identity, so two variables with the same key but different attributes
|
|
152
152
|
* are considered different.
|
|
153
|
+
*
|
|
154
|
+
* The attribute names `key` and `projectId` are reserved and are rejected with a 422 when creating a
|
|
155
|
+
* variable. Existing variables that already contain such attributes are still returned unchanged.
|
|
153
156
|
* @default {}
|
|
154
157
|
*/
|
|
155
158
|
attributes: {
|
|
@@ -383,4 +386,4 @@ type VariableWithHash = Omit<VariableWithHashRaw, 'hash'> & {
|
|
|
383
386
|
type AnyVariable = VariableWithHash | CreateVariableBody;
|
|
384
387
|
//#endregion
|
|
385
388
|
export { GetVariablesQuery as a, GetVariablesByBranchId as i, CreateVariableBody as n, VariableWithHash as o, DeleteVariablePath as r, AnyVariable as t };
|
|
386
|
-
//# sourceMappingURL=types-
|
|
389
|
+
//# sourceMappingURL=types-D9axmt5o.d.cts.map
|
|
@@ -62,6 +62,32 @@ type paths = {
|
|
|
62
62
|
patch?: never;
|
|
63
63
|
trace?: never;
|
|
64
64
|
};
|
|
65
|
+
'/schedules/migrate': {
|
|
66
|
+
parameters: {
|
|
67
|
+
query?: never;
|
|
68
|
+
header?: never;
|
|
69
|
+
path?: never;
|
|
70
|
+
cookie?: never;
|
|
71
|
+
};
|
|
72
|
+
get?: never;
|
|
73
|
+
put?: never;
|
|
74
|
+
/**
|
|
75
|
+
* Activate Schedule With A Reused Token
|
|
76
|
+
* @description Activates a configuration of `keboola.scheduler` so that it becomes an active schedule, reusing the Storage token of an already activated schedule instead of creating a new one.
|
|
77
|
+
*
|
|
78
|
+
* Restricted to migrating a schedule from `keboola.orchestrator` to `keboola.flow`: the source schedule must target `keboola.orchestrator` and the activated configuration must target `keboola.flow`, otherwise the request is rejected with `400`. No Storage token is created, so the caller does not have to be allowed to create tokens - and because this endpoint accepts a role-less token where `POST /schedules` does not, the allowed component pair is deliberately narrow. The token is shared, not moved - the source schedule keeps running under it, and the token is dropped only once the last schedule using it is deleted.
|
|
79
|
+
*
|
|
80
|
+
* If there already is a schedule for the given `configurationId`, it is updated and `sourceConfigurationId` is ignored, so repeated calls stay idempotent.
|
|
81
|
+
*
|
|
82
|
+
* Unlike `POST /schedules`, this endpoint also accepts a role-less (machine-minted) project token, because it mints no token of its own. Everything else about the authorization is the same.
|
|
83
|
+
*/
|
|
84
|
+
post: operations['migrateSchedule'];
|
|
85
|
+
delete?: never;
|
|
86
|
+
options?: never;
|
|
87
|
+
head?: never;
|
|
88
|
+
patch?: never;
|
|
89
|
+
trace?: never;
|
|
90
|
+
};
|
|
65
91
|
'/schedules/{scheduleId}': {
|
|
66
92
|
parameters: {
|
|
67
93
|
query?: never;
|
|
@@ -160,6 +186,38 @@ type components = {
|
|
|
160
186
|
timezone: string;
|
|
161
187
|
/** @enum {string} */
|
|
162
188
|
state: 'enabled' | 'disabled';
|
|
189
|
+
/**
|
|
190
|
+
* Format: date-time
|
|
191
|
+
* @description ISO-8601 timestamp of the next firing, evaluated in the schedule's timezone.
|
|
192
|
+
* Null when the schedule is not enabled or the expression can not be evaluated.
|
|
193
|
+
* Reflects the schedule's own state only: a schedule pointing at a disabled target
|
|
194
|
+
* configuration still reports its next fire time even though the run would be skipped.
|
|
195
|
+
* @example 2021-03-13T06:30:00+00:00
|
|
196
|
+
*/
|
|
197
|
+
nextRunAt: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* @description The next four firings, same semantics as nextRunAt (which is the first element).
|
|
200
|
+
* Empty when the schedule is not enabled or the expression can not be evaluated.
|
|
201
|
+
* @example [
|
|
202
|
+
* "2021-03-13T06:30:00+00:00",
|
|
203
|
+
* "2021-03-14T06:30:00+00:00",
|
|
204
|
+
* "2021-03-15T06:30:00+00:00",
|
|
205
|
+
* "2021-03-16T06:30:00+00:00"
|
|
206
|
+
* ]
|
|
207
|
+
*/
|
|
208
|
+
nextRunsAt: string[];
|
|
209
|
+
/**
|
|
210
|
+
* @description Human-readable prose describing the cron expression, with the timezone appended.
|
|
211
|
+
* Falls back to the raw cron expression when it can not be parsed.
|
|
212
|
+
* @example Every 2 minutes (UTC)
|
|
213
|
+
*/
|
|
214
|
+
humanCron: string;
|
|
215
|
+
/**
|
|
216
|
+
* @description Coarse grouping of the schedule cadence for display purposes.
|
|
217
|
+
* @example custom
|
|
218
|
+
* @enum {string}
|
|
219
|
+
*/
|
|
220
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
163
221
|
};
|
|
164
222
|
target: {
|
|
165
223
|
/** @example keboola.ex-db-snowflake */
|
|
@@ -237,6 +295,53 @@ interface operations {
|
|
|
237
295
|
};
|
|
238
296
|
};
|
|
239
297
|
};
|
|
298
|
+
migrateSchedule: {
|
|
299
|
+
parameters: {
|
|
300
|
+
query?: never;
|
|
301
|
+
header?: never;
|
|
302
|
+
path?: never;
|
|
303
|
+
cookie?: never;
|
|
304
|
+
};
|
|
305
|
+
requestBody?: {
|
|
306
|
+
content: {
|
|
307
|
+
'application/json': {
|
|
308
|
+
/** @description Id of the `keboola.scheduler` configuration to activate. */
|
|
309
|
+
configurationId: string;
|
|
310
|
+
/** @description Id of the `keboola.scheduler` configuration whose schedule owns the Storage token the new schedule will run under. That configuration must already have a schedule in the same project as the caller's token - it is the schedule row that is looked up, so a configuration that was never activated is rejected - and that schedule must target `keboola.orchestrator`. Its state does not matter: a disabled schedule still owns a usable token. */
|
|
311
|
+
sourceConfigurationId: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
responses: {
|
|
316
|
+
/** @description Schedule Activated */
|
|
317
|
+
200: {
|
|
318
|
+
headers: {
|
|
319
|
+
[name: string]: unknown;
|
|
320
|
+
};
|
|
321
|
+
content: {
|
|
322
|
+
'application/json': components['schemas']['Schedule'];
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
/** @description There is no schedule for the given `sourceConfigurationId` in this project, or the component pair is not `keboola.orchestrator` to `keboola.flow` */
|
|
326
|
+
400: {
|
|
327
|
+
headers: {
|
|
328
|
+
[name: string]: unknown;
|
|
329
|
+
};
|
|
330
|
+
content: {
|
|
331
|
+
'application/json': components['schemas']['Error'];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
/** @description Error response */
|
|
335
|
+
default: {
|
|
336
|
+
headers: {
|
|
337
|
+
[name: string]: unknown;
|
|
338
|
+
};
|
|
339
|
+
content: {
|
|
340
|
+
'application/json': components['schemas']['Error'];
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
240
345
|
getSchedule: {
|
|
241
346
|
parameters: {
|
|
242
347
|
query?: never;
|
|
@@ -370,4 +475,4 @@ type SchedulePath = OpenapiPathType<paths['/schedules/{scheduleId}']['get']>;
|
|
|
370
475
|
type ConfigurationPath = OpenapiPathType<paths['/configurations/{configurationId}']['delete']>;
|
|
371
476
|
//#endregion
|
|
372
477
|
export { SchedulePath as a, Schedule as i, ConfigurationPath as n, Schedules as o, GetSchedulesQuery as r, ActivateScheduleBody as t };
|
|
373
|
-
//# sourceMappingURL=types-
|
|
478
|
+
//# sourceMappingURL=types-DaMmgW-O.d.ts.map
|