@keboola/api-client 54.0.0 → 56.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API-SURFACE.md +3 -1
- package/CHANGELOG.md +61 -0
- package/README.md +1 -1
- package/dist/{adminRoles-BTKVwEy8.d.cts → adminRoles-BFOPSedO.d.cts} +2 -2
- package/dist/{adminRoles-Cm513r1G.d.ts → adminRoles-CUB0JddB.d.ts} +2 -2
- package/dist/ai/index.d.cts +2 -2
- package/dist/ai/index.d.ts +2 -2
- package/dist/ai/types.d.cts +1 -1
- package/dist/ai/types.d.ts +1 -1
- package/dist/apps/index.d.cts +2 -2
- package/dist/apps/index.d.ts +2 -2
- package/dist/apps/types.d.cts +1 -1
- package/dist/apps/types.d.ts +1 -1
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.ts +1 -1
- package/dist/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/types.d.cts +1 -1
- package/dist/auth/types.d.ts +1 -1
- package/dist/{authClient-BM4L8XEN.js → authClient-B_Mb4Vzs.js} +3 -45
- package/dist/authClient-B_Mb4Vzs.js.map +1 -0
- package/dist/{authClient-DspK50e7.cjs → authClient-C9QqhT2M.cjs} +6 -60
- package/dist/authClient-C9QqhT2M.cjs.map +1 -0
- package/dist/{authClient-NBi0pqD5.d.cts → authClient-DOetdp2k.d.cts} +4 -4
- package/dist/{authClient-ij_Rm2Yn.d.ts → authClient-Dgyb0EFi.d.ts} +4 -4
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/types.d.cts +1 -1
- package/dist/billing/types.d.ts +1 -1
- package/dist/chat/index.d.cts +2 -2
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat/types.d.cts +1 -1
- package/dist/chat/types.d.ts +1 -1
- package/dist/collectByCursor-2-8SuJ-8.js +76 -0
- package/dist/collectByCursor-2-8SuJ-8.js.map +1 -0
- package/dist/collectByCursor-D58__WD1.cjs +105 -0
- package/dist/collectByCursor-D58__WD1.cjs.map +1 -0
- package/dist/{componentId-Cps6WBy1.js → componentId-Ba4gsJ9O.js} +3 -1
- package/dist/componentId-Ba4gsJ9O.js.map +1 -0
- package/dist/{componentId-_tRhEv6W.cjs → componentId-Ba_1Gv_A.cjs} +3 -1
- package/dist/componentId-Ba_1Gv_A.cjs.map +1 -0
- package/dist/componentsMcp/index.d.cts +1 -1
- package/dist/componentsMcp/index.d.ts +1 -1
- package/dist/componentsMcp/types.d.cts +1 -1
- package/dist/componentsMcp/types.d.ts +1 -1
- package/dist/constants/index.cjs +3 -2
- 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-DLPkpnGv.js → constants-HccvU5kx.js} +9 -2
- package/dist/constants-HccvU5kx.js.map +1 -0
- package/dist/{constants-Day8CU5i.cjs → constants-V9hAyPTo.cjs} +14 -1
- package/dist/constants-V9hAyPTo.cjs.map +1 -0
- package/dist/dataScience/index.d.cts +3 -3
- package/dist/dataScience/index.d.ts +3 -3
- package/dist/dataScience/types.d.cts +1 -1
- package/dist/dataScience/types.d.ts +1 -1
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/domain/permissions/index.d.cts +1 -1
- package/dist/domain/permissions/index.d.ts +1 -1
- package/dist/editor/index.d.cts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/types.d.cts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/encryption/index.d.cts +1 -1
- package/dist/encryption/index.d.ts +1 -1
- package/dist/encryption/types.d.cts +1 -1
- package/dist/encryption/types.d.ts +1 -1
- package/dist/import/index.d.cts +3 -3
- package/dist/import/index.d.ts +3 -3
- package/dist/{index-DLWMm1-T.d.ts → index-A8udJCGv.d.ts} +4 -4
- package/dist/{index-d9zxFmNI.d.cts → index-B-HhOTVk.d.cts} +4 -4
- package/dist/{index-BVe4S2CK.d.ts → index-B2YNTI4p.d.ts} +4 -4
- package/dist/{index-CEDjFidH.d.ts → index-B30dBBBH.d.ts} +3 -3
- package/dist/{index-DbStyQKc.d.ts → index-B7Ogo2SK.d.ts} +12 -3
- package/dist/{index-CdeWTy8t.d.ts → index-BH1jo-bb.d.ts} +4 -4
- package/dist/{index-DTGOEke4.d.ts → index-BaJ-GMa7.d.ts} +3 -3
- package/dist/{index-DzqHh0lE.d.ts → index-Bgu3hnMO.d.ts} +528 -32
- package/dist/{index-DCfumWzq.d.ts → index-C6FI_Lc7.d.ts} +3 -3
- package/dist/{index-BGE3eZfd.d.cts → index-CLqZfRpv.d.cts} +3 -3
- package/dist/{index-CZvBjQvl.d.ts → index-CLxvW_pn.d.ts} +4 -4
- package/dist/{index-CQNwp6wX.d.ts → index-C_A0JS9s.d.ts} +3 -3
- package/dist/{index-B04rWq_0.d.cts → index-CmtqbTse.d.cts} +3 -3
- package/dist/{index-DX7qciZA.d.cts → index-CpidrJQc.d.cts} +528 -32
- package/dist/{index-Cd0naVic.d.cts → index-CxoJuIzB.d.cts} +12 -3
- package/dist/{index-B8K-Bbdq.d.cts → index-DAb1g6je.d.cts} +3 -3
- package/dist/{index-BtvWJBYh.d.cts → index-DPhGNQC5.d.cts} +150 -67
- package/dist/{index-CNJBmCHM.d.cts → index-DXNRd61K.d.cts} +4 -4
- package/dist/{index-FrsEkDvX.d.cts → index-DcKc3_Y1.d.cts} +3 -2
- package/dist/{index-FrsEkDvX.d.ts → index-DcKc3_Y1.d.ts} +3 -2
- package/dist/{index-8QhOqFLY.d.cts → index-Dx02AUpZ.d.cts} +4 -4
- package/dist/{index-BXgjPlZN.d.cts → index-DxbqDi_0.d.cts} +4 -4
- package/dist/{index-Df30jjpZ.d.ts → index-GlHJ4j3a.d.ts} +150 -67
- package/dist/{index-iFCann29.d.cts → index-RHYdFrfn.d.cts} +3 -3
- package/dist/index.cjs +14 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +10 -15
- package/dist/index.js.map +1 -1
- package/dist/kaiAgent/index.d.cts +2 -2
- package/dist/kaiAgent/index.d.ts +2 -2
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/management/index.cjs +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +1 -1
- package/dist/management/types.d.cts +2 -2
- package/dist/management/types.d.ts +2 -2
- package/dist/{management-BAfg8BmK.js → management-BlMQnPNS.js} +10 -16
- package/dist/management-BlMQnPNS.js.map +1 -0
- package/dist/{management-BuNIc7Mr.cjs → management-dIMrTTpI.cjs} +10 -16
- package/dist/management-dIMrTTpI.cjs.map +1 -0
- package/dist/{metaObject-D7oudegV.d.cts → metaObject-BsBMgWRt.d.cts} +2 -2
- package/dist/{metaObject-ClvW342q.d.ts → metaObject-qWyZAD-5.d.ts} +2 -2
- package/dist/metastore/index.d.cts +1 -1
- package/dist/metastore/index.d.ts +1 -1
- package/dist/metastore/types.d.cts +1 -1
- package/dist/metastore/types.d.ts +1 -1
- package/dist/microsoftGraph/index.d.cts +2 -2
- package/dist/microsoftGraph/index.d.ts +2 -2
- package/dist/microsoftGraph/types.d.cts +1 -1
- package/dist/microsoftGraph/types.d.ts +1 -1
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- 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 +9 -2
- package/dist/oauth/index.d.ts +9 -2
- package/dist/oauth/index.js +1 -1
- package/dist/oauth/types.d.cts +2 -2
- package/dist/oauth/types.d.ts +2 -2
- package/dist/{oauth-CXcrilOp.cjs → oauth-CEW2AvDV.cjs} +9 -1
- package/dist/{oauth-CXcrilOp.cjs.map → oauth-CEW2AvDV.cjs.map} +1 -1
- package/dist/{oauth-Ci0qeaS2.js → oauth-Fri6IthS.js} +9 -1
- package/dist/{oauth-Ci0qeaS2.js.map → oauth-Fri6IthS.js.map} +1 -1
- package/dist/omnisearch/index.d.cts +2 -2
- package/dist/omnisearch/index.d.ts +2 -2
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/{project-DS0HOV3M.d.ts → project-CmV1OhK4.d.ts} +3 -3
- package/dist/{project-BGk9CtOq.d.cts → project-F6eHCACz.d.cts} +3 -3
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/types.d.cts +1 -1
- package/dist/queryService/types.d.ts +1 -1
- package/dist/queue/index.d.cts +3 -3
- package/dist/queue/index.d.ts +3 -3
- package/dist/queue/types.d.cts +1 -1
- package/dist/queue/types.d.ts +1 -1
- package/dist/scheduler/index.d.cts +2 -2
- package/dist/scheduler/index.d.ts +2 -2
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/sdk/configurations/index.cjs +47 -2
- package/dist/sdk/configurations/index.cjs.map +1 -1
- package/dist/sdk/configurations/index.d.cts +231 -3
- package/dist/sdk/configurations/index.d.ts +231 -3
- package/dist/sdk/configurations/index.js +47 -2
- package/dist/sdk/configurations/index.js.map +1 -1
- package/dist/sdk/dataAppServer/index.cjs +1 -1
- package/dist/sdk/dataAppServer/index.cjs.map +1 -1
- package/dist/sdk/dataAppServer/index.d.cts +1 -1
- package/dist/sdk/dataAppServer/index.d.ts +1 -1
- package/dist/sdk/dataAppServer/index.js +1 -1
- package/dist/sdk/dataAppServer/index.js.map +1 -1
- package/dist/sdk/developerPortal/index.d.cts +3 -3
- package/dist/sdk/developerPortal/index.d.ts +3 -3
- package/dist/sdk/kaiMemory/index.d.cts +1 -1
- package/dist/sdk/kaiMemory/index.d.ts +1 -1
- package/dist/sdk/kaiMemory/types.d.cts +1 -1
- package/dist/sdk/kaiMemory/types.d.ts +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/securityPolicy/index.cjs +13 -3
- package/dist/sdk/securityPolicy/index.cjs.map +1 -1
- package/dist/sdk/securityPolicy/index.d.cts +13 -3
- package/dist/sdk/securityPolicy/index.d.ts +13 -3
- package/dist/sdk/securityPolicy/index.js +12 -4
- package/dist/sdk/securityPolicy/index.js.map +1 -1
- package/dist/sdk/securityPolicy/types.d.cts +1 -1
- package/dist/sdk/securityPolicy/types.d.ts +1 -1
- package/dist/sdk/semanticLayer/index.d.cts +1 -1
- package/dist/sdk/semanticLayer/index.d.ts +1 -1
- package/dist/sdk/semanticLayer/types.d.cts +1 -1
- package/dist/sdk/semanticLayer/types.d.ts +1 -1
- package/dist/sdk/tag/index.d.cts +2 -2
- package/dist/sdk/tag/index.d.ts +2 -2
- package/dist/sdk/tag/types.d.cts +1 -1
- package/dist/sdk/tag/types.d.ts +1 -1
- package/dist/sdk/vault/index.cjs +3 -12
- 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 -12
- package/dist/sdk/vault/index.js.map +1 -1
- package/dist/status/index.d.cts +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/storage/index.cjs +4 -4
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +2 -2
- package/dist/storage/types.d.cts +6 -6
- package/dist/storage/types.d.ts +6 -6
- package/dist/{storage--2FvvLAw.js → storage-Bw-HSnPp.js} +56 -3
- package/dist/storage-Bw-HSnPp.js.map +1 -0
- package/dist/{storage-BMrYlyLB.cjs → storage-jLhVrKZh.cjs} +58 -5
- package/dist/storage-jLhVrKZh.cjs.map +1 -0
- package/dist/stream/index.d.cts +2 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/types.d.cts +1 -1
- package/dist/stream/types.d.ts +1 -1
- package/dist/syncActions/index.cjs +1 -1
- package/dist/syncActions/index.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/index.js +1 -1
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +1 -1
- package/dist/{syncActions-CR7xvuIv.cjs → syncActions-B9JTiSao.cjs} +2 -2
- package/dist/{syncActions-CR7xvuIv.cjs.map → syncActions-B9JTiSao.cjs.map} +1 -1
- package/dist/{syncActions-CU4cIGRf.js → syncActions-W98Jme2Z.js} +2 -2
- package/dist/{syncActions-CU4cIGRf.js.map → syncActions-W98Jme2Z.js.map} +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/types.d.cts +1 -1
- package/dist/telemetry/types.d.ts +1 -1
- package/dist/{types-B6f6LpZ_.d.cts → types--mz2z0Zm.d.cts} +2 -2
- package/dist/{types-B7FKoyfy.d.cts → types-2CMPwArl.d.ts} +820 -389
- package/dist/{types-CRC4lbPw.d.cts → types-3ZE32k8V.d.cts} +2 -2
- package/dist/{types-Do3__S4Q.d.cts → types-6oLbURTK.d.cts} +2 -2
- package/dist/{types-B4Vwz45w.d.cts → types-B452bFfS.d.ts} +2 -2
- package/dist/{types-zlYUn0oi.d.ts → types-B5FgsIiY.d.ts} +3 -3
- package/dist/{types-DFcj9YyQ.d.ts → types-B6OG1lLf.d.cts} +222 -55
- package/dist/{types-DNwIMEuB.d.cts → types-BDGkMVWf.d.cts} +2 -2
- package/dist/{types-CQYyULrw.d.ts → types-BEEGI4aq.d.ts} +2 -2
- package/dist/{types-Bv2Ds1hL.d.cts → types-BJRRAQ9R.d.cts} +2 -2
- package/dist/{types-D5bxXqEU.d.ts → types-B_yv00AL.d.ts} +2 -2
- package/dist/{types-DoSZQ1Bi.d.ts → types-BhGr9OQ4.d.ts} +2 -2
- package/dist/{types-D-ufoskb.d.cts → types-BmcZyKgM.d.cts} +17 -2
- package/dist/{types-dU3EA8gk.d.ts → types-BnkHyxdp.d.ts} +2 -2
- package/dist/{types-B4ezB18r.d.cts → types-BqJycQNM.d.cts} +2 -2
- package/dist/{types-CaBcgsT2.d.cts → types-ByKSM08P.d.ts} +222 -55
- package/dist/{types-Y4e8GGa3.d.cts → types-C3Kf_ggm.d.cts} +2 -2
- package/dist/{types-CIlBSV99.d.cts → types-CF5ZROX5.d.cts} +2 -2
- package/dist/{types-ChOJ-Az7.d.cts → types-CFuT8zr3.d.cts} +2 -2
- package/dist/{types-BXKL0wTI.d.cts → types-CNDemlfn.d.cts} +3 -3
- package/dist/{types-Rrcx-8LM.d.ts → types-CUovU--e.d.ts} +2 -2
- package/dist/{types-DU8aPTFW.d.cts → types-C_JO7FI9.d.cts} +2 -2
- package/dist/{types-BVJmcoqA.d.cts → types-CbPO9cGq.d.cts} +2 -2
- package/dist/{types-Dsf7CYmm.d.ts → types-Cg_66Toy.d.ts} +2 -2
- package/dist/{types-COb2O9c1.d.ts → types-CjqFLXVx.d.cts} +820 -389
- package/dist/{types-CSE8bHiq.d.cts → types-Cm1iOHE5.d.cts} +3 -3
- package/dist/{types-BD0B1KQ6.d.ts → types-CnKiVVb8.d.ts} +2 -2
- package/dist/{types-D2hhEGem.d.cts → types-CrXoqs8E.d.cts} +2 -2
- package/dist/{types-DCARsJWs.d.cts → types-CuYaiy4R.d.cts} +4 -4
- package/dist/{types-DjSjUKUl.d.ts → types-Cvbcjdgf.d.ts} +2 -2
- package/dist/{types-DKKHKj19.d.cts → types-D0BOES7q.d.cts} +2 -2
- package/dist/{types-kGZQQcIK.d.ts → types-D0Gqu-Xz.d.cts} +2 -2
- package/dist/{types-d5Bt8Mr3.d.ts → types-D2J3SaoY.d.ts} +2 -2
- package/dist/{types-Bp8G9yta.d.ts → types-D4knWlwr.d.ts} +2 -2
- package/dist/{types-BDgOF2WN.d.ts → types-D6Fbf_y3.d.ts} +4 -4
- package/dist/{types-Tg3euEN_.d.ts → types-DMEl2iet.d.ts} +2 -2
- package/dist/{types-CTYTMXXj.d.ts → types-DPFG6AAA.d.ts} +2 -2
- package/dist/{types-BynQKst1.d.cts → types-DQguGTlM.d.cts} +2 -2
- package/dist/{types-DbthI3r-.d.ts → types-DaRxZt3v.d.ts} +2 -2
- package/dist/{types-DX1Dz0xK.d.ts → types-DgAMVyiT.d.ts} +2 -2
- package/dist/{types-Cr6WA6CN.d.ts → types-DhE7iY90.d.ts} +17 -2
- package/dist/{types-B6JcEPEu.d.ts → types-DiXeO0yB.d.ts} +2 -2
- package/dist/{types-CKdNf_2k.d.cts → types-DslO1S5E.d.cts} +3 -3
- package/dist/{types-Cf0WE6qK.d.cts → types-DtS7qAdz.d.cts} +2 -2
- package/dist/{types-C5B3Pfob.d.cts → types-DykEfF2N.d.cts} +2 -2
- package/dist/{types-DSWIIMdv.d.ts → types-EdL0Eb0B.d.ts} +3 -3
- package/dist/{types-DK1bSUNr.d.ts → types-Foy0RnqF.d.ts} +3 -3
- package/dist/{types-BEw98Dd2.d.cts → types-LOf_GCej.d.cts} +2 -2
- package/dist/{types-OHt0D_f2.d.ts → types-lZRyNwOH.d.ts} +2 -2
- package/dist/{types-CepTvkfm.d.ts → types-p6UYqJo_.d.ts} +2 -2
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +3 -3
- package/surface/management.md +25 -25
- package/surface/storage.md +5 -0
- package/dist/authClient-BM4L8XEN.js.map +0 -1
- package/dist/authClient-DspK50e7.cjs.map +0 -1
- package/dist/componentId-Cps6WBy1.js.map +0 -1
- package/dist/componentId-_tRhEv6W.cjs.map +0 -1
- package/dist/constants-DLPkpnGv.js.map +0 -1
- package/dist/constants-Day8CU5i.cjs.map +0 -1
- package/dist/management-BAfg8BmK.js.map +0 -1
- package/dist/management-BuNIc7Mr.cjs.map +0 -1
- package/dist/storage--2FvvLAw.js.map +0 -1
- package/dist/storage-BMrYlyLB.cjs.map +0 -1
- package/dist/validateConnectionStatus-DV00sDmu.js +0 -34
- package/dist/validateConnectionStatus-DV00sDmu.js.map +0 -1
- package/dist/validateConnectionStatus-ckaHcRx8.cjs +0 -51
- package/dist/validateConnectionStatus-ckaHcRx8.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-Ci0qeaS2.js","names":[],"sources":["../src/clients/oauth/utils.ts","../src/clients/oauth/oauthClient.ts","../src/clients/oauth/organizationCredentialsClient.ts"],"sourcesContent":["/**\n * Which credentials to list:\n *\n * - `all` — the whole project: branch-scoped and branchless alike.\n * - `branchless` — only what is tied to no branch at all, not even the default one.\n * - `branched` — only the branch whose id it carries.\n *\n * Discriminated on `scope`, not on `branchId` being present: a `string | 'all' | 'branchless'` union\n * collapses to `string`, so a mistyped scope would silently become a branch-id filter.\n */\nexport type GetCredentialsInput =\n | { scope: 'all'; componentId?: string }\n | { scope: 'branchless'; componentId?: string }\n | { scope: 'branched'; branchId: string; componentId?: string };\n\n/**\n * All three scopes ride the one `branchId` query parameter:\n *\n * - `all` → omitted, which the service reads as no filter.\n * - `branchless` → the literal string `'null'`, which it reads as `branchId IS NULL`.\n * - `branched` → the branch id itself.\n */\nexport type CredentialsDataFormat = 'encrypted' | 'plain';\n\n/**\n * The credentials payload rides one of two fields, and only one of them is in the current spec:\n *\n * - `encrypted` — `#data`, the payload serialized to a string. The `#` marks it for the service to\n * encrypt at rest.\n * - `plain` — `data`, the payload as an object. Only services predating the spec accept it.\n */\nexport const encodeCredentialsData = (\n data: Record<string, unknown>,\n format: CredentialsDataFormat,\n) => (format === 'encrypted' ? { '#data': JSON.stringify(data) } : { data });\n\nexport const getScopedBranchId = (scope: GetCredentialsInput) => {\n switch (scope.scope) {\n case 'all':\n return undefined;\n case 'branchless':\n return 'null';\n case 'branched':\n return scope.branchId;\n }\n};\n","import { createGenericFetchClient, createOpenapiFetchClient, isApiError } from '../../fetchClient';\nimport { HttpStatus } from '../../internal';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type { CreateCredentialInput, CredentialInput } from './types';\nimport type { CredentialsDataFormat, GetCredentialsInput } from './utils';\nimport { encodeCredentialsData, getScopedBranchId } from './utils';\n\nexport const createOauthClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n const genericClient = createGenericFetchClient({ baseUrl, middlewares });\n\n const getCredentials = async (scope: GetCredentialsInput, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/credentials',\n { query: { branchId: getScopedBranchId(scope), componentId: scope.componentId } },\n { signal },\n );\n return data;\n };\n\n const getCredential = async ({ componentId, id }: CredentialInput, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/credentials/{componentId}/{name}',\n { path: { componentId, name: id } },\n { signal },\n );\n return data;\n };\n\n const createCredential = async (\n { componentId, data, ...rest }: CreateCredentialInput,\n signal?: AbortSignal,\n ) => {\n const post = (format: CredentialsDataFormat) =>\n client\n .post(\n '/credentials/{componentId}',\n {\n path: { componentId },\n // The plain shape predates the spec, so no schema can describe it. It borrows the\n // encrypted field's type to get past the generated body — the one assertion here.\n body: { ...rest, ...(encodeCredentialsData(data, format) as { '#data': string }) },\n },\n { signal },\n )\n .then((response) => response.data);\n\n try {\n return await post('plain');\n } catch (error) {\n if (isApiError(error) && error.response.status === HttpStatus.UNPROCESSABLE_ENTITY) {\n return post('encrypted');\n }\n throw error;\n }\n };\n\n const deleteCredential = async ({ componentId, id }: CredentialInput, signal?: AbortSignal) => {\n await client.delete(\n '/credentials/{componentId}/{name}',\n { path: { componentId, name: id } },\n { signal },\n );\n };\n\n /**\n * The GitHub connections of the project's organization; any project member's token may read them.\n *\n * - Empty when the organization has none.\n * - A listed connection does not guarantee a repository: the App installation must cover it.\n */\n const getOrganizationConnections = async (signal?: AbortSignal) => {\n const { data } = await client.get('/organization-credentials/connections', {}, { signal });\n return data.connections;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await genericClient.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthCheck,\n getCredentials,\n getCredential,\n createCredential,\n deleteCredential,\n getOrganizationConnections,\n };\n};\n","import { createOpenapiFetchClient } from '../../fetchClient';\nimport { KeboolaHttpHeader } from '../../internal';\n\nimport type { paths } from './__generated__/schema';\nimport type {\n DeleteOrganizationCredentialsInput,\n GetOrganizationConnectFormInput,\n GetOrganizationCredentialsInput,\n} from './types';\n\n/**\n * oauth-service's GitHub connections of a Keboola organization, managed by its administrator.\n *\n * - Each call takes the caller's Manage API token (with a user behind it); Storage tokens are refused.\n * - Connecting is a top-level form POST, so `getConnectForm` describes the form instead of sending it.\n */\nexport const createOrganizationCredentialsClient = ({ baseUrl }: { baseUrl: string }) => {\n const client = createOpenapiFetchClient<paths>({ baseUrl });\n\n const manageTokenHeaders = (manageToken: string) => ({\n [KeboolaHttpHeader.MANAGEMENT_API_TOKEN]: manageToken,\n });\n\n const getOrganizationCredentials = async (\n { manageToken, ...path }: GetOrganizationCredentialsInput,\n signal?: AbortSignal,\n ) => {\n const { data } = await client.get(\n '/organizations/{organizationId}/credentials',\n { path },\n { signal, headers: manageTokenHeaders(manageToken) },\n );\n return data;\n };\n\n const deleteOrganizationCredentials = async (\n { manageToken, ...path }: DeleteOrganizationCredentialsInput,\n signal?: AbortSignal,\n ) => {\n await client.delete(\n '/organizations/{organizationId}/credentials/{id}',\n { path },\n { signal, headers: manageTokenHeaders(manageToken) },\n );\n };\n\n /**\n * The form that starts connecting a GitHub organization.\n *\n * - The browser submits it as a top-level navigation: the response sets a cookie and redirects to GitHub.\n * - oauth-service accepts it only from the stack's Connection origin.\n * - Empty optional fields are left out.\n */\n const getConnectForm = ({ organizationId, ...fields }: GetOrganizationConnectFormInput) => ({\n action: `${baseUrl}/authorize/organizations/${encodeURIComponent(organizationId)}`,\n fields: Object.entries(fields).filter((entry): entry is [string, string] => Boolean(entry[1])),\n });\n\n return { getOrganizationCredentials, deleteOrganizationCredentials, getConnectForm };\n};\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"oauth-Fri6IthS.js","names":[],"sources":["../src/clients/oauth/utils.ts","../src/clients/oauth/oauthClient.ts","../src/clients/oauth/organizationCredentialsClient.ts"],"sourcesContent":["/**\n * Which credentials to list:\n *\n * - `all` — the whole project: branch-scoped and branchless alike.\n * - `branchless` — only what is tied to no branch at all, not even the default one.\n * - `branched` — only the branch whose id it carries.\n *\n * Discriminated on `scope`, not on `branchId` being present: a `string | 'all' | 'branchless'` union\n * collapses to `string`, so a mistyped scope would silently become a branch-id filter.\n */\nexport type GetCredentialsInput =\n | { scope: 'all'; componentId?: string }\n | { scope: 'branchless'; componentId?: string }\n | { scope: 'branched'; branchId: string; componentId?: string };\n\n/**\n * All three scopes ride the one `branchId` query parameter:\n *\n * - `all` → omitted, which the service reads as no filter.\n * - `branchless` → the literal string `'null'`, which it reads as `branchId IS NULL`.\n * - `branched` → the branch id itself.\n */\nexport type CredentialsDataFormat = 'encrypted' | 'plain';\n\n/**\n * The credentials payload rides one of two fields, and only one of them is in the current spec:\n *\n * - `encrypted` — `#data`, the payload serialized to a string. The `#` marks it for the service to\n * encrypt at rest.\n * - `plain` — `data`, the payload as an object. Only services predating the spec accept it.\n */\nexport const encodeCredentialsData = (\n data: Record<string, unknown>,\n format: CredentialsDataFormat,\n) => (format === 'encrypted' ? { '#data': JSON.stringify(data) } : { data });\n\nexport const getScopedBranchId = (scope: GetCredentialsInput) => {\n switch (scope.scope) {\n case 'all':\n return undefined;\n case 'branchless':\n return 'null';\n case 'branched':\n return scope.branchId;\n }\n};\n","import { createGenericFetchClient, createOpenapiFetchClient, isApiError } from '../../fetchClient';\nimport { HttpStatus } from '../../internal';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport type { CreateCredentialInput, CredentialInput } from './types';\nimport type { CredentialsDataFormat, GetCredentialsInput } from './utils';\nimport { encodeCredentialsData, getScopedBranchId } from './utils';\n\nexport const createOauthClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n const genericClient = createGenericFetchClient({ baseUrl, middlewares });\n\n const getCredentials = async (scope: GetCredentialsInput, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/credentials',\n { query: { branchId: getScopedBranchId(scope), componentId: scope.componentId } },\n { signal },\n );\n return data;\n };\n\n const getCredential = async ({ componentId, id }: CredentialInput, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/credentials/{componentId}/{name}',\n { path: { componentId, name: id } },\n { signal },\n );\n return data;\n };\n\n const createCredential = async (\n { componentId, data, ...rest }: CreateCredentialInput,\n signal?: AbortSignal,\n ) => {\n const post = (format: CredentialsDataFormat) =>\n client\n .post(\n '/credentials/{componentId}',\n {\n path: { componentId },\n // The plain shape predates the spec, so no schema can describe it. It borrows the\n // encrypted field's type to get past the generated body — the one assertion here.\n body: { ...rest, ...(encodeCredentialsData(data, format) as { '#data': string }) },\n },\n { signal },\n )\n .then((response) => response.data);\n\n try {\n return await post('plain');\n } catch (error) {\n if (isApiError(error) && error.response.status === HttpStatus.UNPROCESSABLE_ENTITY) {\n return post('encrypted');\n }\n throw error;\n }\n };\n\n const deleteCredential = async ({ componentId, id }: CredentialInput, signal?: AbortSignal) => {\n await client.delete(\n '/credentials/{componentId}/{name}',\n { path: { componentId, name: id } },\n { signal },\n );\n };\n\n /**\n * The GitHub connections of the project's organization; any project member's token may read them.\n *\n * - Empty when the organization has none.\n * - A listed connection does not guarantee a repository: the App installation must cover it.\n */\n const getOrganizationConnections = async (signal?: AbortSignal) => {\n const { data } = await client.get('/organization-credentials/connections', {}, { signal });\n return data.connections;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await genericClient.get('/health-check', {}, { signal });\n\n return data;\n };\n\n return {\n healthCheck,\n getCredentials,\n getCredential,\n createCredential,\n deleteCredential,\n getOrganizationConnections,\n };\n};\n","import { createOpenapiFetchClient } from '../../fetchClient';\nimport { KeboolaHttpHeader } from '../../internal';\n\nimport type { paths } from './__generated__/schema';\nimport type {\n DeleteOrganizationCredentialsInput,\n GetOrganizationConnectFormInput,\n GetOrganizationCredentialsInput,\n GetOrganizationGitHubAppsInput,\n} from './types';\n\n/**\n * oauth-service's GitHub connections of a Keboola organization, managed by its administrator.\n *\n * - Each call takes the caller's Manage API token (with a user behind it); Storage tokens are refused.\n * - Connecting is a top-level form POST, so `getConnectForm` describes the form instead of sending it.\n */\nexport const createOrganizationCredentialsClient = ({ baseUrl }: { baseUrl: string }) => {\n const client = createOpenapiFetchClient<paths>({ baseUrl });\n\n const manageTokenHeaders = (manageToken: string) => ({\n [KeboolaHttpHeader.MANAGEMENT_API_TOKEN]: manageToken,\n });\n\n const getOrganizationCredentials = async (\n { manageToken, ...path }: GetOrganizationCredentialsInput,\n signal?: AbortSignal,\n ) => {\n const { data } = await client.get(\n '/organizations/{organizationId}/credentials',\n { path },\n { signal, headers: manageTokenHeaders(manageToken) },\n );\n return data;\n };\n\n const deleteOrganizationCredentials = async (\n { manageToken, ...path }: DeleteOrganizationCredentialsInput,\n signal?: AbortSignal,\n ) => {\n await client.delete(\n '/organizations/{organizationId}/credentials/{id}',\n { path },\n { signal, headers: manageTokenHeaders(manageToken) },\n );\n };\n\n const getOrganizationGitHubApps = async (\n { manageToken, ...path }: GetOrganizationGitHubAppsInput,\n signal?: AbortSignal,\n ) => {\n const { data } = await client.get(\n '/organizations/{organizationId}/github-apps',\n { path },\n { signal, headers: manageTokenHeaders(manageToken) },\n );\n return data;\n };\n\n /**\n * The form that starts connecting a GitHub organization.\n *\n * - The browser submits it as a top-level navigation: the response sets a cookie and redirects to GitHub.\n * - oauth-service accepts it only from the stack's Connection origin.\n * - Empty optional fields are left out.\n */\n const getConnectForm = ({ organizationId, ...fields }: GetOrganizationConnectFormInput) => ({\n action: `${baseUrl}/authorize/organizations/${encodeURIComponent(organizationId)}`,\n fields: Object.entries(fields).filter((entry): entry is [string, string] => Boolean(entry[1])),\n });\n\n return {\n getOrganizationCredentials,\n deleteOrganizationCredentials,\n getOrganizationGitHubApps,\n getConnectForm,\n };\n};\n"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
2
|
+
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-BmcZyKgM.cjs";
|
|
3
3
|
/**
|
|
4
4
|
* Omnisearch — data lineage.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
2
|
+
import { h as components, m as TablesLineageResponse, n as GetTablesLineageQuery, t as GetProjectsLineageQuery } from "../types-DhE7iY90.js";
|
|
3
3
|
/**
|
|
4
4
|
* Omnisearch — data lineage.
|
|
5
5
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-
|
|
1
|
+
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-BmcZyKgM.cjs";
|
|
2
2
|
export { GetProjectsLineageQuery, GetTablesLineageQuery, LineageBucket, LineageConfiguration, LineageMetadata, LineageProject, LineageSource, LineageTable, ProjectLineageRelation, ProjectsLineage, ProjectsLineageResponse, TableLineageRelation, TablesLineage, TablesLineageResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-
|
|
1
|
+
import { a as LineageMetadata, c as LineageTable, d as ProjectsLineageResponse, f as TableLineageRelation, i as LineageConfiguration, l as ProjectLineageRelation, m as TablesLineageResponse, n as GetTablesLineageQuery, o as LineageProject, p as TablesLineage, r as LineageBucket, s as LineageSource, t as GetProjectsLineageQuery, u as ProjectsLineage } from "../types-DhE7iY90.js";
|
|
2
2
|
export { GetProjectsLineageQuery, GetTablesLineageQuery, LineageBucket, LineageConfiguration, LineageMetadata, LineageProject, LineageSource, LineageTable, ProjectLineageRelation, ProjectsLineage, ProjectsLineageResponse, TableLineageRelation, TablesLineage, TablesLineageResponse };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./adminRoles-
|
|
1
|
+
import { Rr as paths, c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-DcKc3_Y1.js";
|
|
2
|
+
import "./adminRoles-CUB0JddB.js";
|
|
3
3
|
import { t as Backend } from "./backends-BHotIdL0.js";
|
|
4
4
|
type ProjectId = number;
|
|
5
5
|
type CreateTokenSchemaBody = OpenapiBodyType<paths['/v2/storage/tokens']['post']>;
|
|
@@ -68,4 +68,4 @@ declare const createProject: ({ sapiToken }: Options) => {
|
|
|
68
68
|
};
|
|
69
69
|
type Project = ReturnType<typeof createProject>;
|
|
70
70
|
export { UpdateTokenBody as _, CreateTokenBody as a, UpdateTokenSchemaBody as b, GetTokenEventsInput as c, ShareTokenBody as d, ShareTokenInput as f, TokenListItem as g, StorageTokenRaw as h, hasFeature as i, GetTokenEventsPath as l, StorageToken as m, createProject as n, CreateTokenResponse as o, ShareTokenPath as p, hasAdminFeature as r, CreateTokenSchemaBody as s, Project as t, ProjectId as u, UpdateTokenInput as v, UpdateTokenPath as y };
|
|
71
|
-
//# sourceMappingURL=project-
|
|
71
|
+
//# sourceMappingURL=project-CmV1OhK4.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./adminRoles-
|
|
1
|
+
import { Rr as paths, c as OpenapiQueryType, l as OpenapiReturnType, r as OpenapiBodyType, s as OpenapiPathType } from "./index-DcKc3_Y1.cjs";
|
|
2
|
+
import "./adminRoles-BFOPSedO.cjs";
|
|
3
3
|
import { t as Backend } from "./backends-BHotIdL0.cjs";
|
|
4
4
|
type ProjectId = number;
|
|
5
5
|
type CreateTokenSchemaBody = OpenapiBodyType<paths['/v2/storage/tokens']['post']>;
|
|
@@ -68,4 +68,4 @@ declare const createProject: ({ sapiToken }: Options) => {
|
|
|
68
68
|
};
|
|
69
69
|
type Project = ReturnType<typeof createProject>;
|
|
70
70
|
export { UpdateTokenBody as _, CreateTokenBody as a, UpdateTokenSchemaBody as b, GetTokenEventsInput as c, ShareTokenBody as d, ShareTokenInput as f, TokenListItem as g, StorageTokenRaw as h, hasFeature as i, GetTokenEventsPath as l, StorageToken as m, createProject as n, CreateTokenResponse as o, ShareTokenPath as p, hasAdminFeature as r, CreateTokenSchemaBody as s, Project as t, ProjectId as u, UpdateTokenInput as v, UpdateTokenPath as y };
|
|
71
|
-
//# sourceMappingURL=project-
|
|
71
|
+
//# sourceMappingURL=project-F6eHCACz.d.cts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as QueryServiceClientInitOptions, D as QueryServiceCredentialProvider, E as QueryServiceCredential, O as TokenSource, T as AppUserTokenAuth, w as createQueryServiceClient } from "../index-
|
|
1
|
+
import { C as QueryServiceClientInitOptions, D as QueryServiceCredentialProvider, E as QueryServiceCredential, O as TokenSource, T as AppUserTokenAuth, w as createQueryServiceClient } from "../index-DPhGNQC5.cjs";
|
|
2
2
|
export { type AppUserTokenAuth, QueryServiceClientInitOptions, type QueryServiceCredential, type QueryServiceCredentialProvider, type TokenSource, createQueryServiceClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as QueryServiceClientInitOptions, D as QueryServiceCredentialProvider, E as QueryServiceCredential, O as TokenSource, T as AppUserTokenAuth, w as createQueryServiceClient } from "../index-
|
|
1
|
+
import { C as QueryServiceClientInitOptions, D as QueryServiceCredentialProvider, E as QueryServiceCredential, O as TokenSource, T as AppUserTokenAuth, w as createQueryServiceClient } from "../index-GlHJ4j3a.js";
|
|
2
2
|
export { type AppUserTokenAuth, QueryServiceClientInitOptions, type QueryServiceCredential, type QueryServiceCredentialProvider, type TokenSource, createQueryServiceClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ExportResultsResponse, Q as QueryJobPollOptions, at as GetQueryResutsQuery, ct as PostQueryBody, dt as QueryResult, et as GetExportResultsQuery, ft as Statements, it as GetQueryResultsPath, lt as PostQueryPath, nt as GetQueriesPath, ot as JobStatusResponse, rt as GetQueryJobPath, st as PostCancelQueryJobPath, tt as GetQueriesHistoryQuery, ut as QueryJobStatus } from "../index-
|
|
1
|
+
import { $ as ExportResultsResponse, Q as QueryJobPollOptions, at as GetQueryResutsQuery, ct as PostQueryBody, dt as QueryResult, et as GetExportResultsQuery, ft as Statements, it as GetQueryResultsPath, lt as PostQueryPath, nt as GetQueriesPath, ot as JobStatusResponse, rt as GetQueryJobPath, st as PostCancelQueryJobPath, tt as GetQueriesHistoryQuery, ut as QueryJobStatus } from "../index-DPhGNQC5.cjs";
|
|
2
2
|
export { ExportResultsResponse, GetExportResultsQuery, GetQueriesHistoryQuery, GetQueriesPath, GetQueryJobPath, GetQueryResultsPath, GetQueryResutsQuery, JobStatusResponse, PostCancelQueryJobPath, PostQueryBody, PostQueryPath, type QueryJobPollOptions, QueryJobStatus, QueryResult, Statements };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ExportResultsResponse, Q as QueryJobPollOptions, at as GetQueryResutsQuery, ct as PostQueryBody, dt as QueryResult, et as GetExportResultsQuery, ft as Statements, it as GetQueryResultsPath, lt as PostQueryPath, nt as GetQueriesPath, ot as JobStatusResponse, rt as GetQueryJobPath, st as PostCancelQueryJobPath, tt as GetQueriesHistoryQuery, ut as QueryJobStatus } from "../index-
|
|
1
|
+
import { $ as ExportResultsResponse, Q as QueryJobPollOptions, at as GetQueryResutsQuery, ct as PostQueryBody, dt as QueryResult, et as GetExportResultsQuery, ft as Statements, it as GetQueryResultsPath, lt as PostQueryPath, nt as GetQueriesPath, ot as JobStatusResponse, rt as GetQueryJobPath, st as PostCancelQueryJobPath, tt as GetQueriesHistoryQuery, ut as QueryJobStatus } from "../index-GlHJ4j3a.js";
|
|
2
2
|
export { ExportResultsResponse, GetExportResultsQuery, GetQueriesHistoryQuery, GetQueriesPath, GetQueryJobPath, GetQueryResultsPath, GetQueryResutsQuery, JobStatusResponse, PostCancelQueryJobPath, PostQueryBody, PostQueryPath, type QueryJobPollOptions, QueryJobStatus, QueryResult, Statements };
|
package/dist/queue/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-
|
|
3
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { $r as SearchJobsQuery, Gr as KillJobPath, Ur as CreateJobBody, Wr as GetQueueJobPath, Xr as SearchAllJobsQuery, Zr as SearchGroupedJobsQuery, qr as OrchestrationRerunPlanPath, ti as components } from "../index-DcKc3_Y1.cjs";
|
|
2
|
+
import "../index-DPhGNQC5.cjs";
|
|
3
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
4
4
|
import { c as Poller } from "../index-24GpnYhn.cjs";
|
|
5
5
|
declare const createQueueClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
6
6
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
package/dist/queue/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-
|
|
3
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { $r as SearchJobsQuery, Gr as KillJobPath, Ur as CreateJobBody, Wr as GetQueueJobPath, Xr as SearchAllJobsQuery, Zr as SearchGroupedJobsQuery, qr as OrchestrationRerunPlanPath, ti as components } from "../index-DcKc3_Y1.js";
|
|
2
|
+
import "../index-GlHJ4j3a.js";
|
|
3
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
4
4
|
import { c as Poller } from "../index-BUZ-vTRt.js";
|
|
5
5
|
declare const createQueueClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
6
6
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
package/dist/queue/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as SearchJobsQuery, Gr as KillJobPath, Jr as QueueJob, Kr as OrchestrationRerunPlan, Qr as SearchGroupedJobsResponse, Ur as CreateJobBody, Wr as GetQueueJobPath, Xr as SearchAllJobsQuery, Yr as QueueJobStatus, Zr as SearchGroupedJobsQuery, ei as SearchJobsResponse, qr as OrchestrationRerunPlanPath } from "../index-DcKc3_Y1.cjs";
|
|
2
2
|
export { CreateJobBody, GetQueueJobPath, KillJobPath, OrchestrationRerunPlan, OrchestrationRerunPlanPath, QueueJob, QueueJobStatus, SearchAllJobsQuery, SearchGroupedJobsQuery, SearchGroupedJobsResponse, SearchJobsQuery, SearchJobsResponse };
|
package/dist/queue/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as SearchJobsQuery, Gr as KillJobPath, Jr as QueueJob, Kr as OrchestrationRerunPlan, Qr as SearchGroupedJobsResponse, Ur as CreateJobBody, Wr as GetQueueJobPath, Xr as SearchAllJobsQuery, Yr as QueueJobStatus, Zr as SearchGroupedJobsQuery, ei as SearchJobsResponse, qr as OrchestrationRerunPlanPath } from "../index-DcKc3_Y1.js";
|
|
2
2
|
export { CreateJobBody, GetQueueJobPath, KillJobPath, OrchestrationRerunPlan, OrchestrationRerunPlanPath, QueueJob, QueueJobStatus, SearchAllJobsQuery, SearchGroupedJobsQuery, SearchGroupedJobsResponse, SearchJobsQuery, SearchJobsResponse };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-6oLbURTK.cjs";
|
|
3
3
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
4
4
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
5
5
|
getSchedules: (query?: GetSchedulesQuery, signal?: AbortSignal) => Promise<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-CUovU--e.js";
|
|
3
3
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
4
4
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
5
5
|
getSchedules: (query?: GetSchedulesQuery, signal?: AbortSignal) => Promise<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-6oLbURTK.cjs";
|
|
2
2
|
export { ActivateScheduleBody, ConfigurationPath, GetSchedulesQuery, Schedule, SchedulePath, Schedules };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-CUovU--e.js";
|
|
2
2
|
export { ActivateScheduleBody, ConfigurationPath, GetSchedulesQuery, Schedule, SchedulePath, Schedules };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_schemaGuidedMerge = require("../../schemaGuidedMerge-C8CqrNGe.cjs");
|
|
3
|
-
const require_componentId = require("../../componentId-
|
|
3
|
+
const require_componentId = require("../../componentId-Ba_1Gv_A.cjs");
|
|
4
4
|
const require_configurations = require("../../configurations-BM63ep1s.cjs");
|
|
5
5
|
let zod = require("zod");
|
|
6
6
|
// src/sdks/configurations/schemas/appDataGatewaySchema.ts
|
|
@@ -234,6 +234,26 @@ const exDbOracleSchema = dbConfig(dbConnectionSchema.omit({
|
|
|
234
234
|
connectThrough: zod.z.boolean().optional(),
|
|
235
235
|
ssh: sshTunnelSchema.optional()
|
|
236
236
|
}));
|
|
237
|
+
// src/sdks/configurations/schemas/exDb/exDbOracleAdwSchema.ts
|
|
238
|
+
/**
|
|
239
|
+
* `keboola.ex-db-oracle-adw` — the Oracle extractor with Oracle Cloud Autonomous Database support.
|
|
240
|
+
* Same connection as `keboola.ex-db-oracle` (host/port/database all optional, tnsnames is the
|
|
241
|
+
* alternative), plus the database wallet: `walletServiceName` with `walletFileId`.
|
|
242
|
+
*/
|
|
243
|
+
const exDbOracleAdwSchema = dbConfig(dbConnectionSchema.omit({
|
|
244
|
+
host: true,
|
|
245
|
+
port: true,
|
|
246
|
+
database: true
|
|
247
|
+
}).extend({
|
|
248
|
+
host: zod.z.string().optional(),
|
|
249
|
+
port: zod.z.number().optional(),
|
|
250
|
+
database: zod.z.string().optional(),
|
|
251
|
+
tnsnames: zod.z.string().optional(),
|
|
252
|
+
walletServiceName: zod.z.string().optional(),
|
|
253
|
+
walletFileId: zod.z.union([zod.z.number(), zod.z.literal("")]).optional(),
|
|
254
|
+
connectThrough: zod.z.boolean().optional(),
|
|
255
|
+
ssh: sshTunnelSchema.optional()
|
|
256
|
+
}));
|
|
237
257
|
// src/sdks/configurations/schemas/exDb/exDbFirebirdSchema.ts
|
|
238
258
|
/** `keboola.ex-db-firebird` — `dbname` + user/#password only (no host/port/database fields). */
|
|
239
259
|
const exDbFirebirdSchema = dbConfig(zod.z.object({
|
|
@@ -416,6 +436,31 @@ const wrDbOracleSchema = dbConfig(dbConnectionSchema.extend({
|
|
|
416
436
|
schema: zod.z.string().optional(),
|
|
417
437
|
ssh: sshTunnelSchema.optional()
|
|
418
438
|
}));
|
|
439
|
+
// src/sdks/configurations/schemas/wrDb/wrDbOracleAdwSchema.ts
|
|
440
|
+
/**
|
|
441
|
+
* `keboola.wr-db-oracle-adw` — the Oracle writer with Oracle Cloud Autonomous Database support.
|
|
442
|
+
* Connects by host/port/database (optional `schema`, optional SSH) like `keboola.wr-db-oracle`,
|
|
443
|
+
* or through the database wallet: `walletServiceName` (a service from the wallet's tnsnames.ora)
|
|
444
|
+
* plus `walletFileId` (the wallet ZIP in Storage). Wallet mode refuses `host` and ignores the
|
|
445
|
+
* `port` that the credentials form saves by default. The form saves a cleared field as an empty
|
|
446
|
+
* string, so `''` counts as "not set" on both sides.
|
|
447
|
+
*/
|
|
448
|
+
const hostConnection = dbConnectionSchema.extend({
|
|
449
|
+
schema: zod.z.string().optional(),
|
|
450
|
+
ssh: sshTunnelSchema.optional(),
|
|
451
|
+
walletServiceName: zod.z.literal("").optional(),
|
|
452
|
+
walletFileId: zod.z.literal("").optional()
|
|
453
|
+
});
|
|
454
|
+
const walletConnection = zod.z.object({
|
|
455
|
+
walletServiceName: zod.z.string().min(1).describe("Wallet Service Name"),
|
|
456
|
+
walletFileId: zod.z.union([zod.z.number(), zod.z.literal("")]).optional().describe("Wallet File ID"),
|
|
457
|
+
user: zod.z.string().describe("Username"),
|
|
458
|
+
"#password": zod.z.string().describe("Password"),
|
|
459
|
+
schema: zod.z.string().optional(),
|
|
460
|
+
port: zod.z.number().optional(),
|
|
461
|
+
host: zod.z.literal("").optional()
|
|
462
|
+
});
|
|
463
|
+
const wrDbOracleAdwSchema = dbConfig(zod.z.union([hostConnection, walletConnection]));
|
|
419
464
|
// src/sdks/configurations/schemas/wrDb/wrSynapseSchema.ts
|
|
420
465
|
/** `keboola.wr-synapse` — optional `schema` (defaults to `dbo` in the UI). */
|
|
421
466
|
const wrSynapseSchema = dbConfig(dbConnectionSchema.extend({ schema: zod.z.string().optional() }));
|
|
@@ -561,7 +606,7 @@ const createRegistry = () => {
|
|
|
561
606
|
return registry;
|
|
562
607
|
};
|
|
563
608
|
// src/sdks/configurations/registry.ts
|
|
564
|
-
const registry = createRegistry().add(require_componentId.ComponentId.WR_DB_MYSQL, wrDbDefaultSchema).add(require_componentId.ComponentId.WR_DB_PGSQL, wrDbPgsqlSchema).add(require_componentId.ComponentId.WR_PAIRITY, wrDbPgsqlSchema).add(require_componentId.ComponentId.WR_DB_ORACLE, wrDbOracleSchema).add(require_componentId.ComponentId.WR_DB_SNOWFLAKE, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_DB_SNOWFLAKE_GCS, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_DB_SNOWFLAKE_GCS_S3, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_SNOWFLAKE_BLOB_STORAGE, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_LOOKER_V2, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_SYNAPSE, wrSynapseSchema).add(require_componentId.ComponentId.WR_REDSHIFT, wrRedshiftSchema).add(require_componentId.ComponentId.WR_DB_MSSQL, wrDbMssqlSchema).add(require_componentId.ComponentId.WR_DB_HIVE, wrDbDefaultSchema).add(require_componentId.ComponentId.WR_DB_IMPALA, wrDbImpalaSchema).add(require_componentId.ComponentId.WR_HIVE_CSAS, wrHiveCsasSchema).add(require_componentId.ComponentId.WR_THOUGHTSPOT, wrThoughtspotSchema).add(require_componentId.ComponentId.WR_EXASOL, wrExasolSchema).add(require_componentId.ComponentId.WR_FIREBOLT, wrFireboltSchema).add(require_componentId.ComponentId.WR_SISENSE, wrSisenseSchema).add(require_componentId.ComponentId.APP_DATA_GATEWAY, appDataGatewaySchema).add(require_componentId.ComponentId.SCHEDULER, schedulerSchema).add(require_componentId.ComponentId.APP_SNOWFLAKE_DWH_MANAGER, appSnowflakeDwhManagerSchema).add(require_componentId.ComponentId.GOODDATA_WRITER, gooddataWriterSchema).add(require_componentId.ComponentId.EX_DB_REDSHIFT, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_DB2, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_DB2_BATA, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_MSSQL_CDATA, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_IMPALA, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_HIVE, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_HIVE_CSAS, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_HIVE_CSAS_TEST, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_PGSQL, exDbPgsqlSchema).add(require_componentId.ComponentId.EX_DB_MYSQL, exDbMysqlSchema).add(require_componentId.ComponentId.EX_DB_MSSQL, exDbMssqlSchema).add(require_componentId.ComponentId.EX_DB_ORACLE, exDbOracleSchema).add(require_componentId.ComponentId.EX_DB_SNOWFLAKE, exDbSnowflakeSchema).add(require_componentId.ComponentId.EX_DB_FIREBIRD, exDbFirebirdSchema).add(require_componentId.ComponentId.EX_DB_NETSUITE, exDbNetsuiteSchema).add(require_componentId.ComponentId.EX_DB_INFORMIX, exDbInformixSchema).add(require_componentId.ComponentId.EX_TERADATA, exTeradataSchema).add(require_componentId.ComponentId.KDS_EX_NETSUITE, exKdsNetsuiteSchema).add(require_componentId.ComponentId.KDS_EX_PROGRESS_DB, exDbProgressSchema).add(require_componentId.ComponentId.EX_GOOGLE_ADS, exGoogleAdsSchema).add(require_componentId.ComponentId.EX_HTTP, exHttpSchema).add(require_componentId.ComponentId.EX_FTP, exFtpSchema).add(require_componentId.ComponentId.EX_FTP_CSAS, exFtpSchema).add(require_componentId.ComponentId.EX_AWS_S3, exAwsS3Schema).add(require_componentId.ComponentId.KDS_EX_AZURE_BLOB_STORAGE_V2, exAzureBlobSchema).add(require_componentId.ComponentId.KDS_EX_AZURE_DATA_LAKE_GEN2, exAzureDataLakeSchema);
|
|
609
|
+
const registry = createRegistry().add(require_componentId.ComponentId.WR_DB_MYSQL, wrDbDefaultSchema).add(require_componentId.ComponentId.WR_DB_PGSQL, wrDbPgsqlSchema).add(require_componentId.ComponentId.WR_PAIRITY, wrDbPgsqlSchema).add(require_componentId.ComponentId.WR_DB_ORACLE, wrDbOracleSchema).add(require_componentId.ComponentId.WR_DB_ORACLE_ADW, wrDbOracleAdwSchema).add(require_componentId.ComponentId.WR_DB_SNOWFLAKE, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_DB_SNOWFLAKE_GCS, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_DB_SNOWFLAKE_GCS_S3, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_SNOWFLAKE_BLOB_STORAGE, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_LOOKER_V2, wrDbSnowflakeSchema).add(require_componentId.ComponentId.WR_SYNAPSE, wrSynapseSchema).add(require_componentId.ComponentId.WR_REDSHIFT, wrRedshiftSchema).add(require_componentId.ComponentId.WR_DB_MSSQL, wrDbMssqlSchema).add(require_componentId.ComponentId.WR_DB_HIVE, wrDbDefaultSchema).add(require_componentId.ComponentId.WR_DB_IMPALA, wrDbImpalaSchema).add(require_componentId.ComponentId.WR_HIVE_CSAS, wrHiveCsasSchema).add(require_componentId.ComponentId.WR_THOUGHTSPOT, wrThoughtspotSchema).add(require_componentId.ComponentId.WR_EXASOL, wrExasolSchema).add(require_componentId.ComponentId.WR_FIREBOLT, wrFireboltSchema).add(require_componentId.ComponentId.WR_SISENSE, wrSisenseSchema).add(require_componentId.ComponentId.APP_DATA_GATEWAY, appDataGatewaySchema).add(require_componentId.ComponentId.SCHEDULER, schedulerSchema).add(require_componentId.ComponentId.APP_SNOWFLAKE_DWH_MANAGER, appSnowflakeDwhManagerSchema).add(require_componentId.ComponentId.GOODDATA_WRITER, gooddataWriterSchema).add(require_componentId.ComponentId.EX_DB_REDSHIFT, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_DB2, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_DB2_BATA, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_MSSQL_CDATA, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_IMPALA, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_HIVE, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_HIVE_CSAS, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_HIVE_CSAS_TEST, exDbDefaultSchema).add(require_componentId.ComponentId.EX_DB_PGSQL, exDbPgsqlSchema).add(require_componentId.ComponentId.EX_DB_MYSQL, exDbMysqlSchema).add(require_componentId.ComponentId.EX_DB_MSSQL, exDbMssqlSchema).add(require_componentId.ComponentId.EX_DB_ORACLE, exDbOracleSchema).add(require_componentId.ComponentId.EX_DB_ORACLE_ADW, exDbOracleAdwSchema).add(require_componentId.ComponentId.EX_DB_SNOWFLAKE, exDbSnowflakeSchema).add(require_componentId.ComponentId.EX_DB_FIREBIRD, exDbFirebirdSchema).add(require_componentId.ComponentId.EX_DB_NETSUITE, exDbNetsuiteSchema).add(require_componentId.ComponentId.EX_DB_INFORMIX, exDbInformixSchema).add(require_componentId.ComponentId.EX_TERADATA, exTeradataSchema).add(require_componentId.ComponentId.KDS_EX_NETSUITE, exKdsNetsuiteSchema).add(require_componentId.ComponentId.KDS_EX_PROGRESS_DB, exDbProgressSchema).add(require_componentId.ComponentId.EX_GOOGLE_ADS, exGoogleAdsSchema).add(require_componentId.ComponentId.EX_HTTP, exHttpSchema).add(require_componentId.ComponentId.EX_FTP, exFtpSchema).add(require_componentId.ComponentId.EX_FTP_CSAS, exFtpSchema).add(require_componentId.ComponentId.EX_AWS_S3, exAwsS3Schema).add(require_componentId.ComponentId.KDS_EX_AZURE_BLOB_STORAGE_V2, exAzureBlobSchema).add(require_componentId.ComponentId.KDS_EX_AZURE_DATA_LAKE_GEN2, exAzureDataLakeSchema);
|
|
565
610
|
// src/sdks/configurations/configurationsSdk.ts
|
|
566
611
|
const toConfigResult = (data, schema) => {
|
|
567
612
|
const result = schema.safeParse(data.configuration);
|