import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Employee } from "../components/employee.js"; import { HTTPMetadata } from "../components/httpmetadata.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 PutV1EmployeesHeaderXGustoAPIVersion: { 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 PutV1EmployeesHeaderXGustoAPIVersion = ClosedEnum; export type PutV1EmployeesRequestBody = { /** * The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */ version: string; firstName?: string | undefined; middleInitial?: string | null | undefined; lastName?: string | undefined; email?: string | undefined; workEmail?: string | undefined; dateOfBirth?: string | undefined; ssn?: string | undefined; preferredFirstName?: string | null | undefined; /** * Whether the employee is a two percent shareholder of the company. This field only applies to companies with an S-Corp entity type. */ twoPercentShareholder?: boolean | undefined; }; export type PutV1EmployeesRequest = { /** * 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?: PutV1EmployeesHeaderXGustoAPIVersion | undefined; /** * The UUID of the employee */ employeeId: string; requestBody: PutV1EmployeesRequestBody; }; export type PutV1EmployeesResponse = { httpMeta: HTTPMetadata; /** * successful */ employee?: Employee | undefined; }; /** @internal */ export declare const PutV1EmployeesHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PutV1EmployeesRequestBody$Outbound = { version: string; first_name?: string | undefined; middle_initial?: string | null | undefined; last_name?: string | undefined; email?: string | undefined; work_email?: string | undefined; date_of_birth?: string | undefined; ssn?: string | undefined; preferred_first_name?: string | null | undefined; two_percent_shareholder?: boolean | undefined; }; /** @internal */ export declare const PutV1EmployeesRequestBody$outboundSchema: z.ZodType; export declare function putV1EmployeesRequestBodyToJSON(putV1EmployeesRequestBody: PutV1EmployeesRequestBody): string; /** @internal */ export type PutV1EmployeesRequest$Outbound = { "X-Gusto-API-Version": string; employee_id: string; RequestBody: PutV1EmployeesRequestBody$Outbound; }; /** @internal */ export declare const PutV1EmployeesRequest$outboundSchema: z.ZodType; export declare function putV1EmployeesRequestToJSON(putV1EmployeesRequest: PutV1EmployeesRequest): string; /** @internal */ export declare const PutV1EmployeesResponse$inboundSchema: z.ZodType; export declare function putV1EmployeesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putv1employees.d.ts.map