"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const zod_1 = __importDefault(require("zod"));
exports.fields = {
    threadId: {
        id: 'threadId',
        label: 'Thread ID',
        description: 'The ID of the message thread to which the message will be added',
        type: extensions_core_1.FieldType.NUMERIC,
        required: true,
    },
    senderId: {
        id: 'senderId',
        label: 'Sender ID',
        description: 'The ID of the user that adds the message to the thread',
        type: extensions_core_1.FieldType.NUMERIC,
        required: true,
    },
    messageBody: {
        id: 'messageBody',
        label: 'Message Body',
        description: 'The content of the message to be added to the thread',
        type: extensions_core_1.FieldType.TEXT,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.default.object({
    threadId: extensions_core_1.NumericIdSchema,
    senderId: extensions_core_1.NumericIdSchema,
    messageBody: zod_1.default.string().min(1),
});
//# sourceMappingURL=fields.js.map