"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const zod_1 = require("zod");
const extensions_core_1 = require("@awell-health/extensions-core");
exports.fields = {
    channel: {
        id: 'channel',
        label: 'Channel',
        description: 'The Slack channel to send the message to. Use the channel ID (e.g., C1234567890) or channel name (e.g., #general). The bot must be invited to the channel.',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    message: {
        id: 'message',
        label: 'Message',
        description: 'The message content to send to the channel.',
        type: extensions_core_1.FieldType.TEXT,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    channel: zod_1.z.string().min(1, { message: 'Channel is required' }),
    message: zod_1.z.string().min(1, { message: 'Message is required' }),
});
//# sourceMappingURL=fields.js.map