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

const locationRestCreateCookiePolicyPost: RouteLocationInterface = {
    path: "/create-cookie-policy",
    method: RouteHttpVerb.POST,
};

type RequestRouteCreateCookiePolicyPost = RouteRequestInterface;

type ParamsRouteCreateCookiePolicyPost = RouteParamsInterface;

interface ResponseRouteCreateCookiePolicyPost extends RouteResponseInterface {
    id: number;
}

export {
    locationRestCreateCookiePolicyPost,
    type RequestRouteCreateCookiePolicyPost,
    type ParamsRouteCreateCookiePolicyPost,
    type ResponseRouteCreateCookiePolicyPost,
};
