/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { buyingPowerGetAssetBuyingPower } from "../funcs/buyingPowerGetAssetBuyingPower.js"; import { buyingPowerGetBuyingPower } from "../funcs/buyingPowerGetBuyingPower.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class BuyingPower extends ClientSDK { /** * Get Buying Power * * @remarks * Gets the buying power for an account */ async getBuyingPower( accountId: string, options?: RequestOptions, ): Promise { return unwrapAsync(buyingPowerGetBuyingPower( this, accountId, options, )); } /** * Get Asset Buying Power * * @remarks * Gets buying power for an account and asset */ async getAssetBuyingPower( accountId: string, assetId: string, options?: RequestOptions, ): Promise { return unwrapAsync(buyingPowerGetAssetBuyingPower( this, accountId, assetId, options, )); } }