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 type EmployeeOnboardingStatusOnboardingStep = { /** * User-friendly description of the onboarding step. */ title?: string | undefined; /** * String identifier for the onboarding step. */ id?: string | undefined; /** * When true, this step is required. */ required?: boolean | undefined; /** * When true, this step has been completed. */ completed?: boolean | undefined; /** * A list of onboarding steps required to begin this step. */ requirements?: Array | undefined; }; /** * The employee field affected. */ export declare const Field: { readonly Ssn: "ssn"; }; /** * The employee field affected. */ export type Field = ClosedEnum; /** * Category of the blocker. See the array-level description for resolution guidance. */ export declare const EmployeeOnboardingStatusCategory: { readonly DuplicateValue: "duplicate_value"; }; /** * Category of the blocker. See the array-level description for resolution guidance. */ export type EmployeeOnboardingStatusCategory = ClosedEnum; export type Blockers = { /** * The employee field affected. */ field?: Field | undefined; /** * Category of the blocker. See the array-level description for resolution guidance. */ category?: EmployeeOnboardingStatusCategory | undefined; /** * Human-readable description of the blocker. */ message?: string | undefined; }; /** * The representation of an employee's onboarding status. */ export type EmployeeOnboardingStatus = { /** * Unique identifier for this employee. */ uuid: string; /** * One of the "onboarding_status" enum values. */ onboardingStatus?: string | undefined; /** * List of steps required to onboard an employee. */ onboardingSteps?: Array | undefined; /** * Validation issues that should be resolved before this employee's onboarding is complete. Each entry identifies an affected field, a category describing the type of problem, and a human-readable message. * * @remarks * * Supported categories: * * - `duplicate_value`: Another employee in the same company already has this value. To resolve, cancel this onboarding and initiate a rehire if it's a returning employee, or contact support to investigate the conflict. * * This list may grow over time as new validation rules are added. */ blockers?: Array | undefined; }; /** @internal */ export declare const EmployeeOnboardingStatusOnboardingStep$inboundSchema: z.ZodType; export declare function employeeOnboardingStatusOnboardingStepFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Field$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EmployeeOnboardingStatusCategory$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Blockers$inboundSchema: z.ZodType; export declare function blockersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EmployeeOnboardingStatus$inboundSchema: z.ZodType; export declare function employeeOnboardingStatusFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=employeeonboardingstatus.d.ts.map