Function getSdk

  • Parameters

    Returns {
        getAbility(variables: Exact<{
            id: number;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetAbilityQuery>;
        getAchievement(variables: Exact<{
            id: number;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetAchievementQuery>;
        getAffixes(variables?: Exact<{
            [key: string]: never;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetAffixesQuery>;
        getCharacter(variables: Exact<{
            characterId?: Maybe<number>;
            characterName?: Maybe<string>;
            characterServerRegion?: Maybe<string>;
            characterServerSlug?: Maybe<string>;
            includeGameData: boolean;
            includeGuilds: boolean;
            includeServer: boolean;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetCharacterQuery>;
        getCharacterEncounterRankings(variables: Exact<{
            byBracket?: Maybe<boolean>;
            characterId?: Maybe<number>;
            characterName?: Maybe<string>;
            characterRegion?: Maybe<string>;
            characterServerSlug?: Maybe<string>;
            compare?: Maybe<RankingCompareType>;
            difficulty?: Maybe<number>;
            encounterId: number;
            includeCombatantInfo?: Maybe<boolean>;
            includePrivateLogs?: Maybe<boolean>;
            metric?: Maybe<CharacterRankingMetricType>;
            partition?: Maybe<number>;
            role?: Maybe<RoleType>;
            size?: Maybe<number>;
            specName?: Maybe<string>;
            timeframe?: Maybe<RankingTimeframeType>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetCharacterEncounterRankingsQuery>;
        getCharacterZoneRankings(variables: Exact<{
            byBracket?: Maybe<boolean>;
            characterId?: Maybe<number>;
            characterName?: Maybe<string>;
            characterRegion?: Maybe<string>;
            characterServerSlug?: Maybe<string>;
            compare?: Maybe<RankingCompareType>;
            difficulty?: Maybe<number>;
            includePrivateLogs?: Maybe<boolean>;
            metric?: Maybe<CharacterRankingMetricType>;
            partition?: Maybe<number>;
            role?: Maybe<RoleType>;
            size?: Maybe<number>;
            specName?: Maybe<string>;
            timeframe?: Maybe<RankingTimeframeType>;
            zoneId: number;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetCharacterZoneRankingsQuery>;
        getClasses(variables?: Exact<{
            [key: string]: never;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetClassesQuery>;
        getEnchant(variables: Exact<{
            id: number;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetEnchantQuery>;
        getEncounterCharacterRankings(variables: Exact<{
            bracket?: Maybe<number>;
            className?: Maybe<string>;
            difficulty?: Maybe<number>;
            encounterId: number;
            filter?: Maybe<string>;
            includeCombatantInfo?: Maybe<boolean>;
            metric?: Maybe<CharacterRankingMetricType>;
            page?: Maybe<number>;
            partition?: Maybe<number>;
            serverRegion?: Maybe<string>;
            serverSlug?: Maybe<string>;
            size?: Maybe<number>;
            specName?: Maybe<string>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetEncounterCharacterRankingsQuery>;
        getEncounterFightRankings(variables: Exact<{
            bracket?: Maybe<number>;
            difficulty?: Maybe<number>;
            encounterId: number;
            filter?: Maybe<string>;
            metric?: Maybe<FightRankingMetricType>;
            page?: Maybe<number>;
            partition?: Maybe<number>;
            serverRegion?: Maybe<string>;
            serverSlug?: Maybe<string>;
            size?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetEncounterFightRankingsQuery>;
        getFactions(variables?: Exact<{
            [key: string]: never;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetFactionsQuery>;
        getGuild(variables: Exact<{
            attendanceGuildTagId?: Maybe<number>;
            attendanceLimit?: Maybe<number>;
            attendancePage?: Maybe<number>;
            attendanceZoneId?: Maybe<number>;
            guildId?: Maybe<number>;
            guildName?: Maybe<string>;
            guildServerRegion?: Maybe<string>;
            guildServerSlug?: Maybe<string>;
            includeAttendance: boolean;
            includeMembers: boolean;
            includeServer: boolean;
            includeTags: boolean;
            membersLimit?: Maybe<number>;
            membersPage?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetGuildQuery>;
        getGuildReports(variables: Exact<{
            endTime?: Maybe<number>;
            fightsDifficulty?: Maybe<number>;
            fightsEncounterId?: Maybe<number>;
            fightsFightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
            fightsKillType?: Maybe<KillType>;
            fightsTranslate?: Maybe<boolean>;
            guildId?: Maybe<number>;
            guildName?: Maybe<string>;
            guildServerRegion?: Maybe<string>;
            guildServerSlug?: Maybe<string>;
            guildTagId?: Maybe<number>;
            includeFights: boolean;
            limit: number;
            page?: Maybe<number>;
            startTime?: Maybe<number>;
            zoneId?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetGuildReportsQuery>;
        getItem(variables: Exact<{
            id: number;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetItemQuery>;
        getNpc(variables: Exact<{
            id: number;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetNpcQuery>;
        getProgressRace(variables?: Exact<{
            serverRegion?: Maybe<string>;
            serverSlug?: Maybe<string>;
            zoneId?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetProgressRaceQuery>;
        getRateLimit(variables?: Exact<{
            [key: string]: never;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetRateLimitQuery>;
        getReportEvents(variables: Exact<{
            abilityId?: Maybe<number>;
            code: string;
            dataType?: Maybe<EventDataType>;
            death?: Maybe<number>;
            difficulty?: Maybe<number>;
            encounterId?: Maybe<number>;
            endTime?: Maybe<number>;
            fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
            filterExpression?: Maybe<string>;
            hostilityType?: Maybe<HostilityType>;
            includeResources?: Maybe<boolean>;
            killType?: Maybe<KillType>;
            limit?: Maybe<number>;
            sourceClass?: Maybe<string>;
            sourceId?: Maybe<number>;
            sourceInstanceId?: Maybe<number>;
            startTime?: Maybe<number>;
            targetClass?: Maybe<string>;
            targetId?: Maybe<number>;
            targetInstanceId?: Maybe<number>;
            translate?: Maybe<boolean>;
            viewOptions?: Maybe<number>;
            wipeCutoff?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetReportEventsQuery>;
        getReportFights(variables: Exact<{
            code: string;
            difficulty?: Maybe<number>;
            encounterId?: Maybe<number>;
            fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
            includeDungeonPulls: boolean;
            includeNpcs: boolean;
            includePlayers: boolean;
            killType?: Maybe<KillType>;
            translate?: Maybe<boolean>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetReportFightsQuery>;
        getReportGraph(variables: Exact<{
            abilityId?: Maybe<number>;
            code: string;
            dataType?: Maybe<GraphDataType>;
            death?: Maybe<number>;
            difficulty?: Maybe<number>;
            encounterId?: Maybe<number>;
            endTime?: Maybe<number>;
            fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
            filterExpression?: Maybe<string>;
            hostilityType?: Maybe<HostilityType>;
            killType?: Maybe<KillType>;
            sourceClass?: Maybe<string>;
            sourceId?: Maybe<number>;
            sourceInstanceId?: Maybe<number>;
            startTime?: Maybe<number>;
            targetClass?: Maybe<string>;
            targetId?: Maybe<number>;
            targetInstanceId?: Maybe<number>;
            translate?: Maybe<boolean>;
            viewBy?: Maybe<ViewType>;
            viewOptions?: Maybe<number>;
            wipeCutoff?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetReportGraphQuery>;
        getReportPlayerDetails(variables: Exact<{
            code: string;
            difficulty?: Maybe<number>;
            encounterId?: Maybe<number>;
            endTime?: Maybe<number>;
            fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
            killType?: Maybe<KillType>;
            startTime?: Maybe<number>;
            translate?: Maybe<boolean>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetReportPlayerDetailsQuery>;
        getReportRankedCharacters(variables: Exact<{
            code?: Maybe<string>;
            includeGameData: boolean;
            includeGuilds: boolean;
            includeServer: boolean;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetReportRankedCharactersQuery>;
        getReportTable(variables: Exact<{
            abilityId?: Maybe<number>;
            code: string;
            dataType?: Maybe<TableDataType>;
            death?: Maybe<number>;
            difficulty?: Maybe<number>;
            encounterId?: Maybe<number>;
            endTime?: Maybe<number>;
            fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
            filterExpression?: Maybe<string>;
            hostilityType?: Maybe<HostilityType>;
            killType?: Maybe<KillType>;
            sourceClass?: Maybe<string>;
            sourceId?: Maybe<number>;
            sourceInstanceId?: Maybe<number>;
            startTime?: Maybe<number>;
            targetClass?: Maybe<string>;
            targetId?: Maybe<number>;
            targetInstanceId?: Maybe<number>;
            translate?: Maybe<boolean>;
            viewBy?: Maybe<ViewType>;
            viewOptions?: Maybe<number>;
            wipeCutoff?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetReportTableQuery>;
        getUserReports(variables: Exact<{
            endTime?: Maybe<number>;
            fightsDifficulty?: Maybe<number>;
            fightsEncounterId?: Maybe<number>;
            fightsFightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
            fightsKillType?: Maybe<KillType>;
            fightsTranslate?: Maybe<boolean>;
            includeFights: boolean;
            limit?: Maybe<number>;
            page?: Maybe<number>;
            startTime?: Maybe<number>;
            userId?: Maybe<number>;
            zoneId?: Maybe<number>;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetUserReportsQuery>;
        getZones(variables?: Exact<{
            [key: string]: never;
        }>, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetZonesQuery>;
    }

    • getAbility:function
      • Parameters

        • variables: Exact<{
              id: number;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetAbilityQuery>

    • getAchievement:function
      • Parameters

        • variables: Exact<{
              id: number;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetAchievementQuery>

    • getAffixes:function
      • Parameters

        • Optionalvariables: Exact<{
              [key: string]: never;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetAffixesQuery>

    • getCharacter:function
      • Parameters

        • variables: Exact<{
              characterId?: Maybe<number>;
              characterName?: Maybe<string>;
              characterServerRegion?: Maybe<string>;
              characterServerSlug?: Maybe<string>;
              includeGameData: boolean;
              includeGuilds: boolean;
              includeServer: boolean;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetCharacterQuery>

    • getCharacterEncounterRankings:function
    • getCharacterZoneRankings:function
    • getClasses:function
      • Parameters

        • Optionalvariables: Exact<{
              [key: string]: never;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetClassesQuery>

    • getEnchant:function
      • Parameters

        • variables: Exact<{
              id: number;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetEnchantQuery>

    • getEncounterCharacterRankings:function
    • getEncounterFightRankings:function
    • getFactions:function
      • Parameters

        • Optionalvariables: Exact<{
              [key: string]: never;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetFactionsQuery>

    • getGuild:function
      • Parameters

        • variables: Exact<{
              attendanceGuildTagId?: Maybe<number>;
              attendanceLimit?: Maybe<number>;
              attendancePage?: Maybe<number>;
              attendanceZoneId?: Maybe<number>;
              guildId?: Maybe<number>;
              guildName?: Maybe<string>;
              guildServerRegion?: Maybe<string>;
              guildServerSlug?: Maybe<string>;
              includeAttendance: boolean;
              includeMembers: boolean;
              includeServer: boolean;
              includeTags: boolean;
              membersLimit?: Maybe<number>;
              membersPage?: Maybe<number>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetGuildQuery>

    • getGuildReports:function
      • Parameters

        • variables: Exact<{
              endTime?: Maybe<number>;
              fightsDifficulty?: Maybe<number>;
              fightsEncounterId?: Maybe<number>;
              fightsFightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
              fightsKillType?: Maybe<KillType>;
              fightsTranslate?: Maybe<boolean>;
              guildId?: Maybe<number>;
              guildName?: Maybe<string>;
              guildServerRegion?: Maybe<string>;
              guildServerSlug?: Maybe<string>;
              guildTagId?: Maybe<number>;
              includeFights: boolean;
              limit: number;
              page?: Maybe<number>;
              startTime?: Maybe<number>;
              zoneId?: Maybe<number>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetGuildReportsQuery>

    • getItem:function
      • Parameters

        • variables: Exact<{
              id: number;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetItemQuery>

    • getNpc:function
      • Parameters

        • variables: Exact<{
              id: number;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetNpcQuery>

    • getProgressRace:function
      • Parameters

        • Optionalvariables: Exact<{
              serverRegion?: Maybe<string>;
              serverSlug?: Maybe<string>;
              zoneId?: Maybe<number>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetProgressRaceQuery>

    • getRateLimit:function
      • Parameters

        • Optionalvariables: Exact<{
              [key: string]: never;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetRateLimitQuery>

    • getReportEvents:function
      • Parameters

        • variables: Exact<{
              abilityId?: Maybe<number>;
              code: string;
              dataType?: Maybe<EventDataType>;
              death?: Maybe<number>;
              difficulty?: Maybe<number>;
              encounterId?: Maybe<number>;
              endTime?: Maybe<number>;
              fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
              filterExpression?: Maybe<string>;
              hostilityType?: Maybe<HostilityType>;
              includeResources?: Maybe<boolean>;
              killType?: Maybe<KillType>;
              limit?: Maybe<number>;
              sourceClass?: Maybe<string>;
              sourceId?: Maybe<number>;
              sourceInstanceId?: Maybe<number>;
              startTime?: Maybe<number>;
              targetClass?: Maybe<string>;
              targetId?: Maybe<number>;
              targetInstanceId?: Maybe<number>;
              translate?: Maybe<boolean>;
              viewOptions?: Maybe<number>;
              wipeCutoff?: Maybe<number>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetReportEventsQuery>

    • getReportFights:function
      • Parameters

        • variables: Exact<{
              code: string;
              difficulty?: Maybe<number>;
              encounterId?: Maybe<number>;
              fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
              includeDungeonPulls: boolean;
              includeNpcs: boolean;
              includePlayers: boolean;
              killType?: Maybe<KillType>;
              translate?: Maybe<boolean>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetReportFightsQuery>

    • getReportGraph:function
      • Parameters

        • variables: Exact<{
              abilityId?: Maybe<number>;
              code: string;
              dataType?: Maybe<GraphDataType>;
              death?: Maybe<number>;
              difficulty?: Maybe<number>;
              encounterId?: Maybe<number>;
              endTime?: Maybe<number>;
              fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
              filterExpression?: Maybe<string>;
              hostilityType?: Maybe<HostilityType>;
              killType?: Maybe<KillType>;
              sourceClass?: Maybe<string>;
              sourceId?: Maybe<number>;
              sourceInstanceId?: Maybe<number>;
              startTime?: Maybe<number>;
              targetClass?: Maybe<string>;
              targetId?: Maybe<number>;
              targetInstanceId?: Maybe<number>;
              translate?: Maybe<boolean>;
              viewBy?: Maybe<ViewType>;
              viewOptions?: Maybe<number>;
              wipeCutoff?: Maybe<number>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetReportGraphQuery>

    • getReportPlayerDetails:function
      • Parameters

        • variables: Exact<{
              code: string;
              difficulty?: Maybe<number>;
              encounterId?: Maybe<number>;
              endTime?: Maybe<number>;
              fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
              killType?: Maybe<KillType>;
              startTime?: Maybe<number>;
              translate?: Maybe<boolean>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetReportPlayerDetailsQuery>

    • getReportRankedCharacters:function
      • Parameters

        • variables: Exact<{
              code?: Maybe<string>;
              includeGameData: boolean;
              includeGuilds: boolean;
              includeServer: boolean;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetReportRankedCharactersQuery>

    • getReportTable:function
      • Parameters

        • variables: Exact<{
              abilityId?: Maybe<number>;
              code: string;
              dataType?: Maybe<TableDataType>;
              death?: Maybe<number>;
              difficulty?: Maybe<number>;
              encounterId?: Maybe<number>;
              endTime?: Maybe<number>;
              fightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
              filterExpression?: Maybe<string>;
              hostilityType?: Maybe<HostilityType>;
              killType?: Maybe<KillType>;
              sourceClass?: Maybe<string>;
              sourceId?: Maybe<number>;
              sourceInstanceId?: Maybe<number>;
              startTime?: Maybe<number>;
              targetClass?: Maybe<string>;
              targetId?: Maybe<number>;
              targetInstanceId?: Maybe<number>;
              translate?: Maybe<boolean>;
              viewBy?: Maybe<ViewType>;
              viewOptions?: Maybe<number>;
              wipeCutoff?: Maybe<number>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetReportTableQuery>

    • getUserReports:function
      • Parameters

        • variables: Exact<{
              endTime?: Maybe<number>;
              fightsDifficulty?: Maybe<number>;
              fightsEncounterId?: Maybe<number>;
              fightsFightIds?: Maybe<(Maybe<number> | Maybe<number>[])>;
              fightsKillType?: Maybe<KillType>;
              fightsTranslate?: Maybe<boolean>;
              includeFights: boolean;
              limit?: Maybe<number>;
              page?: Maybe<number>;
              startTime?: Maybe<number>;
              userId?: Maybe<number>;
              zoneId?: Maybe<number>;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetUserReportsQuery>

    • getZones:function
      • Parameters

        • Optionalvariables: Exact<{
              [key: string]: never;
          }>
        • OptionalrequestHeaders: GraphQLClientRequestHeaders

        Returns Promise<GetZonesQuery>