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>

45 lines 2.08 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type PatchEdgeConfigSchemaRequestBody = { definition?: any | undefined; }; export type PatchEdgeConfigSchemaRequest = { edgeConfigId: string; dryRun?: string | undefined; /** * 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: PatchEdgeConfigSchemaRequestBody; }; /** * The JSON schema uploaded by the user */ export type PatchEdgeConfigSchemaResponseBody = {}; /** @internal */ export type PatchEdgeConfigSchemaRequestBody$Outbound = { definition?: any | undefined; }; /** @internal */ export declare const PatchEdgeConfigSchemaRequestBody$outboundSchema: z.ZodType<PatchEdgeConfigSchemaRequestBody$Outbound, z.ZodTypeDef, PatchEdgeConfigSchemaRequestBody>; export declare function patchEdgeConfigSchemaRequestBodyToJSON(patchEdgeConfigSchemaRequestBody: PatchEdgeConfigSchemaRequestBody): string; /** @internal */ export type PatchEdgeConfigSchemaRequest$Outbound = { edgeConfigId: string; dryRun?: string | undefined; teamId?: string | undefined; slug?: string | undefined; RequestBody: PatchEdgeConfigSchemaRequestBody$Outbound; }; /** @internal */ export declare const PatchEdgeConfigSchemaRequest$outboundSchema: z.ZodType<PatchEdgeConfigSchemaRequest$Outbound, z.ZodTypeDef, PatchEdgeConfigSchemaRequest>; export declare function patchEdgeConfigSchemaRequestToJSON(patchEdgeConfigSchemaRequest: PatchEdgeConfigSchemaRequest): string; /** @internal */ export declare const PatchEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType<PatchEdgeConfigSchemaResponseBody, z.ZodTypeDef, unknown>; export declare function patchEdgeConfigSchemaResponseBodyFromJSON(jsonString: string): SafeParseResult<PatchEdgeConfigSchemaResponseBody, SDKValidationError>; //# sourceMappingURL=patchedgeconfigschemaop.d.ts.map