// Generated by smithplates HTTP codegen. Do not edit.
import { PackageDetails } from "generated/example/packageDetails";

export interface ItemDetails {
  name: string;
  description?: string | null;
  tags?: string[] | null;
  package: PackageDetails;
}

export function parseItemDetails(value: unknown): ItemDetails {
  return value as ItemDetails;
}

export function serializeItemDetails(value: ItemDetails): Record<string, unknown> {
  return { ...value };
}
