/** * 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 { DestinyLinkedProfilesResponse } from '../../schemas'; /** @see {@link https://bungie-net.github.io/#Destiny2.GetLinkedProfiles} */ export declare type GetLinkedProfilesParams = { /** * (optional) if set to 'true', all memberships regardless of whether they're * obscured by overrides will be returned. Normal privacy restrictions on account * linking will still apply no matter what. */ getAllMemberships?: boolean; /** * The ID of the membership whose linked Destiny accounts you want returned. Make * sure your membership ID matches its Membership Type: don't pass us a PSN * membership ID and the XBox membership type, it's not going to work! */ membershipId: string; /** The type for the membership whose linked Destiny accounts you want returned. */ membershipType: BungieMembershipType; }; /** * Returns a summary information about all profiles linked to the requesting * membership type/membership ID that have valid Destiny information. The passed-in * Membership Type/Membership ID may be a Bungie.Net membership or a Destiny * membership. It only returns the minimal amount of data to begin making more * substantive requests, but will hopefully serve as a useful alternative to * UserServices for people who just care about Destiny data. Note that it will only * return linked accounts whose linkages you are allowed to view. * @see {@link https://bungie-net.github.io/#Destiny2.GetLinkedProfiles} */ export declare function getLinkedProfiles(this: AccessTokenObject | void, params: GetLinkedProfilesParams): Promise>;