/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { enrichedAddressGet } from "../funcs/enrichedAddressGet.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class EnrichedAddress extends ClientSDK { /** * Fetch enriched address suggestions. Requires a partial address. * * 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.GetEnrichmentAddressRequest, options?: RequestOptions, ): Promise { return unwrapAsync(enrichedAddressGet( this, request, options, )); } }