/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { vaultConnectionConsentUpdate } from "../funcs/vaultConnectionConsentUpdate.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class ConnectionConsent extends ClientSDK { /** * Update consent state * * @remarks * Update the consent state of a connection */ async update( request: operations.VaultConnectionConsentUpdateRequest, options?: RequestOptions, ): Promise { return unwrapAsync(vaultConnectionConsentUpdate( this, request, options, )); } }