gatana-sdk 2.3.0 → 2.3.1
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 +3 -3
- 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 +5 -1
- 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-D_xWEdGG.mjs → sdk.gen-1fMdFWWC.mjs} +58 -2
- package/dist/sdk.gen-1fMdFWWC.mjs.map +1 -0
- package/dist/{sdk.gen-BngWug-n.d.cts → sdk.gen-6_NSk1dc.d.cts} +413 -154
- package/dist/sdk.gen-6_NSk1dc.d.cts.map +1 -0
- package/dist/{sdk.gen-C7-PJ3on.cjs → sdk.gen-B7HIkL3d.cjs} +19 -19
- package/dist/{sdk.gen-CM3N77Sx.d.mts → sdk.gen-BtALwwrp.d.cts} +1697 -1149
- package/dist/sdk.gen-BtALwwrp.d.cts.map +1 -0
- package/dist/{sdk.gen-Bpj8JDDw.d.cts → sdk.gen-C1HW05Pw.d.mts} +1697 -1149
- package/dist/sdk.gen-C1HW05Pw.d.mts.map +1 -0
- package/dist/{sdk.gen-sn4qj7bb.mjs → sdk.gen-COMJoQbu.mjs} +9 -9
- package/dist/sdk.gen-COMJoQbu.mjs.map +1 -0
- package/dist/{sdk.gen-MN-yrRBW.cjs → sdk.gen-DbvfIuwl.cjs} +80 -0
- package/dist/{sdk.gen-CMO-Hcvo.d.mts → sdk.gen-JaJdVFlp.d.mts} +413 -154
- package/dist/sdk.gen-JaJdVFlp.d.mts.map +1 -0
- package/package.json +1 -1
- package/dist/sdk.gen-BngWug-n.d.cts.map +0 -1
- package/dist/sdk.gen-Bpj8JDDw.d.cts.map +0 -1
- package/dist/sdk.gen-CM3N77Sx.d.mts.map +0 -1
- package/dist/sdk.gen-CMO-Hcvo.d.mts.map +0 -1
- package/dist/sdk.gen-D_xWEdGG.mjs.map +0 -1
- package/dist/sdk.gen-sn4qj7bb.mjs.map +0 -1
|
@@ -1,190 +1,387 @@
|
|
|
1
1
|
//#region src/apiv2/types.gen.d.ts
|
|
2
2
|
type V2CreateServerRequest = {
|
|
3
|
-
slug:
|
|
4
|
-
transportConfig:
|
|
5
|
-
description?:
|
|
3
|
+
slug: Schema0;
|
|
4
|
+
transportConfig: Schema1;
|
|
5
|
+
description?: Schema18;
|
|
6
6
|
authorization?: ServerAuthorization;
|
|
7
|
-
oauthMetadata?:
|
|
8
|
-
oauthClientConfiguration?:
|
|
9
|
-
isEnabled?:
|
|
10
|
-
timeoutProtocol?:
|
|
11
|
-
timeoutTotal?:
|
|
12
|
-
resetTimeoutOnProgressNotification?:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
7
|
+
oauthMetadata?: Schema23;
|
|
8
|
+
oauthClientConfiguration?: Schema27;
|
|
9
|
+
isEnabled?: Schema33;
|
|
10
|
+
timeoutProtocol?: Schema34;
|
|
11
|
+
timeoutTotal?: Schema35;
|
|
12
|
+
resetTimeoutOnProgressNotification?: Schema36;
|
|
13
|
+
isOutputCompressionEnabled?: Schema37;
|
|
14
|
+
isOutputCompressionTransformEnabled?: Schema38;
|
|
15
|
+
outputCompressionThresholdBytes?: Schema39;
|
|
16
|
+
firewallRules?: Schema40;
|
|
17
|
+
visibility?: ServerVisibility;
|
|
18
|
+
id?: Schema43;
|
|
19
|
+
tenantId?: Schema44;
|
|
20
|
+
name?: Schema45;
|
|
21
|
+
logoUrl?: Schema46;
|
|
22
|
+
lastToolRefreshAt?: Schema47;
|
|
23
|
+
createdAt?: Schema48;
|
|
24
|
+
updatedAt?: Schema49;
|
|
20
25
|
};
|
|
21
26
|
type HttpStreamingTransportConfig = {
|
|
22
|
-
type:
|
|
23
|
-
url:
|
|
24
|
-
headers?:
|
|
27
|
+
type: Schema2;
|
|
28
|
+
url: Schema3;
|
|
29
|
+
headers?: Schema4;
|
|
25
30
|
};
|
|
26
31
|
type StdioTransportConfig = {
|
|
27
|
-
type:
|
|
28
|
-
command:
|
|
29
|
-
dockerImage?:
|
|
30
|
-
env?:
|
|
31
|
-
transport:
|
|
32
|
-
httpPort?:
|
|
33
|
-
urlPath?:
|
|
32
|
+
type: Schema5;
|
|
33
|
+
command: Schema6;
|
|
34
|
+
dockerImage?: Schema7;
|
|
35
|
+
env?: Schema8;
|
|
36
|
+
transport: Schema9;
|
|
37
|
+
httpPort?: Schema10;
|
|
38
|
+
urlPath?: Schema11;
|
|
34
39
|
};
|
|
35
40
|
type SseTransportConfig = {
|
|
36
|
-
type:
|
|
37
|
-
url:
|
|
38
|
-
headers?:
|
|
41
|
+
type: Schema12;
|
|
42
|
+
url: Schema13;
|
|
43
|
+
headers?: Schema14;
|
|
39
44
|
};
|
|
40
45
|
type HostedTransportConfig = {
|
|
41
|
-
type:
|
|
42
|
-
runtime:
|
|
43
|
-
env?:
|
|
46
|
+
type: Schema15;
|
|
47
|
+
runtime: Schema16;
|
|
48
|
+
env?: Schema17;
|
|
44
49
|
};
|
|
45
50
|
type ServerAuthorization = {
|
|
46
|
-
method:
|
|
47
|
-
credentialsScope:
|
|
48
|
-
apikeys?:
|
|
51
|
+
method: Schema20;
|
|
52
|
+
credentialsScope: Schema21;
|
|
53
|
+
apikeys?: Schema22;
|
|
49
54
|
};
|
|
50
55
|
type ServerOAuthMetadata = {
|
|
51
|
-
requiresAuthorization:
|
|
52
|
-
resource?:
|
|
53
|
-
|
|
54
|
-
availableScopes?: Array<string>;
|
|
55
|
-
metadataUrl?: string;
|
|
56
|
-
};
|
|
57
|
-
as?: {
|
|
58
|
-
issuer?: string;
|
|
59
|
-
authorizeEndpoint?: string;
|
|
60
|
-
deviceAuthorizationEndpoint?: string;
|
|
61
|
-
tokenEndpoint?: string;
|
|
62
|
-
extraAuthorizationParameters?: string;
|
|
63
|
-
registrationEndpoint?: string;
|
|
64
|
-
supportsPKCE?: boolean;
|
|
65
|
-
supportedClientAuthMethods?: Array<string>;
|
|
66
|
-
supportsDynamicClientRegistration?: boolean;
|
|
67
|
-
noDynamicClientRegistrationReason?: string | null;
|
|
68
|
-
serviceDocumentation?: string;
|
|
69
|
-
metadataUrl?: string;
|
|
70
|
-
availableScopes?: Array<string>;
|
|
71
|
-
};
|
|
56
|
+
requiresAuthorization: Schema24;
|
|
57
|
+
resource?: Schema25;
|
|
58
|
+
as?: Schema26;
|
|
72
59
|
};
|
|
73
60
|
type ServerOAuthClientConfiguration = {
|
|
74
|
-
clientId?:
|
|
75
|
-
clientSecret?:
|
|
76
|
-
grantType:
|
|
77
|
-
clientAuthMethod:
|
|
78
|
-
scopes?:
|
|
61
|
+
clientId?: Schema28;
|
|
62
|
+
clientSecret?: Schema29;
|
|
63
|
+
grantType: Schema30;
|
|
64
|
+
clientAuthMethod: Schema31;
|
|
65
|
+
scopes?: Schema32;
|
|
79
66
|
};
|
|
67
|
+
type ServerVisibility = 'private' | 'organization';
|
|
80
68
|
type V2UpdateServerRequest = {
|
|
81
|
-
slug?:
|
|
82
|
-
description?:
|
|
69
|
+
slug?: Schema51;
|
|
70
|
+
description?: Schema52;
|
|
83
71
|
authorization?: ServerAuthorization;
|
|
84
|
-
transportConfig?:
|
|
85
|
-
oauthMetadata?:
|
|
86
|
-
oauthClientConfiguration?:
|
|
87
|
-
isEnabled?:
|
|
88
|
-
timeoutProtocol?:
|
|
89
|
-
timeoutTotal?:
|
|
90
|
-
resetTimeoutOnProgressNotification?:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
72
|
+
transportConfig?: Schema54;
|
|
73
|
+
oauthMetadata?: Schema55;
|
|
74
|
+
oauthClientConfiguration?: Schema56;
|
|
75
|
+
isEnabled?: Schema57;
|
|
76
|
+
timeoutProtocol?: Schema58;
|
|
77
|
+
timeoutTotal?: Schema59;
|
|
78
|
+
resetTimeoutOnProgressNotification?: Schema60;
|
|
79
|
+
isOutputCompressionEnabled?: Schema61;
|
|
80
|
+
isOutputCompressionTransformEnabled?: Schema62;
|
|
81
|
+
outputCompressionThresholdBytes?: Schema63;
|
|
82
|
+
firewallRules?: Schema64;
|
|
83
|
+
visibility?: ServerVisibility;
|
|
84
|
+
id?: Schema66;
|
|
85
|
+
tenantId?: Schema67;
|
|
86
|
+
name?: Schema68;
|
|
87
|
+
logoUrl?: Schema69;
|
|
88
|
+
lastToolRefreshAt?: Schema70;
|
|
89
|
+
createdAt?: Schema71;
|
|
90
|
+
updatedAt?: Schema72;
|
|
91
|
+
};
|
|
92
|
+
type V2PatchServerRequest = { [key in Schema73]?: Schema74 };
|
|
93
|
+
type Schema0 = string;
|
|
94
|
+
type Schema1 = HttpStreamingTransportConfig | StdioTransportConfig | SseTransportConfig | HostedTransportConfig;
|
|
95
|
+
type Schema2 = 'httpstreaming';
|
|
96
|
+
type Schema3 = string;
|
|
97
|
+
type Schema4 = Array<[string, string]>;
|
|
98
|
+
type Schema5 = 'stdio';
|
|
99
|
+
type Schema6 = string;
|
|
100
|
+
type Schema7 = string;
|
|
101
|
+
type Schema8 = Array<[string, string]>;
|
|
102
|
+
type Schema9 = 'sse' | 'httpstreaming' | 'stdio';
|
|
103
|
+
type Schema10 = number | null;
|
|
104
|
+
type Schema11 = string | null;
|
|
105
|
+
type Schema12 = 'sse';
|
|
106
|
+
type Schema13 = string;
|
|
107
|
+
type Schema14 = Array<[string, string]>;
|
|
108
|
+
type Schema15 = 'hosted';
|
|
109
|
+
type Schema16 = 'node24';
|
|
110
|
+
type Schema17 = Array<[string, string]>;
|
|
111
|
+
type Schema18 = string;
|
|
112
|
+
type Schema19 = ServerAuthorization;
|
|
113
|
+
type Schema20 = 'none' | 'oauth' | 'apikey';
|
|
114
|
+
type Schema21 = 'server' | 'user';
|
|
115
|
+
type Schema22 = Array<string>;
|
|
116
|
+
type Schema23 = ServerOAuthMetadata | null;
|
|
117
|
+
type Schema24 = boolean;
|
|
118
|
+
type Schema25 = {
|
|
119
|
+
id?: string;
|
|
120
|
+
availableScopes?: Array<string>;
|
|
121
|
+
metadataUrl?: string;
|
|
122
|
+
};
|
|
123
|
+
type Schema26 = {
|
|
124
|
+
issuer?: string;
|
|
125
|
+
authorizeEndpoint?: string;
|
|
126
|
+
deviceAuthorizationEndpoint?: string;
|
|
127
|
+
tokenEndpoint?: string;
|
|
128
|
+
extraAuthorizationParameters?: string;
|
|
129
|
+
registrationEndpoint?: string;
|
|
130
|
+
supportsPKCE?: boolean;
|
|
131
|
+
supportedClientAuthMethods?: Array<string>;
|
|
132
|
+
supportsDynamicClientRegistration?: boolean;
|
|
133
|
+
noDynamicClientRegistrationReason?: string | null;
|
|
134
|
+
serviceDocumentation?: string;
|
|
135
|
+
metadataUrl?: string;
|
|
136
|
+
availableScopes?: Array<string>;
|
|
137
|
+
};
|
|
138
|
+
type Schema27 = ServerOAuthClientConfiguration | null;
|
|
139
|
+
type Schema28 = string;
|
|
140
|
+
type Schema29 = string;
|
|
141
|
+
type Schema30 = 'authorization_code' | 'device_code';
|
|
142
|
+
type Schema31 = 'client_secret_basic' | 'client_secret_post' | 'none' | string;
|
|
143
|
+
type Schema32 = string;
|
|
144
|
+
type Schema33 = boolean;
|
|
145
|
+
type Schema34 = number;
|
|
146
|
+
type Schema35 = number;
|
|
147
|
+
type Schema36 = boolean;
|
|
148
|
+
type Schema37 = boolean;
|
|
149
|
+
type Schema38 = boolean;
|
|
150
|
+
type Schema39 = number;
|
|
151
|
+
type Schema40 = Array<Schema41>;
|
|
152
|
+
type Schema41 = {
|
|
153
|
+
/**
|
|
154
|
+
* CEL representing the condition
|
|
155
|
+
*/
|
|
156
|
+
condition: string;
|
|
157
|
+
action: 'deny' | 'modify' | 'log';
|
|
158
|
+
};
|
|
159
|
+
type Schema42 = ServerVisibility;
|
|
160
|
+
type Schema43 = number;
|
|
161
|
+
type Schema44 = string;
|
|
162
|
+
type Schema45 = string;
|
|
163
|
+
type Schema46 = string | null;
|
|
164
|
+
type Schema47 = string | null;
|
|
165
|
+
type Schema48 = string;
|
|
166
|
+
type Schema49 = string;
|
|
167
|
+
type Schema50 = string;
|
|
168
|
+
type Schema51 = string;
|
|
169
|
+
type Schema52 = string;
|
|
170
|
+
type Schema53 = ServerAuthorization;
|
|
171
|
+
type Schema54 = HttpStreamingTransportConfig | StdioTransportConfig | SseTransportConfig | {
|
|
103
172
|
type: 'self';
|
|
104
173
|
id: string;
|
|
105
174
|
} | HostedTransportConfig;
|
|
106
|
-
type
|
|
175
|
+
type Schema55 = ServerOAuthMetadata | null;
|
|
176
|
+
type Schema56 = ServerOAuthClientConfiguration | null;
|
|
177
|
+
type Schema57 = boolean;
|
|
178
|
+
type Schema58 = number;
|
|
179
|
+
type Schema59 = number;
|
|
180
|
+
type Schema60 = boolean;
|
|
181
|
+
type Schema61 = boolean;
|
|
182
|
+
type Schema62 = boolean;
|
|
183
|
+
type Schema63 = number;
|
|
184
|
+
type Schema64 = Array<Schema41>;
|
|
185
|
+
type Schema65 = ServerVisibility;
|
|
186
|
+
type Schema66 = number;
|
|
187
|
+
type Schema67 = string;
|
|
188
|
+
type Schema68 = string;
|
|
189
|
+
type Schema69 = string | null;
|
|
190
|
+
type Schema70 = string | null;
|
|
191
|
+
type Schema71 = string;
|
|
192
|
+
type Schema72 = string;
|
|
193
|
+
type Schema73 = string;
|
|
194
|
+
type Schema74 = unknown;
|
|
107
195
|
type V2ListServersResponse = {
|
|
108
|
-
servers:
|
|
196
|
+
servers: Schema75;
|
|
109
197
|
};
|
|
110
198
|
type V2ServerDto = {
|
|
111
|
-
id:
|
|
112
|
-
slug:
|
|
113
|
-
tenantId:
|
|
114
|
-
description:
|
|
199
|
+
id: Schema76;
|
|
200
|
+
slug: Schema77;
|
|
201
|
+
tenantId: Schema78;
|
|
202
|
+
description: Schema79;
|
|
115
203
|
authorization: ServerAuthorizationOutput;
|
|
116
|
-
transportConfig:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
204
|
+
transportConfig: Schema83;
|
|
205
|
+
oauthClientConfiguration: Schema100;
|
|
206
|
+
oauthMetadata: Schema106;
|
|
207
|
+
visibility: ServerVisibility;
|
|
208
|
+
isEnabled: Schema110;
|
|
209
|
+
lastToolRefreshAt: Schema111;
|
|
210
|
+
timeoutProtocol: Schema112;
|
|
211
|
+
timeoutTotal: Schema113;
|
|
212
|
+
resetTimeoutOnProgressNotification: Schema114;
|
|
213
|
+
isOutputCompressionEnabled: Schema115;
|
|
214
|
+
isOutputCompressionTransformEnabled: Schema116;
|
|
215
|
+
outputCompressionThresholdBytes: Schema117;
|
|
216
|
+
firewallRules: Schema118;
|
|
217
|
+
createdAt: Schema119;
|
|
218
|
+
updatedAt: Schema120;
|
|
219
|
+
};
|
|
220
|
+
type CredentialDtoV2 = {
|
|
221
|
+
id: Schema122;
|
|
222
|
+
tenantId: Schema123;
|
|
223
|
+
scope: Schema124;
|
|
224
|
+
userId: Schema125;
|
|
225
|
+
profileId: Schema126;
|
|
226
|
+
lastUsedAt: Schema127;
|
|
227
|
+
authorizedAt: Schema128;
|
|
228
|
+
type: Schema129;
|
|
229
|
+
createdAt: Schema130;
|
|
230
|
+
updatedAt: Schema131;
|
|
231
|
+
serverSlug: Schema132;
|
|
232
|
+
userSub: Schema133;
|
|
233
|
+
userEmail: Schema134;
|
|
234
|
+
userName: Schema135;
|
|
235
|
+
profileName: Schema136;
|
|
236
|
+
};
|
|
237
|
+
type ServerCredentialsOuth = {
|
|
238
|
+
type: Schema137;
|
|
239
|
+
tokenSet: Schema138;
|
|
240
|
+
};
|
|
241
|
+
type ServerCredentialsApiKeys = {
|
|
242
|
+
type: Schema139;
|
|
243
|
+
apikeys: Schema140;
|
|
244
|
+
};
|
|
245
|
+
type Schema75 = Array<V2ServerDto>;
|
|
246
|
+
type Schema76 = number;
|
|
247
|
+
type Schema77 = string;
|
|
248
|
+
type Schema78 = string;
|
|
249
|
+
type Schema79 = string;
|
|
250
|
+
type Schema80 = 'none' | 'oauth' | 'apikey';
|
|
251
|
+
type Schema81 = 'server' | 'user';
|
|
252
|
+
type Schema82 = Array<string>;
|
|
253
|
+
type Schema83 = HttpStreamingTransportConfigOutput | StdioTransportConfigOutput | SseTransportConfigOutput | {
|
|
254
|
+
type: 'self';
|
|
255
|
+
id: string;
|
|
256
|
+
} | HostedTransportConfigOutput;
|
|
257
|
+
type Schema84 = 'httpstreaming';
|
|
258
|
+
type Schema85 = string;
|
|
259
|
+
type Schema86 = Array<[string, string]>;
|
|
260
|
+
type Schema87 = 'stdio';
|
|
261
|
+
type Schema88 = string;
|
|
262
|
+
type Schema89 = string;
|
|
263
|
+
type Schema90 = Array<[string, string]>;
|
|
264
|
+
type Schema91 = 'sse' | 'httpstreaming' | 'stdio';
|
|
265
|
+
type Schema92 = number | null;
|
|
266
|
+
type Schema93 = string | null;
|
|
267
|
+
type Schema94 = 'sse';
|
|
268
|
+
type Schema95 = string;
|
|
269
|
+
type Schema96 = Array<[string, string]>;
|
|
270
|
+
type Schema97 = 'hosted';
|
|
271
|
+
type Schema98 = 'node24';
|
|
272
|
+
type Schema99 = Array<[string, string]>;
|
|
273
|
+
type Schema100 = null | ServerOAuthClientConfigurationOutput;
|
|
274
|
+
type Schema101 = string;
|
|
275
|
+
type Schema102 = string;
|
|
276
|
+
type Schema103 = 'authorization_code' | 'device_code';
|
|
277
|
+
type Schema104 = 'client_secret_basic' | 'client_secret_post' | 'none' | string;
|
|
278
|
+
type Schema105 = string;
|
|
279
|
+
type Schema106 = null | ServerOAuthMetadataOutput;
|
|
280
|
+
type Schema107 = boolean;
|
|
281
|
+
type Schema108 = {
|
|
282
|
+
id: string;
|
|
283
|
+
availableScopes: Array<string>;
|
|
284
|
+
metadataUrl: string;
|
|
285
|
+
};
|
|
286
|
+
type Schema109 = {
|
|
287
|
+
issuer: string;
|
|
288
|
+
authorizeEndpoint: string;
|
|
289
|
+
deviceAuthorizationEndpoint: string;
|
|
290
|
+
tokenEndpoint: string;
|
|
291
|
+
extraAuthorizationParameters: string;
|
|
292
|
+
registrationEndpoint?: string;
|
|
293
|
+
supportsPKCE: boolean;
|
|
294
|
+
supportedClientAuthMethods: Array<string>;
|
|
295
|
+
supportsDynamicClientRegistration: boolean;
|
|
296
|
+
noDynamicClientRegistrationReason?: string | null;
|
|
297
|
+
serviceDocumentation: string;
|
|
298
|
+
metadataUrl: string;
|
|
299
|
+
availableScopes: Array<string>;
|
|
300
|
+
};
|
|
301
|
+
type Schema110 = boolean;
|
|
302
|
+
type Schema111 = string | null;
|
|
303
|
+
type Schema112 = number;
|
|
304
|
+
type Schema113 = number;
|
|
305
|
+
type Schema114 = boolean;
|
|
306
|
+
type Schema115 = boolean;
|
|
307
|
+
type Schema116 = boolean;
|
|
308
|
+
type Schema117 = number;
|
|
309
|
+
type Schema118 = Array<{
|
|
310
|
+
/**
|
|
311
|
+
* CEL representing the condition
|
|
312
|
+
*/
|
|
313
|
+
condition: string;
|
|
314
|
+
action: 'deny' | 'modify' | 'log';
|
|
315
|
+
}>;
|
|
316
|
+
type Schema119 = string;
|
|
317
|
+
type Schema120 = string;
|
|
318
|
+
type Schema121 = {
|
|
319
|
+
credentials: Array<CredentialDtoV2>;
|
|
320
|
+
};
|
|
321
|
+
type Schema122 = string;
|
|
322
|
+
type Schema123 = string;
|
|
323
|
+
type Schema124 = 'server' | 'user' | 'profile';
|
|
324
|
+
type Schema125 = number | null;
|
|
325
|
+
type Schema126 = string | null;
|
|
326
|
+
type Schema127 = string | null;
|
|
327
|
+
type Schema128 = string;
|
|
328
|
+
type Schema129 = 'oauth' | 'apikey';
|
|
329
|
+
type Schema130 = string;
|
|
330
|
+
type Schema131 = string;
|
|
331
|
+
type Schema132 = string;
|
|
332
|
+
type Schema133 = string | null;
|
|
333
|
+
type Schema134 = string | null;
|
|
334
|
+
type Schema135 = string | null;
|
|
335
|
+
type Schema136 = string | null;
|
|
336
|
+
type Schema137 = 'oauth';
|
|
337
|
+
type Schema138 = {
|
|
338
|
+
accessToken: string;
|
|
339
|
+
accessTokenExpiresAt?: number;
|
|
340
|
+
idToken?: string;
|
|
341
|
+
refreshToken?: string;
|
|
342
|
+
};
|
|
343
|
+
type Schema139 = 'apikey';
|
|
344
|
+
type Schema140 = Array<[string, string]>;
|
|
130
345
|
type ServerAuthorizationOutput = {
|
|
131
|
-
method:
|
|
132
|
-
credentialsScope:
|
|
133
|
-
apikeys?:
|
|
346
|
+
method: Schema80;
|
|
347
|
+
credentialsScope: Schema81;
|
|
348
|
+
apikeys?: Schema82;
|
|
134
349
|
};
|
|
135
350
|
type HttpStreamingTransportConfigOutput = {
|
|
136
|
-
type:
|
|
137
|
-
url:
|
|
138
|
-
headers?:
|
|
351
|
+
type: Schema84;
|
|
352
|
+
url: Schema85;
|
|
353
|
+
headers?: Schema86;
|
|
139
354
|
};
|
|
140
355
|
type StdioTransportConfigOutput = {
|
|
141
|
-
type:
|
|
142
|
-
command:
|
|
143
|
-
dockerImage?:
|
|
144
|
-
env?:
|
|
145
|
-
transport:
|
|
146
|
-
httpPort?:
|
|
147
|
-
urlPath?:
|
|
356
|
+
type: Schema87;
|
|
357
|
+
command: Schema88;
|
|
358
|
+
dockerImage?: Schema89;
|
|
359
|
+
env?: Schema90;
|
|
360
|
+
transport: Schema91;
|
|
361
|
+
httpPort?: Schema92;
|
|
362
|
+
urlPath?: Schema93;
|
|
148
363
|
};
|
|
149
364
|
type SseTransportConfigOutput = {
|
|
150
|
-
type:
|
|
151
|
-
url:
|
|
152
|
-
headers?:
|
|
365
|
+
type: Schema94;
|
|
366
|
+
url: Schema95;
|
|
367
|
+
headers?: Schema96;
|
|
153
368
|
};
|
|
154
369
|
type HostedTransportConfigOutput = {
|
|
155
|
-
type:
|
|
156
|
-
runtime:
|
|
157
|
-
env?:
|
|
370
|
+
type: Schema97;
|
|
371
|
+
runtime: Schema98;
|
|
372
|
+
env?: Schema99;
|
|
158
373
|
};
|
|
159
374
|
type ServerOAuthClientConfigurationOutput = {
|
|
160
|
-
clientId:
|
|
161
|
-
clientSecret:
|
|
162
|
-
grantType:
|
|
163
|
-
clientAuthMethod:
|
|
164
|
-
scopes:
|
|
375
|
+
clientId: Schema101;
|
|
376
|
+
clientSecret: Schema102;
|
|
377
|
+
grantType: Schema103;
|
|
378
|
+
clientAuthMethod: Schema104;
|
|
379
|
+
scopes: Schema105;
|
|
165
380
|
};
|
|
166
381
|
type ServerOAuthMetadataOutput = {
|
|
167
|
-
requiresAuthorization:
|
|
168
|
-
resource?:
|
|
169
|
-
|
|
170
|
-
availableScopes: Array<string>;
|
|
171
|
-
metadataUrl: string;
|
|
172
|
-
};
|
|
173
|
-
as?: {
|
|
174
|
-
issuer: string;
|
|
175
|
-
authorizeEndpoint: string;
|
|
176
|
-
deviceAuthorizationEndpoint: string;
|
|
177
|
-
tokenEndpoint: string;
|
|
178
|
-
extraAuthorizationParameters: string;
|
|
179
|
-
registrationEndpoint?: string;
|
|
180
|
-
supportsPKCE: boolean;
|
|
181
|
-
supportedClientAuthMethods: Array<string>;
|
|
182
|
-
supportsDynamicClientRegistration: boolean;
|
|
183
|
-
noDynamicClientRegistrationReason?: string | null;
|
|
184
|
-
serviceDocumentation: string;
|
|
185
|
-
metadataUrl: string;
|
|
186
|
-
availableScopes: Array<string>;
|
|
187
|
-
};
|
|
382
|
+
requiresAuthorization: Schema107;
|
|
383
|
+
resource?: Schema108;
|
|
384
|
+
as?: Schema109;
|
|
188
385
|
};
|
|
189
386
|
type GetServersData = {
|
|
190
387
|
body?: never;
|
|
@@ -215,7 +412,7 @@ type PostServersResponse = PostServersResponses[keyof PostServersResponses];
|
|
|
215
412
|
type DeleteServersBySlugData = {
|
|
216
413
|
body?: never;
|
|
217
414
|
path: {
|
|
218
|
-
slug:
|
|
415
|
+
slug: Schema50;
|
|
219
416
|
};
|
|
220
417
|
query?: never;
|
|
221
418
|
url: '/servers/{slug}';
|
|
@@ -229,7 +426,7 @@ type DeleteServersBySlugResponses = {
|
|
|
229
426
|
type GetServersBySlugData = {
|
|
230
427
|
body?: never;
|
|
231
428
|
path: {
|
|
232
|
-
slug:
|
|
429
|
+
slug: Schema50;
|
|
233
430
|
};
|
|
234
431
|
query?: never;
|
|
235
432
|
url: '/servers/{slug}';
|
|
@@ -244,7 +441,7 @@ type GetServersBySlugResponse = GetServersBySlugResponses[keyof GetServersBySlug
|
|
|
244
441
|
type PatchServersBySlugData = {
|
|
245
442
|
body?: V2PatchServerRequest;
|
|
246
443
|
path: {
|
|
247
|
-
slug:
|
|
444
|
+
slug: Schema50;
|
|
248
445
|
};
|
|
249
446
|
query?: never;
|
|
250
447
|
url: '/servers/{slug}';
|
|
@@ -259,7 +456,7 @@ type PatchServersBySlugResponse = PatchServersBySlugResponses[keyof PatchServers
|
|
|
259
456
|
type PutServersBySlugData = {
|
|
260
457
|
body?: V2UpdateServerRequest;
|
|
261
458
|
path: {
|
|
262
|
-
slug:
|
|
459
|
+
slug: Schema50;
|
|
263
460
|
};
|
|
264
461
|
query?: never;
|
|
265
462
|
url: '/servers/{slug}';
|
|
@@ -271,6 +468,64 @@ type PutServersBySlugResponses = {
|
|
|
271
468
|
200: V2ServerDto;
|
|
272
469
|
};
|
|
273
470
|
type PutServersBySlugResponse = PutServersBySlugResponses[keyof PutServersBySlugResponses];
|
|
471
|
+
type GetCredentialsData = {
|
|
472
|
+
body?: never;
|
|
473
|
+
path?: never;
|
|
474
|
+
query?: never;
|
|
475
|
+
url: '/credentials';
|
|
476
|
+
};
|
|
477
|
+
type GetCredentialsResponses = {
|
|
478
|
+
/**
|
|
479
|
+
* Successful response
|
|
480
|
+
*/
|
|
481
|
+
200: Schema121;
|
|
482
|
+
};
|
|
483
|
+
type GetCredentialsResponse = GetCredentialsResponses[keyof GetCredentialsResponses];
|
|
484
|
+
type DeleteCredentialsByIdData = {
|
|
485
|
+
body?: never;
|
|
486
|
+
path: {
|
|
487
|
+
id: string;
|
|
488
|
+
};
|
|
489
|
+
query?: never;
|
|
490
|
+
url: '/credentials/{id}';
|
|
491
|
+
};
|
|
492
|
+
type DeleteCredentialsByIdResponses = {
|
|
493
|
+
/**
|
|
494
|
+
* Successful response
|
|
495
|
+
*/
|
|
496
|
+
200: Schema121;
|
|
497
|
+
};
|
|
498
|
+
type DeleteCredentialsByIdResponse = DeleteCredentialsByIdResponses[keyof DeleteCredentialsByIdResponses];
|
|
499
|
+
type GetCredentialsByIdData = {
|
|
500
|
+
body?: never;
|
|
501
|
+
path: {
|
|
502
|
+
id: string;
|
|
503
|
+
};
|
|
504
|
+
query?: never;
|
|
505
|
+
url: '/credentials/{id}';
|
|
506
|
+
};
|
|
507
|
+
type GetCredentialsByIdResponses = {
|
|
508
|
+
/**
|
|
509
|
+
* Successful response
|
|
510
|
+
*/
|
|
511
|
+
200: CredentialDtoV2;
|
|
512
|
+
};
|
|
513
|
+
type GetCredentialsByIdResponse = GetCredentialsByIdResponses[keyof GetCredentialsByIdResponses];
|
|
514
|
+
type GetCredentialsByIdSecretData = {
|
|
515
|
+
body?: never;
|
|
516
|
+
path: {
|
|
517
|
+
id: string;
|
|
518
|
+
};
|
|
519
|
+
query?: never;
|
|
520
|
+
url: '/credentials/{id}/secret';
|
|
521
|
+
};
|
|
522
|
+
type GetCredentialsByIdSecretResponses = {
|
|
523
|
+
/**
|
|
524
|
+
* Successful response
|
|
525
|
+
*/
|
|
526
|
+
200: ServerCredentialsOuth | ServerCredentialsApiKeys;
|
|
527
|
+
};
|
|
528
|
+
type GetCredentialsByIdSecretResponse = GetCredentialsByIdSecretResponses[keyof GetCredentialsByIdSecretResponses];
|
|
274
529
|
type ClientOptions$1 = {
|
|
275
530
|
baseUrl: `${string}://${string}/api/v2` | (string & {});
|
|
276
531
|
};
|
|
@@ -579,7 +834,7 @@ interface TDataShape {
|
|
|
579
834
|
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
580
835
|
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & Omit<TData, 'url'>;
|
|
581
836
|
declare namespace sdk_gen_d_exports {
|
|
582
|
-
export { Options, deleteServersBySlug, getServers, getServersBySlug, patchServersBySlug, postServers, putServersBySlug };
|
|
837
|
+
export { Options, deleteCredentialsById, deleteServersBySlug, getCredentials, getCredentialsById, getCredentialsByIdSecret, getServers, getServersBySlug, patchServersBySlug, postServers, putServersBySlug };
|
|
583
838
|
}
|
|
584
839
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
585
840
|
/**
|
|
@@ -618,6 +873,10 @@ declare const patchServersBySlug: <ThrowOnError extends boolean = true>(options:
|
|
|
618
873
|
* 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.
|
|
619
874
|
*/
|
|
620
875
|
declare const putServersBySlug: <ThrowOnError extends boolean = true>(options: Options<PutServersBySlugData, ThrowOnError>) => any;
|
|
876
|
+
declare const getCredentials: <ThrowOnError extends boolean = true>(options?: Options<GetCredentialsData, ThrowOnError>) => any;
|
|
877
|
+
declare const deleteCredentialsById: <ThrowOnError extends boolean = true>(options: Options<DeleteCredentialsByIdData, ThrowOnError>) => any;
|
|
878
|
+
declare const getCredentialsById: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdData, ThrowOnError>) => any;
|
|
879
|
+
declare const getCredentialsByIdSecret: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdSecretData, ThrowOnError>) => any;
|
|
621
880
|
//#endregion
|
|
622
|
-
export {
|
|
623
|
-
//# sourceMappingURL=sdk.gen-
|
|
881
|
+
export { Schema102 as $, Schema74 as $n, Schema25 as $t, GetServersBySlugResponse as A, Schema53 as An, ServerCredentialsOuth as Ar, Schema130 as At, PatchServersBySlugResponse as B, Schema62 as Bn, V2CreateServerRequest as Br, Schema14 as Bt, GetCredentialsByIdSecretData as C, Schema47 as Cn, Schema96 as Cr, Schema124 as Ct, GetCredentialsResponse as D, Schema50 as Dn, ServerAuthorization as Dr, Schema128 as Dt, GetCredentialsData as E, Schema5 as En, Schema99 as Er, Schema127 as Et, HostedTransportConfig as F, Schema58 as Fn, ServerVisibility as Fr, Schema135 as Ft, PutServersBySlugData as G, Schema67 as Gn, Schema18 as Gt, PostServersData as H, Schema64 as Hn, V2PatchServerRequest as Hr, Schema15 as Ht, HostedTransportConfigOutput as I, Schema59 as In, SseTransportConfig as Ir, Schema136 as It, Schema0 as J, Schema7 as Jn, Schema20 as Jt, PutServersBySlugResponse as K, Schema68 as Kn, Schema19 as Kt, HttpStreamingTransportConfig as L, Schema6 as Ln, SseTransportConfigOutput as Lr, Schema137 as Lt, GetServersData as M, Schema55 as Mn, ServerOAuthClientConfigurationOutput as Mr, Schema132 as Mt, GetServersResponse as N, Schema56 as Nn, ServerOAuthMetadata as Nr, Schema133 as Nt, GetCredentialsResponses as O, Schema51 as On, ServerAuthorizationOutput as Or, Schema129 as Ot, GetServersResponses as P, Schema57 as Pn, ServerOAuthMetadataOutput as Pr, Schema134 as Pt, Schema101 as Q, Schema73 as Qn, Schema24 as Qt, HttpStreamingTransportConfigOutput as R, Schema60 as Rn, StdioTransportConfig as Rr, Schema138 as Rt, GetCredentialsByIdResponses as S, Schema46 as Sn, Schema95 as Sr, Schema123 as St, GetCredentialsByIdSecretResponses as T, Schema49 as Tn, Schema98 as Tr, Schema126 as Tt, PostServersResponse as U, Schema65 as Un, V2ServerDto as Ur, Schema16 as Ut, PatchServersBySlugResponses as V, Schema63 as Vn, V2ListServersResponse as Vr, Schema140 as Vt, PostServersResponses as W, Schema66 as Wn, V2UpdateServerRequest as Wr, Schema17 as Wt, Schema10 as X, Schema71 as Xn, Schema22 as Xt, Schema1 as Y, Schema70 as Yn, Schema21 as Yt, Schema100 as Z, Schema72 as Zn, Schema23 as Zt, DeleteCredentialsByIdResponses as _, Schema41 as _n, Schema90 as _r, Schema119 as _t, getCredentialsById as a, Schema30 as an, Schema8 as ar, Schema108 as at, GetCredentialsByIdData as b, Schema44 as bn, Schema93 as br, Schema121 as bt, getServersBySlug as c, Schema33 as cn, Schema82 as cr, Schema110 as ct, putServersBySlug as d, Schema36 as dn, Schema85 as dr, Schema113 as dt, Schema26 as en, Schema75 as er, Schema103 as et, sdk_gen_d_exports as f, Schema37 as fn, Schema86 as fr, Schema114 as ft, DeleteCredentialsByIdResponse as g, Schema40 as gn, Schema9 as gr, Schema118 as gt, DeleteCredentialsByIdData as h, Schema4 as hn, Schema89 as hr, Schema117 as ht, getCredentials as i, Schema3 as in, Schema79 as ir, Schema107 as it, GetServersBySlugResponses as j, Schema54 as jn, ServerOAuthClientConfiguration as jr, Schema131 as jt, GetServersBySlugData as k, Schema52 as kn, ServerCredentialsApiKeys as kr, Schema13 as kt, patchServersBySlug as l, Schema34 as ln, Schema83 as lr, Schema111 as lt, CredentialDtoV2 as m, Schema39 as mn, Schema88 as mr, Schema116 as mt, deleteCredentialsById as n, Schema28 as nn, Schema77 as nr, Schema105 as nt, getCredentialsByIdSecret as o, Schema31 as on, Schema80 as or, Schema109 as ot, ClientOptions$1 as p, Schema38 as pn, Schema87 as pr, Schema115 as pt, PutServersBySlugResponses as q, Schema69 as qn, Schema2 as qt, deleteServersBySlug as r, Schema29 as rn, Schema78 as rr, Schema106 as rt, getServers as s, Schema32 as sn, Schema81 as sr, Schema11 as st, Options as t, Schema27 as tn, Schema76 as tr, Schema104 as tt, postServers as u, Schema35 as un, Schema84 as ur, Schema112 as ut, DeleteServersBySlugData as v, Schema42 as vn, Schema91 as vr, Schema12 as vt, GetCredentialsByIdSecretResponse as w, Schema48 as wn, Schema97 as wr, Schema125 as wt, GetCredentialsByIdResponse as x, Schema45 as xn, Schema94 as xr, Schema122 as xt, DeleteServersBySlugResponses as y, Schema43 as yn, Schema92 as yr, Schema120 as yt, PatchServersBySlugData as z, Schema61 as zn, StdioTransportConfigOutput as zr, Schema139 as zt };
|
|
882
|
+
//# sourceMappingURL=sdk.gen-JaJdVFlp.d.mts.map
|