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

export interface PackageDetails {
  weightKg: number;
  dimensions: PackageDimensions;
}

export function parsePackageDetails(value: unknown): PackageDetails {
  return value as PackageDetails;
}

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