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>

32 lines 1.75 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type CreateWebInsightsToggleRequestBody = { value: boolean; }; export type CreateWebInsightsToggleRequest = { projectId: string; requestBody?: CreateWebInsightsToggleRequestBody | undefined; }; export type CreateWebInsightsToggleResponseBody = { value: boolean; }; /** @internal */ export type CreateWebInsightsToggleRequestBody$Outbound = { value: boolean; }; /** @internal */ export declare const CreateWebInsightsToggleRequestBody$outboundSchema: z.ZodType<CreateWebInsightsToggleRequestBody$Outbound, z.ZodTypeDef, CreateWebInsightsToggleRequestBody>; export declare function createWebInsightsToggleRequestBodyToJSON(createWebInsightsToggleRequestBody: CreateWebInsightsToggleRequestBody): string; /** @internal */ export type CreateWebInsightsToggleRequest$Outbound = { projectId: string; RequestBody?: CreateWebInsightsToggleRequestBody$Outbound | undefined; }; /** @internal */ export declare const CreateWebInsightsToggleRequest$outboundSchema: z.ZodType<CreateWebInsightsToggleRequest$Outbound, z.ZodTypeDef, CreateWebInsightsToggleRequest>; export declare function createWebInsightsToggleRequestToJSON(createWebInsightsToggleRequest: CreateWebInsightsToggleRequest): string; /** @internal */ export declare const CreateWebInsightsToggleResponseBody$inboundSchema: z.ZodType<CreateWebInsightsToggleResponseBody, z.ZodTypeDef, unknown>; export declare function createWebInsightsToggleResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateWebInsightsToggleResponseBody, SDKValidationError>; //# sourceMappingURL=createwebinsightstoggleop.d.ts.map