import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; export type Department = { /** * A unique identifier for an object. */ id?: string | undefined; /** * Parent ID */ parentId?: string | null | undefined; /** * Department name */ name?: string | null | undefined; code?: string | null | undefined; description?: string | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: CustomMappings | null | undefined; /** * The user who last updated the object. */ updatedBy?: string | null | undefined; /** * The user who created the object. */ createdBy?: string | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const Department$inboundSchema: z.ZodType; /** @internal */ export type Department$Outbound = { id?: string | undefined; parent_id?: string | null | undefined; name?: string | null | undefined; code?: string | null | undefined; description?: string | null | undefined; custom_mappings?: CustomMappings$Outbound | null | undefined; updated_by?: string | null | undefined; created_by?: string | null | undefined; updated_at?: string | null | undefined; created_at?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const Department$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 Department$ { /** @deprecated use `Department$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Department$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Department$Outbound` instead. */ type Outbound = Department$Outbound; } export declare function departmentToJSON(department: Department): string; export declare function departmentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=department.d.ts.map