@keboola/api-client 49.0.0 → 51.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 +13 -31
- package/CHANGELOG.md +54 -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-BX1gk3At.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-BbxFgfX-.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-DI2Y4imY.d.ts → appLogs-CTvZAihm.d.ts} +2 -4
- package/dist/{appLogs-IhRA3xyv.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 +28 -5
- package/dist/apps/index.cjs.map +1 -1
- package/dist/apps/index.d.cts +22 -5
- package/dist/apps/index.d.ts +22 -5
- package/dist/apps/index.js +28 -5
- 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-6Aau_4Zt.d.ts → authClient-Df3U4q_6.d.cts} +4 -16
- package/dist/{authClient-B3P6WtWW.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 -4
- package/dist/billing/index.d.cts +1 -3
- package/dist/billing/index.d.ts +1 -3
- package/dist/billing/index.js +3 -4
- package/dist/billing/types.d.cts +1 -5
- package/dist/billing/types.d.ts +1 -5
- 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 +3 -3
- package/dist/constants/index.d.cts +4 -4
- package/dist/constants/index.d.ts +4 -4
- package/dist/constants/index.js +3 -3
- package/dist/{constants-VpSwBtCb.js → constants-BMSHGwOR.js} +46 -52
- package/dist/constants-BMSHGwOR.js.map +1 -0
- package/dist/{constants-DErcRkWl.cjs → constants-DhFQWQgy.cjs} +45 -51
- 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 +18 -17
- package/dist/domain/permissions/index.d.cts +1 -11
- package/dist/domain/permissions/index.d.ts +1 -11
- package/dist/domain/permissions/index.js +3 -2
- 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-BT88-GpA.d.ts → index-AA3MRfRn.d.cts} +4 -16
- package/dist/{index-C6oPUTWZ.d.ts → index-BDPxm9qu.d.ts} +3 -7
- package/dist/index-BUZ-vTRt.d.ts +150 -0
- package/dist/{index-XcnkRVb0.d.ts → index-BZDxWvZW.d.ts} +5 -7
- package/dist/index-BfAcp7O2.d.ts +10 -0
- package/dist/index-BsT_cBJd.d.ts +15117 -0
- package/dist/index-C1ndNdrN.d.cts +10 -0
- package/dist/{index-BiZR9BjN.d.ts → index-CbSh3KFw.d.cts} +4 -12
- package/dist/{index-BM_fXKq5.d.cts → index-ClIV2Lch.d.cts} +5 -7
- package/dist/{index-DReKz9Zt.d.ts → index-CuI8OI9E.d.ts} +4 -13
- package/dist/{index-BPMr8PQJ.d.ts → index-D1mduJne.d.cts} +2 -52
- package/dist/{index-CL4iKFic.d.cts → index-D1mduJne.d.ts} +1 -51
- package/dist/{index-DorowSay.d.ts → index-DIPMzH--.d.ts} +5 -9
- package/dist/{index-CbZQCDkD.d.cts → index-DQagqTVa.d.cts} +3 -7
- package/dist/{index-dgu6udMy.d.ts → index-DVBQgFg0.d.ts} +4 -6
- package/dist/{index-CrrHvDiX.d.cts → index-Day1Yr5s.d.ts} +8 -7
- package/dist/{index-Dkb8CynB.d.cts → index-Db266tLz.d.cts} +5 -9
- package/dist/{index-BVjhAkXW.d.cts → index-DgGpQsAT.d.cts} +4 -6
- package/dist/{index-PqJGDHHl.d.cts → index-DjSthn8d.d.ts} +4 -16
- package/dist/{index-DhZTIejy.d.ts → index-lTrNMlj6.d.ts} +3 -5
- package/dist/{index-DYNVbgm8.d.cts → index-m9-mN8Gg.d.ts} +4 -12
- package/dist/index-qJ2IjXIM.d.cts +15117 -0
- package/dist/{index-CtQl-Iqw.d.cts → index-xX8-Stoq.d.cts} +4 -13
- package/dist/{index-D6JMbJ9b.d.ts → index-xhzuWloV.d.cts} +8 -7
- package/dist/{index-DGKCTQkb.d.cts → index-z-2okomN.d.cts} +3 -5
- package/dist/index.cjs +433 -1055
- 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 +429 -1052
- 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-N2qbUFZm.cjs → kaiAgent-CDhg0MAw.cjs} +16 -7
- package/dist/kaiAgent-CDhg0MAw.cjs.map +1 -0
- package/dist/{kaiAgent-CYvrS8oZ.js → kaiAgent-CYU1Uda8.js} +16 -7
- package/dist/kaiAgent-CYU1Uda8.js.map +1 -0
- 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 +1 -2
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/management/types.js +1 -2
- package/dist/{management-B1o6RpKF.cjs → management-BEGOEQxM.cjs} +26 -45
- package/dist/management-BEGOEQxM.cjs.map +1 -0
- package/dist/{management-C9w3DNhs.js → management-BcGHyxAP.js} +26 -45
- 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-ClH22nzH.js → project-DmuC0bMK.js} +6 -9
- package/dist/{project-ClH22nzH.js.map → project-DmuC0bMK.js.map} +1 -1
- package/dist/{project-Rh4nXiWh.cjs → project-Onf-IcPW.cjs} +9 -12
- package/dist/{project-Rh4nXiWh.cjs.map → project-Onf-IcPW.cjs.map} +1 -1
- package/dist/{project-DTfBtIJs.d.ts → project-UHZGFmmG.d.cts} +5 -9
- package/dist/{project-vOnvjo80.d.cts → project-iBm4cIIR.d.ts} +5 -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 +9 -9
- package/dist/storage/index.d.cts +3 -2
- package/dist/storage/index.d.ts +3 -2
- package/dist/storage/index.js +9 -9
- package/dist/storage/types.d.cts +6 -6
- package/dist/storage/types.d.ts +6 -6
- package/dist/{storage-CChfKlrb.js → storage-BpOLWT6h.js} +54 -89
- package/dist/{storage-CChfKlrb.js.map → storage-BpOLWT6h.js.map} +1 -1
- package/dist/{storage-Ci9gXgcw.cjs → storage-KJ5Ki_ma.cjs} +53 -88
- package/dist/{storage-Ci9gXgcw.cjs.map → storage-KJ5Ki_ma.cjs.map} +1 -1
- 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-DODAZKEm.d.ts → types--Rp5wvaz.d.ts} +2 -6
- package/dist/{types-JZ0Bdlpk.d.cts → types-1IBnjBVJ.d.cts} +2 -6
- package/dist/{types-BZ--6pIt.d.ts → types-37vwxse4.d.cts} +2 -6
- package/dist/{types-RogkWzOu.d.ts → types-6T04_qUf.d.ts} +2 -6
- package/dist/{types-TmrPVMhy.d.cts → types-B0e-no6u.d.ts} +18 -38
- package/dist/{types-ptynVnkv.d.cts → types-B1qe1etN.d.cts} +3 -7
- package/dist/{types-BXybSjn-.d.ts → types-B3ri-iiC.d.ts} +2 -26
- package/dist/{types-Duurgaqk.d.cts → types-B8k1DqlU.d.ts} +129 -10
- package/dist/{types-BOT6TgOS.d.ts → types-BE8abIig.d.cts} +2 -6
- package/dist/{types-BrpIEj_N.d.ts → types-BWMOK6eL.d.cts} +2 -6
- package/dist/{types-D53zBV25.d.ts → types-Bat0SIZA.d.cts} +16 -97
- package/dist/{types-Dy6EdWPG.d.ts → types-Bdl7EFMc.d.ts} +2 -6
- package/dist/{types-_zKX6JmD.d.ts → types-BiDdBXSm.d.ts} +2 -8
- package/dist/{types-dn6MHur3.d.cts → types-BrEVh0WE.d.cts} +253 -10
- package/dist/{types-BnmsuDfH.d.cts → types-BuclMPeY.d.cts} +2 -26
- package/dist/{types-302-NBaU.d.ts → types-C9okze_R.d.ts} +3 -7
- package/dist/{types-BT5e9TSQ.d.ts → types-CPWjRdnj.d.cts} +18 -38
- package/dist/{types-C614wC5h.d.cts → types-CRubbBcU.d.cts} +2 -6
- package/dist/{types-DlhNay1n.d.ts → types-CWcdaq-K.d.ts} +2 -6
- package/dist/{types-D9ZKJYZk.d.ts → types-CcGp6O3B.d.cts} +3 -7
- package/dist/{types-45O2dU2w.d.ts → types-Cr5lyI99.d.ts} +2 -6
- package/dist/{types-CY8X39qv.d.cts → types-CxEJ77m3.d.cts} +3 -7
- package/dist/{types-DmzSFOhK.d.cts → types-D-tJt0hQ.d.cts} +2 -6
- package/dist/{types-BjwbzqJd.d.ts → types-D6lre27s.d.ts} +2 -8
- package/dist/{types-0R9-osUJ.d.ts → types-DHMxPJZq.d.cts} +2 -6
- package/dist/{types-jN2KmMet.d.cts → types-DJzTVMu1.d.ts} +2 -6
- package/dist/{types-CfXqFz2e.d.ts → types-DKSUG2dZ.d.ts} +253 -10
- package/dist/{types-CpJhWBmH.d.cts → types-DNgazFnF.d.cts} +2 -8
- package/dist/{types-DjadPty5.d.ts → types-DRCttnIN.d.ts} +2 -6
- package/dist/{types-CeqZuOEC.d.ts → types-DUpVIuk7.d.ts} +2 -6
- package/dist/{types-DqOxIujY.d.ts → types-DeyXJzWz.d.cts} +2 -6
- package/dist/{types-O6XM48J8.d.cts → types-Dryq2GGE.d.cts} +2 -6
- package/dist/{types-CjNl7O7f.d.cts → types-DschSZHf.d.cts} +3 -5
- package/dist/{types-BUirSne-.d.ts → types-DtOfhDzz.d.ts} +3 -5
- package/dist/{types-CkJxMoTk.d.cts → types-Du5o-tud.d.ts} +16 -97
- package/dist/{types-ChLWY8aU.d.cts → types-DwbTiyhZ.d.cts} +2 -6
- package/dist/{types-HmK8iKp5.d.cts → types-E8tzafsk.d.cts} +3 -7
- package/dist/{types-DpbrGDRf.d.cts → types-LconaX98.d.cts} +2 -6
- package/dist/{types-tdIo5FpR.d.ts → types-PZzNANiS.d.cts} +129 -10
- package/dist/{types-CTS2NSIb.d.cts → types-YpOm4yXE.d.cts} +2 -8
- package/dist/{types-DbXV0g8U.d.cts → types-ZZwdKCBl.d.ts} +2 -6
- package/dist/{types-jfPoUlO8.d.cts → types-eFi8xJIM.d.cts} +2 -6
- package/dist/{types-DV7K07oX.d.cts → types-inG9y3dP.d.ts} +2 -6
- package/dist/{types-BM6rri7-.d.ts → types-ir7T2a9a.d.ts} +3 -7
- package/dist/{types-BAsYMltG.d.cts → types-jjOulnni.d.ts} +2 -6
- package/dist/{types-vvw_H7wp.d.cts → types-wYrC2boT.d.ts} +3 -7
- package/dist/{types-BWzt1ju_.d.ts → types-xzt_2H63.d.ts} +3 -7
- package/dist/{types-D2Pb_4FA.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/chat.md +1 -1
- package/surface/dataScience.md +1 -1
- package/surface/editor.md +5 -5
- package/surface/kaiAgent.md +5 -4
- package/surface/management.md +1 -1
- 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-B44z6BSO.js +0 -718
- package/dist/configurations-B44z6BSO.js.map +0 -1
- package/dist/configurations-CL0ouUMa.js.map +0 -1
- package/dist/configurations-D9J3jh3g.cjs.map +0 -1
- package/dist/configurations-Dkxsa3Uf.cjs +0 -735
- package/dist/configurations-Dkxsa3Uf.cjs.map +0 -1
- package/dist/constants-DErcRkWl.cjs.map +0 -1
- package/dist/constants-VpSwBtCb.js.map +0 -1
- package/dist/createGenericFetchClient-CQdNcPC3.js +0 -7
- package/dist/createOpenapiFetchClient-DXiMv9WL.js +0 -7
- package/dist/generateUUID-Dr8l-aoc.js +0 -6
- package/dist/index-Be2dNJ_N.d.cts +0 -23582
- package/dist/index-BfqkgPGI.d.cts +0 -34
- package/dist/index-BfqkgPGI.d.ts +0 -34
- package/dist/index-fMoM8SeH.d.cts +0 -199
- package/dist/index-fMoM8SeH.d.ts +0 -199
- package/dist/index-uGRdAORl.d.ts +0 -23582
- package/dist/kaiAgent-CYvrS8oZ.js.map +0 -1
- package/dist/kaiAgent-N2qbUFZm.cjs.map +0 -1
- package/dist/management-B1o6RpKF.cjs.map +0 -1
- package/dist/management-C9w3DNhs.js.map +0 -1
- package/dist/middleware-CEP6uu_D.cjs.map +0 -1
- package/dist/middleware-GOfx8Apu.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,12 +1,12 @@
|
|
|
1
|
-
import { c as defaultValidateStatus } from "./createFetchClient-
|
|
2
|
-
import { t as SyncActionError } from "./SyncActionError-
|
|
3
|
-
import { i as parseOrThrow } from "./ValidationError-
|
|
4
|
-
import { t as createGenericFetchClient } from "./createGenericFetchClient-
|
|
5
|
-
import { t as createOpenapiFetchClient } from "./createOpenapiFetchClient-
|
|
6
|
-
import { t as createAuthHeaders } from "./auth-
|
|
7
|
-
import { t as ComponentId } from "./componentId-
|
|
1
|
+
import { c as defaultValidateStatus } from "./createFetchClient-DlGCbltR.js";
|
|
2
|
+
import { t as SyncActionError } from "./SyncActionError-DuGcDbkd.js";
|
|
3
|
+
import { i as parseOrThrow } from "./ValidationError-BsdFDGY2.js";
|
|
4
|
+
import { t as createGenericFetchClient } from "./createGenericFetchClient-wGxemBwR.js";
|
|
5
|
+
import { t as createOpenapiFetchClient } from "./createOpenapiFetchClient-Bhz62MUE.js";
|
|
6
|
+
import { t as createAuthHeaders } from "./auth-DYfQMQCs.js";
|
|
7
|
+
import { t as ComponentId } from "./componentId-b_qBbJEM.js";
|
|
8
8
|
import * as z$1 from "zod";
|
|
9
|
-
|
|
9
|
+
// src/clients/syncActions/utils/response.ts
|
|
10
10
|
const asErrorBody = (data) => typeof data === "object" && data !== null ? data : null;
|
|
11
11
|
const asString = (value) => typeof value === "string" && value ? value : void 0;
|
|
12
12
|
const asNumber = (value) => typeof value === "number" ? value : void 0;
|
|
@@ -25,8 +25,7 @@ const syncActionValidateStatus = (apiResponse) => {
|
|
|
25
25
|
});
|
|
26
26
|
return defaultValidateStatus(apiResponse);
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
//#region src/clients/syncActions/constants.ts
|
|
28
|
+
// src/clients/syncActions/constants.ts
|
|
30
29
|
const SyncAction = {
|
|
31
30
|
PREPARE_ROWS: "prepareRows",
|
|
32
31
|
TEST_CONNECTION: "testConnection",
|
|
@@ -41,8 +40,6 @@ const SyncAction = {
|
|
|
41
40
|
APIFY_LIST_TASKS: "listTasks",
|
|
42
41
|
AWS_S3_GET_EXTERNAL_ID: "getExternalId",
|
|
43
42
|
CONFIGURATION_MIGRATION_STATUS: "status",
|
|
44
|
-
DATA_APP_ENTRYPOINTS: "data-app-entrypoints",
|
|
45
|
-
DATA_APP_GIT_REPOSITORY: "git-repository",
|
|
46
43
|
EMAIL_ATTACHMENTS_GET: "get",
|
|
47
44
|
FACEBOOK_ADS_ACCOUNTS: "adaccounts",
|
|
48
45
|
FACEBOOK_PAGES_ACCOUNTS: "accounts",
|
|
@@ -73,8 +70,7 @@ const SyncAction = {
|
|
|
73
70
|
STORAGE_EXTRACTOR_SOURCE_INFO: "sourceInfo",
|
|
74
71
|
STORAGE_WRITER_INFO: "info"
|
|
75
72
|
};
|
|
76
|
-
|
|
77
|
-
//#region src/clients/syncActions/schemas.ts
|
|
73
|
+
// src/clients/syncActions/schemas.ts
|
|
78
74
|
/** The Keboola-side context every sync action carries; namespaces extend it with their own fields. */
|
|
79
75
|
const syncActionContextSchema = z$1.object({
|
|
80
76
|
/** A numeric id or `"default"`; required so requests are self-describing. */
|
|
@@ -89,15 +85,13 @@ const syncActionBodySchema = syncActionContextSchema.extend({
|
|
|
89
85
|
action: z$1.string().min(1, "Required"),
|
|
90
86
|
configData: z$1.record(z$1.string(), z$1.unknown())
|
|
91
87
|
});
|
|
92
|
-
|
|
93
|
-
//#region src/clients/syncActions/apify/schemas.ts
|
|
88
|
+
// src/clients/syncActions/apify/schemas.ts
|
|
94
89
|
const apifyObjectsInputSchema = syncActionContextSchema.extend({ "#token": z$1.string().min(1, "Required") });
|
|
95
90
|
const apifyObjectsSchema = z$1.array(z$1.object({
|
|
96
91
|
id: z$1.string(),
|
|
97
92
|
name: z$1.string()
|
|
98
93
|
}));
|
|
99
|
-
|
|
100
|
-
//#region src/clients/syncActions/apify/utils.ts
|
|
94
|
+
// src/clients/syncActions/apify/utils.ts
|
|
101
95
|
/**
|
|
102
96
|
* A slow Apify account makes the component answer `{ timeout: true }` on a 200 instead of the list —
|
|
103
97
|
* a failure only this action knows how to spot, so it is checked before deferring to the shared
|
|
@@ -108,8 +102,7 @@ const apifyValidateStatus = (apiResponse) => {
|
|
|
108
102
|
if (typeof data === "object" && data !== null && "timeout" in data && data.timeout) throw new SyncActionError("Timed out while loading data from Apify.", { data });
|
|
109
103
|
return syncActionValidateStatus(apiResponse);
|
|
110
104
|
};
|
|
111
|
-
|
|
112
|
-
//#region src/clients/syncActions/apify/apify.ts
|
|
105
|
+
// src/clients/syncActions/apify/apify.ts
|
|
113
106
|
const createApify = (sendSyncAction) => {
|
|
114
107
|
const _getObjects = async (action, input, signal) => {
|
|
115
108
|
const { "#token": token, ...context } = parseOrThrow(apifyObjectsInputSchema, input);
|
|
@@ -135,8 +128,7 @@ const createApify = (sendSyncAction) => {
|
|
|
135
128
|
getTasks
|
|
136
129
|
};
|
|
137
130
|
};
|
|
138
|
-
|
|
139
|
-
//#region src/clients/syncActions/codePattern/schemas.ts
|
|
131
|
+
// src/clients/syncActions/codePattern/schemas.ts
|
|
140
132
|
const codePatternGenerateInputSchema = syncActionContextSchema.extend({
|
|
141
133
|
/** The code pattern component; any pattern answers the same `generate` contract. */
|
|
142
134
|
componentId: z$1.string().min(1, "Required"),
|
|
@@ -150,8 +142,7 @@ const codePatternGenerateResultSchema = z$1.object({ result: z$1.object({
|
|
|
150
142
|
parameters: z$1.record(z$1.string(), z$1.unknown()),
|
|
151
143
|
storage: z$1.record(z$1.string(), z$1.unknown()).optional()
|
|
152
144
|
}) }).transform(({ result }) => result);
|
|
153
|
-
|
|
154
|
-
//#region src/clients/syncActions/codePattern/codePattern.ts
|
|
145
|
+
// src/clients/syncActions/codePattern/codePattern.ts
|
|
155
146
|
const createCodePattern = (sendSyncAction) => {
|
|
156
147
|
/** The transformation configuration the pattern generates from its form values and mapping. */
|
|
157
148
|
const generate = async (input, signal) => {
|
|
@@ -169,8 +160,7 @@ const createCodePattern = (sendSyncAction) => {
|
|
|
169
160
|
};
|
|
170
161
|
return { generate };
|
|
171
162
|
};
|
|
172
|
-
|
|
173
|
-
//#region src/clients/syncActions/common/schemas.ts
|
|
163
|
+
// src/clients/syncActions/common/schemas.ts
|
|
174
164
|
/** Actions any component may implement, so the id selects nothing and `configData` is its own. */
|
|
175
165
|
const commonActionInputSchema = syncActionContextSchema.extend({
|
|
176
166
|
componentId: z$1.string().min(1, "Required"),
|
|
@@ -184,8 +174,7 @@ const preparedRowsSchema = z$1.array(z$1.object({
|
|
|
184
174
|
description: z$1.string().optional(),
|
|
185
175
|
configuration: z$1.record(z$1.string(), z$1.unknown())
|
|
186
176
|
}));
|
|
187
|
-
|
|
188
|
-
//#region src/clients/syncActions/common/common.ts
|
|
177
|
+
// src/clients/syncActions/common/common.ts
|
|
189
178
|
const createCommon = (sendSyncAction) => {
|
|
190
179
|
const sendCommonAction = (action, input, signal) => {
|
|
191
180
|
const { componentId, configData, ...context } = parseOrThrow(commonActionInputSchema, input);
|
|
@@ -209,8 +198,7 @@ const createCommon = (sendSyncAction) => {
|
|
|
209
198
|
testConnection
|
|
210
199
|
};
|
|
211
200
|
};
|
|
212
|
-
|
|
213
|
-
//#region src/clients/syncActions/configurationMigration/schemas.ts
|
|
201
|
+
// src/clients/syncActions/configurationMigration/schemas.ts
|
|
214
202
|
const getConfigurationMigrationStatusInputSchema = syncActionContextSchema.extend({
|
|
215
203
|
origin: z$1.string().min(1, "Required"),
|
|
216
204
|
/** When omitted, the tool uses the destination it has registered for `origin`. */
|
|
@@ -224,8 +212,7 @@ const configurationMigrationStatusSchema = z$1.object({
|
|
|
224
212
|
status: z$1.string()
|
|
225
213
|
});
|
|
226
214
|
const getConfigurationMigrationStatusResultSchema = z$1.object({ configurations: z$1.array(configurationMigrationStatusSchema) });
|
|
227
|
-
|
|
228
|
-
//#region src/clients/syncActions/configurationMigration/configurationMigration.ts
|
|
215
|
+
// src/clients/syncActions/configurationMigration/configurationMigration.ts
|
|
229
216
|
const createConfigurationMigration = (sendSyncAction) => {
|
|
230
217
|
/** Throws `SyncActionError` when the component has no migration registered for `origin`. */
|
|
231
218
|
const getStatus = async (input, signal) => {
|
|
@@ -243,8 +230,7 @@ const createConfigurationMigration = (sendSyncAction) => {
|
|
|
243
230
|
};
|
|
244
231
|
return { getStatus };
|
|
245
232
|
};
|
|
246
|
-
|
|
247
|
-
//#region src/clients/syncActions/dbt/schemas.ts
|
|
233
|
+
// src/clients/syncActions/dbt/schemas.ts
|
|
248
234
|
/** `componentId` is a plain string: every dbt transformation serves the same actions, so it selects nothing. */
|
|
249
235
|
const dbtActionInputSchema = syncActionContextSchema.extend({
|
|
250
236
|
componentId: z$1.string().min(1, "Required"),
|
|
@@ -272,8 +258,7 @@ const dbtModelTimingSchema = z$1.object({
|
|
|
272
258
|
/** A missing key defaults to empty, as in `dbtCompiledSchema`. */
|
|
273
259
|
const dbtRunResultsSchema = z$1.object({ modelTiming: z$1.array(dbtModelTimingSchema).default([]) }).transform(({ modelTiming }) => modelTiming);
|
|
274
260
|
const dbtDocsSchema = z$1.object({ html: z$1.string() }).transform(({ html }) => html);
|
|
275
|
-
|
|
276
|
-
//#region src/clients/syncActions/dbt/utils.ts
|
|
261
|
+
// src/clients/syncActions/dbt/utils.ts
|
|
277
262
|
/**
|
|
278
263
|
* The dbt artifact actions read the *stored* configuration — `configId` is what they resolve it by,
|
|
279
264
|
* so the payload carries no settings of its own. `artifacts` is the configuration's own artifacts
|
|
@@ -284,8 +269,7 @@ const buildDbtActionConfigData = ({ configId, artifacts }) => ({
|
|
|
284
269
|
parameters: { configId },
|
|
285
270
|
...artifacts && { artifacts }
|
|
286
271
|
});
|
|
287
|
-
|
|
288
|
-
//#region src/clients/syncActions/dbt/dbt.ts
|
|
272
|
+
// src/clients/syncActions/dbt/dbt.ts
|
|
289
273
|
/** The dbt transformations' artifact actions — each reads what the *last run* left behind. */
|
|
290
274
|
const createDbt = (sendSyncAction) => {
|
|
291
275
|
const sendDbtAction = (action, input, signal) => {
|
|
@@ -321,14 +305,12 @@ const createDbt = (sendSyncAction) => {
|
|
|
321
305
|
runResults
|
|
322
306
|
};
|
|
323
307
|
};
|
|
324
|
-
|
|
325
|
-
//#region src/clients/syncActions/emailAttachments/schemas.ts
|
|
308
|
+
// src/clients/syncActions/emailAttachments/schemas.ts
|
|
326
309
|
const getEmailAttachmentsEmailInputSchema = syncActionContextSchema.extend({
|
|
327
310
|
/** The configuration id — keys the stored address and is embedded in a newly generated one. */
|
|
328
311
|
config: z$1.string().min(1, "Required") });
|
|
329
312
|
const emailAttachmentsEmailSchema = z$1.object({ email: z$1.string() });
|
|
330
|
-
|
|
331
|
-
//#region src/clients/syncActions/emailAttachments/emailAttachments.ts
|
|
313
|
+
// src/clients/syncActions/emailAttachments/emailAttachments.ts
|
|
332
314
|
const createEmailAttachments = (sendSyncAction) => {
|
|
333
315
|
/** The configuration's inbound address; the component generates and stores it on first call. */
|
|
334
316
|
const getEmail = async (input, signal) => {
|
|
@@ -343,8 +325,7 @@ const createEmailAttachments = (sendSyncAction) => {
|
|
|
343
325
|
};
|
|
344
326
|
return { getEmail };
|
|
345
327
|
};
|
|
346
|
-
|
|
347
|
-
//#region src/clients/syncActions/facebook/constants.ts
|
|
328
|
+
// src/clients/syncActions/facebook/constants.ts
|
|
348
329
|
const FACEBOOK_FAMILY = [
|
|
349
330
|
ComponentId.EX_FACEBOOK,
|
|
350
331
|
ComponentId.EX_FACEBOOK_PAGES,
|
|
@@ -364,8 +345,7 @@ const FACEBOOK_ACCOUNTS_ACTION = {
|
|
|
364
345
|
};
|
|
365
346
|
const facebookIds = new Set(FACEBOOK_FAMILY);
|
|
366
347
|
const isFacebookComponentId = (componentId) => facebookIds.has(componentId);
|
|
367
|
-
|
|
368
|
-
//#region src/clients/syncActions/facebook/schemas.ts
|
|
348
|
+
// src/clients/syncActions/facebook/schemas.ts
|
|
369
349
|
const facebookGetAccountsInputSchema = syncActionContextSchema.extend({
|
|
370
350
|
componentId: z$1.enum(FACEBOOK_FAMILY),
|
|
371
351
|
/** The stored configuration; the component reads its `authorization` and `parameters['api-version']`. */
|
|
@@ -376,8 +356,7 @@ const facebookAccountsSchema = z$1.array(z$1.looseObject({
|
|
|
376
356
|
id: z$1.string(),
|
|
377
357
|
name: z$1.string().optional()
|
|
378
358
|
}));
|
|
379
|
-
|
|
380
|
-
//#region src/clients/syncActions/facebook/utils.ts
|
|
359
|
+
// src/clients/syncActions/facebook/utils.ts
|
|
381
360
|
/**
|
|
382
361
|
* The message of the Graph API error body the component passed on as `error`.
|
|
383
362
|
*
|
|
@@ -410,8 +389,7 @@ const facebookValidateStatus = (apiResponse) => {
|
|
|
410
389
|
});
|
|
411
390
|
return syncActionValidateStatus(apiResponse);
|
|
412
391
|
};
|
|
413
|
-
|
|
414
|
-
//#region src/clients/syncActions/facebook/facebook.ts
|
|
392
|
+
// src/clients/syncActions/facebook/facebook.ts
|
|
415
393
|
const createFacebook = (sendSyncAction) => {
|
|
416
394
|
/** The accounts the configuration's authorization can extract from; which kind depends on `componentId`. */
|
|
417
395
|
const getAccounts = async (input, signal) => {
|
|
@@ -429,8 +407,7 @@ const createFacebook = (sendSyncAction) => {
|
|
|
429
407
|
};
|
|
430
408
|
return { getAccounts };
|
|
431
409
|
};
|
|
432
|
-
|
|
433
|
-
//#region src/clients/syncActions/flowMigration/schemas.ts
|
|
410
|
+
// src/clients/syncActions/flowMigration/schemas.ts
|
|
434
411
|
const flowMigrationInputSchema = syncActionContextSchema.extend({ orchestrationIds: z$1.array(z$1.string().min(1, "Required")) });
|
|
435
412
|
const flowMigrationValidationResultSchema = z$1.object({
|
|
436
413
|
orchestrationId: z$1.string(),
|
|
@@ -465,8 +442,7 @@ const flowMigrationPreviewResultSchema = z$1.object({
|
|
|
465
442
|
});
|
|
466
443
|
const flowMigrationValidationResultsSchema = z$1.array(flowMigrationValidationResultSchema);
|
|
467
444
|
const flowMigrationPreviewResultsSchema = z$1.array(flowMigrationPreviewResultSchema);
|
|
468
|
-
|
|
469
|
-
//#region src/clients/syncActions/flowMigration/flowMigration.ts
|
|
445
|
+
// src/clients/syncActions/flowMigration/flowMigration.ts
|
|
470
446
|
/** Orchestration → flow migration checks; one result per requested orchestration. */
|
|
471
447
|
const createFlowMigration = (sendSyncAction) => {
|
|
472
448
|
const validate = async (input, signal) => {
|
|
@@ -498,8 +474,7 @@ const createFlowMigration = (sendSyncAction) => {
|
|
|
498
474
|
preview
|
|
499
475
|
};
|
|
500
476
|
};
|
|
501
|
-
|
|
502
|
-
//#region src/clients/syncActions/genericExtractor/schemas.ts
|
|
477
|
+
// src/clients/syncActions/genericExtractor/schemas.ts
|
|
503
478
|
/** The endpoint's position in the jobs tree, its indexes joined with `_` (`"0_1"`). */
|
|
504
479
|
const selectedJobSchema = z$1.string().min(1, "Required");
|
|
505
480
|
/**
|
|
@@ -532,8 +507,7 @@ const genericExtractorInferMappingInputSchema = syncActionContextSchema.extend({
|
|
|
532
507
|
__NESTING_LEVEL: z$1.number().int().positive().optional()
|
|
533
508
|
}) });
|
|
534
509
|
const genericExtractorMappingSchema = z$1.record(z$1.string(), z$1.unknown());
|
|
535
|
-
|
|
536
|
-
//#region src/clients/syncActions/genericExtractor/genericExtractor.ts
|
|
510
|
+
// src/clients/syncActions/genericExtractor/genericExtractor.ts
|
|
537
511
|
const createGenericExtractor = (sendSyncAction) => {
|
|
538
512
|
const send = (action, context, configData, signal) => sendSyncAction({
|
|
539
513
|
...context,
|
|
@@ -574,17 +548,10 @@ const createGenericExtractor = (sendSyncAction) => {
|
|
|
574
548
|
testRequest
|
|
575
549
|
};
|
|
576
550
|
};
|
|
577
|
-
|
|
578
|
-
//#region src/clients/syncActions/git/constants.ts
|
|
551
|
+
// src/clients/syncActions/git/constants.ts
|
|
579
552
|
/**
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
* ones accepting an SSH key.
|
|
583
|
-
*/
|
|
584
|
-
const DATA_APP_FAMILY = [ComponentId.DATA_APPS, ComponentId.SANDBOXES];
|
|
585
|
-
/**
|
|
586
|
-
* Components whose git repository lives under `parameters.git.repo` and that answer to the
|
|
587
|
-
* `gitRepository` action. They authenticate over HTTPS with a username and password only.
|
|
553
|
+
* The dbt transformations: repository under `parameters.git.repo`, `gitRepository` action, HTTPS
|
|
554
|
+
* with a username and password or the organization connection.
|
|
588
555
|
*
|
|
589
556
|
* Deliberately a list rather than "everything else": `listBranches` / `list_branches` /
|
|
590
557
|
* `checkBranches` also exist on unrelated third-party components (`kds-team.app-custom-python`,
|
|
@@ -602,11 +569,8 @@ const DBT_FAMILY = [
|
|
|
602
569
|
ComponentId.DBT_TRANSFORMATION_REMOTE_REDSHIFT,
|
|
603
570
|
ComponentId.DBT_TRANSFORMATION_REMOTE_SNOWFLAKE
|
|
604
571
|
];
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
const isDataAppFamily = (componentId) => dataAppIds.has(componentId);
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region src/clients/syncActions/git/schemas.ts
|
|
572
|
+
// src/clients/syncActions/git/schemas.ts
|
|
573
|
+
/** How the dbt component clones its repository. */
|
|
610
574
|
const gitAuthSchema = z$1.discriminatedUnion("type", [
|
|
611
575
|
z$1.object({ type: z$1.literal("public") }),
|
|
612
576
|
z$1.object({
|
|
@@ -614,36 +578,16 @@ const gitAuthSchema = z$1.discriminatedUnion("type", [
|
|
|
614
578
|
username: z$1.string().min(1, "Required"),
|
|
615
579
|
"#password": z$1.string().min(1, "Required")
|
|
616
580
|
}),
|
|
617
|
-
z$1.object({
|
|
618
|
-
type: z$1.literal("sshKey"),
|
|
619
|
-
/** Ignored by the component: over SSH the user is always `git`. */
|
|
620
|
-
username: z$1.string().min(1, "Required").optional(),
|
|
621
|
-
"#sshKey": z$1.string().min(1, "Required")
|
|
622
|
-
})
|
|
581
|
+
z$1.object({ type: z$1.literal("organization") })
|
|
623
582
|
]);
|
|
624
|
-
const gitInputSchema = syncActionContextSchema.extend({
|
|
625
|
-
repositoryUrl: z$1.string().min(1, "Required"),
|
|
626
|
-
auth: gitAuthSchema.default({ type: "public" })
|
|
627
|
-
});
|
|
628
583
|
/**
|
|
629
584
|
* **Takes no `branch` — do not add one.** The component clones with `-b <branch>`, so a stale one
|
|
630
585
|
* would fail the branch listing. Zod strips it.
|
|
631
586
|
*/
|
|
632
|
-
const getBranchesInputSchema =
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
code: "custom",
|
|
637
|
-
input: auth,
|
|
638
|
-
path: ["auth"],
|
|
639
|
-
message: `Component "${componentId}" authenticates with a password, not an SSH key.`
|
|
640
|
-
});
|
|
641
|
-
});
|
|
642
|
-
/** Only the data-app family serves `data-app-entrypoints`. */
|
|
643
|
-
const getEntrypointsInputSchema = gitInputSchema.extend({
|
|
644
|
-
componentId: z$1.enum(DATA_APP_FAMILY),
|
|
645
|
-
/** The *git* branch (not `branchId`); omit for the repository default. `""` normalises to omitted. */
|
|
646
|
-
branch: z$1.string().optional().transform((branch) => branch || void 0)
|
|
587
|
+
const getBranchesInputSchema = syncActionContextSchema.extend({
|
|
588
|
+
componentId: z$1.enum(DBT_FAMILY),
|
|
589
|
+
repositoryUrl: z$1.string().min(1, "Required"),
|
|
590
|
+
auth: gitAuthSchema.default({ type: "public" })
|
|
647
591
|
});
|
|
648
592
|
/** Only `branch` is load-bearing; the rest falls back to `''` so one bad field can't fail the list. */
|
|
649
593
|
const gitBranchSchema = z$1.object({
|
|
@@ -676,76 +620,35 @@ const gitBranchesSchema = z$1.object({
|
|
|
676
620
|
message: "The response carried no branch list."
|
|
677
621
|
});
|
|
678
622
|
}).transform(({ repository, branches }) => branches ?? repository?.branches ?? []);
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
/** Every variant is already the shape the components read, minus the discriminator. */
|
|
683
|
-
const toCredentials = (auth) => {
|
|
684
|
-
const { type: _type, ...credentials } = auth;
|
|
685
|
-
return credentials;
|
|
686
|
-
};
|
|
687
|
-
const toRevision = (rev) => rev.revision === "branch" ? { branch: rev.branch } : {};
|
|
688
|
-
/** Data apps nest their repository a level deeper, and call the URL `repository`. */
|
|
689
|
-
const buildDataAppConfigData = ({ repositoryUrl, auth, ...rev }) => ({ parameters: { dataApp: { git: {
|
|
690
|
-
repository: repositoryUrl,
|
|
691
|
-
...toCredentials(auth),
|
|
692
|
-
...toRevision(rev)
|
|
693
|
-
} } } });
|
|
694
|
-
/** dbt transformations keep the same settings at the top of `parameters`, under `repo`. */
|
|
695
|
-
const buildDbtConfigData = ({ repositoryUrl, auth, ...rev }) => ({ parameters: { git: {
|
|
623
|
+
// src/clients/syncActions/git/utils.ts
|
|
624
|
+
/** The repository the dbt component lists branches of; it clones without `-b`. */
|
|
625
|
+
const buildDbtConfigData = ({ repositoryUrl, auth }) => ({ parameters: { git: {
|
|
696
626
|
repo: repositoryUrl,
|
|
697
|
-
...
|
|
698
|
-
|
|
627
|
+
...auth.type === "password" ? {
|
|
628
|
+
username: auth.username,
|
|
629
|
+
"#password": auth["#password"]
|
|
630
|
+
} : {},
|
|
631
|
+
...auth.type === "organization" ? { authType: "organization" } : {}
|
|
699
632
|
} } });
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* Git repository actions, across both component families that serve them — the data apps
|
|
704
|
-
* (`git-repository`) and the dbt transformations (`gitRepository`). Which action name and which
|
|
705
|
-
* `configData` shape a call uses is resolved from `componentId`; see `./constants`.
|
|
706
|
-
*/
|
|
633
|
+
// src/clients/syncActions/git/git.ts
|
|
634
|
+
/** The dbt transformations' `gitRepository` action. Data apps list branches via `api.apps`. */
|
|
707
635
|
const createGit = (sendSyncAction) => {
|
|
708
636
|
const getBranches = async (input, signal) => {
|
|
709
637
|
const { componentId, repositoryUrl, auth, ...context } = parseOrThrow(getBranchesInputSchema, input);
|
|
710
|
-
const isDataApp = isDataAppFamily(componentId);
|
|
711
|
-
const action = isDataApp ? SyncAction.DATA_APP_GIT_REPOSITORY : SyncAction.DBT_GIT_REPOSITORY;
|
|
712
|
-
const buildConfigData = isDataApp ? buildDataAppConfigData : buildDbtConfigData;
|
|
713
638
|
const data = await sendSyncAction({
|
|
714
639
|
...context,
|
|
715
640
|
componentId,
|
|
716
|
-
action,
|
|
717
|
-
configData:
|
|
641
|
+
action: SyncAction.DBT_GIT_REPOSITORY,
|
|
642
|
+
configData: buildDbtConfigData({
|
|
718
643
|
repositoryUrl,
|
|
719
|
-
auth
|
|
720
|
-
revision: "default"
|
|
644
|
+
auth
|
|
721
645
|
})
|
|
722
646
|
}, { signal });
|
|
723
647
|
return parseOrThrow(gitBranchesSchema, data);
|
|
724
648
|
};
|
|
725
|
-
|
|
726
|
-
const { componentId, repositoryUrl, auth, branch, ...context } = parseOrThrow(getEntrypointsInputSchema, input);
|
|
727
|
-
const data = await sendSyncAction({
|
|
728
|
-
...context,
|
|
729
|
-
componentId,
|
|
730
|
-
action: SyncAction.DATA_APP_ENTRYPOINTS,
|
|
731
|
-
configData: buildDataAppConfigData({
|
|
732
|
-
repositoryUrl,
|
|
733
|
-
auth,
|
|
734
|
-
...branch ? {
|
|
735
|
-
revision: "branch",
|
|
736
|
-
branch
|
|
737
|
-
} : { revision: "default" }
|
|
738
|
-
})
|
|
739
|
-
}, { signal });
|
|
740
|
-
return parseOrThrow(gitEntrypointsSchema, data);
|
|
741
|
-
};
|
|
742
|
-
return {
|
|
743
|
-
getBranches,
|
|
744
|
-
getEntrypoints
|
|
745
|
-
};
|
|
649
|
+
return { getBranches };
|
|
746
650
|
};
|
|
747
|
-
|
|
748
|
-
//#region src/clients/syncActions/utils/oauth.ts
|
|
651
|
+
// src/clients/syncActions/utils/oauth.ts
|
|
749
652
|
/** The OAuth broker's credentials for one configuration, under the keys the components read. */
|
|
750
653
|
const oauthCredentialsSchema = z$1.object({
|
|
751
654
|
appKey: z$1.string().min(1, "Required"),
|
|
@@ -754,8 +657,7 @@ const oauthCredentialsSchema = z$1.object({
|
|
|
754
657
|
});
|
|
755
658
|
/** The `configData.authorization` block every OAuth-backed component expects. */
|
|
756
659
|
const buildOauthAuthorization = (credentials) => ({ oauth_api: { credentials } });
|
|
757
|
-
|
|
758
|
-
//#region src/clients/syncActions/googleAnalytics/schemas.ts
|
|
660
|
+
// src/clients/syncActions/googleAnalytics/schemas.ts
|
|
759
661
|
/** A GA4 Data API property, under the keys the component both returns and requires back. */
|
|
760
662
|
const googleAnalyticsPropertySchema = z$1.object({
|
|
761
663
|
accountKey: z$1.string(),
|
|
@@ -794,8 +696,7 @@ const googleAnalyticsGetPropertiesMetadataResultSchema = z$1.object({
|
|
|
794
696
|
metrics: z$1.array(googleAnalyticsMetadataItemSchema),
|
|
795
697
|
dimensions: z$1.array(googleAnalyticsMetadataItemSchema)
|
|
796
698
|
});
|
|
797
|
-
|
|
798
|
-
//#region src/clients/syncActions/googleAnalytics/googleAnalytics.ts
|
|
699
|
+
// src/clients/syncActions/googleAnalytics/googleAnalytics.ts
|
|
799
700
|
const createGoogleAnalytics = (sendSyncAction) => {
|
|
800
701
|
const getPropertiesMetadata = async (input, signal) => {
|
|
801
702
|
const { credentials, properties, ...context } = parseOrThrow(googleAnalyticsGetPropertiesMetadataInputSchema, input);
|
|
@@ -825,8 +726,7 @@ const createGoogleAnalytics = (sendSyncAction) => {
|
|
|
825
726
|
getProfilesProperties
|
|
826
727
|
};
|
|
827
728
|
};
|
|
828
|
-
|
|
829
|
-
//#region src/clients/syncActions/googleDrive/schemas.ts
|
|
729
|
+
// src/clients/syncActions/googleDrive/schemas.ts
|
|
830
730
|
/** The writer's `parameters.tables` entry; its config definition rejects any other key. */
|
|
831
731
|
const googleDriveTableSchema = z$1.object({
|
|
832
732
|
id: z$1.number().int().nonnegative(),
|
|
@@ -854,8 +754,7 @@ const googleDriveCreateFileResultSchema = z$1.object({ file: z$1.object({
|
|
|
854
754
|
title: z$1.string().optional()
|
|
855
755
|
})
|
|
856
756
|
}) }).transform(({ file }) => file);
|
|
857
|
-
|
|
858
|
-
//#region src/clients/syncActions/googleDrive/googleDrive.ts
|
|
757
|
+
// src/clients/syncActions/googleDrive/googleDrive.ts
|
|
859
758
|
const createGoogleDrive = (sendSyncAction) => {
|
|
860
759
|
/** Creates the Drive file a table will be written to, without writing any data. */
|
|
861
760
|
const createFile = async (input, signal) => {
|
|
@@ -876,8 +775,7 @@ const createGoogleDrive = (sendSyncAction) => {
|
|
|
876
775
|
};
|
|
877
776
|
return { createFile };
|
|
878
777
|
};
|
|
879
|
-
|
|
880
|
-
//#region src/clients/syncActions/googleSheets/schemas.ts
|
|
778
|
+
// src/clients/syncActions/googleSheets/schemas.ts
|
|
881
779
|
/** The writer's `parameters.tables` entry; its config definition rejects any other key. */
|
|
882
780
|
const googleSheetsTableSchema = z$1.object({
|
|
883
781
|
id: z$1.number().int().nonnegative(),
|
|
@@ -910,8 +808,7 @@ const googleSheetsCreateSpreadsheetResultSchema = z$1.object({ spreadsheet: z$1.
|
|
|
910
808
|
}) }).transform(({ spreadsheet }) => spreadsheet);
|
|
911
809
|
/** The sheet named `sheetTitle` when the spreadsheet already has one, else the sheet it added. */
|
|
912
810
|
const googleSheetsAddSheetResultSchema = z$1.object({ sheet: googleSheetPropertiesSchema }).transform(({ sheet }) => sheet);
|
|
913
|
-
|
|
914
|
-
//#region src/clients/syncActions/googleSheets/googleSheets.ts
|
|
811
|
+
// src/clients/syncActions/googleSheets/googleSheets.ts
|
|
915
812
|
const createGoogleSheets = (sendSyncAction) => {
|
|
916
813
|
const sendTableAction = (action, input, signal) => {
|
|
917
814
|
const { configuration, table, ...context } = parseOrThrow(googleSheetsTableActionInputSchema, input);
|
|
@@ -943,8 +840,7 @@ const createGoogleSheets = (sendSyncAction) => {
|
|
|
943
840
|
createSpreadsheet
|
|
944
841
|
};
|
|
945
842
|
};
|
|
946
|
-
|
|
947
|
-
//#region src/clients/syncActions/looker/schemas.ts
|
|
843
|
+
// src/clients/syncActions/looker/schemas.ts
|
|
948
844
|
const testLookerCredentialsInputSchema = syncActionContextSchema.extend({
|
|
949
845
|
credentialsId: z$1.string().min(1, "Required"),
|
|
950
846
|
"#token": z$1.string().min(1, "Required"),
|
|
@@ -955,8 +851,7 @@ const lookerCredentialsResultSchema = z$1.object({
|
|
|
955
851
|
status: z$1.string().optional(),
|
|
956
852
|
message: z$1.string().optional()
|
|
957
853
|
});
|
|
958
|
-
|
|
959
|
-
//#region src/clients/syncActions/looker/looker.ts
|
|
854
|
+
// src/clients/syncActions/looker/looker.ts
|
|
960
855
|
const createLooker = (sendSyncAction) => {
|
|
961
856
|
/** Registers the project's Looker credentials; throws `SyncActionError` when Looker rejects them. */
|
|
962
857
|
const testCredentials = async (input, signal) => {
|
|
@@ -975,8 +870,7 @@ const createLooker = (sendSyncAction) => {
|
|
|
975
870
|
};
|
|
976
871
|
return { testCredentials };
|
|
977
872
|
};
|
|
978
|
-
|
|
979
|
-
//#region src/clients/syncActions/oneDrive/schemas.ts
|
|
873
|
+
// src/clients/syncActions/oneDrive/schemas.ts
|
|
980
874
|
const oneDriveInputSchema = syncActionContextSchema.extend({ credentials: oauthCredentialsSchema });
|
|
981
875
|
const oneDriveSearchFilesInputSchema = oneDriveInputSchema.extend({ search: z$1.string().min(1, "Required") });
|
|
982
876
|
const oneDriveGetWorksheetsInputSchema = oneDriveInputSchema.extend({
|
|
@@ -1018,8 +912,7 @@ const oneDriveCreateWorksheetResultSchema = z$1.object({ worksheet: z$1.object({
|
|
|
1018
912
|
fileId: z$1.string(),
|
|
1019
913
|
worksheetId: z$1.string()
|
|
1020
914
|
}) });
|
|
1021
|
-
|
|
1022
|
-
//#region src/clients/syncActions/oneDrive/oneDrive.ts
|
|
915
|
+
// src/clients/syncActions/oneDrive/oneDrive.ts
|
|
1023
916
|
const createOneDrive = (sendSyncAction) => {
|
|
1024
917
|
const searchFiles = async (input, signal) => {
|
|
1025
918
|
const { credentials, search, ...context } = parseOrThrow(oneDriveSearchFilesInputSchema, input);
|
|
@@ -1090,14 +983,12 @@ const createOneDrive = (sendSyncAction) => {
|
|
|
1090
983
|
createWorksheet
|
|
1091
984
|
};
|
|
1092
985
|
};
|
|
1093
|
-
|
|
1094
|
-
//#region src/clients/syncActions/snowflakeDwhManager/schemas.ts
|
|
986
|
+
// src/clients/syncActions/snowflakeDwhManager/schemas.ts
|
|
1095
987
|
const snowflakeDwhManagerUserActionInputSchema = syncActionContextSchema.extend({
|
|
1096
988
|
/** The configuration's master connection merged with the one user row the action applies to. */
|
|
1097
989
|
parameters: z$1.record(z$1.string(), z$1.unknown()) });
|
|
1098
990
|
const snowflakeDwhManagerUserActionResultSchema = z$1.object({ message: z$1.string() }).transform(({ message }) => message);
|
|
1099
|
-
|
|
1100
|
-
//#region src/clients/syncActions/snowflakeDwhManager/snowflakeDwhManager.ts
|
|
991
|
+
// src/clients/syncActions/snowflakeDwhManager/snowflakeDwhManager.ts
|
|
1101
992
|
const createSnowflakeDwhManager = (sendSyncAction) => {
|
|
1102
993
|
const sendUserAction = async (action, input, signal) => {
|
|
1103
994
|
const { parameters, ...context } = parseOrThrow(snowflakeDwhManagerUserActionInputSchema, input);
|
|
@@ -1117,15 +1008,13 @@ const createSnowflakeDwhManager = (sendSyncAction) => {
|
|
|
1117
1008
|
resetPassword
|
|
1118
1009
|
};
|
|
1119
1010
|
};
|
|
1120
|
-
|
|
1121
|
-
//#region src/clients/syncActions/sshKeys/schemas.ts
|
|
1011
|
+
// src/clients/syncActions/sshKeys/schemas.ts
|
|
1122
1012
|
const sshKeyPairSchema = z$1.object({
|
|
1123
1013
|
status: z$1.literal("success"),
|
|
1124
1014
|
public: z$1.string(),
|
|
1125
1015
|
private: z$1.string()
|
|
1126
1016
|
});
|
|
1127
|
-
|
|
1128
|
-
//#region src/clients/syncActions/sshKeys/sshKeys.ts
|
|
1017
|
+
// src/clients/syncActions/sshKeys/sshKeys.ts
|
|
1129
1018
|
const createSshKeys = (sendSyncAction) => {
|
|
1130
1019
|
/** Generates a new 4096-bit RSA key pair; the component keeps no copy. */
|
|
1131
1020
|
const generate = async (input, signal) => {
|
|
@@ -1139,8 +1028,7 @@ const createSshKeys = (sendSyncAction) => {
|
|
|
1139
1028
|
};
|
|
1140
1029
|
return { generate };
|
|
1141
1030
|
};
|
|
1142
|
-
|
|
1143
|
-
//#region src/clients/syncActions/syncActionsClient.ts
|
|
1031
|
+
// src/clients/syncActions/syncActionsClient.ts
|
|
1144
1032
|
const createSendSyncAction = (client) => {
|
|
1145
1033
|
return async (body, options = {}) => {
|
|
1146
1034
|
const { data } = await client.post("/actions", { body: parseOrThrow(syncActionBodySchema, body) }, options);
|
|
@@ -1185,7 +1073,6 @@ const createSyncActionsClient = ({ baseUrl, middlewares, auth }) => {
|
|
|
1185
1073
|
sshKeys: createSshKeys(sendSyncAction)
|
|
1186
1074
|
};
|
|
1187
1075
|
};
|
|
1188
|
-
//#endregion
|
|
1189
1076
|
export { SyncAction as i, FACEBOOK_FAMILY as n, isFacebookComponentId as r, createSyncActionsClient as t };
|
|
1190
1077
|
|
|
1191
|
-
//# sourceMappingURL=syncActions-
|
|
1078
|
+
//# sourceMappingURL=syncActions-giPLTfje.js.map
|