export interface WebsiteCategoryGroupItem {
  id: string
  name: string
  nameFa: string | null
  slug: string
  description: string | null
  sortOrder: number
}

export interface WebsiteCategoryGroup {
  id: string
  key: string
  title: string
  sortOrder: number
  isActive: boolean
  createdAt: string
  updatedAt: string
  items: WebsiteCategoryGroupItem[]
}

export interface WebsiteCategoryGroupsListResponse {
  items: WebsiteCategoryGroup[]
  total: number
  page: number
  pageSize: number
}

export interface CreateWebsiteCategoryGroupPayload {
  key: string
  title: string
  categoryIds?: string[]
  sortOrder?: number
  isActive?: boolean
}

export interface UpdateWebsiteCategoryGroupPayload {
  key?: string
  title?: string
  categoryIds?: string[]
  sortOrder?: number
  isActive?: boolean
}
