/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 584d0c8fd21e */ import * as z from "zod/v4"; export type DispatchCommandRequest = { /** * When the command was dispatched */ dispatchedAt: Date; }; /** @internal */ export type DispatchCommandRequest$Outbound = { dispatchedAt: string; }; /** @internal */ export const DispatchCommandRequest$outboundSchema: z.ZodType< DispatchCommandRequest$Outbound, DispatchCommandRequest > = z.object({ dispatchedAt: z.date().transform(v => v.toISOString()), }); export function dispatchCommandRequestToJSON( dispatchCommandRequest: DispatchCommandRequest, ): string { return JSON.stringify( DispatchCommandRequest$outboundSchema.parse(dispatchCommandRequest), ); }