import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const TaxPayerType: { readonly CCorporation: "C-Corporation"; readonly SCorporation: "S-Corporation"; readonly SoleProprietor: "Sole proprietor"; readonly Llc: "LLC"; readonly Llp: "LLP"; readonly LimitedPartnership: "Limited partnership"; readonly CoOwnership: "Co-ownership"; readonly Association: "Association"; readonly Trusteeship: "Trusteeship"; readonly GeneralPartnership: "General partnership"; readonly JointVenture: "Joint venture"; readonly NonProfit: "Non-Profit"; }; export type TaxPayerType = ClosedEnum; /** * The form used by the company for federal tax filing. One of: * * @remarks * - 941 (Quarterly federal tax return form) * - 944 (Annual federal tax return form) */ export declare const FilingForm: { readonly NineHundredAndFortyOne: "941"; readonly NineHundredAndFortyFour: "944"; }; /** * The form used by the company for federal tax filing. One of: * * @remarks * - 941 (Quarterly federal tax return form) * - 944 (Annual federal tax return form) */ export type FilingForm = ClosedEnum; /** * The status of EIN verification: * * @remarks * - `pending`: The EIN verification process has not completed (or the company does not yet have an EIN). * - `verified`: The EIN has been successfully verified as a valid EIN with the IRS. * - `failed`: The company's EIN did not pass verification. Common issues are being entered incorrectly or not matching the company's legal name. */ export declare const FederalTaxDetailsStatus: { readonly Pending: "pending"; readonly Verified: "verified"; readonly Failed: "failed"; }; /** * The status of EIN verification: * * @remarks * - `pending`: The EIN verification process has not completed (or the company does not yet have an EIN). * - `verified`: The EIN has been successfully verified as a valid EIN with the IRS. * - `failed`: The company's EIN did not pass verification. Common issues are being entered incorrectly or not matching the company's legal name. */ export type FederalTaxDetailsStatus = ClosedEnum; /** * Information about the status of verifying the company's Employer Identification Number (EIN) */ export type EinVerification = { /** * The status of EIN verification: * * @remarks * - `pending`: The EIN verification process has not completed (or the company does not yet have an EIN). * - `verified`: The EIN has been successfully verified as a valid EIN with the IRS. * - `failed`: The company's EIN did not pass verification. Common issues are being entered incorrectly or not matching the company's legal name. */ status?: FederalTaxDetailsStatus | undefined; }; export type FederalTaxDetails = { /** * 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 | undefined; /** * What type of tax entity the company is. One of: * * @remarks * - C-Corporation * - S-Corporation * - Sole proprietor * - LLC * - LLP * - Limited partnership * - Co-ownership * - Association * - Trusteeship * - General partnership * - Joint venture * - Non-Profit */ taxPayerType?: TaxPayerType | null | undefined; /** * Whether the company is taxed as an S-Corporation. Tax payer types that may be taxed as an S-Corporation include: * * @remarks * - S-Corporation * - C-Corporation * - LLC */ taxableAsScorp?: boolean | undefined; /** * The form used by the company for federal tax filing. One of: * * @remarks * - 941 (Quarterly federal tax return form) * - 944 (Annual federal tax return form) */ filingForm?: FilingForm | undefined; /** * Whether company's Employer Identification Number (EIN) is present */ hasEin?: boolean | undefined; /** * Whether the EIN has been successfully verified as a valid EIN with the IRS. */ einVerified?: boolean | undefined; /** * Information about the status of verifying the company's Employer Identification Number (EIN) */ einVerification?: EinVerification | undefined; /** * The legal name of the company */ legalName?: string | undefined; /** * The date that these details took effect. */ effectiveDate?: string | undefined; /** * How often the company sends money to the IRS. One of: * * @remarks * - Semiweekly * - Monthly */ depositSchedule?: string | undefined; }; /** @internal */ export declare const TaxPayerType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FilingForm$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FederalTaxDetailsStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EinVerification$inboundSchema: z.ZodType; export declare function einVerificationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FederalTaxDetails$inboundSchema: z.ZodType; export declare function federalTaxDetailsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=federaltaxdetails.d.ts.map