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 QueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type AtsGetCandidateCustomFieldDefinitionRequest = {
    /**
     * 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?: QueryParamFilter | null | undefined;
    id: string;
    /**
     * 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
     */
    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 is returned
     */
    raw?: boolean | 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 AtsGetCandidateCustomFieldDefinitionResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The candidate custom field definition was retrieved.
     */
    customFieldDefinitionResultApiModel?: shared.CustomFieldDefinitionResultApiModel | 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 QueryParamFilter$inboundSchema: z.ZodType<QueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type QueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const QueryParamFilter$outboundSchema: z.ZodType<QueryParamFilter$Outbound, z.ZodTypeDef, QueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace QueryParamFilter$ {
    /** @deprecated use `QueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<QueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `QueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<QueryParamFilter$Outbound, z.ZodTypeDef, QueryParamFilter>;
    /** @deprecated use `QueryParamFilter$Outbound` instead. */
    type Outbound = QueryParamFilter$Outbound;
}
export declare function queryParamFilterToJSON(queryParamFilter: QueryParamFilter): string;
export declare function queryParamFilterFromJSON(jsonString: string): SafeParseResult<QueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AtsGetCandidateCustomFieldDefinitionRequest$inboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsGetCandidateCustomFieldDefinitionRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: QueryParamFilter$Outbound | null | undefined;
    id: string;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size: string | null;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw: boolean | null;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const AtsGetCandidateCustomFieldDefinitionRequest$outboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionRequest$Outbound, z.ZodTypeDef, AtsGetCandidateCustomFieldDefinitionRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsGetCandidateCustomFieldDefinitionRequest$ {
    /** @deprecated use `AtsGetCandidateCustomFieldDefinitionRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsGetCandidateCustomFieldDefinitionRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionRequest$Outbound, z.ZodTypeDef, AtsGetCandidateCustomFieldDefinitionRequest>;
    /** @deprecated use `AtsGetCandidateCustomFieldDefinitionRequest$Outbound` instead. */
    type Outbound = AtsGetCandidateCustomFieldDefinitionRequest$Outbound;
}
export declare function atsGetCandidateCustomFieldDefinitionRequestToJSON(atsGetCandidateCustomFieldDefinitionRequest: AtsGetCandidateCustomFieldDefinitionRequest): string;
export declare function atsGetCandidateCustomFieldDefinitionRequestFromJSON(jsonString: string): SafeParseResult<AtsGetCandidateCustomFieldDefinitionRequest, SDKValidationError>;
/** @internal */
export declare const AtsGetCandidateCustomFieldDefinitionResponse$inboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsGetCandidateCustomFieldDefinitionResponse$Outbound = {
    ContentType: string;
    CustomFieldDefinitionResultApiModel?: shared.CustomFieldDefinitionResultApiModel$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AtsGetCandidateCustomFieldDefinitionResponse$outboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionResponse$Outbound, z.ZodTypeDef, AtsGetCandidateCustomFieldDefinitionResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsGetCandidateCustomFieldDefinitionResponse$ {
    /** @deprecated use `AtsGetCandidateCustomFieldDefinitionResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsGetCandidateCustomFieldDefinitionResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsGetCandidateCustomFieldDefinitionResponse$Outbound, z.ZodTypeDef, AtsGetCandidateCustomFieldDefinitionResponse>;
    /** @deprecated use `AtsGetCandidateCustomFieldDefinitionResponse$Outbound` instead. */
    type Outbound = AtsGetCandidateCustomFieldDefinitionResponse$Outbound;
}
export declare function atsGetCandidateCustomFieldDefinitionResponseToJSON(atsGetCandidateCustomFieldDefinitionResponse: AtsGetCandidateCustomFieldDefinitionResponse): string;
export declare function atsGetCandidateCustomFieldDefinitionResponseFromJSON(jsonString: string): SafeParseResult<AtsGetCandidateCustomFieldDefinitionResponse, SDKValidationError>;
//# sourceMappingURL=atsgetcandidatecustomfielddefinition.d.ts.map