"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema = exports.HrisCreateEmploymentRequestDtoGrade$ = exports.HrisCreateEmploymentRequestDtoGrade$outboundSchema = exports.HrisCreateEmploymentRequestDtoGrade$inboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentType$ = exports.HrisCreateEmploymentRequestDtoEmploymentType$outboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentType$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasValue$ = exports.HrisCreateEmploymentRequestDtoSchemasValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$ = exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemas4$ = exports.HrisCreateEmploymentRequestDtoSchemas4$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemas4$inboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentContractType$ = exports.HrisCreateEmploymentRequestDtoEmploymentContractType$outboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentContractType$inboundSchema = exports.HrisCreateEmploymentRequestDtoValue$ = exports.HrisCreateEmploymentRequestDtoValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSourceValue$ = exports.HrisCreateEmploymentRequestDtoSourceValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSourceValue$inboundSchema = exports.HrisCreateEmploymentRequestDto4$ = exports.HrisCreateEmploymentRequestDto4$outboundSchema = exports.HrisCreateEmploymentRequestDto4$inboundSchema = exports.HrisCreateEmploymentRequestDtoContractType$ = exports.HrisCreateEmploymentRequestDtoContractType$outboundSchema = exports.HrisCreateEmploymentRequestDtoContractType$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType$ = exports.HrisCreateEmploymentRequestDtoSchemasContractType$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$ = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$ = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType4$ = exports.HrisCreateEmploymentRequestDtoSchemasContractType4$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType4$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue = exports.HrisCreateEmploymentRequestDtoSchemasTypeValue = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue = exports.HrisCreateEmploymentRequestDtoSchemasValue = exports.HrisCreateEmploymentRequestDtoValue = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue = void 0;
exports.HrisCreateEmploymentRequestDtoPeriod$ = exports.HrisCreateEmploymentRequestDtoPeriod$outboundSchema = exports.HrisCreateEmploymentRequestDtoPeriod$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$ = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$ = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$ = exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$inboundSchema = exports.HrisCreateEmploymentRequestDtoType$ = exports.HrisCreateEmploymentRequestDtoType$outboundSchema = exports.HrisCreateEmploymentRequestDtoType$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType$ = exports.HrisCreateEmploymentRequestDtoSchemasType$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$ = exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$ = exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType4$ = exports.HrisCreateEmploymentRequestDtoSchemasType4$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType4$inboundSchema = exports.HrisCreateEmploymentRequestDtoPayPeriod$ = exports.HrisCreateEmploymentRequestDtoPayPeriod$outboundSchema = exports.HrisCreateEmploymentRequestDtoPayPeriod$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$ = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$ = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$ = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema = exports.HrisCreateEmploymentRequestDtoPayFrequency$ = exports.HrisCreateEmploymentRequestDtoPayFrequency$outboundSchema = exports.HrisCreateEmploymentRequestDtoPayFrequency$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$ = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$ = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$ = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema = void 0;
exports.HrisCreateEmploymentRequestDto$ = exports.HrisCreateEmploymentRequestDto$outboundSchema = exports.HrisCreateEmploymentRequestDto$inboundSchema = exports.HrisCreateEmploymentRequestDtoWorkTime$ = exports.HrisCreateEmploymentRequestDtoWorkTime$outboundSchema = exports.HrisCreateEmploymentRequestDtoWorkTime$inboundSchema = void 0;
exports.hrisCreateEmploymentRequestDtoSchemasContractType4ToJSON = hrisCreateEmploymentRequestDtoSchemasContractType4ToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasContractType4FromJSON = hrisCreateEmploymentRequestDtoSchemasContractType4FromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValueToJSON = hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValueToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValueFromJSON = hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValueFromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasContractTypeToJSON = hrisCreateEmploymentRequestDtoSchemasContractTypeToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasContractTypeFromJSON = hrisCreateEmploymentRequestDtoSchemasContractTypeFromJSON;
exports.hrisCreateEmploymentRequestDtoContractTypeToJSON = hrisCreateEmploymentRequestDtoContractTypeToJSON;
exports.hrisCreateEmploymentRequestDtoContractTypeFromJSON = hrisCreateEmploymentRequestDtoContractTypeFromJSON;
exports.hrisCreateEmploymentRequestDto4ToJSON = hrisCreateEmploymentRequestDto4ToJSON;
exports.hrisCreateEmploymentRequestDto4FromJSON = hrisCreateEmploymentRequestDto4FromJSON;
exports.hrisCreateEmploymentRequestDtoSourceValueToJSON = hrisCreateEmploymentRequestDtoSourceValueToJSON;
exports.hrisCreateEmploymentRequestDtoSourceValueFromJSON = hrisCreateEmploymentRequestDtoSourceValueFromJSON;
exports.hrisCreateEmploymentRequestDtoEmploymentContractTypeToJSON = hrisCreateEmploymentRequestDtoEmploymentContractTypeToJSON;
exports.hrisCreateEmploymentRequestDtoEmploymentContractTypeFromJSON = hrisCreateEmploymentRequestDtoEmploymentContractTypeFromJSON;
exports.hrisCreateEmploymentRequestDtoSchemas4ToJSON = hrisCreateEmploymentRequestDtoSchemas4ToJSON;
exports.hrisCreateEmploymentRequestDtoSchemas4FromJSON = hrisCreateEmploymentRequestDtoSchemas4FromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasSourceValueToJSON = hrisCreateEmploymentRequestDtoSchemasSourceValueToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasSourceValueFromJSON = hrisCreateEmploymentRequestDtoSchemasSourceValueFromJSON;
exports.hrisCreateEmploymentRequestDtoEmploymentTypeToJSON = hrisCreateEmploymentRequestDtoEmploymentTypeToJSON;
exports.hrisCreateEmploymentRequestDtoEmploymentTypeFromJSON = hrisCreateEmploymentRequestDtoEmploymentTypeFromJSON;
exports.hrisCreateEmploymentRequestDtoGradeToJSON = hrisCreateEmploymentRequestDtoGradeToJSON;
exports.hrisCreateEmploymentRequestDtoGradeFromJSON = hrisCreateEmploymentRequestDtoGradeFromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayFrequency4ToJSON = hrisCreateEmploymentRequestDtoSchemasPayFrequency4ToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayFrequency4FromJSON = hrisCreateEmploymentRequestDtoSchemasPayFrequency4FromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValueToJSON = hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValueToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValueFromJSON = hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValueFromJSON;
exports.hrisCreateEmploymentRequestDtoPayFrequencyToJSON = hrisCreateEmploymentRequestDtoPayFrequencyToJSON;
exports.hrisCreateEmploymentRequestDtoPayFrequencyFromJSON = hrisCreateEmploymentRequestDtoPayFrequencyFromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayPeriod4ToJSON = hrisCreateEmploymentRequestDtoSchemasPayPeriod4ToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayPeriod4FromJSON = hrisCreateEmploymentRequestDtoSchemasPayPeriod4FromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValueToJSON = hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValueToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValueFromJSON = hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValueFromJSON;
exports.hrisCreateEmploymentRequestDtoPayPeriodToJSON = hrisCreateEmploymentRequestDtoPayPeriodToJSON;
exports.hrisCreateEmploymentRequestDtoPayPeriodFromJSON = hrisCreateEmploymentRequestDtoPayPeriodFromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasType4ToJSON = hrisCreateEmploymentRequestDtoSchemasType4ToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasType4FromJSON = hrisCreateEmploymentRequestDtoSchemasType4FromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasTypeSourceValueToJSON = hrisCreateEmploymentRequestDtoSchemasTypeSourceValueToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasTypeSourceValueFromJSON = hrisCreateEmploymentRequestDtoSchemasTypeSourceValueFromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasTypeToJSON = hrisCreateEmploymentRequestDtoSchemasTypeToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasTypeFromJSON = hrisCreateEmploymentRequestDtoSchemasTypeFromJSON;
exports.hrisCreateEmploymentRequestDtoTypeToJSON = hrisCreateEmploymentRequestDtoTypeToJSON;
exports.hrisCreateEmploymentRequestDtoTypeFromJSON = hrisCreateEmploymentRequestDtoTypeFromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasWorkTime4ToJSON = hrisCreateEmploymentRequestDtoSchemasWorkTime4ToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasWorkTime4FromJSON = hrisCreateEmploymentRequestDtoSchemasWorkTime4FromJSON;
exports.hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValueToJSON = hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValueToJSON;
exports.hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValueFromJSON = hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValueFromJSON;
exports.hrisCreateEmploymentRequestDtoPeriodToJSON = hrisCreateEmploymentRequestDtoPeriodToJSON;
exports.hrisCreateEmploymentRequestDtoPeriodFromJSON = hrisCreateEmploymentRequestDtoPeriodFromJSON;
exports.hrisCreateEmploymentRequestDtoWorkTimeToJSON = hrisCreateEmploymentRequestDtoWorkTimeToJSON;
exports.hrisCreateEmploymentRequestDtoWorkTimeFromJSON = hrisCreateEmploymentRequestDtoWorkTimeFromJSON;
exports.hrisCreateEmploymentRequestDtoToJSON = hrisCreateEmploymentRequestDtoToJSON;
exports.hrisCreateEmploymentRequestDtoFromJSON = hrisCreateEmploymentRequestDtoFromJSON;
const z = __importStar(require("zod/v3"));
const primitives_js_1 = require("../../../lib/primitives.js");
const schemas_js_1 = require("../../../lib/schemas.js");
const enums_js_1 = require("../../types/enums.js");
var HrisCreateEmploymentRequestDtoSchemasContractTypeValue;
(function (HrisCreateEmploymentRequestDtoSchemasContractTypeValue) {
    HrisCreateEmploymentRequestDtoSchemasContractTypeValue["FullTime"] = "full_time";
    HrisCreateEmploymentRequestDtoSchemasContractTypeValue["Shifts"] = "shifts";
    HrisCreateEmploymentRequestDtoSchemasContractTypeValue["PartTime"] = "part_time";
    HrisCreateEmploymentRequestDtoSchemasContractTypeValue["UnmappedValue"] = "unmapped_value";
})(HrisCreateEmploymentRequestDtoSchemasContractTypeValue || (exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue = HrisCreateEmploymentRequestDtoSchemasContractTypeValue = {}));
var HrisCreateEmploymentRequestDtoValue;
(function (HrisCreateEmploymentRequestDtoValue) {
    HrisCreateEmploymentRequestDtoValue["FullTime"] = "full_time";
    HrisCreateEmploymentRequestDtoValue["Shifts"] = "shifts";
    HrisCreateEmploymentRequestDtoValue["PartTime"] = "part_time";
    HrisCreateEmploymentRequestDtoValue["UnmappedValue"] = "unmapped_value";
})(HrisCreateEmploymentRequestDtoValue || (exports.HrisCreateEmploymentRequestDtoValue = HrisCreateEmploymentRequestDtoValue = {}));
/**
 * The type of the employment.
 */
var HrisCreateEmploymentRequestDtoSchemasValue;
(function (HrisCreateEmploymentRequestDtoSchemasValue) {
    HrisCreateEmploymentRequestDtoSchemasValue["Contractor"] = "contractor";
    HrisCreateEmploymentRequestDtoSchemasValue["Intern"] = "intern";
    HrisCreateEmploymentRequestDtoSchemasValue["Permanent"] = "permanent";
    HrisCreateEmploymentRequestDtoSchemasValue["Apprentice"] = "apprentice";
    HrisCreateEmploymentRequestDtoSchemasValue["Freelance"] = "freelance";
    HrisCreateEmploymentRequestDtoSchemasValue["Terminated"] = "terminated";
    HrisCreateEmploymentRequestDtoSchemasValue["Temporary"] = "temporary";
    HrisCreateEmploymentRequestDtoSchemasValue["Seasonal"] = "seasonal";
    HrisCreateEmploymentRequestDtoSchemasValue["Volunteer"] = "volunteer";
    HrisCreateEmploymentRequestDtoSchemasValue["Probation"] = "probation";
    HrisCreateEmploymentRequestDtoSchemasValue["Internal"] = "internal";
    HrisCreateEmploymentRequestDtoSchemasValue["External"] = "external";
    HrisCreateEmploymentRequestDtoSchemasValue["Expatriate"] = "expatriate";
    HrisCreateEmploymentRequestDtoSchemasValue["EmployerOfRecord"] = "employer_of_record";
    HrisCreateEmploymentRequestDtoSchemasValue["Casual"] = "casual";
    HrisCreateEmploymentRequestDtoSchemasValue["Programme"] = "Programme";
    HrisCreateEmploymentRequestDtoSchemasValue["UnmappedValue"] = "unmapped_value";
})(HrisCreateEmploymentRequestDtoSchemasValue || (exports.HrisCreateEmploymentRequestDtoSchemasValue = HrisCreateEmploymentRequestDtoSchemasValue = {}));
/**
 * The pay frequency of the job postings.
 */
var HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue;
(function (HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue) {
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["Hourly"] = "hourly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["Weekly"] = "weekly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["BiWeekly"] = "bi_weekly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["FourWeekly"] = "four_weekly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["SemiMonthly"] = "semi_monthly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["Monthly"] = "monthly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["BiMonthly"] = "bi_monthly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["Quarterly"] = "quarterly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["SemiAnnually"] = "semi_annually";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["Yearly"] = "yearly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["ThirteenMonthly"] = "thirteen_monthly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["ProRata"] = "pro_rata";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["UnmappedValue"] = "unmapped_value";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["HalfYearly"] = "half_yearly";
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue["Daily"] = "daily";
})(HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue || (exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue = HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue = {}));
/**
 * The pay period of the job postings.
 */
var HrisCreateEmploymentRequestDtoSchemasPayPeriodValue;
(function (HrisCreateEmploymentRequestDtoSchemasPayPeriodValue) {
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["Hour"] = "hour";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["Day"] = "day";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["Week"] = "week";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["EveryTwoWeeks"] = "every_two_weeks";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["Month"] = "month";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["TwiceAMonth"] = "twice_a_month";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["EveryTwoMonths"] = "every_two_months";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["Quarter"] = "quarter";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["EverySixMonths"] = "every_six_months";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["Year"] = "year";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["OneOff"] = "one_off";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["None"] = "none";
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue["UnmappedValue"] = "unmapped_value";
})(HrisCreateEmploymentRequestDtoSchemasPayPeriodValue || (exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue = HrisCreateEmploymentRequestDtoSchemasPayPeriodValue = {}));
var HrisCreateEmploymentRequestDtoSchemasTypeValue;
(function (HrisCreateEmploymentRequestDtoSchemasTypeValue) {
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Contractor"] = "contractor";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Intern"] = "intern";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Permanent"] = "permanent";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Apprentice"] = "apprentice";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Freelance"] = "freelance";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Terminated"] = "terminated";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Temporary"] = "temporary";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Seasonal"] = "seasonal";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Volunteer"] = "volunteer";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Probation"] = "probation";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Internal"] = "internal";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["External"] = "external";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Expatriate"] = "expatriate";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["EmployerOfRecord"] = "employer_of_record";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Casual"] = "casual";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["Programme"] = "Programme";
    HrisCreateEmploymentRequestDtoSchemasTypeValue["UnmappedValue"] = "unmapped_value";
})(HrisCreateEmploymentRequestDtoSchemasTypeValue || (exports.HrisCreateEmploymentRequestDtoSchemasTypeValue = HrisCreateEmploymentRequestDtoSchemasTypeValue = {}));
/**
 * The unified value for the period.
 */
var HrisCreateEmploymentRequestDtoSchemasWorkTimeValue;
(function (HrisCreateEmploymentRequestDtoSchemasWorkTimeValue) {
    HrisCreateEmploymentRequestDtoSchemasWorkTimeValue["Day"] = "day";
    HrisCreateEmploymentRequestDtoSchemasWorkTimeValue["Week"] = "week";
    HrisCreateEmploymentRequestDtoSchemasWorkTimeValue["Month"] = "month";
    HrisCreateEmploymentRequestDtoSchemasWorkTimeValue["Year"] = "year";
    HrisCreateEmploymentRequestDtoSchemasWorkTimeValue["UnmappedValue"] = "unmapped_value";
})(HrisCreateEmploymentRequestDtoSchemasWorkTimeValue || (exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue = HrisCreateEmploymentRequestDtoSchemasWorkTimeValue = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractType4$inboundSchema = z.object({});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractType4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasContractType4$;
(function (HrisCreateEmploymentRequestDtoSchemasContractType4$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractType4$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractType4$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType4$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractType4$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractType4$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType4$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasContractType4$ || (exports.HrisCreateEmploymentRequestDtoSchemasContractType4$ = HrisCreateEmploymentRequestDtoSchemasContractType4$ = {}));
function hrisCreateEmploymentRequestDtoSchemasContractType4ToJSON(hrisCreateEmploymentRequestDtoSchemasContractType4) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasContractType4$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasContractType4));
}
function hrisCreateEmploymentRequestDtoSchemasContractType4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasContractType4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasContractType4' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasContractType4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasContractType4$outboundSchema),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$;
(function (HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$ = HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$ = {}));
function hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValueToJSON(hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema
        .parse(hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue));
}
function hrisCreateEmploymentRequestDtoSchemasContractTypeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasContractTypeSourceValue' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasContractTypeValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema = z.union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasContractTypeValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasContractTypeValue$;
(function (HrisCreateEmploymentRequestDtoSchemasContractTypeValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractTypeValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractTypeValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasContractTypeValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$ = HrisCreateEmploymentRequestDtoSchemasContractTypeValue$ = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasContractType4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasContractType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasContractType4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasContractType$;
(function (HrisCreateEmploymentRequestDtoSchemasContractType$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractType$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractType$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasContractType$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasContractType$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasContractType$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasContractType$ || (exports.HrisCreateEmploymentRequestDtoSchemasContractType$ = HrisCreateEmploymentRequestDtoSchemasContractType$ = {}));
function hrisCreateEmploymentRequestDtoSchemasContractTypeToJSON(hrisCreateEmploymentRequestDtoSchemasContractType) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasContractType$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasContractType));
}
function hrisCreateEmploymentRequestDtoSchemasContractTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasContractType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasContractType' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoContractType$inboundSchema = z.object({
    contract_type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasContractType$inboundSchema)).optional(),
    id: z.nullable(z.string()).optional(),
    label: z.nullable(z.string()).optional(),
    remote_id: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "contract_type": "contractType",
        "remote_id": "remoteId",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoContractType$outboundSchema = z.object({
    contractType: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasContractType$outboundSchema)).optional(),
    id: z.nullable(z.string()).optional(),
    label: z.nullable(z.string()).optional(),
    remoteId: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        contractType: "contract_type",
        remoteId: "remote_id",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoContractType$;
(function (HrisCreateEmploymentRequestDtoContractType$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoContractType$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoContractType$.inboundSchema = exports.HrisCreateEmploymentRequestDtoContractType$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoContractType$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoContractType$.outboundSchema = exports.HrisCreateEmploymentRequestDtoContractType$outboundSchema;
})(HrisCreateEmploymentRequestDtoContractType$ || (exports.HrisCreateEmploymentRequestDtoContractType$ = HrisCreateEmploymentRequestDtoContractType$ = {}));
function hrisCreateEmploymentRequestDtoContractTypeToJSON(hrisCreateEmploymentRequestDtoContractType) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoContractType$outboundSchema.parse(hrisCreateEmploymentRequestDtoContractType));
}
function hrisCreateEmploymentRequestDtoContractTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoContractType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoContractType' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDto4$inboundSchema = z.object({});
/** @internal */
exports.HrisCreateEmploymentRequestDto4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDto4$;
(function (HrisCreateEmploymentRequestDto4$) {
    /** @deprecated use `HrisCreateEmploymentRequestDto4$inboundSchema` instead. */
    HrisCreateEmploymentRequestDto4$.inboundSchema = exports.HrisCreateEmploymentRequestDto4$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDto4$outboundSchema` instead. */
    HrisCreateEmploymentRequestDto4$.outboundSchema = exports.HrisCreateEmploymentRequestDto4$outboundSchema;
})(HrisCreateEmploymentRequestDto4$ || (exports.HrisCreateEmploymentRequestDto4$ = HrisCreateEmploymentRequestDto4$ = {}));
function hrisCreateEmploymentRequestDto4ToJSON(hrisCreateEmploymentRequestDto4) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDto4$outboundSchema.parse(hrisCreateEmploymentRequestDto4));
}
function hrisCreateEmploymentRequestDto4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDto4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDto4' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDto4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDto4$outboundSchema),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSourceValue$;
(function (HrisCreateEmploymentRequestDtoSourceValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSourceValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSourceValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSourceValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSourceValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSourceValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSourceValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSourceValue$ || (exports.HrisCreateEmploymentRequestDtoSourceValue$ = HrisCreateEmploymentRequestDtoSourceValue$ = {}));
function hrisCreateEmploymentRequestDtoSourceValueToJSON(hrisCreateEmploymentRequestDtoSourceValue) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSourceValue$outboundSchema.parse(hrisCreateEmploymentRequestDtoSourceValue));
}
function hrisCreateEmploymentRequestDtoSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSourceValue' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoValue$outboundSchema = z.union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoValue$;
(function (HrisCreateEmploymentRequestDtoValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoValue$ || (exports.HrisCreateEmploymentRequestDtoValue$ = HrisCreateEmploymentRequestDtoValue$ = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoEmploymentContractType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDto4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoValue$inboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoEmploymentContractType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDto4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoValue$outboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoEmploymentContractType$;
(function (HrisCreateEmploymentRequestDtoEmploymentContractType$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoEmploymentContractType$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoEmploymentContractType$.inboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentContractType$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoEmploymentContractType$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoEmploymentContractType$.outboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentContractType$outboundSchema;
})(HrisCreateEmploymentRequestDtoEmploymentContractType$ || (exports.HrisCreateEmploymentRequestDtoEmploymentContractType$ = HrisCreateEmploymentRequestDtoEmploymentContractType$ = {}));
function hrisCreateEmploymentRequestDtoEmploymentContractTypeToJSON(hrisCreateEmploymentRequestDtoEmploymentContractType) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoEmploymentContractType$outboundSchema.parse(hrisCreateEmploymentRequestDtoEmploymentContractType));
}
function hrisCreateEmploymentRequestDtoEmploymentContractTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoEmploymentContractType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoEmploymentContractType' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemas4$inboundSchema = z.object({});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemas4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemas4$;
(function (HrisCreateEmploymentRequestDtoSchemas4$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemas4$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemas4$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemas4$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemas4$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemas4$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemas4$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemas4$ || (exports.HrisCreateEmploymentRequestDtoSchemas4$ = HrisCreateEmploymentRequestDtoSchemas4$ = {}));
function hrisCreateEmploymentRequestDtoSchemas4ToJSON(hrisCreateEmploymentRequestDtoSchemas4) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemas4$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemas4));
}
function hrisCreateEmploymentRequestDtoSchemas4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemas4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemas4' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemas4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemas4$outboundSchema),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasSourceValue$;
(function (HrisCreateEmploymentRequestDtoSchemasSourceValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasSourceValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasSourceValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasSourceValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasSourceValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasSourceValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$ = HrisCreateEmploymentRequestDtoSchemasSourceValue$ = {}));
function hrisCreateEmploymentRequestDtoSchemasSourceValueToJSON(hrisCreateEmploymentRequestDtoSchemasSourceValue) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasSourceValue));
}
function hrisCreateEmploymentRequestDtoSchemasSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasSourceValue' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasValue$outboundSchema = z.union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasValue$;
(function (HrisCreateEmploymentRequestDtoSchemasValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasValue$ = HrisCreateEmploymentRequestDtoSchemasValue$ = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoEmploymentType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemas4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasValue$inboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoEmploymentType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemas4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasValue$outboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoEmploymentType$;
(function (HrisCreateEmploymentRequestDtoEmploymentType$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoEmploymentType$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoEmploymentType$.inboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentType$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoEmploymentType$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoEmploymentType$.outboundSchema = exports.HrisCreateEmploymentRequestDtoEmploymentType$outboundSchema;
})(HrisCreateEmploymentRequestDtoEmploymentType$ || (exports.HrisCreateEmploymentRequestDtoEmploymentType$ = HrisCreateEmploymentRequestDtoEmploymentType$ = {}));
function hrisCreateEmploymentRequestDtoEmploymentTypeToJSON(hrisCreateEmploymentRequestDtoEmploymentType) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoEmploymentType$outboundSchema.parse(hrisCreateEmploymentRequestDtoEmploymentType));
}
function hrisCreateEmploymentRequestDtoEmploymentTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoEmploymentType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoEmploymentType' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoGrade$inboundSchema = z.object({
    description: z.nullable(z.string()).optional(),
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    remote_id: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "remote_id": "remoteId",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoGrade$outboundSchema = z.object({
    description: z.nullable(z.string()).optional(),
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    remoteId: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        remoteId: "remote_id",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoGrade$;
(function (HrisCreateEmploymentRequestDtoGrade$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoGrade$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoGrade$.inboundSchema = exports.HrisCreateEmploymentRequestDtoGrade$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoGrade$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoGrade$.outboundSchema = exports.HrisCreateEmploymentRequestDtoGrade$outboundSchema;
})(HrisCreateEmploymentRequestDtoGrade$ || (exports.HrisCreateEmploymentRequestDtoGrade$ = HrisCreateEmploymentRequestDtoGrade$ = {}));
function hrisCreateEmploymentRequestDtoGradeToJSON(hrisCreateEmploymentRequestDtoGrade) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoGrade$outboundSchema.parse(hrisCreateEmploymentRequestDtoGrade));
}
function hrisCreateEmploymentRequestDtoGradeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoGrade$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoGrade' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema = z.object({});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasPayFrequency4$;
(function (HrisCreateEmploymentRequestDtoSchemasPayFrequency4$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayFrequency4$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayFrequency4$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasPayFrequency4$ || (exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$ = HrisCreateEmploymentRequestDtoSchemasPayFrequency4$ = {}));
function hrisCreateEmploymentRequestDtoSchemasPayFrequency4ToJSON(hrisCreateEmploymentRequestDtoSchemasPayFrequency4) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasPayFrequency4));
}
function hrisCreateEmploymentRequestDtoSchemasPayFrequency4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasPayFrequency4' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$;
(function (HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$ = HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$ = {}));
function hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValueToJSON(hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema
        .parse(hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue));
}
function hrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasPayFrequencySourceValue' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema = z.union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$;
(function (HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$ = HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$ = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoPayFrequency$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoPayFrequency$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoPayFrequency$;
(function (HrisCreateEmploymentRequestDtoPayFrequency$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoPayFrequency$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoPayFrequency$.inboundSchema = exports.HrisCreateEmploymentRequestDtoPayFrequency$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoPayFrequency$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoPayFrequency$.outboundSchema = exports.HrisCreateEmploymentRequestDtoPayFrequency$outboundSchema;
})(HrisCreateEmploymentRequestDtoPayFrequency$ || (exports.HrisCreateEmploymentRequestDtoPayFrequency$ = HrisCreateEmploymentRequestDtoPayFrequency$ = {}));
function hrisCreateEmploymentRequestDtoPayFrequencyToJSON(hrisCreateEmploymentRequestDtoPayFrequency) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoPayFrequency$outboundSchema.parse(hrisCreateEmploymentRequestDtoPayFrequency));
}
function hrisCreateEmploymentRequestDtoPayFrequencyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoPayFrequency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoPayFrequency' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema = z.object({});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasPayPeriod4$;
(function (HrisCreateEmploymentRequestDtoSchemasPayPeriod4$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayPeriod4$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayPeriod4$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasPayPeriod4$ || (exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$ = HrisCreateEmploymentRequestDtoSchemasPayPeriod4$ = {}));
function hrisCreateEmploymentRequestDtoSchemasPayPeriod4ToJSON(hrisCreateEmploymentRequestDtoSchemasPayPeriod4) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasPayPeriod4));
}
function hrisCreateEmploymentRequestDtoSchemasPayPeriod4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasPayPeriod4' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$;
(function (HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$ = HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$ = {}));
function hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValueToJSON(hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema
        .parse(hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue));
}
function hrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasPayPeriodSourceValue' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasPayPeriodValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema = z.union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasPayPeriodValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$;
(function (HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$ = HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$ = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoPayPeriod$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoPayPeriod$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoPayPeriod$;
(function (HrisCreateEmploymentRequestDtoPayPeriod$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoPayPeriod$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoPayPeriod$.inboundSchema = exports.HrisCreateEmploymentRequestDtoPayPeriod$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoPayPeriod$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoPayPeriod$.outboundSchema = exports.HrisCreateEmploymentRequestDtoPayPeriod$outboundSchema;
})(HrisCreateEmploymentRequestDtoPayPeriod$ || (exports.HrisCreateEmploymentRequestDtoPayPeriod$ = HrisCreateEmploymentRequestDtoPayPeriod$ = {}));
function hrisCreateEmploymentRequestDtoPayPeriodToJSON(hrisCreateEmploymentRequestDtoPayPeriod) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoPayPeriod$outboundSchema.parse(hrisCreateEmploymentRequestDtoPayPeriod));
}
function hrisCreateEmploymentRequestDtoPayPeriodFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoPayPeriod$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoPayPeriod' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasType4$inboundSchema = z.object({});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasType4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasType4$;
(function (HrisCreateEmploymentRequestDtoSchemasType4$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasType4$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasType4$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType4$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasType4$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasType4$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType4$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasType4$ || (exports.HrisCreateEmploymentRequestDtoSchemasType4$ = HrisCreateEmploymentRequestDtoSchemasType4$ = {}));
function hrisCreateEmploymentRequestDtoSchemasType4ToJSON(hrisCreateEmploymentRequestDtoSchemasType4) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasType4$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasType4));
}
function hrisCreateEmploymentRequestDtoSchemasType4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasType4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasType4' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasType4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasType4$outboundSchema),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$;
(function (HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$ = HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$ = {}));
function hrisCreateEmploymentRequestDtoSchemasTypeSourceValueToJSON(hrisCreateEmploymentRequestDtoSchemasTypeSourceValue) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasTypeSourceValue));
}
function hrisCreateEmploymentRequestDtoSchemasTypeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasTypeSourceValue' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasTypeValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$outboundSchema = z.union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasTypeValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasTypeValue$;
(function (HrisCreateEmploymentRequestDtoSchemasTypeValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasTypeValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasTypeValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasTypeValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasTypeValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasTypeValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$ = HrisCreateEmploymentRequestDtoSchemasTypeValue$ = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasType4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasType4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasTypeValue$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasType$;
(function (HrisCreateEmploymentRequestDtoSchemasType$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasType$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasType$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasType$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasType$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasType$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasType$ || (exports.HrisCreateEmploymentRequestDtoSchemasType$ = HrisCreateEmploymentRequestDtoSchemasType$ = {}));
function hrisCreateEmploymentRequestDtoSchemasTypeToJSON(hrisCreateEmploymentRequestDtoSchemasType) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasType$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasType));
}
function hrisCreateEmploymentRequestDtoSchemasTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasType' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoType$inboundSchema = z.object({
    id: z.nullable(z.string()).optional(),
    label: z.nullable(z.string()).optional(),
    remote_id: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasType$inboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "remote_id": "remoteId",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoType$outboundSchema = z.object({
    id: z.nullable(z.string()).optional(),
    label: z.nullable(z.string()).optional(),
    remoteId: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasType$outboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        remoteId: "remote_id",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoType$;
(function (HrisCreateEmploymentRequestDtoType$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoType$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoType$.inboundSchema = exports.HrisCreateEmploymentRequestDtoType$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoType$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoType$.outboundSchema = exports.HrisCreateEmploymentRequestDtoType$outboundSchema;
})(HrisCreateEmploymentRequestDtoType$ || (exports.HrisCreateEmploymentRequestDtoType$ = HrisCreateEmploymentRequestDtoType$ = {}));
function hrisCreateEmploymentRequestDtoTypeToJSON(hrisCreateEmploymentRequestDtoType) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoType$outboundSchema.parse(hrisCreateEmploymentRequestDtoType));
}
function hrisCreateEmploymentRequestDtoTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoType' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$inboundSchema = z.object({});
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasWorkTime4$;
(function (HrisCreateEmploymentRequestDtoSchemasWorkTime4$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasWorkTime4$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasWorkTime4$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasWorkTime4$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasWorkTime4$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasWorkTime4$ || (exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$ = HrisCreateEmploymentRequestDtoSchemasWorkTime4$ = {}));
function hrisCreateEmploymentRequestDtoSchemasWorkTime4ToJSON(hrisCreateEmploymentRequestDtoSchemasWorkTime4) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$outboundSchema.parse(hrisCreateEmploymentRequestDtoSchemasWorkTime4));
}
function hrisCreateEmploymentRequestDtoSchemasWorkTime4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasWorkTime4' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$outboundSchema),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$;
(function (HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$ = HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$ = {}));
function hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValueToJSON(hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema
        .parse(hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue));
}
function hrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoSchemasWorkTimeSourceValue' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasWorkTimeValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema = z.union([
    z.nativeEnum(HrisCreateEmploymentRequestDtoSchemasWorkTimeValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$;
(function (HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$.inboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$.outboundSchema = exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema;
})(HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$ || (exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$ = HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$ = {}));
/** @internal */
exports.HrisCreateEmploymentRequestDtoPeriod$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoPeriod$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisCreateEmploymentRequestDtoSchemasWorkTime4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisCreateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoPeriod$;
(function (HrisCreateEmploymentRequestDtoPeriod$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoPeriod$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoPeriod$.inboundSchema = exports.HrisCreateEmploymentRequestDtoPeriod$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoPeriod$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoPeriod$.outboundSchema = exports.HrisCreateEmploymentRequestDtoPeriod$outboundSchema;
})(HrisCreateEmploymentRequestDtoPeriod$ || (exports.HrisCreateEmploymentRequestDtoPeriod$ = HrisCreateEmploymentRequestDtoPeriod$ = {}));
function hrisCreateEmploymentRequestDtoPeriodToJSON(hrisCreateEmploymentRequestDtoPeriod) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoPeriod$outboundSchema.parse(hrisCreateEmploymentRequestDtoPeriod));
}
function hrisCreateEmploymentRequestDtoPeriodFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoPeriod$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoPeriod' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDtoWorkTime$inboundSchema = z.object({
    duration: z.nullable(z.string()).optional(),
    period: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoPeriod$inboundSchema)).optional(),
});
/** @internal */
exports.HrisCreateEmploymentRequestDtoWorkTime$outboundSchema = z.object({
    duration: z.nullable(z.string()).optional(),
    period: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoPeriod$outboundSchema)).optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDtoWorkTime$;
(function (HrisCreateEmploymentRequestDtoWorkTime$) {
    /** @deprecated use `HrisCreateEmploymentRequestDtoWorkTime$inboundSchema` instead. */
    HrisCreateEmploymentRequestDtoWorkTime$.inboundSchema = exports.HrisCreateEmploymentRequestDtoWorkTime$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDtoWorkTime$outboundSchema` instead. */
    HrisCreateEmploymentRequestDtoWorkTime$.outboundSchema = exports.HrisCreateEmploymentRequestDtoWorkTime$outboundSchema;
})(HrisCreateEmploymentRequestDtoWorkTime$ || (exports.HrisCreateEmploymentRequestDtoWorkTime$ = HrisCreateEmploymentRequestDtoWorkTime$ = {}));
function hrisCreateEmploymentRequestDtoWorkTimeToJSON(hrisCreateEmploymentRequestDtoWorkTime) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDtoWorkTime$outboundSchema.parse(hrisCreateEmploymentRequestDtoWorkTime));
}
function hrisCreateEmploymentRequestDtoWorkTimeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDtoWorkTime$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDtoWorkTime' from JSON`);
}
/** @internal */
exports.HrisCreateEmploymentRequestDto$inboundSchema = z.object({
    contract_type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoContractType$inboundSchema)).optional(),
    effective_date: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
    employment_contract_type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoEmploymentContractType$inboundSchema)).optional(),
    employment_type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoEmploymentType$inboundSchema)).optional(),
    end_date: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
    grade: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoGrade$inboundSchema)).optional(),
    job_id: z.nullable(z.string()).optional(),
    job_title: z.nullable(z.string()).optional(),
    passthrough: z.nullable(z.record(z.any())).optional(),
    pay_currency: z.nullable(z.string()).optional(),
    pay_frequency: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoPayFrequency$inboundSchema)).optional(),
    pay_period: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoPayPeriod$inboundSchema)).optional(),
    pay_rate: z.nullable(z.string()).optional(),
    payroll_code: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoType$inboundSchema)).optional(),
    unified_custom_fields: z.nullable(z.record(z.any())).optional(),
    work_time: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoWorkTime$inboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "contract_type": "contractType",
        "effective_date": "effectiveDate",
        "employment_contract_type": "employmentContractType",
        "employment_type": "employmentType",
        "end_date": "endDate",
        "job_id": "jobId",
        "job_title": "jobTitle",
        "pay_currency": "payCurrency",
        "pay_frequency": "payFrequency",
        "pay_period": "payPeriod",
        "pay_rate": "payRate",
        "payroll_code": "payrollCode",
        "unified_custom_fields": "unifiedCustomFields",
        "work_time": "workTime",
    });
});
/** @internal */
exports.HrisCreateEmploymentRequestDto$outboundSchema = z.object({
    contractType: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoContractType$outboundSchema)).optional(),
    effectiveDate: z.nullable(z.date().transform(v => v.toISOString()))
        .optional(),
    employmentContractType: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoEmploymentContractType$outboundSchema)).optional(),
    employmentType: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoEmploymentType$outboundSchema)).optional(),
    endDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
    grade: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoGrade$outboundSchema)).optional(),
    jobId: z.nullable(z.string()).optional(),
    jobTitle: z.nullable(z.string()).optional(),
    passthrough: z.nullable(z.record(z.any())).optional(),
    payCurrency: z.nullable(z.string()).optional(),
    payFrequency: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoPayFrequency$outboundSchema)).optional(),
    payPeriod: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoPayPeriod$outboundSchema)).optional(),
    payRate: z.nullable(z.string()).optional(),
    payrollCode: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoType$outboundSchema)).optional(),
    unifiedCustomFields: z.nullable(z.record(z.any())).optional(),
    workTime: z.nullable(z.lazy(() => exports.HrisCreateEmploymentRequestDtoWorkTime$outboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        contractType: "contract_type",
        effectiveDate: "effective_date",
        employmentContractType: "employment_contract_type",
        employmentType: "employment_type",
        endDate: "end_date",
        jobId: "job_id",
        jobTitle: "job_title",
        payCurrency: "pay_currency",
        payFrequency: "pay_frequency",
        payPeriod: "pay_period",
        payRate: "pay_rate",
        payrollCode: "payroll_code",
        unifiedCustomFields: "unified_custom_fields",
        workTime: "work_time",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisCreateEmploymentRequestDto$;
(function (HrisCreateEmploymentRequestDto$) {
    /** @deprecated use `HrisCreateEmploymentRequestDto$inboundSchema` instead. */
    HrisCreateEmploymentRequestDto$.inboundSchema = exports.HrisCreateEmploymentRequestDto$inboundSchema;
    /** @deprecated use `HrisCreateEmploymentRequestDto$outboundSchema` instead. */
    HrisCreateEmploymentRequestDto$.outboundSchema = exports.HrisCreateEmploymentRequestDto$outboundSchema;
})(HrisCreateEmploymentRequestDto$ || (exports.HrisCreateEmploymentRequestDto$ = HrisCreateEmploymentRequestDto$ = {}));
function hrisCreateEmploymentRequestDtoToJSON(hrisCreateEmploymentRequestDto) {
    return JSON.stringify(exports.HrisCreateEmploymentRequestDto$outboundSchema.parse(hrisCreateEmploymentRequestDto));
}
function hrisCreateEmploymentRequestDtoFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisCreateEmploymentRequestDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisCreateEmploymentRequestDto' from JSON`);
}
//# sourceMappingURL=hriscreateemploymentrequestdto.js.map