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 { DepartmentCreateRequestBody, DepartmentCreateRequestBody$Outbound } from "../components/departmentcreaterequestbody.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 PostDepartmentsHeaderXGustoAPIVersion: { 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 PostDepartmentsHeaderXGustoAPIVersion = ClosedEnum; export type PostDepartmentsRequest = { /** * The UUID of the company */ companyUuid: 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?: PostDepartmentsHeaderXGustoAPIVersion | undefined; departmentCreateRequestBody: DepartmentCreateRequestBody; }; export type PostDepartmentsResponse = { httpMeta: HTTPMetadata; /** * Created */ department?: Department | undefined; }; /** @internal */ export declare const PostDepartmentsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PostDepartmentsRequest$Outbound = { company_uuid: string; "X-Gusto-API-Version": string; "Department-Create-Request-Body": DepartmentCreateRequestBody$Outbound; }; /** @internal */ export declare const PostDepartmentsRequest$outboundSchema: z.ZodType; export declare function postDepartmentsRequestToJSON(postDepartmentsRequest: PostDepartmentsRequest): string; /** @internal */ export declare const PostDepartmentsResponse$inboundSchema: z.ZodType; export declare function postDepartmentsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postdepartments.d.ts.map