"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isEmail = isEmail;
const mablApi_1 = require("../../mablApi");
function isEmail(value) {
    const test = value;
    return (test.id !== undefined &&
        test.input_artifacts !== undefined &&
        test.input_properties !== undefined &&
        test.input_type === mablApi_1.ExecutionInput.InputTypeEnum.Email &&
        test.received_time !== undefined &&
        test.workspace_id !== undefined);
}
