@keboola/api-client 48.0.0 → 50.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +109 -95
- package/API-SURFACE.md +14 -32
- package/CHANGELOG.md +78 -0
- package/README.md +33 -29
- package/dist/{ManagementSessionMintError-Cu9beG7j.cjs → ManagementSessionMintError-ByOulHQH.cjs} +4 -6
- package/dist/{ManagementSessionMintError-Cu9beG7j.cjs.map → ManagementSessionMintError-ByOulHQH.cjs.map} +1 -1
- package/dist/{ManagementSessionMintError-4Pkn5Oob.js → ManagementSessionMintError-DNMbYauw.js} +4 -6
- package/dist/{ManagementSessionMintError-4Pkn5Oob.js.map → ManagementSessionMintError-DNMbYauw.js.map} +1 -1
- package/dist/{QueryJobError-ZZZ043Nm.js → QueryJobError-Iq9O90Uh.js} +2 -3
- package/dist/{QueryJobError-ZZZ043Nm.js.map → QueryJobError-Iq9O90Uh.js.map} +1 -1
- package/dist/{QueryJobError-irGiP5zh.cjs → QueryJobError-Oy0fl4aw.cjs} +2 -3
- package/dist/{QueryJobError-irGiP5zh.cjs.map → QueryJobError-Oy0fl4aw.cjs.map} +1 -1
- package/dist/{QueueJobError-8bThS_Mc.js → QueueJobError-BJNUINXW.js} +2 -3
- package/dist/{QueueJobError-8bThS_Mc.js.map → QueueJobError-BJNUINXW.js.map} +1 -1
- package/dist/{QueueJobError-6qSEizWo.cjs → QueueJobError-DruZK3tc.cjs} +2 -3
- package/dist/{QueueJobError-6qSEizWo.cjs.map → QueueJobError-DruZK3tc.cjs.map} +1 -1
- package/dist/{SyncActionError-CoZFsdUk.js → SyncActionError-DuGcDbkd.js} +2 -3
- package/dist/{SyncActionError-CoZFsdUk.js.map → SyncActionError-DuGcDbkd.js.map} +1 -1
- package/dist/{SyncActionError-BG0zwchi.cjs → SyncActionError-mbpVg63X.cjs} +2 -3
- package/dist/{SyncActionError-BG0zwchi.cjs.map → SyncActionError-mbpVg63X.cjs.map} +1 -1
- package/dist/{UserError-By_Zckmc.js → UserError-BxoOJJ_u.js} +2 -3
- package/dist/{UserError-By_Zckmc.js.map → UserError-BxoOJJ_u.js.map} +1 -1
- package/dist/{UserError-CSGO1qII.cjs → UserError-D4P9Tbhf.cjs} +2 -3
- package/dist/{UserError-CSGO1qII.cjs.map → UserError-D4P9Tbhf.cjs.map} +1 -1
- package/dist/{ValidationError-D65QU0uq.cjs → ValidationError-BXcFX4nD.cjs} +2 -3
- package/dist/{ValidationError-D65QU0uq.cjs.map → ValidationError-BXcFX4nD.cjs.map} +1 -1
- package/dist/{ValidationError-DjhtNMfZ.js → ValidationError-BsdFDGY2.js} +2 -3
- package/dist/{ValidationError-DjhtNMfZ.js.map → ValidationError-BsdFDGY2.js.map} +1 -1
- package/dist/{configurations-CL0ouUMa.js → admin-CbMOsfgs.js} +5 -53
- package/dist/admin-CbMOsfgs.js.map +1 -0
- package/dist/{configurations-D9J3jh3g.cjs → admin-Di-MmGFP.cjs} +4 -124
- package/dist/admin-Di-MmGFP.cjs.map +1 -0
- package/dist/{adminRoles-DsoGQipO.d.ts → adminRoles-DAwl657q.d.ts} +2 -4
- package/dist/{adminRoles-CO7J5qAy.cjs → adminRoles-DnFpO_2W.cjs} +2 -3
- package/dist/{adminRoles-CO7J5qAy.cjs.map → adminRoles-DnFpO_2W.cjs.map} +1 -1
- package/dist/{adminRoles-BgpaBE7h.d.cts → adminRoles-FFyl7Dyx.d.cts} +2 -4
- package/dist/{adminRoles-B40yBcmq.js → adminRoles-asa-MhDD.js} +2 -3
- package/dist/{adminRoles-B40yBcmq.js.map → adminRoles-asa-MhDD.js.map} +1 -1
- package/dist/ai/index.cjs +3 -4
- package/dist/ai/index.d.cts +2 -4
- package/dist/ai/index.d.ts +2 -4
- package/dist/ai/index.js +3 -4
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/{appLogs-DpcqeOe5.d.ts → appLogs-CTvZAihm.d.ts} +2 -4
- package/dist/{appLogs-SjrflOHk.d.cts → appLogs-CnLNMH7M.d.cts} +2 -4
- package/dist/{appLogs-Cix2KWra.cjs → appLogs-CoAWQGxs.cjs} +5 -6
- package/dist/{appLogs-Cix2KWra.cjs.map → appLogs-CoAWQGxs.cjs.map} +1 -1
- package/dist/{appLogs-KslK7qHr.js → appLogs-DFcPwVk8.js} +4 -5
- package/dist/{appLogs-KslK7qHr.js.map → appLogs-DFcPwVk8.js.map} +1 -1
- package/dist/apps/index.cjs +29 -6
- package/dist/apps/index.cjs.map +1 -1
- package/dist/apps/index.d.cts +16 -5
- package/dist/apps/index.d.ts +16 -5
- package/dist/apps/index.js +29 -6
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/types.d.cts +3 -3
- package/dist/apps/types.d.ts +3 -3
- package/dist/assets/index.cjs +2 -3
- package/dist/assets/index.d.cts +1 -3
- package/dist/assets/index.d.ts +1 -3
- package/dist/assets/index.js +2 -3
- package/dist/assets/schema.cjs +2 -3
- package/dist/assets/schema.d.cts +0 -2
- package/dist/assets/schema.d.ts +0 -2
- package/dist/assets/schema.js +1 -2
- 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 -2
- package/dist/auth/types.d.cts +1 -1
- package/dist/auth/types.d.ts +1 -1
- package/dist/{auth-C8Pjl0Mu.cjs → auth-CvB4MukT.cjs} +3 -4
- package/dist/{auth-C8Pjl0Mu.cjs.map → auth-CvB4MukT.cjs.map} +1 -1
- package/dist/{auth-4coY1uwo.js → auth-DYfQMQCs.js} +3 -4
- package/dist/{auth-4coY1uwo.js.map → auth-DYfQMQCs.js.map} +1 -1
- package/dist/{authClient-DfkKlc-2.cjs → authClient-DcKBpMcU.cjs} +66 -85
- package/dist/{authClient-DfkKlc-2.cjs.map → authClient-DcKBpMcU.cjs.map} +1 -1
- package/dist/{authClient-BYIGzL_u.d.ts → authClient-Df3U4q_6.d.cts} +4 -16
- package/dist/{authClient-D06srBQE.d.cts → authClient-JtMVJWXY.d.ts} +4 -16
- package/dist/{authClient-2e8ZmzSP.js → authClient-oB5ydxWp.js} +66 -85
- package/dist/{authClient-2e8ZmzSP.js.map → authClient-oB5ydxWp.js.map} +1 -1
- package/dist/{backends-DKBz5OxE.d.ts → backends-BHotIdL0.d.cts} +1 -3
- package/dist/{backends-DKBz5OxE.d.cts → backends-BHotIdL0.d.ts} +1 -3
- package/dist/billing/index.cjs +3 -5
- package/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.d.cts +27 -29
- package/dist/billing/index.d.ts +27 -29
- package/dist/billing/index.js +3 -5
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/types.d.cts +26 -26
- package/dist/billing/types.d.ts +26 -26
- package/dist/chat/index.cjs +4 -5
- package/dist/chat/index.d.cts +3 -5
- package/dist/chat/index.d.ts +3 -5
- package/dist/chat/index.js +4 -5
- package/dist/chat/suggestions.cjs +1 -2
- package/dist/chat/suggestions.d.cts +1 -1
- package/dist/chat/suggestions.d.ts +1 -1
- package/dist/chat/suggestions.js +1 -2
- package/dist/chat/types.cjs +1 -2
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/chat/types.js +1 -2
- package/dist/{collectByOffset-DQsqtmJg.cjs → collectByOffset-DgxJ3zT9.cjs} +3 -4
- package/dist/{collectByOffset-DQsqtmJg.cjs.map → collectByOffset-DgxJ3zT9.cjs.map} +1 -1
- package/dist/{collectByOffset-2XzJqmvr.js → collectByOffset-i8Tdoze7.js} +3 -4
- package/dist/{collectByOffset-2XzJqmvr.js.map → collectByOffset-i8Tdoze7.js.map} +1 -1
- package/dist/{componentId-D4jp6a13.cjs → componentId-C8ZTXXDo.cjs} +2 -3
- package/dist/{componentId-D4jp6a13.cjs.map → componentId-C8ZTXXDo.cjs.map} +1 -1
- package/dist/{componentId-DmHwHG5V.js → componentId-b_qBbJEM.js} +2 -3
- package/dist/{componentId-DmHwHG5V.js.map → componentId-b_qBbJEM.js.map} +1 -1
- package/dist/componentsMcp/index.cjs +1 -1
- package/dist/componentsMcp/index.d.cts +1 -1
- package/dist/componentsMcp/index.d.ts +1 -1
- package/dist/componentsMcp/index.js +1 -2
- package/dist/componentsMcp/types.d.cts +1 -1
- package/dist/componentsMcp/types.d.ts +1 -1
- package/dist/{componentsMcp-pG-PcQrg.cjs → componentsMcp-BaHy5iLr.cjs} +5 -7
- package/dist/{componentsMcp-pG-PcQrg.cjs.map → componentsMcp-BaHy5iLr.cjs.map} +1 -1
- package/dist/{componentsMcp-CHobIsuU.js → componentsMcp-BrB4js6b.js} +5 -7
- package/dist/{componentsMcp-CHobIsuU.js.map → componentsMcp-BrB4js6b.js.map} +1 -1
- package/dist/{concurrent-BacWxPwi.js → concurrent-BtsT10Xe.js} +2 -3
- package/dist/{concurrent-BacWxPwi.js.map → concurrent-BtsT10Xe.js.map} +1 -1
- package/dist/{concurrent-CdVfR1N5.cjs → concurrent-DnTV_ppY.cjs} +2 -3
- package/dist/{concurrent-CdVfR1N5.cjs.map → concurrent-DnTV_ppY.cjs.map} +1 -1
- package/dist/configurations-Cd6Nsox-.js +49 -0
- package/dist/configurations-Cd6Nsox-.js.map +1 -0
- package/dist/configurations-WI8H4zLk.cjs +120 -0
- package/dist/configurations-WI8H4zLk.cjs.map +1 -0
- package/dist/constants/index.cjs +6 -3
- package/dist/constants/index.d.cts +5 -4
- package/dist/constants/index.d.ts +5 -4
- package/dist/constants/index.js +4 -4
- package/dist/{constants-CA4UN2Xv.js → constants-BMSHGwOR.js} +86 -17
- package/dist/constants-BMSHGwOR.js.map +1 -0
- package/dist/{constants-a0jswUeK.cjs → constants-DhFQWQgy.cjs} +103 -16
- package/dist/constants-DhFQWQgy.cjs.map +1 -0
- package/dist/{createAbortError-RendOpo7.cjs → createAbortError-Dzc9yObN.cjs} +2 -3
- package/dist/{createAbortError-RendOpo7.cjs.map → createAbortError-Dzc9yObN.cjs.map} +1 -1
- package/dist/{createAbortError-BxupOt-6.js → createAbortError-c6ekCpRy.js} +2 -3
- package/dist/{createAbortError-BxupOt-6.js.map → createAbortError-c6ekCpRy.js.map} +1 -1
- package/dist/{createFetchClient-lZ_93Yrb.cjs → createFetchClient-DEkUH662.cjs} +6 -10
- package/dist/{createFetchClient-lZ_93Yrb.cjs.map → createFetchClient-DEkUH662.cjs.map} +1 -1
- package/dist/{createFetchClient-CkHdS_IG.js → createFetchClient-DlGCbltR.js} +5 -9
- package/dist/{createFetchClient-CkHdS_IG.js.map → createFetchClient-DlGCbltR.js.map} +1 -1
- package/dist/{createGenericFetchClient-MOx97wi-.cjs → createGenericFetchClient-2oU-PXVo.cjs} +3 -4
- package/dist/{createGenericFetchClient-MOx97wi-.cjs.map → createGenericFetchClient-2oU-PXVo.cjs.map} +1 -1
- package/dist/createGenericFetchClient-wGxemBwR.js +6 -0
- package/dist/{createGenericFetchClient-CQdNcPC3.js.map → createGenericFetchClient-wGxemBwR.js.map} +1 -1
- package/dist/createOpenapiFetchClient-Bhz62MUE.js +6 -0
- package/dist/{createOpenapiFetchClient-DXiMv9WL.js.map → createOpenapiFetchClient-Bhz62MUE.js.map} +1 -1
- package/dist/{createOpenapiFetchClient-DHYo_k3t.cjs → createOpenapiFetchClient-DL9w7vU-.cjs} +3 -4
- package/dist/{createOpenapiFetchClient-DHYo_k3t.cjs.map → createOpenapiFetchClient-DL9w7vU-.cjs.map} +1 -1
- package/dist/dataScience/index.cjs +2 -2
- package/dist/dataScience/index.d.cts +2 -2
- package/dist/dataScience/index.d.ts +2 -2
- package/dist/dataScience/index.js +2 -2
- package/dist/dataScience/types.d.cts +2 -2
- package/dist/dataScience/types.d.ts +2 -2
- package/dist/{dataScience-AwPMeGfz.js → dataScience-CXmkEOAi.js} +7 -9
- package/dist/{dataScience-AwPMeGfz.js.map → dataScience-CXmkEOAi.js.map} +1 -1
- package/dist/{dataScience-BjS1p8WO.cjs → dataScience-CufjHPSd.cjs} +7 -9
- package/dist/{dataScience-BjS1p8WO.cjs.map → dataScience-CufjHPSd.cjs.map} +1 -1
- package/dist/{dedupe-OSnnst2u.cjs → dedupe-Bf0gl9TJ.cjs} +2 -3
- package/dist/{dedupe-OSnnst2u.cjs.map → dedupe-Bf0gl9TJ.cjs.map} +1 -1
- package/dist/{dedupe-Cky1gSUu.js → dedupe-Bu0d2i_w.js} +2 -3
- package/dist/{dedupe-Cky1gSUu.js.map → dedupe-Bu0d2i_w.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 -2
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/{developerPortalClient-DUerKw-7.cjs → developerPortalClient-BfRxYrWj.cjs} +9 -15
- package/dist/{developerPortalClient-DUerKw-7.cjs.map → developerPortalClient-BfRxYrWj.cjs.map} +1 -1
- package/dist/{developerPortalClient-Bb2suezr.js → developerPortalClient-D9XOYwWF.js} +9 -15
- package/dist/{developerPortalClient-Bb2suezr.js.map → developerPortalClient-D9XOYwWF.js.map} +1 -1
- package/dist/domain/permissions/index.cjs +24 -58
- package/dist/domain/permissions/index.d.cts +4 -10
- package/dist/domain/permissions/index.d.ts +4 -10
- package/dist/domain/permissions/index.js +4 -39
- package/dist/domain/storageTable/index.cjs +403 -9
- package/dist/domain/storageTable/index.cjs.map +1 -0
- package/dist/domain/storageTable/index.d.cts +189 -2
- package/dist/domain/storageTable/index.d.ts +189 -2
- package/dist/domain/storageTable/index.js +395 -1
- package/dist/domain/storageTable/index.js.map +1 -0
- package/dist/editor/index.cjs +3 -4
- package/dist/editor/index.d.cts +2 -4
- package/dist/editor/index.d.ts +2 -4
- package/dist/editor/index.js +3 -4
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/{emitter-dLF1Fyfg.d.ts → emitter-raKkIqRp.d.cts} +1 -3
- package/dist/{emitter-dLF1Fyfg.d.cts → emitter-raKkIqRp.d.ts} +1 -3
- package/dist/encryption/index.cjs +2 -3
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/index.js +2 -3
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/generateUUID-DE9sNyJF.js +5 -0
- package/dist/{generateUUID-Dr8l-aoc.js.map → generateUUID-DE9sNyJF.js.map} +1 -1
- package/dist/{generateUUID-C6qKBPIv.cjs → generateUUID-DbSTmvVP.cjs} +2 -3
- package/dist/{generateUUID-C6qKBPIv.cjs.map → generateUUID-DbSTmvVP.cjs.map} +1 -1
- package/dist/import/index.cjs +1 -1
- package/dist/import/index.d.cts +3 -5
- package/dist/import/index.d.ts +3 -5
- package/dist/import/index.js +1 -2
- package/dist/{import-BahNYv91.cjs → import-CABlFMQX.cjs} +6 -9
- package/dist/{import-BahNYv91.cjs.map → import-CABlFMQX.cjs.map} +1 -1
- package/dist/{import-FWy_wQZ1.js → import-CT1Ce5Rp.js} +6 -9
- package/dist/{import-FWy_wQZ1.js.map → import-CT1Ce5Rp.js.map} +1 -1
- package/dist/index-24GpnYhn.d.cts +150 -0
- package/dist/{index-VlzlOBkc.d.cts → index-AA3MRfRn.d.cts} +71 -13
- package/dist/{index-BLvmyehw.d.ts → index-BDPxm9qu.d.ts} +3 -7
- package/dist/index-BUZ-vTRt.d.ts +150 -0
- package/dist/{index-DzLXtE4Q.d.ts → index-BZDxWvZW.d.ts} +5 -7
- package/dist/index-C9iNazAc.d.ts +15103 -0
- package/dist/{index-avzO5sLa.d.ts → index-CCcdySOC.d.cts} +5 -7
- package/dist/{index-D91RxB_S.d.cts → index-CN0--VsY.d.ts} +5 -7
- package/dist/index-CTMnmISl.d.cts +15103 -0
- package/dist/{index-m7fX76x3.d.ts → index-CbSh3KFw.d.cts} +4 -12
- package/dist/{index-Cc5wSIRJ.d.cts → index-ClIV2Lch.d.cts} +5 -7
- package/dist/{index-BIldED4N.d.ts → index-CuI8OI9E.d.ts} +4 -13
- package/dist/{index-ChDl6ig5.d.cts → index-D1mduJne.d.cts} +11 -48
- package/dist/{index-sDHBkJhU.d.ts → index-D1mduJne.d.ts} +12 -49
- package/dist/{index-DlZiWfQb.d.ts → index-DIPMzH--.d.ts} +17 -10
- package/dist/{index-Co2Cd-nw.d.cts → index-DQagqTVa.d.cts} +3 -7
- package/dist/{index-CIqWOEWD.d.ts → index-DVBQgFg0.d.ts} +4 -6
- package/dist/index-DXoN8VwV.d.cts +10 -0
- package/dist/{index-BHiJu8LF.d.cts → index-Db266tLz.d.cts} +17 -10
- package/dist/{index-ByLCYBaw.d.cts → index-DgGpQsAT.d.cts} +4 -6
- package/dist/{index-CzHrIfZS.d.ts → index-DjSthn8d.d.ts} +71 -13
- package/dist/index-Xpu7qIZk.d.ts +10 -0
- package/dist/{index-BTrxCk90.d.ts → index-lTrNMlj6.d.ts} +3 -5
- package/dist/{index-CpGmmJbt.d.cts → index-m9-mN8Gg.d.ts} +4 -12
- package/dist/{index-CpUYVB-d.d.cts → index-xX8-Stoq.d.cts} +4 -13
- package/dist/{index-BCjU-g9t.d.cts → index-z-2okomN.d.cts} +3 -5
- package/dist/index.cjs +434 -1053
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +427 -1050
- package/dist/index.js.map +1 -1
- package/dist/{isLoginPageRedirect-r0Opgc1n.cjs → isLoginPageRedirect-CoUxJi2x.cjs} +3 -4
- package/dist/{isLoginPageRedirect-r0Opgc1n.cjs.map → isLoginPageRedirect-CoUxJi2x.cjs.map} +1 -1
- package/dist/{isLoginPageRedirect-B4QKSiSa.js → isLoginPageRedirect-D-lqF_kZ.js} +3 -4
- package/dist/{isLoginPageRedirect-B4QKSiSa.js.map → isLoginPageRedirect-D-lqF_kZ.js.map} +1 -1
- package/dist/{isPlainObject-LYW-03uB.js → isPlainObject-BxsT8_t2.js} +2 -3
- package/dist/{isPlainObject-LYW-03uB.js.map → isPlainObject-BxsT8_t2.js.map} +1 -1
- package/dist/{isPlainObject-BB3iy87C.cjs → isPlainObject-CcvQt0qB.cjs} +2 -3
- package/dist/{isPlainObject-BB3iy87C.cjs.map → isPlainObject-CcvQt0qB.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 -2
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/{kaiAgent-CYvrS8oZ.js → kaiAgent-D2TiMDjW.js} +6 -7
- package/dist/{kaiAgent-CYvrS8oZ.js.map → kaiAgent-D2TiMDjW.js.map} +1 -1
- package/dist/{kaiAgent-N2qbUFZm.cjs → kaiAgent-gaA7dqki.cjs} +6 -7
- package/dist/{kaiAgent-N2qbUFZm.cjs.map → kaiAgent-gaA7dqki.cjs.map} +1 -1
- package/dist/{kaiMemory-Qch09f-m.cjs → kaiMemory-CkLQfJXD.cjs} +6 -9
- package/dist/{kaiMemory-Qch09f-m.cjs.map → kaiMemory-CkLQfJXD.cjs.map} +1 -1
- package/dist/{kaiMemory-C9di17bd.js → kaiMemory-oir_qCo_.js} +6 -9
- package/dist/{kaiMemory-C9di17bd.js.map → kaiMemory-oir_qCo_.js.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 -2
- package/dist/management/types.cjs +13 -0
- package/dist/management/types.cjs.map +1 -0
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/management/types.js +11 -1
- package/dist/management/types.js.map +1 -0
- package/dist/{management-CXHnxVaZ.cjs → management-BEGOEQxM.cjs} +34 -59
- package/dist/management-BEGOEQxM.cjs.map +1 -0
- package/dist/{management-NYAD6ej4.js → management-BcGHyxAP.js} +34 -59
- package/dist/management-BcGHyxAP.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 -2
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/{metastore-Ywq08DBz.js → metastore-CGsgxjng.js} +7 -10
- package/dist/{metastore-Ywq08DBz.js.map → metastore-CGsgxjng.js.map} +1 -1
- package/dist/{metastore-BXHg33ku.cjs → metastore-DeRQ2VIv.cjs} +7 -10
- package/dist/{metastore-BXHg33ku.cjs.map → metastore-DeRQ2VIv.cjs.map} +1 -1
- package/dist/microsoftGraph/index.cjs +5 -8
- package/dist/microsoftGraph/index.cjs.map +1 -1
- package/dist/microsoftGraph/index.d.cts +3 -7
- package/dist/microsoftGraph/index.d.ts +3 -7
- package/dist/microsoftGraph/index.js +5 -8
- package/dist/microsoftGraph/index.js.map +1 -1
- package/dist/microsoftGraph/types.d.cts +2 -4
- package/dist/microsoftGraph/types.d.ts +2 -4
- package/dist/{middleware-GOfx8Apu.js → middleware-8zaJWcyU.js} +3 -5
- package/dist/middleware-8zaJWcyU.js.map +1 -0
- package/dist/{middleware-CEP6uu_D.cjs → middleware-B9RNuLfD.cjs} +3 -5
- package/dist/middleware-B9RNuLfD.cjs.map +1 -0
- package/dist/notifications/index.cjs +5 -6
- package/dist/notifications/index.d.cts +2 -4
- package/dist/notifications/index.d.ts +2 -4
- package/dist/notifications/index.js +5 -6
- package/dist/notifications/types.d.cts +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/oauth/index.cjs +1 -1
- package/dist/oauth/index.d.cts +2 -4
- package/dist/oauth/index.d.ts +2 -4
- package/dist/oauth/index.js +1 -2
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/{oauth-DKZPuUlt.cjs → oauth-B5Biqz21.cjs} +7 -9
- package/dist/{oauth-DKZPuUlt.cjs.map → oauth-B5Biqz21.cjs.map} +1 -1
- package/dist/{oauth-GXmZ9agP.js → oauth-ByCdISsV.js} +7 -9
- package/dist/{oauth-GXmZ9agP.js.map → oauth-ByCdISsV.js.map} +1 -1
- package/dist/omnisearch/index.cjs +3 -4
- package/dist/omnisearch/index.d.cts +2 -4
- package/dist/omnisearch/index.d.ts +2 -4
- package/dist/omnisearch/index.js +3 -4
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/project-DmuC0bMK.js +83 -0
- package/dist/project-DmuC0bMK.js.map +1 -0
- package/dist/project-Onf-IcPW.cjs +136 -0
- package/dist/project-Onf-IcPW.cjs.map +1 -0
- package/dist/{project-nbv9yjpl.d.ts → project-UHZGFmmG.d.cts} +6 -9
- package/dist/{project-Dzu85cqr.d.cts → project-iBm4cIIR.d.ts} +6 -9
- 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 -2
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/{queryService-CzK53q94.cjs → queryService-Cg-eMysa.cjs} +9 -11
- package/dist/{queryService-CzK53q94.cjs.map → queryService-Cg-eMysa.cjs.map} +1 -1
- package/dist/{queryService-C-pZha5p.js → queryService-x8kq8Z2-.js} +9 -11
- package/dist/{queryService-C-pZha5p.js.map → queryService-x8kq8Z2-.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +4 -5
- package/dist/queue/index.d.ts +4 -5
- package/dist/queue/index.js +1 -2
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/{queue-D6-x4OGF.js → queue-BiIs9fX4.js} +9 -11
- package/dist/{queue-D6-x4OGF.js.map → queue-BiIs9fX4.js.map} +1 -1
- package/dist/{queue-BJvDWriM.cjs → queue-CBi9Q8vp.cjs} +9 -11
- package/dist/{queue-BJvDWriM.cjs.map → queue-CBi9Q8vp.cjs.map} +1 -1
- package/dist/{rolldown-runtime-VH7oDXx4.cjs → rolldown-runtime-CmQyd0Gu.cjs} +1 -2
- package/dist/scheduler/index.cjs +5 -6
- package/dist/scheduler/index.d.cts +2 -4
- package/dist/scheduler/index.d.ts +2 -4
- package/dist/scheduler/index.js +5 -6
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/{schema-BUyMwQnM.d.cts → schema-DLmBEgPM.d.cts} +1 -3
- package/dist/{schema-BUyMwQnM.d.ts → schema-DLmBEgPM.d.ts} +1 -3
- package/dist/schemaGuidedMerge-C8CqrNGe.cjs +55 -0
- package/dist/schemaGuidedMerge-C8CqrNGe.cjs.map +1 -0
- package/dist/schemaGuidedMerge-DFNqj9Nz.js +44 -0
- package/dist/schemaGuidedMerge-DFNqj9Nz.js.map +1 -0
- package/dist/sdk/configurations/index.cjs +634 -2
- package/dist/sdk/configurations/index.cjs.map +1 -0
- package/dist/sdk/configurations/index.d.cts +1030 -4
- package/dist/sdk/configurations/index.d.ts +1030 -4
- package/dist/sdk/configurations/index.js +633 -1
- package/dist/sdk/configurations/index.js.map +1 -0
- package/dist/sdk/developerPortal/index.cjs +9 -13
- package/dist/sdk/developerPortal/index.cjs.map +1 -1
- package/dist/sdk/developerPortal/index.d.cts +4 -6
- package/dist/sdk/developerPortal/index.d.ts +4 -6
- package/dist/sdk/developerPortal/index.js +9 -13
- package/dist/sdk/developerPortal/index.js.map +1 -1
- package/dist/sdk/kaiMemory/index.cjs +1 -1
- package/dist/sdk/kaiMemory/index.d.cts +1 -3
- package/dist/sdk/kaiMemory/index.d.ts +1 -3
- package/dist/sdk/kaiMemory/index.js +1 -2
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.cjs +3 -4
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/queryService/index.js +3 -4
- package/dist/sdk/semanticLayer/index.cjs +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +1 -7
- package/dist/sdk/semanticLayer/index.d.ts +1 -7
- package/dist/sdk/semanticLayer/index.js +1 -2
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/storage/index.cjs +3 -6
- package/dist/sdk/storage/index.cjs.map +1 -1
- package/dist/sdk/storage/index.d.cts +0 -6
- package/dist/sdk/storage/index.d.ts +0 -6
- package/dist/sdk/storage/index.js +3 -6
- package/dist/sdk/storage/index.js.map +1 -1
- package/dist/sdk/tag/index.cjs +1 -1
- package/dist/sdk/tag/index.d.cts +3 -5
- package/dist/sdk/tag/index.d.ts +3 -5
- package/dist/sdk/tag/index.js +1 -2
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.cjs +3 -5
- package/dist/sdk/vault/index.cjs.map +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/sdk/vault/index.js +3 -5
- package/dist/sdk/vault/index.js.map +1 -1
- package/dist/{semanticLayer-DvjS_nzo.js → semanticLayer-BdPW_wLo.js} +9 -14
- package/dist/{semanticLayer-DvjS_nzo.js.map → semanticLayer-BdPW_wLo.js.map} +1 -1
- package/dist/{semanticLayer-7BejcMj_.cjs → semanticLayer-djom-J78.cjs} +9 -14
- package/dist/{semanticLayer-7BejcMj_.cjs.map → semanticLayer-djom-J78.cjs.map} +1 -1
- package/dist/status/index.cjs +2 -3
- package/dist/status/index.d.cts +1 -3
- package/dist/status/index.d.ts +1 -3
- package/dist/status/index.js +2 -3
- package/dist/status/types.d.cts +0 -2
- package/dist/status/types.d.ts +0 -2
- package/dist/storage/index.cjs +12 -9
- package/dist/storage/index.d.cts +4 -3
- package/dist/storage/index.d.ts +4 -3
- package/dist/storage/index.js +10 -10
- package/dist/storage/types.d.cts +6 -6
- package/dist/storage/types.d.ts +6 -6
- package/dist/{storage-BR-Kgi-6.js → storage-BpOLWT6h.js} +73 -85
- package/dist/{storage-CVBXivpB.cjs.map → storage-BpOLWT6h.js.map} +1 -1
- package/dist/{storage-CVBXivpB.cjs → storage-KJ5Ki_ma.cjs} +90 -84
- package/dist/storage-KJ5Ki_ma.cjs.map +1 -0
- package/dist/{store-xS-Cu_VS.cjs → store-2OyH1XOP.cjs} +3 -5
- package/dist/{store-xS-Cu_VS.cjs.map → store-2OyH1XOP.cjs.map} +1 -1
- package/dist/{store-C9FQCHGe.js → store-HP0zRcLz.js} +3 -5
- package/dist/{store-C9FQCHGe.js.map → store-HP0zRcLz.js.map} +1 -1
- package/dist/stream/index.cjs +4 -5
- package/dist/stream/index.d.cts +2 -4
- package/dist/stream/index.d.ts +2 -4
- package/dist/stream/index.js +4 -5
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/{suggestions-BH3x7xU7.d.ts → suggestions-xhIjrlvi.d.cts} +1 -3
- package/dist/{suggestions-BH3x7xU7.d.cts → suggestions-xhIjrlvi.d.ts} +1 -3
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/index.js +1 -2
- package/dist/syncActions/types.d.cts +2 -2
- package/dist/syncActions/types.d.ts +2 -2
- package/dist/{syncActions-C1rE4R3f.cjs → syncActions-BcX3jm2E.cjs} +74 -187
- package/dist/syncActions-BcX3jm2E.cjs.map +1 -0
- package/dist/{syncActions-DM8vP7p3.js → syncActions-giPLTfje.js} +73 -186
- package/dist/syncActions-giPLTfje.js.map +1 -0
- package/dist/{tag-DHS_soa7.cjs → tag-A5z4tJn1.cjs} +5 -7
- package/dist/{tag-DHS_soa7.cjs.map → tag-A5z4tJn1.cjs.map} +1 -1
- package/dist/{tag-hh-1nhNr.js → tag-BwjbG3tT.js} +5 -7
- package/dist/{tag-hh-1nhNr.js.map → tag-BwjbG3tT.js.map} +1 -1
- package/dist/telemetry/index.cjs +4 -5
- package/dist/telemetry/index.d.cts +2 -4
- package/dist/telemetry/index.d.ts +2 -4
- package/dist/telemetry/index.js +4 -5
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{transientRetries-B4iusp69.js → transientRetries-BKqmb85B.js} +13 -22
- package/dist/{transientRetries-B4iusp69.js.map → transientRetries-BKqmb85B.js.map} +1 -1
- package/dist/{transientRetries-DdJfH9QK.cjs → transientRetries-CM7rAEXQ.cjs} +13 -22
- package/dist/{transientRetries-DdJfH9QK.cjs.map → transientRetries-CM7rAEXQ.cjs.map} +1 -1
- package/dist/{types-DfJP6Dti.d.ts → types--Rp5wvaz.d.ts} +2 -6
- package/dist/{types-DlgqPU_4.d.cts → types-1IBnjBVJ.d.cts} +2 -6
- package/dist/{types-BXHZQvGy.d.ts → types-37vwxse4.d.cts} +2 -6
- package/dist/{types-QPW-7dPm.d.ts → types-6T04_qUf.d.ts} +2 -6
- package/dist/{types-CwQ8_n8q.d.ts → types-B0e-no6u.d.ts} +41 -62
- package/dist/{types-C_raqbl-.d.cts → types-B1qe1etN.d.cts} +3 -7
- package/dist/{types-Cc4yTEdK.d.ts → types-B3ri-iiC.d.ts} +2 -26
- package/dist/{types-0ZAMQhva.d.cts → types-BB49alHP.d.cts} +245 -9
- package/dist/{types-NSxpnYW5.d.cts → types-BCGrKW1K.d.cts} +6 -10
- package/dist/{types-BaqdM92a.d.ts → types-BE8abIig.d.cts} +2 -6
- package/dist/{types-c4h2YDMC.d.ts → types-BWMOK6eL.d.cts} +2 -6
- package/dist/{types-VehpPOQX.d.ts → types-Bat0SIZA.d.cts} +16 -97
- package/dist/{types-CpWE6Yg2.d.ts → types-Bdl7EFMc.d.ts} +2 -6
- package/dist/{types-DgOLSRiy.d.ts → types-BfB-XXLF.d.ts} +245 -9
- package/dist/{types-C9VaQSqV.d.ts → types-BiDdBXSm.d.ts} +2 -8
- package/dist/{types-EkyQ0_10.d.cts → types-BuclMPeY.d.cts} +2 -26
- package/dist/{types-CfZLdfAL.d.ts → types-C9okze_R.d.ts} +3 -7
- package/dist/{types-Dn1G-qv4.d.cts → types-CPWjRdnj.d.cts} +41 -62
- package/dist/{types-D3mj56iq.d.cts → types-CRubbBcU.d.cts} +2 -6
- package/dist/{types-BTy_FFSu.d.ts → types-CWcdaq-K.d.ts} +2 -6
- package/dist/{types-Bt8CEZ6K.d.ts → types-CcGp6O3B.d.cts} +3 -7
- package/dist/{types-BWYtQkHu.d.ts → types-Cr5lyI99.d.ts} +2 -6
- package/dist/{types-CNkQuWnO.d.cts → types-CxEJ77m3.d.cts} +3 -7
- package/dist/{types-CrJIILXf.d.cts → types-D-tJt0hQ.d.cts} +2 -6
- package/dist/{types-BYFU_6Iz.d.ts → types-D6lre27s.d.ts} +2 -8
- package/dist/{types-Cn8I0vcr.d.ts → types-DHMxPJZq.d.cts} +2 -6
- package/dist/{types-BtS3DhGu.d.cts → types-DJzTVMu1.d.ts} +2 -6
- package/dist/{types-DXF6faow.d.cts → types-DNgazFnF.d.cts} +2 -8
- package/dist/{types-UySfduQo.d.ts → types-DRCttnIN.d.ts} +2 -6
- package/dist/{types-D3H3EAre.d.ts → types-DUpVIuk7.d.ts} +2 -6
- package/dist/{types-Ce5Blzhg.d.ts → types-DeyXJzWz.d.cts} +2 -6
- package/dist/{types-sOM2_KPc.d.cts → types-Dryq2GGE.d.cts} +2 -6
- package/dist/{types-CwGbiMF-.d.cts → types-DschSZHf.d.cts} +3 -5
- package/dist/{types-C-GSYDTN.d.ts → types-DtOfhDzz.d.ts} +3 -5
- package/dist/{types-C4eQ-Zcx.d.cts → types-Du5o-tud.d.ts} +16 -97
- package/dist/{types-BbwrMl0Q.d.cts → types-DwbTiyhZ.d.cts} +2 -6
- package/dist/{types-B7L6uSYb.d.ts → types-Dz9vyloX.d.ts} +6 -10
- package/dist/{types-6KabdIyO.d.cts → types-E8tzafsk.d.cts} +3 -7
- package/dist/{types-EmIcG-8K.d.cts → types-LconaX98.d.cts} +2 -6
- package/dist/{types-Cfc-fYbq.d.cts → types-YpOm4yXE.d.cts} +2 -8
- package/dist/{types-CXv_e6xC.d.cts → types-ZZwdKCBl.d.ts} +2 -6
- package/dist/{types-D8d5tyGi.d.cts → types-eFi8xJIM.d.cts} +2 -6
- package/dist/{types-wNuJUhco.d.cts → types-inG9y3dP.d.ts} +2 -6
- package/dist/{types-Vu09EUZs.d.ts → types-ir7T2a9a.d.ts} +3 -7
- package/dist/{types-DMpiG2q4.d.cts → types-jjOulnni.d.ts} +2 -6
- package/dist/{types-DSBrhK_K.d.cts → types-wYrC2boT.d.ts} +3 -7
- package/dist/{types-1LENlL5h.d.ts → types-xzt_2H63.d.ts} +3 -7
- package/dist/{types-9d8ihjZh.d.cts → types-zPY-XGnM.d.ts} +2 -6
- package/dist/{validateConnectionStatus-BalWEyRk.cjs → validateConnectionStatus-BjemGI1e.cjs} +5 -7
- package/dist/{validateConnectionStatus-BalWEyRk.cjs.map → validateConnectionStatus-BjemGI1e.cjs.map} +1 -1
- package/dist/{validateConnectionStatus-DyrYpn0G.js → validateConnectionStatus-DYwWeWVo.js} +5 -7
- package/dist/{validateConnectionStatus-DyrYpn0G.js.map → validateConnectionStatus-DYwWeWVo.js.map} +1 -1
- package/dist/vault/index.cjs +7 -8
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +7 -8
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +7 -7
- package/surface/apps.md +12 -10
- package/surface/billing.md +2 -2
- package/surface/chat.md +1 -1
- package/surface/dataScience.md +1 -1
- package/surface/editor.md +5 -5
- package/surface/kaiAgent.md +4 -4
- package/surface/management.md +3 -2
- package/surface/queue.md +3 -3
- package/surface/sdk.md +0 -6
- package/surface/stack.md +11 -0
- package/surface/storage.md +2 -2
- package/surface/stream.md +6 -6
- package/surface/syncActions.md +1 -2
- package/dist/configurations-B2O8AAy0.cjs +0 -735
- package/dist/configurations-B2O8AAy0.cjs.map +0 -1
- package/dist/configurations-CL0ouUMa.js.map +0 -1
- package/dist/configurations-D9J3jh3g.cjs.map +0 -1
- package/dist/configurations-DKINmjA3.js +0 -718
- package/dist/configurations-DKINmjA3.js.map +0 -1
- package/dist/constants-CA4UN2Xv.js.map +0 -1
- package/dist/constants-a0jswUeK.cjs.map +0 -1
- package/dist/createGenericFetchClient-CQdNcPC3.js +0 -7
- package/dist/createOpenapiFetchClient-DXiMv9WL.js +0 -7
- package/dist/domain/permissions/index.cjs.map +0 -1
- package/dist/domain/permissions/index.js.map +0 -1
- package/dist/generateUUID-Dr8l-aoc.js +0 -6
- package/dist/index-B3QTeqfL.d.ts +0 -23575
- package/dist/index-BfqkgPGI.d.cts +0 -34
- package/dist/index-BfqkgPGI.d.ts +0 -34
- package/dist/index-C40Fbj-6.d.cts +0 -23575
- package/dist/index-P1vR966i.d.cts +0 -199
- package/dist/index-P1vR966i.d.ts +0 -199
- package/dist/management-CXHnxVaZ.cjs.map +0 -1
- package/dist/management-NYAD6ej4.js.map +0 -1
- package/dist/middleware-CEP6uu_D.cjs.map +0 -1
- package/dist/middleware-GOfx8Apu.js.map +0 -1
- package/dist/project-BXLFrWJ6.js +0 -45
- package/dist/project-BXLFrWJ6.js.map +0 -1
- package/dist/project-CpgplgCr.cjs +0 -62
- package/dist/project-CpgplgCr.cjs.map +0 -1
- package/dist/storage-BR-Kgi-6.js.map +0 -1
- package/dist/storageTable-BNOR2FCh.cjs +0 -442
- package/dist/storageTable-BNOR2FCh.cjs.map +0 -1
- package/dist/storageTable-BldTNyEk.js +0 -395
- package/dist/storageTable-BldTNyEk.js.map +0 -1
- package/dist/syncActions-C1rE4R3f.cjs.map +0 -1
- package/dist/syncActions-DM8vP7p3.js.map +0 -1
- package/surface/context.md +0 -40
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_rolldown_runtime = require("./rolldown-runtime-
|
|
2
|
-
const require_createFetchClient = require("./createFetchClient-
|
|
3
|
-
const require_SyncActionError = require("./SyncActionError-
|
|
4
|
-
const require_ValidationError = require("./ValidationError-
|
|
5
|
-
const require_createGenericFetchClient = require("./createGenericFetchClient-
|
|
6
|
-
const require_createOpenapiFetchClient = require("./createOpenapiFetchClient-
|
|
7
|
-
const require_auth = require("./auth-
|
|
8
|
-
const require_componentId = require("./componentId-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-CmQyd0Gu.cjs");
|
|
2
|
+
const require_createFetchClient = require("./createFetchClient-DEkUH662.cjs");
|
|
3
|
+
const require_SyncActionError = require("./SyncActionError-mbpVg63X.cjs");
|
|
4
|
+
const require_ValidationError = require("./ValidationError-BXcFX4nD.cjs");
|
|
5
|
+
const require_createGenericFetchClient = require("./createGenericFetchClient-2oU-PXVo.cjs");
|
|
6
|
+
const require_createOpenapiFetchClient = require("./createOpenapiFetchClient-DL9w7vU-.cjs");
|
|
7
|
+
const require_auth = require("./auth-CvB4MukT.cjs");
|
|
8
|
+
const require_componentId = require("./componentId-C8ZTXXDo.cjs");
|
|
9
9
|
let zod = require("zod");
|
|
10
10
|
zod = require_rolldown_runtime.__toESM(zod, 1);
|
|
11
|
-
|
|
11
|
+
// src/clients/syncActions/utils/response.ts
|
|
12
12
|
const asErrorBody = (data) => typeof data === "object" && data !== null ? data : null;
|
|
13
13
|
const asString = (value) => typeof value === "string" && value ? value : void 0;
|
|
14
14
|
const asNumber = (value) => typeof value === "number" ? value : void 0;
|
|
@@ -27,8 +27,7 @@ const syncActionValidateStatus = (apiResponse) => {
|
|
|
27
27
|
});
|
|
28
28
|
return require_createFetchClient.defaultValidateStatus(apiResponse);
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
//#region src/clients/syncActions/constants.ts
|
|
30
|
+
// src/clients/syncActions/constants.ts
|
|
32
31
|
const SyncAction = {
|
|
33
32
|
PREPARE_ROWS: "prepareRows",
|
|
34
33
|
TEST_CONNECTION: "testConnection",
|
|
@@ -43,8 +42,6 @@ const SyncAction = {
|
|
|
43
42
|
APIFY_LIST_TASKS: "listTasks",
|
|
44
43
|
AWS_S3_GET_EXTERNAL_ID: "getExternalId",
|
|
45
44
|
CONFIGURATION_MIGRATION_STATUS: "status",
|
|
46
|
-
DATA_APP_ENTRYPOINTS: "data-app-entrypoints",
|
|
47
|
-
DATA_APP_GIT_REPOSITORY: "git-repository",
|
|
48
45
|
EMAIL_ATTACHMENTS_GET: "get",
|
|
49
46
|
FACEBOOK_ADS_ACCOUNTS: "adaccounts",
|
|
50
47
|
FACEBOOK_PAGES_ACCOUNTS: "accounts",
|
|
@@ -75,8 +72,7 @@ const SyncAction = {
|
|
|
75
72
|
STORAGE_EXTRACTOR_SOURCE_INFO: "sourceInfo",
|
|
76
73
|
STORAGE_WRITER_INFO: "info"
|
|
77
74
|
};
|
|
78
|
-
|
|
79
|
-
//#region src/clients/syncActions/schemas.ts
|
|
75
|
+
// src/clients/syncActions/schemas.ts
|
|
80
76
|
/** The Keboola-side context every sync action carries; namespaces extend it with their own fields. */
|
|
81
77
|
const syncActionContextSchema = zod.object({
|
|
82
78
|
/** A numeric id or `"default"`; required so requests are self-describing. */
|
|
@@ -91,15 +87,13 @@ const syncActionBodySchema = syncActionContextSchema.extend({
|
|
|
91
87
|
action: zod.string().min(1, "Required"),
|
|
92
88
|
configData: zod.record(zod.string(), zod.unknown())
|
|
93
89
|
});
|
|
94
|
-
|
|
95
|
-
//#region src/clients/syncActions/apify/schemas.ts
|
|
90
|
+
// src/clients/syncActions/apify/schemas.ts
|
|
96
91
|
const apifyObjectsInputSchema = syncActionContextSchema.extend({ "#token": zod.string().min(1, "Required") });
|
|
97
92
|
const apifyObjectsSchema = zod.array(zod.object({
|
|
98
93
|
id: zod.string(),
|
|
99
94
|
name: zod.string()
|
|
100
95
|
}));
|
|
101
|
-
|
|
102
|
-
//#region src/clients/syncActions/apify/utils.ts
|
|
96
|
+
// src/clients/syncActions/apify/utils.ts
|
|
103
97
|
/**
|
|
104
98
|
* A slow Apify account makes the component answer `{ timeout: true }` on a 200 instead of the list —
|
|
105
99
|
* a failure only this action knows how to spot, so it is checked before deferring to the shared
|
|
@@ -110,8 +104,7 @@ const apifyValidateStatus = (apiResponse) => {
|
|
|
110
104
|
if (typeof data === "object" && data !== null && "timeout" in data && data.timeout) throw new require_SyncActionError.SyncActionError("Timed out while loading data from Apify.", { data });
|
|
111
105
|
return syncActionValidateStatus(apiResponse);
|
|
112
106
|
};
|
|
113
|
-
|
|
114
|
-
//#region src/clients/syncActions/apify/apify.ts
|
|
107
|
+
// src/clients/syncActions/apify/apify.ts
|
|
115
108
|
const createApify = (sendSyncAction) => {
|
|
116
109
|
const _getObjects = async (action, input, signal) => {
|
|
117
110
|
const { "#token": token, ...context } = require_ValidationError.parseOrThrow(apifyObjectsInputSchema, input);
|
|
@@ -137,8 +130,7 @@ const createApify = (sendSyncAction) => {
|
|
|
137
130
|
getTasks
|
|
138
131
|
};
|
|
139
132
|
};
|
|
140
|
-
|
|
141
|
-
//#region src/clients/syncActions/codePattern/schemas.ts
|
|
133
|
+
// src/clients/syncActions/codePattern/schemas.ts
|
|
142
134
|
const codePatternGenerateInputSchema = syncActionContextSchema.extend({
|
|
143
135
|
/** The code pattern component; any pattern answers the same `generate` contract. */
|
|
144
136
|
componentId: zod.string().min(1, "Required"),
|
|
@@ -152,8 +144,7 @@ const codePatternGenerateResultSchema = zod.object({ result: zod.object({
|
|
|
152
144
|
parameters: zod.record(zod.string(), zod.unknown()),
|
|
153
145
|
storage: zod.record(zod.string(), zod.unknown()).optional()
|
|
154
146
|
}) }).transform(({ result }) => result);
|
|
155
|
-
|
|
156
|
-
//#region src/clients/syncActions/codePattern/codePattern.ts
|
|
147
|
+
// src/clients/syncActions/codePattern/codePattern.ts
|
|
157
148
|
const createCodePattern = (sendSyncAction) => {
|
|
158
149
|
/** The transformation configuration the pattern generates from its form values and mapping. */
|
|
159
150
|
const generate = async (input, signal) => {
|
|
@@ -171,8 +162,7 @@ const createCodePattern = (sendSyncAction) => {
|
|
|
171
162
|
};
|
|
172
163
|
return { generate };
|
|
173
164
|
};
|
|
174
|
-
|
|
175
|
-
//#region src/clients/syncActions/common/schemas.ts
|
|
165
|
+
// src/clients/syncActions/common/schemas.ts
|
|
176
166
|
/** Actions any component may implement, so the id selects nothing and `configData` is its own. */
|
|
177
167
|
const commonActionInputSchema = syncActionContextSchema.extend({
|
|
178
168
|
componentId: zod.string().min(1, "Required"),
|
|
@@ -186,8 +176,7 @@ const preparedRowsSchema = zod.array(zod.object({
|
|
|
186
176
|
description: zod.string().optional(),
|
|
187
177
|
configuration: zod.record(zod.string(), zod.unknown())
|
|
188
178
|
}));
|
|
189
|
-
|
|
190
|
-
//#region src/clients/syncActions/common/common.ts
|
|
179
|
+
// src/clients/syncActions/common/common.ts
|
|
191
180
|
const createCommon = (sendSyncAction) => {
|
|
192
181
|
const sendCommonAction = (action, input, signal) => {
|
|
193
182
|
const { componentId, configData, ...context } = require_ValidationError.parseOrThrow(commonActionInputSchema, input);
|
|
@@ -211,8 +200,7 @@ const createCommon = (sendSyncAction) => {
|
|
|
211
200
|
testConnection
|
|
212
201
|
};
|
|
213
202
|
};
|
|
214
|
-
|
|
215
|
-
//#region src/clients/syncActions/configurationMigration/schemas.ts
|
|
203
|
+
// src/clients/syncActions/configurationMigration/schemas.ts
|
|
216
204
|
const getConfigurationMigrationStatusInputSchema = syncActionContextSchema.extend({
|
|
217
205
|
origin: zod.string().min(1, "Required"),
|
|
218
206
|
/** When omitted, the tool uses the destination it has registered for `origin`. */
|
|
@@ -226,8 +214,7 @@ const configurationMigrationStatusSchema = zod.object({
|
|
|
226
214
|
status: zod.string()
|
|
227
215
|
});
|
|
228
216
|
const getConfigurationMigrationStatusResultSchema = zod.object({ configurations: zod.array(configurationMigrationStatusSchema) });
|
|
229
|
-
|
|
230
|
-
//#region src/clients/syncActions/configurationMigration/configurationMigration.ts
|
|
217
|
+
// src/clients/syncActions/configurationMigration/configurationMigration.ts
|
|
231
218
|
const createConfigurationMigration = (sendSyncAction) => {
|
|
232
219
|
/** Throws `SyncActionError` when the component has no migration registered for `origin`. */
|
|
233
220
|
const getStatus = async (input, signal) => {
|
|
@@ -245,8 +232,7 @@ const createConfigurationMigration = (sendSyncAction) => {
|
|
|
245
232
|
};
|
|
246
233
|
return { getStatus };
|
|
247
234
|
};
|
|
248
|
-
|
|
249
|
-
//#region src/clients/syncActions/dbt/schemas.ts
|
|
235
|
+
// src/clients/syncActions/dbt/schemas.ts
|
|
250
236
|
/** `componentId` is a plain string: every dbt transformation serves the same actions, so it selects nothing. */
|
|
251
237
|
const dbtActionInputSchema = syncActionContextSchema.extend({
|
|
252
238
|
componentId: zod.string().min(1, "Required"),
|
|
@@ -274,8 +260,7 @@ const dbtModelTimingSchema = zod.object({
|
|
|
274
260
|
/** A missing key defaults to empty, as in `dbtCompiledSchema`. */
|
|
275
261
|
const dbtRunResultsSchema = zod.object({ modelTiming: zod.array(dbtModelTimingSchema).default([]) }).transform(({ modelTiming }) => modelTiming);
|
|
276
262
|
const dbtDocsSchema = zod.object({ html: zod.string() }).transform(({ html }) => html);
|
|
277
|
-
|
|
278
|
-
//#region src/clients/syncActions/dbt/utils.ts
|
|
263
|
+
// src/clients/syncActions/dbt/utils.ts
|
|
279
264
|
/**
|
|
280
265
|
* The dbt artifact actions read the *stored* configuration — `configId` is what they resolve it by,
|
|
281
266
|
* so the payload carries no settings of its own. `artifacts` is the configuration's own artifacts
|
|
@@ -286,8 +271,7 @@ const buildDbtActionConfigData = ({ configId, artifacts }) => ({
|
|
|
286
271
|
parameters: { configId },
|
|
287
272
|
...artifacts && { artifacts }
|
|
288
273
|
});
|
|
289
|
-
|
|
290
|
-
//#region src/clients/syncActions/dbt/dbt.ts
|
|
274
|
+
// src/clients/syncActions/dbt/dbt.ts
|
|
291
275
|
/** The dbt transformations' artifact actions — each reads what the *last run* left behind. */
|
|
292
276
|
const createDbt = (sendSyncAction) => {
|
|
293
277
|
const sendDbtAction = (action, input, signal) => {
|
|
@@ -323,14 +307,12 @@ const createDbt = (sendSyncAction) => {
|
|
|
323
307
|
runResults
|
|
324
308
|
};
|
|
325
309
|
};
|
|
326
|
-
|
|
327
|
-
//#region src/clients/syncActions/emailAttachments/schemas.ts
|
|
310
|
+
// src/clients/syncActions/emailAttachments/schemas.ts
|
|
328
311
|
const getEmailAttachmentsEmailInputSchema = syncActionContextSchema.extend({
|
|
329
312
|
/** The configuration id — keys the stored address and is embedded in a newly generated one. */
|
|
330
313
|
config: zod.string().min(1, "Required") });
|
|
331
314
|
const emailAttachmentsEmailSchema = zod.object({ email: zod.string() });
|
|
332
|
-
|
|
333
|
-
//#region src/clients/syncActions/emailAttachments/emailAttachments.ts
|
|
315
|
+
// src/clients/syncActions/emailAttachments/emailAttachments.ts
|
|
334
316
|
const createEmailAttachments = (sendSyncAction) => {
|
|
335
317
|
/** The configuration's inbound address; the component generates and stores it on first call. */
|
|
336
318
|
const getEmail = async (input, signal) => {
|
|
@@ -345,8 +327,7 @@ const createEmailAttachments = (sendSyncAction) => {
|
|
|
345
327
|
};
|
|
346
328
|
return { getEmail };
|
|
347
329
|
};
|
|
348
|
-
|
|
349
|
-
//#region src/clients/syncActions/facebook/constants.ts
|
|
330
|
+
// src/clients/syncActions/facebook/constants.ts
|
|
350
331
|
const FACEBOOK_FAMILY = [
|
|
351
332
|
require_componentId.ComponentId.EX_FACEBOOK,
|
|
352
333
|
require_componentId.ComponentId.EX_FACEBOOK_PAGES,
|
|
@@ -366,8 +347,7 @@ const FACEBOOK_ACCOUNTS_ACTION = {
|
|
|
366
347
|
};
|
|
367
348
|
const facebookIds = new Set(FACEBOOK_FAMILY);
|
|
368
349
|
const isFacebookComponentId = (componentId) => facebookIds.has(componentId);
|
|
369
|
-
|
|
370
|
-
//#region src/clients/syncActions/facebook/schemas.ts
|
|
350
|
+
// src/clients/syncActions/facebook/schemas.ts
|
|
371
351
|
const facebookGetAccountsInputSchema = syncActionContextSchema.extend({
|
|
372
352
|
componentId: zod.enum(FACEBOOK_FAMILY),
|
|
373
353
|
/** The stored configuration; the component reads its `authorization` and `parameters['api-version']`. */
|
|
@@ -378,8 +358,7 @@ const facebookAccountsSchema = zod.array(zod.looseObject({
|
|
|
378
358
|
id: zod.string(),
|
|
379
359
|
name: zod.string().optional()
|
|
380
360
|
}));
|
|
381
|
-
|
|
382
|
-
//#region src/clients/syncActions/facebook/utils.ts
|
|
361
|
+
// src/clients/syncActions/facebook/utils.ts
|
|
383
362
|
/**
|
|
384
363
|
* The message of the Graph API error body the component passed on as `error`.
|
|
385
364
|
*
|
|
@@ -412,8 +391,7 @@ const facebookValidateStatus = (apiResponse) => {
|
|
|
412
391
|
});
|
|
413
392
|
return syncActionValidateStatus(apiResponse);
|
|
414
393
|
};
|
|
415
|
-
|
|
416
|
-
//#region src/clients/syncActions/facebook/facebook.ts
|
|
394
|
+
// src/clients/syncActions/facebook/facebook.ts
|
|
417
395
|
const createFacebook = (sendSyncAction) => {
|
|
418
396
|
/** The accounts the configuration's authorization can extract from; which kind depends on `componentId`. */
|
|
419
397
|
const getAccounts = async (input, signal) => {
|
|
@@ -431,8 +409,7 @@ const createFacebook = (sendSyncAction) => {
|
|
|
431
409
|
};
|
|
432
410
|
return { getAccounts };
|
|
433
411
|
};
|
|
434
|
-
|
|
435
|
-
//#region src/clients/syncActions/flowMigration/schemas.ts
|
|
412
|
+
// src/clients/syncActions/flowMigration/schemas.ts
|
|
436
413
|
const flowMigrationInputSchema = syncActionContextSchema.extend({ orchestrationIds: zod.array(zod.string().min(1, "Required")) });
|
|
437
414
|
const flowMigrationValidationResultSchema = zod.object({
|
|
438
415
|
orchestrationId: zod.string(),
|
|
@@ -467,8 +444,7 @@ const flowMigrationPreviewResultSchema = zod.object({
|
|
|
467
444
|
});
|
|
468
445
|
const flowMigrationValidationResultsSchema = zod.array(flowMigrationValidationResultSchema);
|
|
469
446
|
const flowMigrationPreviewResultsSchema = zod.array(flowMigrationPreviewResultSchema);
|
|
470
|
-
|
|
471
|
-
//#region src/clients/syncActions/flowMigration/flowMigration.ts
|
|
447
|
+
// src/clients/syncActions/flowMigration/flowMigration.ts
|
|
472
448
|
/** Orchestration → flow migration checks; one result per requested orchestration. */
|
|
473
449
|
const createFlowMigration = (sendSyncAction) => {
|
|
474
450
|
const validate = async (input, signal) => {
|
|
@@ -500,8 +476,7 @@ const createFlowMigration = (sendSyncAction) => {
|
|
|
500
476
|
preview
|
|
501
477
|
};
|
|
502
478
|
};
|
|
503
|
-
|
|
504
|
-
//#region src/clients/syncActions/genericExtractor/schemas.ts
|
|
479
|
+
// src/clients/syncActions/genericExtractor/schemas.ts
|
|
505
480
|
/** The endpoint's position in the jobs tree, its indexes joined with `_` (`"0_1"`). */
|
|
506
481
|
const selectedJobSchema = zod.string().min(1, "Required");
|
|
507
482
|
/**
|
|
@@ -534,8 +509,7 @@ const genericExtractorInferMappingInputSchema = syncActionContextSchema.extend({
|
|
|
534
509
|
__NESTING_LEVEL: zod.number().int().positive().optional()
|
|
535
510
|
}) });
|
|
536
511
|
const genericExtractorMappingSchema = zod.record(zod.string(), zod.unknown());
|
|
537
|
-
|
|
538
|
-
//#region src/clients/syncActions/genericExtractor/genericExtractor.ts
|
|
512
|
+
// src/clients/syncActions/genericExtractor/genericExtractor.ts
|
|
539
513
|
const createGenericExtractor = (sendSyncAction) => {
|
|
540
514
|
const send = (action, context, configData, signal) => sendSyncAction({
|
|
541
515
|
...context,
|
|
@@ -576,17 +550,10 @@ const createGenericExtractor = (sendSyncAction) => {
|
|
|
576
550
|
testRequest
|
|
577
551
|
};
|
|
578
552
|
};
|
|
579
|
-
|
|
580
|
-
//#region src/clients/syncActions/git/constants.ts
|
|
553
|
+
// src/clients/syncActions/git/constants.ts
|
|
581
554
|
/**
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
* ones accepting an SSH key.
|
|
585
|
-
*/
|
|
586
|
-
const DATA_APP_FAMILY = [require_componentId.ComponentId.DATA_APPS, require_componentId.ComponentId.SANDBOXES];
|
|
587
|
-
/**
|
|
588
|
-
* Components whose git repository lives under `parameters.git.repo` and that answer to the
|
|
589
|
-
* `gitRepository` action. They authenticate over HTTPS with a username and password only.
|
|
555
|
+
* The dbt transformations: repository under `parameters.git.repo`, `gitRepository` action, HTTPS
|
|
556
|
+
* with a username and password or the organization connection.
|
|
590
557
|
*
|
|
591
558
|
* Deliberately a list rather than "everything else": `listBranches` / `list_branches` /
|
|
592
559
|
* `checkBranches` also exist on unrelated third-party components (`kds-team.app-custom-python`,
|
|
@@ -604,11 +571,8 @@ const DBT_FAMILY = [
|
|
|
604
571
|
require_componentId.ComponentId.DBT_TRANSFORMATION_REMOTE_REDSHIFT,
|
|
605
572
|
require_componentId.ComponentId.DBT_TRANSFORMATION_REMOTE_SNOWFLAKE
|
|
606
573
|
];
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
const isDataAppFamily = (componentId) => dataAppIds.has(componentId);
|
|
610
|
-
//#endregion
|
|
611
|
-
//#region src/clients/syncActions/git/schemas.ts
|
|
574
|
+
// src/clients/syncActions/git/schemas.ts
|
|
575
|
+
/** How the dbt component clones its repository. */
|
|
612
576
|
const gitAuthSchema = zod.discriminatedUnion("type", [
|
|
613
577
|
zod.object({ type: zod.literal("public") }),
|
|
614
578
|
zod.object({
|
|
@@ -616,36 +580,16 @@ const gitAuthSchema = zod.discriminatedUnion("type", [
|
|
|
616
580
|
username: zod.string().min(1, "Required"),
|
|
617
581
|
"#password": zod.string().min(1, "Required")
|
|
618
582
|
}),
|
|
619
|
-
zod.object({
|
|
620
|
-
type: zod.literal("sshKey"),
|
|
621
|
-
/** Ignored by the component: over SSH the user is always `git`. */
|
|
622
|
-
username: zod.string().min(1, "Required").optional(),
|
|
623
|
-
"#sshKey": zod.string().min(1, "Required")
|
|
624
|
-
})
|
|
583
|
+
zod.object({ type: zod.literal("organization") })
|
|
625
584
|
]);
|
|
626
|
-
const gitInputSchema = syncActionContextSchema.extend({
|
|
627
|
-
repositoryUrl: zod.string().min(1, "Required"),
|
|
628
|
-
auth: gitAuthSchema.default({ type: "public" })
|
|
629
|
-
});
|
|
630
585
|
/**
|
|
631
586
|
* **Takes no `branch` — do not add one.** The component clones with `-b <branch>`, so a stale one
|
|
632
587
|
* would fail the branch listing. Zod strips it.
|
|
633
588
|
*/
|
|
634
|
-
const getBranchesInputSchema =
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
code: "custom",
|
|
639
|
-
input: auth,
|
|
640
|
-
path: ["auth"],
|
|
641
|
-
message: `Component "${componentId}" authenticates with a password, not an SSH key.`
|
|
642
|
-
});
|
|
643
|
-
});
|
|
644
|
-
/** Only the data-app family serves `data-app-entrypoints`. */
|
|
645
|
-
const getEntrypointsInputSchema = gitInputSchema.extend({
|
|
646
|
-
componentId: zod.enum(DATA_APP_FAMILY),
|
|
647
|
-
/** The *git* branch (not `branchId`); omit for the repository default. `""` normalises to omitted. */
|
|
648
|
-
branch: zod.string().optional().transform((branch) => branch || void 0)
|
|
589
|
+
const getBranchesInputSchema = syncActionContextSchema.extend({
|
|
590
|
+
componentId: zod.enum(DBT_FAMILY),
|
|
591
|
+
repositoryUrl: zod.string().min(1, "Required"),
|
|
592
|
+
auth: gitAuthSchema.default({ type: "public" })
|
|
649
593
|
});
|
|
650
594
|
/** Only `branch` is load-bearing; the rest falls back to `''` so one bad field can't fail the list. */
|
|
651
595
|
const gitBranchSchema = zod.object({
|
|
@@ -678,76 +622,35 @@ const gitBranchesSchema = zod.object({
|
|
|
678
622
|
message: "The response carried no branch list."
|
|
679
623
|
});
|
|
680
624
|
}).transform(({ repository, branches }) => branches ?? repository?.branches ?? []);
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
/** Every variant is already the shape the components read, minus the discriminator. */
|
|
685
|
-
const toCredentials = (auth) => {
|
|
686
|
-
const { type: _type, ...credentials } = auth;
|
|
687
|
-
return credentials;
|
|
688
|
-
};
|
|
689
|
-
const toRevision = (rev) => rev.revision === "branch" ? { branch: rev.branch } : {};
|
|
690
|
-
/** Data apps nest their repository a level deeper, and call the URL `repository`. */
|
|
691
|
-
const buildDataAppConfigData = ({ repositoryUrl, auth, ...rev }) => ({ parameters: { dataApp: { git: {
|
|
692
|
-
repository: repositoryUrl,
|
|
693
|
-
...toCredentials(auth),
|
|
694
|
-
...toRevision(rev)
|
|
695
|
-
} } } });
|
|
696
|
-
/** dbt transformations keep the same settings at the top of `parameters`, under `repo`. */
|
|
697
|
-
const buildDbtConfigData = ({ repositoryUrl, auth, ...rev }) => ({ parameters: { git: {
|
|
625
|
+
// src/clients/syncActions/git/utils.ts
|
|
626
|
+
/** The repository the dbt component lists branches of; it clones without `-b`. */
|
|
627
|
+
const buildDbtConfigData = ({ repositoryUrl, auth }) => ({ parameters: { git: {
|
|
698
628
|
repo: repositoryUrl,
|
|
699
|
-
...
|
|
700
|
-
|
|
629
|
+
...auth.type === "password" ? {
|
|
630
|
+
username: auth.username,
|
|
631
|
+
"#password": auth["#password"]
|
|
632
|
+
} : {},
|
|
633
|
+
...auth.type === "organization" ? { authType: "organization" } : {}
|
|
701
634
|
} } });
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* Git repository actions, across both component families that serve them — the data apps
|
|
706
|
-
* (`git-repository`) and the dbt transformations (`gitRepository`). Which action name and which
|
|
707
|
-
* `configData` shape a call uses is resolved from `componentId`; see `./constants`.
|
|
708
|
-
*/
|
|
635
|
+
// src/clients/syncActions/git/git.ts
|
|
636
|
+
/** The dbt transformations' `gitRepository` action. Data apps list branches via `api.apps`. */
|
|
709
637
|
const createGit = (sendSyncAction) => {
|
|
710
638
|
const getBranches = async (input, signal) => {
|
|
711
639
|
const { componentId, repositoryUrl, auth, ...context } = require_ValidationError.parseOrThrow(getBranchesInputSchema, input);
|
|
712
|
-
const isDataApp = isDataAppFamily(componentId);
|
|
713
|
-
const action = isDataApp ? SyncAction.DATA_APP_GIT_REPOSITORY : SyncAction.DBT_GIT_REPOSITORY;
|
|
714
|
-
const buildConfigData = isDataApp ? buildDataAppConfigData : buildDbtConfigData;
|
|
715
640
|
const data = await sendSyncAction({
|
|
716
641
|
...context,
|
|
717
642
|
componentId,
|
|
718
|
-
action,
|
|
719
|
-
configData:
|
|
643
|
+
action: SyncAction.DBT_GIT_REPOSITORY,
|
|
644
|
+
configData: buildDbtConfigData({
|
|
720
645
|
repositoryUrl,
|
|
721
|
-
auth
|
|
722
|
-
revision: "default"
|
|
646
|
+
auth
|
|
723
647
|
})
|
|
724
648
|
}, { signal });
|
|
725
649
|
return require_ValidationError.parseOrThrow(gitBranchesSchema, data);
|
|
726
650
|
};
|
|
727
|
-
|
|
728
|
-
const { componentId, repositoryUrl, auth, branch, ...context } = require_ValidationError.parseOrThrow(getEntrypointsInputSchema, input);
|
|
729
|
-
const data = await sendSyncAction({
|
|
730
|
-
...context,
|
|
731
|
-
componentId,
|
|
732
|
-
action: SyncAction.DATA_APP_ENTRYPOINTS,
|
|
733
|
-
configData: buildDataAppConfigData({
|
|
734
|
-
repositoryUrl,
|
|
735
|
-
auth,
|
|
736
|
-
...branch ? {
|
|
737
|
-
revision: "branch",
|
|
738
|
-
branch
|
|
739
|
-
} : { revision: "default" }
|
|
740
|
-
})
|
|
741
|
-
}, { signal });
|
|
742
|
-
return require_ValidationError.parseOrThrow(gitEntrypointsSchema, data);
|
|
743
|
-
};
|
|
744
|
-
return {
|
|
745
|
-
getBranches,
|
|
746
|
-
getEntrypoints
|
|
747
|
-
};
|
|
651
|
+
return { getBranches };
|
|
748
652
|
};
|
|
749
|
-
|
|
750
|
-
//#region src/clients/syncActions/utils/oauth.ts
|
|
653
|
+
// src/clients/syncActions/utils/oauth.ts
|
|
751
654
|
/** The OAuth broker's credentials for one configuration, under the keys the components read. */
|
|
752
655
|
const oauthCredentialsSchema = zod.object({
|
|
753
656
|
appKey: zod.string().min(1, "Required"),
|
|
@@ -756,8 +659,7 @@ const oauthCredentialsSchema = zod.object({
|
|
|
756
659
|
});
|
|
757
660
|
/** The `configData.authorization` block every OAuth-backed component expects. */
|
|
758
661
|
const buildOauthAuthorization = (credentials) => ({ oauth_api: { credentials } });
|
|
759
|
-
|
|
760
|
-
//#region src/clients/syncActions/googleAnalytics/schemas.ts
|
|
662
|
+
// src/clients/syncActions/googleAnalytics/schemas.ts
|
|
761
663
|
/** A GA4 Data API property, under the keys the component both returns and requires back. */
|
|
762
664
|
const googleAnalyticsPropertySchema = zod.object({
|
|
763
665
|
accountKey: zod.string(),
|
|
@@ -796,8 +698,7 @@ const googleAnalyticsGetPropertiesMetadataResultSchema = zod.object({
|
|
|
796
698
|
metrics: zod.array(googleAnalyticsMetadataItemSchema),
|
|
797
699
|
dimensions: zod.array(googleAnalyticsMetadataItemSchema)
|
|
798
700
|
});
|
|
799
|
-
|
|
800
|
-
//#region src/clients/syncActions/googleAnalytics/googleAnalytics.ts
|
|
701
|
+
// src/clients/syncActions/googleAnalytics/googleAnalytics.ts
|
|
801
702
|
const createGoogleAnalytics = (sendSyncAction) => {
|
|
802
703
|
const getPropertiesMetadata = async (input, signal) => {
|
|
803
704
|
const { credentials, properties, ...context } = require_ValidationError.parseOrThrow(googleAnalyticsGetPropertiesMetadataInputSchema, input);
|
|
@@ -827,8 +728,7 @@ const createGoogleAnalytics = (sendSyncAction) => {
|
|
|
827
728
|
getProfilesProperties
|
|
828
729
|
};
|
|
829
730
|
};
|
|
830
|
-
|
|
831
|
-
//#region src/clients/syncActions/googleDrive/schemas.ts
|
|
731
|
+
// src/clients/syncActions/googleDrive/schemas.ts
|
|
832
732
|
/** The writer's `parameters.tables` entry; its config definition rejects any other key. */
|
|
833
733
|
const googleDriveTableSchema = zod.object({
|
|
834
734
|
id: zod.number().int().nonnegative(),
|
|
@@ -856,8 +756,7 @@ const googleDriveCreateFileResultSchema = zod.object({ file: zod.object({
|
|
|
856
756
|
title: zod.string().optional()
|
|
857
757
|
})
|
|
858
758
|
}) }).transform(({ file }) => file);
|
|
859
|
-
|
|
860
|
-
//#region src/clients/syncActions/googleDrive/googleDrive.ts
|
|
759
|
+
// src/clients/syncActions/googleDrive/googleDrive.ts
|
|
861
760
|
const createGoogleDrive = (sendSyncAction) => {
|
|
862
761
|
/** Creates the Drive file a table will be written to, without writing any data. */
|
|
863
762
|
const createFile = async (input, signal) => {
|
|
@@ -878,8 +777,7 @@ const createGoogleDrive = (sendSyncAction) => {
|
|
|
878
777
|
};
|
|
879
778
|
return { createFile };
|
|
880
779
|
};
|
|
881
|
-
|
|
882
|
-
//#region src/clients/syncActions/googleSheets/schemas.ts
|
|
780
|
+
// src/clients/syncActions/googleSheets/schemas.ts
|
|
883
781
|
/** The writer's `parameters.tables` entry; its config definition rejects any other key. */
|
|
884
782
|
const googleSheetsTableSchema = zod.object({
|
|
885
783
|
id: zod.number().int().nonnegative(),
|
|
@@ -912,8 +810,7 @@ const googleSheetsCreateSpreadsheetResultSchema = zod.object({ spreadsheet: zod.
|
|
|
912
810
|
}) }).transform(({ spreadsheet }) => spreadsheet);
|
|
913
811
|
/** The sheet named `sheetTitle` when the spreadsheet already has one, else the sheet it added. */
|
|
914
812
|
const googleSheetsAddSheetResultSchema = zod.object({ sheet: googleSheetPropertiesSchema }).transform(({ sheet }) => sheet);
|
|
915
|
-
|
|
916
|
-
//#region src/clients/syncActions/googleSheets/googleSheets.ts
|
|
813
|
+
// src/clients/syncActions/googleSheets/googleSheets.ts
|
|
917
814
|
const createGoogleSheets = (sendSyncAction) => {
|
|
918
815
|
const sendTableAction = (action, input, signal) => {
|
|
919
816
|
const { configuration, table, ...context } = require_ValidationError.parseOrThrow(googleSheetsTableActionInputSchema, input);
|
|
@@ -945,8 +842,7 @@ const createGoogleSheets = (sendSyncAction) => {
|
|
|
945
842
|
createSpreadsheet
|
|
946
843
|
};
|
|
947
844
|
};
|
|
948
|
-
|
|
949
|
-
//#region src/clients/syncActions/looker/schemas.ts
|
|
845
|
+
// src/clients/syncActions/looker/schemas.ts
|
|
950
846
|
const testLookerCredentialsInputSchema = syncActionContextSchema.extend({
|
|
951
847
|
credentialsId: zod.string().min(1, "Required"),
|
|
952
848
|
"#token": zod.string().min(1, "Required"),
|
|
@@ -957,8 +853,7 @@ const lookerCredentialsResultSchema = zod.object({
|
|
|
957
853
|
status: zod.string().optional(),
|
|
958
854
|
message: zod.string().optional()
|
|
959
855
|
});
|
|
960
|
-
|
|
961
|
-
//#region src/clients/syncActions/looker/looker.ts
|
|
856
|
+
// src/clients/syncActions/looker/looker.ts
|
|
962
857
|
const createLooker = (sendSyncAction) => {
|
|
963
858
|
/** Registers the project's Looker credentials; throws `SyncActionError` when Looker rejects them. */
|
|
964
859
|
const testCredentials = async (input, signal) => {
|
|
@@ -977,8 +872,7 @@ const createLooker = (sendSyncAction) => {
|
|
|
977
872
|
};
|
|
978
873
|
return { testCredentials };
|
|
979
874
|
};
|
|
980
|
-
|
|
981
|
-
//#region src/clients/syncActions/oneDrive/schemas.ts
|
|
875
|
+
// src/clients/syncActions/oneDrive/schemas.ts
|
|
982
876
|
const oneDriveInputSchema = syncActionContextSchema.extend({ credentials: oauthCredentialsSchema });
|
|
983
877
|
const oneDriveSearchFilesInputSchema = oneDriveInputSchema.extend({ search: zod.string().min(1, "Required") });
|
|
984
878
|
const oneDriveGetWorksheetsInputSchema = oneDriveInputSchema.extend({
|
|
@@ -1020,8 +914,7 @@ const oneDriveCreateWorksheetResultSchema = zod.object({ worksheet: zod.object({
|
|
|
1020
914
|
fileId: zod.string(),
|
|
1021
915
|
worksheetId: zod.string()
|
|
1022
916
|
}) });
|
|
1023
|
-
|
|
1024
|
-
//#region src/clients/syncActions/oneDrive/oneDrive.ts
|
|
917
|
+
// src/clients/syncActions/oneDrive/oneDrive.ts
|
|
1025
918
|
const createOneDrive = (sendSyncAction) => {
|
|
1026
919
|
const searchFiles = async (input, signal) => {
|
|
1027
920
|
const { credentials, search, ...context } = require_ValidationError.parseOrThrow(oneDriveSearchFilesInputSchema, input);
|
|
@@ -1092,14 +985,12 @@ const createOneDrive = (sendSyncAction) => {
|
|
|
1092
985
|
createWorksheet
|
|
1093
986
|
};
|
|
1094
987
|
};
|
|
1095
|
-
|
|
1096
|
-
//#region src/clients/syncActions/snowflakeDwhManager/schemas.ts
|
|
988
|
+
// src/clients/syncActions/snowflakeDwhManager/schemas.ts
|
|
1097
989
|
const snowflakeDwhManagerUserActionInputSchema = syncActionContextSchema.extend({
|
|
1098
990
|
/** The configuration's master connection merged with the one user row the action applies to. */
|
|
1099
991
|
parameters: zod.record(zod.string(), zod.unknown()) });
|
|
1100
992
|
const snowflakeDwhManagerUserActionResultSchema = zod.object({ message: zod.string() }).transform(({ message }) => message);
|
|
1101
|
-
|
|
1102
|
-
//#region src/clients/syncActions/snowflakeDwhManager/snowflakeDwhManager.ts
|
|
993
|
+
// src/clients/syncActions/snowflakeDwhManager/snowflakeDwhManager.ts
|
|
1103
994
|
const createSnowflakeDwhManager = (sendSyncAction) => {
|
|
1104
995
|
const sendUserAction = async (action, input, signal) => {
|
|
1105
996
|
const { parameters, ...context } = require_ValidationError.parseOrThrow(snowflakeDwhManagerUserActionInputSchema, input);
|
|
@@ -1119,15 +1010,13 @@ const createSnowflakeDwhManager = (sendSyncAction) => {
|
|
|
1119
1010
|
resetPassword
|
|
1120
1011
|
};
|
|
1121
1012
|
};
|
|
1122
|
-
|
|
1123
|
-
//#region src/clients/syncActions/sshKeys/schemas.ts
|
|
1013
|
+
// src/clients/syncActions/sshKeys/schemas.ts
|
|
1124
1014
|
const sshKeyPairSchema = zod.object({
|
|
1125
1015
|
status: zod.literal("success"),
|
|
1126
1016
|
public: zod.string(),
|
|
1127
1017
|
private: zod.string()
|
|
1128
1018
|
});
|
|
1129
|
-
|
|
1130
|
-
//#region src/clients/syncActions/sshKeys/sshKeys.ts
|
|
1019
|
+
// src/clients/syncActions/sshKeys/sshKeys.ts
|
|
1131
1020
|
const createSshKeys = (sendSyncAction) => {
|
|
1132
1021
|
/** Generates a new 4096-bit RSA key pair; the component keeps no copy. */
|
|
1133
1022
|
const generate = async (input, signal) => {
|
|
@@ -1141,8 +1030,7 @@ const createSshKeys = (sendSyncAction) => {
|
|
|
1141
1030
|
};
|
|
1142
1031
|
return { generate };
|
|
1143
1032
|
};
|
|
1144
|
-
|
|
1145
|
-
//#region src/clients/syncActions/syncActionsClient.ts
|
|
1033
|
+
// src/clients/syncActions/syncActionsClient.ts
|
|
1146
1034
|
const createSendSyncAction = (client) => {
|
|
1147
1035
|
return async (body, options = {}) => {
|
|
1148
1036
|
const { data } = await client.post("/actions", { body: require_ValidationError.parseOrThrow(syncActionBodySchema, body) }, options);
|
|
@@ -1187,7 +1075,6 @@ const createSyncActionsClient = ({ baseUrl, middlewares, auth }) => {
|
|
|
1187
1075
|
sshKeys: createSshKeys(sendSyncAction)
|
|
1188
1076
|
};
|
|
1189
1077
|
};
|
|
1190
|
-
//#endregion
|
|
1191
1078
|
Object.defineProperty(exports, "FACEBOOK_FAMILY", {
|
|
1192
1079
|
enumerable: true,
|
|
1193
1080
|
get: function() {
|
|
@@ -1213,4 +1100,4 @@ Object.defineProperty(exports, "isFacebookComponentId", {
|
|
|
1213
1100
|
}
|
|
1214
1101
|
});
|
|
1215
1102
|
|
|
1216
|
-
//# sourceMappingURL=syncActions-
|
|
1103
|
+
//# sourceMappingURL=syncActions-BcX3jm2E.cjs.map
|