@zuplo/runtime 6.63.13 → 6.63.16
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/out/esm/index.js +54 -53
- package/out/esm/index.js.map +1 -1
- package/out/types/index.d.ts +16 -44
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -2574,29 +2574,6 @@ export declare interface DispatchRequestLoggerEntries<T> {
|
|
|
2574
2574
|
(entries: T[]): Promise<void>;
|
|
2575
2575
|
}
|
|
2576
2576
|
|
|
2577
|
-
/**
|
|
2578
|
-
* Fetches IDP metadata from gateway service and routes to the appropriate
|
|
2579
|
-
* provider-specific policy. This policy is intended only to be used in MCP
|
|
2580
|
-
* Gateway projects.
|
|
2581
|
-
*
|
|
2582
|
-
* @title Dynamic JWT Auth
|
|
2583
|
-
* @public
|
|
2584
|
-
* @param request - The ZuploRequest
|
|
2585
|
-
* @param context - The ZuploContext
|
|
2586
|
-
* @param options - The policy options set in policies.json
|
|
2587
|
-
* @param policyName - The name of the policy as set in policies.json
|
|
2588
|
-
* @returns A Request or a Response
|
|
2589
|
-
*/
|
|
2590
|
-
export declare const DynamicJwtAuthInboundPolicy: InboundPolicyHandler<DynamicJwtAuthInboundPolicyOptions>;
|
|
2591
|
-
|
|
2592
|
-
/**
|
|
2593
|
-
* The options for this policy.
|
|
2594
|
-
* @public
|
|
2595
|
-
*/
|
|
2596
|
-
export declare interface DynamicJwtAuthInboundPolicyOptions {}
|
|
2597
|
-
|
|
2598
|
-
/* Excluded from this release type: DynamicOAuthProtectedResourcePlugin */
|
|
2599
|
-
|
|
2600
2577
|
declare interface DynaTraceLoggingOptions {
|
|
2601
2578
|
url: string;
|
|
2602
2579
|
apiToken: string;
|
|
@@ -4511,15 +4488,6 @@ export declare interface HydrolixRequestLoggerPluginOptions<T> {
|
|
|
4511
4488
|
batchPeriodSeconds?: number;
|
|
4512
4489
|
}
|
|
4513
4490
|
|
|
4514
|
-
/**
|
|
4515
|
-
* Supported identity providers for authentication
|
|
4516
|
-
*/
|
|
4517
|
-
declare const IDP_PROVIDERS: {
|
|
4518
|
-
readonly auth0: "auth0";
|
|
4519
|
-
};
|
|
4520
|
-
|
|
4521
|
-
declare type IdpProvider = (typeof IDP_PROVIDERS)[keyof typeof IDP_PROVIDERS];
|
|
4522
|
-
|
|
4523
4491
|
/**
|
|
4524
4492
|
* A policy that can modify the incoming HTTP request before it is sent to
|
|
4525
4493
|
* the handler. If a response is returned, the request is short-circuited and
|
|
@@ -5090,6 +5058,11 @@ declare interface JWTSignPayload {
|
|
|
5090
5058
|
[key: string]: any;
|
|
5091
5059
|
}
|
|
5092
5060
|
|
|
5061
|
+
export declare const legacyDevPortalHandler: (
|
|
5062
|
+
request: ZuploRequest,
|
|
5063
|
+
context: ZuploContext
|
|
5064
|
+
) => Response | Promise<Response>;
|
|
5065
|
+
|
|
5093
5066
|
/**
|
|
5094
5067
|
* @beta
|
|
5095
5068
|
*/
|
|
@@ -5230,13 +5203,13 @@ declare type LokiTransportVersion = 1 | 2;
|
|
|
5230
5203
|
*/
|
|
5231
5204
|
export declare interface McpGatewayConfig {
|
|
5232
5205
|
/**
|
|
5233
|
-
*
|
|
5206
|
+
* The ID of the configuration in the gateway service
|
|
5234
5207
|
*/
|
|
5235
|
-
|
|
5208
|
+
configurationId: string;
|
|
5236
5209
|
/**
|
|
5237
|
-
*
|
|
5210
|
+
* Array of MCP server configurations
|
|
5238
5211
|
*/
|
|
5239
|
-
|
|
5212
|
+
servers: McpGatewayServerConfig[];
|
|
5240
5213
|
}
|
|
5241
5214
|
|
|
5242
5215
|
/**
|
|
@@ -5254,6 +5227,8 @@ export declare function mcpGatewayHandler(
|
|
|
5254
5227
|
context: ZuploContext
|
|
5255
5228
|
): Promise<Response>;
|
|
5256
5229
|
|
|
5230
|
+
/* Excluded from this release type: McpGatewayOAuthProtectedResourcePlugin */
|
|
5231
|
+
|
|
5257
5232
|
declare interface McpGatewayOrigin {
|
|
5258
5233
|
/**
|
|
5259
5234
|
* display name for the origin MCP server
|
|
@@ -5316,12 +5291,6 @@ declare interface McpGatewayTool {
|
|
|
5316
5291
|
inputSchema: object;
|
|
5317
5292
|
}
|
|
5318
5293
|
|
|
5319
|
-
declare interface McpIdpMetadata {
|
|
5320
|
-
authorizationServers: string[];
|
|
5321
|
-
provider: IdpProvider;
|
|
5322
|
-
providerOptions: Record<string, unknown>;
|
|
5323
|
-
}
|
|
5324
|
-
|
|
5325
5294
|
/**
|
|
5326
5295
|
* An MCP Server handler for Zuplo
|
|
5327
5296
|
* Only POST requests are supported for the HTTP streamable MCP transport.
|
|
@@ -7536,10 +7505,13 @@ export declare function redirectHandler(
|
|
|
7536
7505
|
context: ZuploContext
|
|
7537
7506
|
): Promise<Response>;
|
|
7538
7507
|
|
|
7539
|
-
|
|
7508
|
+
/**
|
|
7509
|
+
* @deprecated Use `legacyDevPortalHandler` instead.
|
|
7510
|
+
*/
|
|
7511
|
+
export declare const redirectLegacyDevPortal: (
|
|
7540
7512
|
request: ZuploRequest,
|
|
7541
7513
|
context: ZuploContext
|
|
7542
|
-
)
|
|
7514
|
+
) => Response | Promise<Response>;
|
|
7543
7515
|
|
|
7544
7516
|
/**
|
|
7545
7517
|
*
|