/** * Bungie.Net API * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.18.0 * Contact: support@bungie.com * * OODestiny Version: 2.0.9 * NOTE: This class is auto generated by the oodestiny code generator program * Repository: {@link https://github.com/owensimpson/oodestiny} * Adapted from {@link https://github.com/DestinyItemManager/bungie-api-ts} * Do not edit these files manually. */ import { BungieNetResponse } from '../../util/server-response'; import { AccessTokenObject } from '../../util/client'; import { DestinyStatsGroupType } from '../../schemas'; import { BungieMembershipType } from '../../schemas'; import { DestinyActivityModeType } from '../../schemas'; import { PeriodType } from '../../schemas'; import { DestinyHistoricalStatsByPeriod } from '../../schemas'; /** @see {@link https://bungie-net.github.io/#Destiny2.GetHistoricalStats} */ export declare type GetHistoricalStatsParams = { /** * The id of the character to retrieve. You can omit this character ID or set it to * 0 to get aggregate stats across all characters. */ characterId: string; /** * Last day to return when daily stats are requested. Use the format YYYY-MM-DD. * Currently, we cannot allow more than 31 days of daily data to be requested in a * single request. */ dayend?: string; /** * First day to return when daily stats are requested. Use the format YYYY-MM-DD. * Currently, we cannot allow more than 31 days of daily data to be requested in a * single request. */ daystart?: string; /** The Destiny membershipId of the user to retrieve. */ destinyMembershipId: string; /** * Group of stats to include, otherwise only general stats are returned. Comma * separated list is allowed. Values: General, Weapons, Medals */ groups?: DestinyStatsGroupType[]; /** A valid non-BungieNet membership type. */ membershipType: BungieMembershipType; /** * Game modes to return. See the documentation for DestinyActivityModeType for * valid values, and pass in string representation, comma delimited. */ modes?: DestinyActivityModeType[]; /** * Indicates a specific period type to return. Optional. May be: Daily, AllTime, or * Activity */ periodType?: PeriodType; }; /** * Gets historical stats for indicated character. * @see {@link https://bungie-net.github.io/#Destiny2.GetHistoricalStats} */ export declare function getHistoricalStats(this: AccessTokenObject | void, params: GetHistoricalStatsParams): Promise>;