export interface ShippingMethod {
  id: number;
  name: string;
  description?: string;
  code: string;
  enabled: boolean;
  cost: number;
  max_weight: number;
  min_weight: number;
  priority: number;
  created_at?: string;
  updated_at?: string;
}

export interface PaginatedShippingMethodsResponse {
  shipping_methods: ShippingMethod[];
  total: number;
}

export type CreateShippingMethodRequest = Omit<
  ShippingMethod,
  "id" | "created_at" | "updated_at"
>;

export type UpdateShippingMethodRequest =
  Partial<CreateShippingMethodRequest> & {
    id: number;
  };
