import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { EmployeeCustomField } from "./employeecustomfield.js"; import { EmployeeHomeAddress } from "./employeehomeaddress.js"; import { FlsaStatusType } from "./flsastatustype.js"; import { Garnishment } from "./garnishment.js"; import { Job } from "./job.js"; import { PaidTimeOff } from "./paidtimeoff.js"; import { Termination } from "./termination.js"; export declare const OnboardingStatus: { readonly OnboardingCompleted: "onboarding_completed"; readonly AdminOnboardingIncomplete: "admin_onboarding_incomplete"; readonly SelfOnboardingPendingInvite: "self_onboarding_pending_invite"; readonly SelfOnboardingInvited: "self_onboarding_invited"; readonly SelfOnboardingInvitedStarted: "self_onboarding_invited_started"; readonly SelfOnboardingInvitedOverdue: "self_onboarding_invited_overdue"; readonly SelfOnboardingCompletedByEmployee: "self_onboarding_completed_by_employee"; readonly SelfOnboardingAwaitingAdminReview: "self_onboarding_awaiting_admin_review"; }; export type OnboardingStatus = ClosedEnum; /** * Configuration for an employee onboarding documents during onboarding */ export type OnboardingDocumentsConfig = { /** * The UUID of the onboarding documents config */ uuid?: string | null | undefined; /** * Whether to include Form I-9 for an employee during onboarding */ i9Document?: boolean | undefined; }; /** * The employee's payment method */ export declare const PaymentMethod: { readonly DirectDeposit: "Direct Deposit"; readonly Check: "Check"; }; /** * The employee's payment method */ export type PaymentMethod = ClosedEnum; export declare const CurrentEmploymentStatus: { readonly FullTime: "full_time"; readonly PartTimeUnderTwentyHours: "part_time_under_twenty_hours"; readonly PartTimeTwentyPlusHours: "part_time_twenty_plus_hours"; readonly Variable: "variable"; readonly Seasonal: "seasonal"; }; export type CurrentEmploymentStatus = ClosedEnum; /** * The current status of the member portal invitation. */ export declare const ShowEmployeesStatus: { readonly Pending: "pending"; readonly Sent: "sent"; readonly Verified: "verified"; readonly Complete: "complete"; readonly Cancelled: "cancelled"; }; /** * The current status of the member portal invitation. */ export type ShowEmployeesStatus = ClosedEnum; /** * Member portal invitation status information. Only included when the include param has the portal_invitations value set. */ export type MemberPortalInvitationStatus = { /** * The current status of the member portal invitation. */ status?: ShowEmployeesStatus | undefined; /** * Whether the invitation token has expired. */ tokenExpired?: boolean | null | undefined; /** * The date and time when the welcome email was sent. */ welcomeEmailSentAt?: Date | null | undefined; /** * The date and time when the password reset was last resent. */ lastPasswordResentAt?: Date | null | undefined; }; /** * The representation of an employee in Gusto. */ export type ShowEmployees = { /** * The UUID of the employee in Gusto. */ uuid: string; firstName: string; middleInitial?: string | null | undefined; lastName: string; /** * The personal email address of the employee. This is provided to support syncing users between our system and yours. You may not use this email address for any other purpose (e.g. marketing). */ email?: string | null | undefined; /** * The UUID of the company the employee is employed by. */ companyUuid?: string | undefined; /** * The UUID of the employee's manager. */ managerUuid?: string | null | undefined; /** * The current version of the employee. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */ version?: string | undefined; /** * The employee's department in the company. */ department?: string | null | undefined; /** * Whether the employee is terminated. */ terminated?: boolean | 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 | null | undefined; /** * The work email address of the employee. This is provided to support syncing users between our system and yours. You may not use this email address for any other purpose (e.g. marketing). */ workEmail?: string | null | undefined; /** * Whether the employee has completed onboarding. */ onboarded?: boolean | undefined; /** * The current onboarding status of the employee */ onboardingStatus?: OnboardingStatus | null | undefined; /** * Configuration for an employee onboarding documents during onboarding */ onboardingDocumentsConfig?: OnboardingDocumentsConfig | undefined; jobs?: Array | undefined; eligiblePaidTimeOff?: Array | undefined; terminations?: Array | undefined; garnishments?: Array | undefined; /** * Custom fields are only included for the employee if the include param has the custom_fields value set */ customFields?: Array | undefined; dateOfBirth?: string | null | undefined; /** * Indicates whether the employee has an SSN in Gusto. */ hasSsn?: boolean | undefined; /** * Deprecated. This field always returns an empty string. */ ssn?: string | undefined; phone?: string | null | undefined; preferredFirstName?: string | null | undefined; /** * The employee's payment method */ paymentMethod: PaymentMethod; /** * The current employment status of the employee. Full-time employees work 30+ hours per week. Part-time employees are split into two groups: those that work 20-29 hours a week, and those that work under 20 hours a week. Variable employees have hours that vary each week. Seasonal employees are hired for 6 months of the year or less. */ currentEmploymentStatus?: CurrentEmploymentStatus | null | undefined; historical?: boolean | undefined; /** * The short format code of the employee */ employeeCode?: string | undefined; /** * The UUID of the department the employee is under */ departmentUuid?: string | null | undefined; title?: string | undefined; /** * The date when the employee was hired to the company */ hiredAt?: RFCDate | undefined; hiddenSsn?: string | undefined; /** * The FLSA status for this compensation. Salaried ('Exempt') employees are paid a fixed salary every pay period. Salaried with overtime ('Salaried Nonexempt') employees are paid a fixed salary every pay period, and receive overtime pay when applicable. Hourly ('Nonexempt') employees are paid for the hours they work, and receive overtime pay when applicable. Commissioned employees ('Commission Only Exempt') earn wages based only on commission. Commissioned with overtime ('Commission Only Nonexempt') earn wages based on commission, and receive overtime pay when applicable. Owners ('Owner') are employees that own at least twenty percent of the company. */ flsaStatus?: FlsaStatusType | undefined; applicableTaxIds?: Array | undefined; /** * Member portal invitation status information. Only included when the include param has the portal_invitations value set. */ memberPortalInvitationStatus?: MemberPortalInvitationStatus | null | undefined; /** * Whether an external partner portal invitation webhook has been sent for this employee. Only included when the include param has the portal_invitations value set. */ partnerPortalInvitationSent?: boolean | null | undefined; currentHomeAddress?: EmployeeHomeAddress | undefined; allHomeAddresses?: Array | undefined; additionalProperties?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const OnboardingStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OnboardingDocumentsConfig$inboundSchema: z.ZodType; export declare function onboardingDocumentsConfigFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PaymentMethod$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CurrentEmploymentStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ShowEmployeesStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MemberPortalInvitationStatus$inboundSchema: z.ZodType; export declare function memberPortalInvitationStatusFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ShowEmployees$inboundSchema: z.ZodType; export declare function showEmployeesFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=showemployees.d.ts.map