UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

667 lines 29.4 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; /** * Pattern syntax type. If not provided, inferred from pattern. */ export declare const SrcSyntax: { readonly Equals: "equals"; readonly PathToRegexp: "path-to-regexp"; readonly Regex: "regex"; }; /** * Pattern syntax type. If not provided, inferred from pattern. */ export type SrcSyntax = ClosedEnum<typeof SrcSyntax>; export type AddRouteHeaders = {}; export declare const AddRouteType: { readonly Host: "host"; readonly Header: "header"; readonly Cookie: "cookie"; readonly Query: "query"; }; export type AddRouteType = ClosedEnum<typeof AddRouteType>; export type AddRouteHas = { type?: AddRouteType | undefined; key?: string | undefined; value?: string | undefined; }; export declare const AddRouteProjectRoutesType: { readonly Host: "host"; readonly Header: "header"; readonly Cookie: "cookie"; readonly Query: "query"; }; export type AddRouteProjectRoutesType = ClosedEnum<typeof AddRouteProjectRoutesType>; export type AddRouteMissing = { type?: AddRouteProjectRoutesType | undefined; key?: string | undefined; value?: string | undefined; }; export declare const AddRouteProjectRoutesRequestType: { readonly RequestHeaders: "request.headers"; readonly RequestQuery: "request.query"; readonly ResponseHeaders: "response.headers"; }; export type AddRouteProjectRoutesRequestType = ClosedEnum<typeof AddRouteProjectRoutesRequestType>; export declare const AddRouteOp: { readonly Append: "append"; readonly Set: "set"; readonly Delete: "delete"; }; export type AddRouteOp = ClosedEnum<typeof AddRouteOp>; export type AddRouteTarget = {}; export type AddRouteTransforms = { type?: AddRouteProjectRoutesRequestType | undefined; op?: AddRouteOp | undefined; target?: AddRouteTarget | undefined; args?: any | undefined; env?: Array<string> | undefined; }; export type AddRouteProjectRoutesRoute = { src: string; dest?: string | undefined; headers?: AddRouteHeaders | undefined; caseSensitive?: boolean | undefined; status?: number | undefined; has?: Array<AddRouteHas> | undefined; missing?: Array<AddRouteMissing> | undefined; transforms?: Array<AddRouteTransforms> | undefined; respectOriginCacheControl?: boolean | undefined; }; export type AddRouteRoute = { name: string; description?: string | undefined; enabled?: boolean | undefined; /** * Pattern syntax type. If not provided, inferred from pattern. */ srcSyntax?: SrcSyntax | undefined; route: AddRouteProjectRoutesRoute; }; /** * "after"/"before" require referenceId. */ export declare const Placement: { readonly Start: "start"; readonly End: "end"; readonly After: "after"; readonly Before: "before"; }; /** * "after"/"before" require referenceId. */ export type Placement = ClosedEnum<typeof Placement>; /** * Controls where the route is inserted. Defaults to "end" if omitted. */ export type Position = { /** * "after"/"before" require referenceId. */ placement?: Placement | undefined; /** * Route ID to insert after/before. Required for "after"/"before". */ referenceId?: string | undefined; }; export type AddRouteRequestBody = { route: AddRouteRoute; /** * Controls where the route is inserted. Defaults to "end" if omitted. */ position?: Position | undefined; }; export type AddRouteRequest = { projectId: string; /** * The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** * The Team slug to perform the request on behalf of. */ slug?: string | undefined; requestBody?: AddRouteRequestBody | undefined; }; export declare const RouteType: { readonly Redirect: "redirect"; readonly Rewrite: "rewrite"; readonly SetStatus: "set_status"; readonly Transform: "transform"; }; export type RouteType = ClosedEnum<typeof RouteType>; export declare const AddRouteHasProjectRoutesType: { readonly Cookie: "cookie"; readonly Header: "header"; readonly Query: "query"; }; export type AddRouteHasProjectRoutesType = ClosedEnum<typeof AddRouteHasProjectRoutesType>; export type AddRouteValueProjectRoutesEq = string | number; export type AddRouteValueProjectRoutes2 = { eq?: string | number | undefined; neq?: string | undefined; inc?: Array<string> | undefined; ninc?: Array<string> | undefined; pre?: string | undefined; suf?: string | undefined; re?: string | undefined; gt?: number | undefined; gte?: number | undefined; lt?: number | undefined; lte?: number | undefined; }; export type AddRouteHasProjectRoutesValue = string | AddRouteValueProjectRoutes2; export type AddRouteHas2 = { type: AddRouteHasProjectRoutesType; key: string; value?: string | AddRouteValueProjectRoutes2 | undefined; }; export type AddRouteValueEq = string | number; export type AddRouteValue2 = { eq?: string | number | undefined; neq?: string | undefined; inc?: Array<string> | undefined; ninc?: Array<string> | undefined; pre?: string | undefined; suf?: string | undefined; re?: string | undefined; gt?: number | undefined; gte?: number | undefined; lt?: number | undefined; lte?: number | undefined; }; export type AddRouteHasValue = string | AddRouteValue2; export type AddRouteHas1 = { type: "host"; value: string | AddRouteValue2; }; export type AddRouteProjectRoutesHas = AddRouteHas1 | (AddRouteHas2 & { type: "cookie"; }) | (AddRouteHas2 & { type: "header"; }) | (AddRouteHas2 & { type: "query"; }); export declare const AddRouteMissingProjectRoutesType: { readonly Cookie: "cookie"; readonly Header: "header"; readonly Query: "query"; }; export type AddRouteMissingProjectRoutesType = ClosedEnum<typeof AddRouteMissingProjectRoutesType>; export type AddRouteValueProjectRoutesResponse200Eq = string | number; export type AddRouteValueProjectRoutesResponse2002 = { eq?: string | number | undefined; neq?: string | undefined; inc?: Array<string> | undefined; ninc?: Array<string> | undefined; pre?: string | undefined; suf?: string | undefined; re?: string | undefined; gt?: number | undefined; gte?: number | undefined; lt?: number | undefined; lte?: number | undefined; }; export type AddRouteMissingProjectRoutesValue = string | AddRouteValueProjectRoutesResponse2002; export type AddRouteMissing2 = { type: AddRouteMissingProjectRoutesType; key: string; value?: string | AddRouteValueProjectRoutesResponse2002 | undefined; }; export type AddRouteValueProjectRoutesResponseEq = string | number; export type AddRouteValueProjectRoutesResponse2 = { eq?: string | number | undefined; neq?: string | undefined; inc?: Array<string> | undefined; ninc?: Array<string> | undefined; pre?: string | undefined; suf?: string | undefined; re?: string | undefined; gt?: number | undefined; gte?: number | undefined; lt?: number | undefined; lte?: number | undefined; }; export type AddRouteMissingValue = string | AddRouteValueProjectRoutesResponse2; export type AddRouteMissing1 = { type: "host"; value: string | AddRouteValueProjectRoutesResponse2; }; export type AddRouteProjectRoutesMissing = AddRouteMissing1 | (AddRouteMissing2 & { type: "cookie"; }) | (AddRouteMissing2 & { type: "header"; }) | (AddRouteMissing2 & { type: "query"; }); export declare const AddRouteAction: { readonly Challenge: "challenge"; readonly Deny: "deny"; }; export type AddRouteAction = ClosedEnum<typeof AddRouteAction>; export type AddRouteMitigate = { action: AddRouteAction; }; export declare const AddRouteProjectRoutesResponseType: { readonly RequestHeaders: "request.headers"; readonly RequestQuery: "request.query"; readonly ResponseHeaders: "response.headers"; }; export type AddRouteProjectRoutesResponseType = ClosedEnum<typeof AddRouteProjectRoutesResponseType>; export declare const AddRouteProjectRoutesOp: { readonly Append: "append"; readonly Delete: "delete"; readonly Set: "set"; }; export type AddRouteProjectRoutesOp = ClosedEnum<typeof AddRouteProjectRoutesOp>; export type AddRouteKeyEq = string | number; export type AddRouteKey2 = { eq?: string | number | undefined; neq?: string | undefined; inc?: Array<string> | undefined; ninc?: Array<string> | undefined; pre?: string | undefined; suf?: string | undefined; gt?: number | undefined; gte?: number | undefined; lt?: number | undefined; lte?: number | undefined; }; export type AddRouteKey = string | AddRouteKey2; export type AddRouteProjectRoutesTarget = { key: string | AddRouteKey2; }; export type AddRouteArgs = string | Array<string>; export type AddRouteProjectRoutesTransforms = { type: AddRouteProjectRoutesResponseType; op: AddRouteProjectRoutesOp; target: AddRouteProjectRoutesTarget; args?: string | Array<string> | undefined; env?: Array<string> | undefined; }; export type AddRouteLocale = { redirect?: { [k: string]: string; } | undefined; cookie?: string | undefined; }; export declare const AddRouteDestinationType: { readonly Service: "service"; }; export type AddRouteDestinationType = ClosedEnum<typeof AddRouteDestinationType>; export type AddRouteDestination2 = { type: AddRouteDestinationType; service: string; /** * Routing-only path used to select a route inside the target service. */ path?: string | undefined; }; export type AddRouteDestination = AddRouteDestination2 | string; /** * The route definition from @vercel/routing-utils. */ export type AddRouteProjectRoutesResponse200Route = { src: string; dest?: string | undefined; headers?: { [k: string]: string; } | undefined; methods?: Array<string> | undefined; continue?: boolean | undefined; override?: boolean | undefined; caseSensitive?: boolean | undefined; check?: boolean | undefined; important?: boolean | undefined; status?: number | undefined; has?: Array<AddRouteHas1 | (AddRouteHas2 & { type: "cookie"; }) | (AddRouteHas2 & { type: "header"; }) | (AddRouteHas2 & { type: "query"; })> | undefined; missing?: Array<AddRouteMissing1 | (AddRouteMissing2 & { type: "cookie"; }) | (AddRouteMissing2 & { type: "header"; }) | (AddRouteMissing2 & { type: "query"; })> | undefined; mitigate?: AddRouteMitigate | undefined; transforms?: Array<AddRouteProjectRoutesTransforms> | undefined; env?: Array<string> | undefined; locale?: AddRouteLocale | undefined; /** * Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`). */ source?: string | undefined; destination?: AddRouteDestination2 | string | undefined; statusCode?: number | undefined; /** * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. */ middlewarePath?: string | undefined; /** * The original middleware matchers. */ middlewareRawSrc?: Array<string> | undefined; /** * A middleware index in the `middleware` key under the build result */ middleware?: number | undefined; respectOriginCacheControl?: boolean | undefined; }; /** * The syntax type of the source pattern. Determines how the pattern is compiled to regex. */ export declare const AddRouteSrcSyntax: { readonly Equals: "equals"; readonly PathToRegexp: "path-to-regexp"; readonly Regex: "regex"; }; /** * The syntax type of the source pattern. Determines how the pattern is compiled to regex. */ export type AddRouteSrcSyntax = ClosedEnum<typeof AddRouteSrcSyntax>; export type AddRouteProjectRoutesResponseRoute = { routeType?: RouteType | undefined; /** * Unique identifier for the routing rule. */ id: string; /** * Human-readable name for the routing rule. */ name: string; /** * Optional description of what the routing rule does. */ description?: string | undefined; /** * Whether the routing rule is enabled. Defaults to true. */ enabled?: boolean | undefined; /** * Whether this route is new and not yet published to production. Set to true only when a route is first created via add-route. Cleared (set to false) when a version is promoted to production. */ staged?: boolean | undefined; /** * The route definition from @vercel/routing-utils. */ route: AddRouteProjectRoutesResponse200Route; /** * Original source pattern provided by user (path-to-regexp or regex). Used to display the user's input in API responses. */ rawSrc?: string | undefined; /** * Original destination provided by user. */ rawDest?: string | undefined; /** * The syntax type of the source pattern. Determines how the pattern is compiled to regex. */ srcSyntax?: AddRouteSrcSyntax | undefined; }; /** * A version of routing rules stored in S3. */ export type AddRouteVersion = { /** * Unique identifier for the version. */ id: string; /** * The S3 key where the routing rules are stored. */ s3Key: string; /** * Timestamp of when this version was last modified. */ lastModified: number; /** * The user who created this version. */ createdBy: string; /** * Whether this version is staged and not yet promoted to production. */ isStaging?: boolean | undefined; /** * Whether this version is currently live in production. */ isLive?: boolean | undefined; /** * The number of routing rules in this version. */ ruleCount?: number | undefined; /** * The staging alias for previewing this version. */ alias?: string | undefined; }; export type AddRouteResponseBody = { route: AddRouteProjectRoutesResponseRoute; /** * A version of routing rules stored in S3. */ version: AddRouteVersion; }; /** @internal */ export declare const SrcSyntax$outboundSchema: z.ZodNativeEnum<typeof SrcSyntax>; /** @internal */ export type AddRouteHeaders$Outbound = {}; /** @internal */ export declare const AddRouteHeaders$outboundSchema: z.ZodType<AddRouteHeaders$Outbound, z.ZodTypeDef, AddRouteHeaders>; export declare function addRouteHeadersToJSON(addRouteHeaders: AddRouteHeaders): string; /** @internal */ export declare const AddRouteType$outboundSchema: z.ZodNativeEnum<typeof AddRouteType>; /** @internal */ export type AddRouteHas$Outbound = { type?: string | undefined; key?: string | undefined; value?: string | undefined; }; /** @internal */ export declare const AddRouteHas$outboundSchema: z.ZodType<AddRouteHas$Outbound, z.ZodTypeDef, AddRouteHas>; export declare function addRouteHasToJSON(addRouteHas: AddRouteHas): string; /** @internal */ export declare const AddRouteProjectRoutesType$outboundSchema: z.ZodNativeEnum<typeof AddRouteProjectRoutesType>; /** @internal */ export type AddRouteMissing$Outbound = { type?: string | undefined; key?: string | undefined; value?: string | undefined; }; /** @internal */ export declare const AddRouteMissing$outboundSchema: z.ZodType<AddRouteMissing$Outbound, z.ZodTypeDef, AddRouteMissing>; export declare function addRouteMissingToJSON(addRouteMissing: AddRouteMissing): string; /** @internal */ export declare const AddRouteProjectRoutesRequestType$outboundSchema: z.ZodNativeEnum<typeof AddRouteProjectRoutesRequestType>; /** @internal */ export declare const AddRouteOp$outboundSchema: z.ZodNativeEnum<typeof AddRouteOp>; /** @internal */ export type AddRouteTarget$Outbound = {}; /** @internal */ export declare const AddRouteTarget$outboundSchema: z.ZodType<AddRouteTarget$Outbound, z.ZodTypeDef, AddRouteTarget>; export declare function addRouteTargetToJSON(addRouteTarget: AddRouteTarget): string; /** @internal */ export type AddRouteTransforms$Outbound = { type?: string | undefined; op?: string | undefined; target?: AddRouteTarget$Outbound | undefined; args?: any | undefined; env?: Array<string> | undefined; }; /** @internal */ export declare const AddRouteTransforms$outboundSchema: z.ZodType<AddRouteTransforms$Outbound, z.ZodTypeDef, AddRouteTransforms>; export declare function addRouteTransformsToJSON(addRouteTransforms: AddRouteTransforms): string; /** @internal */ export type AddRouteProjectRoutesRoute$Outbound = { src: string; dest?: string | undefined; headers?: AddRouteHeaders$Outbound | undefined; caseSensitive?: boolean | undefined; status?: number | undefined; has?: Array<AddRouteHas$Outbound> | undefined; missing?: Array<AddRouteMissing$Outbound> | undefined; transforms?: Array<AddRouteTransforms$Outbound> | undefined; respectOriginCacheControl?: boolean | undefined; }; /** @internal */ export declare const AddRouteProjectRoutesRoute$outboundSchema: z.ZodType<AddRouteProjectRoutesRoute$Outbound, z.ZodTypeDef, AddRouteProjectRoutesRoute>; export declare function addRouteProjectRoutesRouteToJSON(addRouteProjectRoutesRoute: AddRouteProjectRoutesRoute): string; /** @internal */ export type AddRouteRoute$Outbound = { name: string; description?: string | undefined; enabled?: boolean | undefined; srcSyntax?: string | undefined; route: AddRouteProjectRoutesRoute$Outbound; }; /** @internal */ export declare const AddRouteRoute$outboundSchema: z.ZodType<AddRouteRoute$Outbound, z.ZodTypeDef, AddRouteRoute>; export declare function addRouteRouteToJSON(addRouteRoute: AddRouteRoute): string; /** @internal */ export declare const Placement$outboundSchema: z.ZodNativeEnum<typeof Placement>; /** @internal */ export type Position$Outbound = { placement?: string | undefined; referenceId?: string | undefined; }; /** @internal */ export declare const Position$outboundSchema: z.ZodType<Position$Outbound, z.ZodTypeDef, Position>; export declare function positionToJSON(position: Position): string; /** @internal */ export type AddRouteRequestBody$Outbound = { route: AddRouteRoute$Outbound; position?: Position$Outbound | undefined; }; /** @internal */ export declare const AddRouteRequestBody$outboundSchema: z.ZodType<AddRouteRequestBody$Outbound, z.ZodTypeDef, AddRouteRequestBody>; export declare function addRouteRequestBodyToJSON(addRouteRequestBody: AddRouteRequestBody): string; /** @internal */ export type AddRouteRequest$Outbound = { projectId: string; teamId?: string | undefined; slug?: string | undefined; RequestBody?: AddRouteRequestBody$Outbound | undefined; }; /** @internal */ export declare const AddRouteRequest$outboundSchema: z.ZodType<AddRouteRequest$Outbound, z.ZodTypeDef, AddRouteRequest>; export declare function addRouteRequestToJSON(addRouteRequest: AddRouteRequest): string; /** @internal */ export declare const RouteType$inboundSchema: z.ZodNativeEnum<typeof RouteType>; /** @internal */ export declare const AddRouteHasProjectRoutesType$inboundSchema: z.ZodNativeEnum<typeof AddRouteHasProjectRoutesType>; /** @internal */ export declare const AddRouteValueProjectRoutesEq$inboundSchema: z.ZodType<AddRouteValueProjectRoutesEq, z.ZodTypeDef, unknown>; export declare function addRouteValueProjectRoutesEqFromJSON(jsonString: string): SafeParseResult<AddRouteValueProjectRoutesEq, SDKValidationError>; /** @internal */ export declare const AddRouteValueProjectRoutes2$inboundSchema: z.ZodType<AddRouteValueProjectRoutes2, z.ZodTypeDef, unknown>; export declare function addRouteValueProjectRoutes2FromJSON(jsonString: string): SafeParseResult<AddRouteValueProjectRoutes2, SDKValidationError>; /** @internal */ export declare const AddRouteHasProjectRoutesValue$inboundSchema: z.ZodType<AddRouteHasProjectRoutesValue, z.ZodTypeDef, unknown>; export declare function addRouteHasProjectRoutesValueFromJSON(jsonString: string): SafeParseResult<AddRouteHasProjectRoutesValue, SDKValidationError>; /** @internal */ export declare const AddRouteHas2$inboundSchema: z.ZodType<AddRouteHas2, z.ZodTypeDef, unknown>; export declare function addRouteHas2FromJSON(jsonString: string): SafeParseResult<AddRouteHas2, SDKValidationError>; /** @internal */ export declare const AddRouteValueEq$inboundSchema: z.ZodType<AddRouteValueEq, z.ZodTypeDef, unknown>; export declare function addRouteValueEqFromJSON(jsonString: string): SafeParseResult<AddRouteValueEq, SDKValidationError>; /** @internal */ export declare const AddRouteValue2$inboundSchema: z.ZodType<AddRouteValue2, z.ZodTypeDef, unknown>; export declare function addRouteValue2FromJSON(jsonString: string): SafeParseResult<AddRouteValue2, SDKValidationError>; /** @internal */ export declare const AddRouteHasValue$inboundSchema: z.ZodType<AddRouteHasValue, z.ZodTypeDef, unknown>; export declare function addRouteHasValueFromJSON(jsonString: string): SafeParseResult<AddRouteHasValue, SDKValidationError>; /** @internal */ export declare const AddRouteHas1$inboundSchema: z.ZodType<AddRouteHas1, z.ZodTypeDef, unknown>; export declare function addRouteHas1FromJSON(jsonString: string): SafeParseResult<AddRouteHas1, SDKValidationError>; /** @internal */ export declare const AddRouteProjectRoutesHas$inboundSchema: z.ZodType<AddRouteProjectRoutesHas, z.ZodTypeDef, unknown>; export declare function addRouteProjectRoutesHasFromJSON(jsonString: string): SafeParseResult<AddRouteProjectRoutesHas, SDKValidationError>; /** @internal */ export declare const AddRouteMissingProjectRoutesType$inboundSchema: z.ZodNativeEnum<typeof AddRouteMissingProjectRoutesType>; /** @internal */ export declare const AddRouteValueProjectRoutesResponse200Eq$inboundSchema: z.ZodType<AddRouteValueProjectRoutesResponse200Eq, z.ZodTypeDef, unknown>; export declare function addRouteValueProjectRoutesResponse200EqFromJSON(jsonString: string): SafeParseResult<AddRouteValueProjectRoutesResponse200Eq, SDKValidationError>; /** @internal */ export declare const AddRouteValueProjectRoutesResponse2002$inboundSchema: z.ZodType<AddRouteValueProjectRoutesResponse2002, z.ZodTypeDef, unknown>; export declare function addRouteValueProjectRoutesResponse2002FromJSON(jsonString: string): SafeParseResult<AddRouteValueProjectRoutesResponse2002, SDKValidationError>; /** @internal */ export declare const AddRouteMissingProjectRoutesValue$inboundSchema: z.ZodType<AddRouteMissingProjectRoutesValue, z.ZodTypeDef, unknown>; export declare function addRouteMissingProjectRoutesValueFromJSON(jsonString: string): SafeParseResult<AddRouteMissingProjectRoutesValue, SDKValidationError>; /** @internal */ export declare const AddRouteMissing2$inboundSchema: z.ZodType<AddRouteMissing2, z.ZodTypeDef, unknown>; export declare function addRouteMissing2FromJSON(jsonString: string): SafeParseResult<AddRouteMissing2, SDKValidationError>; /** @internal */ export declare const AddRouteValueProjectRoutesResponseEq$inboundSchema: z.ZodType<AddRouteValueProjectRoutesResponseEq, z.ZodTypeDef, unknown>; export declare function addRouteValueProjectRoutesResponseEqFromJSON(jsonString: string): SafeParseResult<AddRouteValueProjectRoutesResponseEq, SDKValidationError>; /** @internal */ export declare const AddRouteValueProjectRoutesResponse2$inboundSchema: z.ZodType<AddRouteValueProjectRoutesResponse2, z.ZodTypeDef, unknown>; export declare function addRouteValueProjectRoutesResponse2FromJSON(jsonString: string): SafeParseResult<AddRouteValueProjectRoutesResponse2, SDKValidationError>; /** @internal */ export declare const AddRouteMissingValue$inboundSchema: z.ZodType<AddRouteMissingValue, z.ZodTypeDef, unknown>; export declare function addRouteMissingValueFromJSON(jsonString: string): SafeParseResult<AddRouteMissingValue, SDKValidationError>; /** @internal */ export declare const AddRouteMissing1$inboundSchema: z.ZodType<AddRouteMissing1, z.ZodTypeDef, unknown>; export declare function addRouteMissing1FromJSON(jsonString: string): SafeParseResult<AddRouteMissing1, SDKValidationError>; /** @internal */ export declare const AddRouteProjectRoutesMissing$inboundSchema: z.ZodType<AddRouteProjectRoutesMissing, z.ZodTypeDef, unknown>; export declare function addRouteProjectRoutesMissingFromJSON(jsonString: string): SafeParseResult<AddRouteProjectRoutesMissing, SDKValidationError>; /** @internal */ export declare const AddRouteAction$inboundSchema: z.ZodNativeEnum<typeof AddRouteAction>; /** @internal */ export declare const AddRouteMitigate$inboundSchema: z.ZodType<AddRouteMitigate, z.ZodTypeDef, unknown>; export declare function addRouteMitigateFromJSON(jsonString: string): SafeParseResult<AddRouteMitigate, SDKValidationError>; /** @internal */ export declare const AddRouteProjectRoutesResponseType$inboundSchema: z.ZodNativeEnum<typeof AddRouteProjectRoutesResponseType>; /** @internal */ export declare const AddRouteProjectRoutesOp$inboundSchema: z.ZodNativeEnum<typeof AddRouteProjectRoutesOp>; /** @internal */ export declare const AddRouteKeyEq$inboundSchema: z.ZodType<AddRouteKeyEq, z.ZodTypeDef, unknown>; export declare function addRouteKeyEqFromJSON(jsonString: string): SafeParseResult<AddRouteKeyEq, SDKValidationError>; /** @internal */ export declare const AddRouteKey2$inboundSchema: z.ZodType<AddRouteKey2, z.ZodTypeDef, unknown>; export declare function addRouteKey2FromJSON(jsonString: string): SafeParseResult<AddRouteKey2, SDKValidationError>; /** @internal */ export declare const AddRouteKey$inboundSchema: z.ZodType<AddRouteKey, z.ZodTypeDef, unknown>; export declare function addRouteKeyFromJSON(jsonString: string): SafeParseResult<AddRouteKey, SDKValidationError>; /** @internal */ export declare const AddRouteProjectRoutesTarget$inboundSchema: z.ZodType<AddRouteProjectRoutesTarget, z.ZodTypeDef, unknown>; export declare function addRouteProjectRoutesTargetFromJSON(jsonString: string): SafeParseResult<AddRouteProjectRoutesTarget, SDKValidationError>; /** @internal */ export declare const AddRouteArgs$inboundSchema: z.ZodType<AddRouteArgs, z.ZodTypeDef, unknown>; export declare function addRouteArgsFromJSON(jsonString: string): SafeParseResult<AddRouteArgs, SDKValidationError>; /** @internal */ export declare const AddRouteProjectRoutesTransforms$inboundSchema: z.ZodType<AddRouteProjectRoutesTransforms, z.ZodTypeDef, unknown>; export declare function addRouteProjectRoutesTransformsFromJSON(jsonString: string): SafeParseResult<AddRouteProjectRoutesTransforms, SDKValidationError>; /** @internal */ export declare const AddRouteLocale$inboundSchema: z.ZodType<AddRouteLocale, z.ZodTypeDef, unknown>; export declare function addRouteLocaleFromJSON(jsonString: string): SafeParseResult<AddRouteLocale, SDKValidationError>; /** @internal */ export declare const AddRouteDestinationType$inboundSchema: z.ZodNativeEnum<typeof AddRouteDestinationType>; /** @internal */ export declare const AddRouteDestination2$inboundSchema: z.ZodType<AddRouteDestination2, z.ZodTypeDef, unknown>; export declare function addRouteDestination2FromJSON(jsonString: string): SafeParseResult<AddRouteDestination2, SDKValidationError>; /** @internal */ export declare const AddRouteDestination$inboundSchema: z.ZodType<AddRouteDestination, z.ZodTypeDef, unknown>; export declare function addRouteDestinationFromJSON(jsonString: string): SafeParseResult<AddRouteDestination, SDKValidationError>; /** @internal */ export declare const AddRouteProjectRoutesResponse200Route$inboundSchema: z.ZodType<AddRouteProjectRoutesResponse200Route, z.ZodTypeDef, unknown>; export declare function addRouteProjectRoutesResponse200RouteFromJSON(jsonString: string): SafeParseResult<AddRouteProjectRoutesResponse200Route, SDKValidationError>; /** @internal */ export declare const AddRouteSrcSyntax$inboundSchema: z.ZodNativeEnum<typeof AddRouteSrcSyntax>; /** @internal */ export declare const AddRouteProjectRoutesResponseRoute$inboundSchema: z.ZodType<AddRouteProjectRoutesResponseRoute, z.ZodTypeDef, unknown>; export declare function addRouteProjectRoutesResponseRouteFromJSON(jsonString: string): SafeParseResult<AddRouteProjectRoutesResponseRoute, SDKValidationError>; /** @internal */ export declare const AddRouteVersion$inboundSchema: z.ZodType<AddRouteVersion, z.ZodTypeDef, unknown>; export declare function addRouteVersionFromJSON(jsonString: string): SafeParseResult<AddRouteVersion, SDKValidationError>; /** @internal */ export declare const AddRouteResponseBody$inboundSchema: z.ZodType<AddRouteResponseBody, z.ZodTypeDef, unknown>; export declare function addRouteResponseBodyFromJSON(jsonString: string): SafeParseResult<AddRouteResponseBody, SDKValidationError>; //# sourceMappingURL=addrouteop.d.ts.map