import { HWMember } from './member.model';
import { HWActivityStat, HWClanIcon, HWGuildStat, HWMemberStat } from './stat.model';

export interface HWGuildClan {
    id: string;
    ownerId: string;
    level: string;
    title: string;
    description: string;
    icon: HWClanIcon;
    country: string;
    minLevel: string;
    serverId: string;
    membersCount: string;
    disbanding: boolean;
    topActivity: string;
    topDungeon: string;
    roleNames: never[];
    frameId: number;
    members: {[key: string]: HWMember};
    news: string;
    activityPoints: number;
    dungeonPoints: number;
    blackList: {[key: string]: number};
    warriors: number[];
    giftsCount: number;
    daysToKick: string;
    league: string;
    sumAverages: HWActivityStat;
    sumTotal: HWActivityStat;
    todayAverages: HWActivityStat;
    todayTotal: HWActivityStat;
}
export interface HWGuildData {
    clan: HWGuildClan;
    slots: {[key: string]: number};
    membersStat: HWMemberStat[];
    stat: HWGuildStat;
    serverResetTime: number;
    clanWarEndSeasonTime: number;
    freeClanChangeInterval: {
        start: number;
        end: number;
    };
    giftUids: string[];
}

export interface HWClan {
    id: string;
    country: string;
    description: string;
    disbanding: boolean;
    frameId: number;
    icon: HWClanIcon;
    level: string;
    members: {[key: string]: HWMember};
    membersCount: string;
    minLevel: string;
    ownerId: string;
    /*roleNames: never[];*/
    serverId: string;
    title: string;
    topActivity: string;
    topDungeon: string;
}
