bungie-net-core
Version:
An easy way to interact with the Bungie.net API
31 lines (30 loc) • 1.42 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 { BungieMembershipType } from '../../BungieMembershipType';
import { PresenceStatus } from './PresenceStatus';
import { PresenceOnlineStateFlags } from './PresenceOnlineStateFlags';
import { FriendRelationshipState } from './FriendRelationshipState';
import { GeneralUser } from '../../User/GeneralUser';
/** @see {@link https://bungie-net.github.io/#/components/schemas/Social.Friends.BungieFriend} */
export interface BungieFriend {
readonly lastSeenAsMembershipId: string;
readonly lastSeenAsBungieMembershipType: BungieMembershipType;
readonly bungieGlobalDisplayName: string;
readonly bungieGlobalDisplayNameCode?: number;
readonly onlineStatus: PresenceStatus;
/**
* This enum represents a set of flags - use bitwise operators to check which of
* these match your value.
*/
readonly onlineTitle: PresenceOnlineStateFlags;
readonly relationship: FriendRelationshipState;
readonly bungieNetUser: GeneralUser;
}