import { APIResource } from "../core/resource.mjs"; import { PageCursorURL, PagePromise } from "../core/pagination.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; /** * Someone who applies to a job requisition opened by the company */ export declare class Candidates extends APIResource { /** * A list of candidates. * * - Requires: `API Tier 2` * - Sortable fields: `id`, `created_at`, `updated_at` */ list(query?: CandidateListParams | null | undefined, options?: RequestOptions): PagePromise; } export type CandidateListResponsesPageCursorURL = PageCursorURL; export interface CandidateListResponse { /** * Identifier field */ id: string; /** * Record creation date */ created_at: string; /** * Record update date */ updated_at: string; /** * Candidate email */ email?: string; /** * Candidate first name */ first_name?: string; /** * Candidate last name */ last_name?: string; /** * Candidate phone number */ phone_number?: string; /** * Candidate timezone */ timezone?: string; } export interface CandidateListParams { cursor?: string; order_by?: string; } export declare namespace Candidates { export { type CandidateListResponse as CandidateListResponse, type CandidateListResponsesPageCursorURL as CandidateListResponsesPageCursorURL, type CandidateListParams as CandidateListParams, }; } //# sourceMappingURL=candidates.d.mts.map