import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js";
import { SubsidiaryReference } from "./subsidiaryreference.js";
import { SubsidiaryReferenceInput, SubsidiaryReferenceInput$Outbound } from "./subsidiaryreferenceinput.js";
/**
 * Based on the status some functionality is enabled or disabled.
 */
export declare const DepartmentStatus: {
    readonly Active: "active";
    readonly Inactive: "inactive";
};
/**
 * Based on the status some functionality is enabled or disabled.
 */
export type DepartmentStatus = ClosedEnum<typeof DepartmentStatus>;
export type AccountingDepartment = {
    /**
     * A unique identifier for an object.
     */
    id?: string | undefined;
    /**
     * A unique identifier for an object.
     */
    parentId?: string | null | undefined;
    /**
     * The name of the department.
     */
    name?: string | null | undefined;
    /**
     * Based on the status some functionality is enabled or disabled.
     */
    status?: DepartmentStatus | undefined;
    subsidiaries?: Array<SubsidiaryReference> | undefined;
    /**
     * The code of the department.
     */
    code?: string | undefined;
    /**
     * When custom mappings are configured on the resource, the result is included here.
     */
    customMappings?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
     */
    rowVersion?: string | 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<PassThroughBody> | undefined;
};
export type AccountingDepartmentInput = {
    /**
     * A unique identifier for an object.
     */
    parentId?: string | null | undefined;
    /**
     * The name of the department.
     */
    name?: string | null | undefined;
    /**
     * Based on the status some functionality is enabled or disabled.
     */
    status?: DepartmentStatus | undefined;
    subsidiaries?: Array<SubsidiaryReferenceInput> | undefined;
    /**
     * The code of the department.
     */
    code?: string | undefined;
    /**
     * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
     */
    rowVersion?: string | 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<PassThroughBody> | undefined;
};
/** @internal */
export declare const DepartmentStatus$inboundSchema: z.ZodNativeEnum<typeof DepartmentStatus>;
/** @internal */
export declare const DepartmentStatus$outboundSchema: z.ZodNativeEnum<typeof DepartmentStatus>;
/** @internal */
export declare const AccountingDepartment$inboundSchema: z.ZodType<AccountingDepartment, z.ZodTypeDef, unknown>;
export declare function accountingDepartmentFromJSON(jsonString: string): SafeParseResult<AccountingDepartment, SDKValidationError>;
/** @internal */
export type AccountingDepartmentInput$Outbound = {
    parent_id?: string | null | undefined;
    name?: string | null | undefined;
    status?: string | undefined;
    subsidiaries?: Array<SubsidiaryReferenceInput$Outbound> | undefined;
    code?: string | undefined;
    row_version?: string | null | undefined;
    pass_through?: Array<PassThroughBody$Outbound> | undefined;
};
/** @internal */
export declare const AccountingDepartmentInput$outboundSchema: z.ZodType<AccountingDepartmentInput$Outbound, z.ZodTypeDef, AccountingDepartmentInput>;
export declare function accountingDepartmentInputToJSON(accountingDepartmentInput: AccountingDepartmentInput): string;
//# sourceMappingURL=accountingdepartment.d.ts.map