/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { vaultConnectionConsentsList } from "../funcs/vaultConnectionConsentsList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class ConnectionConsents extends ClientSDK { /** * Get consent records * * @remarks * Get all consent records for a connection */ async list( request: operations.VaultConnectionConsentsAllRequest, options?: RequestOptions, ): Promise { return unwrapAsync(vaultConnectionConsentsList( this, request, options, )); } }