export interface Maintenance {
  content: string;
  description: string;
  image: string;
  title: string;
}

export interface Option {
  description: string;
  meta_title: string;
  title: string;
}

export interface ProductOption {
  id: number;
  title: string;
  name: string;
  description: string;
  maintenance: Maintenance;
  options: Option[];
  created_at: string;
  updated_at: string;
}

export interface ProductOptionFormData {
  title: string;
  description: string;
  maintenance: Maintenance;
  options: Option[];
}

export interface ProductOptionFilters {
  search?: string;
  page?: number;
  limit?: number;
}

export interface CreateProductOptionRequest {
  title: string;
  description: string;
  maintenance: Maintenance;
  options: Option[];
}

export interface UpdateProductOptionRequest {
  id: number;
  title: string;
  description: string;
  maintenance: Maintenance;
  options: Option[];
}

export interface ProductOptionsResponse {
  product_options: ProductOption[] | null;
}

export interface ProductOptionResponse {
  product_option: ProductOption;
}

export interface CreateProductOptionResponse {
  product_option: ProductOption;
}

export interface UpdateProductOptionResponse {
  product_option: ProductOption;
}

export interface DeleteProductOptionResponse {
  message: string;
}
