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>

43 lines 1.72 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { Pagination } from "./pagination.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type GetCertsRequest = { /** * 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 Certs = { id: string; createdAt: number; expiresAt: number; autoRenew: boolean; cns: Array<string>; }; export type GetCertsResponseBody = { certs: Array<Certs>; /** * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. */ pagination: Pagination; }; /** @internal */ export type GetCertsRequest$Outbound = { teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const GetCertsRequest$outboundSchema: z.ZodType<GetCertsRequest$Outbound, z.ZodTypeDef, GetCertsRequest>; export declare function getCertsRequestToJSON(getCertsRequest: GetCertsRequest): string; /** @internal */ export declare const Certs$inboundSchema: z.ZodType<Certs, z.ZodTypeDef, unknown>; export declare function certsFromJSON(jsonString: string): SafeParseResult<Certs, SDKValidationError>; /** @internal */ export declare const GetCertsResponseBody$inboundSchema: z.ZodType<GetCertsResponseBody, z.ZodTypeDef, unknown>; export declare function getCertsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetCertsResponseBody, SDKValidationError>; //# sourceMappingURL=getcertsop.d.ts.map