"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
exports.fields = {
    patientId: {
        id: 'patientId',
        label: 'Healthie patient ID',
        description: 'The ID of the patient related to this task.',
        type: extensions_core_1.FieldType.STRING,
    },
    assignToUserId: {
        id: 'assignToUserId',
        label: 'Assign to user',
        description: 'The ID of the user to assign the task to. If none provided, will assign the task to the user the API key is associated with.',
        type: extensions_core_1.FieldType.STRING,
    },
    content: {
        id: 'content',
        label: 'Content',
        description: 'The content of the Task.',
        type: extensions_core_1.FieldType.TEXT,
        required: true,
    },
    dueDate: {
        id: 'dueDate',
        label: 'Due date',
        description: 'The due date of the task.',
        type: extensions_core_1.FieldType.DATE,
    },
    isReminderEnabled: {
        id: 'isReminderEnabled',
        label: 'Is reminder enabled',
        description: 'Would you like to send reminders for this task?',
        type: extensions_core_1.FieldType.BOOLEAN,
    },
    reminderIntervalType: {
        id: 'reminderIntervalType',
        label: 'Reminder interval type',
        description: 'At what interval would you like to send reminders? The options are "daily", "weekly", "once".',
        type: extensions_core_1.FieldType.STRING,
    },
    reminderIntervalValue: {
        id: 'reminderIntervalValue',
        label: 'Reminder interval value (weekly)',
        description: 'When interval type is set to "daily" or "once", leave this field blank. For "weekly" interval, send in comma separated all lower-case days of the week (e.g wednesday, friday).',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    reminderIntervalValueOnce: {
        id: 'reminderIntervalValueOnce',
        label: 'Reminder interval value (once)',
        description: 'When the interval type is set to "daily" or "weekly", leave this field blank. For "once" interval, set or select a date.',
        type: extensions_core_1.FieldType.DATE,
        required: false,
    },
    reminderTime: {
        id: 'reminderTime',
        label: 'Reminder time',
        description: 'Time to send the reminder. Expressed in the number of minutes from midnight.',
        type: extensions_core_1.FieldType.NUMERIC,
    },
};
//# sourceMappingURL=fields.js.map