"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const zod_1 = require("zod");
exports.fields = {
    envelopeId: {
        id: 'envelopeId',
        label: 'Envelope ID',
        description: 'The ID of the existing DocuSign envelope. This is returned from the "Create embedded signature request with template" action.',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    signerName: {
        id: 'signerName',
        label: 'Signer name',
        description: 'The name of the person who will sign the document.',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    signerEmail: {
        id: 'signerEmail',
        label: 'Signer email',
        description: 'The email address of the person who will sign the document. Must match the email of a recipient in the envelope.',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    clientUserId: {
        id: 'clientUserId',
        label: 'Client user ID',
        description: 'Unique identifier for the signer used for embedded signing. This should match the stakeholder ID or a unique identifier from your care flow.',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    envelopeId: zod_1.z.string(),
    signerName: zod_1.z.string(),
    signerEmail: zod_1.z.string(),
    clientUserId: zod_1.z.string(),
});
//# sourceMappingURL=fields.js.map