gatana-sdk 2.3.9 → 3.1.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/dist/api/index.cjs +167 -121
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.mjs +2 -2
- package/dist/apiv2/index.cjs +14 -11
- package/dist/apiv2/index.d.cts +2 -2
- package/dist/apiv2/index.d.mts +2 -2
- package/dist/apiv2/index.mjs +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{sdk.gen-DUNHa0uM.mjs → sdk.gen-CAAxLIvj.mjs} +85 -28
- package/dist/{sdk.gen-DUNHa0uM.mjs.map → sdk.gen-CAAxLIvj.mjs.map} +1 -1
- package/dist/sdk.gen-CPj479Qv.cjs +4453 -0
- package/dist/{sdk.gen-BMl_z1y-.cjs → sdk.gen-Cdv7MDsj.cjs} +121 -46
- package/dist/sdk.gen-Crii0E1f.d.mts +2090 -0
- package/dist/sdk.gen-Crii0E1f.d.mts.map +1 -0
- package/dist/sdk.gen-DTUv_UKF.d.cts +10119 -0
- package/dist/sdk.gen-DTUv_UKF.d.cts.map +1 -0
- package/dist/sdk.gen-DnHL4s0x.mjs +3423 -0
- package/dist/sdk.gen-DnHL4s0x.mjs.map +1 -0
- package/dist/sdk.gen-Do_HFvZj.d.cts +2090 -0
- package/dist/sdk.gen-Do_HFvZj.d.cts.map +1 -0
- package/dist/sdk.gen-oW0osWyp.d.mts +10119 -0
- package/dist/sdk.gen-oW0osWyp.d.mts.map +1 -0
- package/package.json +1 -1
- package/dist/sdk.gen-B5HNJH3y.mjs +0 -2388
- package/dist/sdk.gen-B5HNJH3y.mjs.map +0 -1
- package/dist/sdk.gen-B_k9Vt0B.cjs +0 -3142
- package/dist/sdk.gen-BfbbIXIn.d.cts +0 -4422
- package/dist/sdk.gen-BfbbIXIn.d.cts.map +0 -1
- package/dist/sdk.gen-BlL_JhaF.d.mts +0 -987
- package/dist/sdk.gen-BlL_JhaF.d.mts.map +0 -1
- package/dist/sdk.gen-Dnt5grWk.d.cts +0 -987
- package/dist/sdk.gen-Dnt5grWk.d.cts.map +0 -1
- package/dist/sdk.gen-cu6fHqHG.d.mts +0 -4422
- package/dist/sdk.gen-cu6fHqHG.d.mts.map +0 -1
package/dist/apiv2/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { type ClientOptions, type
|
|
1
|
+
import { $ as ListCredentialsV2Responses, $a as Schema329, $i as Schema280, $n as Schema183, $o as Schema6, $r as Schema231, $s as ServerOAuthMetadata, $t as Schema134, A as GetCredentialAuditLogV2Responses, Aa as Schema308, Ai as Schema26, An as Schema162, Ao as Schema39, Ar as Schema210, As as Schema88, At as Schema113, B as HostedTransportConfig, Ba as Schema317, Bi as Schema269, Bn as Schema171, Bo as Schema48, Br as Schema22, Bs as Schema97, Bt as Schema122, C as DeleteCredentialV2Data, Ca as Schema301, Ci as Schema253, Cn as Schema156, Co as Schema350, Cr as Schema204, Cs as Schema81, Ct as Schema107, D as DeleteServerV2Responses, Da as Schema305, Di as Schema257, Dn as Schema16, Do as Schema36, Dr as Schema208, Ds as Schema85, Dt as Schema110, E as DeleteServerV2Data, Ea as Schema304, Ei as Schema256, En as Schema159, Eo as Schema353, Er as Schema207, Es as Schema84, Et as Schema11, F as GetCredentialV2Response, Fa as Schema312, Fi as Schema264, Fn as Schema167, Fo as Schema43, Fr as Schema215, Fs as Schema92, Ft as Schema118, G as HostedTransportTailscaleOutput, Ga as Schema321, Gi as Schema273, Gn as Schema176, Go as Schema52, Gr as Schema224, Gs as ServerAuthorizationOutput, Gt as Schema127, H as HostedTransportStorage, Ha as Schema319, Hi as Schema270, Hn as Schema173, Ho as Schema5, Hr as Schema221, Hs as Schema99, Ht as Schema124, I as GetCredentialV2Responses, Ia as Schema313, Ii as Schema265, In as Schema168, Io as Schema44, Ir as Schema216, Is as Schema93, It as Schema119, J as ListCredentialAuditLogsV2Data, Ja as Schema324, Ji as Schema276, Jn as Schema179, Jo as Schema55, Jr as Schema227, Js as ServerCredentialsOauthClientCredentials, Jt as Schema13, K as HttpStreamingTransportConfig, Ka as Schema322, Ki as Schema274, Kn as Schema177, Ko as Schema53, Kr as Schema225, Ks as ServerCredentialsApiKeys, Kt as Schema128, L as GetServerV2Data, La as Schema314, Li as Schema266, Ln as Schema169, Lo as Schema45, Lr as Schema217, Ls as Schema94, Lt as Schema12, M as GetCredentialSecretV2Response, Ma as Schema31, Mi as Schema261, Mn as Schema164, Mo as Schema40, Mr as Schema212, Ms as Schema9, Mt as Schema115, N as GetCredentialSecretV2Responses, Na as Schema310, Ni as Schema262, Nn as Schema165, No as Schema41, Nr as Schema213, Ns as Schema90, Nt as Schema116, O as GetCredentialAuditLogV2Data, Oa as Schema306, Oi as Schema258, On as Schema160, Oo as Schema37, Or as Schema209, Os as Schema86, Ot as Schema111, P as GetCredentialV2Data, Pa as Schema311, Pi as Schema263, Pn as Schema166, Po as Schema42, Pr as Schema214, Ps as Schema91, Pt as Schema117, Q as ListCredentialsV2Response, Qa as Schema328, Qi as Schema28, Qn as Schema182, Qo as Schema59, Qr as Schema230, Qs as ServerOAuthClientConfigurationOutput, Qt as Schema133, R as GetServerV2Response, Ra as Schema315, Ri as Schema267, Rn as Schema17, Ro as Schema46, Rr as Schema218, Rs as Schema95, Rt as Schema120, S as CredentialRefreshResponse, Sa as Schema300, Si as Schema252, Sn as Schema155, So as Schema35, Sr as Schema203, Ss as Schema80, St as Schema106, T as DeleteCredentialV2Responses, Ta as Schema303, Ti as Schema255, Tn as Schema158, To as Schema352, Tr as Schema206, Ts as Schema83, Tt as Schema109, U as HostedTransportStorageOutput, Ua as Schema32, Ui as Schema271, Un as Schema174, Uo as Schema50, Ur as Schema222, Us as Server, Ut as Schema125, V as HostedTransportConfigOutput, Va as Schema318, Vi as Schema27, Vn as Schema172, Vo as Schema49, Vr as Schema220, Vs as Schema98, Vt as Schema123, W as HostedTransportTailscale, Wa as Schema320, Wi as Schema272, Wn as Schema175, Wo as Schema51, Wr as Schema223, Ws as ServerAuthorization, Wt as Schema126, X as ListCredentialAuditLogsV2Responses, Xa as Schema326, Xi as Schema278, Xn as Schema180, Xo as Schema57, Xr as Schema229, Xs as ServerOAuthClientConfiguration, Xt as Schema131, Y as ListCredentialAuditLogsV2Response, Ya as Schema325, Yi as Schema277, Yn as Schema18, Yo as Schema56, Yr as Schema228, Ys as ServerCredentialsOauthTokens, Yt as Schema130, Z as ListCredentialsV2Data, Za as Schema327, Zi as Schema279, Zn as Schema181, Zo as Schema58, Zr as Schema23, Zs as ServerOAuthClientConfigurationClientCredentials, Zt as Schema132, _ as CreateServerV2Data, _a as Schema297, _c as V2PatchServerRequest, _i as Schema248, _n as Schema150, _o as Schema345, _r as Schema2, _s as Schema76, _t as Schema101, a as getCredentialAuditLogV2, aa as Schema286, ac as StdioTransportConfigOutput, ai as Schema237, an as Schema14, ao as Schema334, ar as Schema189, as as Schema65, at as OpenApiTransportConfigOutput, b as CredentialAuditLog, ba as Schema3, bi as Schema250, bn as Schema153, bo as Schema348, br as Schema201, bs as Schema79, bt as Schema104, c as getServerV2, ca as Schema289, cc as StdioTransportTailscale, ci as Schema24, cn as Schema142, co as Schema337, cr as Schema191, cs as Schema68, ct as PatchServerV2Response, d as listServersV2, da as Schema291, dc as ToolRefreshCredentialPolicyOutput, di as Schema242, dn as Schema145, do as Schema34, dr as Schema194, ds as Schema70, dt as RefreshCredentialV2Response, ea as Schema281, ec as ServerOAuthMetadataOutput, ei as Schema232, en as Schema135, eo as Schema33, er as Schema184, es as Schema60, et as ListServersV2Data, f as patchServerV2, fa as Schema292, fc as UpdateServerV2Data, fi as Schema243, fn as Schema146, fo as Schema340, fr as Schema195, fs as Schema71, ft as RefreshCredentialV2Responses, g as ClientOptions, ga as Schema296, gc as V2ListServersResponse, gi as Schema247, gn as Schema15, go as Schema344, gr as Schema199, gs as Schema75, gt as Schema100, h as updateServerV2, ha as Schema295, hc as V2CreateServerRequest, hi as Schema246, hn as Schema149, ho as Schema343, hr as Schema198, hs as Schema74, ht as Schema10, i as deleteServerV2, ia as Schema285, ic as StdioTransportConfig, ii as Schema236, in as Schema139, io as Schema333, ir as Schema188, is as Schema64, it as OpenApiTransportConfig, j as GetCredentialSecretV2Data, ja as Schema309, ji as Schema260, jn as Schema163, jo as Schema4, jr as Schema211, js as Schema89, jt as Schema114, k as GetCredentialAuditLogV2Response, ka as Schema307, ki as Schema259, kn as Schema161, ko as Schema38, kr as Schema21, ks as Schema87, kt as Schema112, l as listCredentialAuditLogsV2, la as Schema29, lc as StdioTransportTailscaleOutput, li as Schema240, ln as Schema143, lo as Schema338, lr as Schema192, ls as Schema69, lt as PatchServerV2Responses, ma as Schema294, mc as UpdateServerV2Responses, mi as Schema245, mn as Schema148, mo as Schema342, mr as Schema197, ms as Schema73, mt as Schema1, n as createServerV2, na as Schema283, nc as SseTransportConfig, ni as Schema234, nn as Schema137, no as Schema331, nr as Schema186, ns as Schema62, nt as ListServersV2Responses, o as getCredentialSecretV2, oa as Schema287, oc as StdioTransportStorage, oi as Schema238, on as Schema140, oo as Schema335, or as Schema19, os as Schema66, ot as PaginatedCredentialAuditLog, p as refreshCredentialV2, pa as Schema293, pc as UpdateServerV2Response, pi as Schema244, pn as Schema147, po as Schema341, pr as Schema196, ps as Schema72, pt as Schema0, q as HttpStreamingTransportConfigOutput, qa as Schema323, qi as Schema275, qn as Schema178, qo as Schema54, qr as Schema226, qs as ServerCredentialsCredential, qt as Schema129, r as deleteCredentialV2, ra as Schema284, rc as SseTransportConfigOutput, ri as Schema235, rn as Schema138, ro as Schema332, rr as Schema187, rs as Schema63, rt as OAuthGrantType, s as getCredentialV2, sa as Schema288, sc as StdioTransportStorageOutput, si as Schema239, sn as Schema141, so as Schema336, sr as Schema190, ss as Schema67, st as PatchServerV2Data, t as Options, ta as Schema282, tc as ServerVisibility, ti as Schema233, tn as Schema136, to as Schema330, tr as Schema185, ts as Schema61, tt as ListServersV2Response, u as listCredentialsV2, ua as Schema290, uc as ToolRefreshCredentialPolicy, ui as Schema241, un as Schema144, uo as Schema339, ur as Schema193, us as Schema7, ut as RefreshCredentialV2Data, v as CreateServerV2Response, va as Schema298, vc as V2ServerDto, vi as Schema249, vn as Schema151, vo as Schema346, vr as Schema20, vs as Schema77, vt as Schema102, w as DeleteCredentialV2Response, wa as Schema302, wi as Schema254, wn as Schema157, wo as Schema351, wr as Schema205, ws as Schema82, wt as Schema108, x as CredentialDtoV2, xa as Schema30, xi as Schema251, xn as Schema154, xo as Schema349, xr as Schema202, xs as Schema8, xt as Schema105, y as CreateServerV2Responses, ya as Schema299, yc as V2UpdateServerRequest, yi as Schema25, yn as Schema152, yo as Schema347, yr as Schema200, ys as Schema78, yt as Schema103, z as GetServerV2Responses, za as Schema316, zi as Schema268, zn as Schema170, zo as Schema47, zr as Schema219, zs as Schema96, zt as Schema121 } from "../sdk.gen-Crii0E1f.mjs";
|
|
2
|
+
export { type ClientOptions, type CreateServerV2Data, type CreateServerV2Response, type CreateServerV2Responses, type CredentialAuditLog, type CredentialDtoV2, type CredentialRefreshResponse, type DeleteCredentialV2Data, type DeleteCredentialV2Response, type DeleteCredentialV2Responses, type DeleteServerV2Data, type DeleteServerV2Responses, type GetCredentialAuditLogV2Data, type GetCredentialAuditLogV2Response, type GetCredentialAuditLogV2Responses, type GetCredentialSecretV2Data, type GetCredentialSecretV2Response, type GetCredentialSecretV2Responses, type GetCredentialV2Data, type GetCredentialV2Response, type GetCredentialV2Responses, type GetServerV2Data, type GetServerV2Response, type GetServerV2Responses, type HostedTransportConfig, type HostedTransportConfigOutput, type HostedTransportStorage, type HostedTransportStorageOutput, type HostedTransportTailscale, type HostedTransportTailscaleOutput, type HttpStreamingTransportConfig, type HttpStreamingTransportConfigOutput, type ListCredentialAuditLogsV2Data, type ListCredentialAuditLogsV2Response, type ListCredentialAuditLogsV2Responses, type ListCredentialsV2Data, type ListCredentialsV2Response, type ListCredentialsV2Responses, type ListServersV2Data, type ListServersV2Response, type ListServersV2Responses, type OAuthGrantType, type OpenApiTransportConfig, type OpenApiTransportConfigOutput, type Options, type PaginatedCredentialAuditLog, type PatchServerV2Data, type PatchServerV2Response, type PatchServerV2Responses, type RefreshCredentialV2Data, type RefreshCredentialV2Response, type RefreshCredentialV2Responses, type Schema0, type Schema1, type Schema10, type Schema100, type Schema101, type Schema102, type Schema103, type Schema104, type Schema105, type Schema106, type Schema107, type Schema108, type Schema109, type Schema11, type Schema110, type Schema111, type Schema112, type Schema113, type Schema114, type Schema115, type Schema116, type Schema117, type Schema118, type Schema119, type Schema12, type Schema120, type Schema121, type Schema122, type Schema123, type Schema124, type Schema125, type Schema126, type Schema127, type Schema128, type Schema129, type Schema13, type Schema130, type Schema131, type Schema132, type Schema133, type Schema134, type Schema135, type Schema136, type Schema137, type Schema138, type Schema139, type Schema14, type Schema140, type Schema141, type Schema142, type Schema143, type Schema144, type Schema145, type Schema146, type Schema147, type Schema148, type Schema149, type Schema15, type Schema150, type Schema151, type Schema152, type Schema153, type Schema154, type Schema155, type Schema156, type Schema157, type Schema158, type Schema159, type Schema16, type Schema160, type Schema161, type Schema162, type Schema163, type Schema164, type Schema165, type Schema166, type Schema167, type Schema168, type Schema169, type Schema17, type Schema170, type Schema171, type Schema172, type Schema173, type Schema174, type Schema175, type Schema176, type Schema177, type Schema178, type Schema179, type Schema18, type Schema180, type Schema181, type Schema182, type Schema183, type Schema184, type Schema185, type Schema186, type Schema187, type Schema188, type Schema189, type Schema19, type Schema190, type Schema191, type Schema192, type Schema193, type Schema194, type Schema195, type Schema196, type Schema197, type Schema198, type Schema199, type Schema2, type Schema20, type Schema200, type Schema201, type Schema202, type Schema203, type Schema204, type Schema205, type Schema206, type Schema207, type Schema208, type Schema209, type Schema21, type Schema210, type Schema211, type Schema212, type Schema213, type Schema214, type Schema215, type Schema216, type Schema217, type Schema218, type Schema219, type Schema22, type Schema220, type Schema221, type Schema222, type Schema223, type Schema224, type Schema225, type Schema226, type Schema227, type Schema228, type Schema229, type Schema23, type Schema230, type Schema231, type Schema232, type Schema233, type Schema234, type Schema235, type Schema236, type Schema237, type Schema238, type Schema239, type Schema24, type Schema240, type Schema241, type Schema242, type Schema243, type Schema244, type Schema245, type Schema246, type Schema247, type Schema248, type Schema249, type Schema25, type Schema250, type Schema251, type Schema252, type Schema253, type Schema254, type Schema255, type Schema256, type Schema257, type Schema258, type Schema259, type Schema26, type Schema260, type Schema261, type Schema262, type Schema263, type Schema264, type Schema265, type Schema266, type Schema267, type Schema268, type Schema269, type Schema27, type Schema270, type Schema271, type Schema272, type Schema273, type Schema274, type Schema275, type Schema276, type Schema277, type Schema278, type Schema279, type Schema28, type Schema280, type Schema281, type Schema282, type Schema283, type Schema284, type Schema285, type Schema286, type Schema287, type Schema288, type Schema289, type Schema29, type Schema290, type Schema291, type Schema292, type Schema293, type Schema294, type Schema295, type Schema296, type Schema297, type Schema298, type Schema299, type Schema3, type Schema30, type Schema300, type Schema301, type Schema302, type Schema303, type Schema304, type Schema305, type Schema306, type Schema307, type Schema308, type Schema309, type Schema31, type Schema310, type Schema311, type Schema312, type Schema313, type Schema314, type Schema315, type Schema316, type Schema317, type Schema318, type Schema319, type Schema32, type Schema320, type Schema321, type Schema322, type Schema323, type Schema324, type Schema325, type Schema326, type Schema327, type Schema328, type Schema329, type Schema33, type Schema330, type Schema331, type Schema332, type Schema333, type Schema334, type Schema335, type Schema336, type Schema337, type Schema338, type Schema339, type Schema34, type Schema340, type Schema341, type Schema342, type Schema343, type Schema344, type Schema345, type Schema346, type Schema347, type Schema348, type Schema349, type Schema35, type Schema350, type Schema351, type Schema352, type Schema353, type Schema36, type Schema37, type Schema38, type Schema39, type Schema4, type Schema40, type Schema41, type Schema42, type Schema43, type Schema44, type Schema45, type Schema46, type Schema47, type Schema48, type Schema49, type Schema5, type Schema50, type Schema51, type Schema52, type Schema53, type Schema54, type Schema55, type Schema56, type Schema57, type Schema58, type Schema59, type Schema6, type Schema60, type Schema61, type Schema62, type Schema63, type Schema64, type Schema65, type Schema66, type Schema67, type Schema68, type Schema69, type Schema7, type Schema70, type Schema71, type Schema72, type Schema73, type Schema74, type Schema75, type Schema76, type Schema77, type Schema78, type Schema79, type Schema8, type Schema80, type Schema81, type Schema82, type Schema83, type Schema84, type Schema85, type Schema86, type Schema87, type Schema88, type Schema89, type Schema9, type Schema90, type Schema91, type Schema92, type Schema93, type Schema94, type Schema95, type Schema96, type Schema97, type Schema98, type Schema99, type Server, type ServerAuthorization, type ServerAuthorizationOutput, type ServerCredentialsApiKeys, type ServerCredentialsCredential, type ServerCredentialsOauthClientCredentials, type ServerCredentialsOauthTokens, type ServerOAuthClientConfiguration, type ServerOAuthClientConfigurationClientCredentials, type ServerOAuthClientConfigurationOutput, type ServerOAuthMetadata, type ServerOAuthMetadataOutput, type ServerVisibility, type SseTransportConfig, type SseTransportConfigOutput, type StdioTransportConfig, type StdioTransportConfigOutput, type StdioTransportStorage, type StdioTransportStorageOutput, type StdioTransportTailscale, type StdioTransportTailscaleOutput, type ToolRefreshCredentialPolicy, type ToolRefreshCredentialPolicyOutput, type UpdateServerV2Data, type UpdateServerV2Response, type UpdateServerV2Responses, type V2CreateServerRequest, type V2ListServersResponse, type V2PatchServerRequest, type V2ServerDto, type V2UpdateServerRequest, createServerV2, deleteCredentialV2, deleteServerV2, getCredentialAuditLogV2, getCredentialSecretV2, getCredentialV2, getServerV2, listCredentialAuditLogsV2, listCredentialsV2, listServersV2, patchServerV2, refreshCredentialV2, updateServerV2 };
|
package/dist/apiv2/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as getCredentialSecretV2, c as listCredentialAuditLogsV2, d as patchServerV2, f as refreshCredentialV2, i as getCredentialAuditLogV2, l as listCredentialsV2, m as updateServerV2, n as deleteCredentialV2, o as getCredentialV2, r as deleteServerV2, s as getServerV2, t as createServerV2, u as listServersV2 } from "../sdk.gen-CAAxLIvj.mjs";
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { createServerV2, deleteCredentialV2, deleteServerV2, getCredentialAuditLogV2, getCredentialSecretV2, getCredentialV2, getServerV2, listCredentialAuditLogsV2, listCredentialsV2, listServersV2, patchServerV2, refreshCredentialV2, updateServerV2 };
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_chunk = require('./chunk-uaV2rQ02.cjs');
|
|
3
|
-
const require_sdk_gen = require('./sdk.gen-
|
|
3
|
+
const require_sdk_gen = require('./sdk.gen-CPj479Qv.cjs');
|
|
4
4
|
const require_config = require('./config.cjs');
|
|
5
|
-
const require_sdk_gen$1 = require('./sdk.gen-
|
|
5
|
+
const require_sdk_gen$1 = require('./sdk.gen-Cdv7MDsj.cjs');
|
|
6
6
|
let debug = require("debug");
|
|
7
7
|
debug = require_chunk.__toESM(debug);
|
|
8
8
|
let openid_client = require("openid-client");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Mn as sdk_gen_d_exports } from "./sdk.gen-DTUv_UKF.cjs";
|
|
2
|
+
import { m as sdk_gen_d_exports$1 } from "./sdk.gen-Do_HFvZj.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/v2.d.ts
|
|
5
5
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Mn as sdk_gen_d_exports } from "./sdk.gen-oW0osWyp.mjs";
|
|
2
|
+
import { m as sdk_gen_d_exports$1 } from "./sdk.gen-Crii0E1f.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/v2.d.ts
|
|
5
5
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jn as sdk_gen_exports, ur as client } from "./sdk.gen-DnHL4s0x.mjs";
|
|
2
2
|
import { extractTenantFromUrl, getDefaultOrganization, getOrganization, setOrganizationConfig } from "./config.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { h as client$1, p as sdk_gen_exports$1 } from "./sdk.gen-CAAxLIvj.mjs";
|
|
4
4
|
import createDebug from "debug";
|
|
5
5
|
import * as openidClient from "openid-client";
|
|
6
6
|
|
|
@@ -630,21 +630,24 @@ const client = createClient(createConfig({ throwOnError: true }));
|
|
|
630
630
|
//#endregion
|
|
631
631
|
//#region src/apiv2/sdk.gen.ts
|
|
632
632
|
var sdk_gen_exports = /* @__PURE__ */ __exportAll({
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
633
|
+
createServerV2: () => createServerV2,
|
|
634
|
+
deleteCredentialV2: () => deleteCredentialV2,
|
|
635
|
+
deleteServerV2: () => deleteServerV2,
|
|
636
|
+
getCredentialAuditLogV2: () => getCredentialAuditLogV2,
|
|
637
|
+
getCredentialSecretV2: () => getCredentialSecretV2,
|
|
638
|
+
getCredentialV2: () => getCredentialV2,
|
|
639
|
+
getServerV2: () => getServerV2,
|
|
640
|
+
listCredentialAuditLogsV2: () => listCredentialAuditLogsV2,
|
|
641
|
+
listCredentialsV2: () => listCredentialsV2,
|
|
642
|
+
listServersV2: () => listServersV2,
|
|
643
|
+
patchServerV2: () => patchServerV2,
|
|
644
|
+
refreshCredentialV2: () => refreshCredentialV2,
|
|
645
|
+
updateServerV2: () => updateServerV2
|
|
643
646
|
});
|
|
644
647
|
/**
|
|
645
|
-
* List all MCP servers the caller has access to
|
|
648
|
+
* List all MCP servers the caller has access to
|
|
646
649
|
*/
|
|
647
|
-
const
|
|
650
|
+
const listServersV2 = (options) => (options?.client ?? client).get({
|
|
648
651
|
security: [{
|
|
649
652
|
scheme: "bearer",
|
|
650
653
|
type: "http"
|
|
@@ -656,9 +659,9 @@ const getServers = (options) => (options?.client ?? client).get({
|
|
|
656
659
|
...options
|
|
657
660
|
});
|
|
658
661
|
/**
|
|
659
|
-
* Create a new MCP server. Requires `slug` and `transportConfig`. All other fields are optional with sensible defaults. Read-only fields are silently ignored
|
|
662
|
+
* Create a new MCP server. Requires `slug` and `transportConfig`. All other fields are optional with sensible defaults. Read-only fields are silently ignored
|
|
660
663
|
*/
|
|
661
|
-
const
|
|
664
|
+
const createServerV2 = (options) => (options?.client ?? client).post({
|
|
662
665
|
security: [{
|
|
663
666
|
scheme: "bearer",
|
|
664
667
|
type: "http"
|
|
@@ -674,9 +677,9 @@ const postServers = (options) => (options?.client ?? client).post({
|
|
|
674
677
|
}
|
|
675
678
|
});
|
|
676
679
|
/**
|
|
677
|
-
* Delete an MCP server
|
|
680
|
+
* Delete an MCP server
|
|
678
681
|
*/
|
|
679
|
-
const
|
|
682
|
+
const deleteServerV2 = (options) => (options.client ?? client).delete({
|
|
680
683
|
security: [{
|
|
681
684
|
scheme: "bearer",
|
|
682
685
|
type: "http"
|
|
@@ -688,9 +691,9 @@ const deleteServersBySlug = (options) => (options.client ?? client).delete({
|
|
|
688
691
|
...options
|
|
689
692
|
});
|
|
690
693
|
/**
|
|
691
|
-
* Get a single MCP server. The response body can be PUT back to update the server
|
|
694
|
+
* Get a single MCP server. The response body can be PUT back to update the server
|
|
692
695
|
*/
|
|
693
|
-
const
|
|
696
|
+
const getServerV2 = (options) => (options.client ?? client).get({
|
|
694
697
|
security: [{
|
|
695
698
|
scheme: "bearer",
|
|
696
699
|
type: "http"
|
|
@@ -702,9 +705,9 @@ const getServersBySlug = (options) => (options.client ?? client).get({
|
|
|
702
705
|
...options
|
|
703
706
|
});
|
|
704
707
|
/**
|
|
705
|
-
* Partially update an MCP server using JSON Merge Patch (RFC 7396). Send only the fields to change. Explicit `null` clears nullable fields (oauthMetadata, oauthClientConfiguration). Absent fields are untouched. Read-only fields are silently ignored
|
|
708
|
+
* Partially update an MCP server using JSON Merge Patch (RFC 7396). Send only the fields to change. Explicit `null` clears nullable fields (oauthMetadata, oauthClientConfiguration). Absent fields are untouched. Read-only fields are silently ignored
|
|
706
709
|
*/
|
|
707
|
-
const
|
|
710
|
+
const patchServerV2 = (options) => (options.client ?? client).patch({
|
|
708
711
|
security: [{
|
|
709
712
|
scheme: "bearer",
|
|
710
713
|
type: "http"
|
|
@@ -720,9 +723,9 @@ const patchServersBySlug = (options) => (options.client ?? client).patch({
|
|
|
720
723
|
}
|
|
721
724
|
});
|
|
722
725
|
/**
|
|
723
|
-
* Update an MCP server. Accepts the full server object from GET; read-only fields (id, tenantId, createdAt, updatedAt, lastToolRefreshAt) are silently ignored. Supports updating isEnabled, authorization, and config in a single call
|
|
726
|
+
* Update an MCP server. Accepts the full server object from GET; read-only fields (id, tenantId, createdAt, updatedAt, lastToolRefreshAt) are silently ignored. Supports updating isEnabled, authorization, and config in a single call
|
|
724
727
|
*/
|
|
725
|
-
const
|
|
728
|
+
const updateServerV2 = (options) => (options.client ?? client).put({
|
|
726
729
|
security: [{
|
|
727
730
|
scheme: "bearer",
|
|
728
731
|
type: "http"
|
|
@@ -737,7 +740,10 @@ const putServersBySlug = (options) => (options.client ?? client).put({
|
|
|
737
740
|
...options.headers
|
|
738
741
|
}
|
|
739
742
|
});
|
|
740
|
-
|
|
743
|
+
/**
|
|
744
|
+
* List the credentials the caller can read, optionally filtered by server. Secret values are not included
|
|
745
|
+
*/
|
|
746
|
+
const listCredentialsV2 = (options) => (options?.client ?? client).get({
|
|
741
747
|
security: [{
|
|
742
748
|
scheme: "bearer",
|
|
743
749
|
type: "http"
|
|
@@ -748,7 +754,10 @@ const getCredentials = (options) => (options?.client ?? client).get({
|
|
|
748
754
|
url: "/credentials",
|
|
749
755
|
...options
|
|
750
756
|
});
|
|
751
|
-
|
|
757
|
+
/**
|
|
758
|
+
* Delete a credential. Requires the delete permission on the credential
|
|
759
|
+
*/
|
|
760
|
+
const deleteCredentialV2 = (options) => (options.client ?? client).delete({
|
|
752
761
|
security: [{
|
|
753
762
|
scheme: "bearer",
|
|
754
763
|
type: "http"
|
|
@@ -759,7 +768,10 @@ const deleteCredentialsById = (options) => (options.client ?? client).delete({
|
|
|
759
768
|
url: "/credentials/{id}",
|
|
760
769
|
...options
|
|
761
770
|
});
|
|
762
|
-
|
|
771
|
+
/**
|
|
772
|
+
* Get a credential by ID. Secret values are not included
|
|
773
|
+
*/
|
|
774
|
+
const getCredentialV2 = (options) => (options.client ?? client).get({
|
|
763
775
|
security: [{
|
|
764
776
|
scheme: "bearer",
|
|
765
777
|
type: "http"
|
|
@@ -770,7 +782,10 @@ const getCredentialsById = (options) => (options.client ?? client).get({
|
|
|
770
782
|
url: "/credentials/{id}",
|
|
771
783
|
...options
|
|
772
784
|
});
|
|
773
|
-
|
|
785
|
+
/**
|
|
786
|
+
* Reveal the secret values of a credential. Requires the read-secret permission on the credential
|
|
787
|
+
*/
|
|
788
|
+
const getCredentialSecretV2 = (options) => (options.client ?? client).get({
|
|
774
789
|
security: [{
|
|
775
790
|
scheme: "bearer",
|
|
776
791
|
type: "http"
|
|
@@ -781,7 +796,49 @@ const getCredentialsByIdSecret = (options) => (options.client ?? client).get({
|
|
|
781
796
|
url: "/credentials/{id}/secret",
|
|
782
797
|
...options
|
|
783
798
|
});
|
|
799
|
+
/**
|
|
800
|
+
* Refresh the OAuth tokens of a credential and store the new token set. Only OAuth credentials can be refreshed, and the read-secret permission is required
|
|
801
|
+
*/
|
|
802
|
+
const refreshCredentialV2 = (options) => (options.client ?? client).post({
|
|
803
|
+
security: [{
|
|
804
|
+
scheme: "bearer",
|
|
805
|
+
type: "http"
|
|
806
|
+
}, {
|
|
807
|
+
scheme: "bearer",
|
|
808
|
+
type: "http"
|
|
809
|
+
}],
|
|
810
|
+
url: "/credentials/{id}/refresh",
|
|
811
|
+
...options
|
|
812
|
+
});
|
|
813
|
+
/**
|
|
814
|
+
* List the audit log entries of a credential, paginated. Requires the read-secret permission on the credential
|
|
815
|
+
*/
|
|
816
|
+
const listCredentialAuditLogsV2 = (options) => (options.client ?? client).get({
|
|
817
|
+
security: [{
|
|
818
|
+
scheme: "bearer",
|
|
819
|
+
type: "http"
|
|
820
|
+
}, {
|
|
821
|
+
scheme: "bearer",
|
|
822
|
+
type: "http"
|
|
823
|
+
}],
|
|
824
|
+
url: "/credentials/{credentialId}/audit-logs",
|
|
825
|
+
...options
|
|
826
|
+
});
|
|
827
|
+
/**
|
|
828
|
+
* Get a single audit log entry of a credential. Requires the read-secret permission on the credential
|
|
829
|
+
*/
|
|
830
|
+
const getCredentialAuditLogV2 = (options) => (options.client ?? client).get({
|
|
831
|
+
security: [{
|
|
832
|
+
scheme: "bearer",
|
|
833
|
+
type: "http"
|
|
834
|
+
}, {
|
|
835
|
+
scheme: "bearer",
|
|
836
|
+
type: "http"
|
|
837
|
+
}],
|
|
838
|
+
url: "/credentials/{credentialId}/audit-logs/{auditLogId}",
|
|
839
|
+
...options
|
|
840
|
+
});
|
|
784
841
|
|
|
785
842
|
//#endregion
|
|
786
|
-
export {
|
|
787
|
-
//# sourceMappingURL=sdk.gen-
|
|
843
|
+
export { getCredentialSecretV2 as a, listCredentialAuditLogsV2 as c, patchServerV2 as d, refreshCredentialV2 as f, client as h, getCredentialAuditLogV2 as i, listCredentialsV2 as l, updateServerV2 as m, deleteCredentialV2 as n, getCredentialV2 as o, sdk_gen_exports as p, deleteServerV2 as r, getServerV2 as s, createServerV2 as t, listServersV2 as u };
|
|
844
|
+
//# sourceMappingURL=sdk.gen-CAAxLIvj.mjs.map
|