import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { DeleteV1EmployeesEmployeeIdRehireRequest, DeleteV1EmployeesEmployeeIdRehireResponse } from "../models/operations/deletev1employeesemployeeidrehire.js"; import { DeleteV1EmployeesEmployeeIdTerminationsRequest, DeleteV1EmployeesEmployeeIdTerminationsResponse } from "../models/operations/deletev1employeesemployeeidterminations.js"; import { GetV1EmployeesEmployeeIdEmploymentHistoryRequest, GetV1EmployeesEmployeeIdEmploymentHistoryResponse } from "../models/operations/getv1employeesemployeeidemploymenthistory.js"; import { GetV1EmployeesEmployeeIdRehireRequest, GetV1EmployeesEmployeeIdRehireResponse } from "../models/operations/getv1employeesemployeeidrehire.js"; import { GetV1EmployeesEmployeeIdTerminationsRequest, GetV1EmployeesEmployeeIdTerminationsResponse } from "../models/operations/getv1employeesemployeeidterminations.js"; import { GetV1TerminationsEmployeeIdRequest, GetV1TerminationsEmployeeIdResponse } from "../models/operations/getv1terminationsemployeeid.js"; import { PostV1EmployeesEmployeeIdRehireRequest, PostV1EmployeesEmployeeIdRehireResponse } from "../models/operations/postv1employeesemployeeidrehire.js"; import { PostV1EmployeesEmployeeIdTerminationsRequest, PostV1EmployeesEmployeeIdTerminationsResponse } from "../models/operations/postv1employeesemployeeidterminations.js"; import { PutV1EmployeesEmployeeIdRehireRequest, PutV1EmployeesEmployeeIdRehireResponse } from "../models/operations/putv1employeesemployeeidrehire.js"; import { PutV1TerminationsEmployeeIdRequest, PutV1TerminationsEmployeeIdResponse } from "../models/operations/putv1terminationsemployeeid.js"; export declare class EmployeeEmployments extends ClientSDK { /** * Get terminations for an employee * * @remarks * Terminations are created whenever an employee is scheduled to leave the company. The only things required are an effective date (their last day of work) and whether they should receive their wages in a one-off termination payroll or with the rest of the company. * * Note that some states require employees to receive their final wages within 24 hours (unless they consent otherwise,) in which case running a one-off payroll may be the only option. * * scope: `employments:read` */ getTerminations(request: GetV1EmployeesEmployeeIdTerminationsRequest, options?: RequestOptions): Promise; /** * Create an employee termination * * @remarks * Create a termination for an employee. The only things required are an effective date (their last day of work) and whether they should receive their wages in a one-off termination payroll or with the rest of the company. * * Note that some states require employees to receive their final wages within 24 hours (unless they consent otherwise,) in which case running a one-off payroll may be the only option. * * scope: `employments:write` */ createTermination(request: PostV1EmployeesEmployeeIdTerminationsRequest, options?: RequestOptions): Promise; /** * Delete an employee termination * * @remarks * Delete an employee termination. * * scope: `employments:write` */ deleteTermination(request: DeleteV1EmployeesEmployeeIdTerminationsRequest, options?: RequestOptions): Promise; /** * Update an employee termination * * @remarks * Terminations are created whenever an employee is scheduled to leave the company. The only things required are an effective date (their last day of work) and whether they should receive their wages in a one-off termination payroll or with the rest of the company. * * Note that some states require employees to receive their final wages within 24 hours (unless they consent otherwise,) in which case running a one-off payroll may be the only option. * * scope: `employments:write` */ updateTermination(request: PutV1TerminationsEmployeeIdRequest, options?: RequestOptions): Promise; /** * Get an employee rehire * * @remarks * Retrieve an employee's rehire, which contains information on when the employee returns to work. * * scope: `employments:read` */ getRehire(request: GetV1EmployeesEmployeeIdRehireRequest, options?: RequestOptions): Promise; /** * Create an employee rehire * * @remarks * Rehire is created whenever an employee is scheduled to return to the company. * * scope: `employments:write` */ createRehire(request: PostV1EmployeesEmployeeIdRehireRequest, options?: RequestOptions): Promise; /** * Update an employee rehire * * @remarks * Update an employee's rehire. * * scope: `employments:write` */ rehire(request: PutV1EmployeesEmployeeIdRehireRequest, options?: RequestOptions): Promise; /** * Delete an employee rehire * * @remarks * Delete an employee rehire. An employee rehire cannot be deleted if it's active (past effective date). * * scope: `employments:write` */ deleteRehire(request: DeleteV1EmployeesEmployeeIdRehireRequest, options?: RequestOptions): Promise; /** * Get employment history for an employee * * @remarks * Retrieve the employment history for a given employee, which includes termination and rehire. * * scope: `employments:read` */ getHistory(request: GetV1EmployeesEmployeeIdEmploymentHistoryRequest, options?: RequestOptions): Promise; /** * Get an employee termination * * @remarks * Terminations are created whenever an employee is scheduled to leave the company. The only things required are an effective date (their last day of work) and whether they should receive their wages in a one-off termination payroll or with the rest of the company. * * Note that some states require employees to receive their final wages within 24 hours (unless they consent otherwise,) in which case running a one-off payroll may be the only option. * * scope: `employments:read` */ getV1TerminationsEmployeeId(request: GetV1TerminationsEmployeeIdRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=employeeemployments.d.ts.map