"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FilteredSearchContactResponseSchema = exports.FilteredSearchContactInputSchema = void 0;
const zod_1 = require("zod");
exports.FilteredSearchContactInputSchema = 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.FilteredSearchContactResponseSchema = zod_1.z.object({
    contacts: zod_1.z.array(zod_1.z.object({
        partial: zod_1.z.boolean(),
        id: zod_1.z.number(),
        job_title: zod_1.z.string().optional().nullable(),
        lead_score: zod_1.z.number(),
        email: zod_1.z.string(),
        work_number: zod_1.z.string().optional().nullable(),
        mobile_number: zod_1.z.string().optional().nullable(),
        open_deals_amount: zod_1.z.string().optional().nullable(),
        display_name: zod_1.z.string().optional().nullable(),
        avatar: zod_1.z.string().optional().nullable(),
        last_contacted_mode: zod_1.z.string().optional().nullable(),
        last_contacted: zod_1.z.string().optional().nullable(),
        first_name: zod_1.z.string().optional().nullable(),
        last_name: zod_1.z.string().optional().nullable(),
        city: zod_1.z.string().optional().nullable(),
        country: zod_1.z.string().optional().nullable(),
        created_at: zod_1.z.string(),
        updated_at: zod_1.z.string(),
    })),
    meta: zod_1.z.object({
        total: zod_1.z.number(),
    }),
});
//# sourceMappingURL=FilteredSearchContact.schema.js.map