"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FilteredSearchLeadResponseSchema = exports.FilteredSearchLeadInputSchema = void 0;
const zod_1 = require("zod");
const atoms_1 = require("./atoms");
exports.FilteredSearchLeadInputSchema = zod_1.z.object({
    filter_rule: zod_1.z.array(zod_1.z.object({
        attribute: zod_1.z.string(),
        operator: zod_1.z.union([zod_1.z.literal('is_in'), zod_1.z.literal('equals')]),
        value: zod_1.z.string(),
    })),
});
exports.FilteredSearchLeadResponseSchema = zod_1.z.object({
    leads: zod_1.z.array(atoms_1.LeadSchema.pick({
        id: true,
        job_title: true,
        lead_score: true,
        last_contacted_mode: true,
        email: true,
        emails: true,
        work_number: true,
        mobile_number: true,
        display_name: true,
        avatar: true,
        company: true,
        last_contacted: true,
        stage_updated_time: true,
        first_name: true,
        last_name: true,
        city: true,
        country: true,
        created_at: true,
        updated_at: true,
        recent_note: true,
        last_contacted_via_sales_activity: true,
        last_contacted_sales_activity_mode: true,
        facebook: true,
        twitter: true,
        linkedin: true,
        record_type_id: true,
        web_form_ids: true,
        last_assigned_at: true,
    })),
    meta: zod_1.z.object({
        total: zod_1.z.number(),
    }),
});
//# sourceMappingURL=FilteredSearchLead.schema.js.map