gatana-sdk 2.3.7 → 2.3.9
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 +4 -1
- 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.d.cts +2 -2
- package/dist/apiv2/index.d.mts +2 -2
- package/dist/index.cjs +13 -12
- package/dist/index.d.cts +4 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +13 -12
- package/dist/index.mjs.map +1 -1
- package/dist/{sdk.gen-B08PtmWt.mjs → sdk.gen-B5HNJH3y.mjs} +45 -2
- package/dist/sdk.gen-B5HNJH3y.mjs.map +1 -0
- package/dist/{sdk.gen-csnWJM8D.cjs → sdk.gen-B_k9Vt0B.cjs} +61 -0
- package/dist/{sdk.gen-Dht9YCt7.d.cts → sdk.gen-BfbbIXIn.d.cts} +1290 -1072
- package/dist/sdk.gen-BfbbIXIn.d.cts.map +1 -0
- package/dist/{sdk.gen-C7m5ifPf.d.mts → sdk.gen-BlL_JhaF.d.mts} +353 -273
- package/dist/sdk.gen-BlL_JhaF.d.mts.map +1 -0
- package/dist/sdk.gen-DUNHa0uM.mjs.map +1 -1
- package/dist/{sdk.gen-HYXy4J4h.d.cts → sdk.gen-Dnt5grWk.d.cts} +353 -273
- package/dist/sdk.gen-Dnt5grWk.d.cts.map +1 -0
- package/dist/{sdk.gen-fSpMLXuX.d.mts → sdk.gen-cu6fHqHG.d.mts} +1290 -1072
- package/dist/sdk.gen-cu6fHqHG.d.mts.map +1 -0
- package/package.json +1 -1
- package/dist/sdk.gen-B08PtmWt.mjs.map +0 -1
- package/dist/sdk.gen-C7m5ifPf.d.mts.map +0 -1
- package/dist/sdk.gen-Dht9YCt7.d.cts.map +0 -1
- package/dist/sdk.gen-HYXy4J4h.d.cts.map +0 -1
- package/dist/sdk.gen-fSpMLXuX.d.mts.map +0 -1
|
@@ -314,25 +314,26 @@ type ClientOptions = {
|
|
|
314
314
|
};
|
|
315
315
|
type V2CreateServerRequest = {
|
|
316
316
|
slug: Schema0;
|
|
317
|
-
transportConfig
|
|
318
|
-
|
|
317
|
+
transportConfig?: Schema1;
|
|
318
|
+
transportConfigType?: Schema29;
|
|
319
|
+
description?: Schema30;
|
|
319
320
|
authorization?: ServerAuthorization;
|
|
320
|
-
oauthMetadata?:
|
|
321
|
-
oauthClientConfiguration?:
|
|
322
|
-
isEnabled?:
|
|
323
|
-
timeoutProtocol?:
|
|
324
|
-
timeoutTotal?:
|
|
325
|
-
resetTimeoutOnProgressNotification?:
|
|
326
|
-
isOutputCompressionEnabled?:
|
|
327
|
-
isOutputCompressionTransformEnabled?:
|
|
328
|
-
outputCompressionThresholdBytes?:
|
|
329
|
-
firewallRules?:
|
|
321
|
+
oauthMetadata?: Schema36;
|
|
322
|
+
oauthClientConfiguration?: Schema39;
|
|
323
|
+
isEnabled?: Schema44;
|
|
324
|
+
timeoutProtocol?: Schema45;
|
|
325
|
+
timeoutTotal?: Schema46;
|
|
326
|
+
resetTimeoutOnProgressNotification?: Schema47;
|
|
327
|
+
isOutputCompressionEnabled?: Schema48;
|
|
328
|
+
isOutputCompressionTransformEnabled?: Schema49;
|
|
329
|
+
outputCompressionThresholdBytes?: Schema50;
|
|
330
|
+
firewallRules?: Schema51;
|
|
330
331
|
visibility?: ServerVisibility;
|
|
331
|
-
id?:
|
|
332
|
-
tenantId?:
|
|
333
|
-
lastToolRefreshAt?:
|
|
334
|
-
createdAt?:
|
|
335
|
-
updatedAt?:
|
|
332
|
+
id?: Schema54;
|
|
333
|
+
tenantId?: Schema55;
|
|
334
|
+
lastToolRefreshAt?: Schema56;
|
|
335
|
+
createdAt?: Schema57;
|
|
336
|
+
updatedAt?: Schema58;
|
|
336
337
|
};
|
|
337
338
|
type HttpStreamingTransportConfig = {
|
|
338
339
|
type: Schema2;
|
|
@@ -347,63 +348,77 @@ type StdioTransportConfig = {
|
|
|
347
348
|
transport: Schema9;
|
|
348
349
|
httpPort?: Schema10;
|
|
349
350
|
urlPath?: Schema11;
|
|
350
|
-
|
|
351
|
+
healthCheck?: Schema12;
|
|
352
|
+
limits?: Schema13;
|
|
351
353
|
};
|
|
352
354
|
type SseTransportConfig = {
|
|
353
|
-
type:
|
|
354
|
-
url:
|
|
355
|
-
headers?:
|
|
355
|
+
type: Schema16;
|
|
356
|
+
url: Schema17;
|
|
357
|
+
headers?: Schema18;
|
|
356
358
|
};
|
|
357
359
|
type HostedTransportConfig = {
|
|
358
|
-
type:
|
|
359
|
-
runtime:
|
|
360
|
-
env?:
|
|
361
|
-
limits?:
|
|
360
|
+
type: Schema19;
|
|
361
|
+
runtime: Schema20;
|
|
362
|
+
env?: Schema21;
|
|
363
|
+
limits?: Schema22;
|
|
362
364
|
};
|
|
363
|
-
type
|
|
365
|
+
type OpenApiTransportConfig = {
|
|
366
|
+
type: Schema23;
|
|
364
367
|
method: Schema24;
|
|
365
|
-
|
|
366
|
-
|
|
368
|
+
specUrl?: Schema25;
|
|
369
|
+
spec?: Schema26;
|
|
370
|
+
baseUrl?: Schema27;
|
|
371
|
+
headers?: Schema28;
|
|
372
|
+
};
|
|
373
|
+
type ServerAuthorization = {
|
|
374
|
+
method: Schema32;
|
|
375
|
+
credentialsScope: Schema33;
|
|
376
|
+
apikeys?: Schema34;
|
|
377
|
+
toolRefreshCredentialPolicy?: ToolRefreshCredentialPolicy;
|
|
367
378
|
};
|
|
379
|
+
/**
|
|
380
|
+
* Controls how tool refresh is authorized. "server-scoped" means only server-scoped credentials are required, "skip" means refresh is done without authorization, and "any" means any available credentials (server, user, profile) can be used. Defaults to "server-scoped".
|
|
381
|
+
*/
|
|
382
|
+
type ToolRefreshCredentialPolicy = Schema35;
|
|
368
383
|
type ServerOAuthMetadata = {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
as?: Schema30;
|
|
384
|
+
resource?: Schema37;
|
|
385
|
+
as?: Schema38;
|
|
372
386
|
};
|
|
373
387
|
type ServerOAuthClientConfiguration = {
|
|
374
|
-
clientId?:
|
|
375
|
-
clientSecret?:
|
|
376
|
-
grantType:
|
|
377
|
-
clientAuthMethod:
|
|
378
|
-
scopes?:
|
|
388
|
+
clientId?: Schema40;
|
|
389
|
+
clientSecret?: Schema41;
|
|
390
|
+
grantType: OAuthGrantType;
|
|
391
|
+
clientAuthMethod: Schema42;
|
|
392
|
+
scopes?: Schema43;
|
|
379
393
|
};
|
|
394
|
+
type OAuthGrantType = 'authorization_code' | 'device_code';
|
|
380
395
|
type ServerVisibility = 'private' | 'organization';
|
|
381
396
|
type V2UpdateServerRequest = {
|
|
382
|
-
slug?:
|
|
383
|
-
description?:
|
|
397
|
+
slug?: Schema60;
|
|
398
|
+
description?: Schema61;
|
|
384
399
|
authorization?: ServerAuthorization;
|
|
385
|
-
transportConfig?:
|
|
386
|
-
oauthMetadata?:
|
|
387
|
-
oauthClientConfiguration?:
|
|
388
|
-
isEnabled?:
|
|
389
|
-
timeoutProtocol?:
|
|
390
|
-
timeoutTotal?:
|
|
391
|
-
resetTimeoutOnProgressNotification?:
|
|
392
|
-
isOutputCompressionEnabled?:
|
|
393
|
-
isOutputCompressionTransformEnabled?:
|
|
394
|
-
outputCompressionThresholdBytes?:
|
|
395
|
-
firewallRules?:
|
|
400
|
+
transportConfig?: Schema63;
|
|
401
|
+
oauthMetadata?: Schema64;
|
|
402
|
+
oauthClientConfiguration?: Schema65;
|
|
403
|
+
isEnabled?: Schema66;
|
|
404
|
+
timeoutProtocol?: Schema67;
|
|
405
|
+
timeoutTotal?: Schema68;
|
|
406
|
+
resetTimeoutOnProgressNotification?: Schema69;
|
|
407
|
+
isOutputCompressionEnabled?: Schema70;
|
|
408
|
+
isOutputCompressionTransformEnabled?: Schema71;
|
|
409
|
+
outputCompressionThresholdBytes?: Schema72;
|
|
410
|
+
firewallRules?: Schema73;
|
|
396
411
|
visibility?: ServerVisibility;
|
|
397
|
-
id?:
|
|
398
|
-
tenantId?:
|
|
399
|
-
name?:
|
|
400
|
-
lastToolRefreshAt?:
|
|
401
|
-
createdAt?:
|
|
402
|
-
updatedAt?:
|
|
403
|
-
};
|
|
404
|
-
type V2PatchServerRequest = { [key in
|
|
412
|
+
id?: Schema75;
|
|
413
|
+
tenantId?: Schema76;
|
|
414
|
+
name?: Schema77;
|
|
415
|
+
lastToolRefreshAt?: Schema78;
|
|
416
|
+
createdAt?: Schema79;
|
|
417
|
+
updatedAt?: Schema80;
|
|
418
|
+
};
|
|
419
|
+
type V2PatchServerRequest = { [key in Schema81]?: Schema82 };
|
|
405
420
|
type Schema0 = string;
|
|
406
|
-
type Schema1 = HttpStreamingTransportConfig | StdioTransportConfig | SseTransportConfig | HostedTransportConfig;
|
|
421
|
+
type Schema1 = HttpStreamingTransportConfig | StdioTransportConfig | SseTransportConfig | HostedTransportConfig | OpenApiTransportConfig;
|
|
407
422
|
type Schema2 = 'httpstreaming';
|
|
408
423
|
type Schema3 = string;
|
|
409
424
|
type Schema4 = Array<[string, string]>;
|
|
@@ -415,34 +430,48 @@ type Schema9 = 'sse' | 'httpstreaming' | 'stdio';
|
|
|
415
430
|
type Schema10 = number | null;
|
|
416
431
|
type Schema11 = string | null;
|
|
417
432
|
type Schema12 = {
|
|
418
|
-
|
|
419
|
-
|
|
433
|
+
enabled: boolean;
|
|
434
|
+
url?: string;
|
|
435
|
+
delaySeconds: number | null;
|
|
436
|
+
intervalSeconds: number | null;
|
|
437
|
+
failureThreshold: number | null;
|
|
438
|
+
};
|
|
439
|
+
type Schema13 = {
|
|
440
|
+
cpu?: Schema14;
|
|
441
|
+
memory?: Schema15;
|
|
420
442
|
} | null;
|
|
421
|
-
type Schema13 = string;
|
|
422
443
|
type Schema14 = string;
|
|
423
|
-
type Schema15 =
|
|
424
|
-
type Schema16 =
|
|
425
|
-
type Schema17 =
|
|
426
|
-
type Schema18 =
|
|
427
|
-
type Schema19 = '
|
|
428
|
-
type Schema20 =
|
|
429
|
-
type Schema21 =
|
|
430
|
-
|
|
431
|
-
|
|
444
|
+
type Schema15 = string;
|
|
445
|
+
type Schema16 = 'sse';
|
|
446
|
+
type Schema17 = string;
|
|
447
|
+
type Schema18 = Array<[string, string]>;
|
|
448
|
+
type Schema19 = 'hosted';
|
|
449
|
+
type Schema20 = 'node24';
|
|
450
|
+
type Schema21 = Array<[string, string]>;
|
|
451
|
+
type Schema22 = {
|
|
452
|
+
cpu?: Schema14;
|
|
453
|
+
memory?: Schema15;
|
|
432
454
|
} | null;
|
|
433
|
-
type
|
|
434
|
-
type
|
|
435
|
-
type
|
|
436
|
-
type
|
|
437
|
-
type
|
|
438
|
-
type
|
|
439
|
-
type
|
|
440
|
-
type
|
|
455
|
+
type Schema23 = 'openapi';
|
|
456
|
+
type Schema24 = 'specUrl' | 'spec';
|
|
457
|
+
type Schema25 = string | '';
|
|
458
|
+
type Schema26 = string;
|
|
459
|
+
type Schema27 = string | '';
|
|
460
|
+
type Schema28 = Array<[string, string]>;
|
|
461
|
+
type Schema29 = 'httpstreaming' | 'sse' | 'stdio' | 'hosted' | 'openapi';
|
|
462
|
+
type Schema30 = string;
|
|
463
|
+
type Schema31 = ServerAuthorization;
|
|
464
|
+
type Schema32 = 'none' | 'oauth' | 'oauth-client-credentials' | 'apikey';
|
|
465
|
+
type Schema33 = 'server' | 'user';
|
|
466
|
+
type Schema34 = Array<string>;
|
|
467
|
+
type Schema35 = 'server-scoped' | 'skip' | 'any';
|
|
468
|
+
type Schema36 = ServerOAuthMetadata | null;
|
|
469
|
+
type Schema37 = {
|
|
441
470
|
id?: string;
|
|
442
471
|
availableScopes?: Array<string>;
|
|
443
472
|
metadataUrl?: string;
|
|
444
473
|
};
|
|
445
|
-
type
|
|
474
|
+
type Schema38 = {
|
|
446
475
|
issuer?: string;
|
|
447
476
|
authorizeEndpoint?: string;
|
|
448
477
|
deviceAuthorizationEndpoint?: string;
|
|
@@ -457,162 +486,189 @@ type Schema30 = {
|
|
|
457
486
|
metadataUrl?: string;
|
|
458
487
|
availableScopes?: Array<string>;
|
|
459
488
|
};
|
|
460
|
-
type
|
|
461
|
-
type
|
|
462
|
-
type
|
|
463
|
-
type
|
|
464
|
-
type
|
|
465
|
-
type
|
|
466
|
-
type
|
|
467
|
-
type
|
|
468
|
-
type
|
|
469
|
-
type
|
|
470
|
-
type
|
|
471
|
-
type
|
|
472
|
-
type
|
|
473
|
-
type
|
|
474
|
-
type Schema45 = {
|
|
489
|
+
type Schema39 = ServerOAuthClientConfiguration | null;
|
|
490
|
+
type Schema40 = string;
|
|
491
|
+
type Schema41 = string;
|
|
492
|
+
type Schema42 = 'client_secret_basic' | 'client_secret_post' | 'none' | string;
|
|
493
|
+
type Schema43 = string;
|
|
494
|
+
type Schema44 = boolean;
|
|
495
|
+
type Schema45 = number;
|
|
496
|
+
type Schema46 = number;
|
|
497
|
+
type Schema47 = boolean;
|
|
498
|
+
type Schema48 = boolean;
|
|
499
|
+
type Schema49 = boolean;
|
|
500
|
+
type Schema50 = number;
|
|
501
|
+
type Schema51 = Array<Schema52>;
|
|
502
|
+
type Schema52 = {
|
|
475
503
|
/**
|
|
476
504
|
* CEL representing the condition
|
|
477
505
|
*/
|
|
478
506
|
condition: string;
|
|
479
507
|
action: 'deny' | 'modify' | 'log';
|
|
480
508
|
};
|
|
481
|
-
type
|
|
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;
|
|
509
|
+
type Schema53 = ServerVisibility;
|
|
489
510
|
type Schema54 = string;
|
|
490
|
-
type Schema55 =
|
|
491
|
-
type Schema56 =
|
|
511
|
+
type Schema55 = string;
|
|
512
|
+
type Schema56 = string | null;
|
|
513
|
+
type Schema57 = string;
|
|
514
|
+
type Schema58 = string;
|
|
515
|
+
type Schema59 = string;
|
|
516
|
+
type Schema60 = string;
|
|
517
|
+
type Schema61 = string;
|
|
518
|
+
type Schema62 = ServerAuthorization;
|
|
519
|
+
type Schema63 = HttpStreamingTransportConfig | StdioTransportConfig | SseTransportConfig | {
|
|
492
520
|
type: 'self';
|
|
493
521
|
id: string;
|
|
494
|
-
} | HostedTransportConfig;
|
|
495
|
-
type
|
|
496
|
-
type
|
|
497
|
-
type
|
|
498
|
-
type
|
|
499
|
-
type
|
|
500
|
-
type
|
|
501
|
-
type
|
|
502
|
-
type
|
|
503
|
-
type
|
|
504
|
-
type
|
|
505
|
-
type
|
|
506
|
-
type
|
|
507
|
-
type
|
|
508
|
-
type
|
|
509
|
-
type
|
|
510
|
-
type
|
|
511
|
-
type
|
|
512
|
-
type
|
|
513
|
-
type
|
|
522
|
+
} | HostedTransportConfig | OpenApiTransportConfig;
|
|
523
|
+
type Schema64 = ServerOAuthMetadata | null;
|
|
524
|
+
type Schema65 = ServerOAuthClientConfiguration | null;
|
|
525
|
+
type Schema66 = boolean;
|
|
526
|
+
type Schema67 = number;
|
|
527
|
+
type Schema68 = number;
|
|
528
|
+
type Schema69 = boolean;
|
|
529
|
+
type Schema70 = boolean;
|
|
530
|
+
type Schema71 = boolean;
|
|
531
|
+
type Schema72 = number;
|
|
532
|
+
type Schema73 = Array<Schema52>;
|
|
533
|
+
type Schema74 = ServerVisibility;
|
|
534
|
+
type Schema75 = string;
|
|
535
|
+
type Schema76 = string;
|
|
536
|
+
type Schema77 = string;
|
|
537
|
+
type Schema78 = string | null;
|
|
538
|
+
type Schema79 = string;
|
|
539
|
+
type Schema80 = string;
|
|
540
|
+
type Schema81 = string;
|
|
541
|
+
type Schema82 = unknown;
|
|
514
542
|
type V2ListServersResponse = {
|
|
515
|
-
servers:
|
|
543
|
+
servers: Schema83;
|
|
516
544
|
};
|
|
517
545
|
type V2ServerDto = Server;
|
|
518
546
|
type Server = {
|
|
519
|
-
id:
|
|
520
|
-
slug:
|
|
521
|
-
tenantId:
|
|
522
|
-
description:
|
|
547
|
+
id: Schema84;
|
|
548
|
+
slug: Schema85;
|
|
549
|
+
tenantId: Schema86;
|
|
550
|
+
description: Schema87;
|
|
523
551
|
authorization: ServerAuthorizationOutput;
|
|
524
|
-
transportConfig:
|
|
525
|
-
oauthClientConfiguration:
|
|
526
|
-
oauthMetadata:
|
|
552
|
+
transportConfig: Schema92;
|
|
553
|
+
oauthClientConfiguration: Schema120;
|
|
554
|
+
oauthMetadata: Schema125;
|
|
527
555
|
visibility: ServerVisibility;
|
|
528
|
-
isEnabled:
|
|
529
|
-
lastToolRefreshAt:
|
|
530
|
-
timeoutProtocol:
|
|
531
|
-
timeoutTotal:
|
|
532
|
-
resetTimeoutOnProgressNotification:
|
|
533
|
-
isOutputCompressionEnabled:
|
|
534
|
-
isOutputCompressionTransformEnabled:
|
|
535
|
-
outputCompressionThresholdBytes:
|
|
536
|
-
firewallRules:
|
|
537
|
-
createdAt:
|
|
538
|
-
updatedAt:
|
|
556
|
+
isEnabled: Schema128;
|
|
557
|
+
lastToolRefreshAt: Schema129;
|
|
558
|
+
timeoutProtocol: Schema130;
|
|
559
|
+
timeoutTotal: Schema131;
|
|
560
|
+
resetTimeoutOnProgressNotification: Schema132;
|
|
561
|
+
isOutputCompressionEnabled: Schema133;
|
|
562
|
+
isOutputCompressionTransformEnabled: Schema134;
|
|
563
|
+
outputCompressionThresholdBytes: Schema135;
|
|
564
|
+
firewallRules: Schema136;
|
|
565
|
+
createdAt: Schema137;
|
|
566
|
+
updatedAt: Schema138;
|
|
539
567
|
};
|
|
540
568
|
type CredentialDtoV2 = {
|
|
541
|
-
id:
|
|
542
|
-
tenantId:
|
|
543
|
-
scope:
|
|
544
|
-
userId:
|
|
545
|
-
profileId:
|
|
546
|
-
lastUsedAt:
|
|
547
|
-
authorizedAt:
|
|
548
|
-
type:
|
|
549
|
-
createdAt:
|
|
550
|
-
updatedAt:
|
|
551
|
-
serverSlug:
|
|
552
|
-
userEmail:
|
|
553
|
-
userName:
|
|
554
|
-
profileName:
|
|
555
|
-
};
|
|
556
|
-
type
|
|
557
|
-
type:
|
|
558
|
-
|
|
559
|
-
|
|
569
|
+
id: Schema140;
|
|
570
|
+
tenantId: Schema141;
|
|
571
|
+
scope: Schema142;
|
|
572
|
+
userId: Schema143;
|
|
573
|
+
profileId: Schema144;
|
|
574
|
+
lastUsedAt: Schema145;
|
|
575
|
+
authorizedAt: Schema146;
|
|
576
|
+
type: Schema147;
|
|
577
|
+
createdAt: Schema148;
|
|
578
|
+
updatedAt: Schema149;
|
|
579
|
+
serverSlug: Schema150;
|
|
580
|
+
userEmail: Schema151;
|
|
581
|
+
userName: Schema152;
|
|
582
|
+
profileName: Schema153;
|
|
583
|
+
};
|
|
584
|
+
type ServerCredentialsCredential = ({
|
|
585
|
+
type: 'apikey';
|
|
586
|
+
} & ServerCredentialsApiKeys) | ({
|
|
587
|
+
type: 'oauth';
|
|
588
|
+
} & ServerCredentialsOauthTokens) | ({
|
|
589
|
+
type: 'oauth-client-credentials';
|
|
590
|
+
} & ServerCredentialsOauthClientCredentials);
|
|
560
591
|
type ServerCredentialsApiKeys = {
|
|
561
|
-
type:
|
|
562
|
-
apikeys:
|
|
592
|
+
type: Schema154;
|
|
593
|
+
apikeys: Schema155;
|
|
563
594
|
};
|
|
564
|
-
type
|
|
565
|
-
type
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
type
|
|
569
|
-
type
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
595
|
+
type ServerCredentialsOauthTokens = {
|
|
596
|
+
type: Schema156;
|
|
597
|
+
tokenSet: Schema157;
|
|
598
|
+
};
|
|
599
|
+
type ServerCredentialsOauthClientCredentials = {
|
|
600
|
+
type: Schema158;
|
|
601
|
+
clientConfig?: ServerOAuthClientConfigurationClientCredentials;
|
|
602
|
+
tokenSet?: Schema160;
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* Client configuration for OAuth client credentials
|
|
606
|
+
*/
|
|
607
|
+
type ServerOAuthClientConfigurationClientCredentials = Schema159;
|
|
608
|
+
type Schema83 = Array<Server>;
|
|
609
|
+
type Schema84 = string;
|
|
610
|
+
type Schema85 = string;
|
|
611
|
+
type Schema86 = string;
|
|
612
|
+
type Schema87 = string;
|
|
613
|
+
type Schema88 = 'none' | 'oauth' | 'oauth-client-credentials' | 'apikey';
|
|
614
|
+
type Schema89 = 'server' | 'user';
|
|
615
|
+
type Schema90 = Array<string>;
|
|
616
|
+
type Schema91 = 'server-scoped' | 'skip' | 'any';
|
|
617
|
+
type Schema92 = HttpStreamingTransportConfigOutput | StdioTransportConfigOutput | SseTransportConfigOutput | {
|
|
573
618
|
type: 'self';
|
|
574
619
|
id: string;
|
|
575
|
-
} | HostedTransportConfigOutput;
|
|
576
|
-
type
|
|
577
|
-
type
|
|
578
|
-
type
|
|
579
|
-
type
|
|
580
|
-
type Schema89 = string;
|
|
581
|
-
type Schema90 = string;
|
|
582
|
-
type Schema91 = Array<[string, string]>;
|
|
583
|
-
type Schema92 = 'sse' | 'httpstreaming' | 'stdio';
|
|
584
|
-
type Schema93 = number | null;
|
|
585
|
-
type Schema94 = string | null;
|
|
586
|
-
type Schema95 = {
|
|
587
|
-
cpu?: Schema96;
|
|
588
|
-
memory?: Schema97;
|
|
589
|
-
} | null;
|
|
590
|
-
type Schema96 = string;
|
|
620
|
+
} | HostedTransportConfigOutput | OpenApiTransportConfigOutput;
|
|
621
|
+
type Schema93 = 'httpstreaming';
|
|
622
|
+
type Schema94 = string;
|
|
623
|
+
type Schema95 = Array<[string, string]>;
|
|
624
|
+
type Schema96 = 'stdio';
|
|
591
625
|
type Schema97 = string;
|
|
592
|
-
type Schema98 =
|
|
593
|
-
type Schema99 = string
|
|
594
|
-
type Schema100 =
|
|
595
|
-
type Schema101 =
|
|
596
|
-
type Schema102 =
|
|
597
|
-
type Schema103 =
|
|
626
|
+
type Schema98 = string;
|
|
627
|
+
type Schema99 = Array<[string, string]>;
|
|
628
|
+
type Schema100 = 'sse' | 'httpstreaming' | 'stdio';
|
|
629
|
+
type Schema101 = number | null;
|
|
630
|
+
type Schema102 = string | null;
|
|
631
|
+
type Schema103 = {
|
|
632
|
+
enabled: boolean;
|
|
633
|
+
url: string;
|
|
634
|
+
delaySeconds: number | null;
|
|
635
|
+
intervalSeconds: number | null;
|
|
636
|
+
failureThreshold: number | null;
|
|
637
|
+
};
|
|
598
638
|
type Schema104 = {
|
|
599
|
-
cpu?:
|
|
600
|
-
memory?:
|
|
639
|
+
cpu?: Schema105;
|
|
640
|
+
memory?: Schema106;
|
|
601
641
|
} | null;
|
|
602
|
-
type Schema105 =
|
|
642
|
+
type Schema105 = string;
|
|
603
643
|
type Schema106 = string;
|
|
604
|
-
type Schema107 =
|
|
605
|
-
type Schema108 =
|
|
606
|
-
type Schema109 =
|
|
607
|
-
type Schema110 =
|
|
608
|
-
type Schema111 =
|
|
609
|
-
type Schema112 =
|
|
644
|
+
type Schema107 = 'sse';
|
|
645
|
+
type Schema108 = string;
|
|
646
|
+
type Schema109 = Array<[string, string]>;
|
|
647
|
+
type Schema110 = 'hosted';
|
|
648
|
+
type Schema111 = 'node24';
|
|
649
|
+
type Schema112 = Array<[string, string]>;
|
|
610
650
|
type Schema113 = {
|
|
651
|
+
cpu?: Schema105;
|
|
652
|
+
memory?: Schema106;
|
|
653
|
+
} | null;
|
|
654
|
+
type Schema114 = 'openapi';
|
|
655
|
+
type Schema115 = 'specUrl' | 'spec';
|
|
656
|
+
type Schema116 = string | '';
|
|
657
|
+
type Schema117 = string;
|
|
658
|
+
type Schema118 = string | '';
|
|
659
|
+
type Schema119 = Array<[string, string]>;
|
|
660
|
+
type Schema120 = null | ServerOAuthClientConfigurationOutput;
|
|
661
|
+
type Schema121 = string;
|
|
662
|
+
type Schema122 = string;
|
|
663
|
+
type Schema123 = 'client_secret_basic' | 'client_secret_post' | 'none' | string;
|
|
664
|
+
type Schema124 = string;
|
|
665
|
+
type Schema125 = null | ServerOAuthMetadataOutput;
|
|
666
|
+
type Schema126 = {
|
|
611
667
|
id: string;
|
|
612
668
|
availableScopes: Array<string>;
|
|
613
669
|
metadataUrl: string;
|
|
614
670
|
};
|
|
615
|
-
type
|
|
671
|
+
type Schema127 = {
|
|
616
672
|
issuer: string;
|
|
617
673
|
authorizeEndpoint: string;
|
|
618
674
|
deviceAuthorizationEndpoint: string;
|
|
@@ -627,91 +683,115 @@ type Schema114 = {
|
|
|
627
683
|
metadataUrl: string;
|
|
628
684
|
availableScopes: Array<string>;
|
|
629
685
|
};
|
|
630
|
-
type
|
|
631
|
-
type
|
|
632
|
-
type
|
|
633
|
-
type
|
|
634
|
-
type
|
|
635
|
-
type
|
|
636
|
-
type
|
|
637
|
-
type
|
|
638
|
-
type
|
|
686
|
+
type Schema128 = boolean;
|
|
687
|
+
type Schema129 = string | null;
|
|
688
|
+
type Schema130 = number;
|
|
689
|
+
type Schema131 = number;
|
|
690
|
+
type Schema132 = boolean;
|
|
691
|
+
type Schema133 = boolean;
|
|
692
|
+
type Schema134 = boolean;
|
|
693
|
+
type Schema135 = number;
|
|
694
|
+
type Schema136 = Array<{
|
|
639
695
|
/**
|
|
640
696
|
* CEL representing the condition
|
|
641
697
|
*/
|
|
642
698
|
condition: string;
|
|
643
699
|
action: 'deny' | 'modify' | 'log';
|
|
644
700
|
}>;
|
|
645
|
-
type
|
|
646
|
-
type
|
|
647
|
-
type
|
|
701
|
+
type Schema137 = string;
|
|
702
|
+
type Schema138 = string;
|
|
703
|
+
type Schema139 = {
|
|
648
704
|
credentials: Array<CredentialDtoV2>;
|
|
649
705
|
};
|
|
650
|
-
type
|
|
651
|
-
type
|
|
652
|
-
type
|
|
653
|
-
type
|
|
654
|
-
type
|
|
655
|
-
type
|
|
656
|
-
type
|
|
657
|
-
type
|
|
658
|
-
type
|
|
659
|
-
type
|
|
660
|
-
type
|
|
661
|
-
type
|
|
662
|
-
type
|
|
663
|
-
type
|
|
664
|
-
type
|
|
665
|
-
type
|
|
706
|
+
type Schema140 = string;
|
|
707
|
+
type Schema141 = string;
|
|
708
|
+
type Schema142 = 'server' | 'user' | 'profile';
|
|
709
|
+
type Schema143 = string | null;
|
|
710
|
+
type Schema144 = string | null;
|
|
711
|
+
type Schema145 = string | null;
|
|
712
|
+
type Schema146 = string;
|
|
713
|
+
type Schema147 = 'oauth' | 'apikey' | 'oauth-client-credentials';
|
|
714
|
+
type Schema148 = string;
|
|
715
|
+
type Schema149 = string;
|
|
716
|
+
type Schema150 = string;
|
|
717
|
+
type Schema151 = string | null;
|
|
718
|
+
type Schema152 = string | null;
|
|
719
|
+
type Schema153 = string | null;
|
|
720
|
+
type Schema154 = 'apikey';
|
|
721
|
+
type Schema155 = Array<[string, string]>;
|
|
722
|
+
type Schema156 = 'oauth';
|
|
723
|
+
type Schema157 = {
|
|
666
724
|
accessToken: string;
|
|
667
725
|
accessTokenExpiresAt?: number;
|
|
668
726
|
idToken?: string;
|
|
669
727
|
refreshToken?: string;
|
|
670
728
|
};
|
|
671
|
-
type
|
|
672
|
-
type
|
|
729
|
+
type Schema158 = 'oauth-client-credentials';
|
|
730
|
+
type Schema159 = {
|
|
731
|
+
clientId: Schema121;
|
|
732
|
+
clientSecret: Schema122;
|
|
733
|
+
clientAuthMethod: Schema123;
|
|
734
|
+
scopes: Schema124;
|
|
735
|
+
};
|
|
736
|
+
/**
|
|
737
|
+
* Cached tokenset for client credentials
|
|
738
|
+
*/
|
|
739
|
+
type Schema160 = Schema157;
|
|
673
740
|
type ServerAuthorizationOutput = {
|
|
674
|
-
method:
|
|
675
|
-
credentialsScope:
|
|
676
|
-
apikeys?:
|
|
741
|
+
method: Schema88;
|
|
742
|
+
credentialsScope: Schema89;
|
|
743
|
+
apikeys?: Schema90;
|
|
744
|
+
toolRefreshCredentialPolicy: ToolRefreshCredentialPolicyOutput;
|
|
677
745
|
};
|
|
746
|
+
/**
|
|
747
|
+
* Controls how tool refresh is authorized. "server-scoped" means only server-scoped credentials are required, "skip" means refresh is done without authorization, and "any" means any available credentials (server, user, profile) can be used. Defaults to "server-scoped".
|
|
748
|
+
*/
|
|
749
|
+
type ToolRefreshCredentialPolicyOutput = Schema91;
|
|
678
750
|
type HttpStreamingTransportConfigOutput = {
|
|
679
|
-
type:
|
|
680
|
-
url:
|
|
681
|
-
headers?:
|
|
751
|
+
type: Schema93;
|
|
752
|
+
url: Schema94;
|
|
753
|
+
headers?: Schema95;
|
|
682
754
|
};
|
|
683
755
|
type StdioTransportConfigOutput = {
|
|
684
|
-
type:
|
|
685
|
-
command:
|
|
686
|
-
dockerImage?:
|
|
687
|
-
env?:
|
|
688
|
-
transport:
|
|
689
|
-
httpPort?:
|
|
690
|
-
urlPath?:
|
|
691
|
-
|
|
756
|
+
type: Schema96;
|
|
757
|
+
command: Schema97;
|
|
758
|
+
dockerImage?: Schema98;
|
|
759
|
+
env?: Schema99;
|
|
760
|
+
transport: Schema100;
|
|
761
|
+
httpPort?: Schema101;
|
|
762
|
+
urlPath?: Schema102;
|
|
763
|
+
healthCheck?: Schema103;
|
|
764
|
+
limits?: Schema104;
|
|
692
765
|
};
|
|
693
766
|
type SseTransportConfigOutput = {
|
|
694
|
-
type:
|
|
695
|
-
url:
|
|
696
|
-
headers?:
|
|
767
|
+
type: Schema107;
|
|
768
|
+
url: Schema108;
|
|
769
|
+
headers?: Schema109;
|
|
697
770
|
};
|
|
698
771
|
type HostedTransportConfigOutput = {
|
|
699
|
-
type:
|
|
700
|
-
runtime:
|
|
701
|
-
env?:
|
|
702
|
-
limits?:
|
|
772
|
+
type: Schema110;
|
|
773
|
+
runtime: Schema111;
|
|
774
|
+
env?: Schema112;
|
|
775
|
+
limits?: Schema113;
|
|
776
|
+
};
|
|
777
|
+
type OpenApiTransportConfigOutput = {
|
|
778
|
+
type: Schema114;
|
|
779
|
+
method: Schema115;
|
|
780
|
+
specUrl: Schema116;
|
|
781
|
+
spec: Schema117;
|
|
782
|
+
baseUrl: Schema118;
|
|
783
|
+
headers?: Schema119;
|
|
703
784
|
};
|
|
704
785
|
type ServerOAuthClientConfigurationOutput = {
|
|
705
|
-
clientId:
|
|
706
|
-
clientSecret:
|
|
707
|
-
grantType:
|
|
708
|
-
clientAuthMethod:
|
|
709
|
-
scopes:
|
|
786
|
+
clientId: Schema121;
|
|
787
|
+
clientSecret: Schema122;
|
|
788
|
+
grantType: OAuthGrantType;
|
|
789
|
+
clientAuthMethod: Schema123;
|
|
790
|
+
scopes: Schema124;
|
|
710
791
|
};
|
|
711
792
|
type ServerOAuthMetadataOutput = {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
as?: Schema114;
|
|
793
|
+
resource?: Schema126;
|
|
794
|
+
as?: Schema127;
|
|
715
795
|
};
|
|
716
796
|
type GetServersData = {
|
|
717
797
|
body?: never;
|
|
@@ -742,7 +822,7 @@ type PostServersResponse = PostServersResponses[keyof PostServersResponses];
|
|
|
742
822
|
type DeleteServersBySlugData = {
|
|
743
823
|
body?: never;
|
|
744
824
|
path: {
|
|
745
|
-
slug:
|
|
825
|
+
slug: Schema59;
|
|
746
826
|
};
|
|
747
827
|
query?: never;
|
|
748
828
|
url: '/servers/{slug}';
|
|
@@ -756,7 +836,7 @@ type DeleteServersBySlugResponses = {
|
|
|
756
836
|
type GetServersBySlugData = {
|
|
757
837
|
body?: never;
|
|
758
838
|
path: {
|
|
759
|
-
slug:
|
|
839
|
+
slug: Schema59;
|
|
760
840
|
};
|
|
761
841
|
query?: never;
|
|
762
842
|
url: '/servers/{slug}';
|
|
@@ -771,7 +851,7 @@ type GetServersBySlugResponse = GetServersBySlugResponses[keyof GetServersBySlug
|
|
|
771
851
|
type PatchServersBySlugData = {
|
|
772
852
|
body?: V2PatchServerRequest;
|
|
773
853
|
path: {
|
|
774
|
-
slug:
|
|
854
|
+
slug: Schema59;
|
|
775
855
|
};
|
|
776
856
|
query?: never;
|
|
777
857
|
url: '/servers/{slug}';
|
|
@@ -786,7 +866,7 @@ type PatchServersBySlugResponse = PatchServersBySlugResponses[keyof PatchServers
|
|
|
786
866
|
type PutServersBySlugData = {
|
|
787
867
|
body?: V2UpdateServerRequest;
|
|
788
868
|
path: {
|
|
789
|
-
slug:
|
|
869
|
+
slug: Schema59;
|
|
790
870
|
};
|
|
791
871
|
query?: never;
|
|
792
872
|
url: '/servers/{slug}';
|
|
@@ -810,7 +890,7 @@ type GetCredentialsResponses = {
|
|
|
810
890
|
/**
|
|
811
891
|
* Successful response
|
|
812
892
|
*/
|
|
813
|
-
200:
|
|
893
|
+
200: Schema139;
|
|
814
894
|
};
|
|
815
895
|
type GetCredentialsResponse = GetCredentialsResponses[keyof GetCredentialsResponses];
|
|
816
896
|
type DeleteCredentialsByIdData = {
|
|
@@ -825,7 +905,7 @@ type DeleteCredentialsByIdResponses = {
|
|
|
825
905
|
/**
|
|
826
906
|
* Successful response
|
|
827
907
|
*/
|
|
828
|
-
200:
|
|
908
|
+
200: Schema139;
|
|
829
909
|
};
|
|
830
910
|
type DeleteCredentialsByIdResponse = DeleteCredentialsByIdResponses[keyof DeleteCredentialsByIdResponses];
|
|
831
911
|
type GetCredentialsByIdData = {
|
|
@@ -855,7 +935,7 @@ type GetCredentialsByIdSecretResponses = {
|
|
|
855
935
|
/**
|
|
856
936
|
* Successful response
|
|
857
937
|
*/
|
|
858
|
-
200:
|
|
938
|
+
200: ServerCredentialsCredential;
|
|
859
939
|
};
|
|
860
940
|
type GetCredentialsByIdSecretResponse = GetCredentialsByIdSecretResponses[keyof GetCredentialsByIdSecretResponses];
|
|
861
941
|
declare namespace sdk_gen_d_exports {
|
|
@@ -903,5 +983,5 @@ declare const deleteCredentialsById: <ThrowOnError extends boolean = true>(optio
|
|
|
903
983
|
declare const getCredentialsById: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdData, ThrowOnError>) => RequestResult<GetCredentialsByIdResponses, unknown, ThrowOnError, "fields">;
|
|
904
984
|
declare const getCredentialsByIdSecret: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdSecretData, ThrowOnError>) => RequestResult<GetCredentialsByIdSecretResponses, unknown, ThrowOnError, "fields">;
|
|
905
985
|
//#endregion
|
|
906
|
-
export {
|
|
907
|
-
//# sourceMappingURL=sdk.gen-
|
|
986
|
+
export { Schema10 as $, Schema53 as $n, ServerCredentialsApiKeys as $r, Schema149 as $t, GetServersBySlugResponse as A, Schema32 as An, Schema81 as Ar, Schema128 as At, OpenApiTransportConfig as B, Schema41 as Bn, Schema90 as Br, Schema137 as Bt, GetCredentialsByIdSecretData as C, Schema26 as Cn, Schema75 as Cr, Schema121 as Ct, GetCredentialsResponse as D, Schema3 as Dn, Schema79 as Dr, Schema125 as Dt, GetCredentialsData as E, Schema29 as En, Schema78 as Er, Schema124 as Et, HostedTransportConfig as F, Schema37 as Fn, Schema86 as Fr, Schema132 as Ft, PostServersData as G, Schema46 as Gn, Schema95 as Gr, Schema141 as Gt, PatchServersBySlugData as H, Schema43 as Hn, Schema92 as Hr, Schema139 as Ht, HostedTransportConfigOutput as I, Schema38 as In, Schema87 as Ir, Schema133 as It, PutServersBySlugData as J, Schema49 as Jn, Schema98 as Jr, Schema144 as Jt, PostServersResponse as K, Schema47 as Kn, Schema96 as Kr, Schema142 as Kt, HttpStreamingTransportConfig as L, Schema39 as Ln, Schema88 as Lr, Schema134 as Lt, GetServersData as M, Schema34 as Mn, Schema83 as Mr, Schema13 as Mt, GetServersResponse as N, Schema35 as Nn, Schema84 as Nr, Schema130 as Nt, GetCredentialsResponses as O, Schema30 as On, Schema8 as Or, Schema126 as Ot, GetServersResponses as P, Schema36 as Pn, Schema85 as Pr, Schema131 as Pt, Schema1 as Q, Schema52 as Qn, ServerAuthorizationOutput as Qr, Schema148 as Qt, HttpStreamingTransportConfigOutput as R, Schema4 as Rn, Schema89 as Rr, Schema135 as Rt, GetCredentialsByIdResponses as S, Schema25 as Sn, Schema74 as Sr, Schema120 as St, GetCredentialsByIdSecretResponses as T, Schema28 as Tn, Schema77 as Tr, Schema123 as Tt, PatchServersBySlugResponse as U, Schema44 as Un, Schema93 as Ur, Schema14 as Ut, OpenApiTransportConfigOutput as V, Schema42 as Vn, Schema91 as Vr, Schema138 as Vt, PatchServersBySlugResponses as W, Schema45 as Wn, Schema94 as Wr, Schema140 as Wt, PutServersBySlugResponses as X, Schema50 as Xn, Server as Xr, Schema146 as Xt, PutServersBySlugResponse as Y, Schema5 as Yn, Schema99 as Yr, Schema145 as Yt, Schema0 as Z, Schema51 as Zn, ServerAuthorization as Zr, Schema147 as Zt, DeleteCredentialsByIdResponses as _, V2PatchServerRequest as _i, Schema20 as _n, Schema7 as _r, Schema116 as _t, getCredentialsById as a, ServerOAuthClientConfigurationOutput as ai, Schema154 as an, Schema59 as ar, Schema105 as at, GetCredentialsByIdData as b, Schema23 as bn, Schema72 as br, Schema119 as bt, getServersBySlug as c, ServerVisibility as ci, Schema157 as cn, Schema61 as cr, Schema108 as ct, putServersBySlug as d, StdioTransportConfig as di, Schema16 as dn, Schema64 as dr, Schema110 as dt, ServerCredentialsCredential as ei, Schema15 as en, Schema54 as er, Schema100 as et, sdk_gen_d_exports as f, StdioTransportConfigOutput as fi, Schema160 as fn, Schema65 as fr, Schema111 as ft, DeleteCredentialsByIdResponse as g, V2ListServersResponse as gi, Schema2 as gn, Schema69 as gr, Schema115 as gt, DeleteCredentialsByIdData as h, V2CreateServerRequest as hi, Schema19 as hn, Schema68 as hr, Schema114 as ht, getCredentials as i, ServerOAuthClientConfigurationClientCredentials as ii, Schema153 as in, Schema58 as ir, Schema104 as it, GetServersBySlugResponses as j, Schema33 as jn, Schema82 as jr, Schema129 as jt, GetServersBySlugData as k, Schema31 as kn, Schema80 as kr, Schema127 as kt, patchServersBySlug as l, SseTransportConfig as li, Schema158 as ln, Schema62 as lr, Schema109 as lt, CredentialDtoV2 as m, ToolRefreshCredentialPolicyOutput as mi, Schema18 as mn, Schema67 as mr, Schema113 as mt, deleteCredentialsById as n, ServerCredentialsOauthTokens as ni, Schema151 as nn, Schema56 as nr, Schema102 as nt, getCredentialsByIdSecret as o, ServerOAuthMetadata as oi, Schema155 as on, Schema6 as or, Schema106 as ot, ClientOptions as p, ToolRefreshCredentialPolicy as pi, Schema17 as pn, Schema66 as pr, Schema112 as pt, PostServersResponses as q, Schema48 as qn, Schema97 as qr, Schema143 as qt, deleteServersBySlug as r, ServerOAuthClientConfiguration as ri, Schema152 as rn, Schema57 as rr, Schema103 as rt, getServers as s, ServerOAuthMetadataOutput as si, Schema156 as sn, Schema60 as sr, Schema107 as st, Options as t, ServerCredentialsOauthClientCredentials as ti, Schema150 as tn, Schema55 as tr, Schema101 as tt, postServers as u, SseTransportConfigOutput as ui, Schema159 as un, Schema63 as ur, Schema11 as ut, DeleteServersBySlugData as v, V2ServerDto as vi, Schema21 as vn, Schema70 as vr, Schema117 as vt, GetCredentialsByIdSecretResponse as w, Schema27 as wn, Schema76 as wr, Schema122 as wt, GetCredentialsByIdResponse as x, Schema24 as xn, Schema73 as xr, Schema12 as xt, DeleteServersBySlugResponses as y, V2UpdateServerRequest as yi, Schema22 as yn, Schema71 as yr, Schema118 as yt, OAuthGrantType as z, Schema40 as zn, Schema9 as zr, Schema136 as zt };
|
|
987
|
+
//# sourceMappingURL=sdk.gen-BlL_JhaF.d.mts.map
|