bungie-net-core
Version:
An easy way to interact with the Bungie.net API
36 lines (35 loc) • 1.55 kB
TypeScript
/**
* 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.
*
* Contact: support@bungie.com
*
* NOTE: This class is auto generated by the bungie-net-core code generator program
* Repository: {@link https://github.com/owens1127/bungie-net-core}
* Do not edit these files manually.
*/
import { GroupUserInfoCard } from '../GroupsV2/GroupUserInfoCard';
import { GeneralUser } from './GeneralUser';
/** @see {@link https://bungie-net.github.io/#/components/schemas/User.UserMembershipData} */
export interface UserMembershipData {
/**
* this allows you to see destiny memberships that are visible and linked to this
* account (regardless of whether or not they have characters on the world server)
*/
readonly destinyMemberships: GroupUserInfoCard[];
/**
* If this property is populated, it will have the membership ID of the account
* considered to be "primary" in this user's cross save relationship.
*
* If null, this user has no cross save relationship, nor primary account.
*/
readonly primaryMembershipId?: string;
/**
* If this property is populated, it will have the membershipId for the Marathon
* Membership on this user's account
*
* If null, this user has no Marathon (i.e. "GoliathGame") membership.
*/
readonly marathonMembershipId?: string;
readonly bungieNetUser: GeneralUser;
}