import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { EmployeeFederalTax } from "../components/employeefederaltax.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 PutV1EmployeesEmployeeIdFederalTaxesHeaderXGustoAPIVersion: { 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 PutV1EmployeesEmployeeIdFederalTaxesHeaderXGustoAPIVersion = ClosedEnum; /** * The version of the W4 form. Only rev_2020_w4 is accepted for updates. */ export declare const W4DataType: { readonly Rev2020W4: "rev_2020_w4"; }; /** * The version of the W4 form. Only rev_2020_w4 is accepted for updates. */ export type W4DataType = ClosedEnum; /** * Determines which tax return form an individual will use. One of: Single, Married, Head of Household, Exempt from withholding. */ export declare const FilingStatus: { readonly Single: "Single"; readonly Married: "Married"; readonly HeadOfHousehold: "Head of Household"; readonly ExemptFromWithholding: "Exempt from withholding"; }; /** * Determines which tax return form an individual will use. One of: Single, Married, Head of Household, Exempt from withholding. */ export type FilingStatus = ClosedEnum; export type PutV1EmployeesEmployeeIdFederalTaxesRequestBody = { /** * The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/versioning#object-layer) for information on how to use this field. */ version: string; /** * The version of the W4 form. Only rev_2020_w4 is accepted for updates. */ w4DataType: W4DataType; /** * Determines which tax return form an individual will use. One of: Single, Married, Head of Household, Exempt from withholding. */ filingStatus: FilingStatus; /** * If there are only two jobs (e.g., you and your spouse each have a job), set to true. */ twoJobs?: boolean | undefined; /** * Amount for dependents; a dependent entitles the taxpayer to claim a dependency exemption. */ dependentsAmount?: number | undefined; /** * Other income amount. */ otherIncome?: number | undefined; /** * Deductions other than the standard deduction to reduce withholding. */ deductions?: number | undefined; /** * Additional amount to be withheld from each paycheck. */ extraWithholding?: number | undefined; /** * Only applicable when w4_data_type is 'pre_2020_w4' (pre-2020 W4 forms are deprecated for updates). */ federalWithholdingAllowance?: number | undefined; /** * Only applicable when w4_data_type is 'pre_2020_w4' (pre-2020 W4 forms are deprecated for updates). */ additionalWithholding?: number | undefined; }; export type PutV1EmployeesEmployeeIdFederalTaxesRequest = { /** * 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?: PutV1EmployeesEmployeeIdFederalTaxesHeaderXGustoAPIVersion | undefined; /** * The UUID of the employee */ employeeUuid: string; requestBody: PutV1EmployeesEmployeeIdFederalTaxesRequestBody; }; export type PutV1EmployeesEmployeeIdFederalTaxesResponse = { httpMeta: HTTPMetadata; /** * Successful */ employeeFederalTax?: EmployeeFederalTax | undefined; }; /** @internal */ export declare const PutV1EmployeesEmployeeIdFederalTaxesHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const W4DataType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FilingStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PutV1EmployeesEmployeeIdFederalTaxesRequestBody$Outbound = { version: string; w4_data_type: string; filing_status: string; two_jobs?: boolean | undefined; dependents_amount?: number | undefined; other_income?: number | undefined; deductions?: number | undefined; extra_withholding?: number | undefined; federal_withholding_allowance?: number | undefined; additional_withholding?: number | undefined; }; /** @internal */ export declare const PutV1EmployeesEmployeeIdFederalTaxesRequestBody$outboundSchema: z.ZodType; export declare function putV1EmployeesEmployeeIdFederalTaxesRequestBodyToJSON(putV1EmployeesEmployeeIdFederalTaxesRequestBody: PutV1EmployeesEmployeeIdFederalTaxesRequestBody): string; /** @internal */ export type PutV1EmployeesEmployeeIdFederalTaxesRequest$Outbound = { "X-Gusto-API-Version": string; employee_uuid: string; RequestBody: PutV1EmployeesEmployeeIdFederalTaxesRequestBody$Outbound; }; /** @internal */ export declare const PutV1EmployeesEmployeeIdFederalTaxesRequest$outboundSchema: z.ZodType; export declare function putV1EmployeesEmployeeIdFederalTaxesRequestToJSON(putV1EmployeesEmployeeIdFederalTaxesRequest: PutV1EmployeesEmployeeIdFederalTaxesRequest): string; /** @internal */ export declare const PutV1EmployeesEmployeeIdFederalTaxesResponse$inboundSchema: z.ZodType; export declare function putV1EmployeesEmployeeIdFederalTaxesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putv1employeesemployeeidfederaltaxes.d.ts.map