/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { projectAuthSessionsUpdateResult } from "../funcs/projectAuthSessionsUpdateResult.js"; import { projectAuthSessionsUpdateStart } from "../funcs/projectAuthSessionsUpdateStart.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Update extends ClientSDK { /** * Update Auth Session - Start * * @remarks * Starts updating process of an authentication session. */ async start( projectName: string, authSessionId: string, requestBody: operations.UpdateAuthSessionStartRequestBody, options?: RequestOptions, ): Promise { return unwrapAsync(projectAuthSessionsUpdateStart( this, projectName, authSessionId, requestBody, options, )); } /** * Update Auth Session - Result * * @remarks * Gets authentication session update operation result. */ async result( projectName: string, authSessionId: string, operationId: string, options?: RequestOptions, ): Promise { return unwrapAsync(projectAuthSessionsUpdateResult( this, projectName, authSessionId, operationId, options, )); } }