import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Inputs = string | number | number | boolean | Array; /** * The GPU to override the machine's default GPU */ export declare const Gpu: { readonly T4: "T4"; readonly L4: "L4"; readonly A10G: "A10G"; readonly L40S: "L40S"; readonly A100: "A100"; readonly A10080Gb: "A100-80GB"; readonly H100: "H100"; }; /** * The GPU to override the machine's default GPU */ export type Gpu = ClosedEnum; export type DeploymentRunRequest = { /** * The inputs to the workflow */ inputs?: { [k: string]: string | number | number | boolean | Array; } | undefined; webhook?: string | undefined; webhookIntermediateStatus?: boolean | undefined; /** * The GPU to override the machine's default GPU */ gpu?: Gpu | undefined; deploymentId: string; }; /** @internal */ export declare const Inputs$inboundSchema: z.ZodType; /** @internal */ export type Inputs$Outbound = string | number | number | boolean | Array; /** @internal */ export declare const Inputs$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Inputs$ { /** @deprecated use `Inputs$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Inputs$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Inputs$Outbound` instead. */ type Outbound = Inputs$Outbound; } export declare function inputsToJSON(inputs: Inputs): string; export declare function inputsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Gpu$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Gpu$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Gpu$ { /** @deprecated use `Gpu$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly T4: "T4"; readonly L4: "L4"; readonly A10G: "A10G"; readonly L40S: "L40S"; readonly A100: "A100"; readonly A10080Gb: "A100-80GB"; readonly H100: "H100"; }>; /** @deprecated use `Gpu$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly T4: "T4"; readonly L4: "L4"; readonly A10G: "A10G"; readonly L40S: "L40S"; readonly A100: "A100"; readonly A10080Gb: "A100-80GB"; readonly H100: "H100"; }>; } /** @internal */ export declare const DeploymentRunRequest$inboundSchema: z.ZodType; /** @internal */ export type DeploymentRunRequest$Outbound = { inputs?: { [k: string]: string | number | number | boolean | Array; } | undefined; webhook?: string | undefined; webhook_intermediate_status: boolean; gpu?: string | undefined; deployment_id: string; }; /** @internal */ export declare const DeploymentRunRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace DeploymentRunRequest$ { /** @deprecated use `DeploymentRunRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DeploymentRunRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DeploymentRunRequest$Outbound` instead. */ type Outbound = DeploymentRunRequest$Outbound; } export declare function deploymentRunRequestToJSON(deploymentRunRequest: DeploymentRunRequest): string; export declare function deploymentRunRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deploymentrunrequest.d.ts.map