/** * 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 { BungieMembershipType } from '../../schemas'; import { DestinyLeaderboard } from '../../schemas'; /** @see {@link https://bungie-net.github.io/#Destiny2.GetLeaderboardsForCharacter} */ export declare type GetLeaderboardsForCharacterParams = { /** * The specific character to build the leaderboard around for the provided Destiny * Membership. */ characterId: string; /** The Destiny membershipId of the user to retrieve. */ destinyMembershipId: string; /** * Maximum number of top players to return. Use a large number to get entire * leaderboard. */ maxtop?: number; /** A valid non-BungieNet membership type. */ membershipType: BungieMembershipType; /** * List of game modes for which to get leaderboards. See the documentation for * DestinyActivityModeType for valid values, and pass in string representation, * comma delimited. */ modes?: string; /** ID of stat to return rather than returning all Leaderboard stats. */ statid?: string; }; /** * Gets leaderboards with the signed in user's friends and the supplied * destinyMembershipId as the focus. PREVIEW: This endpoint is still in beta, and * may experience rough edges. The schema is in final form, but there may be bugs * that prevent desirable operation. * @see {@link https://bungie-net.github.io/#Destiny2.GetLeaderboardsForCharacter} */ export declare function getLeaderboardsForCharacter(this: AccessTokenObject | void, params: GetLeaderboardsForCharacterParams): Promise>;