import type { RouteLocationInterface, RouteRequestInterface, RouteResponseInterface } from "@devowl-wp/utils";
import { RouteHttpVerb } from "@devowl-wp/utils";

import type { ParamsRouteStatsButtonsClickedGet } from "./statsButtonsClicked.js";

const locationRestStatsCustomBypassGet: RouteLocationInterface = {
    path: "/stats/customBypass",
    method: RouteHttpVerb.GET,
};

interface RequestRouteStatsCustomBypassGet extends RouteRequestInterface {}

interface ParamsRouteStatsCustomBypassGet extends ParamsRouteStatsButtonsClickedGet {}

interface ResponseRouteStatsCustomBypassGet extends RouteResponseInterface {
    [key: string]: number;
    dnt?: number;
    none?: number;
    geolocation?: number;
}

export {
    locationRestStatsCustomBypassGet,
    type RequestRouteStatsCustomBypassGet,
    type ParamsRouteStatsCustomBypassGet,
    type ResponseRouteStatsCustomBypassGet,
};
