/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { adjustmentsGet } from "../funcs/adjustmentsGet.js"; import { adjustmentsList } from "../funcs/adjustmentsList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Adjustments extends ClientSDK { /** * List adjustments associated with a Moov account. * * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) * you'll need to specify the `/accounts/{accountID}/wallets.read` scope. */ async list( request: operations.ListAdjustmentsRequest, options?: RequestOptions, ): Promise { return unwrapAsync(adjustmentsList( this, request, options, )); } /** * Retrieve a specific adjustment associated with a Moov account. * * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) * you'll need to specify the `/accounts/{accountID}/wallets.read` scope. */ async get( request: operations.GetAdjustmentRequest, options?: RequestOptions, ): Promise { return unwrapAsync(adjustmentsGet( this, request, options, )); } }