@zuplo/runtime 6.51.9 → 6.51.10

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.
@@ -22,4 +22,4 @@
22
22
  * DEALINGS IN THE SOFTWARE.
23
23
  *--------------------------------------------------------------------------------------------*/
24
24
 
25
- import{c as e,d as t,f as a,g as o,h as r,i,j as n}from"../chunk-WXV4LG5G.js";import"../chunk-PPV7V43C.js";export{o as getIdForParameterSchema,i as getIdForRefSchema,r as getIdForRequestBodySchema,a as getRawOperationDataIdentifierName,e as isRestrictedEnvVariableName,t as isZuploReadableEnvVariableName,n as sanitizedIdentifierName};
25
+ import{c as e,d as t,f as a,g as o,h as r,i,j as n}from"../chunk-TL3I4MGR.js";import"../chunk-PPV7V43C.js";export{o as getIdForParameterSchema,i as getIdForRefSchema,r as getIdForRequestBodySchema,a as getRawOperationDataIdentifierName,e as isRestrictedEnvVariableName,t as isZuploReadableEnvVariableName,n as sanitizedIdentifierName};
@@ -1,4 +1,5 @@
1
1
  import { KeyLike } from 'jose';
2
+ import { RequestGeneric as RequestGeneric_2 } from '../../request.js';
2
3
  import type { ValidateFunction as ValidateFunction_2 } from 'ajv';
3
4
 
4
5
  export declare interface AkamaiApiSecurityLoggerEntry {
@@ -94,7 +95,7 @@ export declare interface AkamaiApiSecurityPluginOptions {
94
95
  * @param policyName - The name of the policy as set in policies.json
95
96
  * @returns A Request or a Response
96
97
  */
97
- export declare function AmberfloMeteringInboundPolicy(request: ZuploRequest, context: ZuploContext, options: AmberfloMeteringInboundPolicyOptions, policyName: string): Promise<ZuploRequest<RequestGeneric>>;
98
+ export declare function AmberfloMeteringInboundPolicy(request: ZuploRequest, context: ZuploContext, options: AmberfloMeteringInboundPolicyOptions, policyName: string): Promise<ZuploRequest<RequestGeneric_2>>;
98
99
 
99
100
  /**
100
101
  * The options for this policy. Many of them can be overridden at the code level in a request using the `AmberfloMeteringPolicy.setRequestProperties` method.
@@ -191,7 +192,7 @@ export declare interface ApiAuthKeyInboundPolicyOptions {
191
192
  * @param policyName - The name of the policy as set in policies.json
192
193
  * @returns A Request or a Response
193
194
  */
194
- export declare function ApiKeyInboundPolicy(request: ZuploRequest, context: ZuploContext, unparsedOptions: ApiKeyInboundPolicyOptions, policyName: string): Promise<Response | ZuploRequest<RequestGeneric>>;
195
+ export declare function ApiKeyInboundPolicy(request: ZuploRequest, context: ZuploContext, unparsedOptions: ApiKeyInboundPolicyOptions, policyName: string): Promise<Response | ZuploRequest<RequestGeneric_2>>;
195
196
 
196
197
  /**
197
198
  * The options for this policy.
@@ -999,17 +1000,17 @@ declare interface BuildRouteConfiguration {
999
1000
  path: string;
1000
1001
  methods: HttpMethod[];
1001
1002
  /**
1002
- /* @deprecated This property is not used and will be removed in future versions
1003
+ * @deprecated This property is not used and will be removed in future versions
1003
1004
  */
1004
1005
  label?: string;
1005
1006
  /**
1006
- /* @deprecated This property is not used and will be removed in future versions
1007
+ * @deprecated This property is not used and will be removed in future versions
1007
1008
  */
1008
1009
  key?: string;
1009
1010
  handler: HandlerDefinition;
1010
1011
  corsPolicy?: CorsPolicy;
1011
1012
  /**
1012
- /* @deprecated This property is deprecated. Use route.raw() instead.
1013
+ * @deprecated This property is deprecated. Use route.raw() instead.
1013
1014
  */
1014
1015
  custom?: any;
1015
1016
  policies?: {
@@ -1017,7 +1018,7 @@ declare interface BuildRouteConfiguration {
1017
1018
  outbound?: string[];
1018
1019
  };
1019
1020
  /**
1020
- /* @deprecated This property is deprecated. Use route.raw() instead.
1021
+ * @deprecated This property is not used and will be removed in future versions
1021
1022
  */
1022
1023
  excludeFromOpenApi?: boolean;
1023
1024
  pathPattern?: string;
@@ -1042,7 +1043,7 @@ declare interface CacheOptions {
1042
1043
  * @param policyName - The name of the policy as set in policies.json
1043
1044
  * @returns A Request or a Response
1044
1045
  */
1045
- export declare function CachingInboundPolicy(request: ZuploRequest, context: ZuploContext, options: CachingInboundPolicyOptions, policyName: string): Promise<Response | ZuploRequest<RequestGeneric>>;
1046
+ export declare function CachingInboundPolicy(request: ZuploRequest, context: ZuploContext, options: CachingInboundPolicyOptions, policyName: string): Promise<Response | ZuploRequest<RequestGeneric_2>>;
1046
1047
 
1047
1048
  /**
1048
1049
  * The options for this policy.
@@ -1317,7 +1318,7 @@ export declare class ComplexRateLimitInboundPolicy extends InboundPolicy<Complex
1317
1318
  static setIncrements(context: ZuploContext, increments: Record<string, number>): void;
1318
1319
  static getIncrements(context: ZuploContext): Record<string, number>;
1319
1320
  constructor(options: ComplexRateLimitInboundPolicyOptions, policyName: string);
1320
- handler(request: ZuploRequest, context: ZuploContext): Promise<Response | ZuploRequest<RequestGeneric>>;
1321
+ handler(request: ZuploRequest, context: ZuploContext): Promise<Response | ZuploRequest<RequestGeneric_2>>;
1321
1322
  }
1322
1323
 
1323
1324
  /**
@@ -3257,6 +3258,8 @@ declare type LokiTransportVersion = 1 | 2;
3257
3258
 
3258
3259
  /* Excluded from this release type: LookupResult */
3259
3260
 
3261
+ /* Excluded from this release type: mcpServerHandler */
3262
+
3260
3263
  export declare class MemoryZoneReadThroughCache<T = unknown> {
3261
3264
  #private;
3262
3265
  constructor(name: string, context: ZuploContext);
@@ -3412,7 +3415,7 @@ declare interface MoesifContext {
3412
3415
  * @param policyName - The name of the policy as set in policies.json
3413
3416
  * @returns A Request or a Response
3414
3417
  */
3415
- export declare function MoesifInboundPolicy(request: ZuploRequest, context: ZuploContext, passedOptions: MoesifInboundPolicyOptions, policyName: string): Promise<ZuploRequest<RequestGeneric>>;
3418
+ export declare function MoesifInboundPolicy(request: ZuploRequest, context: ZuploContext, passedOptions: MoesifInboundPolicyOptions, policyName: string): Promise<ZuploRequest<RequestGeneric_2>>;
3416
3419
 
3417
3420
  /**
3418
3421
  * The options for this policy. Many of them can be overridden at the code level in a request using the `AmberfloMeteringPolicy.setRequestProperties` method.
@@ -4689,7 +4692,7 @@ declare interface ReadmeMeteringInboundPolicyOptions {
4689
4692
  * @param policyName - The name of the policy as set in policies.json
4690
4693
  * @returns A Request or a Response
4691
4694
  */
4692
- export declare function ReadmeMetricsInboundPolicy(request: ZuploRequest, context: ZuploContext, options: ReadmeMeteringInboundPolicyOptions, policyName: string): Promise<ZuploRequest<RequestGeneric>>;
4695
+ export declare function ReadmeMetricsInboundPolicy(request: ZuploRequest, context: ZuploContext, options: ReadmeMeteringInboundPolicyOptions, policyName: string): Promise<ZuploRequest<RequestGeneric_2>>;
4693
4696
 
4694
4697
  /**
4695
4698
  * @beta
@@ -5021,12 +5024,9 @@ export declare interface RouteConfiguration extends Omit<BuildRouteConfiguration
5021
5024
 
5022
5025
  export declare interface RouteData {
5023
5026
  /**
5024
- /* @deprecated This property is not used and will be removed in future versions
5027
+ * @deprecated This property is not used and will be removed in future versions
5025
5028
  */
5026
5029
  info?: OpenAPIV3_1.InfoObject;
5027
- /**
5028
- * @minItems 0
5029
- */
5030
5030
  routes: RouteConfiguration[];
5031
5031
  policies: PolicyConfiguration[];
5032
5032
  corsPolicies: CorsPolicyConfiguration[];
@@ -5465,7 +5465,7 @@ export declare interface StripeMonetizationPluginOptions {
5465
5465
  */
5466
5466
  export declare class StripeWebhookVerificationInboundPolicy extends InboundPolicy<StripeWebhookVerificationInboundPolicyOptions> {
5467
5467
  constructor(options: StripeWebhookVerificationInboundPolicyOptions, policyName: string);
5468
- handler(request: ZuploRequest, context: ZuploContext): Promise<Response | ZuploRequest<RequestGeneric>>;
5468
+ handler(request: ZuploRequest, context: ZuploContext): Promise<Response | ZuploRequest<RequestGeneric_2>>;
5469
5469
  }
5470
5470
 
5471
5471
  /**
@@ -4,17 +4,17 @@ declare interface BuildRouteConfiguration {
4
4
  path: string;
5
5
  methods: HttpMethod[];
6
6
  /**
7
- /* @deprecated This property is not used and will be removed in future versions
7
+ * @deprecated This property is not used and will be removed in future versions
8
8
  */
9
9
  label?: string;
10
10
  /**
11
- /* @deprecated This property is not used and will be removed in future versions
11
+ * @deprecated This property is not used and will be removed in future versions
12
12
  */
13
13
  key?: string;
14
14
  handler: HandlerDefinition;
15
15
  corsPolicy?: CorsPolicy;
16
16
  /**
17
- /* @deprecated This property is deprecated. Use route.raw() instead.
17
+ * @deprecated This property is deprecated. Use route.raw() instead.
18
18
  */
19
19
  custom?: any;
20
20
  policies?: {
@@ -22,7 +22,7 @@ declare interface BuildRouteConfiguration {
22
22
  outbound?: string[];
23
23
  };
24
24
  /**
25
- /* @deprecated This property is deprecated. Use route.raw() instead.
25
+ * @deprecated This property is not used and will be removed in future versions
26
26
  */
27
27
  excludeFromOpenApi?: boolean;
28
28
  pathPattern?: string;
@@ -975,12 +975,9 @@ export declare interface RouteConfiguration extends Omit<BuildRouteConfiguration
975
975
 
976
976
  export declare interface RouteData {
977
977
  /**
978
- /* @deprecated This property is not used and will be removed in future versions
978
+ * @deprecated This property is not used and will be removed in future versions
979
979
  */
980
980
  info?: OpenAPIV3_1.InfoObject;
981
- /**
982
- * @minItems 0
983
- */
984
981
  routes: RouteConfiguration[];
985
982
  policies: PolicyConfiguration[];
986
983
  corsPolicies: CorsPolicyConfiguration[];
@@ -2,17 +2,17 @@ declare interface BuildRouteConfiguration {
2
2
  path: string;
3
3
  methods: HttpMethod[];
4
4
  /**
5
- /* @deprecated This property is not used and will be removed in future versions
5
+ * @deprecated This property is not used and will be removed in future versions
6
6
  */
7
7
  label?: string;
8
8
  /**
9
- /* @deprecated This property is not used and will be removed in future versions
9
+ * @deprecated This property is not used and will be removed in future versions
10
10
  */
11
11
  key?: string;
12
12
  handler: HandlerDefinition;
13
13
  corsPolicy?: CorsPolicy;
14
14
  /**
15
- /* @deprecated This property is deprecated. Use route.raw() instead.
15
+ * @deprecated This property is deprecated. Use route.raw() instead.
16
16
  */
17
17
  custom?: any;
18
18
  policies?: {
@@ -20,7 +20,7 @@ declare interface BuildRouteConfiguration {
20
20
  outbound?: string[];
21
21
  };
22
22
  /**
23
- /* @deprecated This property is deprecated. Use route.raw() instead.
23
+ * @deprecated This property is not used and will be removed in future versions
24
24
  */
25
25
  excludeFromOpenApi?: boolean;
26
26
  pathPattern?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.51.9",
4
+ "version": "6.51.10",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {