"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LeadSchema = void 0;
const zod_1 = require("zod");
exports.LeadSchema = zod_1.z.object({
    id: zod_1.z.number(),
    job_title: zod_1.z.string().optional().nullable(),
    email: zod_1.z.string().optional().nullable(),
    emails: zod_1.z
        .array(zod_1.z.object({
        id: zod_1.z.number(),
        value: zod_1.z.string(),
        is_primary: zod_1.z.boolean(),
        label: zod_1.z.string().optional().nullable(),
        _destroy: zod_1.z.boolean(),
    }))
        .optional()
        .nullable(),
    work_number: zod_1.z.string().optional().nullable(),
    mobile_number: zod_1.z.string().optional().nullable(),
    address: zod_1.z.string().optional().nullable(),
    city: zod_1.z.string().optional().nullable(),
    state: zod_1.z.string().optional().nullable(),
    zipcode: zod_1.z.string().optional().nullable(),
    country: zod_1.z.string().optional().nullable(),
    time_zone: zod_1.z.string().optional().nullable(),
    display_name: zod_1.z.string().optional().nullable(),
    avatar: zod_1.z.string().optional().nullable(),
    keyword: zod_1.z.string().optional().nullable(),
    medium: zod_1.z.string().optional().nullable(),
    last_seen: zod_1.z.string().optional().nullable(),
    last_contacted: zod_1.z.string().optional().nullable(),
    lead_score: zod_1.z.number().optional().nullable(),
    stage_updated_time: zod_1.z.string().optional().nullable(),
    first_name: zod_1.z.string(),
    last_name: zod_1.z.string(),
    custom_field: zod_1.z
        .record(zod_1.z.string(), zod_1.z.union([zod_1.z.string(), zod_1.z.number(), zod_1.z.boolean(), zod_1.z.null()]))
        .optional()
        .nullable(),
    company: zod_1.z
        .object({
        id: zod_1.z.number().optional().nullable(),
        name: zod_1.z.string().optional().nullable(),
        address: zod_1.z.string().optional().nullable(),
        city: zod_1.z.string().optional().nullable(),
        state: zod_1.z.string().optional().nullable(),
        zipcode: zod_1.z.string().optional().nullable(),
        country: zod_1.z.string().optional().nullable(),
        number_of_employees: zod_1.z.number().optional().nullable(),
        annual_revenue: zod_1.z.number().optional().nullable(),
        website: zod_1.z.string().optional().nullable(),
        phone: zod_1.z.string().optional().nullable(),
        industry_type_id: zod_1.z.number().optional().nullable(),
        business_type_id: zod_1.z.number().optional().nullable(),
    })
        .optional()
        .nullable(),
    deal: zod_1.z.unknown().optional().nullable(),
    links: zod_1.z.unknown().optional().nullable(),
    last_contacted_sales_activity_mode: zod_1.z.unknown().optional().nullable(),
    last_contacted_mode: zod_1.z.unknown().optional().nullable(),
    recent_note: zod_1.z.unknown().optional().nullable(),
    last_contacted_via_sales_activity: zod_1.z.unknown().optional().nullable(),
    completed_sales_sequences: zod_1.z.string().optional().nullable(),
    active_sales_sequences: zod_1.z.unknown().optional().nullable(),
    web_form_ids: zod_1.z.unknown().optional().nullable(),
    created_at: zod_1.z.string(),
    updated_at: zod_1.z.string().optional().nullable(),
    last_assigned_at: zod_1.z.string().optional().nullable(),
    facebook: zod_1.z.string().optional().nullable(),
    twitter: zod_1.z.string().nullable(),
    linkedin: zod_1.z.string().nullable(),
    is_deleted: zod_1.z.boolean(),
    team_user_ids: zod_1.z.array(zod_1.z.unknown()).optional().nullable(),
    subscription_status: zod_1.z.number().optional().nullable(),
    record_type_id: zod_1.z.string().optional().nullable(),
    phone_numbers: zod_1.z.array(zod_1.z.unknown()).optional().nullable(),
    tags: zod_1.z.array(zod_1.z.unknown()).optional().nullable(),
});
//# sourceMappingURL=Lead.schema.js.map