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>

37 lines 1.32 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type GetCertByIdRequest = { /** * The cert id */ id: 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; }; export type GetCertByIdResponseBody = { id: string; createdAt: number; expiresAt: number; autoRenew: boolean; cns: Array<string>; }; /** @internal */ export type GetCertByIdRequest$Outbound = { id: string; teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const GetCertByIdRequest$outboundSchema: z.ZodType<GetCertByIdRequest$Outbound, z.ZodTypeDef, GetCertByIdRequest>; export declare function getCertByIdRequestToJSON(getCertByIdRequest: GetCertByIdRequest): string; /** @internal */ export declare const GetCertByIdResponseBody$inboundSchema: z.ZodType<GetCertByIdResponseBody, z.ZodTypeDef, unknown>; export declare function getCertByIdResponseBodyFromJSON(jsonString: string): SafeParseResult<GetCertByIdResponseBody, SDKValidationError>; //# sourceMappingURL=getcertbyidop.d.ts.map