import { IPayload } from "./Payload.Model";

export type FindWapServerParams = {
    id?: string;
    name?: string;
    description?: string;
    countBots?: number;
    maxBots?: number;
    active?: boolean;
    countBotsFrom?: number;
    countBotsTo?: number;
};

export interface IWapServer {
    id?: string;
    name?: string;
    description?: string;
    ipv4: string;
    ipv6: string;
    countBots: number;
    maxBots: number;
    active: boolean;
}

export type PaginateWapServerParams = FindWapServerParams & {
    page: number;
    limit: number;
};

export type PaginateWapServerResults = {
    data: IWapServer[];
    page: number;
    pages: number;
};

export type SysAdminGetWapServerParams = PaginateWapServerParams & {
    payload: IPayload;
};
