/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { vaultCreateCallbackState } from "../funcs/vaultCreateCallbackState.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class CreateCallback extends ClientSDK { /** * Create Callback State * * @remarks * This endpoint creates a callback state that can be used to issue requests to the callback endpoint. */ async state( request: operations.VaultCreateCallbackStateRequest, options?: RequestOptions, ): Promise { return unwrapAsync(vaultCreateCallbackState( this, request, options, )); } }