"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 = {
    jobId: {
        id: 'jobId',
        label: 'Job ID',
        description: 'The ID of the Sendgrid Job (usually obtained from the Add or Update Contact action)',
        type: extensions_core_1.FieldType.STRING,
        stringType: extensions_core_1.StringType.TEXT,
        required: true,
    },
    wait_for_finished: {
        id: 'wait_for_finished',
        label: 'Wait for finished',
        description: 'If true, the action will wait for the import job to finish before completing.',
        type: extensions_core_1.FieldType.BOOLEAN,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    jobId: zod_1.z.string(),
    wait_for_finished: zod_1.z.boolean().optional(),
});
//# sourceMappingURL=fields.js.map