import { CredentialType } from '@bubblelab/shared-schemas'; import { ServiceBubble } from '../../../types/service-bubble-class.js'; import type { BubbleContext } from '../../../types/bubble.js'; import { type AshbyParamsInput, type AshbyResult } from './ashby.schema.js'; /** * AshbyBubble - Integration with Ashby ATS (Applicant Tracking System) * * Provides operations for managing candidates in Ashby: * - List candidates with filtering * - Get candidate details * - Create new candidates * - Search candidates by email or name * - Add tags to candidates * * @example * ```typescript * // List all active candidates * const result = await new AshbyBubble({ * operation: 'list_candidates', * status: 'Active', * limit: 50, * }).action(); * * // Get a specific candidate * const candidate = await new AshbyBubble({ * operation: 'get_candidate', * candidate_id: 'abc123-uuid', * }).action(); * * // Create a new candidate (Personal email becomes primary) * const newCandidate = await new AshbyBubble({ * operation: 'create_candidate', * name: 'John Doe', * emails: [ * { email: 'john.work@company.com', type: 'Work' }, * { email: 'john.doe@example.com', type: 'Personal' }, // This becomes primary * ], * }).action(); * ``` */ export declare class AshbyBubble extends ServiceBubble> { static readonly service = "ashby"; static readonly authType: "basic"; static readonly bubbleName: "ashby"; static readonly type: "service"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_candidates">; limit: import("zod").ZodDefault>; cursor: import("zod").ZodOptional; status: import("zod").ZodOptional>; job_id: import("zod").ZodOptional; created_after: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_candidates"; limit: number; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial> | undefined; cursor?: string | undefined; created_after?: number | undefined; job_id?: string | undefined; }, { operation: "list_candidates"; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; created_after?: number | undefined; job_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_candidate">; candidate_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_candidate"; candidate_id: string; credentials?: Partial> | undefined; }, { operation: "get_candidate"; candidate_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_candidate">; name: import("zod").ZodString; emails: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { type: "Personal" | "Work" | "Other"; email: string; }, { type: "Personal" | "Work" | "Other"; email: string; }>, "many">>; phone_number: import("zod").ZodOptional; linkedin_url: import("zod").ZodOptional; github_url: import("zod").ZodOptional; website: import("zod").ZodOptional; source_id: import("zod").ZodOptional; credited_to_user_id: import("zod").ZodOptional; tag: import("zod").ZodOptional; allow_duplicate_linkedin: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { name: string; operation: "create_candidate"; allow_duplicate_linkedin: boolean; credentials?: Partial> | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; website?: string | undefined; tag?: string | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; }, { name: string; operation: "create_candidate"; credentials?: Partial> | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; website?: string | undefined; tag?: string | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; allow_duplicate_linkedin?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search_candidates">; email: import("zod").ZodOptional; name: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial> | undefined; email?: string | undefined; }, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial> | undefined; email?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_tag">; candidate_id: import("zod").ZodString; tag_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial> | undefined; }, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tags">; include_archived: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_tags"; include_archived: boolean; credentials?: Partial> | undefined; }, { operation: "list_tags"; credentials?: Partial> | undefined; include_archived?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_tag">; title: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { title: string; operation: "create_tag"; credentials?: Partial> | undefined; }, { title: string; operation: "create_tag"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_custom_fields">; limit: import("zod").ZodDefault>; cursor: import("zod").ZodOptional; sync_token: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_custom_fields"; limit: number; credentials?: Partial> | undefined; cursor?: string | undefined; sync_token?: string | undefined; }, { operation: "list_custom_fields"; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; sync_token?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_jobs">; limit: import("zod").ZodDefault>; cursor: import("zod").ZodOptional; status: import("zod").ZodOptional>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_jobs"; limit: number; status?: "Archived" | "Open" | "Closed" | "Draft" | undefined; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "list_jobs"; status?: "Archived" | "Open" | "Closed" | "Draft" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_job">; job_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_job"; job_id: string; credentials?: Partial> | undefined; }, { operation: "get_job"; job_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_applications">; candidate_id: import("zod").ZodOptional; job_id: import("zod").ZodOptional; status: import("zod").ZodOptional>; limit: import("zod").ZodDefault>; cursor: import("zod").ZodOptional; created_after: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_applications"; limit: number; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial> | undefined; cursor?: string | undefined; created_after?: number | undefined; job_id?: string | undefined; candidate_id?: string | undefined; }, { operation: "list_applications"; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; created_after?: number | undefined; job_id?: string | undefined; candidate_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_application">; application_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_application"; application_id: string; credentials?: Partial> | undefined; }, { operation: "get_application"; application_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_application">; candidate_id: import("zod").ZodString; job_id: import("zod").ZodString; interview_stage_id: import("zod").ZodOptional; source_id: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "create_application"; job_id: string; candidate_id: string; credentials?: Partial> | undefined; source_id?: string | undefined; interview_stage_id?: string | undefined; }, { operation: "create_application"; job_id: string; candidate_id: string; credentials?: Partial> | undefined; source_id?: string | undefined; interview_stage_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"change_application_stage">; application_id: import("zod").ZodString; interview_stage_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "change_application_stage"; application_id: string; interview_stage_id: string; credentials?: Partial> | undefined; }, { operation: "change_application_stage"; application_id: string; interview_stage_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_candidate">; candidate_id: import("zod").ZodString; name: import("zod").ZodOptional; email: import("zod").ZodOptional; phone_number: import("zod").ZodOptional; linkedin_url: import("zod").ZodOptional; github_url: import("zod").ZodOptional; website: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "update_candidate"; candidate_id: string; name?: string | undefined; credentials?: Partial> | undefined; email?: string | undefined; website?: string | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; }, { operation: "update_candidate"; candidate_id: string; name?: string | undefined; credentials?: Partial> | undefined; email?: string | undefined; website?: string | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_note">; candidate_id: import("zod").ZodString; content: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { content: string; operation: "create_note"; candidate_id: string; credentials?: Partial> | undefined; }, { content: string; operation: "create_note"; candidate_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_notes">; candidate_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_notes"; candidate_id: string; credentials?: Partial> | undefined; }, { operation: "list_notes"; candidate_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_sources">; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_sources"; credentials?: Partial> | undefined; }, { operation: "list_sources"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_interview_stages">; job_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_interview_stages"; job_id: string; credentials?: Partial> | undefined; }, { operation: "list_interview_stages"; job_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_file_url">; file_handle: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_file_url"; file_handle: string; credentials?: Partial> | undefined; }, { operation: "get_file_url"; file_handle: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_projects">; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_projects"; credentials?: Partial> | undefined; }, { operation: "list_projects"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_project">; project_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_project"; project_id: string; credentials?: Partial> | undefined; }, { operation: "get_project"; project_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_candidate_projects">; candidate_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_candidate_projects"; candidate_id: string; credentials?: Partial> | undefined; }, { operation: "list_candidate_projects"; candidate_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_candidate_to_project">; candidate_id: import("zod").ZodString; project_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "add_candidate_to_project"; candidate_id: string; project_id: string; credentials?: Partial> | undefined; }, { operation: "add_candidate_to_project"; candidate_id: string; project_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"remove_candidate_from_project">; candidate_id: import("zod").ZodString; project_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "remove_candidate_from_project"; candidate_id: string; project_id: string; credentials?: Partial> | undefined; }, { operation: "remove_candidate_from_project"; candidate_id: string; project_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_project_candidate_ids">; project_id: import("zod").ZodString; cursor: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_project_candidate_ids"; project_id: string; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "list_project_candidate_ids"; project_id: string; credentials?: Partial> | undefined; cursor?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_all_candidates_with_projects">; concurrency: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_all_candidates_with_projects"; concurrency: number; credentials?: Partial> | undefined; }, { operation: "get_all_candidates_with_projects"; credentials?: Partial> | undefined; concurrency?: number | undefined; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_candidates">; success: import("zod").ZodBoolean; candidates: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: import("zod").ZodOptional; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: import("zod").ZodOptional; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: import("zod").ZodOptional, "many">>; tags: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: import("zod").ZodNullable>; company: import("zod").ZodNullable>; school: import("zod").ZodNullable>; applicationIds: import("zod").ZodOptional>; resumeFileHandle: import("zod").ZodNullable>>; fileHandles: import("zod").ZodOptional, "many">>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; profileUrl: import("zod").ZodNullable>; source: import("zod").ZodNullable>; creditedToUser: import("zod").ZodNullable>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; source?: unknown; position?: string | null | undefined; profileUrl?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; company?: string | null | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; creditedToUser?: unknown; }, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; source?: unknown; position?: string | null | undefined; profileUrl?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; company?: string | null | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; creditedToUser?: unknown; }>, "many">>; next_cursor: import("zod").ZodOptional; more_data_available: import("zod").ZodOptional; sync_token: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; source?: unknown; position?: string | null | undefined; profileUrl?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; company?: string | null | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; creditedToUser?: unknown; }[] | undefined; more_data_available?: boolean | undefined; }, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; source?: unknown; position?: string | null | undefined; profileUrl?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; company?: string | null | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; creditedToUser?: unknown; }[] | undefined; more_data_available?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_candidate">; success: import("zod").ZodBoolean; candidate: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_candidate">; success: import("zod").ZodBoolean; candidate: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; duplicate: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search_candidates">; success: import("zod").ZodBoolean; candidates: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_tag">; success: import("zod").ZodBoolean; candidate: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tags">; success: import("zod").ZodBoolean; tags: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_tag">; success: import("zod").ZodBoolean; tag: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_custom_fields">; success: import("zod").ZodBoolean; custom_fields: import("zod").ZodOptional, "many">>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; fieldType: string; isPrivate: boolean; isArchived: boolean; objectType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }, { title: string; id: string; fieldType: string; isPrivate: boolean; isArchived: boolean; objectType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }>, "many">>; next_cursor: import("zod").ZodOptional; more_data_available: import("zod").ZodOptional; sync_token: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; custom_fields?: { title: string; id: string; fieldType: string; isPrivate: boolean; isArchived: boolean; objectType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; }, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; custom_fields?: { title: string; id: string; fieldType: string; isPrivate: boolean; isArchived: boolean; objectType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_jobs">; success: import("zod").ZodBoolean; jobs: import("zod").ZodOptional; departmentId: import("zod").ZodNullable>; teamId: import("zod").ZodNullable>; locationId: import("zod").ZodNullable>; locationIds: import("zod").ZodOptional>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; openedAt: import("zod").ZodNullable>; closedAt: import("zod").ZodNullable>; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }, { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }>, "many">>; next_cursor: import("zod").ZodOptional; more_data_available: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_jobs"; next_cursor?: string | undefined; jobs?: { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }[] | undefined; more_data_available?: boolean | undefined; }, { error: string; success: boolean; operation: "list_jobs"; next_cursor?: string | undefined; jobs?: { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }[] | undefined; more_data_available?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_job">; success: import("zod").ZodBoolean; job: import("zod").ZodOptional; departmentId: import("zod").ZodNullable>; teamId: import("zod").ZodNullable>; locationId: import("zod").ZodNullable>; locationIds: import("zod").ZodOptional>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; openedAt: import("zod").ZodNullable>; closedAt: import("zod").ZodNullable>; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }, { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }>>; interview_stages: import("zod").ZodOptional; orderInInterviewPlan: import("zod").ZodOptional; interviewPlanId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_job"; job?: { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; } | undefined; interview_stages?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "get_job"; job?: { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; } | undefined; interview_stages?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_applications">; success: import("zod").ZodBoolean; applications: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; status: import("zod").ZodOptional; candidateId: import("zod").ZodNullable>; jobId: import("zod").ZodNullable>; currentInterviewStage: import("zod").ZodNullable; orderInInterviewPlan: import("zod").ZodOptional; interviewPlanId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }>>>; source: import("zod").ZodNullable>; archiveReason: import("zod").ZodNullable>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: import("zod").ZodOptional; firstName: import("zod").ZodOptional; lastName: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }>, "many">>; next_cursor: import("zod").ZodOptional; more_data_available: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_applications"; next_cursor?: string | undefined; more_data_available?: boolean | undefined; applications?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_applications"; next_cursor?: string | undefined; more_data_available?: boolean | undefined; applications?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_application">; success: import("zod").ZodBoolean; application: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; status: import("zod").ZodOptional; candidateId: import("zod").ZodNullable>; jobId: import("zod").ZodNullable>; currentInterviewStage: import("zod").ZodNullable; orderInInterviewPlan: import("zod").ZodOptional; interviewPlanId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }>>>; source: import("zod").ZodNullable>; archiveReason: import("zod").ZodNullable>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: import("zod").ZodOptional; firstName: import("zod").ZodOptional; lastName: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }>>; candidate: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; job: import("zod").ZodOptional; departmentId: import("zod").ZodNullable>; teamId: import("zod").ZodNullable>; locationId: import("zod").ZodNullable>; locationIds: import("zod").ZodOptional>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; openedAt: import("zod").ZodNullable>; closedAt: import("zod").ZodNullable>; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }, { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_application"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; job?: { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; } | undefined; application?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_application"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; job?: { title: string; id: string; status?: string | undefined; locationId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; teamId?: string | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; departmentId?: string | null | undefined; locationIds?: string[] | undefined; openedAt?: string | null | undefined; closedAt?: string | null | undefined; } | undefined; application?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_application">; success: import("zod").ZodBoolean; application: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; status: import("zod").ZodOptional; candidateId: import("zod").ZodNullable>; jobId: import("zod").ZodNullable>; currentInterviewStage: import("zod").ZodNullable; orderInInterviewPlan: import("zod").ZodOptional; interviewPlanId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }>>>; source: import("zod").ZodNullable>; archiveReason: import("zod").ZodNullable>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: import("zod").ZodOptional; firstName: import("zod").ZodOptional; lastName: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_application"; application?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_application"; application?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"change_application_stage">; success: import("zod").ZodBoolean; application: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; status: import("zod").ZodOptional; candidateId: import("zod").ZodNullable>; jobId: import("zod").ZodNullable>; currentInterviewStage: import("zod").ZodNullable; orderInInterviewPlan: import("zod").ZodOptional; interviewPlanId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }>>>; source: import("zod").ZodNullable>; archiveReason: import("zod").ZodNullable>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: import("zod").ZodOptional; firstName: import("zod").ZodOptional; lastName: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }, { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "change_application_stage"; application?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "change_application_stage"; application?: { id: string; status?: string | undefined; source?: unknown; createdAt?: string | undefined; updatedAt?: string | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; candidateId?: string | null | undefined; jobId?: string | null | undefined; currentInterviewStage?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; } | null | undefined; archiveReason?: unknown; hiringTeam?: { role: string; userId: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_candidate">; success: import("zod").ZodBoolean; candidate: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_note">; success: import("zod").ZodBoolean; note: import("zod").ZodOptional; content: import("zod").ZodString; author: import("zod").ZodNullable; lastName: import("zod").ZodOptional; email: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; }, { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_note"; note?: { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_note"; note?: { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_notes">; success: import("zod").ZodBoolean; notes: import("zod").ZodOptional; content: import("zod").ZodString; author: import("zod").ZodNullable; lastName: import("zod").ZodOptional; email: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>>>; }, "strip", import("zod").ZodTypeAny, { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; }, { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_notes"; notes?: { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_notes"; notes?: { content: string; id: string; author?: { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; } | null | undefined; createdAt?: string | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_sources">; success: import("zod").ZodBoolean; sources: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_sources"; sources?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_sources"; sources?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_interview_stages">; success: import("zod").ZodBoolean; interview_stages: import("zod").ZodOptional; orderInInterviewPlan: import("zod").ZodOptional; interviewPlanId: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }, { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_interview_stages"; interview_stages?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_interview_stages"; interview_stages?: { title: string; id: string; type?: string | undefined; orderInInterviewPlan?: number | undefined; interviewPlanId?: string | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_file_url">; success: import("zod").ZodBoolean; file: import("zod").ZodOptional; name: import("zod").ZodOptional; url: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { url: string; name?: string | undefined; id?: string | undefined; }, { url: string; name?: string | undefined; id?: string | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_file_url"; file?: { url: string; name?: string | undefined; id?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_file_url"; file?: { url: string; name?: string | undefined; id?: string | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_projects">; success: import("zod").ZodBoolean; projects: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_projects"; projects?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_projects"; projects?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_project">; success: import("zod").ZodBoolean; project: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_project"; project?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_project"; project?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_candidate_projects">; success: import("zod").ZodBoolean; projects: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_candidate_projects"; projects?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_candidate_projects"; projects?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_candidate_to_project">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "add_candidate_to_project"; }, { error: string; success: boolean; operation: "add_candidate_to_project"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"remove_candidate_from_project">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "remove_candidate_from_project"; }, { error: string; success: boolean; operation: "remove_candidate_from_project"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_project_candidate_ids">; success: import("zod").ZodBoolean; candidate_ids: import("zod").ZodOptional>; next_cursor: import("zod").ZodOptional; more_data_available: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_project_candidate_ids"; next_cursor?: string | undefined; more_data_available?: boolean | undefined; candidate_ids?: string[] | undefined; }, { error: string; success: boolean; operation: "list_project_candidate_ids"; next_cursor?: string | undefined; more_data_available?: boolean | undefined; candidate_ids?: string[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_all_candidates_with_projects">; success: import("zod").ZodBoolean; candidates: import("zod").ZodOptional; phone: import("zod").ZodNullable; linkedinUrl: import("zod").ZodNullable; position: import("zod").ZodNullable; company: import("zod").ZodNullable; tags: import("zod").ZodArray; projectIds: import("zod").ZodArray; projectNames: import("zod").ZodArray; }, "strip", import("zod").ZodTypeAny, { name: string; tags: string[]; id: string; email: string | null; phone: string | null; position: string | null; linkedinUrl: string | null; company: string | null; projectIds: string[]; projectNames: string[]; }, { name: string; tags: string[]; id: string; email: string | null; phone: string | null; position: string | null; linkedinUrl: string | null; company: string | null; projectIds: string[]; projectNames: string[]; }>, "many">>; projects: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; total_candidates: import("zod").ZodOptional; total_enriched: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_all_candidates_with_projects"; projects?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; candidates?: { name: string; tags: string[]; id: string; email: string | null; phone: string | null; position: string | null; linkedinUrl: string | null; company: string | null; projectIds: string[]; projectNames: string[]; }[] | undefined; total_candidates?: number | undefined; total_enriched?: number | undefined; }, { error: string; success: boolean; operation: "get_all_candidates_with_projects"; projects?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; candidates?: { name: string; tags: string[]; id: string; email: string | null; phone: string | null; position: string | null; linkedinUrl: string | null; company: string | null; projectIds: string[]; projectNames: string[]; }[] | undefined; total_candidates?: number | undefined; total_enriched?: number | undefined; }>]>; static readonly shortDescription = "Ashby ATS integration for candidate management"; static readonly longDescription = "\n Ashby is an applicant tracking system (ATS) for modern recruiting teams.\n This bubble provides operations for:\n - Listing and filtering candidates, jobs, applications, and sources\n - Retrieving candidate, job, and application details\n - Creating and updating candidates\n - Searching candidates by email or name\n - Managing candidate tags (list, create, add to candidates)\n - Managing applications (create, change stage)\n - Adding and listing notes on candidates\n - Listing interview stages for jobs\n - Getting resume download URLs\n - Listing custom field definitions\n\n Security Features:\n - Uses HTTP Basic Authentication with API key\n - API key is stored encrypted and never exposed in logs\n\n Use Cases:\n - Sync candidates from external sources\n - Automate candidate tagging workflows\n - Build custom recruiting dashboards\n - Integrate recruiting data with other systems\n - Track application pipeline stages\n - Download candidate resumes\n "; static readonly alias = "ashby-ats"; constructor(params?: T, context?: BubbleContext); /** * Choose the appropriate credential for Ashby API */ protected chooseCredential(): string | undefined; /** * Test if the credential is valid by making a simple API call */ testCredential(): Promise; /** * Perform the Ashby operation */ protected performAction(context?: BubbleContext): Promise>; /** * Extract error message from Ashby API error response */ private extractErrorMessage; /** * Make an authenticated request to the Ashby API */ private makeAshbyRequest; /** * List candidates with optional filtering */ private listCandidates; /** * Get detailed information about a specific candidate */ private getCandidate; /** * Normalize LinkedIn URL for comparison * Removes protocol, www, trailing slashes, and query params */ private normalizeLinkedInUrl; /** * Extract a searchable name from LinkedIn URL * e.g., "https://linkedin.com/in/john-doe" -> "john doe" */ private extractNameFromLinkedInUrl; /** * Find existing candidates with the same LinkedIn URL * Uses search by name extracted from LinkedIn URL for faster lookup */ private findCandidateByLinkedIn; /** * Create a new candidate */ private createCandidate; /** * Search for candidates by email or name */ private searchCandidates; /** * Add a tag to a candidate */ private addTag; /** * List all candidate tags */ private listTags; /** * Create a new candidate tag */ private createTag; /** * List all custom field definitions */ private listCustomFields; /** * List jobs with optional filtering */ private listJobs; /** * Get detailed information about a specific job */ private getJob; /** * List applications with optional filtering */ private listApplications; /** * Get detailed information about a specific application */ private getApplication; /** * Create an application (submit candidate to a job) */ private createApplication; /** * Change the interview stage of an application */ private changeApplicationStage; /** * Update an existing candidate */ private updateCandidate; /** * Create a note on a candidate */ private createNote; /** * List notes for a candidate */ private listNotes; /** * List all candidate sources */ private listSources; /** * List interview stages for a job (resolves the interview plan ID automatically) */ private listInterviewStages; /** * Get a download URL for a file (e.g., resume) */ private getFileUrl; /** * List all projects */ private listProjects; /** * Get project details by finding it in the project list. */ private getProject; /** * List projects a candidate belongs to */ private listCandidateProjects; /** * Add a candidate to a project */ private addCandidateToProject; /** * Remove a candidate from a project */ private removeCandidateFromProject; /** * List candidate IDs belonging to a project */ private listProjectCandidateIds; /** * Paginate all candidates, fetch all projects, then enrich each * candidate with their project associations via candidate.listProjects. * * Long-running operation — uses configurable concurrency with * Promise.allSettled for resilience against individual failures. */ private getAllCandidatesWithProjects; } //# sourceMappingURL=ashby.d.ts.map