"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetContactResponseSchema = void 0;
const zod_1 = require("zod");
exports.GetContactResponseSchema = zod_1.z.object({
    active: zod_1.z.boolean().optional().nullable(),
    address: zod_1.z.string().optional().nullable(),
    company_id: zod_1.z.number().optional().nullable(),
    view_all_tickets: zod_1.z.boolean().optional().nullable(),
    description: zod_1.z.string().optional().nullable(),
    email: zod_1.z.string().optional().nullable(),
    id: zod_1.z.number(),
    unique_external_id: zod_1.z.string().optional().nullable(),
    job_title: zod_1.z.string().nullable(),
    language: zod_1.z.string().optional().nullable(),
    mobile: zod_1.z.string().optional().nullable(),
    name: zod_1.z.string(),
    phone: zod_1.z.string().optional().nullable(),
    time_zone: zod_1.z.string().optional().nullable(),
    other_emails: zod_1.z.array(zod_1.z.string()).optional().nullable(),
    other_companies: zod_1.z
        .array(zod_1.z.object({
        company_id: zod_1.z.number(),
        view_all_tickets: zod_1.z.boolean(),
    }))
        .optional()
        .nullable(),
    created_at: zod_1.z.string(),
    updated_at: zod_1.z.string(),
    twitter_id: zod_1.z.string().optional().nullable(),
    facebook_id: zod_1.z.string().optional().nullable(),
    csat_rating: zod_1.z.unknown().optional().nullable(),
    preferred_source: zod_1.z.string().optional().nullable(),
    twitter_profile_status: zod_1.z.unknown().optional().nullable(),
    twitter_followers_count: zod_1.z.number().optional().nullable(),
    custom_fields: 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(),
    tags: zod_1.z.array(zod_1.z.string()).optional().nullable(),
    avatar: zod_1.z.unknown().optional().nullable(),
});
//# sourceMappingURL=GetContact.schema.js.map