import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Preview of the balance impact for a time off request before it is created or updated. */ export type EmbeddedTimeOffRequestPreview = { /** * The employee's current available balance hours for this policy. Null for unlimited policies. */ balanceHours: string | null; /** * The total hours for this time off request. */ thisRequestHours: string; /** * Hours from other pending or approved requests for this policy. */ otherRequestedHours: string; /** * The projected balance after this request is applied. Null for unlimited policies. */ remainingBalanceHours: string | null; /** * Whether the time off policy allows a negative balance. */ allowNegativeBalance: boolean; /** * Whether the time off policy provides unlimited time off. */ unlimited: boolean; }; /** @internal */ export declare const EmbeddedTimeOffRequestPreview$inboundSchema: z.ZodType; export declare function embeddedTimeOffRequestPreviewFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=embeddedtimeoffrequestpreview.d.ts.map