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

const locationRestConsentRefererGet: RouteLocationInterface = {
    path: "/consent/referer",
    method: RouteHttpVerb.GET,
};

interface RequestRouteConsentRefererGet extends RouteRequestInterface {}

interface ParamsRouteConsentRefererGet extends RouteParamsInterface {}

interface ResponseRouteConsentRefererGet extends RouteResponseInterface {
    items: string[];
}

export {
    locationRestConsentRefererGet,
    type RequestRouteConsentRefererGet,
    type ParamsRouteConsentRefererGet,
    type ResponseRouteConsentRefererGet,
};
