import * as z from "zod/v4-mini"; import { ReleaseSource, ReleaseSource$Outbound } from "./release-source.js"; /** * Release destination metadata from the Interfere CLI. */ export type CliReleaseDestination = { provider: "cli"; destinationReleaseId: string | null; environment: string | null; deploymentUrl: string | null; }; /** * Release destination metadata for a Cloudflare Workers deployment. */ export type CloudflareReleaseDestination = { provider: "cloudflare"; destinationReleaseId: string | null; environment: string | null; versionId: string | null; scriptName: string | null; accountId: string | null; deploymentUrl: string | null; environmentName: string | null; environmentTarget: string | null; }; /** * Release destination metadata for a Vercel deployment. */ export type VercelReleaseDestination = { provider: "vercel"; destinationReleaseId: string | null; environment: string | null; deploymentId: string | null; deploymentUrl: string | null; environmentName: string | null; environmentTarget: string | null; }; export type ReleaseDestination = VercelReleaseDestination | CloudflareReleaseDestination | CliReleaseDestination; /** * Request body for creating a release. */ export type ReleasesCreateRequest = { source: ReleaseSource; destination: VercelReleaseDestination | CloudflareReleaseDestination | CliReleaseDestination | null; buildId: string; slug?: string | undefined; producerVersion?: string | undefined; }; /** @internal */ export type CliReleaseDestination$Outbound = { provider: "cli"; destinationReleaseId: string | null; environment: string | null; deploymentUrl: string | null; }; /** @internal */ export declare const CliReleaseDestination$outboundSchema: z.ZodMiniType; export declare function cliReleaseDestinationToJSON(cliReleaseDestination: CliReleaseDestination): string; /** @internal */ export type CloudflareReleaseDestination$Outbound = { provider: "cloudflare"; destinationReleaseId: string | null; environment: string | null; versionId: string | null; scriptName: string | null; accountId: string | null; deploymentUrl: string | null; environmentName: string | null; environmentTarget: string | null; }; /** @internal */ export declare const CloudflareReleaseDestination$outboundSchema: z.ZodMiniType; export declare function cloudflareReleaseDestinationToJSON(cloudflareReleaseDestination: CloudflareReleaseDestination): string; /** @internal */ export type VercelReleaseDestination$Outbound = { provider: "vercel"; destinationReleaseId: string | null; environment: string | null; deploymentId: string | null; deploymentUrl: string | null; environmentName: string | null; environmentTarget: string | null; }; /** @internal */ export declare const VercelReleaseDestination$outboundSchema: z.ZodMiniType; export declare function vercelReleaseDestinationToJSON(vercelReleaseDestination: VercelReleaseDestination): string; /** @internal */ export type ReleaseDestination$Outbound = VercelReleaseDestination$Outbound | CloudflareReleaseDestination$Outbound | CliReleaseDestination$Outbound; /** @internal */ export declare const ReleaseDestination$outboundSchema: z.ZodMiniType; export declare function releaseDestinationToJSON(releaseDestination: ReleaseDestination): string; /** @internal */ export type ReleasesCreateRequest$Outbound = { source: ReleaseSource$Outbound; destination: VercelReleaseDestination$Outbound | CloudflareReleaseDestination$Outbound | CliReleaseDestination$Outbound | null; buildId: string; slug?: string | undefined; producerVersion?: string | undefined; }; /** @internal */ export declare const ReleasesCreateRequest$outboundSchema: z.ZodMiniType; export declare function releasesCreateRequestToJSON(releasesCreateRequest: ReleasesCreateRequest): string;