/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { employeePaymentMethodsGetBankAccounts } from "../funcs/employeePaymentMethodsGetBankAccounts.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { GetV1EmployeesEmployeeIdBankAccountsRequest, GetV1EmployeesEmployeeIdBankAccountsResponse, } from "../models/operations/getv1employeesemployeeidbankaccounts.js"; import { unwrapAsync } from "../types/fp.js"; export class EmployeePaymentMethods extends ClientSDK { /** * List employee bank accounts * * @remarks * Returns all employee bank accounts. * * scope: `employee_payment_methods:read` */ async getBankAccounts( request: GetV1EmployeesEmployeeIdBankAccountsRequest, options?: RequestOptions, ): Promise { return unwrapAsync(employeePaymentMethodsGetBankAccounts( this, request, options, )); } }