import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Destiny2AwaGetActionToken200Response } from '../model/destiny2AwaGetActionToken200Response'; import { Destiny2AwaInitializeRequest200Response } from '../model/destiny2AwaInitializeRequest200Response'; import { Destiny2EquipItems200Response } from '../model/destiny2EquipItems200Response'; import { Destiny2GetActivityHistory200Response } from '../model/destiny2GetActivityHistory200Response'; import { Destiny2GetCharacter200Response } from '../model/destiny2GetCharacter200Response'; import { Destiny2GetClanAggregateStats200Response } from '../model/destiny2GetClanAggregateStats200Response'; import { Destiny2GetClanBannerSource200Response } from '../model/destiny2GetClanBannerSource200Response'; import { Destiny2GetClanLeaderboards200Response } from '../model/destiny2GetClanLeaderboards200Response'; import { Destiny2GetClanWeeklyRewardState200Response } from '../model/destiny2GetClanWeeklyRewardState200Response'; import { Destiny2GetCollectibleNodeDetails200Response } from '../model/destiny2GetCollectibleNodeDetails200Response'; import { Destiny2GetDestinyAggregateActivityStats200Response } from '../model/destiny2GetDestinyAggregateActivityStats200Response'; import { Destiny2GetDestinyEntityDefinition200Response } from '../model/destiny2GetDestinyEntityDefinition200Response'; import { Destiny2GetDestinyManifest200Response } from '../model/destiny2GetDestinyManifest200Response'; import { Destiny2GetHistoricalStats200Response } from '../model/destiny2GetHistoricalStats200Response'; import { Destiny2GetHistoricalStatsDefinition200Response } from '../model/destiny2GetHistoricalStatsDefinition200Response'; import { Destiny2GetHistoricalStatsForAccount200Response } from '../model/destiny2GetHistoricalStatsForAccount200Response'; import { Destiny2GetItem200Response } from '../model/destiny2GetItem200Response'; import { Destiny2GetLinkedProfiles200Response } from '../model/destiny2GetLinkedProfiles200Response'; import { Destiny2GetPostGameCarnageReport200Response } from '../model/destiny2GetPostGameCarnageReport200Response'; import { Destiny2GetProfile200Response } from '../model/destiny2GetProfile200Response'; import { Destiny2GetPublicMilestoneContent200Response } from '../model/destiny2GetPublicMilestoneContent200Response'; import { Destiny2GetPublicMilestones200Response } from '../model/destiny2GetPublicMilestones200Response'; import { Destiny2GetPublicVendors200Response } from '../model/destiny2GetPublicVendors200Response'; import { Destiny2GetUniqueWeaponHistory200Response } from '../model/destiny2GetUniqueWeaponHistory200Response'; import { Destiny2GetVendor200Response } from '../model/destiny2GetVendor200Response'; import { Destiny2GetVendors200Response } from '../model/destiny2GetVendors200Response'; import { Destiny2InsertSocketPlug200Response } from '../model/destiny2InsertSocketPlug200Response'; import { Destiny2SearchDestinyEntities200Response } from '../model/destiny2SearchDestinyEntities200Response'; import { Destiny2SearchDestinyPlayerByBungieName200Response } from '../model/destiny2SearchDestinyPlayerByBungieName200Response'; import { GroupV2EditGroup200Response } from '../model/groupV2EditGroup200Response'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class Destiny2Service { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Returns the action token if user approves the request. * @param correlationId The identifier for the advanced write action request. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2AwaGetActionToken(correlationId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2AwaGetActionToken(correlationId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2AwaGetActionToken(correlationId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Initialize a request to perform an advanced write action. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2AwaInitializeRequest(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2AwaInitializeRequest(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2AwaInitializeRequest(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Provide the result of the user interaction. Called by the Bungie Destiny App to approve or reject a request. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2AwaProvideAuthorizationResult(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2AwaProvideAuthorizationResult(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2AwaProvideAuthorizationResult(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Clear the identifiers and items of a loadout. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2ClearLoadout(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2ClearLoadout(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2ClearLoadout(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Equip an item. You must have a valid Destiny Account, and either be in a social space, in orbit, or offline. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2EquipItem(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2EquipItem(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2EquipItem(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Equip a list of items by itemInstanceIds. You must have a valid Destiny Account, and either be in a social space, in orbit, or offline. Any items not found on your character will be ignored. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2EquipItems(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2EquipItems(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2EquipItems(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Equip a loadout. You must have a valid Destiny Account, and either be in a social space, in orbit, or offline. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2EquipLoadout(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2EquipLoadout(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2EquipLoadout(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets activity history stats for indicated character. * @param characterId The id of the character to retrieve. * @param destinyMembershipId The Destiny membershipId of the user to retrieve. * @param membershipType A valid non-BungieNet membership type. * @param count Number of rows to return * @param mode A filter for the activity mode to be returned. None returns all activities. See the documentation for DestinyActivityModeType for valid values, and pass in string representation. * @param page Page number to return, starting with 0. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetActivityHistory(characterId: number, destinyMembershipId: number, membershipType: number, count?: number, mode?: number, page?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetActivityHistory(characterId: number, destinyMembershipId: number, membershipType: number, count?: number, mode?: number, page?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetActivityHistory(characterId: number, destinyMembershipId: number, membershipType: number, count?: number, mode?: number, page?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns character information for the supplied character. * @param characterId ID of the character. * @param destinyMembershipId Destiny membership ID. * @param membershipType A valid non-BungieNet membership type. * @param components A comma separated list of components to return (as strings or numeric values). See the DestinyComponentType enum for valid components to request. You must request at least one component to receive results. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetCharacter(characterId: number, destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetCharacter(characterId: number, destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetCharacter(characterId: number, destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets aggregated stats for a clan using the same categories as the clan leaderboards. PREVIEW: This endpoint is still in beta, and may experience rough edges. The schema is in final form, but there may be bugs that prevent desirable operation. * @param groupId Group ID of the clan whose leaderboards you wish to fetch. * @param modes List of game modes for which to get leaderboards. See the documentation for DestinyActivityModeType for valid values, and pass in string representation, comma delimited. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetClanAggregateStats(groupId: number, modes?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetClanAggregateStats(groupId: number, modes?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetClanAggregateStats(groupId: number, modes?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns the dictionary of values for the Clan Banner * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetClanBannerSource(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetClanBannerSource(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetClanBannerSource(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets leaderboards with the signed in user\'s friends and the supplied destinyMembershipId as the focus. PREVIEW: This endpoint is still in beta, and may experience rough edges. The schema is in final form, but there may be bugs that prevent desirable operation. * @param groupId Group ID of the clan whose leaderboards you wish to fetch. * @param maxtop Maximum number of top players to return. Use a large number to get entire leaderboard. * @param modes List of game modes for which to get leaderboards. See the documentation for DestinyActivityModeType for valid values, and pass in string representation, comma delimited. * @param statid ID of stat to return rather than returning all Leaderboard stats. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetClanLeaderboards(groupId: number, maxtop?: number, modes?: string, statid?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetClanLeaderboards(groupId: number, maxtop?: number, modes?: string, statid?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetClanLeaderboards(groupId: number, maxtop?: number, modes?: string, statid?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns information on the weekly clan rewards and if the clan has earned them or not. Note that this will always report rewards as not redeemed. * @param groupId A valid group id of clan. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetClanWeeklyRewardState(groupId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetClanWeeklyRewardState(groupId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetClanWeeklyRewardState(groupId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Given a Presentation Node that has Collectibles as direct descendants, this will return item details about those descendants in the context of the requesting character. * @param characterId The Destiny Character ID of the character for whom we\'re getting collectible detail info. * @param collectiblePresentationNodeHash The hash identifier of the Presentation Node for whom we should return collectible details. Details will only be returned for collectibles that are direct descendants of this node. * @param destinyMembershipId Destiny membership ID of another user. You may be denied. * @param membershipType A valid non-BungieNet membership type. * @param components A comma separated list of components to return (as strings or numeric values). See the DestinyComponentType enum for valid components to request. You must request at least one component to receive results. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetCollectibleNodeDetails(characterId: number, collectiblePresentationNodeHash: number, destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetCollectibleNodeDetails(characterId: number, collectiblePresentationNodeHash: number, destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetCollectibleNodeDetails(characterId: number, collectiblePresentationNodeHash: number, destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets all activities the character has participated in together with aggregate statistics for those activities. * @param characterId The specific character whose activities should be returned. * @param destinyMembershipId The Destiny membershipId of the user to retrieve. * @param membershipType A valid non-BungieNet membership type. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetDestinyAggregateActivityStats(characterId: number, destinyMembershipId: number, membershipType: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetDestinyAggregateActivityStats(characterId: number, destinyMembershipId: number, membershipType: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetDestinyAggregateActivityStats(characterId: number, destinyMembershipId: number, membershipType: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns the static definition of an entity of the given Type and hash identifier. Examine the API Documentation for the Type Names of entities that have their own definitions. Note that the return type will always *inherit from* DestinyDefinition, but the specific type returned will be the requested entity type if it can be found. Please don\'t use this as a chatty alternative to the Manifest database if you require large sets of data, but for simple and one-off accesses this should be handy. * @param entityType The type of entity for whom you would like results. These correspond to the entity\'s definition contract name. For instance, if you are looking for items, this property should be \'DestinyInventoryItemDefinition\'. PREVIEW: This endpoint is still in beta, and may experience rough edges. The schema is tentatively in final form, but there may be bugs that prevent desirable operation. * @param hashIdentifier The hash identifier for the specific Entity you want returned. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetDestinyEntityDefinition(entityType: string, hashIdentifier: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetDestinyEntityDefinition(entityType: string, hashIdentifier: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetDestinyEntityDefinition(entityType: string, hashIdentifier: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns the current version of the manifest as a json object. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetDestinyManifest(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetDestinyManifest(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetDestinyManifest(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets historical stats for indicated character. * @param characterId The id of the character to retrieve. You can omit this character ID or set it to 0 to get aggregate stats across all characters. * @param destinyMembershipId The Destiny membershipId of the user to retrieve. * @param membershipType A valid non-BungieNet membership type. * @param dayend Last day to return when daily stats are requested. Use the format YYYY-MM-DD. Currently, we cannot allow more than 31 days of daily data to be requested in a single request. * @param daystart First day to return when daily stats are requested. Use the format YYYY-MM-DD. Currently, we cannot allow more than 31 days of daily data to be requested in a single request. * @param groups Group of stats to include, otherwise only general stats are returned. Comma separated list is allowed. Values: General, Weapons, Medals * @param modes Game modes to return. See the documentation for DestinyActivityModeType for valid values, and pass in string representation, comma delimited. * @param periodType Indicates a specific period type to return. Optional. May be: Daily, AllTime, or Activity * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetHistoricalStats(characterId: number, destinyMembershipId: number, membershipType: number, dayend?: string, daystart?: string, groups?: Array, modes?: Array, periodType?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetHistoricalStats(characterId: number, destinyMembershipId: number, membershipType: number, dayend?: string, daystart?: string, groups?: Array, modes?: Array, periodType?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetHistoricalStats(characterId: number, destinyMembershipId: number, membershipType: number, dayend?: string, daystart?: string, groups?: Array, modes?: Array, periodType?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets historical stats definitions. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetHistoricalStatsDefinition(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetHistoricalStatsDefinition(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetHistoricalStatsDefinition(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets aggregate historical stats organized around each character for a given account. * @param destinyMembershipId The Destiny membershipId of the user to retrieve. * @param membershipType A valid non-BungieNet membership type. * @param groups Groups of stats to include, otherwise only general stats are returned. Comma separated list is allowed. Values: General, Weapons, Medals. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetHistoricalStatsForAccount(destinyMembershipId: number, membershipType: number, groups?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetHistoricalStatsForAccount(destinyMembershipId: number, membershipType: number, groups?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetHistoricalStatsForAccount(destinyMembershipId: number, membershipType: number, groups?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Retrieve the details of an instanced Destiny Item. An instanced Destiny item is one with an ItemInstanceId. Non-instanced items, such as materials, have no useful instance-specific details and thus are not queryable here. * @param destinyMembershipId The membership ID of the destiny profile. * @param itemInstanceId The Instance ID of the destiny item. * @param membershipType A valid non-BungieNet membership type. * @param components A comma separated list of components to return (as strings or numeric values). See the DestinyComponentType enum for valid components to request. You must request at least one component to receive results. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetItem(destinyMembershipId: number, itemInstanceId: number, membershipType: number, components?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetItem(destinyMembershipId: number, itemInstanceId: number, membershipType: number, components?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetItem(destinyMembershipId: number, itemInstanceId: number, membershipType: number, components?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets leaderboards with the signed in user\'s friends and the supplied destinyMembershipId as the focus. PREVIEW: This endpoint has not yet been implemented. It is being returned for a preview of future functionality, and for public comment/suggestion/preparation. * @param destinyMembershipId The Destiny membershipId of the user to retrieve. * @param membershipType A valid non-BungieNet membership type. * @param maxtop Maximum number of top players to return. Use a large number to get entire leaderboard. * @param modes List of game modes for which to get leaderboards. See the documentation for DestinyActivityModeType for valid values, and pass in string representation, comma delimited. * @param statid ID of stat to return rather than returning all Leaderboard stats. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetLeaderboards(destinyMembershipId: number, membershipType: number, maxtop?: number, modes?: string, statid?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetLeaderboards(destinyMembershipId: number, membershipType: number, maxtop?: number, modes?: string, statid?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetLeaderboards(destinyMembershipId: number, membershipType: number, maxtop?: number, modes?: string, statid?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets leaderboards with the signed in user\'s friends and the supplied destinyMembershipId as the focus. PREVIEW: This endpoint is still in beta, and may experience rough edges. The schema is in final form, but there may be bugs that prevent desirable operation. * @param characterId The specific character to build the leaderboard around for the provided Destiny Membership. * @param destinyMembershipId The Destiny membershipId of the user to retrieve. * @param membershipType A valid non-BungieNet membership type. * @param maxtop Maximum number of top players to return. Use a large number to get entire leaderboard. * @param modes List of game modes for which to get leaderboards. See the documentation for DestinyActivityModeType for valid values, and pass in string representation, comma delimited. * @param statid ID of stat to return rather than returning all Leaderboard stats. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetLeaderboardsForCharacter(characterId: number, destinyMembershipId: number, membershipType: number, maxtop?: number, modes?: string, statid?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetLeaderboardsForCharacter(characterId: number, destinyMembershipId: number, membershipType: number, maxtop?: number, modes?: string, statid?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetLeaderboardsForCharacter(characterId: number, destinyMembershipId: number, membershipType: number, maxtop?: number, modes?: string, statid?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * 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. * @param membershipId 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! * @param membershipType The type for the membership whose linked Destiny accounts you want returned. * @param getAllMemberships (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. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetLinkedProfiles(membershipId: number, membershipType: number, getAllMemberships?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetLinkedProfiles(membershipId: number, membershipType: number, getAllMemberships?: boolean, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetLinkedProfiles(membershipId: number, membershipType: number, getAllMemberships?: boolean, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets the available post game carnage report for the activity ID. * @param activityId The ID of the activity whose PGCR is requested. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetPostGameCarnageReport(activityId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetPostGameCarnageReport(activityId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetPostGameCarnageReport(activityId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns Destiny Profile information for the supplied membership. * @param destinyMembershipId Destiny membership ID. * @param membershipType A valid non-BungieNet membership type. * @param components A comma separated list of components to return (as strings or numeric values). See the DestinyComponentType enum for valid components to request. You must request at least one component to receive results. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetProfile(destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetProfile(destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetProfile(destinyMembershipId: number, membershipType: number, components?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets custom localized content for the milestone of the given hash, if it exists. * @param milestoneHash The identifier for the milestone to be returned. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetPublicMilestoneContent(milestoneHash: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetPublicMilestoneContent(milestoneHash: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetPublicMilestoneContent(milestoneHash: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets public information about currently available Milestones. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetPublicMilestones(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetPublicMilestones(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetPublicMilestones(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Get items available from vendors where the vendors have items for sale that are common for everyone. If any portion of the Vendor\'s available inventory is character or account specific, we will be unable to return their data from this endpoint due to the way that available inventory is computed. As I am often guilty of saying: \'It\'s a long story...\' * @param components A comma separated list of components to return (as strings or numeric values). See the DestinyComponentType enum for valid components to request. You must request at least one component to receive results. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetPublicVendors(components?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetPublicVendors(components?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetPublicVendors(components?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets details about unique weapon usage, including all exotic weapons. * @param characterId The id of the character to retrieve. * @param destinyMembershipId The Destiny membershipId of the user to retrieve. * @param membershipType A valid non-BungieNet membership type. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetUniqueWeaponHistory(characterId: number, destinyMembershipId: number, membershipType: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetUniqueWeaponHistory(characterId: number, destinyMembershipId: number, membershipType: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetUniqueWeaponHistory(characterId: number, destinyMembershipId: number, membershipType: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Get the details of a specific Vendor. * @param characterId The Destiny Character ID of the character for whom we\'re getting vendor info. * @param destinyMembershipId Destiny membership ID of another user. You may be denied. * @param membershipType A valid non-BungieNet membership type. * @param vendorHash The Hash identifier of the Vendor to be returned. * @param components A comma separated list of components to return (as strings or numeric values). See the DestinyComponentType enum for valid components to request. You must request at least one component to receive results. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetVendor(characterId: number, destinyMembershipId: number, membershipType: number, vendorHash: number, components?: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetVendor(characterId: number, destinyMembershipId: number, membershipType: number, vendorHash: number, components?: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetVendor(characterId: number, destinyMembershipId: number, membershipType: number, vendorHash: number, components?: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Get currently available vendors from the list of vendors that can possibly have rotating inventory. Note that this does not include things like preview vendors and vendors-as-kiosks, neither of whom have rotating/dynamic inventories. Use their definitions as-is for those. * @param characterId The Destiny Character ID of the character for whom we\'re getting vendor info. * @param destinyMembershipId Destiny membership ID of another user. You may be denied. * @param membershipType A valid non-BungieNet membership type. * @param components A comma separated list of components to return (as strings or numeric values). See the DestinyComponentType enum for valid components to request. You must request at least one component to receive results. * @param filter The filter of what vendors and items to return, if any. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2GetVendors(characterId: number, destinyMembershipId: number, membershipType: number, components?: Array, filter?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2GetVendors(characterId: number, destinyMembershipId: number, membershipType: number, components?: Array, filter?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2GetVendors(characterId: number, destinyMembershipId: number, membershipType: number, components?: Array, filter?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Insert a plug into a socketed item. I know how it sounds, but I assure you it\'s much more G-rated than you might be guessing. We haven\'t decided yet whether this will be able to insert plugs that have side effects, but if we do it will require special scope permission for an application attempting to do so. You must have a valid Destiny Account, and either be in a social space, in orbit, or offline. Request must include proof of permission for \'InsertPlugs\' from the account owner. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2InsertSocketPlug(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2InsertSocketPlug(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2InsertSocketPlug(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Insert a \'free\' plug into an item\'s socket. This does not require \'Advanced Write Action\' authorization and is available to 3rd-party apps, but will only work on \'free and reversible\' socket actions (Perks, Armor Mods, Shaders, Ornaments, etc.). You must have a valid Destiny Account, and the character must either be in a social space, in orbit, or offline. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2InsertSocketPlugFree(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2InsertSocketPlugFree(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2InsertSocketPlugFree(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Extract an item from the Postmaster, with whatever implications that may entail. You must have a valid Destiny account. You must also pass BOTH a reference AND an instance ID if it\'s an instanced item. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2PullFromPostmaster(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2PullFromPostmaster(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2PullFromPostmaster(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Report a player that you met in an activity that was engaging in ToS-violating activities. Both you and the offending player must have played in the activityId passed in. Please use this judiciously and only when you have strong suspicions of violation, pretty please. * @param activityId The ID of the activity where you ran into the brigand that you\'re reporting. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2ReportOffensivePostGameCarnageReportPlayer(activityId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2ReportOffensivePostGameCarnageReportPlayer(activityId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2ReportOffensivePostGameCarnageReportPlayer(activityId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets a page list of Destiny items. * @param searchTerm The string to use when searching for Destiny entities. * @param type The type of entity for whom you would like results. These correspond to the entity\'s definition contract name. For instance, if you are looking for items, this property should be \'DestinyInventoryItemDefinition\'. * @param page Page number to return, starting with 0. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2SearchDestinyEntities(searchTerm: string, type: string, page?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2SearchDestinyEntities(searchTerm: string, type: string, page?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2SearchDestinyEntities(searchTerm: string, type: string, page?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns a list of Destiny memberships given a global Bungie Display Name. This method will hide overridden memberships due to cross save. * @param membershipType A valid non-BungieNet membership type, or All. Indicates which memberships to return. You probably want this set to All. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2SearchDestinyPlayerByBungieName(membershipType: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2SearchDestinyPlayerByBungieName(membershipType: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2SearchDestinyPlayerByBungieName(membershipType: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Set the Lock State for an instanced item. You must have a valid Destiny Account. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2SetItemLockState(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2SetItemLockState(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2SetItemLockState(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Set the Tracking State for an instanced item, if that item is a Quest or Bounty. You must have a valid Destiny Account. Yeah, it\'s an item. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2SetQuestTrackedState(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2SetQuestTrackedState(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2SetQuestTrackedState(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Snapshot a loadout with the currently equipped items. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2SnapshotLoadout(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2SnapshotLoadout(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2SnapshotLoadout(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Transfer an item to/from your vault. You must have a valid Destiny account. You must also pass BOTH a reference AND an instance ID if it\'s an instanced item. itshappening.gif * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2TransferItem(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2TransferItem(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2TransferItem(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Update the color, icon, and name of a loadout. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ destiny2UpdateLoadoutIdentifiers(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; destiny2UpdateLoadoutIdentifiers(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; destiny2UpdateLoadoutIdentifiers(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }