endpoints: {
auth: {
login: string;
};
base: string;
clans: {
get: ((id: number) => string);
};
data: string;
items: {
use: string;
};
market: {
open: string;
sell: string;
};
messages: {
delete: ((id: number) => string);
edit: ((id: number) => string);
};
user: {
get: ((idOrName?: string | number) => string);
};
} = ...