/** Matches `useCreateCompanyCategory` / `useUpdateCompanyCategories` onSuccess (axios `response.data` shape). */
export const categoryMutationSuccessBody = (message: string) => ({
  success: true,
  data: { message },
});

export const companyCategoriesListUrl = (path = "/company-categories") =>
  `${path}?_cy=${Date.now()}`;

export const companyCategoryCreateUrl = () =>
  `/company-categories/create?_cy=${Date.now()}`;

export const companyCategoryEditUrl = (id: string) =>
  `/company-categories/edit/${id}?_cy=${Date.now()}`;
