"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TicketSourceSchema = exports.TicketSourceDescriptionString = exports.TicketSource = void 0;
const zod_1 = require("zod");
exports.TicketSource = {
    Email: 1,
    Portal: 2,
    Phone: 3,
    Chat: 7,
    FeedbackWidget: 9,
    OutboundEmail: 10,
};
exports.TicketSourceDescriptionString = Object.entries(exports.TicketSource)
    .map(([key, value]) => `${value} (${key})`)
    .join(', ');
exports.TicketSourceSchema = zod_1.z.union([
    zod_1.z.literal(exports.TicketSource.Email),
    zod_1.z.literal(exports.TicketSource.Portal),
    zod_1.z.literal(exports.TicketSource.Phone),
    zod_1.z.literal(exports.TicketSource.Chat),
    zod_1.z.literal(exports.TicketSource.FeedbackWidget),
    zod_1.z.literal(exports.TicketSource.OutboundEmail),
]);
//# sourceMappingURL=TicketSource.schema.js.map