/** * 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. * * The version of the OpenAPI document: 2.18.0 * Contact: support@bungie.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { DestinyResponsesDestinyProfileUserInfoCardPlatformSilver } from './destinyResponsesDestinyProfileUserInfoCardPlatformSilver'; export interface DestinyResponsesDestinyProfileUserInfoCard { dateLastPlayed?: string; /** * If this profile is being overridden/obscured by Cross Save, this will be set to true. We will still return the profile for display purposes where users need to know the info: it is up to any given area of the app/site to determine if this profile should still be shown. */ isOverridden?: boolean; /** * If true, this account is hooked up as the \"Primary\" cross save account for one or more platforms. */ isCrossSavePrimary?: boolean; platformSilver?: DestinyResponsesDestinyProfileUserInfoCardPlatformSilver; /** * If this profile is not in a cross save pairing, this will return the game versions that we believe this profile has access to. For the time being, we will not return this information for any membership that is in a cross save pairing. The gist is that, once the pairing occurs, we do not currently have a consistent way to get that information for the profile\'s original Platform, and thus gameVersions would be too inconsistent (based on the last platform they happened to play on) for the info to be useful. If we ever can get this data, this field will be deprecated and replaced with data on the DestinyLinkedProfileResponse itself, with game versions per linked Platform. But since we can\'t get that, we have this as a stop-gap measure for getting the data in the only situation that we currently need it. */ unpairedGameVersions?: DestinyResponsesDestinyProfileUserInfoCard.UnpairedGameVersionsEnum; /** * A platform specific additional display name - ex: psn Real Name, bnet Unique Name, etc. */ supplementalDisplayName?: string; /** * URL the Icon if available. */ iconPath?: string; /** * If there is a cross save override in effect, this value will tell you the type that is overridding this one. */ crossSaveOverride?: number; /** * The list of Membership Types indicating the platforms on which this Membership can be used. Not in Cross Save = its original membership type. Cross Save Primary = Any membership types it is overridding, and its original membership type Cross Save Overridden = Empty list */ applicableMembershipTypes?: Array; /** * If True, this is a public user membership. */ isPublic?: boolean; /** * Type of the membership. Not necessarily the native type. */ membershipType?: number; /** * Membership ID as they user is known in the Accounts service */ membershipId?: number; /** * Display Name the player has chosen for themselves. The display name is optional when the data type is used as input to a platform API. */ displayName?: string; /** * The bungie global display name, if set. */ bungieGlobalDisplayName?: string; /** * The bungie global display name code, if set. */ bungieGlobalDisplayNameCode?: number; } export declare namespace DestinyResponsesDestinyProfileUserInfoCard { type UnpairedGameVersionsEnum = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512; const UnpairedGameVersionsEnum: { NUMBER_0: UnpairedGameVersionsEnum; NUMBER_1: UnpairedGameVersionsEnum; NUMBER_2: UnpairedGameVersionsEnum; NUMBER_4: UnpairedGameVersionsEnum; NUMBER_8: UnpairedGameVersionsEnum; NUMBER_16: UnpairedGameVersionsEnum; NUMBER_32: UnpairedGameVersionsEnum; NUMBER_64: UnpairedGameVersionsEnum; NUMBER_128: UnpairedGameVersionsEnum; NUMBER_256: UnpairedGameVersionsEnum; NUMBER_512: UnpairedGameVersionsEnum; }; }