import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Destiny2GetClanAggregateStats200Response } from '../model/destiny2GetClanAggregateStats200Response'; import { Destiny2GetClanLeaderboards200Response } from '../model/destiny2GetClanLeaderboards200Response'; import { Destiny2GetPublicVendors200Response } from '../model/destiny2GetPublicVendors200Response'; import { Destiny2InsertSocketPlug200Response } from '../model/destiny2InsertSocketPlug200Response'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class PreviewService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * 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>; /** * 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>; /** * 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>; /** * 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>; /** * 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>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }