psn-api
Version:
A well-tested library that lets you get trophy, user, and game data from the PlayStation Network.
12 lines (11 loc) • 734 B
TypeScript
import type { AllCallOptions, AuthorizationPayload, GetUserFriendsRequestsResponse } from "../models";
type GetUserFriendsRequestsOptions = Pick<AllCallOptions, "limit" | "offset">;
/**
* A call to this function will retrieve the list of received friend requests `accountId` values
* for the account the client is logged into.
*
* @param authorization An object containing your access token, typically retrieved with `exchangeAccessCodeForAuthTokens()`.
* @param options Optional parameters for pagination (limit and offset).
*/
export declare const getUserFriendsRequests: (authorization: AuthorizationPayload, options?: Partial<GetUserFriendsRequestsOptions>) => Promise<GetUserFriendsRequestsResponse>;
export {};