import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { HTTPMetadata } from "../components/httpmetadata.js"; import { Termination } from "../components/termination.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export declare const PostV1EmployeesEmployeeIdTerminationsHeaderXGustoAPIVersion: { readonly TwoThousandAndTwentyFiveMinus06Minus15: "2025-06-15"; }; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export type PostV1EmployeesEmployeeIdTerminationsHeaderXGustoAPIVersion = ClosedEnum; export type PostV1EmployeesEmployeeIdTerminationsRequestBody = { /** * The employee's last day of work. */ effectiveDate: string; /** * If true, the employee should receive their final wages via an off-cycle payroll. If false, they should receive their final wages on their current pay schedule. */ runTerminationPayroll?: boolean | undefined; }; export type PostV1EmployeesEmployeeIdTerminationsRequest = { /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ xGustoAPIVersion?: PostV1EmployeesEmployeeIdTerminationsHeaderXGustoAPIVersion | undefined; /** * The UUID of the employee */ employeeId: string; requestBody: PostV1EmployeesEmployeeIdTerminationsRequestBody; }; export type PostV1EmployeesEmployeeIdTerminationsResponse = { httpMeta: HTTPMetadata; /** * Created */ termination?: Termination | undefined; }; /** @internal */ export declare const PostV1EmployeesEmployeeIdTerminationsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PostV1EmployeesEmployeeIdTerminationsRequestBody$Outbound = { effective_date: string; run_termination_payroll: boolean; }; /** @internal */ export declare const PostV1EmployeesEmployeeIdTerminationsRequestBody$outboundSchema: z.ZodType; export declare function postV1EmployeesEmployeeIdTerminationsRequestBodyToJSON(postV1EmployeesEmployeeIdTerminationsRequestBody: PostV1EmployeesEmployeeIdTerminationsRequestBody): string; /** @internal */ export type PostV1EmployeesEmployeeIdTerminationsRequest$Outbound = { "X-Gusto-API-Version": string; employee_id: string; RequestBody: PostV1EmployeesEmployeeIdTerminationsRequestBody$Outbound; }; /** @internal */ export declare const PostV1EmployeesEmployeeIdTerminationsRequest$outboundSchema: z.ZodType; export declare function postV1EmployeesEmployeeIdTerminationsRequestToJSON(postV1EmployeesEmployeeIdTerminationsRequest: PostV1EmployeesEmployeeIdTerminationsRequest): string; /** @internal */ export declare const PostV1EmployeesEmployeeIdTerminationsResponse$inboundSchema: z.ZodType; export declare function postV1EmployeesEmployeeIdTerminationsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postv1employeesemployeeidterminations.d.ts.map