import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * How to dispatch the command */ export declare const CreateCommandResponseDeploymentModel: { readonly Push: "push"; readonly Pull: "pull"; }; /** * How to dispatch the command */ export type CreateCommandResponseDeploymentModel = ClosedEnum; /** * The kind of command-capable resource a command targets. */ export declare const CreateCommandResponseResourceType: { readonly Worker: "worker"; readonly Container: "container"; readonly Daemon: "daemon"; }; /** * The kind of command-capable resource a command targets. */ export type CreateCommandResponseResourceType = ClosedEnum; /** * Resource the command is addressed to */ export type CreateCommandResponseTarget = { /** * The resource ID within the deployment's stack (e.g. a Worker/Container/Daemon id). */ resourceId: string; /** * The kind of command-capable resource a command targets. */ resourceType: CreateCommandResponseResourceType; }; /** * How the command is delivered to its target */ export declare const CreateCommandResponseDeliveryMode: { readonly Push: "push"; readonly Pull: "pull"; }; /** * How the command is delivered to its target */ export type CreateCommandResponseDeliveryMode = ClosedEnum; export type CreateCommandResponse = { /** * Unique identifier for the command. */ id: string; /** * Project ID (for manager to use in routing) */ projectId: string; /** * How to dispatch the command */ deploymentModel: CreateCommandResponseDeploymentModel; /** * Resource the command is addressed to */ target: CreateCommandResponseTarget; /** * How the command is delivered to its target */ deliveryMode: CreateCommandResponseDeliveryMode; /** * Whether an operation result contract was stored atomically with this command */ operationResultContractPersisted: boolean; }; /** @internal */ export declare const CreateCommandResponseDeploymentModel$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateCommandResponseResourceType$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateCommandResponseTarget$inboundSchema: z.ZodType; export declare function createCommandResponseTargetFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateCommandResponseDeliveryMode$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateCommandResponse$inboundSchema: z.ZodType; export declare function createCommandResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createcommandresponse.d.ts.map