import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { UserGetAvailableThemes200Response } from '../model/userGetAvailableThemes200Response'; import { UserGetBungieNetUserById200Response } from '../model/userGetBungieNetUserById200Response'; import { UserGetCredentialTypesForTargetAccount200Response } from '../model/userGetCredentialTypesForTargetAccount200Response'; import { UserGetMembershipDataById200Response } from '../model/userGetMembershipDataById200Response'; import { UserGetMembershipFromHardLinkedCredential200Response } from '../model/userGetMembershipFromHardLinkedCredential200Response'; import { UserGetSanitizedPlatformDisplayNames200Response } from '../model/userGetSanitizedPlatformDisplayNames200Response'; import { UserSearchByGlobalNamePrefix200Response } from '../model/userSearchByGlobalNamePrefix200Response'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class UserService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Returns a list of all available user themes. * @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. */ userGetAvailableThemes(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userGetAvailableThemes(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userGetAvailableThemes(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Loads a bungienet user by membership id. * @param id The requested Bungie.net membership id. * @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. */ userGetBungieNetUserById(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userGetBungieNetUserById(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userGetBungieNetUserById(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns a list of credential types attached to the requested account * @param membershipId The user\'s membership id * @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. */ userGetCredentialTypesForTargetAccount(membershipId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userGetCredentialTypesForTargetAccount(membershipId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userGetCredentialTypesForTargetAccount(membershipId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns a list of accounts associated with the supplied membership ID and membership type. This will include all linked accounts (even when hidden) if supplied credentials permit it. * @param membershipId The membership ID of the target user. * @param membershipType Type of the supplied membership ID. * @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. */ userGetMembershipDataById(membershipId: number, membershipType: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userGetMembershipDataById(membershipId: number, membershipType: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userGetMembershipDataById(membershipId: number, membershipType: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns a list of accounts associated with signed in user. This is useful for OAuth implementations that do not give you access to the token response. * @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. */ userGetMembershipDataForCurrentUser(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userGetMembershipDataForCurrentUser(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userGetMembershipDataForCurrentUser(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets any hard linked membership given a credential. Only works for credentials that are public (just SteamID64 right now). Cross Save aware. * @param credential The credential to look up. Must be a valid SteamID64. * @param crType The credential type. \'SteamId\' is the only valid value at present. * @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. */ userGetMembershipFromHardLinkedCredential(credential: string, crType: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userGetMembershipFromHardLinkedCredential(credential: string, crType: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userGetMembershipFromHardLinkedCredential(credential: string, crType: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets a list of all display names linked to this membership id but sanitized (profanity filtered). Obeys all visibility rules of calling user and is heavily cached. * @param membershipId The requested membership id to load. * @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. */ userGetSanitizedPlatformDisplayNames(membershipId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userGetSanitizedPlatformDisplayNames(membershipId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userGetSanitizedPlatformDisplayNames(membershipId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Given the prefix of a global display name, returns all users who share that name. * @param page The zero-based page of results you desire. * @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. */ userSearchByGlobalNamePost(page: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userSearchByGlobalNamePost(page: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userSearchByGlobalNamePost(page: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * [OBSOLETE] Do not use this to search users, use SearchByGlobalNamePost instead. * @param displayNamePrefix The display name prefix you\'re looking for. * @param page The zero-based page of results you desire. * @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. */ userSearchByGlobalNamePrefix(displayNamePrefix: string, page: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; userSearchByGlobalNamePrefix(displayNamePrefix: string, page: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; userSearchByGlobalNamePrefix(displayNamePrefix: string, page: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }