gatana-sdk 2.3.8 → 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 +3 -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-BzFbgKkw.mjs → sdk.gen-B5HNJH3y.mjs} +33 -2
- package/dist/sdk.gen-B5HNJH3y.mjs.map +1 -0
- package/dist/{sdk.gen-DncK4XW4.cjs → sdk.gen-B_k9Vt0B.cjs} +43 -0
- package/dist/{sdk.gen-DgXGgJek.d.mts → sdk.gen-BfbbIXIn.d.cts} +1249 -1056
- package/dist/sdk.gen-BfbbIXIn.d.cts.map +1 -0
- package/dist/{sdk.gen-B9VM8vvh.d.mts → sdk.gen-BlL_JhaF.d.mts} +321 -253
- package/dist/sdk.gen-BlL_JhaF.d.mts.map +1 -0
- package/dist/sdk.gen-DUNHa0uM.mjs.map +1 -1
- package/dist/{sdk.gen-DjFHZqZ0.d.cts → sdk.gen-Dnt5grWk.d.cts} +321 -253
- package/dist/sdk.gen-Dnt5grWk.d.cts.map +1 -0
- package/dist/{sdk.gen-Bp6WOiGq.d.cts → sdk.gen-cu6fHqHG.d.mts} +1249 -1056
- package/dist/sdk.gen-cu6fHqHG.d.mts.map +1 -0
- package/package.json +1 -1
- package/dist/sdk.gen-B9VM8vvh.d.mts.map +0 -1
- package/dist/sdk.gen-Bp6WOiGq.d.cts.map +0 -1
- package/dist/sdk.gen-BzFbgKkw.mjs.map +0 -1
- package/dist/sdk.gen-DgXGgJek.d.mts.map +0 -1
- package/dist/sdk.gen-DjFHZqZ0.d.cts.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;
|
|
@@ -361,49 +362,63 @@ type HostedTransportConfig = {
|
|
|
361
362
|
env?: Schema21;
|
|
362
363
|
limits?: Schema22;
|
|
363
364
|
};
|
|
365
|
+
type OpenApiTransportConfig = {
|
|
366
|
+
type: Schema23;
|
|
367
|
+
method: Schema24;
|
|
368
|
+
specUrl?: Schema25;
|
|
369
|
+
spec?: Schema26;
|
|
370
|
+
baseUrl?: Schema27;
|
|
371
|
+
headers?: Schema28;
|
|
372
|
+
};
|
|
364
373
|
type ServerAuthorization = {
|
|
365
|
-
method:
|
|
366
|
-
credentialsScope:
|
|
367
|
-
apikeys?:
|
|
374
|
+
method: Schema32;
|
|
375
|
+
credentialsScope: Schema33;
|
|
376
|
+
apikeys?: Schema34;
|
|
377
|
+
toolRefreshCredentialPolicy?: ToolRefreshCredentialPolicy;
|
|
368
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;
|
|
369
383
|
type ServerOAuthMetadata = {
|
|
370
|
-
resource?:
|
|
371
|
-
as?:
|
|
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]>;
|
|
@@ -437,18 +452,26 @@ type Schema22 = {
|
|
|
437
452
|
cpu?: Schema14;
|
|
438
453
|
memory?: Schema15;
|
|
439
454
|
} | null;
|
|
440
|
-
type Schema23 =
|
|
441
|
-
type Schema24 =
|
|
442
|
-
type Schema25 =
|
|
443
|
-
type Schema26 =
|
|
444
|
-
type Schema27 =
|
|
445
|
-
type Schema28 =
|
|
446
|
-
type Schema29 =
|
|
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 = {
|
|
447
470
|
id?: string;
|
|
448
471
|
availableScopes?: Array<string>;
|
|
449
472
|
metadataUrl?: string;
|
|
450
473
|
};
|
|
451
|
-
type
|
|
474
|
+
type Schema38 = {
|
|
452
475
|
issuer?: string;
|
|
453
476
|
authorizeEndpoint?: string;
|
|
454
477
|
deviceAuthorizationEndpoint?: string;
|
|
@@ -463,168 +486,189 @@ type Schema30 = {
|
|
|
463
486
|
metadataUrl?: string;
|
|
464
487
|
availableScopes?: Array<string>;
|
|
465
488
|
};
|
|
466
|
-
type
|
|
467
|
-
type
|
|
468
|
-
type
|
|
469
|
-
type
|
|
470
|
-
type
|
|
471
|
-
type
|
|
472
|
-
type
|
|
473
|
-
type
|
|
474
|
-
type
|
|
475
|
-
type
|
|
476
|
-
type
|
|
477
|
-
type
|
|
478
|
-
type
|
|
479
|
-
type
|
|
480
|
-
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 = {
|
|
481
503
|
/**
|
|
482
504
|
* CEL representing the condition
|
|
483
505
|
*/
|
|
484
506
|
condition: string;
|
|
485
507
|
action: 'deny' | 'modify' | 'log';
|
|
486
508
|
};
|
|
487
|
-
type
|
|
488
|
-
type Schema47 = string;
|
|
489
|
-
type Schema48 = string;
|
|
490
|
-
type Schema49 = string | null;
|
|
491
|
-
type Schema50 = string;
|
|
492
|
-
type Schema51 = string;
|
|
493
|
-
type Schema52 = string;
|
|
494
|
-
type Schema53 = string;
|
|
509
|
+
type Schema53 = ServerVisibility;
|
|
495
510
|
type Schema54 = string;
|
|
496
|
-
type Schema55 =
|
|
497
|
-
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 | {
|
|
498
520
|
type: 'self';
|
|
499
521
|
id: string;
|
|
500
|
-
} | HostedTransportConfig;
|
|
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
|
|
514
|
-
type
|
|
515
|
-
type
|
|
516
|
-
type
|
|
517
|
-
type
|
|
518
|
-
type
|
|
519
|
-
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;
|
|
520
542
|
type V2ListServersResponse = {
|
|
521
|
-
servers:
|
|
543
|
+
servers: Schema83;
|
|
522
544
|
};
|
|
523
545
|
type V2ServerDto = Server;
|
|
524
546
|
type Server = {
|
|
525
|
-
id:
|
|
526
|
-
slug:
|
|
527
|
-
tenantId:
|
|
528
|
-
description:
|
|
547
|
+
id: Schema84;
|
|
548
|
+
slug: Schema85;
|
|
549
|
+
tenantId: Schema86;
|
|
550
|
+
description: Schema87;
|
|
529
551
|
authorization: ServerAuthorizationOutput;
|
|
530
|
-
transportConfig:
|
|
531
|
-
oauthClientConfiguration:
|
|
532
|
-
oauthMetadata:
|
|
552
|
+
transportConfig: Schema92;
|
|
553
|
+
oauthClientConfiguration: Schema120;
|
|
554
|
+
oauthMetadata: Schema125;
|
|
533
555
|
visibility: ServerVisibility;
|
|
534
|
-
isEnabled:
|
|
535
|
-
lastToolRefreshAt:
|
|
536
|
-
timeoutProtocol:
|
|
537
|
-
timeoutTotal:
|
|
538
|
-
resetTimeoutOnProgressNotification:
|
|
539
|
-
isOutputCompressionEnabled:
|
|
540
|
-
isOutputCompressionTransformEnabled:
|
|
541
|
-
outputCompressionThresholdBytes:
|
|
542
|
-
firewallRules:
|
|
543
|
-
createdAt:
|
|
544
|
-
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;
|
|
545
567
|
};
|
|
546
568
|
type CredentialDtoV2 = {
|
|
547
|
-
id:
|
|
548
|
-
tenantId:
|
|
549
|
-
scope:
|
|
550
|
-
userId:
|
|
551
|
-
profileId:
|
|
552
|
-
lastUsedAt:
|
|
553
|
-
authorizedAt:
|
|
554
|
-
type:
|
|
555
|
-
createdAt:
|
|
556
|
-
updatedAt:
|
|
557
|
-
serverSlug:
|
|
558
|
-
userEmail:
|
|
559
|
-
userName:
|
|
560
|
-
profileName:
|
|
561
|
-
};
|
|
562
|
-
type
|
|
563
|
-
type:
|
|
564
|
-
|
|
565
|
-
|
|
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);
|
|
566
591
|
type ServerCredentialsApiKeys = {
|
|
567
|
-
type:
|
|
568
|
-
apikeys:
|
|
592
|
+
type: Schema154;
|
|
593
|
+
apikeys: Schema155;
|
|
569
594
|
};
|
|
570
|
-
type
|
|
571
|
-
type
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
type
|
|
575
|
-
type
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
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 | {
|
|
579
618
|
type: 'self';
|
|
580
619
|
id: string;
|
|
581
|
-
} | HostedTransportConfigOutput;
|
|
582
|
-
type
|
|
583
|
-
type
|
|
584
|
-
type
|
|
585
|
-
type
|
|
586
|
-
type
|
|
587
|
-
type
|
|
588
|
-
type
|
|
589
|
-
type
|
|
590
|
-
type
|
|
591
|
-
type
|
|
592
|
-
type
|
|
620
|
+
} | HostedTransportConfigOutput | OpenApiTransportConfigOutput;
|
|
621
|
+
type Schema93 = 'httpstreaming';
|
|
622
|
+
type Schema94 = string;
|
|
623
|
+
type Schema95 = Array<[string, string]>;
|
|
624
|
+
type Schema96 = 'stdio';
|
|
625
|
+
type Schema97 = string;
|
|
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 = {
|
|
593
632
|
enabled: boolean;
|
|
594
633
|
url: string;
|
|
595
634
|
delaySeconds: number | null;
|
|
596
635
|
intervalSeconds: number | null;
|
|
597
636
|
failureThreshold: number | null;
|
|
598
637
|
};
|
|
599
|
-
type
|
|
600
|
-
cpu?:
|
|
601
|
-
memory?:
|
|
602
|
-
} | null;
|
|
603
|
-
type Schema97 = string;
|
|
604
|
-
type Schema98 = string;
|
|
605
|
-
type Schema99 = 'sse';
|
|
606
|
-
type Schema100 = string;
|
|
607
|
-
type Schema101 = Array<[string, string]>;
|
|
608
|
-
type Schema102 = 'hosted';
|
|
609
|
-
type Schema103 = 'node24';
|
|
610
|
-
type Schema104 = Array<[string, string]>;
|
|
611
|
-
type Schema105 = {
|
|
612
|
-
cpu?: Schema97;
|
|
613
|
-
memory?: Schema98;
|
|
638
|
+
type Schema104 = {
|
|
639
|
+
cpu?: Schema105;
|
|
640
|
+
memory?: Schema106;
|
|
614
641
|
} | null;
|
|
615
|
-
type
|
|
616
|
-
type
|
|
642
|
+
type Schema105 = string;
|
|
643
|
+
type Schema106 = string;
|
|
644
|
+
type Schema107 = 'sse';
|
|
617
645
|
type Schema108 = string;
|
|
618
|
-
type Schema109 =
|
|
619
|
-
type Schema110 = '
|
|
620
|
-
type Schema111 =
|
|
621
|
-
type Schema112 =
|
|
646
|
+
type Schema109 = Array<[string, string]>;
|
|
647
|
+
type Schema110 = 'hosted';
|
|
648
|
+
type Schema111 = 'node24';
|
|
649
|
+
type Schema112 = Array<[string, string]>;
|
|
622
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 = {
|
|
623
667
|
id: string;
|
|
624
668
|
availableScopes: Array<string>;
|
|
625
669
|
metadataUrl: string;
|
|
626
670
|
};
|
|
627
|
-
type
|
|
671
|
+
type Schema127 = {
|
|
628
672
|
issuer: string;
|
|
629
673
|
authorizeEndpoint: string;
|
|
630
674
|
deviceAuthorizationEndpoint: string;
|
|
@@ -639,91 +683,115 @@ type Schema114 = {
|
|
|
639
683
|
metadataUrl: string;
|
|
640
684
|
availableScopes: Array<string>;
|
|
641
685
|
};
|
|
642
|
-
type
|
|
643
|
-
type
|
|
644
|
-
type
|
|
645
|
-
type
|
|
646
|
-
type
|
|
647
|
-
type
|
|
648
|
-
type
|
|
649
|
-
type
|
|
650
|
-
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<{
|
|
651
695
|
/**
|
|
652
696
|
* CEL representing the condition
|
|
653
697
|
*/
|
|
654
698
|
condition: string;
|
|
655
699
|
action: 'deny' | 'modify' | 'log';
|
|
656
700
|
}>;
|
|
657
|
-
type
|
|
658
|
-
type
|
|
659
|
-
type
|
|
701
|
+
type Schema137 = string;
|
|
702
|
+
type Schema138 = string;
|
|
703
|
+
type Schema139 = {
|
|
660
704
|
credentials: Array<CredentialDtoV2>;
|
|
661
705
|
};
|
|
662
|
-
type
|
|
663
|
-
type
|
|
664
|
-
type
|
|
665
|
-
type
|
|
666
|
-
type
|
|
667
|
-
type
|
|
668
|
-
type
|
|
669
|
-
type
|
|
670
|
-
type
|
|
671
|
-
type
|
|
672
|
-
type
|
|
673
|
-
type
|
|
674
|
-
type
|
|
675
|
-
type
|
|
676
|
-
type
|
|
677
|
-
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 = {
|
|
678
724
|
accessToken: string;
|
|
679
725
|
accessTokenExpiresAt?: number;
|
|
680
726
|
idToken?: string;
|
|
681
727
|
refreshToken?: string;
|
|
682
728
|
};
|
|
683
|
-
type
|
|
684
|
-
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;
|
|
685
740
|
type ServerAuthorizationOutput = {
|
|
686
|
-
method:
|
|
687
|
-
credentialsScope:
|
|
688
|
-
apikeys?:
|
|
741
|
+
method: Schema88;
|
|
742
|
+
credentialsScope: Schema89;
|
|
743
|
+
apikeys?: Schema90;
|
|
744
|
+
toolRefreshCredentialPolicy: ToolRefreshCredentialPolicyOutput;
|
|
689
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;
|
|
690
750
|
type HttpStreamingTransportConfigOutput = {
|
|
691
|
-
type:
|
|
692
|
-
url:
|
|
693
|
-
headers?:
|
|
751
|
+
type: Schema93;
|
|
752
|
+
url: Schema94;
|
|
753
|
+
headers?: Schema95;
|
|
694
754
|
};
|
|
695
755
|
type StdioTransportConfigOutput = {
|
|
696
|
-
type:
|
|
697
|
-
command:
|
|
698
|
-
dockerImage?:
|
|
699
|
-
env?:
|
|
700
|
-
transport:
|
|
701
|
-
httpPort?:
|
|
702
|
-
urlPath?:
|
|
703
|
-
healthCheck?:
|
|
704
|
-
limits?:
|
|
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;
|
|
705
765
|
};
|
|
706
766
|
type SseTransportConfigOutput = {
|
|
707
|
-
type:
|
|
708
|
-
url:
|
|
709
|
-
headers?:
|
|
767
|
+
type: Schema107;
|
|
768
|
+
url: Schema108;
|
|
769
|
+
headers?: Schema109;
|
|
710
770
|
};
|
|
711
771
|
type HostedTransportConfigOutput = {
|
|
712
|
-
type:
|
|
713
|
-
runtime:
|
|
714
|
-
env?:
|
|
715
|
-
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;
|
|
716
784
|
};
|
|
717
785
|
type ServerOAuthClientConfigurationOutput = {
|
|
718
|
-
clientId:
|
|
719
|
-
clientSecret:
|
|
720
|
-
grantType:
|
|
721
|
-
clientAuthMethod:
|
|
722
|
-
scopes:
|
|
786
|
+
clientId: Schema121;
|
|
787
|
+
clientSecret: Schema122;
|
|
788
|
+
grantType: OAuthGrantType;
|
|
789
|
+
clientAuthMethod: Schema123;
|
|
790
|
+
scopes: Schema124;
|
|
723
791
|
};
|
|
724
792
|
type ServerOAuthMetadataOutput = {
|
|
725
|
-
resource?:
|
|
726
|
-
as?:
|
|
793
|
+
resource?: Schema126;
|
|
794
|
+
as?: Schema127;
|
|
727
795
|
};
|
|
728
796
|
type GetServersData = {
|
|
729
797
|
body?: never;
|
|
@@ -754,7 +822,7 @@ type PostServersResponse = PostServersResponses[keyof PostServersResponses];
|
|
|
754
822
|
type DeleteServersBySlugData = {
|
|
755
823
|
body?: never;
|
|
756
824
|
path: {
|
|
757
|
-
slug:
|
|
825
|
+
slug: Schema59;
|
|
758
826
|
};
|
|
759
827
|
query?: never;
|
|
760
828
|
url: '/servers/{slug}';
|
|
@@ -768,7 +836,7 @@ type DeleteServersBySlugResponses = {
|
|
|
768
836
|
type GetServersBySlugData = {
|
|
769
837
|
body?: never;
|
|
770
838
|
path: {
|
|
771
|
-
slug:
|
|
839
|
+
slug: Schema59;
|
|
772
840
|
};
|
|
773
841
|
query?: never;
|
|
774
842
|
url: '/servers/{slug}';
|
|
@@ -783,7 +851,7 @@ type GetServersBySlugResponse = GetServersBySlugResponses[keyof GetServersBySlug
|
|
|
783
851
|
type PatchServersBySlugData = {
|
|
784
852
|
body?: V2PatchServerRequest;
|
|
785
853
|
path: {
|
|
786
|
-
slug:
|
|
854
|
+
slug: Schema59;
|
|
787
855
|
};
|
|
788
856
|
query?: never;
|
|
789
857
|
url: '/servers/{slug}';
|
|
@@ -798,7 +866,7 @@ type PatchServersBySlugResponse = PatchServersBySlugResponses[keyof PatchServers
|
|
|
798
866
|
type PutServersBySlugData = {
|
|
799
867
|
body?: V2UpdateServerRequest;
|
|
800
868
|
path: {
|
|
801
|
-
slug:
|
|
869
|
+
slug: Schema59;
|
|
802
870
|
};
|
|
803
871
|
query?: never;
|
|
804
872
|
url: '/servers/{slug}';
|
|
@@ -822,7 +890,7 @@ type GetCredentialsResponses = {
|
|
|
822
890
|
/**
|
|
823
891
|
* Successful response
|
|
824
892
|
*/
|
|
825
|
-
200:
|
|
893
|
+
200: Schema139;
|
|
826
894
|
};
|
|
827
895
|
type GetCredentialsResponse = GetCredentialsResponses[keyof GetCredentialsResponses];
|
|
828
896
|
type DeleteCredentialsByIdData = {
|
|
@@ -837,7 +905,7 @@ type DeleteCredentialsByIdResponses = {
|
|
|
837
905
|
/**
|
|
838
906
|
* Successful response
|
|
839
907
|
*/
|
|
840
|
-
200:
|
|
908
|
+
200: Schema139;
|
|
841
909
|
};
|
|
842
910
|
type DeleteCredentialsByIdResponse = DeleteCredentialsByIdResponses[keyof DeleteCredentialsByIdResponses];
|
|
843
911
|
type GetCredentialsByIdData = {
|
|
@@ -867,7 +935,7 @@ type GetCredentialsByIdSecretResponses = {
|
|
|
867
935
|
/**
|
|
868
936
|
* Successful response
|
|
869
937
|
*/
|
|
870
|
-
200:
|
|
938
|
+
200: ServerCredentialsCredential;
|
|
871
939
|
};
|
|
872
940
|
type GetCredentialsByIdSecretResponse = GetCredentialsByIdSecretResponses[keyof GetCredentialsByIdSecretResponses];
|
|
873
941
|
declare namespace sdk_gen_d_exports {
|
|
@@ -915,5 +983,5 @@ declare const deleteCredentialsById: <ThrowOnError extends boolean = true>(optio
|
|
|
915
983
|
declare const getCredentialsById: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdData, ThrowOnError>) => RequestResult<GetCredentialsByIdResponses, unknown, ThrowOnError, "fields">;
|
|
916
984
|
declare const getCredentialsByIdSecret: <ThrowOnError extends boolean = true>(options: Options<GetCredentialsByIdSecretData, ThrowOnError>) => RequestResult<GetCredentialsByIdSecretResponses, unknown, ThrowOnError, "fields">;
|
|
917
985
|
//#endregion
|
|
918
|
-
export {
|
|
919
|
-
//# 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-Dnt5grWk.d.cts.map
|