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>

39 lines 1.51 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 declare const MarketplaceFlagState: { readonly Active: "active"; readonly Archived: "archived"; }; export type MarketplaceFlagState = ClosedEnum<typeof MarketplaceFlagState>; export declare const Category: { readonly Experiment: "experiment"; readonly Flag: "flag"; }; export type Category = ClosedEnum<typeof Category>; export type MarketplaceFlag = { typeName: "marketplaceFlag"; id: string; externalId: string; slug: string; origin: string; ownerId: string; projectId: string; resourceId: string; integrationConfigurationId: string; state: MarketplaceFlagState; name?: string | undefined; description?: string | undefined; category?: Category | undefined; createdAt?: number | undefined; updatedAt?: number | undefined; }; /** @internal */ export declare const MarketplaceFlagState$inboundSchema: z.ZodNativeEnum<typeof MarketplaceFlagState>; /** @internal */ export declare const Category$inboundSchema: z.ZodNativeEnum<typeof Category>; /** @internal */ export declare const MarketplaceFlag$inboundSchema: z.ZodType<MarketplaceFlag, z.ZodTypeDef, unknown>; export declare function marketplaceFlagFromJSON(jsonString: string): SafeParseResult<MarketplaceFlag, SDKValidationError>; //# sourceMappingURL=marketplaceflag.d.ts.map