/** * 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 { 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; readonly bungieNetUser: GeneralUser; }