import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Time off request status to filter on */ export declare const TimeOffRequestStatus: { readonly Requested: "requested"; readonly Approved: "approved"; readonly Declined: "declined"; readonly Cancelled: "cancelled"; readonly Deleted: "deleted"; readonly Other: "other"; }; /** * Time off request status to filter on */ export type TimeOffRequestStatus = ClosedEnum; export type TimeOffRequestsFilter = { /** * Start date */ startDate?: string | undefined; /** * End date */ endDate?: string | undefined; /** * Minimum date the time off request was last created or modified */ updatedSince?: string | undefined; /** * Employee ID */ employeeId?: string | undefined; /** * Time off request status to filter on */ timeOffRequestStatus?: TimeOffRequestStatus | undefined; /** * Company ID */ companyId?: string | undefined; }; /** @internal */ export declare const TimeOffRequestStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TimeOffRequestStatus$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace TimeOffRequestStatus$ { /** @deprecated use `TimeOffRequestStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Requested: "requested"; readonly Approved: "approved"; readonly Declined: "declined"; readonly Cancelled: "cancelled"; readonly Deleted: "deleted"; readonly Other: "other"; }>; /** @deprecated use `TimeOffRequestStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Requested: "requested"; readonly Approved: "approved"; readonly Declined: "declined"; readonly Cancelled: "cancelled"; readonly Deleted: "deleted"; readonly Other: "other"; }>; } /** @internal */ export declare const TimeOffRequestsFilter$inboundSchema: z.ZodType; /** @internal */ export type TimeOffRequestsFilter$Outbound = { start_date?: string | undefined; end_date?: string | undefined; updated_since?: string | undefined; employee_id?: string | undefined; time_off_request_status?: string | undefined; company_id?: string | undefined; }; /** @internal */ export declare const TimeOffRequestsFilter$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace TimeOffRequestsFilter$ { /** @deprecated use `TimeOffRequestsFilter$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TimeOffRequestsFilter$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TimeOffRequestsFilter$Outbound` instead. */ type Outbound = TimeOffRequestsFilter$Outbound; } export declare function timeOffRequestsFilterToJSON(timeOffRequestsFilter: TimeOffRequestsFilter): string; export declare function timeOffRequestsFilterFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=timeoffrequestsfilter.d.ts.map