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 Filter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type AtsGetApplicationCustomFieldDefinitionRequest = {
    /**
     * 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?: Filter | 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 AtsGetApplicationCustomFieldDefinitionResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The application 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 Filter$inboundSchema: z.ZodType<Filter, z.ZodTypeDef, unknown>;
/** @internal */
export type Filter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const Filter$outboundSchema: z.ZodType<Filter$Outbound, z.ZodTypeDef, Filter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Filter$ {
    /** @deprecated use `Filter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Filter, z.ZodTypeDef, unknown>;
    /** @deprecated use `Filter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Filter$Outbound, z.ZodTypeDef, Filter>;
    /** @deprecated use `Filter$Outbound` instead. */
    type Outbound = Filter$Outbound;
}
export declare function filterToJSON(filter: Filter): string;
export declare function filterFromJSON(jsonString: string): SafeParseResult<Filter, SDKValidationError>;
/** @internal */
export declare const AtsGetApplicationCustomFieldDefinitionRequest$inboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsGetApplicationCustomFieldDefinitionRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: Filter$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 AtsGetApplicationCustomFieldDefinitionRequest$outboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionRequest$Outbound, z.ZodTypeDef, AtsGetApplicationCustomFieldDefinitionRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsGetApplicationCustomFieldDefinitionRequest$ {
    /** @deprecated use `AtsGetApplicationCustomFieldDefinitionRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsGetApplicationCustomFieldDefinitionRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionRequest$Outbound, z.ZodTypeDef, AtsGetApplicationCustomFieldDefinitionRequest>;
    /** @deprecated use `AtsGetApplicationCustomFieldDefinitionRequest$Outbound` instead. */
    type Outbound = AtsGetApplicationCustomFieldDefinitionRequest$Outbound;
}
export declare function atsGetApplicationCustomFieldDefinitionRequestToJSON(atsGetApplicationCustomFieldDefinitionRequest: AtsGetApplicationCustomFieldDefinitionRequest): string;
export declare function atsGetApplicationCustomFieldDefinitionRequestFromJSON(jsonString: string): SafeParseResult<AtsGetApplicationCustomFieldDefinitionRequest, SDKValidationError>;
/** @internal */
export declare const AtsGetApplicationCustomFieldDefinitionResponse$inboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsGetApplicationCustomFieldDefinitionResponse$Outbound = {
    ContentType: string;
    CustomFieldDefinitionResultApiModel?: shared.CustomFieldDefinitionResultApiModel$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AtsGetApplicationCustomFieldDefinitionResponse$outboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionResponse$Outbound, z.ZodTypeDef, AtsGetApplicationCustomFieldDefinitionResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsGetApplicationCustomFieldDefinitionResponse$ {
    /** @deprecated use `AtsGetApplicationCustomFieldDefinitionResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsGetApplicationCustomFieldDefinitionResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsGetApplicationCustomFieldDefinitionResponse$Outbound, z.ZodTypeDef, AtsGetApplicationCustomFieldDefinitionResponse>;
    /** @deprecated use `AtsGetApplicationCustomFieldDefinitionResponse$Outbound` instead. */
    type Outbound = AtsGetApplicationCustomFieldDefinitionResponse$Outbound;
}
export declare function atsGetApplicationCustomFieldDefinitionResponseToJSON(atsGetApplicationCustomFieldDefinitionResponse: AtsGetApplicationCustomFieldDefinitionResponse): string;
export declare function atsGetApplicationCustomFieldDefinitionResponseFromJSON(jsonString: string): SafeParseResult<AtsGetApplicationCustomFieldDefinitionResponse, SDKValidationError>;
//# sourceMappingURL=atsgetapplicationcustomfielddefinition.d.ts.map