@keboola/api-client 55.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 +16 -0
- 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/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.d.cts +3 -3
- package/dist/constants/index.d.ts +3 -3
- 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-D3hWR_e4.d.ts → index-B7Ogo2SK.d.ts} +2 -2
- 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-DeWeUUfE.d.ts → index-Bgu3hnMO.d.ts} +4 -4
- package/dist/{index-BGsP2QBc.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-CWowDl63.d.cts → index-CmtqbTse.d.cts} +3 -3
- package/dist/{index-BE6qM0vu.d.cts → index-CpidrJQc.d.cts} +4 -4
- package/dist/{index-CYk7Aa8u.d.cts → index-CxoJuIzB.d.cts} +2 -2
- package/dist/{index-B8K-Bbdq.d.cts → index-DAb1g6je.d.cts} +3 -3
- package/dist/{index-CmyFWQXn.d.cts → index-DPhGNQC5.d.cts} +140 -34
- 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-CQPs3hrp.d.ts → index-GlHJ4j3a.d.ts} +140 -34
- package/dist/{index-iFCann29.d.cts → index-RHYdFrfn.d.cts} +3 -3
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- 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.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/types.d.cts +1 -1
- package/dist/management/types.d.ts +1 -1
- 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.d.cts +2 -2
- package/dist/oauth/index.d.ts +2 -2
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +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.d.cts +3 -3
- package/dist/sdk/configurations/index.d.ts +3 -3
- package/dist/sdk/dataAppServer/index.cjs +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/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.d.cts +2 -2
- package/dist/sdk/securityPolicy/index.d.ts +2 -2
- 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.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +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-DEJN8sw-.js → storage-Bw-HSnPp.js} +55 -2
- package/dist/storage-Bw-HSnPp.js.map +1 -0
- package/dist/{storage-BL-TfHp8.cjs → storage-jLhVrKZh.cjs} +57 -4
- 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.d.cts +2 -2
- package/dist/syncActions/index.d.ts +2 -2
- package/dist/syncActions/types.d.cts +1 -1
- package/dist/syncActions/types.d.ts +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-Bwvss_gW.d.cts → types-2CMPwArl.d.ts} +2 -2
- 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-DMhgKHCP.d.cts → types-B6OG1lLf.d.cts} +2 -2
- 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-p_lWvuQJ.d.ts → types-ByKSM08P.d.ts} +2 -2
- 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-J_dgwMjP.d.ts → types-CjqFLXVx.d.cts} +2 -2
- 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 +1 -1
- package/surface/storage.md +5 -0
- package/dist/authClient-BM4L8XEN.js.map +0 -1
- package/dist/authClient-DspK50e7.cjs.map +0 -1
- package/dist/storage-BL-TfHp8.cjs.map +0 -1
- package/dist/storage-DEJN8sw-.js.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,6 +1,6 @@
|
|
|
1
|
-
import { r as OpenapiBodyType, s as OpenapiPathType, t as createOpenapiFetchClient } from "./index-
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { $ as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as GetMeProjectsQuery, V as GetMeOrganizationsQuery, Z as ApproveDeviceAuthorizationBody, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, it as paths, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, r as RegisterWebauthnOptionsResult, rt as components, tt as GetDeviceAuthorizationTokenBody, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-
|
|
1
|
+
import { r as OpenapiBodyType, s as OpenapiPathType, t as createOpenapiFetchClient } from "./index-DcKc3_Y1.cjs";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-BqJycQNM.cjs";
|
|
3
|
+
import { $ as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as GetMeProjectsQuery, V as GetMeOrganizationsQuery, Z as ApproveDeviceAuthorizationBody, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, it as paths, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, r as RegisterWebauthnOptionsResult, rt as components, tt as GetDeviceAuthorizationTokenBody, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-DykEfF2N.cjs";
|
|
4
4
|
import * as z$1 from "zod";
|
|
5
5
|
declare const passwordInputSchema: z$1.ZodObject<{
|
|
6
6
|
browserMode: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
@@ -444,4 +444,4 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
444
444
|
};
|
|
445
445
|
};
|
|
446
446
|
export { PasswordInput as A, ApiLoginSuccess as C, LoginUser as D, LoginResultFor as E, mfaChallengeSchema as F, oidcInputSchema as I, passwordInputSchema as L, apiLoginSuccessSchema as M, browserLoginResultSchema as N, MfaChallenge as O, browserLoginSuccessSchema as P, ApiLoginResult as S, BrowserLoginSuccess as T, MfaWebauthnInput as _, RefreshTokenInput as a, mfaWebauthnInputSchema as b, ChangePasswordInput as c, changeInputSchema as d, resetInputSchema as f, MfaMethod as g, MfaCodeInput as h, RefreshSessionInput as i, apiLoginResultSchema as j, OidcInput as k, ResetInput as l, MFA_METHOD as m, AuthOpenApiFetchClient as n, refreshSessionInputSchema as o, resetRequestInputSchema as p, createAuthClient as r, refreshTokenInputSchema as s, AuthClientInitOptions as t, ResetRequestInput as u, TotpVerifyInput as v, BrowserLoginResult as w, totpVerifyInputSchema as x, mfaCodeInputSchema as y };
|
|
447
|
-
//# sourceMappingURL=authClient-
|
|
447
|
+
//# sourceMappingURL=authClient-DOetdp2k.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as OpenapiBodyType, s as OpenapiPathType, t as createOpenapiFetchClient } from "./index-
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { $ as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as GetMeProjectsQuery, V as GetMeOrganizationsQuery, Z as ApproveDeviceAuthorizationBody, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, it as paths, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, r as RegisterWebauthnOptionsResult, rt as components, tt as GetDeviceAuthorizationTokenBody, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-
|
|
1
|
+
import { r as OpenapiBodyType, s as OpenapiPathType, t as createOpenapiFetchClient } from "./index-DcKc3_Y1.js";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-DMEl2iet.js";
|
|
3
|
+
import { $ as CreateDeviceAuthorizationBody, M as DisableTotpPath, O as ExchangePatInput, S as GetPkceTokenBody, T as CreatePatInput, U as GetMeProjectsQuery, V as GetMeOrganizationsQuery, Z as ApproveDeviceAuthorizationBody, _ as RevokeSessionPath, a as RemoveWebauthnInput, b as InitiateSamlBody, f as RevokeTokenBody, it as paths, j as RevokePatPath, n as RegisterWebauthnInput, p as SudoBody, r as RegisterWebauthnOptionsResult, rt as components, tt as GetDeviceAuthorizationTokenBody, v as AssertSamlBody, z as GetMeMaintainersQuery } from "./types-Cvbcjdgf.js";
|
|
4
4
|
import * as z$1 from "zod";
|
|
5
5
|
declare const passwordInputSchema: z$1.ZodObject<{
|
|
6
6
|
browserMode: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
@@ -444,4 +444,4 @@ declare const createAuthClient: ({ baseUrl, middlewares }: AuthClientInitOptions
|
|
|
444
444
|
};
|
|
445
445
|
};
|
|
446
446
|
export { PasswordInput as A, ApiLoginSuccess as C, LoginUser as D, LoginResultFor as E, mfaChallengeSchema as F, oidcInputSchema as I, passwordInputSchema as L, apiLoginSuccessSchema as M, browserLoginResultSchema as N, MfaChallenge as O, browserLoginSuccessSchema as P, ApiLoginResult as S, BrowserLoginSuccess as T, MfaWebauthnInput as _, RefreshTokenInput as a, mfaWebauthnInputSchema as b, ChangePasswordInput as c, changeInputSchema as d, resetInputSchema as f, MfaMethod as g, MfaCodeInput as h, RefreshSessionInput as i, apiLoginResultSchema as j, OidcInput as k, ResetInput as l, MFA_METHOD as m, AuthOpenApiFetchClient as n, refreshSessionInputSchema as o, resetRequestInputSchema as p, createAuthClient as r, refreshTokenInputSchema as s, AuthClientInitOptions as t, ResetRequestInput as u, TotpVerifyInput as v, BrowserLoginResult as w, totpVerifyInputSchema as x, mfaCodeInputSchema as y };
|
|
447
|
-
//# sourceMappingURL=authClient-
|
|
447
|
+
//# sourceMappingURL=authClient-Dgyb0EFi.d.ts.map
|
package/dist/billing/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
2
2
|
declare const createBillingClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
3
3
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
4
4
|
status?: string;
|
package/dist/billing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
2
2
|
declare const createBillingClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
3
3
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
4
4
|
status?: string;
|
package/dist/billing/types.d.cts
CHANGED
package/dist/billing/types.d.ts
CHANGED
package/dist/chat/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
2
|
+
import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-CFuT8zr3.cjs";
|
|
3
3
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "../suggestions-xhIjrlvi.cjs";
|
|
4
4
|
type ChatClientOptions = ClientInitOptions & {
|
|
5
5
|
storageApiUrl: string;
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
2
|
+
import { A as components, C as UserAgentSettings, E as VoteRequest, S as UsageResponse, T as Vote, b as UpdateAgentSettingsRequest, d as GetVotesQuery, l as GetChatPath, o as ChatRequest, t as AgentSettings, u as GetHistoryQuery, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-lZRyNwOH.js";
|
|
3
3
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "../suggestions-xhIjrlvi.js";
|
|
4
4
|
type ChatClientOptions = ClientInitOptions & {
|
|
5
5
|
storageApiUrl: string;
|
package/dist/chat/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as UserAgentSettings, D as VotesResponse, E as VoteRequest, O as approvalGoneReasonSchema, S as UsageResponse, T as Vote, _ as ToolInfo, a as ChatMessage, b as UpdateAgentSettingsRequest, c as ChatWithMessages, d as GetVotesQuery, f as HistoryResponse, g as TextPart, h as ProjectToolPolicyValue, i as Chat, k as askUserQuestionAnswersSchema, l as GetChatPath, m as ProjectToolPolicy, n as ApprovalGoneReason, o as ChatRequest, p as MessageStatus, r as AskUserQuestionAnswers, s as ChatWithMessage, t as AgentSettings, u as GetHistoryQuery, v as ToolPermissionValue, w as UserMessage, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-
|
|
1
|
+
import { C as UserAgentSettings, D as VotesResponse, E as VoteRequest, O as approvalGoneReasonSchema, S as UsageResponse, T as Vote, _ as ToolInfo, a as ChatMessage, b as UpdateAgentSettingsRequest, c as ChatWithMessages, d as GetVotesQuery, f as HistoryResponse, g as TextPart, h as ProjectToolPolicyValue, i as Chat, k as askUserQuestionAnswersSchema, l as GetChatPath, m as ProjectToolPolicy, n as ApprovalGoneReason, o as ChatRequest, p as MessageStatus, r as AskUserQuestionAnswers, s as ChatWithMessage, t as AgentSettings, u as GetHistoryQuery, v as ToolPermissionValue, w as UserMessage, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-CFuT8zr3.cjs";
|
|
2
2
|
export { AgentSettings, ApprovalGoneReason, AskUserQuestionAnswers, Chat, ChatMessage, ChatRequest, ChatWithMessage, ChatWithMessages, GetChatPath, GetHistoryQuery, GetVotesQuery, HistoryResponse, MessageStatus, ProjectToolPolicy, ProjectToolPolicyValue, TextPart, ToolInfo, ToolPermissionValue, ToolsListResponse, UpdateAgentSettingsRequest, UpdateUserAgentSettingsRequest, UsageResponse, UserAgentSettings, UserMessage, Vote, VoteRequest, VotesResponse, approvalGoneReasonSchema, askUserQuestionAnswersSchema };
|
package/dist/chat/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as UserAgentSettings, D as VotesResponse, E as VoteRequest, O as approvalGoneReasonSchema, S as UsageResponse, T as Vote, _ as ToolInfo, a as ChatMessage, b as UpdateAgentSettingsRequest, c as ChatWithMessages, d as GetVotesQuery, f as HistoryResponse, g as TextPart, h as ProjectToolPolicyValue, i as Chat, k as askUserQuestionAnswersSchema, l as GetChatPath, m as ProjectToolPolicy, n as ApprovalGoneReason, o as ChatRequest, p as MessageStatus, r as AskUserQuestionAnswers, s as ChatWithMessage, t as AgentSettings, u as GetHistoryQuery, v as ToolPermissionValue, w as UserMessage, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-
|
|
1
|
+
import { C as UserAgentSettings, D as VotesResponse, E as VoteRequest, O as approvalGoneReasonSchema, S as UsageResponse, T as Vote, _ as ToolInfo, a as ChatMessage, b as UpdateAgentSettingsRequest, c as ChatWithMessages, d as GetVotesQuery, f as HistoryResponse, g as TextPart, h as ProjectToolPolicyValue, i as Chat, k as askUserQuestionAnswersSchema, l as GetChatPath, m as ProjectToolPolicy, n as ApprovalGoneReason, o as ChatRequest, p as MessageStatus, r as AskUserQuestionAnswers, s as ChatWithMessage, t as AgentSettings, u as GetHistoryQuery, v as ToolPermissionValue, w as UserMessage, x as UpdateUserAgentSettingsRequest, y as ToolsListResponse } from "../types-lZRyNwOH.js";
|
|
2
2
|
export { AgentSettings, ApprovalGoneReason, AskUserQuestionAnswers, Chat, ChatMessage, ChatRequest, ChatWithMessage, ChatWithMessages, GetChatPath, GetHistoryQuery, GetVotesQuery, HistoryResponse, MessageStatus, ProjectToolPolicy, ProjectToolPolicyValue, TextPart, ToolInfo, ToolPermissionValue, ToolsListResponse, UpdateAgentSettingsRequest, UpdateUserAgentSettingsRequest, UsageResponse, UserAgentSettings, UserMessage, Vote, VoteRequest, VotesResponse, approvalGoneReasonSchema, askUserQuestionAnswersSchema };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { c as defaultValidateStatus, p as ApiError } from "./createFetchClient-Dc_ZMuq7.js";
|
|
2
|
+
import { t as isLoginPageRedirect } from "./isLoginPageRedirect-lbeVmeB2.js";
|
|
3
|
+
import { t as createAbortError } from "./createAbortError-c6ekCpRy.js";
|
|
4
|
+
// src/errors/HtmlResponseError.ts
|
|
5
|
+
/**
|
|
6
|
+
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
7
|
+
*
|
|
8
|
+
* - An expired session 302s to the login page; `fetch` follows it to `200 text/html`.
|
|
9
|
+
* - Constant message so Sentry groups it; `request`/`response` carry the detail.
|
|
10
|
+
* - Opt-in per client: some APIs serve HTML from a 200 on purpose.
|
|
11
|
+
*/
|
|
12
|
+
var HtmlResponseError = class extends ApiError {
|
|
13
|
+
constructor(res) {
|
|
14
|
+
super(res);
|
|
15
|
+
this.name = "HtmlResponseError";
|
|
16
|
+
this.message = "Expected data, got an HTML page. The session has most likely expired.";
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const isHtmlResponseError = (error) => error instanceof HtmlResponseError;
|
|
20
|
+
// src/clients/validateConnectionStatus.ts
|
|
21
|
+
/**
|
|
22
|
+
* Status validation for the APIs Connection serves off its own host — storage and auth.
|
|
23
|
+
*
|
|
24
|
+
* - Rejects a successful login page; `HtmlResponseError` says why.
|
|
25
|
+
* - HTML on a *failed* response is a real error page and stays an `ApiError`.
|
|
26
|
+
* - Management answers the same condition with its own session-expiry error instead.
|
|
27
|
+
*/
|
|
28
|
+
const validateConnectionStatus = (apiResponse) => {
|
|
29
|
+
const isValid = defaultValidateStatus(apiResponse);
|
|
30
|
+
if (isValid && isLoginPageRedirect(apiResponse)) return new HtmlResponseError(apiResponse);
|
|
31
|
+
return isValid;
|
|
32
|
+
};
|
|
33
|
+
// src/utils/async/collectByCursor.ts
|
|
34
|
+
/**
|
|
35
|
+
* The `page[after]` cursor `links.next` carries; `undefined` on the last page.
|
|
36
|
+
*
|
|
37
|
+
* - Read from the link, not rebuilt from the last row, so the encoding stays the server's.
|
|
38
|
+
* - Only the query is parsed, so a relative link works too.
|
|
39
|
+
*/
|
|
40
|
+
const nextCursorOf = (next) => {
|
|
41
|
+
if (next === null) return void 0;
|
|
42
|
+
const queryStart = next.indexOf("?");
|
|
43
|
+
if (queryStart === -1) return void 0;
|
|
44
|
+
const query = next.slice(queryStart + 1).split("#")[0];
|
|
45
|
+
return new URLSearchParams(query).get("page[after]") ?? void 0;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Collects items from a cursor-paginated endpoint — up to `limit`, or all when it is omitted.
|
|
49
|
+
*
|
|
50
|
+
* - Calls `fetchFrom` sequentially with the cursor each `links.next` carries, and hands it `pageSize`.
|
|
51
|
+
* - Ends on a `null` `links.next`, or on a link without a `page[after]`.
|
|
52
|
+
* - A cursor seen before means the server is looping; the walk throws rather than spin.
|
|
53
|
+
*/
|
|
54
|
+
const collectByCursor = async ({ fetchFrom, pageSize, limit, signal }) => {
|
|
55
|
+
if (signal?.aborted) throw createAbortError(signal.reason);
|
|
56
|
+
if (limit !== void 0 && limit < 0) throw new Error("Invalid collectByCursor limit");
|
|
57
|
+
if (pageSize !== void 0 && pageSize < 1) throw new Error("Invalid collectByCursor pageSize");
|
|
58
|
+
const items = [];
|
|
59
|
+
if (limit === 0) return items;
|
|
60
|
+
let after;
|
|
61
|
+
const seen = /* @__PURE__ */ new Set();
|
|
62
|
+
do {
|
|
63
|
+
const page = await fetchFrom(after, pageSize, signal);
|
|
64
|
+
items.push(...page.data);
|
|
65
|
+
if (limit !== void 0 && items.length >= limit) return items.slice(0, limit);
|
|
66
|
+
after = nextCursorOf(page.links.next);
|
|
67
|
+
if (after !== void 0) {
|
|
68
|
+
if (seen.has(after)) throw new Error(`collectByCursor: links.next repeats the cursor ${after}`);
|
|
69
|
+
seen.add(after);
|
|
70
|
+
}
|
|
71
|
+
} while (after !== void 0);
|
|
72
|
+
return items;
|
|
73
|
+
};
|
|
74
|
+
export { isHtmlResponseError as a, HtmlResponseError as i, nextCursorOf as n, validateConnectionStatus as r, collectByCursor as t };
|
|
75
|
+
|
|
76
|
+
//# sourceMappingURL=collectByCursor-2-8SuJ-8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectByCursor-2-8SuJ-8.js","names":[],"sources":["../src/errors/HtmlResponseError.ts","../src/clients/validateConnectionStatus.ts","../src/utils/async/collectByCursor.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\n/**\n * A successful response that carried an HTML page instead of the endpoint's payload.\n *\n * - An expired session 302s to the login page; `fetch` follows it to `200 text/html`.\n * - Constant message so Sentry groups it; `request`/`response` carry the detail.\n * - Opt-in per client: some APIs serve HTML from a 200 on purpose.\n */\nexport class HtmlResponseError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\n this.name = 'HtmlResponseError';\n this.message = 'Expected data, got an HTML page. The session has most likely expired.';\n }\n}\n\nexport const isHtmlResponseError = (error: unknown): error is HtmlResponseError =>\n error instanceof HtmlResponseError;\n","import { HtmlResponseError } from '../errors';\nimport { defaultValidateStatus, type ValidateStatusFn } from '../fetchClient';\n\nimport { isLoginPageRedirect } from './isLoginPageRedirect';\n\n/**\n * Status validation for the APIs Connection serves off its own host — storage and auth.\n *\n * - Rejects a successful login page; `HtmlResponseError` says why.\n * - HTML on a *failed* response is a real error page and stays an `ApiError`.\n * - Management answers the same condition with its own session-expiry error instead.\n */\nexport const validateConnectionStatus: ValidateStatusFn = (apiResponse) => {\n const isValid = defaultValidateStatus(apiResponse);\n\n if (isValid && isLoginPageRedirect(apiResponse)) {\n return new HtmlResponseError(apiResponse);\n }\n\n return isValid;\n};\n","import { createAbortError } from '../createAbortError';\n\n/** One page of a cursor-paginated collection (`data` / `meta` / `links` envelope). */\nexport type CursorPage<T> = { data: T[]; links: { next: string | null } };\n\nexport type CollectByCursorOptions<T> = {\n fetchFrom: (\n after: string | undefined,\n pageSize?: number,\n signal?: AbortSignal,\n ) => Promise<CursorPage<T>>;\n pageSize?: number;\n limit?: number;\n signal?: AbortSignal;\n};\n\n/**\n * The `page[after]` cursor `links.next` carries; `undefined` on the last page.\n *\n * - Read from the link, not rebuilt from the last row, so the encoding stays the server's.\n * - Only the query is parsed, so a relative link works too.\n */\nexport const nextCursorOf = (next: string | null): string | undefined => {\n if (next === null) return undefined;\n const queryStart = next.indexOf('?');\n if (queryStart === -1) return undefined;\n const query = next.slice(queryStart + 1).split('#')[0];\n return new URLSearchParams(query).get('page[after]') ?? undefined;\n};\n\n/**\n * Collects items from a cursor-paginated endpoint — up to `limit`, or all when it is omitted.\n *\n * - Calls `fetchFrom` sequentially with the cursor each `links.next` carries, and hands it `pageSize`.\n * - Ends on a `null` `links.next`, or on a link without a `page[after]`.\n * - A cursor seen before means the server is looping; the walk throws rather than spin.\n */\nexport const collectByCursor = async <T>({\n fetchFrom,\n pageSize,\n limit,\n signal,\n}: CollectByCursorOptions<T>): Promise<T[]> => {\n if (signal?.aborted) throw createAbortError(signal.reason);\n if (limit !== undefined && limit < 0) throw new Error('Invalid collectByCursor limit');\n if (pageSize !== undefined && pageSize < 1) throw new Error('Invalid collectByCursor pageSize');\n\n const items: T[] = [];\n\n if (limit === 0) return items;\n\n let after: string | undefined;\n const seen = new Set<string>();\n\n do {\n const page = await fetchFrom(after, pageSize, signal);\n\n items.push(...page.data);\n\n if (limit !== undefined && items.length >= limit) return items.slice(0, limit);\n\n after = nextCursorOf(page.links.next);\n if (after !== undefined) {\n if (seen.has(after)) {\n throw new Error(`collectByCursor: links.next repeats the cursor ${after}`);\n }\n seen.add(after);\n }\n } while (after !== undefined);\n\n return items;\n};\n"],"mappings":";;;;;;;;;;;AAWA,IAAa,oBAAb,cAAuC,SAAS;CAC9C,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,UAAU;CACjB;AACF;AAEA,MAAa,uBAAuB,UAClC,iBAAiB;;;;;;;;;ACRnB,MAAa,4BAA8C,gBAAgB;CACzE,MAAM,UAAU,sBAAsB,WAAW;CAEjD,IAAI,WAAW,oBAAoB,WAAW,GAC5C,OAAO,IAAI,kBAAkB,WAAW;CAG1C,OAAO;AACT;;;;;;;;ACEA,MAAa,gBAAgB,SAA4C;CACvE,IAAI,SAAS,MAAM,OAAO,KAAA;CAC1B,MAAM,aAAa,KAAK,QAAQ,GAAG;CACnC,IAAI,eAAe,IAAI,OAAO,KAAA;CAC9B,MAAM,QAAQ,KAAK,MAAM,aAAa,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;CACpD,OAAO,IAAI,gBAAgB,KAAK,CAAC,CAAC,IAAI,aAAa,KAAK,KAAA;AAC1D;;;;;;;;AASA,MAAa,kBAAkB,OAAU,EACvC,WACA,UACA,OACA,aAC6C;CAC7C,IAAI,QAAQ,SAAS,MAAM,iBAAiB,OAAO,MAAM;CACzD,IAAI,UAAU,KAAA,KAAa,QAAQ,GAAG,MAAM,IAAI,MAAM,+BAA+B;CACrF,IAAI,aAAa,KAAA,KAAa,WAAW,GAAG,MAAM,IAAI,MAAM,kCAAkC;CAE9F,MAAM,QAAa,CAAC;CAEpB,IAAI,UAAU,GAAG,OAAO;CAExB,IAAI;CACJ,MAAM,uBAAO,IAAI,IAAY;CAE7B,GAAG;EACD,MAAM,OAAO,MAAM,UAAU,OAAO,UAAU,MAAM;EAEpD,MAAM,KAAK,GAAG,KAAK,IAAI;EAEvB,IAAI,UAAU,KAAA,KAAa,MAAM,UAAU,OAAO,OAAO,MAAM,MAAM,GAAG,KAAK;EAE7E,QAAQ,aAAa,KAAK,MAAM,IAAI;EACpC,IAAI,UAAU,KAAA,GAAW;GACvB,IAAI,KAAK,IAAI,KAAK,GAChB,MAAM,IAAI,MAAM,kDAAkD,OAAO;GAE3E,KAAK,IAAI,KAAK;EAChB;CACF,SAAS,UAAU,KAAA;CAEnB,OAAO;AACT"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
const require_createFetchClient = require("./createFetchClient-CDKSkd7i.cjs");
|
|
2
|
+
const require_isLoginPageRedirect = require("./isLoginPageRedirect-DUmsOC2o.cjs");
|
|
3
|
+
const require_createAbortError = require("./createAbortError-Dzc9yObN.cjs");
|
|
4
|
+
// src/errors/HtmlResponseError.ts
|
|
5
|
+
/**
|
|
6
|
+
* A successful response that carried an HTML page instead of the endpoint's payload.
|
|
7
|
+
*
|
|
8
|
+
* - An expired session 302s to the login page; `fetch` follows it to `200 text/html`.
|
|
9
|
+
* - Constant message so Sentry groups it; `request`/`response` carry the detail.
|
|
10
|
+
* - Opt-in per client: some APIs serve HTML from a 200 on purpose.
|
|
11
|
+
*/
|
|
12
|
+
var HtmlResponseError = class extends require_createFetchClient.ApiError {
|
|
13
|
+
constructor(res) {
|
|
14
|
+
super(res);
|
|
15
|
+
this.name = "HtmlResponseError";
|
|
16
|
+
this.message = "Expected data, got an HTML page. The session has most likely expired.";
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const isHtmlResponseError = (error) => error instanceof HtmlResponseError;
|
|
20
|
+
// src/clients/validateConnectionStatus.ts
|
|
21
|
+
/**
|
|
22
|
+
* Status validation for the APIs Connection serves off its own host — storage and auth.
|
|
23
|
+
*
|
|
24
|
+
* - Rejects a successful login page; `HtmlResponseError` says why.
|
|
25
|
+
* - HTML on a *failed* response is a real error page and stays an `ApiError`.
|
|
26
|
+
* - Management answers the same condition with its own session-expiry error instead.
|
|
27
|
+
*/
|
|
28
|
+
const validateConnectionStatus = (apiResponse) => {
|
|
29
|
+
const isValid = require_createFetchClient.defaultValidateStatus(apiResponse);
|
|
30
|
+
if (isValid && require_isLoginPageRedirect.isLoginPageRedirect(apiResponse)) return new HtmlResponseError(apiResponse);
|
|
31
|
+
return isValid;
|
|
32
|
+
};
|
|
33
|
+
// src/utils/async/collectByCursor.ts
|
|
34
|
+
/**
|
|
35
|
+
* The `page[after]` cursor `links.next` carries; `undefined` on the last page.
|
|
36
|
+
*
|
|
37
|
+
* - Read from the link, not rebuilt from the last row, so the encoding stays the server's.
|
|
38
|
+
* - Only the query is parsed, so a relative link works too.
|
|
39
|
+
*/
|
|
40
|
+
const nextCursorOf = (next) => {
|
|
41
|
+
if (next === null) return void 0;
|
|
42
|
+
const queryStart = next.indexOf("?");
|
|
43
|
+
if (queryStart === -1) return void 0;
|
|
44
|
+
const query = next.slice(queryStart + 1).split("#")[0];
|
|
45
|
+
return new URLSearchParams(query).get("page[after]") ?? void 0;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Collects items from a cursor-paginated endpoint — up to `limit`, or all when it is omitted.
|
|
49
|
+
*
|
|
50
|
+
* - Calls `fetchFrom` sequentially with the cursor each `links.next` carries, and hands it `pageSize`.
|
|
51
|
+
* - Ends on a `null` `links.next`, or on a link without a `page[after]`.
|
|
52
|
+
* - A cursor seen before means the server is looping; the walk throws rather than spin.
|
|
53
|
+
*/
|
|
54
|
+
const collectByCursor = async ({ fetchFrom, pageSize, limit, signal }) => {
|
|
55
|
+
if (signal?.aborted) throw require_createAbortError.createAbortError(signal.reason);
|
|
56
|
+
if (limit !== void 0 && limit < 0) throw new Error("Invalid collectByCursor limit");
|
|
57
|
+
if (pageSize !== void 0 && pageSize < 1) throw new Error("Invalid collectByCursor pageSize");
|
|
58
|
+
const items = [];
|
|
59
|
+
if (limit === 0) return items;
|
|
60
|
+
let after;
|
|
61
|
+
const seen = /* @__PURE__ */ new Set();
|
|
62
|
+
do {
|
|
63
|
+
const page = await fetchFrom(after, pageSize, signal);
|
|
64
|
+
items.push(...page.data);
|
|
65
|
+
if (limit !== void 0 && items.length >= limit) return items.slice(0, limit);
|
|
66
|
+
after = nextCursorOf(page.links.next);
|
|
67
|
+
if (after !== void 0) {
|
|
68
|
+
if (seen.has(after)) throw new Error(`collectByCursor: links.next repeats the cursor ${after}`);
|
|
69
|
+
seen.add(after);
|
|
70
|
+
}
|
|
71
|
+
} while (after !== void 0);
|
|
72
|
+
return items;
|
|
73
|
+
};
|
|
74
|
+
Object.defineProperty(exports, "HtmlResponseError", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function() {
|
|
77
|
+
return HtmlResponseError;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "collectByCursor", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function() {
|
|
83
|
+
return collectByCursor;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "isHtmlResponseError", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function() {
|
|
89
|
+
return isHtmlResponseError;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "nextCursorOf", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function() {
|
|
95
|
+
return nextCursorOf;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "validateConnectionStatus", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function() {
|
|
101
|
+
return validateConnectionStatus;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
//# sourceMappingURL=collectByCursor-D58__WD1.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectByCursor-D58__WD1.cjs","names":["ApiError","defaultValidateStatus","isLoginPageRedirect","createAbortError"],"sources":["../src/errors/HtmlResponseError.ts","../src/clients/validateConnectionStatus.ts","../src/utils/async/collectByCursor.ts"],"sourcesContent":["import type { ApiResponse } from '../fetchClient/createFetchClient/types';\n\nimport { ApiError } from './ApiError';\n\n/**\n * A successful response that carried an HTML page instead of the endpoint's payload.\n *\n * - An expired session 302s to the login page; `fetch` follows it to `200 text/html`.\n * - Constant message so Sentry groups it; `request`/`response` carry the detail.\n * - Opt-in per client: some APIs serve HTML from a 200 on purpose.\n */\nexport class HtmlResponseError extends ApiError {\n constructor(res: ApiResponse) {\n super(res);\n this.name = 'HtmlResponseError';\n this.message = 'Expected data, got an HTML page. The session has most likely expired.';\n }\n}\n\nexport const isHtmlResponseError = (error: unknown): error is HtmlResponseError =>\n error instanceof HtmlResponseError;\n","import { HtmlResponseError } from '../errors';\nimport { defaultValidateStatus, type ValidateStatusFn } from '../fetchClient';\n\nimport { isLoginPageRedirect } from './isLoginPageRedirect';\n\n/**\n * Status validation for the APIs Connection serves off its own host — storage and auth.\n *\n * - Rejects a successful login page; `HtmlResponseError` says why.\n * - HTML on a *failed* response is a real error page and stays an `ApiError`.\n * - Management answers the same condition with its own session-expiry error instead.\n */\nexport const validateConnectionStatus: ValidateStatusFn = (apiResponse) => {\n const isValid = defaultValidateStatus(apiResponse);\n\n if (isValid && isLoginPageRedirect(apiResponse)) {\n return new HtmlResponseError(apiResponse);\n }\n\n return isValid;\n};\n","import { createAbortError } from '../createAbortError';\n\n/** One page of a cursor-paginated collection (`data` / `meta` / `links` envelope). */\nexport type CursorPage<T> = { data: T[]; links: { next: string | null } };\n\nexport type CollectByCursorOptions<T> = {\n fetchFrom: (\n after: string | undefined,\n pageSize?: number,\n signal?: AbortSignal,\n ) => Promise<CursorPage<T>>;\n pageSize?: number;\n limit?: number;\n signal?: AbortSignal;\n};\n\n/**\n * The `page[after]` cursor `links.next` carries; `undefined` on the last page.\n *\n * - Read from the link, not rebuilt from the last row, so the encoding stays the server's.\n * - Only the query is parsed, so a relative link works too.\n */\nexport const nextCursorOf = (next: string | null): string | undefined => {\n if (next === null) return undefined;\n const queryStart = next.indexOf('?');\n if (queryStart === -1) return undefined;\n const query = next.slice(queryStart + 1).split('#')[0];\n return new URLSearchParams(query).get('page[after]') ?? undefined;\n};\n\n/**\n * Collects items from a cursor-paginated endpoint — up to `limit`, or all when it is omitted.\n *\n * - Calls `fetchFrom` sequentially with the cursor each `links.next` carries, and hands it `pageSize`.\n * - Ends on a `null` `links.next`, or on a link without a `page[after]`.\n * - A cursor seen before means the server is looping; the walk throws rather than spin.\n */\nexport const collectByCursor = async <T>({\n fetchFrom,\n pageSize,\n limit,\n signal,\n}: CollectByCursorOptions<T>): Promise<T[]> => {\n if (signal?.aborted) throw createAbortError(signal.reason);\n if (limit !== undefined && limit < 0) throw new Error('Invalid collectByCursor limit');\n if (pageSize !== undefined && pageSize < 1) throw new Error('Invalid collectByCursor pageSize');\n\n const items: T[] = [];\n\n if (limit === 0) return items;\n\n let after: string | undefined;\n const seen = new Set<string>();\n\n do {\n const page = await fetchFrom(after, pageSize, signal);\n\n items.push(...page.data);\n\n if (limit !== undefined && items.length >= limit) return items.slice(0, limit);\n\n after = nextCursorOf(page.links.next);\n if (after !== undefined) {\n if (seen.has(after)) {\n throw new Error(`collectByCursor: links.next repeats the cursor ${after}`);\n }\n seen.add(after);\n }\n } while (after !== undefined);\n\n return items;\n};\n"],"mappings":";;;;;;;;;;;AAWA,IAAa,oBAAb,cAAuCA,0BAAAA,SAAS;CAC9C,YAAY,KAAkB;EAC5B,MAAM,GAAG;EACT,KAAK,OAAO;EACZ,KAAK,UAAU;CACjB;AACF;AAEA,MAAa,uBAAuB,UAClC,iBAAiB;;;;;;;;;ACRnB,MAAa,4BAA8C,gBAAgB;CACzE,MAAM,UAAUC,0BAAAA,sBAAsB,WAAW;CAEjD,IAAI,WAAWC,4BAAAA,oBAAoB,WAAW,GAC5C,OAAO,IAAI,kBAAkB,WAAW;CAG1C,OAAO;AACT;;;;;;;;ACEA,MAAa,gBAAgB,SAA4C;CACvE,IAAI,SAAS,MAAM,OAAO,KAAA;CAC1B,MAAM,aAAa,KAAK,QAAQ,GAAG;CACnC,IAAI,eAAe,IAAI,OAAO,KAAA;CAC9B,MAAM,QAAQ,KAAK,MAAM,aAAa,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;CACpD,OAAO,IAAI,gBAAgB,KAAK,CAAC,CAAC,IAAI,aAAa,KAAK,KAAA;AAC1D;;;;;;;;AASA,MAAa,kBAAkB,OAAU,EACvC,WACA,UACA,OACA,aAC6C;CAC7C,IAAI,QAAQ,SAAS,MAAMC,yBAAAA,iBAAiB,OAAO,MAAM;CACzD,IAAI,UAAU,KAAA,KAAa,QAAQ,GAAG,MAAM,IAAI,MAAM,+BAA+B;CACrF,IAAI,aAAa,KAAA,KAAa,WAAW,GAAG,MAAM,IAAI,MAAM,kCAAkC;CAE9F,MAAM,QAAa,CAAC;CAEpB,IAAI,UAAU,GAAG,OAAO;CAExB,IAAI;CACJ,MAAM,uBAAO,IAAI,IAAY;CAE7B,GAAG;EACD,MAAM,OAAO,MAAM,UAAU,OAAO,UAAU,MAAM;EAEpD,MAAM,KAAK,GAAG,KAAK,IAAI;EAEvB,IAAI,UAAU,KAAA,KAAa,MAAM,UAAU,OAAO,OAAO,MAAM,MAAM,GAAG,KAAK;EAE7E,QAAQ,aAAa,KAAK,MAAM,IAAI;EACpC,IAAI,UAAU,KAAA,GAAW;GACvB,IAAI,KAAK,IAAI,KAAK,GAChB,MAAM,IAAI,MAAM,kDAAkD,OAAO;GAE3E,KAAK,IAAI,KAAK;EAChB;CACF,SAAS,UAAU,KAAA;CAEnB,OAAO;AACT"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as StoredConnectorCredentials, n as Connector, r as ConnectorsResponse, t as createComponentsMcpClient } from "../index-
|
|
1
|
+
import { i as StoredConnectorCredentials, n as Connector, r as ConnectorsResponse, t as createComponentsMcpClient } from "../index-CLqZfRpv.cjs";
|
|
2
2
|
export { type Connector, type ConnectorsResponse, type StoredConnectorCredentials, createComponentsMcpClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as StoredConnectorCredentials, n as Connector, r as ConnectorsResponse, t as createComponentsMcpClient } from "../index-
|
|
1
|
+
import { i as StoredConnectorCredentials, n as Connector, r as ConnectorsResponse, t as createComponentsMcpClient } from "../index-BaJ-GMa7.js";
|
|
2
2
|
export { type Connector, type ConnectorsResponse, type StoredConnectorCredentials, createComponentsMcpClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SetConnectorCredentialsBody, r as SetConnectorCredentialsPath, t as GetConnectorsQuery } from "../types-
|
|
1
|
+
import { n as SetConnectorCredentialsBody, r as SetConnectorCredentialsPath, t as GetConnectorsQuery } from "../types-C3Kf_ggm.cjs";
|
|
2
2
|
export { GetConnectorsQuery, SetConnectorCredentialsBody, SetConnectorCredentialsPath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SetConnectorCredentialsBody, r as SetConnectorCredentialsPath, t as GetConnectorsQuery } from "../types-
|
|
1
|
+
import { n as SetConnectorCredentialsBody, r as SetConnectorCredentialsPath, t as GetConnectorsQuery } from "../types-D2J3SaoY.js";
|
|
2
2
|
export { GetConnectorsQuery, SetConnectorCredentialsBody, SetConnectorCredentialsPath };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as STACKS, c as ProjectMetric, d as ServiceId, i as Provider, l as ProjectFeature, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ComponentId } from "../index-
|
|
3
|
-
import { t as AdminRole } from "../adminRoles-
|
|
1
|
+
import { oi as ManageErrorCode } from "../index-DcKc3_Y1.cjs";
|
|
2
|
+
import { a as STACKS, c as ProjectMetric, d as ServiceId, i as Provider, l as ProjectFeature, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ComponentId } from "../index-CxoJuIzB.cjs";
|
|
3
|
+
import { t as AdminRole } from "../adminRoles-BFOPSedO.cjs";
|
|
4
4
|
import { t as Backend } from "../backends-BHotIdL0.cjs";
|
|
5
5
|
export { AdminFeature, AdminRole, Backend, ComponentId, Continent, type KeboolaStack, ManageErrorCode, ProjectFeature, ProjectMetric, Provider, STACKS, ServiceId, StackFeature, URLS };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as STACKS, c as ProjectMetric, d as ServiceId, i as Provider, l as ProjectFeature, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ComponentId } from "../index-
|
|
3
|
-
import { t as AdminRole } from "../adminRoles-
|
|
1
|
+
import { oi as ManageErrorCode } from "../index-DcKc3_Y1.js";
|
|
2
|
+
import { a as STACKS, c as ProjectMetric, d as ServiceId, i as Provider, l as ProjectFeature, n as Continent, o as AdminFeature, r as KeboolaStack, s as StackFeature, t as URLS, u as ComponentId } from "../index-B7Ogo2SK.js";
|
|
3
|
+
import { t as AdminRole } from "../adminRoles-CUB0JddB.js";
|
|
4
4
|
import { t as Backend } from "../backends-BHotIdL0.js";
|
|
5
5
|
export { AdminFeature, AdminRole, Backend, ComponentId, Continent, type KeboolaStack, ManageErrorCode, ProjectFeature, ProjectMetric, Provider, STACKS, ServiceId, StackFeature, URLS };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ClientInitOptions } from "../types-
|
|
3
|
-
import { a as GetAppsQuery, i as DeleteSandboxPath, o as GetDataAppPath, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath } from "../types-
|
|
1
|
+
import { li as ApiResponse } from "../index-DcKc3_Y1.cjs";
|
|
2
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
3
|
+
import { a as GetAppsQuery, i as DeleteSandboxPath, o as GetDataAppPath, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath } from "../types-BDGkMVWf.cjs";
|
|
4
4
|
declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
6
6
|
getApps: (query: GetAppsQuery, signal?: AbortSignal) => Promise<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ClientInitOptions } from "../types-
|
|
3
|
-
import { a as GetAppsQuery, i as DeleteSandboxPath, o as GetDataAppPath, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath } from "../types-
|
|
1
|
+
import { li as ApiResponse } from "../index-DcKc3_Y1.js";
|
|
2
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
3
|
+
import { a as GetAppsQuery, i as DeleteSandboxPath, o as GetDataAppPath, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath } from "../types-CnKiVVb8.js";
|
|
4
4
|
declare const createDataScienceClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
6
6
|
getApps: (query: GetAppsQuery, signal?: AbortSignal) => Promise<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GetAppsQuery, c as Runtime, i as DeleteSandboxPath, l as RuntimeImageKey, n as DataApp, o as GetDataAppPath, r as DataAppPreviewLink, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath, u as Sandbox } from "../types-
|
|
1
|
+
import { a as GetAppsQuery, c as Runtime, i as DeleteSandboxPath, l as RuntimeImageKey, n as DataApp, o as GetDataAppPath, r as DataAppPreviewLink, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath, u as Sandbox } from "../types-BDGkMVWf.cjs";
|
|
2
2
|
export { CreateDataAppPreviewLinkPath, DataApp, DataAppPreviewLink, DeleteSandboxPath, GetAppsQuery, GetDataAppPath, GetSandboxPath, Runtime, RuntimeImageKey, Sandbox };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GetAppsQuery, c as Runtime, i as DeleteSandboxPath, l as RuntimeImageKey, n as DataApp, o as GetDataAppPath, r as DataAppPreviewLink, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath, u as Sandbox } from "../types-
|
|
1
|
+
import { a as GetAppsQuery, c as Runtime, i as DeleteSandboxPath, l as RuntimeImageKey, n as DataApp, o as GetDataAppPath, r as DataAppPreviewLink, s as GetSandboxPath, t as CreateDataAppPreviewLinkPath, u as Sandbox } from "../types-CnKiVVb8.js";
|
|
2
2
|
export { CreateDataAppPreviewLinkPath, DataApp, DataAppPreviewLink, DeleteSandboxPath, GetAppsQuery, GetDataAppPath, GetSandboxPath, Runtime, RuntimeImageKey, Sandbox };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-
|
|
2
|
-
import { a as DeveloperPortalClient, c as createDeveloperPortalClient, i as isMfaChallengeResponse, n as authHeader, o as DeveloperPortalClientInitOptions, r as uploadAppIcon, s as DeveloperPortalFetchClient, t as DeveloperPortalTokens } from "../index-
|
|
1
|
+
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-DtS7qAdz.cjs";
|
|
2
|
+
import { a as DeveloperPortalClient, c as createDeveloperPortalClient, i as isMfaChallengeResponse, n as authHeader, o as DeveloperPortalClientInitOptions, r as uploadAppIcon, s as DeveloperPortalFetchClient, t as DeveloperPortalTokens } from "../index-DxbqDi_0.cjs";
|
|
3
3
|
export { type AdminPaginationQuery, type AdminVendor, type App, type AppChange, type AppRepository, type AppVendor, type ApproveVendorInput, type ConfirmAccountInput, type CreateAppInput, type CreateServiceAccountInput, type CreateVendorAsAdminInput, type CreateVendorInput, type DeprecateAppInput, DeveloperPortalClient, DeveloperPortalClientInitOptions, type DeveloperPortalError, DeveloperPortalFetchClient, type DeveloperPortalTokens, type GetAppsQuery, type GetChangesQuery, type GetVendorUsersQuery, type IconUploadLink, type LoginChallenge, type LoginInput, type LoginResult, type LoginSuccess, type MfaConfirmInput, type MfaSetupInput, type MfaSetupResult, type PaginationQuery, type Profile, type RefreshTokensResult, type RejectAppInput, type ResetPasswordConfirmInput, type ServiceAccount, type ServiceIndex, type SignUpInput, type Stack, type UpdateAppAsAdminInput, type UpdateAppInput, type UpdateVendorAsAdminInput, type UpdateVendorInput, type User, type UserRequest, type Vendor, type VendorListItem, type Version, authHeader, createDeveloperPortalClient, isMfaChallengeResponse, uploadAppIcon };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-
|
|
2
|
-
import { a as DeveloperPortalClient, c as createDeveloperPortalClient, i as isMfaChallengeResponse, n as authHeader, o as DeveloperPortalClientInitOptions, r as uploadAppIcon, s as DeveloperPortalFetchClient, t as DeveloperPortalTokens } from "../index-
|
|
1
|
+
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-BnkHyxdp.js";
|
|
2
|
+
import { a as DeveloperPortalClient, c as createDeveloperPortalClient, i as isMfaChallengeResponse, n as authHeader, o as DeveloperPortalClientInitOptions, r as uploadAppIcon, s as DeveloperPortalFetchClient, t as DeveloperPortalTokens } from "../index-A8udJCGv.js";
|
|
3
3
|
export { type AdminPaginationQuery, type AdminVendor, type App, type AppChange, type AppRepository, type AppVendor, type ApproveVendorInput, type ConfirmAccountInput, type CreateAppInput, type CreateServiceAccountInput, type CreateVendorAsAdminInput, type CreateVendorInput, type DeprecateAppInput, DeveloperPortalClient, DeveloperPortalClientInitOptions, type DeveloperPortalError, DeveloperPortalFetchClient, type DeveloperPortalTokens, type GetAppsQuery, type GetChangesQuery, type GetVendorUsersQuery, type IconUploadLink, type LoginChallenge, type LoginInput, type LoginResult, type LoginSuccess, type MfaConfirmInput, type MfaSetupInput, type MfaSetupResult, type PaginationQuery, type Profile, type RefreshTokensResult, type RejectAppInput, type ResetPasswordConfirmInput, type ServiceAccount, type ServiceIndex, type SignUpInput, type Stack, type UpdateAppAsAdminInput, type UpdateAppInput, type UpdateVendorAsAdminInput, type UpdateVendorInput, type User, type UserRequest, type Vendor, type VendorListItem, type Version, authHeader, createDeveloperPortalClient, isMfaChallengeResponse, uploadAppIcon };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-
|
|
1
|
+
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-DtS7qAdz.cjs";
|
|
2
2
|
export { AdminPaginationQuery, AdminVendor, App, AppChange, AppRepository, AppVendor, ApproveVendorInput, ConfirmAccountInput, CreateAppInput, CreateServiceAccountInput, CreateVendorAsAdminInput, CreateVendorInput, DeprecateAppInput, DeveloperPortalError, GetAppsQuery, GetChangesQuery, GetVendorUsersQuery, IconUploadLink, LoginChallenge, LoginInput, LoginResult, LoginSuccess, MfaConfirmInput, MfaSetupInput, MfaSetupResult, PaginationQuery, Profile, RefreshTokensResult, RejectAppInput, ResetPasswordConfirmInput, ServiceAccount, ServiceIndex, SignUpInput, Stack, UpdateAppAsAdminInput, UpdateAppInput, UpdateVendorAsAdminInput, UpdateVendorInput, User, UserRequest, Vendor, VendorListItem, Version };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-
|
|
1
|
+
import { A as ResetPasswordConfirmInput, B as UserRequest, C as MfaConfirmInput, D as Profile, E as PaginationQuery, F as UpdateAppAsAdminInput, H as VendorListItem, I as UpdateAppInput, L as UpdateVendorAsAdminInput, M as ServiceIndex, N as SignUpInput, O as RefreshTokensResult, P as Stack, R as UpdateVendorInput, S as LoginSuccess, T as MfaSetupResult, U as Version, V as Vendor, _ as GetVendorUsersQuery, a as AppRepository, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, i as AppChange, j as ServiceAccount, k as RejectAppInput, l as CreateAppInput, m as DeveloperPortalError, n as AdminVendor, o as AppVendor, p as DeprecateAppInput, r as App, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, v as IconUploadLink, w as MfaSetupInput, x as LoginResult, y as LoginChallenge, z as User } from "../types-BnkHyxdp.js";
|
|
2
2
|
export { AdminPaginationQuery, AdminVendor, App, AppChange, AppRepository, AppVendor, ApproveVendorInput, ConfirmAccountInput, CreateAppInput, CreateServiceAccountInput, CreateVendorAsAdminInput, CreateVendorInput, DeprecateAppInput, DeveloperPortalError, GetAppsQuery, GetChangesQuery, GetVendorUsersQuery, IconUploadLink, LoginChallenge, LoginInput, LoginResult, LoginSuccess, MfaConfirmInput, MfaSetupInput, MfaSetupResult, PaginationQuery, Profile, RefreshTokensResult, RejectAppInput, ResetPasswordConfirmInput, ServiceAccount, ServiceIndex, SignUpInput, Stack, UpdateAppAsAdminInput, UpdateAppInput, UpdateVendorAsAdminInput, UpdateVendorInput, User, UserRequest, Vendor, VendorListItem, Version };
|
package/dist/editor/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { C as components, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
2
|
+
import { C as components, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "../types-CbPO9cGq.cjs";
|
|
3
3
|
declare const createEditorClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
4
4
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
5
5
|
status: 'ok';
|
package/dist/editor/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "../types-
|
|
2
|
-
import { C as components, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "../types-
|
|
1
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
2
|
+
import { C as components, a as GetSqlSessionTableDdlPath, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody } from "../types-DiXeO0yB.js";
|
|
3
3
|
declare const createEditorClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
4
4
|
healthCheck: (signal?: AbortSignal) => Promise<{
|
|
5
5
|
status: 'ok';
|
package/dist/editor/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as SqlSession, _ as SessionSchema, a as GetSqlSessionTableDdlPath, b as SessionSchemaDatabase, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, g as Session, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody, v as SessionSchemaBucket, x as SessionSchemaTable, y as SessionSchemaColumn } from "../types-
|
|
1
|
+
import { S as SqlSession, _ as SessionSchema, a as GetSqlSessionTableDdlPath, b as SessionSchemaDatabase, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, g as Session, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody, v as SessionSchemaBucket, x as SessionSchemaTable, y as SessionSchemaColumn } from "../types-CbPO9cGq.cjs";
|
|
2
2
|
export { CreateSqlSessionBody, GetSqlSessionPath, GetSqlSessionSchemaPath, GetSqlSessionSchemaQuery, GetSqlSessionTableDdlPath, GetSqlSessionTableDdlQuery, GetSqlSessionsQuery, PostSqlRunQueryBody, PostSqlRunQueryPath, PostSqlSessionLoadBody, PostSqlSessionLoadPath, PostSqlSessionUnloadBody, PostSqlSessionUnloadPath, PostSqlTablePreviewBody, PostSqlTablePreviewPath, Session, SessionSchema, SessionSchemaBucket, SessionSchemaColumn, SessionSchemaDatabase, SessionSchemaTable, SqlSession };
|
package/dist/editor/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as SqlSession, _ as SessionSchema, a as GetSqlSessionTableDdlPath, b as SessionSchemaDatabase, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, g as Session, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody, v as SessionSchemaBucket, x as SessionSchemaTable, y as SessionSchemaColumn } from "../types-
|
|
1
|
+
import { S as SqlSession, _ as SessionSchema, a as GetSqlSessionTableDdlPath, b as SessionSchemaDatabase, c as PostSqlRunQueryBody, d as PostSqlSessionLoadPath, f as PostSqlSessionUnloadBody, g as Session, h as PostSqlTablePreviewPath, i as GetSqlSessionSchemaQuery, l as PostSqlRunQueryPath, m as PostSqlTablePreviewBody, n as GetSqlSessionPath, o as GetSqlSessionTableDdlQuery, p as PostSqlSessionUnloadPath, r as GetSqlSessionSchemaPath, s as GetSqlSessionsQuery, t as CreateSqlSessionBody, u as PostSqlSessionLoadBody, v as SessionSchemaBucket, x as SessionSchemaTable, y as SessionSchemaColumn } from "../types-DiXeO0yB.js";
|
|
2
2
|
export { CreateSqlSessionBody, GetSqlSessionPath, GetSqlSessionSchemaPath, GetSqlSessionSchemaQuery, GetSqlSessionTableDdlPath, GetSqlSessionTableDdlQuery, GetSqlSessionsQuery, PostSqlRunQueryBody, PostSqlRunQueryPath, PostSqlSessionLoadBody, PostSqlSessionLoadPath, PostSqlSessionUnloadBody, PostSqlSessionUnloadPath, PostSqlTablePreviewBody, PostSqlTablePreviewPath, Session, SessionSchema, SessionSchemaBucket, SessionSchemaColumn, SessionSchemaDatabase, SessionSchemaTable, SqlSession };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createEncryptionClient } from "../index-
|
|
1
|
+
import { t as createEncryptionClient } from "../index-DPhGNQC5.cjs";
|
|
2
2
|
export { createEncryptionClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createEncryptionClient } from "../index-
|
|
1
|
+
import { t as createEncryptionClient } from "../index-GlHJ4j3a.js";
|
|
2
2
|
export { createEncryptionClient };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-
|
|
1
|
+
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-DPhGNQC5.cjs";
|
|
2
2
|
export { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-
|
|
1
|
+
import { a as EncryptParamsByScope, c as ScopedSecrets, i as EncryptParams, n as BranchType, o as EncryptQuery, r as EncryptBody, s as EncryptionScope } from "../index-GlHJ4j3a.js";
|
|
2
2
|
export { BranchType, EncryptBody, EncryptParams, EncryptParamsByScope, EncryptQuery, EncryptionScope, ScopedSecrets };
|
package/dist/import/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as UploadProgress } from "../index-
|
|
2
|
-
import { n as ClientInitOptions } from "../types-
|
|
3
|
-
import { n as WriteTableInput, t as UploadFileInput } from "../types-
|
|
1
|
+
import { f as UploadProgress } from "../index-DcKc3_Y1.cjs";
|
|
2
|
+
import { n as ClientInitOptions } from "../types-BqJycQNM.cjs";
|
|
3
|
+
import { n as WriteTableInput, t as UploadFileInput } from "../types-LOf_GCej.cjs";
|
|
4
4
|
type Options = {
|
|
5
5
|
signal?: AbortSignal;
|
|
6
6
|
onProgress?: (progress: UploadProgress) => void;
|
package/dist/import/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as UploadProgress } from "../index-
|
|
2
|
-
import { n as ClientInitOptions } from "../types-
|
|
3
|
-
import { n as WriteTableInput, t as UploadFileInput } from "../types-
|
|
1
|
+
import { f as UploadProgress } from "../index-DcKc3_Y1.js";
|
|
2
|
+
import { n as ClientInitOptions } from "../types-DMEl2iet.js";
|
|
3
|
+
import { n as WriteTableInput, t as UploadFileInput } from "../types-DaRxZt3v.js";
|
|
4
4
|
type Options = {
|
|
5
5
|
signal?: AbortSignal;
|
|
6
6
|
onProgress?: (progress: UploadProgress) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, x as LoginResult, y as LoginChallenge } from "./types-
|
|
1
|
+
import { fi as MiddlewareFn, t as createOpenapiFetchClient } from "./index-DcKc3_Y1.js";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-DMEl2iet.js";
|
|
3
|
+
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, G as paths, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput, x as LoginResult, y as LoginChallenge } from "./types-BnkHyxdp.js";
|
|
4
4
|
type DeveloperPortalFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
5
5
|
type DeveloperPortalClientInitOptions = Omit<ClientInitOptions, 'auth' | 'middlewares'> & {
|
|
6
6
|
middlewares?: MiddlewareFn[];
|
|
@@ -1405,4 +1405,4 @@ type DeveloperPortalTokens = {
|
|
|
1405
1405
|
/** Raw token, no `Bearer` prefix — see the spec's `bearerAuth` scheme (`type: apiKey`). */
|
|
1406
1406
|
declare const authHeader: (token: string) => Record<string, string>;
|
|
1407
1407
|
export { DeveloperPortalClient as a, createDeveloperPortalClient as c, isMfaChallengeResponse as i, authHeader as n, DeveloperPortalClientInitOptions as o, uploadAppIcon as r, DeveloperPortalFetchClient as s, DeveloperPortalTokens as t };
|
|
1408
|
-
//# sourceMappingURL=index-
|
|
1408
|
+
//# sourceMappingURL=index-A8udJCGv.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as ClientInitOptions } from "./types-
|
|
2
|
-
import { h as ProjectToolPolicyValue, m as ProjectToolPolicy } from "./types-
|
|
1
|
+
import { n as ClientInitOptions } from "./types-BqJycQNM.cjs";
|
|
2
|
+
import { h as ProjectToolPolicyValue, m as ProjectToolPolicy } from "./types-CFuT8zr3.cjs";
|
|
3
3
|
import { d as SuggestionsApiResponse, f as SuggestionsRequestBody } from "./suggestions-xhIjrlvi.cjs";
|
|
4
|
-
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-
|
|
4
|
+
import { c as GetChatPath, d as PrepareChatRequest, f as UsageResponse, i as ChatRequest, l as GetHistoryQuery, n as ArtifactListResponse, o as GetArtifactPath, p as VoteRequest, r as ArtifactResponse, s as GetArtifactsQuery, t as ApprovalBody, u as GetVotesQuery } from "./types-BJRRAQ9R.cjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
declare const agentSettingsSchema: z.ZodObject<{
|
|
7
7
|
projectId: z.ZodString;
|
|
@@ -278,4 +278,4 @@ declare const createKaiAgentClient: ({ baseUrl, middlewares, auth }: ClientInitO
|
|
|
278
278
|
chatStreamUrl: string;
|
|
279
279
|
};
|
|
280
280
|
export { UserAgentSettings as a, SpendCapsView as i, MemorySaveMode as n, UserMemory as o, SpendCapMember as r, createKaiAgentClient as s, AgentSettings as t };
|
|
281
|
-
//# sourceMappingURL=index-
|
|
281
|
+
//# sourceMappingURL=index-B-HhOTVk.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createOpenapiFetchClient } from "./index-
|
|
2
|
-
import { n as ClientInitOptions } from "./types-
|
|
3
|
-
import { E as MetaStoreObjectResponse, I as UpdateMetaObjectInput, M as ReplaceTargetProjectsInput, P as ScopeElevationRequestPath, R as components, T as MetaStoreListResponse, c as DeleteMetaObjectRevisionPath, d as GetMetaObjectRevisionsInput, h as GetMetaObjectsInput, i as CreateMetaObjectInput, k as ReplaceMetaObjectInput, l as GetMetaObjectPath, n as GetVersionedSchemaPath, s as DeleteMetaObjectPath, t as GetSchemaPath, u as GetMetaObjectRevisionPath, y as GetOrganizationMetaObjectsPath, z as paths } from "./types-
|
|
1
|
+
import { t as createOpenapiFetchClient } from "./index-DcKc3_Y1.js";
|
|
2
|
+
import { n as ClientInitOptions } from "./types-DMEl2iet.js";
|
|
3
|
+
import { E as MetaStoreObjectResponse, I as UpdateMetaObjectInput, M as ReplaceTargetProjectsInput, P as ScopeElevationRequestPath, R as components, T as MetaStoreListResponse, c as DeleteMetaObjectRevisionPath, d as GetMetaObjectRevisionsInput, h as GetMetaObjectsInput, i as CreateMetaObjectInput, k as ReplaceMetaObjectInput, l as GetMetaObjectPath, n as GetVersionedSchemaPath, s as DeleteMetaObjectPath, t as GetSchemaPath, u as GetMetaObjectRevisionPath, y as GetOrganizationMetaObjectsPath, z as paths } from "./types-D4knWlwr.js";
|
|
4
4
|
type MetastoreFetchClient = ReturnType<typeof createOpenapiFetchClient<paths>>;
|
|
5
5
|
declare const createMetastoreClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
6
6
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -29,4 +29,4 @@ declare const createMetastoreClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
export { createMetastoreClient as n, MetastoreFetchClient as t };
|
|
32
|
-
//# sourceMappingURL=index-
|
|
32
|
+
//# sourceMappingURL=index-B2YNTI4p.d.ts.map
|