import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Department } from "../components/department.js"; import { HTTPMetadata } from "../components/httpmetadata.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export declare const GetDepartmentHeaderXGustoAPIVersion: { readonly TwoThousandAndTwentyFiveMinus06Minus15: "2025-06-15"; }; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export type GetDepartmentHeaderXGustoAPIVersion = ClosedEnum; export type GetDepartmentRequest = { /** * The UUID of the department */ departmentUuid: string; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ xGustoAPIVersion?: GetDepartmentHeaderXGustoAPIVersion | undefined; }; export type GetDepartmentResponse = { httpMeta: HTTPMetadata; /** * Success */ department?: Department | undefined; }; /** @internal */ export declare const GetDepartmentHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GetDepartmentRequest$Outbound = { department_uuid: string; "X-Gusto-API-Version": string; }; /** @internal */ export declare const GetDepartmentRequest$outboundSchema: z.ZodType; export declare function getDepartmentRequestToJSON(getDepartmentRequest: GetDepartmentRequest): string; /** @internal */ export declare const GetDepartmentResponse$inboundSchema: z.ZodType; export declare function getDepartmentResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getdepartment.d.ts.map