// 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 CreatePetInput {
  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 parseCreatePetInput(value: unknown): CreatePetInput {
  return value as CreatePetInput;
}

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