// Generated by smithplates HTTP codegen. Do not edit.
import { PetAttribute } from "generated/petstore/api/petAttribute";
import { PetSpecies } from "generated/petstore/api/petSpecies";
import { PetStatus } from "generated/petstore/api/petStatus";

export interface UpdatePetBody {
  name: string;
  status: PetStatus;
  species: PetSpecies;
  category_id: string;
  owner_id?: string | null;
  tag_count: number;
  tags: string[];
  attributes: PetAttribute[];
  photo?: Uint8Array | null;
  metadata?: unknown | null;
  adopted_at?: string | null;
}

export function parseUpdatePetBody(value: unknown): UpdatePetBody {
  return value as UpdatePetBody;
}

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