import { apiHelpers } from "./api";
import { StatisticCountResponse } from "./statistic-count";

const countStatisticApi = {
  getCountStatistic: async (options?: { skipAuth?: boolean }) =>
    apiHelpers.get<StatisticCountResponse>("/count", {
      headers: options?.skipAuth ? { "X-Skip-Auth": "true" } : undefined,
    }),
};

export default countStatisticApi;
