/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { avatarsGet } from "../funcs/avatarsGet.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Avatars extends ClientSDK { /** * Get avatar image for an account using a unique ID. * * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) * you'll need to specify the `/profile-enrichment.read` scope. */ async get( request: operations.GetAvatarRequest, options?: RequestOptions, ): Promise { return unwrapAsync(avatarsGet( this, request, options, )); } }