import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; /** * Email address object from Ashby API */ export declare const AshbyEmailSchema: z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>; /** * Phone number object from Ashby API */ export declare const AshbyPhoneSchema: z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>; /** * Custom field object from Ashby API */ export declare const AshbyCustomFieldSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>; /** * Candidate object from Ashby API */ export declare const AshbyCandidateSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.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; }>; /** * Social link object from Ashby API */ export declare const AshbySocialLinkSchema: z.ZodObject<{ url: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>; /** * Tag object from Ashby API */ export declare const AshbyTagSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>; /** * File handle object from Ashby API */ export declare const AshbyFileHandleSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>; /** * Selectable value for custom field from Ashby API */ export declare const AshbySelectableValueSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodString; isArchived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>; /** * Custom field definition from Ashby API (from customField.list endpoint) */ export declare const AshbyCustomFieldDefinitionSchema: z.ZodObject<{ id: z.ZodString; isPrivate: z.ZodBoolean; title: z.ZodString; objectType: z.ZodString; isArchived: z.ZodBoolean; fieldType: z.ZodString; selectableValues: z.ZodOptional, "many">>; }, "strip", z.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; }>; /** * Candidate list item from Ashby API (from candidate.list endpoint) */ export declare const AshbyCandidateListItemSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: z.ZodOptional; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: z.ZodOptional; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: z.ZodOptional, "many">>; tags: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: z.ZodNullable>; company: z.ZodNullable>; school: z.ZodNullable>; applicationIds: z.ZodOptional>; resumeFileHandle: z.ZodNullable>>; fileHandles: z.ZodOptional, "many">>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; profileUrl: z.ZodNullable>; source: z.ZodNullable>; creditedToUser: z.ZodNullable>; }, "strip", z.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; }>; /** * Candidate enriched with project associations (from get_all_candidates_with_projects) */ export declare const AshbyEnrichedCandidateSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; email: z.ZodNullable; phone: z.ZodNullable; linkedinUrl: z.ZodNullable; position: z.ZodNullable; company: z.ZodNullable; tags: z.ZodArray; projectIds: z.ZodArray; projectNames: z.ZodArray; }, "strip", z.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[]; }>; /** * Job object from Ashby API */ export declare const AshbyJobSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional; departmentId: z.ZodNullable>; teamId: z.ZodNullable>; locationId: z.ZodNullable>; locationIds: z.ZodOptional>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; openedAt: z.ZodNullable>; closedAt: z.ZodNullable>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.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 stage object from Ashby API */ export declare const AshbyInterviewStageSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; type: z.ZodOptional; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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; }>; /** * Application object from Ashby API */ export declare const AshbyApplicationSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; status: z.ZodOptional; candidateId: z.ZodNullable>; jobId: z.ZodNullable>; currentInterviewStage: z.ZodNullable; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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: z.ZodNullable>; archiveReason: z.ZodNullable>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: z.ZodOptional; firstName: z.ZodOptional; lastName: z.ZodOptional; }, "strip", z.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", z.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; }>; /** * Note object from Ashby API */ export declare const AshbyNoteSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; content: z.ZodString; author: z.ZodNullable; lastName: z.ZodOptional; email: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>>>; }, "strip", z.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; }>; /** * Source object from Ashby API */ export declare const AshbySourceSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>; /** * Project object from Ashby API */ export declare const AshbyProjectSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>; /** * File info response from Ashby API (file.info endpoint) */ export declare const AshbyFileInfoSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodOptional; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; name?: string | undefined; id?: string | undefined; }, { url: string; name?: string | undefined; id?: string | undefined; }>; export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_candidates">; limit: z.ZodDefault>; cursor: z.ZodOptional; status: z.ZodOptional>; job_id: z.ZodOptional; created_after: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_candidate">; candidate_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_candidate"; candidate_id: string; credentials?: Partial> | undefined; }, { operation: "get_candidate"; candidate_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_candidate">; name: z.ZodString; emails: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "Personal" | "Work" | "Other"; email: string; }, { type: "Personal" | "Work" | "Other"; email: string; }>, "many">>; phone_number: z.ZodOptional; linkedin_url: z.ZodOptional; github_url: z.ZodOptional; website: z.ZodOptional; source_id: z.ZodOptional; credited_to_user_id: z.ZodOptional; tag: z.ZodOptional; allow_duplicate_linkedin: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_candidates">; email: z.ZodOptional; name: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_tag">; candidate_id: z.ZodString; tag_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tags">; include_archived: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_tags"; include_archived: boolean; credentials?: Partial> | undefined; }, { operation: "list_tags"; credentials?: Partial> | undefined; include_archived?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_tag">; title: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; operation: "create_tag"; credentials?: Partial> | undefined; }, { title: string; operation: "create_tag"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_custom_fields">; limit: z.ZodDefault>; cursor: z.ZodOptional; sync_token: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_jobs">; limit: z.ZodDefault>; cursor: z.ZodOptional; status: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_job">; job_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_job"; job_id: string; credentials?: Partial> | undefined; }, { operation: "get_job"; job_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_applications">; candidate_id: z.ZodOptional; job_id: z.ZodOptional; status: z.ZodOptional>; limit: z.ZodDefault>; cursor: z.ZodOptional; created_after: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_application">; application_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_application"; application_id: string; credentials?: Partial> | undefined; }, { operation: "get_application"; application_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_application">; candidate_id: z.ZodString; job_id: z.ZodString; interview_stage_id: z.ZodOptional; source_id: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"change_application_stage">; application_id: z.ZodString; interview_stage_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_candidate">; candidate_id: z.ZodString; name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; linkedin_url: z.ZodOptional; github_url: z.ZodOptional; website: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_note">; candidate_id: z.ZodString; content: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { content: string; operation: "create_note"; candidate_id: string; credentials?: Partial> | undefined; }, { content: string; operation: "create_note"; candidate_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_notes">; candidate_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_notes"; candidate_id: string; credentials?: Partial> | undefined; }, { operation: "list_notes"; candidate_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sources">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_sources"; credentials?: Partial> | undefined; }, { operation: "list_sources"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_interview_stages">; job_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_interview_stages"; job_id: string; credentials?: Partial> | undefined; }, { operation: "list_interview_stages"; job_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_url">; file_handle: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_file_url"; file_handle: string; credentials?: Partial> | undefined; }, { operation: "get_file_url"; file_handle: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_projects">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_projects"; credentials?: Partial> | undefined; }, { operation: "list_projects"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_project">; project_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_project"; project_id: string; credentials?: Partial> | undefined; }, { operation: "get_project"; project_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_candidate_projects">; candidate_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_candidate_projects"; candidate_id: string; credentials?: Partial> | undefined; }, { operation: "list_candidate_projects"; candidate_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_candidate_to_project">; candidate_id: z.ZodString; project_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_candidate_from_project">; candidate_id: z.ZodString; project_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_project_candidate_ids">; project_id: z.ZodString; cursor: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_all_candidates_with_projects">; concurrency: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_all_candidates_with_projects"; concurrency: number; credentials?: Partial> | undefined; }, { operation: "get_all_candidates_with_projects"; credentials?: Partial> | undefined; concurrency?: number | undefined; }>]>; export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_candidates">; success: z.ZodBoolean; candidates: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: z.ZodOptional; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: z.ZodOptional; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: z.ZodOptional, "many">>; tags: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: z.ZodNullable>; company: z.ZodNullable>; school: z.ZodNullable>; applicationIds: z.ZodOptional>; resumeFileHandle: z.ZodNullable>>; fileHandles: z.ZodOptional, "many">>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; profileUrl: z.ZodNullable>; source: z.ZodNullable>; creditedToUser: z.ZodNullable>; }, "strip", z.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: z.ZodOptional; more_data_available: z.ZodOptional; sync_token: z.ZodOptional; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_candidate">; success: z.ZodBoolean; candidate: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_candidate">; success: z.ZodBoolean; candidate: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.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: z.ZodOptional; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_candidates">; success: z.ZodBoolean; candidates: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_tag">; success: z.ZodBoolean; candidate: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tags">; success: z.ZodBoolean; tags: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_tag">; success: z.ZodBoolean; tag: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>>; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_custom_fields">; success: z.ZodBoolean; custom_fields: z.ZodOptional, "many">>; }, "strip", z.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: z.ZodOptional; more_data_available: z.ZodOptional; sync_token: z.ZodOptional; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_jobs">; success: z.ZodBoolean; jobs: z.ZodOptional; departmentId: z.ZodNullable>; teamId: z.ZodNullable>; locationId: z.ZodNullable>; locationIds: z.ZodOptional>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; openedAt: z.ZodNullable>; closedAt: z.ZodNullable>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.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: z.ZodOptional; more_data_available: z.ZodOptional; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_job">; success: z.ZodBoolean; job: z.ZodOptional; departmentId: z.ZodNullable>; teamId: z.ZodNullable>; locationId: z.ZodNullable>; locationIds: z.ZodOptional>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; openedAt: z.ZodNullable>; closedAt: z.ZodNullable>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.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: z.ZodOptional; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_applications">; success: z.ZodBoolean; applications: z.ZodOptional; updatedAt: z.ZodOptional; status: z.ZodOptional; candidateId: z.ZodNullable>; jobId: z.ZodNullable>; currentInterviewStage: z.ZodNullable; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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: z.ZodNullable>; archiveReason: z.ZodNullable>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: z.ZodOptional; firstName: z.ZodOptional; lastName: z.ZodOptional; }, "strip", z.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", z.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: z.ZodOptional; more_data_available: z.ZodOptional; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_application">; success: z.ZodBoolean; application: z.ZodOptional; updatedAt: z.ZodOptional; status: z.ZodOptional; candidateId: z.ZodNullable>; jobId: z.ZodNullable>; currentInterviewStage: z.ZodNullable; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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: z.ZodNullable>; archiveReason: z.ZodNullable>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: z.ZodOptional; firstName: z.ZodOptional; lastName: z.ZodOptional; }, "strip", z.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", z.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: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.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: z.ZodOptional; departmentId: z.ZodNullable>; teamId: z.ZodNullable>; locationId: z.ZodNullable>; locationIds: z.ZodOptional>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; openedAt: z.ZodNullable>; closedAt: z.ZodNullable>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_application">; success: z.ZodBoolean; application: z.ZodOptional; updatedAt: z.ZodOptional; status: z.ZodOptional; candidateId: z.ZodNullable>; jobId: z.ZodNullable>; currentInterviewStage: z.ZodNullable; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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: z.ZodNullable>; archiveReason: z.ZodNullable>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: z.ZodOptional; firstName: z.ZodOptional; lastName: z.ZodOptional; }, "strip", z.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", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"change_application_stage">; success: z.ZodBoolean; application: z.ZodOptional; updatedAt: z.ZodOptional; status: z.ZodOptional; candidateId: z.ZodNullable>; jobId: z.ZodNullable>; currentInterviewStage: z.ZodNullable; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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: z.ZodNullable>; archiveReason: z.ZodNullable>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; hiringTeam: z.ZodOptional; firstName: z.ZodOptional; lastName: z.ZodOptional; }, "strip", z.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", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_candidate">; success: z.ZodBoolean; candidate: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; primaryEmailAddress: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_note">; success: z.ZodBoolean; note: z.ZodOptional; content: z.ZodString; author: z.ZodNullable; lastName: z.ZodOptional; email: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>>>; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_notes">; success: z.ZodBoolean; notes: z.ZodOptional; content: z.ZodString; author: z.ZodNullable; lastName: z.ZodOptional; email: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }, { id: string; email?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; }>>>; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sources">; success: z.ZodBoolean; sources: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_interview_stages">; success: z.ZodBoolean; interview_stages: z.ZodOptional; orderInInterviewPlan: z.ZodOptional; interviewPlanId: z.ZodOptional; }, "strip", z.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: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_file_url">; success: z.ZodBoolean; file: z.ZodOptional; name: z.ZodOptional; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; name?: string | undefined; id?: string | undefined; }, { url: string; name?: string | undefined; id?: string | undefined; }>>; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_projects">; success: z.ZodBoolean; projects: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_project">; success: z.ZodBoolean; project: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>>; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_candidate_projects">; success: z.ZodBoolean; projects: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_candidate_to_project">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_candidate_to_project"; }, { error: string; success: boolean; operation: "add_candidate_to_project"; }>, z.ZodObject<{ operation: z.ZodLiteral<"remove_candidate_from_project">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "remove_candidate_from_project"; }, { error: string; success: boolean; operation: "remove_candidate_from_project"; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_project_candidate_ids">; success: z.ZodBoolean; candidate_ids: z.ZodOptional>; next_cursor: z.ZodOptional; more_data_available: z.ZodOptional; error: z.ZodString; }, "strip", z.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; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_all_candidates_with_projects">; success: z.ZodBoolean; candidates: z.ZodOptional; phone: z.ZodNullable; linkedinUrl: z.ZodNullable; position: z.ZodNullable; company: z.ZodNullable; tags: z.ZodArray; projectIds: z.ZodArray; projectNames: z.ZodArray; }, "strip", z.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: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; total_candidates: z.ZodOptional; total_enriched: z.ZodOptional; error: z.ZodString; }, "strip", z.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; }>]>; export type AshbyParamsInput = z.input; export type AshbyParams = z.output; export type AshbyResult = z.output; export type AshbyCandidate = z.output; export type AshbyEmail = z.output; export type AshbyPhone = z.output; export type AshbyCustomField = z.output; export type AshbyCandidateListItem = z.output; export type AshbySocialLink = z.output; export type AshbyTag = z.output; export type AshbyFileHandle = z.output; export type AshbySelectableValue = z.output; export type AshbyCustomFieldDefinition = z.output; export type AshbyJob = z.output; export type AshbyApplication = z.output; export type AshbyInterviewStage = z.output; export type AshbyNote = z.output; export type AshbySource = z.output; export type AshbyFileInfo = z.output; export type AshbyListCandidatesParams = Extract; export type AshbyGetCandidateParams = Extract; export type AshbyCreateCandidateParams = Extract; export type AshbySearchCandidatesParams = Extract; export type AshbyAddTagParams = Extract; export type AshbyListTagsParams = Extract; export type AshbyCreateTagParams = Extract; export type AshbyListCustomFieldsParams = Extract; export type AshbyListJobsParams = Extract; export type AshbyGetJobParams = Extract; export type AshbyListApplicationsParams = Extract; export type AshbyGetApplicationParams = Extract; export type AshbyCreateApplicationParams = Extract; export type AshbyChangeApplicationStageParams = Extract; export type AshbyUpdateCandidateParams = Extract; export type AshbyCreateNoteParams = Extract; export type AshbyListNotesParams = Extract; export type AshbyListSourcesParams = Extract; export type AshbyListInterviewStagesParams = Extract; export type AshbyGetFileUrlParams = Extract; export type AshbyListProjectsParams = Extract; export type AshbyGetProjectParams = Extract; export type AshbyListCandidateProjectsParams = Extract; export type AshbyAddCandidateToProjectParams = Extract; export type AshbyRemoveCandidateFromProjectParams = Extract; export type AshbyListProjectCandidateIdsParams = Extract; export type AshbyProject = z.output; export type AshbyEnrichedCandidate = z.output; export type AshbyGetAllCandidatesWithProjectsParams = Extract; //# sourceMappingURL=ashby.schema.d.ts.map