import { getUrl } from "../helper";
import { authedFunction } from "../session";

export const typeActions = {
	getUserTypes: (site) => {
		const url = getUrl("types", "getusertypes");
		return authedFunction({
			method: "POST",
			url,
			data: { site },
		});
	},
};
