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>

73 lines 3.05 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type GetEdgeConfigsRequest = { /** * 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; }; /** * Keeps track of the current state of the Edge Config while it gets transferred. */ export type Transfer = { fromAccountId: string; startedAt: number; doneAt: number | null; }; export type Schema = {}; export declare const GetEdgeConfigsType: { readonly Flags: "flags"; }; export type GetEdgeConfigsType = ClosedEnum<typeof GetEdgeConfigsType>; export type Purpose = { type: GetEdgeConfigsType; projectId: string; }; export type GetEdgeConfigsResponseBody = { id?: string | undefined; createdAt?: number | undefined; ownerId?: string | undefined; /** * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). */ slug?: string | undefined; updatedAt?: number | undefined; digest?: string | undefined; /** * Keeps track of the current state of the Edge Config while it gets transferred. */ transfer?: Transfer | undefined; schema?: Schema | undefined; purpose?: Purpose | undefined; sizeInBytes: number; itemCount: number; }; /** @internal */ export type GetEdgeConfigsRequest$Outbound = { teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const GetEdgeConfigsRequest$outboundSchema: z.ZodType<GetEdgeConfigsRequest$Outbound, z.ZodTypeDef, GetEdgeConfigsRequest>; export declare function getEdgeConfigsRequestToJSON(getEdgeConfigsRequest: GetEdgeConfigsRequest): string; /** @internal */ export declare const Transfer$inboundSchema: z.ZodType<Transfer, z.ZodTypeDef, unknown>; export declare function transferFromJSON(jsonString: string): SafeParseResult<Transfer, SDKValidationError>; /** @internal */ export declare const Schema$inboundSchema: z.ZodType<Schema, z.ZodTypeDef, unknown>; export declare function schemaFromJSON(jsonString: string): SafeParseResult<Schema, SDKValidationError>; /** @internal */ export declare const GetEdgeConfigsType$inboundSchema: z.ZodNativeEnum<typeof GetEdgeConfigsType>; /** @internal */ export declare const Purpose$inboundSchema: z.ZodType<Purpose, z.ZodTypeDef, unknown>; export declare function purposeFromJSON(jsonString: string): SafeParseResult<Purpose, SDKValidationError>; /** @internal */ export declare const GetEdgeConfigsResponseBody$inboundSchema: z.ZodType<GetEdgeConfigsResponseBody, z.ZodTypeDef, unknown>; export declare function getEdgeConfigsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetEdgeConfigsResponseBody, SDKValidationError>; //# sourceMappingURL=getedgeconfigsop.d.ts.map