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>

21 lines 875 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import * as types from "../types/primitives.js"; /** @internal */ export const DeleteAuthTokenRequest$outboundSchema = z.object({ tokenId: z.string(), }); export function deleteAuthTokenRequestToJSON(deleteAuthTokenRequest) { return JSON.stringify(DeleteAuthTokenRequest$outboundSchema.parse(deleteAuthTokenRequest)); } /** @internal */ export const DeleteAuthTokenResponseBody$inboundSchema = z.object({ tokenId: types.string(), }); export function deleteAuthTokenResponseBodyFromJSON(jsonString) { return safeParse(jsonString, (x) => DeleteAuthTokenResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteAuthTokenResponseBody' from JSON`); } //# sourceMappingURL=deleteauthtokenop.js.map