import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * Filter parameters that allow greater customisation of the list response
 */
export type AtsListDepartmentsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type AtsListDepartmentsRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    /**
     * Filter parameters that allow greater customisation of the list response
     */
    filter?: AtsListDepartmentsQueryParamFilter | null | undefined;
    /**
     * The unified cursor
     */
    next?: string | null | undefined;
    /**
     * The page number of the results to fetch
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    page?: string | null | undefined;
    /**
     * The number of results per page (default value is 25)
     */
    pageSize?: string | null | undefined;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    /**
     * The sync token to select the only updated results
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    syncToken?: string | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    updatedAfter?: string | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type AtsListDepartmentsResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The list of departments was retrieved.
     */
    departmentsPaginated?: shared.DepartmentsPaginated | undefined;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const AtsListDepartmentsQueryParamFilter$inboundSchema: z.ZodType<AtsListDepartmentsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListDepartmentsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AtsListDepartmentsQueryParamFilter$outboundSchema: z.ZodType<AtsListDepartmentsQueryParamFilter$Outbound, z.ZodTypeDef, AtsListDepartmentsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListDepartmentsQueryParamFilter$ {
    /** @deprecated use `AtsListDepartmentsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListDepartmentsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListDepartmentsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListDepartmentsQueryParamFilter$Outbound, z.ZodTypeDef, AtsListDepartmentsQueryParamFilter>;
    /** @deprecated use `AtsListDepartmentsQueryParamFilter$Outbound` instead. */
    type Outbound = AtsListDepartmentsQueryParamFilter$Outbound;
}
export declare function atsListDepartmentsQueryParamFilterToJSON(atsListDepartmentsQueryParamFilter: AtsListDepartmentsQueryParamFilter): string;
export declare function atsListDepartmentsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AtsListDepartmentsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AtsListDepartmentsRequest$inboundSchema: z.ZodType<AtsListDepartmentsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListDepartmentsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AtsListDepartmentsQueryParamFilter$Outbound | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size?: string | null | undefined;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    sync_token?: string | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const AtsListDepartmentsRequest$outboundSchema: z.ZodType<AtsListDepartmentsRequest$Outbound, z.ZodTypeDef, AtsListDepartmentsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListDepartmentsRequest$ {
    /** @deprecated use `AtsListDepartmentsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListDepartmentsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListDepartmentsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListDepartmentsRequest$Outbound, z.ZodTypeDef, AtsListDepartmentsRequest>;
    /** @deprecated use `AtsListDepartmentsRequest$Outbound` instead. */
    type Outbound = AtsListDepartmentsRequest$Outbound;
}
export declare function atsListDepartmentsRequestToJSON(atsListDepartmentsRequest: AtsListDepartmentsRequest): string;
export declare function atsListDepartmentsRequestFromJSON(jsonString: string): SafeParseResult<AtsListDepartmentsRequest, SDKValidationError>;
/** @internal */
export declare const AtsListDepartmentsResponse$inboundSchema: z.ZodType<AtsListDepartmentsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListDepartmentsResponse$Outbound = {
    ContentType: string;
    DepartmentsPaginated?: shared.DepartmentsPaginated$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AtsListDepartmentsResponse$outboundSchema: z.ZodType<AtsListDepartmentsResponse$Outbound, z.ZodTypeDef, AtsListDepartmentsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListDepartmentsResponse$ {
    /** @deprecated use `AtsListDepartmentsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListDepartmentsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListDepartmentsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListDepartmentsResponse$Outbound, z.ZodTypeDef, AtsListDepartmentsResponse>;
    /** @deprecated use `AtsListDepartmentsResponse$Outbound` instead. */
    type Outbound = AtsListDepartmentsResponse$Outbound;
}
export declare function atsListDepartmentsResponseToJSON(atsListDepartmentsResponse: AtsListDepartmentsResponse): string;
export declare function atsListDepartmentsResponseFromJSON(jsonString: string): SafeParseResult<AtsListDepartmentsResponse, SDKValidationError>;
//# sourceMappingURL=atslistdepartments.d.ts.map