import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { GroupV2GetUserClanInviteSetting200Response } from '../model/groupV2GetUserClanInviteSetting200Response'; import { SocialGetFriendList200Response } from '../model/socialGetFriendList200Response'; import { SocialGetFriendRequestList200Response } from '../model/socialGetFriendRequestList200Response'; import { SocialGetPlatformFriendList200Response } from '../model/socialGetPlatformFriendList200Response'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class SocialService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Accepts a friend relationship with the target user. The user must be on your incoming friend request list, though no error will occur if they are not. * @param membershipId The membership id of the user you wish to accept. * @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. */ socialAcceptFriendRequest(membershipId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialAcceptFriendRequest(membershipId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialAcceptFriendRequest(membershipId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Declines a friend relationship with the target user. The user must be on your incoming friend request list, though no error will occur if they are not. * @param membershipId The membership id of the user you wish to decline. * @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. */ socialDeclineFriendRequest(membershipId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialDeclineFriendRequest(membershipId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialDeclineFriendRequest(membershipId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns your Bungie Friend list * @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. */ socialGetFriendList(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialGetFriendList(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialGetFriendList(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Returns your friend request queue. * @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. */ socialGetFriendRequestList(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialGetFriendRequestList(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialGetFriendRequestList(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Gets the platform friend of the requested type, with additional information if they have Bungie accounts. Must have a recent login session with said platform. * @param friendPlatform The platform friend type. * @param page The zero based page to return. Page size is 100. * @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. */ socialGetPlatformFriendList(friendPlatform: number, page: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialGetPlatformFriendList(friendPlatform: number, page: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialGetPlatformFriendList(friendPlatform: number, page: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Requests a friend relationship with the target user. Any of the target user\'s linked membership ids are valid inputs. * @param membershipId The membership id of the user you wish to add. * @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. */ socialIssueFriendRequest(membershipId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialIssueFriendRequest(membershipId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialIssueFriendRequest(membershipId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Remove a friend relationship with the target user. The user must be on your friend list, though no error will occur if they are not. * @param membershipId The membership id of the user you wish to remove. * @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. */ socialRemoveFriend(membershipId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialRemoveFriend(membershipId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialRemoveFriend(membershipId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * Remove a friend relationship with the target user. The user must be on your outgoing request friend list, though no error will occur if they are not. * @param membershipId The membership id of the user you wish to remove. * @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. */ socialRemoveFriendRequest(membershipId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; socialRemoveFriendRequest(membershipId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; socialRemoveFriendRequest(membershipId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }