gatana-sdk 2.3.1 → 2.3.3

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.
Files changed (40) hide show
  1. package/dist/api/index.cjs +31 -48
  2. package/dist/api/index.d.cts +2 -2
  3. package/dist/api/index.d.mts +2 -2
  4. package/dist/api/index.mjs +2 -2
  5. package/dist/apiv2/index.cjs +1 -1
  6. package/dist/apiv2/index.d.cts +2 -2
  7. package/dist/apiv2/index.d.mts +2 -2
  8. package/dist/apiv2/index.mjs +1 -1
  9. package/dist/index.cjs +2 -2
  10. package/dist/index.d.cts +3 -3
  11. package/dist/index.d.cts.map +1 -1
  12. package/dist/index.d.mts +3 -3
  13. package/dist/index.d.mts.map +1 -1
  14. package/dist/index.mjs +2 -2
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/{sdk.gen-DbvfIuwl.cjs → sdk.gen-BMl_z1y-.cjs} +180 -177
  17. package/dist/sdk.gen-Bxu43MTi.d.cts +4596 -0
  18. package/dist/sdk.gen-Bxu43MTi.d.cts.map +1 -0
  19. package/dist/sdk.gen-CfIkdlZG.cjs +3399 -0
  20. package/dist/{sdk.gen-JaJdVFlp.d.mts → sdk.gen-CxQneXhT.d.mts} +736 -707
  21. package/dist/sdk.gen-CxQneXhT.d.mts.map +1 -0
  22. package/dist/{sdk.gen-6_NSk1dc.d.cts → sdk.gen-D95pVzAJ.d.cts} +736 -707
  23. package/dist/sdk.gen-D95pVzAJ.d.cts.map +1 -0
  24. package/dist/sdk.gen-DObLA2c-.mjs +2567 -0
  25. package/dist/sdk.gen-DObLA2c-.mjs.map +1 -0
  26. package/dist/{sdk.gen-1fMdFWWC.mjs → sdk.gen-DUNHa0uM.mjs} +181 -178
  27. package/dist/sdk.gen-DUNHa0uM.mjs.map +1 -0
  28. package/dist/sdk.gen-M1zAzCGN.d.mts +4596 -0
  29. package/dist/sdk.gen-M1zAzCGN.d.mts.map +1 -0
  30. package/package.json +2 -2
  31. package/dist/sdk.gen-1fMdFWWC.mjs.map +0 -1
  32. package/dist/sdk.gen-6_NSk1dc.d.cts.map +0 -1
  33. package/dist/sdk.gen-B7HIkL3d.cjs +0 -4021
  34. package/dist/sdk.gen-BtALwwrp.d.cts +0 -5052
  35. package/dist/sdk.gen-BtALwwrp.d.cts.map +0 -1
  36. package/dist/sdk.gen-C1HW05Pw.d.mts +0 -5052
  37. package/dist/sdk.gen-C1HW05Pw.d.mts.map +0 -1
  38. package/dist/sdk.gen-COMJoQbu.mjs +0 -3087
  39. package/dist/sdk.gen-COMJoQbu.mjs.map +0 -1
  40. package/dist/sdk.gen-JaJdVFlp.d.mts.map +0 -1
@@ -1,535 +1,3 @@
1
- //#region src/apiv2/types.gen.d.ts
2
- type V2CreateServerRequest = {
3
- slug: Schema0;
4
- transportConfig: Schema1;
5
- description?: Schema18;
6
- authorization?: ServerAuthorization;
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;
25
- };
26
- type HttpStreamingTransportConfig = {
27
- type: Schema2;
28
- url: Schema3;
29
- headers?: Schema4;
30
- };
31
- type StdioTransportConfig = {
32
- type: Schema5;
33
- command: Schema6;
34
- dockerImage?: Schema7;
35
- env?: Schema8;
36
- transport: Schema9;
37
- httpPort?: Schema10;
38
- urlPath?: Schema11;
39
- };
40
- type SseTransportConfig = {
41
- type: Schema12;
42
- url: Schema13;
43
- headers?: Schema14;
44
- };
45
- type HostedTransportConfig = {
46
- type: Schema15;
47
- runtime: Schema16;
48
- env?: Schema17;
49
- };
50
- type ServerAuthorization = {
51
- method: Schema20;
52
- credentialsScope: Schema21;
53
- apikeys?: Schema22;
54
- };
55
- type ServerOAuthMetadata = {
56
- requiresAuthorization: Schema24;
57
- resource?: Schema25;
58
- as?: Schema26;
59
- };
60
- type ServerOAuthClientConfiguration = {
61
- clientId?: Schema28;
62
- clientSecret?: Schema29;
63
- grantType: Schema30;
64
- clientAuthMethod: Schema31;
65
- scopes?: Schema32;
66
- };
67
- type ServerVisibility = 'private' | 'organization';
68
- type V2UpdateServerRequest = {
69
- slug?: Schema51;
70
- description?: Schema52;
71
- authorization?: ServerAuthorization;
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 | {
172
- type: 'self';
173
- id: string;
174
- } | HostedTransportConfig;
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;
195
- type V2ListServersResponse = {
196
- servers: Schema75;
197
- };
198
- type V2ServerDto = {
199
- id: Schema76;
200
- slug: Schema77;
201
- tenantId: Schema78;
202
- description: Schema79;
203
- authorization: ServerAuthorizationOutput;
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]>;
345
- type ServerAuthorizationOutput = {
346
- method: Schema80;
347
- credentialsScope: Schema81;
348
- apikeys?: Schema82;
349
- };
350
- type HttpStreamingTransportConfigOutput = {
351
- type: Schema84;
352
- url: Schema85;
353
- headers?: Schema86;
354
- };
355
- type StdioTransportConfigOutput = {
356
- type: Schema87;
357
- command: Schema88;
358
- dockerImage?: Schema89;
359
- env?: Schema90;
360
- transport: Schema91;
361
- httpPort?: Schema92;
362
- urlPath?: Schema93;
363
- };
364
- type SseTransportConfigOutput = {
365
- type: Schema94;
366
- url: Schema95;
367
- headers?: Schema96;
368
- };
369
- type HostedTransportConfigOutput = {
370
- type: Schema97;
371
- runtime: Schema98;
372
- env?: Schema99;
373
- };
374
- type ServerOAuthClientConfigurationOutput = {
375
- clientId: Schema101;
376
- clientSecret: Schema102;
377
- grantType: Schema103;
378
- clientAuthMethod: Schema104;
379
- scopes: Schema105;
380
- };
381
- type ServerOAuthMetadataOutput = {
382
- requiresAuthorization: Schema107;
383
- resource?: Schema108;
384
- as?: Schema109;
385
- };
386
- type GetServersData = {
387
- body?: never;
388
- path?: never;
389
- query?: never;
390
- url: '/servers';
391
- };
392
- type GetServersResponses = {
393
- /**
394
- * Successful response
395
- */
396
- 200: V2ListServersResponse;
397
- };
398
- type GetServersResponse = GetServersResponses[keyof GetServersResponses];
399
- type PostServersData = {
400
- body?: V2CreateServerRequest;
401
- path?: never;
402
- query?: never;
403
- url: '/servers';
404
- };
405
- type PostServersResponses = {
406
- /**
407
- * Successful response
408
- */
409
- 200: V2ServerDto;
410
- };
411
- type PostServersResponse = PostServersResponses[keyof PostServersResponses];
412
- type DeleteServersBySlugData = {
413
- body?: never;
414
- path: {
415
- slug: Schema50;
416
- };
417
- query?: never;
418
- url: '/servers/{slug}';
419
- };
420
- type DeleteServersBySlugResponses = {
421
- /**
422
- * Successful response
423
- */
424
- 200: unknown;
425
- };
426
- type GetServersBySlugData = {
427
- body?: never;
428
- path: {
429
- slug: Schema50;
430
- };
431
- query?: never;
432
- url: '/servers/{slug}';
433
- };
434
- type GetServersBySlugResponses = {
435
- /**
436
- * Successful response
437
- */
438
- 200: V2ServerDto;
439
- };
440
- type GetServersBySlugResponse = GetServersBySlugResponses[keyof GetServersBySlugResponses];
441
- type PatchServersBySlugData = {
442
- body?: V2PatchServerRequest;
443
- path: {
444
- slug: Schema50;
445
- };
446
- query?: never;
447
- url: '/servers/{slug}';
448
- };
449
- type PatchServersBySlugResponses = {
450
- /**
451
- * Successful response
452
- */
453
- 200: V2ServerDto;
454
- };
455
- type PatchServersBySlugResponse = PatchServersBySlugResponses[keyof PatchServersBySlugResponses];
456
- type PutServersBySlugData = {
457
- body?: V2UpdateServerRequest;
458
- path: {
459
- slug: Schema50;
460
- };
461
- query?: never;
462
- url: '/servers/{slug}';
463
- };
464
- type PutServersBySlugResponses = {
465
- /**
466
- * Successful response
467
- */
468
- 200: V2ServerDto;
469
- };
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];
529
- type ClientOptions$1 = {
530
- baseUrl: `${string}://${string}/api/v2` | (string & {});
531
- };
532
- //#endregion
533
1
  //#region src/apiv2/core/auth.gen.d.ts
534
2
  type AuthToken = string | undefined;
535
3
  interface Auth {
@@ -562,12 +30,19 @@ type ObjectStyle = 'form' | 'deepObject';
562
30
  //#endregion
563
31
  //#region src/apiv2/core/bodySerializer.gen.d.ts
564
32
  type QuerySerializer = (query: Record<string, unknown>) => string;
565
- type BodySerializer = (body: any) => any;
566
- interface QuerySerializerOptions {
33
+ type BodySerializer = (body: unknown) => unknown;
34
+ type QuerySerializerOptionsObject = {
567
35
  allowReserved?: boolean;
568
- array?: SerializerOptions<ArrayStyle>;
569
- object?: SerializerOptions<ObjectStyle>;
570
- }
36
+ array?: Partial<SerializerOptions<ArrayStyle>>;
37
+ object?: Partial<SerializerOptions<ObjectStyle>>;
38
+ };
39
+ type QuerySerializerOptions = QuerySerializerOptionsObject & {
40
+ /**
41
+ * Per-parameter serialization overrides. When provided, these settings
42
+ * override the global array/object settings for specific parameter names.
43
+ */
44
+ parameters?: Record<string, QuerySerializerOptionsObject>;
45
+ };
571
46
  //#endregion
572
47
  //#region src/apiv2/core/types.gen.d.ts
573
48
  type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
@@ -627,19 +102,114 @@ interface Config$1 {
627
102
  requestValidator?: (data: unknown) => Promise<unknown>;
628
103
  /**
629
104
  * A function transforming response data before it's returned. This is useful
630
- * for post-processing data, e.g. converting ISO strings into Date objects.
105
+ * for post-processing data, e.g., converting ISO strings into Date objects.
631
106
  */
632
107
  responseTransformer?: (data: unknown) => Promise<unknown>;
633
108
  /**
634
- * A function validating response data. This is useful if you want to ensure
635
- * the response conforms to the desired shape, so it can be safely passed to
636
- * the transformers and returned to the user.
109
+ * A function validating response data. This is useful if you want to ensure
110
+ * the response conforms to the desired shape, so it can be safely passed to
111
+ * the transformers and returned to the user.
112
+ */
113
+ responseValidator?: (data: unknown) => Promise<unknown>;
114
+ }
115
+ //#endregion
116
+ //#region src/apiv2/core/serverSentEvents.gen.d.ts
117
+ type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
118
+ /**
119
+ * Fetch API implementation. You can use this option to provide a custom
120
+ * fetch instance.
121
+ *
122
+ * @default globalThis.fetch
123
+ */
124
+ fetch?: typeof fetch;
125
+ /**
126
+ * Implementing clients can call request interceptors inside this hook.
127
+ */
128
+ onRequest?: (url: string, init: RequestInit) => Promise<Request>;
129
+ /**
130
+ * Callback invoked when a network or parsing error occurs during streaming.
131
+ *
132
+ * This option applies only if the endpoint returns a stream of events.
133
+ *
134
+ * @param error The error that occurred.
135
+ */
136
+ onSseError?: (error: unknown) => void;
137
+ /**
138
+ * Callback invoked when an event is streamed from the server.
139
+ *
140
+ * This option applies only if the endpoint returns a stream of events.
141
+ *
142
+ * @param event Event streamed from the server.
143
+ * @returns Nothing (void).
144
+ */
145
+ onSseEvent?: (event: StreamEvent<TData>) => void;
146
+ serializedBody?: RequestInit['body'];
147
+ /**
148
+ * Default retry delay in milliseconds.
149
+ *
150
+ * This option applies only if the endpoint returns a stream of events.
151
+ *
152
+ * @default 3000
153
+ */
154
+ sseDefaultRetryDelay?: number;
155
+ /**
156
+ * Maximum number of retry attempts before giving up.
157
+ */
158
+ sseMaxRetryAttempts?: number;
159
+ /**
160
+ * Maximum retry delay in milliseconds.
161
+ *
162
+ * Applies only when exponential backoff is used.
163
+ *
164
+ * This option applies only if the endpoint returns a stream of events.
165
+ *
166
+ * @default 30000
167
+ */
168
+ sseMaxRetryDelay?: number;
169
+ /**
170
+ * Optional sleep function for retry backoff.
171
+ *
172
+ * Defaults to using `setTimeout`.
637
173
  */
638
- responseValidator?: (data: unknown) => Promise<unknown>;
174
+ sseSleepFn?: (ms: number) => Promise<void>;
175
+ url: string;
176
+ };
177
+ interface StreamEvent<TData = unknown> {
178
+ data: TData;
179
+ event?: string;
180
+ id?: string;
181
+ retry?: number;
639
182
  }
183
+ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
184
+ stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
185
+ };
640
186
  //#endregion
641
- //#region src/apiv2/core/serverSentEvents.gen.d.ts
642
- type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
187
+ //#region src/apiv2/client/utils.gen.d.ts
188
+ type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
189
+ type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
190
+ type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
191
+ declare class Interceptors<Interceptor> {
192
+ fns: Array<Interceptor | null>;
193
+ clear(): void;
194
+ eject(id: number | Interceptor): void;
195
+ exists(id: number | Interceptor): boolean;
196
+ getInterceptorIndex(id: number | Interceptor): number;
197
+ update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
198
+ use(fn: Interceptor): number;
199
+ }
200
+ interface Middleware<Req, Res, Err, Options> {
201
+ error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
202
+ request: Interceptors<ReqInterceptor<Req, Options>>;
203
+ response: Interceptors<ResInterceptor<Res, Req, Options>>;
204
+ }
205
+ //#endregion
206
+ //#region src/apiv2/client/types.gen.d.ts
207
+ type ResponseStyle = 'data' | 'fields';
208
+ interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
209
+ /**
210
+ * Base URL for all requests made by this client.
211
+ */
212
+ baseUrl?: T['baseUrl'];
643
213
  /**
644
214
  * Fetch API implementation. You can use this option to provide a custom
645
215
  * fetch instance.
@@ -648,195 +218,654 @@ type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pi
648
218
  */
649
219
  fetch?: typeof fetch;
650
220
  /**
651
- * Implementing clients can call request interceptors inside this hook.
221
+ * Please don't use the Fetch client for Next.js applications. The `next`
222
+ * options won't have any effect.
223
+ *
224
+ * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
652
225
  */
653
- onRequest?: (url: string, init: RequestInit) => Promise<Request>;
226
+ next?: never;
654
227
  /**
655
- * Callback invoked when a network or parsing error occurs during streaming.
656
- *
657
- * This option applies only if the endpoint returns a stream of events.
228
+ * Return the response data parsed in a specified format. By default, `auto`
229
+ * will infer the appropriate method from the `Content-Type` response header.
230
+ * You can override this behavior with any of the {@link Body} methods.
231
+ * Select `stream` if you don't want to parse response data at all.
658
232
  *
659
- * @param error The error that occurred.
233
+ * @default 'auto'
660
234
  */
661
- onSseError?: (error: unknown) => void;
235
+ parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
662
236
  /**
663
- * Callback invoked when an event is streamed from the server.
664
- *
665
- * This option applies only if the endpoint returns a stream of events.
237
+ * Should we return only data or multiple fields (data, error, response, etc.)?
666
238
  *
667
- * @param event Event streamed from the server.
668
- * @returns Nothing (void).
239
+ * @default 'fields'
669
240
  */
670
- onSseEvent?: (event: StreamEvent<TData>) => void;
671
- serializedBody?: RequestInit['body'];
241
+ responseStyle?: ResponseStyle;
672
242
  /**
673
- * Default retry delay in milliseconds.
243
+ * Throw an error instead of returning it in the response?
674
244
  *
675
- * This option applies only if the endpoint returns a stream of events.
245
+ * @default false
246
+ */
247
+ throwOnError?: T['throwOnError'];
248
+ }
249
+ interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
250
+ responseStyle: TResponseStyle;
251
+ throwOnError: ThrowOnError;
252
+ }>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
253
+ /**
254
+ * Any body that you want to add to your request.
676
255
  *
677
- * @default 3000
256
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
678
257
  */
679
- sseDefaultRetryDelay?: number;
258
+ body?: unknown;
259
+ path?: Record<string, unknown>;
260
+ query?: Record<string, unknown>;
261
+ /**
262
+ * Security mechanism(s) to use for the request.
263
+ */
264
+ security?: ReadonlyArray<Auth>;
265
+ url: Url;
266
+ }
267
+ interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
268
+ serializedBody?: string;
269
+ }
270
+ type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
271
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
272
+ request: Request;
273
+ response: Response;
274
+ }> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
275
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
276
+ error: undefined;
277
+ } | {
278
+ data: undefined;
279
+ error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
280
+ }) & {
281
+ request: Request;
282
+ response: Response;
283
+ }>;
284
+ interface ClientOptions$1 {
285
+ baseUrl?: string;
286
+ responseStyle?: ResponseStyle;
287
+ throwOnError?: boolean;
288
+ }
289
+ type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
290
+ type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
291
+ type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
292
+ type BuildUrlFn = <TData extends {
293
+ body?: unknown;
294
+ path?: Record<string, unknown>;
295
+ query?: Record<string, unknown>;
296
+ url: string;
297
+ }>(options: TData & Options$1<TData>) => string;
298
+ type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
299
+ interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
300
+ };
301
+ interface TDataShape {
302
+ body?: unknown;
303
+ headers?: unknown;
304
+ path?: unknown;
305
+ query?: unknown;
306
+ url: string;
307
+ }
308
+ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
309
+ 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'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
310
+ //#endregion
311
+ //#region src/apiv2/types.gen.d.ts
312
+ type ClientOptions = {
313
+ baseUrl: 'https://{YOUR_ORG_ID}.gatana.ai/api/v2' | (string & {});
314
+ };
315
+ type V2CreateServerRequest = {
316
+ slug: Schema0;
317
+ transportConfig: Schema1;
318
+ description?: Schema22;
319
+ authorization?: ServerAuthorization;
320
+ oauthMetadata?: Schema27;
321
+ oauthClientConfiguration?: Schema31;
322
+ isEnabled?: Schema37;
323
+ timeoutProtocol?: Schema38;
324
+ timeoutTotal?: Schema39;
325
+ resetTimeoutOnProgressNotification?: Schema40;
326
+ isOutputCompressionEnabled?: Schema41;
327
+ isOutputCompressionTransformEnabled?: Schema42;
328
+ outputCompressionThresholdBytes?: Schema43;
329
+ firewallRules?: Schema44;
330
+ visibility?: ServerVisibility;
331
+ id?: Schema47;
332
+ tenantId?: Schema48;
333
+ lastToolRefreshAt?: Schema49;
334
+ createdAt?: Schema50;
335
+ updatedAt?: Schema51;
336
+ };
337
+ type HttpStreamingTransportConfig = {
338
+ type: Schema2;
339
+ url: Schema3;
340
+ headers?: Schema4;
341
+ };
342
+ type StdioTransportConfig = {
343
+ type: Schema5;
344
+ command: Schema6;
345
+ dockerImage?: Schema7;
346
+ env?: Schema8;
347
+ transport: Schema9;
348
+ httpPort?: Schema10;
349
+ urlPath?: Schema11;
350
+ limits?: Schema12;
351
+ };
352
+ type SseTransportConfig = {
353
+ type: Schema15;
354
+ url: Schema16;
355
+ headers?: Schema17;
356
+ };
357
+ type HostedTransportConfig = {
358
+ type: Schema18;
359
+ runtime: Schema19;
360
+ env?: Schema20;
361
+ limits?: Schema21;
362
+ };
363
+ type ServerAuthorization = {
364
+ method: Schema24;
365
+ credentialsScope: Schema25;
366
+ apikeys?: Schema26;
367
+ };
368
+ type ServerOAuthMetadata = {
369
+ requiresAuthorization: Schema28;
370
+ resource?: Schema29;
371
+ as?: Schema30;
372
+ };
373
+ type ServerOAuthClientConfiguration = {
374
+ clientId?: Schema32;
375
+ clientSecret?: Schema33;
376
+ grantType: Schema34;
377
+ clientAuthMethod: Schema35;
378
+ scopes?: Schema36;
379
+ };
380
+ type ServerVisibility = 'private' | 'organization';
381
+ type V2UpdateServerRequest = {
382
+ slug?: Schema53;
383
+ description?: Schema54;
384
+ authorization?: ServerAuthorization;
385
+ transportConfig?: Schema56;
386
+ oauthMetadata?: Schema57;
387
+ oauthClientConfiguration?: Schema58;
388
+ isEnabled?: Schema59;
389
+ timeoutProtocol?: Schema60;
390
+ timeoutTotal?: Schema61;
391
+ resetTimeoutOnProgressNotification?: Schema62;
392
+ isOutputCompressionEnabled?: Schema63;
393
+ isOutputCompressionTransformEnabled?: Schema64;
394
+ outputCompressionThresholdBytes?: Schema65;
395
+ firewallRules?: Schema66;
396
+ visibility?: ServerVisibility;
397
+ id?: Schema68;
398
+ tenantId?: Schema69;
399
+ name?: Schema70;
400
+ lastToolRefreshAt?: Schema71;
401
+ createdAt?: Schema72;
402
+ updatedAt?: Schema73;
403
+ };
404
+ type V2PatchServerRequest = { [key in Schema74]?: Schema75 };
405
+ type Schema0 = string;
406
+ type Schema1 = HttpStreamingTransportConfig | StdioTransportConfig | SseTransportConfig | HostedTransportConfig;
407
+ type Schema2 = 'httpstreaming';
408
+ type Schema3 = string;
409
+ type Schema4 = Array<[string, string]>;
410
+ type Schema5 = 'stdio';
411
+ type Schema6 = string;
412
+ type Schema7 = string;
413
+ type Schema8 = Array<[string, string]>;
414
+ type Schema9 = 'sse' | 'httpstreaming' | 'stdio';
415
+ type Schema10 = number | null;
416
+ type Schema11 = string | null;
417
+ type Schema12 = {
418
+ cpu?: Schema13;
419
+ memory?: Schema14;
420
+ } | null;
421
+ type Schema13 = string;
422
+ type Schema14 = string;
423
+ type Schema15 = 'sse';
424
+ type Schema16 = string;
425
+ type Schema17 = Array<[string, string]>;
426
+ type Schema18 = 'hosted';
427
+ type Schema19 = 'node24';
428
+ type Schema20 = Array<[string, string]>;
429
+ type Schema21 = {
430
+ cpu?: Schema13;
431
+ memory?: Schema14;
432
+ } | null;
433
+ type Schema22 = string;
434
+ type Schema23 = ServerAuthorization;
435
+ type Schema24 = 'none' | 'oauth' | 'apikey';
436
+ type Schema25 = 'server' | 'user';
437
+ type Schema26 = Array<string>;
438
+ type Schema27 = ServerOAuthMetadata | null;
439
+ type Schema28 = boolean;
440
+ type Schema29 = {
441
+ id?: string;
442
+ availableScopes?: Array<string>;
443
+ metadataUrl?: string;
444
+ };
445
+ type Schema30 = {
446
+ issuer?: string;
447
+ authorizeEndpoint?: string;
448
+ deviceAuthorizationEndpoint?: string;
449
+ tokenEndpoint?: string;
450
+ extraAuthorizationParameters?: string;
451
+ registrationEndpoint?: string;
452
+ supportsPKCE?: boolean;
453
+ supportedClientAuthMethods?: Array<string>;
454
+ supportsDynamicClientRegistration?: boolean;
455
+ noDynamicClientRegistrationReason?: string | null;
456
+ serviceDocumentation?: string;
457
+ metadataUrl?: string;
458
+ availableScopes?: Array<string>;
459
+ };
460
+ type Schema31 = ServerOAuthClientConfiguration | null;
461
+ type Schema32 = string;
462
+ type Schema33 = string;
463
+ type Schema34 = 'authorization_code' | 'device_code';
464
+ type Schema35 = 'client_secret_basic' | 'client_secret_post' | 'none' | string;
465
+ type Schema36 = string;
466
+ type Schema37 = boolean;
467
+ type Schema38 = number;
468
+ type Schema39 = number;
469
+ type Schema40 = boolean;
470
+ type Schema41 = boolean;
471
+ type Schema42 = boolean;
472
+ type Schema43 = number;
473
+ type Schema44 = Array<Schema45>;
474
+ type Schema45 = {
475
+ /**
476
+ * CEL representing the condition
477
+ */
478
+ condition: string;
479
+ action: 'deny' | 'modify' | 'log';
480
+ };
481
+ type Schema46 = ServerVisibility;
482
+ type Schema47 = string;
483
+ type Schema48 = string;
484
+ type Schema49 = string | null;
485
+ type Schema50 = string;
486
+ type Schema51 = string;
487
+ type Schema52 = string;
488
+ type Schema53 = string;
489
+ type Schema54 = string;
490
+ type Schema55 = ServerAuthorization;
491
+ type Schema56 = HttpStreamingTransportConfig | StdioTransportConfig | SseTransportConfig | {
492
+ type: 'self';
493
+ id: string;
494
+ } | HostedTransportConfig;
495
+ type Schema57 = ServerOAuthMetadata | null;
496
+ type Schema58 = ServerOAuthClientConfiguration | null;
497
+ type Schema59 = boolean;
498
+ type Schema60 = number;
499
+ type Schema61 = number;
500
+ type Schema62 = boolean;
501
+ type Schema63 = boolean;
502
+ type Schema64 = boolean;
503
+ type Schema65 = number;
504
+ type Schema66 = Array<Schema45>;
505
+ type Schema67 = ServerVisibility;
506
+ type Schema68 = string;
507
+ type Schema69 = string;
508
+ type Schema70 = string;
509
+ type Schema71 = string | null;
510
+ type Schema72 = string;
511
+ type Schema73 = string;
512
+ type Schema74 = string;
513
+ type Schema75 = unknown;
514
+ type Schema76 = string;
515
+ type V2ListServersResponse = {
516
+ servers: Schema77;
517
+ };
518
+ type V2ServerDto = Server;
519
+ type Server = {
520
+ id: Schema78;
521
+ slug: Schema79;
522
+ tenantId: Schema80;
523
+ description: Schema81;
524
+ authorization: ServerAuthorizationOutput;
525
+ transportConfig: Schema85;
526
+ oauthClientConfiguration: Schema106;
527
+ oauthMetadata: Schema112;
528
+ visibility: ServerVisibility;
529
+ isEnabled: Schema116;
530
+ lastToolRefreshAt: Schema117;
531
+ timeoutProtocol: Schema118;
532
+ timeoutTotal: Schema119;
533
+ resetTimeoutOnProgressNotification: Schema120;
534
+ isOutputCompressionEnabled: Schema121;
535
+ isOutputCompressionTransformEnabled: Schema122;
536
+ outputCompressionThresholdBytes: Schema123;
537
+ firewallRules: Schema124;
538
+ createdAt: Schema125;
539
+ updatedAt: Schema126;
540
+ };
541
+ type CredentialDtoV2 = {
542
+ id: Schema128;
543
+ tenantId: Schema129;
544
+ scope: Schema130;
545
+ userId: Schema131;
546
+ profileId: Schema132;
547
+ lastUsedAt: Schema133;
548
+ authorizedAt: Schema134;
549
+ type: Schema135;
550
+ createdAt: Schema136;
551
+ updatedAt: Schema137;
552
+ serverSlug: Schema138;
553
+ userEmail: Schema139;
554
+ userName: Schema140;
555
+ profileName: Schema141;
556
+ };
557
+ type ServerCredentialsOuth = {
558
+ type: Schema142;
559
+ tokenSet: Schema143;
560
+ };
561
+ type ServerCredentialsApiKeys = {
562
+ type: Schema144;
563
+ apikeys: Schema145;
564
+ };
565
+ type Schema77 = Array<Server>;
566
+ type Schema78 = string;
567
+ type Schema79 = string;
568
+ type Schema80 = string;
569
+ type Schema81 = string;
570
+ type Schema82 = 'none' | 'oauth' | 'apikey';
571
+ type Schema83 = 'server' | 'user';
572
+ type Schema84 = Array<string>;
573
+ type Schema85 = HttpStreamingTransportConfigOutput | StdioTransportConfigOutput | SseTransportConfigOutput | {
574
+ type: 'self';
575
+ id: string;
576
+ } | HostedTransportConfigOutput;
577
+ type Schema86 = 'httpstreaming';
578
+ type Schema87 = string;
579
+ type Schema88 = Array<[string, string]>;
580
+ type Schema89 = 'stdio';
581
+ type Schema90 = string;
582
+ type Schema91 = string;
583
+ type Schema92 = Array<[string, string]>;
584
+ type Schema93 = 'sse' | 'httpstreaming' | 'stdio';
585
+ type Schema94 = number | null;
586
+ type Schema95 = string | null;
587
+ type Schema96 = {
588
+ cpu?: Schema97;
589
+ memory?: Schema98;
590
+ } | null;
591
+ type Schema97 = string;
592
+ type Schema98 = string;
593
+ type Schema99 = 'sse';
594
+ type Schema100 = string;
595
+ type Schema101 = Array<[string, string]>;
596
+ type Schema102 = 'hosted';
597
+ type Schema103 = 'node24';
598
+ type Schema104 = Array<[string, string]>;
599
+ type Schema105 = {
600
+ cpu?: Schema97;
601
+ memory?: Schema98;
602
+ } | null;
603
+ type Schema106 = null | ServerOAuthClientConfigurationOutput;
604
+ type Schema107 = string;
605
+ type Schema108 = string;
606
+ type Schema109 = 'authorization_code' | 'device_code';
607
+ type Schema110 = 'client_secret_basic' | 'client_secret_post' | 'none' | string;
608
+ type Schema111 = string;
609
+ type Schema112 = null | ServerOAuthMetadataOutput;
610
+ type Schema113 = boolean;
611
+ type Schema114 = {
612
+ id: string;
613
+ availableScopes: Array<string>;
614
+ metadataUrl: string;
615
+ };
616
+ type Schema115 = {
617
+ issuer: string;
618
+ authorizeEndpoint: string;
619
+ deviceAuthorizationEndpoint: string;
620
+ tokenEndpoint: string;
621
+ extraAuthorizationParameters: string;
622
+ registrationEndpoint?: string;
623
+ supportsPKCE: boolean;
624
+ supportedClientAuthMethods: Array<string>;
625
+ supportsDynamicClientRegistration: boolean;
626
+ noDynamicClientRegistrationReason?: string | null;
627
+ serviceDocumentation: string;
628
+ metadataUrl: string;
629
+ availableScopes: Array<string>;
630
+ };
631
+ type Schema116 = boolean;
632
+ type Schema117 = string | null;
633
+ type Schema118 = number;
634
+ type Schema119 = number;
635
+ type Schema120 = boolean;
636
+ type Schema121 = boolean;
637
+ type Schema122 = boolean;
638
+ type Schema123 = number;
639
+ type Schema124 = Array<{
680
640
  /**
681
- * Maximum number of retry attempts before giving up.
641
+ * CEL representing the condition
682
642
  */
683
- sseMaxRetryAttempts?: number;
643
+ condition: string;
644
+ action: 'deny' | 'modify' | 'log';
645
+ }>;
646
+ type Schema125 = string;
647
+ type Schema126 = string;
648
+ type Schema127 = {
649
+ credentials: Array<CredentialDtoV2>;
650
+ };
651
+ type Schema128 = string;
652
+ type Schema129 = string;
653
+ type Schema130 = 'server' | 'user' | 'profile';
654
+ type Schema131 = string | null;
655
+ type Schema132 = string | null;
656
+ type Schema133 = string | null;
657
+ type Schema134 = string;
658
+ type Schema135 = 'oauth' | 'apikey';
659
+ type Schema136 = string;
660
+ type Schema137 = string;
661
+ type Schema138 = string;
662
+ type Schema139 = string | null;
663
+ type Schema140 = string | null;
664
+ type Schema141 = string | null;
665
+ type Schema142 = 'oauth';
666
+ type Schema143 = {
667
+ accessToken: string;
668
+ accessTokenExpiresAt?: number;
669
+ idToken?: string;
670
+ refreshToken?: string;
671
+ };
672
+ type Schema144 = 'apikey';
673
+ type Schema145 = Array<[string, string]>;
674
+ type ServerAuthorizationOutput = {
675
+ method: Schema82;
676
+ credentialsScope: Schema83;
677
+ apikeys?: Schema84;
678
+ };
679
+ type HttpStreamingTransportConfigOutput = {
680
+ type: Schema86;
681
+ url: Schema87;
682
+ headers?: Schema88;
683
+ };
684
+ type StdioTransportConfigOutput = {
685
+ type: Schema89;
686
+ command: Schema90;
687
+ dockerImage?: Schema91;
688
+ env?: Schema92;
689
+ transport: Schema93;
690
+ httpPort?: Schema94;
691
+ urlPath?: Schema95;
692
+ limits?: Schema96;
693
+ };
694
+ type SseTransportConfigOutput = {
695
+ type: Schema99;
696
+ url: Schema100;
697
+ headers?: Schema101;
698
+ };
699
+ type HostedTransportConfigOutput = {
700
+ type: Schema102;
701
+ runtime: Schema103;
702
+ env?: Schema104;
703
+ limits?: Schema105;
704
+ };
705
+ type ServerOAuthClientConfigurationOutput = {
706
+ clientId: Schema107;
707
+ clientSecret: Schema108;
708
+ grantType: Schema109;
709
+ clientAuthMethod: Schema110;
710
+ scopes: Schema111;
711
+ };
712
+ type ServerOAuthMetadataOutput = {
713
+ requiresAuthorization: Schema113;
714
+ resource?: Schema114;
715
+ as?: Schema115;
716
+ };
717
+ type GetServersData = {
718
+ body?: never;
719
+ path?: never;
720
+ query?: never;
721
+ url: '/servers';
722
+ };
723
+ type GetServersResponses = {
684
724
  /**
685
- * Maximum retry delay in milliseconds.
686
- *
687
- * Applies only when exponential backoff is used.
688
- *
689
- * This option applies only if the endpoint returns a stream of events.
690
- *
691
- * @default 30000
725
+ * Successful response
692
726
  */
693
- sseMaxRetryDelay?: number;
727
+ 200: V2ListServersResponse;
728
+ };
729
+ type GetServersResponse = GetServersResponses[keyof GetServersResponses];
730
+ type PostServersData = {
731
+ body?: V2CreateServerRequest;
732
+ path?: never;
733
+ query?: never;
734
+ url: '/servers';
735
+ };
736
+ type PostServersResponses = {
694
737
  /**
695
- * Optional sleep function for retry backoff.
696
- *
697
- * Defaults to using `setTimeout`.
738
+ * Successful response
698
739
  */
699
- sseSleepFn?: (ms: number) => Promise<void>;
700
- url: string;
740
+ 200: Server;
701
741
  };
702
- interface StreamEvent<TData = unknown> {
703
- data: TData;
704
- event?: string;
705
- id?: string;
706
- retry?: number;
707
- }
708
- type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
709
- stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
742
+ type PostServersResponse = PostServersResponses[keyof PostServersResponses];
743
+ type DeleteServersBySlugData = {
744
+ body?: never;
745
+ path: {
746
+ slug: Schema52;
747
+ };
748
+ query?: never;
749
+ url: '/servers/{slug}';
710
750
  };
711
- //#endregion
712
- //#region src/apiv2/client/utils.gen.d.ts
713
- type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
714
- type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
715
- type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
716
- declare class Interceptors<Interceptor> {
717
- _fns: (Interceptor | null)[];
718
- constructor();
719
- clear(): void;
720
- getInterceptorIndex(id: number | Interceptor): number;
721
- exists(id: number | Interceptor): boolean;
722
- eject(id: number | Interceptor): void;
723
- update(id: number | Interceptor, fn: Interceptor): number | false | Interceptor;
724
- use(fn: Interceptor): number;
725
- }
726
- interface Middleware<Req, Res, Err, Options> {
727
- error: Pick<Interceptors<ErrInterceptor<Err, Res, Req, Options>>, 'eject' | 'use'>;
728
- request: Pick<Interceptors<ReqInterceptor<Req, Options>>, 'eject' | 'use'>;
729
- response: Pick<Interceptors<ResInterceptor<Res, Req, Options>>, 'eject' | 'use'>;
730
- }
731
- //#endregion
732
- //#region src/apiv2/client/types.gen.d.ts
733
- type ResponseStyle = 'data' | 'fields';
734
- interface Config<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
751
+ type DeleteServersBySlugResponses = {
735
752
  /**
736
- * Base URL for all requests made by this client.
753
+ * Successful response
737
754
  */
738
- baseUrl?: T['baseUrl'];
755
+ 200: unknown;
756
+ };
757
+ type GetServersBySlugData = {
758
+ body?: never;
759
+ path: {
760
+ slug: Schema52;
761
+ };
762
+ query?: never;
763
+ url: '/servers/{slug}';
764
+ };
765
+ type GetServersBySlugResponses = {
739
766
  /**
740
- * Fetch API implementation. You can use this option to provide a custom
741
- * fetch instance.
742
- *
743
- * @default globalThis.fetch
767
+ * Successful response
744
768
  */
745
- fetch?: typeof fetch;
769
+ 200: Server;
770
+ };
771
+ type GetServersBySlugResponse = GetServersBySlugResponses[keyof GetServersBySlugResponses];
772
+ type PatchServersBySlugData = {
773
+ body?: V2PatchServerRequest;
774
+ path: {
775
+ slug: Schema52;
776
+ };
777
+ query?: never;
778
+ url: '/servers/{slug}';
779
+ };
780
+ type PatchServersBySlugResponses = {
746
781
  /**
747
- * Please don't use the Fetch client for Next.js applications. The `next`
748
- * options won't have any effect.
749
- *
750
- * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
782
+ * Successful response
751
783
  */
752
- next?: never;
784
+ 200: Server;
785
+ };
786
+ type PatchServersBySlugResponse = PatchServersBySlugResponses[keyof PatchServersBySlugResponses];
787
+ type PutServersBySlugData = {
788
+ body?: V2UpdateServerRequest;
789
+ path: {
790
+ slug: Schema52;
791
+ };
792
+ query?: never;
793
+ url: '/servers/{slug}';
794
+ };
795
+ type PutServersBySlugResponses = {
753
796
  /**
754
- * Return the response data parsed in a specified format. By default, `auto`
755
- * will infer the appropriate method from the `Content-Type` response header.
756
- * You can override this behavior with any of the {@link Body} methods.
757
- * Select `stream` if you don't want to parse response data at all.
758
- *
759
- * @default 'auto'
797
+ * Successful response
760
798
  */
761
- parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
799
+ 200: Server;
800
+ };
801
+ type PutServersBySlugResponse = PutServersBySlugResponses[keyof PutServersBySlugResponses];
802
+ type GetCredentialsData = {
803
+ body?: never;
804
+ path?: never;
805
+ query?: {
806
+ /**
807
+ * Optional slug of the server to filter credentials by
808
+ */
809
+ serverSlug?: Schema76;
810
+ };
811
+ url: '/credentials';
812
+ };
813
+ type GetCredentialsResponses = {
762
814
  /**
763
- * Should we return only data or multiple fields (data, error, response, etc.)?
764
- *
765
- * @default 'fields'
815
+ * Successful response
766
816
  */
767
- responseStyle?: ResponseStyle;
817
+ 200: Schema127;
818
+ };
819
+ type GetCredentialsResponse = GetCredentialsResponses[keyof GetCredentialsResponses];
820
+ type DeleteCredentialsByIdData = {
821
+ body?: never;
822
+ path: {
823
+ id: string;
824
+ };
825
+ query?: never;
826
+ url: '/credentials/{id}';
827
+ };
828
+ type DeleteCredentialsByIdResponses = {
768
829
  /**
769
- * Throw an error instead of returning it in the response?
770
- *
771
- * @default false
830
+ * Successful response
772
831
  */
773
- throwOnError?: T['throwOnError'];
774
- }
775
- interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
776
- responseStyle: TResponseStyle;
777
- throwOnError: ThrowOnError;
778
- }>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
832
+ 200: Schema127;
833
+ };
834
+ type DeleteCredentialsByIdResponse = DeleteCredentialsByIdResponses[keyof DeleteCredentialsByIdResponses];
835
+ type GetCredentialsByIdData = {
836
+ body?: never;
837
+ path: {
838
+ id: string;
839
+ };
840
+ query?: never;
841
+ url: '/credentials/{id}';
842
+ };
843
+ type GetCredentialsByIdResponses = {
779
844
  /**
780
- * Any body that you want to add to your request.
781
- *
782
- * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
845
+ * Successful response
783
846
  */
784
- body?: unknown;
785
- path?: Record<string, unknown>;
786
- query?: Record<string, unknown>;
847
+ 200: CredentialDtoV2;
848
+ };
849
+ type GetCredentialsByIdResponse = GetCredentialsByIdResponses[keyof GetCredentialsByIdResponses];
850
+ type GetCredentialsByIdSecretData = {
851
+ body?: never;
852
+ path: {
853
+ id: string;
854
+ };
855
+ query?: never;
856
+ url: '/credentials/{id}/secret';
857
+ };
858
+ type GetCredentialsByIdSecretResponses = {
787
859
  /**
788
- * Security mechanism(s) to use for the request.
860
+ * Successful response
789
861
  */
790
- security?: ReadonlyArray<Auth>;
791
- url: Url;
792
- }
793
- interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
794
- serializedBody?: string;
795
- }
796
- type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
797
- data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
798
- request: Request;
799
- response: Response;
800
- }> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
801
- data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
802
- error: undefined;
803
- } | {
804
- data: undefined;
805
- error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
806
- }) & {
807
- request: Request;
808
- response: Response;
809
- }>;
810
- interface ClientOptions {
811
- baseUrl?: string;
812
- responseStyle?: ResponseStyle;
813
- throwOnError?: boolean;
814
- }
815
- type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
816
- type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
817
- type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
818
- type BuildUrlFn = <TData extends {
819
- body?: unknown;
820
- path?: Record<string, unknown>;
821
- query?: Record<string, unknown>;
822
- url: string;
823
- }>(options: Pick<TData, 'url'> & Options$1<TData>) => string;
824
- type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
825
- interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
862
+ 200: ServerCredentialsOuth | ServerCredentialsApiKeys;
826
863
  };
827
- interface TDataShape {
828
- body?: unknown;
829
- headers?: unknown;
830
- path?: unknown;
831
- query?: unknown;
832
- url: string;
833
- }
834
- type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
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'>;
864
+ type GetCredentialsByIdSecretResponse = GetCredentialsByIdSecretResponses[keyof GetCredentialsByIdSecretResponses];
836
865
  declare namespace sdk_gen_d_exports {
837
866
  export { Options, deleteCredentialsById, deleteServersBySlug, getCredentials, getCredentialsById, getCredentialsByIdSecret, getServers, getServersBySlug, patchServersBySlug, postServers, putServersBySlug };
838
867
  }
839
- type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
868
+ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
840
869
  /**
841
870
  * You can provide a client instance returned by `createClient()` instead of
842
871
  * individual options. This might be also useful if you want to implement a
@@ -852,31 +881,31 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
852
881
  /**
853
882
  * List all MCP servers the caller has access to.
854
883
  */
855
- declare const getServers: <ThrowOnError extends boolean = true>(options?: Options<GetServersData, ThrowOnError>) => any;
884
+ declare const getServers: <ThrowOnError extends boolean = true>(options?: Options<GetServersData, ThrowOnError>) => RequestResult<GetServersResponses, unknown, ThrowOnError, "fields">;
856
885
  /**
857
886
  * Create a new MCP server. Requires `slug` and `transportConfig`. All other fields are optional with sensible defaults. Read-only fields are silently ignored.
858
887
  */
859
- declare const postServers: <ThrowOnError extends boolean = true>(options?: Options<PostServersData, ThrowOnError>) => any;
888
+ declare const postServers: <ThrowOnError extends boolean = true>(options?: Options<PostServersData, ThrowOnError>) => RequestResult<PostServersResponses, unknown, ThrowOnError, "fields">;
860
889
  /**
861
890
  * Delete an MCP server.
862
891
  */
863
- declare const deleteServersBySlug: <ThrowOnError extends boolean = true>(options: Options<DeleteServersBySlugData, ThrowOnError>) => any;
892
+ declare const deleteServersBySlug: <ThrowOnError extends boolean = true>(options: Options<DeleteServersBySlugData, ThrowOnError>) => RequestResult<DeleteServersBySlugResponses, unknown, ThrowOnError, "fields">;
864
893
  /**
865
894
  * Get a single MCP server. The response body can be PUT back to update the server.
866
895
  */
867
- declare const getServersBySlug: <ThrowOnError extends boolean = true>(options: Options<GetServersBySlugData, ThrowOnError>) => any;
896
+ declare const getServersBySlug: <ThrowOnError extends boolean = true>(options: Options<GetServersBySlugData, ThrowOnError>) => RequestResult<GetServersBySlugResponses, unknown, ThrowOnError, "fields">;
868
897
  /**
869
- * Partially update an MCP server using JSON Merge Patch (RFC 7396). Send only the fields to change. Explicit `null` clears nullable fields (logoUrl, oauthMetadata, oauthClientConfiguration). Absent fields are untouched. Read-only fields are silently ignored.
898
+ * 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.
870
899
  */
871
- declare const patchServersBySlug: <ThrowOnError extends boolean = true>(options: Options<PatchServersBySlugData, ThrowOnError>) => any;
900
+ declare const patchServersBySlug: <ThrowOnError extends boolean = true>(options: Options<PatchServersBySlugData, ThrowOnError>) => RequestResult<PatchServersBySlugResponses, unknown, ThrowOnError, "fields">;
872
901
  /**
873
902
  * 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.
874
903
  */
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;
904
+ declare const putServersBySlug: <ThrowOnError extends boolean = true>(options: Options<PutServersBySlugData, ThrowOnError>) => RequestResult<PutServersBySlugResponses, unknown, ThrowOnError, "fields">;
905
+ declare const getCredentials: <ThrowOnError extends boolean = true>(options?: Options<GetCredentialsData, ThrowOnError>) => RequestResult<GetCredentialsResponses, unknown, ThrowOnError, "fields">;
906
+ declare const deleteCredentialsById: <ThrowOnError extends boolean = true>(options: Options<DeleteCredentialsByIdData, ThrowOnError>) => RequestResult<DeleteCredentialsByIdResponses, unknown, ThrowOnError, "fields">;
907
+ declare const getCredentialsById: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdData, ThrowOnError>) => RequestResult<GetCredentialsByIdResponses, unknown, ThrowOnError, "fields">;
908
+ declare const getCredentialsByIdSecret: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdSecretData, ThrowOnError>) => RequestResult<GetCredentialsByIdSecretResponses, unknown, ThrowOnError, "fields">;
880
909
  //#endregion
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-6_NSk1dc.d.cts.map
910
+ export { Schema102 as $, Schema7 as $n, Schema20 as $t, GetServersBySlugResponse as A, Schema49 as An, Schema98 as Ar, Schema130 as At, PatchServersBySlugResponse as B, Schema58 as Bn, ServerOAuthMetadataOutput as Br, Schema14 as Bt, GetCredentialsByIdSecretData as C, Schema42 as Cn, Schema91 as Cr, Schema124 as Ct, GetCredentialsResponse as D, Schema46 as Dn, Schema95 as Dr, Schema128 as Dt, GetCredentialsData as E, Schema45 as En, Schema94 as Er, Schema127 as Et, HostedTransportConfig as F, Schema53 as Fn, ServerCredentialsApiKeys as Fr, Schema135 as Ft, PutServersBySlugData as G, Schema62 as Gn, StdioTransportConfigOutput as Gr, Schema144 as Gt, PostServersData as H, Schema6 as Hn, SseTransportConfig as Hr, Schema141 as Ht, HostedTransportConfigOutput as I, Schema54 as In, ServerCredentialsOuth as Ir, Schema136 as It, Schema0 as J, Schema65 as Jn, V2PatchServerRequest as Jr, Schema16 as Jt, PutServersBySlugResponse as K, Schema63 as Kn, V2CreateServerRequest as Kr, Schema145 as Kt, HttpStreamingTransportConfig as L, Schema55 as Ln, ServerOAuthClientConfiguration as Lr, Schema137 as Lt, GetServersData as M, Schema50 as Mn, Server as Mr, Schema132 as Mt, GetServersResponse as N, Schema51 as Nn, ServerAuthorization as Nr, Schema133 as Nt, GetCredentialsResponses as O, Schema47 as On, Schema96 as Or, Schema129 as Ot, GetServersResponses as P, Schema52 as Pn, ServerAuthorizationOutput as Pr, Schema134 as Pt, Schema101 as Q, Schema69 as Qn, Schema2 as Qt, HttpStreamingTransportConfigOutput as R, Schema56 as Rn, ServerOAuthClientConfigurationOutput as Rr, Schema138 as Rt, GetCredentialsByIdResponses as S, Schema41 as Sn, Schema90 as Sr, Schema123 as St, GetCredentialsByIdSecretResponses as T, Schema44 as Tn, Schema93 as Tr, Schema126 as Tt, PostServersResponse as U, Schema60 as Un, SseTransportConfigOutput as Ur, Schema142 as Ut, PatchServersBySlugResponses as V, Schema59 as Vn, ServerVisibility as Vr, Schema140 as Vt, PostServersResponses as W, Schema61 as Wn, StdioTransportConfig as Wr, Schema143 as Wt, Schema10 as X, Schema67 as Xn, V2UpdateServerRequest as Xr, Schema18 as Xt, Schema1 as Y, Schema66 as Yn, V2ServerDto as Yr, Schema17 as Yt, Schema100 as Z, Schema68 as Zn, Schema19 as Zt, DeleteCredentialsByIdResponses as _, Schema37 as _n, Schema86 as _r, Schema119 as _t, getCredentialsById as a, Schema26 as an, Schema75 as ar, Schema108 as at, GetCredentialsByIdData as b, Schema4 as bn, Schema89 as br, Schema121 as bt, getServersBySlug as c, Schema29 as cn, Schema78 as cr, Schema110 as ct, putServersBySlug as d, Schema31 as dn, Schema80 as dr, Schema113 as dt, Schema21 as en, Schema70 as er, Schema103 as et, sdk_gen_d_exports as f, Schema32 as fn, Schema81 as fr, Schema114 as ft, DeleteCredentialsByIdResponse as g, Schema36 as gn, Schema85 as gr, Schema118 as gt, DeleteCredentialsByIdData as h, Schema35 as hn, Schema84 as hr, Schema117 as ht, getCredentials as i, Schema25 as in, Schema74 as ir, Schema107 as it, GetServersBySlugResponses as j, Schema5 as jn, Schema99 as jr, Schema131 as jt, GetServersBySlugData as k, Schema48 as kn, Schema97 as kr, Schema13 as kt, patchServersBySlug as l, Schema3 as ln, Schema79 as lr, Schema111 as lt, CredentialDtoV2 as m, Schema34 as mn, Schema83 as mr, Schema116 as mt, deleteCredentialsById as n, Schema23 as nn, Schema72 as nr, Schema105 as nt, getCredentialsByIdSecret as o, Schema27 as on, Schema76 as or, Schema109 as ot, ClientOptions as p, Schema33 as pn, Schema82 as pr, Schema115 as pt, PutServersBySlugResponses as q, Schema64 as qn, V2ListServersResponse as qr, Schema15 as qt, deleteServersBySlug as r, Schema24 as rn, Schema73 as rr, Schema106 as rt, getServers as s, Schema28 as sn, Schema77 as sr, Schema11 as st, Options as t, Schema22 as tn, Schema71 as tr, Schema104 as tt, postServers as u, Schema30 as un, Schema8 as ur, Schema112 as ut, DeleteServersBySlugData as v, Schema38 as vn, Schema87 as vr, Schema12 as vt, GetCredentialsByIdSecretResponse as w, Schema43 as wn, Schema92 as wr, Schema125 as wt, GetCredentialsByIdResponse as x, Schema40 as xn, Schema9 as xr, Schema122 as xt, DeleteServersBySlugResponses as y, Schema39 as yn, Schema88 as yr, Schema120 as yt, PatchServersBySlugData as z, Schema57 as zn, ServerOAuthMetadata as zr, Schema139 as zt };
911
+ //# sourceMappingURL=sdk.gen-D95pVzAJ.d.cts.map