import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { Command, Command$Outbound } from "./command.js"; import { CommandPriority } from "./commandpriority.js"; import { CommandStatus } from "./commandstatus.js"; import { CommandTrigger } from "./commandtrigger.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type CommandResource = { id?: number | undefined; name?: string | null | undefined; commandName?: string | null | undefined; message?: string | null | undefined; body?: Command | undefined; priority?: CommandPriority | undefined; status?: CommandStatus | undefined; queued?: Date | undefined; started?: Date | null | undefined; ended?: Date | null | undefined; duration?: string | null | undefined; exception?: string | null | undefined; trigger?: CommandTrigger | undefined; clientUserAgent?: string | null | undefined; stateChangeTime?: Date | null | undefined; sendUpdatesToClient?: boolean | undefined; updateScheduledTask?: boolean | undefined; lastExecutionTime?: Date | null | undefined; }; /** @internal */ export declare const CommandResource$inboundSchema: z.ZodType; /** @internal */ export type CommandResource$Outbound = { id?: number | undefined; name?: string | null | undefined; commandName?: string | null | undefined; message?: string | null | undefined; body?: Command$Outbound | undefined; priority?: string | undefined; status?: string | undefined; queued?: string | undefined; started?: string | null | undefined; ended?: string | null | undefined; duration?: string | null | undefined; exception?: string | null | undefined; trigger?: string | undefined; clientUserAgent?: string | null | undefined; stateChangeTime?: string | null | undefined; sendUpdatesToClient?: boolean | undefined; updateScheduledTask?: boolean | undefined; lastExecutionTime?: string | null | undefined; }; /** @internal */ export declare const CommandResource$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 CommandResource$ { /** @deprecated use `CommandResource$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CommandResource$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CommandResource$Outbound` instead. */ type Outbound = CommandResource$Outbound; } export declare function commandResourceToJSON(commandResource: CommandResource): string; export declare function commandResourceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=commandresource.d.ts.map