import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { AtsDocumentsUploadRequestDto, AtsDocumentsUploadRequestDto$Outbound } from "./atsdocumentsuploadrequestdto.js";
import { CreateQuestionnaire, CreateQuestionnaire$Outbound } from "./createquestionnaire.js";
import { CustomFields, CustomFields$Outbound } from "./customfields.js";
import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js";
import { SocialLink, SocialLink$Outbound } from "./sociallink.js";
export type AtsCreateApplicationRequestDto4 = {};
/**
 * The source value of the application status.
 */
export type AtsCreateApplicationRequestDtoSourceValue = string | number | boolean | AtsCreateApplicationRequestDto4 | Array<any>;
/**
 * The status of the application.
 */
export declare enum AtsCreateApplicationRequestDtoValue {
    Active = "active",
    Assessment = "assessment",
    BackgroundCheck = "background_check",
    Converted = "converted",
    DeclinedByCandidate = "declined_by_candidate",
    Hired = "hired",
    Interview = "interview",
    Lead = "lead",
    Offer = "offer",
    ReferenceCheck = "reference_check",
    Rejected = "rejected",
    Review = "review",
    Screen = "screen",
    New = "new",
    Onboarding = "onboarding",
    Created = "created",
    Accepted = "accepted",
    ShortList = "short_list",
    Approved = "approved",
    UnmappedValue = "unmapped_value"
}
/**
 * The status of the application.
 */
export type AtsCreateApplicationRequestDtoValueOpen = OpenEnum<typeof AtsCreateApplicationRequestDtoValue>;
export type AtsCreateApplicationRequestDtoApplicationStatus = {
    /**
     * The source value of the application status.
     */
    sourceValue?: string | number | boolean | AtsCreateApplicationRequestDto4 | Array<any> | null | undefined;
    /**
     * The status of the application.
     */
    value?: AtsCreateApplicationRequestDtoValueOpen | null | undefined;
};
/**
 * Candidate Properties. Provide this OR candidate_id, but not both. Providing this attempts to create a new candidate with the application.
 */
export type AtsCreateApplicationRequestDtoCandidate = {
    /**
     * Candidate company
     */
    company?: string | null | undefined;
    /**
     * Candidate country
     */
    country?: string | null | undefined;
    /**
     * The candidate custom fields
     */
    customFields?: Array<CustomFields> | null | undefined;
    /**
     * Candidate email
     */
    email?: string | null | undefined;
    /**
     * Candidate first name
     */
    firstName?: string | null | undefined;
    /**
     * Candidate hired date
     */
    hiredAt?: Date | null | undefined;
    /**
     * Candidate last name
     */
    lastName?: string | null | undefined;
    /**
     * Candidate name
     */
    name?: string | null | undefined;
    /**
     * Value to pass through to the provider
     */
    passthrough?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * The candidate personal phone number
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    phoneNumber?: string | null | undefined;
    /**
     * List of candidate phone numbers including the type of the number when available
     */
    phoneNumbers?: Array<PhoneNumber> | null | undefined;
    /**
     * List of candidate social links
     */
    socialLinks?: Array<SocialLink> | null | undefined;
    /**
     * Candidate title
     */
    title?: string | null | undefined;
    /**
     * Custom Unified Fields configured in your StackOne project
     */
    unifiedCustomFields?: {
        [k: string]: any;
    } | null | undefined;
};
export type AtsCreateApplicationRequestDtoSource = {
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * The source of the application
     */
    name?: string | null | undefined;
};
export type AtsCreateApplicationRequestDto = {
    applicationStatus?: AtsCreateApplicationRequestDtoApplicationStatus | null | undefined;
    /**
     * Candidate Properties. Provide this OR candidate_id, but not both. Providing this attempts to create a new candidate with the application.
     */
    candidate?: AtsCreateApplicationRequestDtoCandidate | null | undefined;
    /**
     * Unique identifier of the candidate. Provide this OR candidate, but not both.
     */
    candidateId?: string | null | undefined;
    /**
     * Document Properties. Providing this attempts to upload files with the application.
     */
    documents?: Array<AtsDocumentsUploadRequestDto> | null | undefined;
    /**
     * Unique identifier of the job
     */
    jobId?: string | null | undefined;
    /**
     * Unique identifier of the job posting that is associated with application
     */
    jobPostingId?: string | null | undefined;
    /**
     * Unique identifier of the location
     */
    locationId?: string | null | undefined;
    /**
     * Value to pass through to the provider
     */
    passthrough?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Questionnaires associated with the application
     */
    questionnaires?: Array<CreateQuestionnaire> | null | undefined;
    source?: AtsCreateApplicationRequestDtoSource | null | undefined;
};
/** @internal */
export type AtsCreateApplicationRequestDto4$Outbound = {};
/** @internal */
export declare const AtsCreateApplicationRequestDto4$outboundSchema: z.ZodType<AtsCreateApplicationRequestDto4$Outbound, z.ZodTypeDef, AtsCreateApplicationRequestDto4>;
export declare function atsCreateApplicationRequestDto4ToJSON(atsCreateApplicationRequestDto4: AtsCreateApplicationRequestDto4): string;
/** @internal */
export type AtsCreateApplicationRequestDtoSourceValue$Outbound = string | number | boolean | AtsCreateApplicationRequestDto4$Outbound | Array<any>;
/** @internal */
export declare const AtsCreateApplicationRequestDtoSourceValue$outboundSchema: z.ZodType<AtsCreateApplicationRequestDtoSourceValue$Outbound, z.ZodTypeDef, AtsCreateApplicationRequestDtoSourceValue>;
export declare function atsCreateApplicationRequestDtoSourceValueToJSON(atsCreateApplicationRequestDtoSourceValue: AtsCreateApplicationRequestDtoSourceValue): string;
/** @internal */
export declare const AtsCreateApplicationRequestDtoValue$outboundSchema: z.ZodType<string, z.ZodTypeDef, AtsCreateApplicationRequestDtoValueOpen>;
/** @internal */
export type AtsCreateApplicationRequestDtoApplicationStatus$Outbound = {
    source_value?: string | number | boolean | AtsCreateApplicationRequestDto4$Outbound | Array<any> | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const AtsCreateApplicationRequestDtoApplicationStatus$outboundSchema: z.ZodType<AtsCreateApplicationRequestDtoApplicationStatus$Outbound, z.ZodTypeDef, AtsCreateApplicationRequestDtoApplicationStatus>;
export declare function atsCreateApplicationRequestDtoApplicationStatusToJSON(atsCreateApplicationRequestDtoApplicationStatus: AtsCreateApplicationRequestDtoApplicationStatus): string;
/** @internal */
export type AtsCreateApplicationRequestDtoCandidate$Outbound = {
    company?: string | null | undefined;
    country?: string | null | undefined;
    custom_fields?: Array<CustomFields$Outbound> | null | undefined;
    email?: string | null | undefined;
    first_name?: string | null | undefined;
    hired_at?: string | null | undefined;
    last_name?: string | null | undefined;
    name?: string | null | undefined;
    passthrough?: {
        [k: string]: any;
    } | null | undefined;
    phone_number?: string | null | undefined;
    phone_numbers?: Array<PhoneNumber$Outbound> | null | undefined;
    social_links?: Array<SocialLink$Outbound> | null | undefined;
    title?: string | null | undefined;
    unified_custom_fields?: {
        [k: string]: any;
    } | null | undefined;
};
/** @internal */
export declare const AtsCreateApplicationRequestDtoCandidate$outboundSchema: z.ZodType<AtsCreateApplicationRequestDtoCandidate$Outbound, z.ZodTypeDef, AtsCreateApplicationRequestDtoCandidate>;
export declare function atsCreateApplicationRequestDtoCandidateToJSON(atsCreateApplicationRequestDtoCandidate: AtsCreateApplicationRequestDtoCandidate): string;
/** @internal */
export type AtsCreateApplicationRequestDtoSource$Outbound = {
    id?: string | null | undefined;
    name?: string | null | undefined;
};
/** @internal */
export declare const AtsCreateApplicationRequestDtoSource$outboundSchema: z.ZodType<AtsCreateApplicationRequestDtoSource$Outbound, z.ZodTypeDef, AtsCreateApplicationRequestDtoSource>;
export declare function atsCreateApplicationRequestDtoSourceToJSON(atsCreateApplicationRequestDtoSource: AtsCreateApplicationRequestDtoSource): string;
/** @internal */
export type AtsCreateApplicationRequestDto$Outbound = {
    application_status?: AtsCreateApplicationRequestDtoApplicationStatus$Outbound | null | undefined;
    candidate?: AtsCreateApplicationRequestDtoCandidate$Outbound | null | undefined;
    candidate_id?: string | null | undefined;
    documents?: Array<AtsDocumentsUploadRequestDto$Outbound> | null | undefined;
    job_id?: string | null | undefined;
    job_posting_id?: string | null | undefined;
    location_id?: string | null | undefined;
    passthrough?: {
        [k: string]: any;
    } | null | undefined;
    questionnaires?: Array<CreateQuestionnaire$Outbound> | null | undefined;
    source?: AtsCreateApplicationRequestDtoSource$Outbound | null | undefined;
};
/** @internal */
export declare const AtsCreateApplicationRequestDto$outboundSchema: z.ZodType<AtsCreateApplicationRequestDto$Outbound, z.ZodTypeDef, AtsCreateApplicationRequestDto>;
export declare function atsCreateApplicationRequestDtoToJSON(atsCreateApplicationRequestDto: AtsCreateApplicationRequestDto): string;
//# sourceMappingURL=atscreateapplicationrequestdto.d.ts.map