"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTestInputDataDefinition = void 0;
const BooleanDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/BooleanDataDefinition");
const DateDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/DateDataDefinition");
const NumberDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/NumberDataDefinition");
const ObjectDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/ObjectDataDefinition");
const StringDataDefinition_1 = require("@appglue/common/dist/Common/Data/Definitions/StringDataDefinition");
const DataDefinition_1 = require("@appglue/common/dist/Common/Data/DataDefinition");
const getTestInputDataDefinition = () => {
    let data = new DataDefinition_1.DataDefinition();
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("employeeID"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("firstName"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("lastName"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("socialSecurityNumber"));
    let obj = new ObjectDataDefinition_1.ObjectDataDefinition("homeAddress");
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("streetAddress"));
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("city"));
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("state"));
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("zipCode"));
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("country"));
    data.fields.push(obj);
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("emailAddress"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("phoneNumber"));
    data.fields.push(new DateDataDefinition_1.DateDataDefinition("dateOfBirth"));
    data.fields.push(new DateDataDefinition_1.DateDataDefinition("dateOfHire"));
    data.fields.push(new DateDataDefinition_1.DateDataDefinition("dateOfTermination"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("position"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("salaryBand"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("department"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("managerID"));
    data.fields.push(new BooleanDataDefinition_1.BooleanDataDefinition("fullTime"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("benefitsID"));
    data.fields.push(new BooleanDataDefinition_1.BooleanDataDefinition("exempt"));
    obj = new ObjectDataDefinition_1.ObjectDataDefinition("disciplinaryActionsHistory");
    obj.list = true;
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("description"));
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("currentManagerID"));
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("actionTaken"));
    obj.fields.push(new DateDataDefinition_1.DateDataDefinition("dateOfIncident"));
    data.fields.push(obj);
    data.fields.push(new NumberDataDefinition_1.NumberDataDefinition("vacationDaysUsed"));
    data.fields.push(new NumberDataDefinition_1.NumberDataDefinition("sickDaysUsed"));
    data.fields.push(new NumberDataDefinition_1.NumberDataDefinition("vacationDaysRemaining"));
    data.fields.push(new NumberDataDefinition_1.NumberDataDefinition("sickDaysRemaining"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("emergencyContactName"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("emergencyContactPhoneNumber"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("emergencyContactRelationship"));
    data.fields.push(new BooleanDataDefinition_1.BooleanDataDefinition("onboarded"));
    obj = new ObjectDataDefinition_1.ObjectDataDefinition("promotionHistory");
    obj.list = true;
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("position"));
    obj.fields.push(new DateDataDefinition_1.DateDataDefinition("dateOfPromotion"));
    obj.fields.push(new StringDataDefinition_1.StringDataDefinition("comments"));
    obj.fields.push(new NumberDataDefinition_1.NumberDataDefinition("salary"));
    data.fields.push(obj);
    data.fields.push(new BooleanDataDefinition_1.BooleanDataDefinition("isManager"));
    let field = new StringDataDefinition_1.StringDataDefinition("directReportsID");
    field.list = true;
    data.fields.push(field);
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("officeLocationID"));
    data.fields.push(new StringDataDefinition_1.StringDataDefinition("deskID"));
    data.value = {
        employeeID: "100",
        firstName: "Carl",
        lastName: "Hewitt",
        socialSecurityNumber: "000-000-0000",
        homeAddress: {
            streetAddress: "120 Tall Pine Ln",
            city: "abc...",
            state: "abc...",
            zipCode: "abc...",
            country: "abc...",
        },
        emailAddress: "abc...",
        phoneNumber: "abc...",
        dateOfBirth: "2000-02-16T11:11:00.000-05:00",
        dateOfHire: "2022-09-20T11:10:03.563-04:00",
        dateOfTermination: "2022-09-20T11:10:03.563-04:00",
        position: "CT)",
        salaryBand: "AC",
        department: "D",
        managerID: "9999",
        fullTime: true,
        benefitsID: "sd",
        exempt: true,
        disciplinaryActionsHistory: [
            {
                description: "abc...",
                currentManagerID: "abc...",
                actionTaken: "abc...",
                dateOfIncident: "2022-09-20T11:10:03.563-04:00",
            },
        ],
        vacationDaysUsed: 12,
        sickDaysUsed: 1,
        vacationDaysRemaining: 3,
        sickDaysRemaining: 4,
        emergencyContactName: "abc...",
        emergencyContactPhoneNumber: "757-555-5555",
        emergencyContactRelationship: "same",
        onboarded: true,
        promotionHistory: [
            {
                position: "abc...",
                dateOfPromotion: "2022-09-20T11:10:03.563-04:00",
                comments: "abc...",
                salary: 10003,
            },
        ],
        isManager: true,
        directReportsID: ["abc..."],
        officeLocationID: "abc...",
        deskID: "abc...",
    };
    return data;
};
exports.getTestInputDataDefinition = getTestInputDataDefinition;
//# sourceMappingURL=DataDefinition.js.map