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>

61 lines 2.82 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type GetEdgeConfigBackupsRequest = { edgeConfigId: string; next?: string | undefined; limit?: number | undefined; metadata?: 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; }; export type GetEdgeConfigBackupsMetadata = { updatedAt?: string | undefined; updatedBy?: string | undefined; itemsCount?: number | undefined; itemsBytes?: number | undefined; }; export type Backups = { metadata?: GetEdgeConfigBackupsMetadata | undefined; id: string; lastModified: number; }; export type GetEdgeConfigBackupsPagination = { hasNext: boolean; next?: string | undefined; }; export type GetEdgeConfigBackupsResponseBody = { backups: Array<Backups>; pagination: GetEdgeConfigBackupsPagination; }; /** @internal */ export type GetEdgeConfigBackupsRequest$Outbound = { edgeConfigId: string; next?: string | undefined; limit?: number | undefined; metadata?: string | undefined; teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const GetEdgeConfigBackupsRequest$outboundSchema: z.ZodType<GetEdgeConfigBackupsRequest$Outbound, z.ZodTypeDef, GetEdgeConfigBackupsRequest>; export declare function getEdgeConfigBackupsRequestToJSON(getEdgeConfigBackupsRequest: GetEdgeConfigBackupsRequest): string; /** @internal */ export declare const GetEdgeConfigBackupsMetadata$inboundSchema: z.ZodType<GetEdgeConfigBackupsMetadata, z.ZodTypeDef, unknown>; export declare function getEdgeConfigBackupsMetadataFromJSON(jsonString: string): SafeParseResult<GetEdgeConfigBackupsMetadata, SDKValidationError>; /** @internal */ export declare const Backups$inboundSchema: z.ZodType<Backups, z.ZodTypeDef, unknown>; export declare function backupsFromJSON(jsonString: string): SafeParseResult<Backups, SDKValidationError>; /** @internal */ export declare const GetEdgeConfigBackupsPagination$inboundSchema: z.ZodType<GetEdgeConfigBackupsPagination, z.ZodTypeDef, unknown>; export declare function getEdgeConfigBackupsPaginationFromJSON(jsonString: string): SafeParseResult<GetEdgeConfigBackupsPagination, SDKValidationError>; /** @internal */ export declare const GetEdgeConfigBackupsResponseBody$inboundSchema: z.ZodType<GetEdgeConfigBackupsResponseBody, z.ZodTypeDef, unknown>; export declare function getEdgeConfigBackupsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetEdgeConfigBackupsResponseBody, SDKValidationError>; //# sourceMappingURL=getedgeconfigbackupsop.d.ts.map