@zuplo/runtime 6.70.24 → 6.70.26
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/{chunk-RQLHORT4.js → chunk-LCNCH3K2.js} +47 -47
- package/out/esm/chunk-LCNCH3K2.js.map +1 -0
- package/out/esm/{chunk-GDWI24KD.js → chunk-W6JQ5D4W.js} +2 -2
- package/out/esm/{chunk-GDWI24KD.js.map → chunk-W6JQ5D4W.js.map} +1 -1
- package/out/esm/index.js +1 -1
- package/out/esm/internal/index.js +1 -1
- package/out/esm/mcp-gateway/index.js +23 -17
- package/out/esm/mcp-gateway/index.js.map +1 -1
- package/out/types/index.d.ts +12 -3
- package/out/types/mcp-gateway/index.d.ts +157 -67
- package/package.json +1 -1
- package/out/esm/chunk-RQLHORT4.js.map +0 -1
- /package/out/esm/{chunk-RQLHORT4.js.LEGAL.txt → chunk-LCNCH3K2.js.LEGAL.txt} +0 -0
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
* DEALINGS IN THE SOFTWARE.
|
|
23
23
|
*--------------------------------------------------------------------------------------------*/
|
|
24
24
|
|
|
25
|
-
import{Z as i,a as n}from"./chunk-JAEQKE5H.js";var
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
import{Z as i,a as n}from"./chunk-JAEQKE5H.js";var p=(o=>(o.Build="build-data",o.CorsPreflight="cors-preflight",o.DeveloperPortal="developer-portal",o.ZudokuPortal="zudoku-portal",o.DeveloperPortalLegacy="developer-portal-legacy",o.EmptyGatewayCatchall="empty-gateway-catchall",o.Ping="ping",o.UnmatchedPath="unmatched-path",o))(p||{});var c=["ZUPLO_USER_LOGGER_DATA_DOG_API_KEY","ZUPLO_USER_LOGGER_DATA_DOG_URL","ZUPLO_LOG_LEVEL","ZUPLO_HANDLER_WRITE_LOG_LEVEL"];function g(e){return e.startsWith("__ZUPLO")||e.startsWith("ZUPLO_")?!c.includes(e)&&!e.startsWith("ZUPLO_PUBLIC_"):e.startsWith("ZUDOKU_")?!e.startsWith("ZUDOKU_PUBLIC_"):!1}n(g,"isRestrictedEnvVariableName");function l(e){return!!e.startsWith("ZUPLO_")}n(l,"isZuploReadableEnvVariableName");var u=new Proxy({},{get(e,t){let r=String(t);switch(r){case"ZUPLO_ENVIRONMENT_TYPE":return i.instance.loggingEnvironmentType;case"ZUPLO_ENVIRONMENT_STAGE":return i.instance.loggingEnvironmentStage;case"ZUPLO_ENVIRONMENT_NAME":return i.instance.runtime.__ZUPLO_DEPLOYMENT_NAME;case"ZUPLO_ACCOUNT_NAME":return i.instance.build.ACCOUNT_NAME;case"ZUPLO_PROJECT_NAME":return i.instance.build.PROJECT_NAME;case"ZUPLO_BUILD_ID":return i.instance.build.BUILD_ID;case"ZUPLO_COMPATIBILITY_DATE":return i.instance.build.COMPATIBILITY_DATE}if(!(g(r)&&!l(r)))return i.instance.runtime[r]}});function f(e,t,r){return`_${a(`${e}_${t}_${r}`)}`}n(f,"getRawOperationDataIdentifierName");function L(e,t,r,s){return`_${a(e.toLowerCase())}_${t.toLowerCase()}_${r.toLowerCase()}_${s.toLowerCase()}`}n(L,"getIdForParameterSchema");function E(e,t,r){return`_${a(e.toLowerCase())}_${t.toLowerCase()}_rb_${a(r.toLowerCase())}`}n(E,"getIdForRequestBodySchema");function C(e,t){return`_${a(e)}_${a(t)}`}n(C,"getIdForRefSchema");function a(e){let t=e.replace(/\[/g,"_LBRACKET_").replace(/\]/g,"_RBRACKET_").replace(/\{/g,"_LCURLY_").replace(/\}/g,"_RCURLY_").replace(/\//g,"_SLASH_").replace(/-/g,"_DASH_").replace(/\./g,"_DOT_").replace(/\+/g,"_PLUS_").replace(/:/g,"_COLON_").replace(/@/g,"_AT_").replace(/\$/g,"_DOLLAR_").replace(/[^a-zA-Z0-9_]/g,"_");return/^[a-zA-Z_]/.test(t)||(t=`_${t}`),t}n(a,"sanitizedIdentifierName");export{p as a,g as b,l as c,u as d,f as e,L as f,E as g,C as h,a as i};
|
|
26
|
+
//# sourceMappingURL=chunk-W6JQ5D4W.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@zuplo/runtime/router/interfaces.ts","@zuplo/runtime/environment.ts","@zuplo/runtime/utils/open-api-utils.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;+
|
|
1
|
+
{"version":3,"sources":["@zuplo/runtime/router/interfaces.ts","@zuplo/runtime/environment.ts","@zuplo/runtime/utils/open-api-utils.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;+CA2CO,IAAKA,OACVA,EAAA,MAAQ,aACRA,EAAA,cAAgB,iBAChBA,EAAA,gBAAkB,mBAClBA,EAAA,aAAe,gBACfA,EAAA,sBAAwB,0BACxBA,EAAA,qBAAuB,yBACvBA,EAAA,KAAO,OACPA,EAAA,cAAgB,iBARNA,OAAA,ICzCZ,IAAMC,EAAmC,CACvC,qCACA,iCACA,kBACA,+BACF,EASO,SAASC,EAA4BC,EAAc,CAExD,OAAIA,EAAK,WAAW,SAAS,GAAKA,EAAK,WAAW,QAAQ,EAItD,CAACF,EAAiC,SAASE,CAAI,GAC/C,CAACA,EAAK,WAAW,eAAe,EAIhCA,EAAK,WAAW,SAAS,EACpB,CAACA,EAAK,WAAW,gBAAgB,EAEnC,EACT,CAfgBC,EAAAF,EAAA,+BAoBT,SAASG,EAA+BF,EAAc,CAC3D,MAAI,EAAAA,EAAK,WAAW,QAAQ,CAI9B,CALgBC,EAAAC,EAAA,kCAWhB,IAAMC,EAAc,IAAI,MACtB,CAAC,EACD,CACE,IAAIC,EAAQC,EAAM,CAChB,IAAMC,EAAU,OAAOD,CAAI,EAG3B,OAAQC,EAAS,CACf,IAAK,yBACH,OAAOC,EAAY,SAAS,uBAC9B,IAAK,0BACH,OAAOA,EAAY,SAAS,wBAC9B,IAAK,yBACH,OAAOA,EAAY,SAAS,QAAQ,wBACtC,IAAK,qBACH,OAAOA,EAAY,SAAS,MAAM,aACpC,IAAK,qBACH,OAAOA,EA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,iBAAkB,GAAG,EAGhC,MAAK,aAAa,KAAKK,CAAW,IAChCA,EAAc,IAAIA,CAAW,IAGxBA,CACT,CAzBgBR,EAAAD,EAAA","names":["SystemRouteName","ALLOWED_WRITABLE_ZUPLO_VARIABLES","isRestrictedEnvVariableName","name","__name","isZuploReadableEnvVariableName","environment","target","prop","envName","Environment","getRawOperationDataIdentifierName","oasFileName","path","operation","sanitizedIdentifierName","__name","getIdForParameterSchema","type","name","getIdForRequestBodySchema","contentType","getIdForRefSchema","ref","encodedName"]}
|
package/out/esm/index.js
CHANGED
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
* DEALINGS IN THE SOFTWARE.
|
|
23
23
|
*--------------------------------------------------------------------------------------------*/
|
|
24
24
|
|
|
25
|
-
import{$a as
|
|
25
|
+
import{$a as zt,$b as Mr,A as v,Aa as gt,Ab as gr,B as G,Ba as dt,Bb as dr,C as I,Ca as ut,Cb as ur,D as J,Da as ft,Db as fr,E as K,Ea as xt,Eb as xr,F as M,Fa as yt,Fb as yr,G as N,Ga as wt,Gb as wr,H as O,Ha as At,Hb as Ar,Ia as bt,Ib as br,Ja as lt,Jb as lr,Ka as jt,Kb as jr,La as Bt,Lb as Br,Ma as Ct,Mb as Cr,Na as Dt,Nb as Dr,Oa as Et,Ob as Er,Pa as Ht,Pb as $r,Qa as Pt,Qb as kr,Ra as St,Rb as Fr,Sa as Tt,Sb as Lr,Ta as Ut,Tb as Rr,Ua as $t,Ub as qr,Va as kt,Vb as vr,Wa as Ft,Wb as zr,Xa as Lt,Xb as Gr,Ya as Rt,Yb as Ir,Za as qt,Zb as Jr,_a as vt,_b as Kr,a as n,ab as Gt,ac as Nr,bb as It,bc as Or,c as x,cb as Jt,cc as Qr,d as y,db as Kt,dc as Vr,e as w,eb as Mt,ec as Wr,f as A,fb as Nt,fc as Xr,g as b,gb as Ot,gc as Yr,h as l,ha as Q,hb as Qt,hc as Zr,i as j,ia as V,ib as Vt,ic as _r,j as B,ja as W,jb as Wt,jc as ts,ka as X,kb as Xt,kc as rs,l as C,la as Y,lb as Yt,lc as ss,m as D,ma as Z,mb as Zt,mc as es,n as E,na as _,nb as _t,nc as os,o as H,oa as tt,ob as tr,p as P,pa as rt,pb as rr,qa as st,qb as sr,r as T,ra as et,rb as er,s as U,sa as ot,sb as or,t as $,ta as at,tb as ar,u as k,ua as nt,ub as nr,v as F,va as it,vb as ir,w as L,wa as pt,wb as pr,xa as ct,xb as cr,y as R,ya as ht,yb as hr,z as q,za as mt,zb as mr}from"./chunk-LCNCH3K2.js";import{a as S,d as z,e as Hr,f as Pr,g as Sr,h as Tr,i as Ur}from"./chunk-W6JQ5D4W.js";import"./chunk-NW4YQXGC.js";import{V as u,X as a,Y as f,a as t}from"./chunk-JAEQKE5H.js";var e=["sha-1","sha-256","sha-384","sha-512"],r=class{static{t(this,"BaseCryptoBeta")}};var o=class extends r{static{t(this,"WorkerCryptoBeta")}async digest(s,p){if(n("runtime.crypto-beta"),!e.includes(s.toLowerCase()))throw new a(`Algorithm ${s} is not supported. Try using ${e.join(", ")}`);let c=new TextEncoder().encode(p),h=await crypto.subtle.digest(s,c);return Array.from(new Uint8Array(h)).map(m=>m.toString(16).padStart(2,"0")).join("")}};export{Dt as AIGatewayAnthropicToOpenAIInboundPolicy,Et as AIGatewayAuthInboundPolicy,I as AIGatewayMeteringInboundPolicy,Ht as AIGatewayOpenAIToAnthropicOutboundPolicy,Pt as AIGatewaySemanticCacheInboundPolicy,St as AIGatewaySemanticCacheOutboundPolicy,Tt as AIGatewayUsageTrackerPolicy,rt as AWSLoggingPlugin,Ut as AkamaiAIFirewallInboundPolicy,wt as AkamaiApiSecurityPlugin,$t as AkamaiFirewallForAiInboundPolicy,kt as AkamaiFirewallForAiOutboundPolicy,Lt as AmberfloMeteringInboundPolicy,Ft as AmberfloMeteringPolicy,qt as ApiAuthKeyInboundPolicy,es as ApiKeyConsumerClient,Rt as ApiKeyInboundPolicy,dt as AuditLogDataStaxProvider,ut as AuditLogPlugin,zt as Auth0JwtInboundPolicy,Gt as AuthZenInboundPolicy,K as AwsLambdaHandlerExtensions,It as AxiomaticsAuthZInboundPolicy,bt as AzureBlobPlugin,lt as AzureEventHubsRequestLoggerPlugin,At as BackgroundDispatcher,os as BackgroundLoader,Jt as BasicAuthInboundPolicy,br as BasicRateLimitInboundPolicy,P as BatchDispatch,Kt as BrownoutInboundPolicy,Mt as CachingInboundPolicy,Nt as ChangeMethodInboundPolicy,Ot as ClearHeadersInboundPolicy,Qt as ClearHeadersOutboundPolicy,Vt as ClerkJwtInboundPolicy,Wt as CognitoJwtInboundPolicy,Xt as CometOpikTracingInboundPolicy,Yt as ComplexRateLimitInboundPolicy,Zt as CompositeInboundPolicy,_t as CompositeOutboundPolicy,f as ConfigurationError,E as ContentTypes,v as ContextData,o as CryptoBeta,tr as CurityPhantomTokenInboundPolicy,F as DataDogLoggingPlugin,ct as DataDogMetricsPlugin,st as DynaTraceLoggingPlugin,ht as DynatraceMetricsPlugin,rr as FirebaseJwtInboundPolicy,sr as FormDataToJsonInboundPolicy,er as GalileoTracingInboundPolicy,or as GeoFilterInboundPolicy,k as GoogleCloudLoggingPlugin,G as Handler,ar as HttpDeprecationOutboundPolicy,B as HttpProblems,b as HttpStatusCode,Bt as HydrolixRequestLoggerPlugin,U as InboundPolicy,nr as JWTScopeValidationInboundPolicy,ft as JwtServicePlugin,et as LokiLoggingPlugin,L as LookupResult,mr as MTLSAuthInboundPolicy,xt as McpGatewayOAuthProtectedResourcePlugin,w as MemoryZoneReadThroughCache,ir as MockApiInboundPolicy,cr as MoesifInboundPolicy,hr as MonetizationInboundPolicy,ot as NewRelicLoggingPlugin,mt as NewRelicMetricsPlugin,yt as OAuthProtectedResourcePlugin,gt as OTelMetricsPlugin,gr as OktaFGAAuthZInboundPolicy,dr as OktaJwtInboundPolicy,ur as OpenFGAAuthZInboundPolicy,vt as OpenIdJwtInboundPolicy,fr as OpenMeterInboundPolicy,$ as OutboundPolicy,j as ProblemResponseFormatter,xr as PromptInjectionDetectionOutboundPolicy,yr as PropelAuthJwtInboundPolicy,wr as QueryParamToHeaderInboundPolicy,Ar as QuotaInboundPolicy,br as RateLimitInboundPolicy,lr as ReadmeMetricsInboundPolicy,jr as RemoveHeadersInboundPolicy,Br as RemoveHeadersOutboundPolicy,Cr as RemoveQueryParamsInboundPolicy,Dr as ReplaceStringOutboundPolicy,Ct as RequestLoggerPlugin,Er as RequestSizeLimitInboundPolicy,$r as RequestValidationInboundPolicy,Fr as RequireOriginInboundPolicy,R as ResponseSendingEvent,q as ResponseSentEvent,a as RuntimeError,u as SYSTEM_LOGGER,kr as SchemaBasedRequestValidation,Lr as SecretMaskingOutboundPolicy,T as SemanticAttributes,Rr as SemanticCacheInboundPolicy,ss as ServiceProviderImpl,qr as SetBodyInboundPolicy,vr as SetHeadersInboundPolicy,zr as SetHeadersOutboundPolicy,Gr as SetQueryParamsInboundPolicy,Ir as SetStatusOutboundPolicy,Jr as SleepInboundPolicy,at as SplunkLoggingPlugin,A as StreamingZoneCache,Kr as StripeWebhookVerificationInboundPolicy,nt as SumoLogicLoggingPlugin,Mr as SupabaseJwtInboundPolicy,S as SystemRouteName,C as TelemetryPlugin,Nr as UpstreamAzureAdServiceAuthInboundPolicy,Or as UpstreamFirebaseAdminAuthInboundPolicy,Qr as UpstreamFirebaseUserAuthInboundPolicy,Wr as UpstreamGcpFederatedAuthInboundPolicy,Xr as UpstreamGcpJwtInboundPolicy,Yr as UpstreamGcpServiceAuthInboundPolicy,Zr as UpstreamZuploJwtAuthInboundPolicy,it as VMWareLogInsightLoggingPlugin,_r as ValidateJsonSchemaInbound,ts as WebBotAuthInboundPolicy,rs as XmlToJsonOutboundPolicy,y as ZoneCache,pt as ZuploMcpSdk,D as ZuploRequest,Vr as ZuploServices,J as aiGatewayHandler,x as apiServices,M as awsLambdaHandler,jt as defaultGenerateHydrolixEntry,z as environment,Pr as getIdForParameterSchema,Tr as getIdForRefSchema,Sr as getIdForRequestBodySchema,Hr as getRawOperationDataIdentifierName,l as httpStatuses,N as legacyDevPortalHandler,Q as mcpServerHandler,V as openApiSpecHandler,W as redirectHandler,O as redirectLegacyDevPortal,Ur as sanitizedIdentifierName,H as serialize,pr as setMoesifContext,n as trackFeature,Y as urlForwardHandler,Z as urlRewriteHandler,_ as webSocketHandler,tt as webSocketPipelineHandler,X as zuploServiceProxy};
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
* DEALINGS IN THE SOFTWARE.
|
|
23
23
|
*--------------------------------------------------------------------------------------------*/
|
|
24
24
|
|
|
25
|
-
import{b as e,c as t,e as i,f as o,g as a,h as r,i as n}from"../chunk-
|
|
25
|
+
import{b as e,c as t,e as i,f as o,g as a,h as r,i as n}from"../chunk-W6JQ5D4W.js";import"../chunk-JAEQKE5H.js";export{o as getIdForParameterSchema,r as getIdForRefSchema,a as getIdForRequestBodySchema,i as getRawOperationDataIdentifierName,e as isRestrictedEnvVariableName,t as isZuploReadableEnvVariableName,n as sanitizedIdentifierName};
|
|
26
26
|
//# sourceMappingURL=index.js.map
|