/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { historicalEmployeesUpdate } from "../funcs/historicalEmployeesUpdate.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { PutV1HistoricalEmployeesRequest, PutV1HistoricalEmployeesResponse, } from "../models/operations/putv1historicalemployees.js"; import { unwrapAsync } from "../types/fp.js"; export class HistoricalEmployees extends ClientSDK { /** * Update a historical employee * * @remarks * Update a historical employee, an employee that was previously dismissed from the company in the current year. * * scope: `employees:manage employees:write` */ async update( request: PutV1HistoricalEmployeesRequest, options?: RequestOptions, ): Promise { return unwrapAsync(historicalEmployeesUpdate( this, request, options, )); } }