"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.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema = exports.HrisUpdateEmploymentRequestDtoGrade$ = exports.HrisUpdateEmploymentRequestDtoGrade$outboundSchema = exports.HrisUpdateEmploymentRequestDtoGrade$inboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentType$ = exports.HrisUpdateEmploymentRequestDtoEmploymentType$outboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentType$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemas4$ = exports.HrisUpdateEmploymentRequestDtoSchemas4$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemas4$inboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$ = exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$outboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$inboundSchema = exports.HrisUpdateEmploymentRequestDtoValue$ = exports.HrisUpdateEmploymentRequestDtoValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSourceValue$ = exports.HrisUpdateEmploymentRequestDtoSourceValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSourceValue$inboundSchema = exports.HrisUpdateEmploymentRequestDto4$ = exports.HrisUpdateEmploymentRequestDto4$outboundSchema = exports.HrisUpdateEmploymentRequestDto4$inboundSchema = exports.HrisUpdateEmploymentRequestDtoContractType$ = exports.HrisUpdateEmploymentRequestDtoContractType$outboundSchema = exports.HrisUpdateEmploymentRequestDtoContractType$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType$ = exports.HrisUpdateEmploymentRequestDtoSchemasContractType$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$ = exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue = exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue = exports.HrisUpdateEmploymentRequestDtoSchemasValue = exports.HrisUpdateEmploymentRequestDtoValue = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue = void 0;
exports.HrisUpdateEmploymentRequestDtoPeriod$ = exports.HrisUpdateEmploymentRequestDtoPeriod$outboundSchema = exports.HrisUpdateEmploymentRequestDtoPeriod$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$ = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$inboundSchema = exports.HrisUpdateEmploymentRequestDtoType$ = exports.HrisUpdateEmploymentRequestDtoType$outboundSchema = exports.HrisUpdateEmploymentRequestDtoType$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType$ = exports.HrisUpdateEmploymentRequestDtoSchemasType$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType4$ = exports.HrisUpdateEmploymentRequestDtoSchemasType4$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType4$inboundSchema = exports.HrisUpdateEmploymentRequestDtoPayPeriod$ = exports.HrisUpdateEmploymentRequestDtoPayPeriod$outboundSchema = exports.HrisUpdateEmploymentRequestDtoPayPeriod$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$ = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema = exports.HrisUpdateEmploymentRequestDtoPayFrequency$ = exports.HrisUpdateEmploymentRequestDtoPayFrequency$outboundSchema = exports.HrisUpdateEmploymentRequestDtoPayFrequency$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$ = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$ = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema = void 0;
exports.HrisUpdateEmploymentRequestDto$ = exports.HrisUpdateEmploymentRequestDto$outboundSchema = exports.HrisUpdateEmploymentRequestDto$inboundSchema = exports.HrisUpdateEmploymentRequestDtoWorkTime$ = exports.HrisUpdateEmploymentRequestDtoWorkTime$outboundSchema = exports.HrisUpdateEmploymentRequestDtoWorkTime$inboundSchema = void 0;
exports.hrisUpdateEmploymentRequestDtoSchemasContractType4ToJSON = hrisUpdateEmploymentRequestDtoSchemasContractType4ToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasContractType4FromJSON = hrisUpdateEmploymentRequestDtoSchemasContractType4FromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValueToJSON = hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValueToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValueFromJSON = hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValueFromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasContractTypeToJSON = hrisUpdateEmploymentRequestDtoSchemasContractTypeToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasContractTypeFromJSON = hrisUpdateEmploymentRequestDtoSchemasContractTypeFromJSON;
exports.hrisUpdateEmploymentRequestDtoContractTypeToJSON = hrisUpdateEmploymentRequestDtoContractTypeToJSON;
exports.hrisUpdateEmploymentRequestDtoContractTypeFromJSON = hrisUpdateEmploymentRequestDtoContractTypeFromJSON;
exports.hrisUpdateEmploymentRequestDto4ToJSON = hrisUpdateEmploymentRequestDto4ToJSON;
exports.hrisUpdateEmploymentRequestDto4FromJSON = hrisUpdateEmploymentRequestDto4FromJSON;
exports.hrisUpdateEmploymentRequestDtoSourceValueToJSON = hrisUpdateEmploymentRequestDtoSourceValueToJSON;
exports.hrisUpdateEmploymentRequestDtoSourceValueFromJSON = hrisUpdateEmploymentRequestDtoSourceValueFromJSON;
exports.hrisUpdateEmploymentRequestDtoEmploymentContractTypeToJSON = hrisUpdateEmploymentRequestDtoEmploymentContractTypeToJSON;
exports.hrisUpdateEmploymentRequestDtoEmploymentContractTypeFromJSON = hrisUpdateEmploymentRequestDtoEmploymentContractTypeFromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemas4ToJSON = hrisUpdateEmploymentRequestDtoSchemas4ToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemas4FromJSON = hrisUpdateEmploymentRequestDtoSchemas4FromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasSourceValueToJSON = hrisUpdateEmploymentRequestDtoSchemasSourceValueToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasSourceValueFromJSON = hrisUpdateEmploymentRequestDtoSchemasSourceValueFromJSON;
exports.hrisUpdateEmploymentRequestDtoEmploymentTypeToJSON = hrisUpdateEmploymentRequestDtoEmploymentTypeToJSON;
exports.hrisUpdateEmploymentRequestDtoEmploymentTypeFromJSON = hrisUpdateEmploymentRequestDtoEmploymentTypeFromJSON;
exports.hrisUpdateEmploymentRequestDtoGradeToJSON = hrisUpdateEmploymentRequestDtoGradeToJSON;
exports.hrisUpdateEmploymentRequestDtoGradeFromJSON = hrisUpdateEmploymentRequestDtoGradeFromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayFrequency4ToJSON = hrisUpdateEmploymentRequestDtoSchemasPayFrequency4ToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayFrequency4FromJSON = hrisUpdateEmploymentRequestDtoSchemasPayFrequency4FromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValueToJSON = hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValueToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValueFromJSON = hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValueFromJSON;
exports.hrisUpdateEmploymentRequestDtoPayFrequencyToJSON = hrisUpdateEmploymentRequestDtoPayFrequencyToJSON;
exports.hrisUpdateEmploymentRequestDtoPayFrequencyFromJSON = hrisUpdateEmploymentRequestDtoPayFrequencyFromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayPeriod4ToJSON = hrisUpdateEmploymentRequestDtoSchemasPayPeriod4ToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayPeriod4FromJSON = hrisUpdateEmploymentRequestDtoSchemasPayPeriod4FromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValueToJSON = hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValueToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValueFromJSON = hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValueFromJSON;
exports.hrisUpdateEmploymentRequestDtoPayPeriodToJSON = hrisUpdateEmploymentRequestDtoPayPeriodToJSON;
exports.hrisUpdateEmploymentRequestDtoPayPeriodFromJSON = hrisUpdateEmploymentRequestDtoPayPeriodFromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasType4ToJSON = hrisUpdateEmploymentRequestDtoSchemasType4ToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasType4FromJSON = hrisUpdateEmploymentRequestDtoSchemasType4FromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasTypeSourceValueToJSON = hrisUpdateEmploymentRequestDtoSchemasTypeSourceValueToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasTypeSourceValueFromJSON = hrisUpdateEmploymentRequestDtoSchemasTypeSourceValueFromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasTypeToJSON = hrisUpdateEmploymentRequestDtoSchemasTypeToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasTypeFromJSON = hrisUpdateEmploymentRequestDtoSchemasTypeFromJSON;
exports.hrisUpdateEmploymentRequestDtoTypeToJSON = hrisUpdateEmploymentRequestDtoTypeToJSON;
exports.hrisUpdateEmploymentRequestDtoTypeFromJSON = hrisUpdateEmploymentRequestDtoTypeFromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasWorkTime4ToJSON = hrisUpdateEmploymentRequestDtoSchemasWorkTime4ToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasWorkTime4FromJSON = hrisUpdateEmploymentRequestDtoSchemasWorkTime4FromJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValueToJSON = hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValueToJSON;
exports.hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValueFromJSON = hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValueFromJSON;
exports.hrisUpdateEmploymentRequestDtoPeriodToJSON = hrisUpdateEmploymentRequestDtoPeriodToJSON;
exports.hrisUpdateEmploymentRequestDtoPeriodFromJSON = hrisUpdateEmploymentRequestDtoPeriodFromJSON;
exports.hrisUpdateEmploymentRequestDtoWorkTimeToJSON = hrisUpdateEmploymentRequestDtoWorkTimeToJSON;
exports.hrisUpdateEmploymentRequestDtoWorkTimeFromJSON = hrisUpdateEmploymentRequestDtoWorkTimeFromJSON;
exports.hrisUpdateEmploymentRequestDtoToJSON = hrisUpdateEmploymentRequestDtoToJSON;
exports.hrisUpdateEmploymentRequestDtoFromJSON = hrisUpdateEmploymentRequestDtoFromJSON;
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 HrisUpdateEmploymentRequestDtoSchemasContractTypeValue;
(function (HrisUpdateEmploymentRequestDtoSchemasContractTypeValue) {
    HrisUpdateEmploymentRequestDtoSchemasContractTypeValue["FullTime"] = "full_time";
    HrisUpdateEmploymentRequestDtoSchemasContractTypeValue["Shifts"] = "shifts";
    HrisUpdateEmploymentRequestDtoSchemasContractTypeValue["PartTime"] = "part_time";
    HrisUpdateEmploymentRequestDtoSchemasContractTypeValue["UnmappedValue"] = "unmapped_value";
})(HrisUpdateEmploymentRequestDtoSchemasContractTypeValue || (exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue = HrisUpdateEmploymentRequestDtoSchemasContractTypeValue = {}));
var HrisUpdateEmploymentRequestDtoValue;
(function (HrisUpdateEmploymentRequestDtoValue) {
    HrisUpdateEmploymentRequestDtoValue["FullTime"] = "full_time";
    HrisUpdateEmploymentRequestDtoValue["Shifts"] = "shifts";
    HrisUpdateEmploymentRequestDtoValue["PartTime"] = "part_time";
    HrisUpdateEmploymentRequestDtoValue["UnmappedValue"] = "unmapped_value";
})(HrisUpdateEmploymentRequestDtoValue || (exports.HrisUpdateEmploymentRequestDtoValue = HrisUpdateEmploymentRequestDtoValue = {}));
/**
 * The type of the employment.
 */
var HrisUpdateEmploymentRequestDtoSchemasValue;
(function (HrisUpdateEmploymentRequestDtoSchemasValue) {
    HrisUpdateEmploymentRequestDtoSchemasValue["Contractor"] = "contractor";
    HrisUpdateEmploymentRequestDtoSchemasValue["Intern"] = "intern";
    HrisUpdateEmploymentRequestDtoSchemasValue["Permanent"] = "permanent";
    HrisUpdateEmploymentRequestDtoSchemasValue["Apprentice"] = "apprentice";
    HrisUpdateEmploymentRequestDtoSchemasValue["Freelance"] = "freelance";
    HrisUpdateEmploymentRequestDtoSchemasValue["Terminated"] = "terminated";
    HrisUpdateEmploymentRequestDtoSchemasValue["Temporary"] = "temporary";
    HrisUpdateEmploymentRequestDtoSchemasValue["Seasonal"] = "seasonal";
    HrisUpdateEmploymentRequestDtoSchemasValue["Volunteer"] = "volunteer";
    HrisUpdateEmploymentRequestDtoSchemasValue["Probation"] = "probation";
    HrisUpdateEmploymentRequestDtoSchemasValue["Internal"] = "internal";
    HrisUpdateEmploymentRequestDtoSchemasValue["External"] = "external";
    HrisUpdateEmploymentRequestDtoSchemasValue["Expatriate"] = "expatriate";
    HrisUpdateEmploymentRequestDtoSchemasValue["EmployerOfRecord"] = "employer_of_record";
    HrisUpdateEmploymentRequestDtoSchemasValue["Casual"] = "casual";
    HrisUpdateEmploymentRequestDtoSchemasValue["Programme"] = "Programme";
    HrisUpdateEmploymentRequestDtoSchemasValue["UnmappedValue"] = "unmapped_value";
})(HrisUpdateEmploymentRequestDtoSchemasValue || (exports.HrisUpdateEmploymentRequestDtoSchemasValue = HrisUpdateEmploymentRequestDtoSchemasValue = {}));
/**
 * The pay frequency of the job postings.
 */
var HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue;
(function (HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue) {
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["Hourly"] = "hourly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["Weekly"] = "weekly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["BiWeekly"] = "bi_weekly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["FourWeekly"] = "four_weekly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["SemiMonthly"] = "semi_monthly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["Monthly"] = "monthly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["BiMonthly"] = "bi_monthly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["Quarterly"] = "quarterly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["SemiAnnually"] = "semi_annually";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["Yearly"] = "yearly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["ThirteenMonthly"] = "thirteen_monthly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["ProRata"] = "pro_rata";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["UnmappedValue"] = "unmapped_value";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["HalfYearly"] = "half_yearly";
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue["Daily"] = "daily";
})(HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue || (exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue = HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue = {}));
/**
 * The pay period of the job postings.
 */
var HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue;
(function (HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue) {
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["Hour"] = "hour";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["Day"] = "day";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["Week"] = "week";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["EveryTwoWeeks"] = "every_two_weeks";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["Month"] = "month";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["TwiceAMonth"] = "twice_a_month";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["EveryTwoMonths"] = "every_two_months";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["Quarter"] = "quarter";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["EverySixMonths"] = "every_six_months";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["Year"] = "year";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["OneOff"] = "one_off";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["None"] = "none";
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue["UnmappedValue"] = "unmapped_value";
})(HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue || (exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue = HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue = {}));
var HrisUpdateEmploymentRequestDtoSchemasTypeValue;
(function (HrisUpdateEmploymentRequestDtoSchemasTypeValue) {
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Contractor"] = "contractor";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Intern"] = "intern";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Permanent"] = "permanent";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Apprentice"] = "apprentice";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Freelance"] = "freelance";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Terminated"] = "terminated";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Temporary"] = "temporary";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Seasonal"] = "seasonal";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Volunteer"] = "volunteer";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Probation"] = "probation";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Internal"] = "internal";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["External"] = "external";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Expatriate"] = "expatriate";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["EmployerOfRecord"] = "employer_of_record";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Casual"] = "casual";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["Programme"] = "Programme";
    HrisUpdateEmploymentRequestDtoSchemasTypeValue["UnmappedValue"] = "unmapped_value";
})(HrisUpdateEmploymentRequestDtoSchemasTypeValue || (exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue = HrisUpdateEmploymentRequestDtoSchemasTypeValue = {}));
/**
 * The unified value for the period.
 */
var HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue;
(function (HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue) {
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue["Day"] = "day";
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue["Week"] = "week";
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue["Month"] = "month";
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue["Year"] = "year";
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue["UnmappedValue"] = "unmapped_value";
})(HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue || (exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue = HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$inboundSchema = z.object({});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$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 HrisUpdateEmploymentRequestDtoSchemasContractType4$;
(function (HrisUpdateEmploymentRequestDtoSchemasContractType4$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractType4$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractType4$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractType4$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractType4$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasContractType4$ || (exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$ = HrisUpdateEmploymentRequestDtoSchemasContractType4$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasContractType4ToJSON(hrisUpdateEmploymentRequestDtoSchemasContractType4) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasContractType4));
}
function hrisUpdateEmploymentRequestDtoSchemasContractType4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasContractType4' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$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 HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$ = HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValueToJSON(hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$outboundSchema
        .parse(hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue));
}
function hrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasContractTypeSourceValue' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasContractTypeValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema = z.union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasContractTypeValue),
    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 HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$ = HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$ = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasContractType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasContractType4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasContractTypeValue$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 HrisUpdateEmploymentRequestDtoSchemasContractType$;
(function (HrisUpdateEmploymentRequestDtoSchemasContractType$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractType$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractType$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasContractType$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasContractType$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasContractType$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasContractType$ || (exports.HrisUpdateEmploymentRequestDtoSchemasContractType$ = HrisUpdateEmploymentRequestDtoSchemasContractType$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasContractTypeToJSON(hrisUpdateEmploymentRequestDtoSchemasContractType) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasContractType$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasContractType));
}
function hrisUpdateEmploymentRequestDtoSchemasContractTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasContractType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasContractType' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoContractType$inboundSchema = z.object({
    contract_type: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasContractType$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.HrisUpdateEmploymentRequestDtoContractType$outboundSchema = z.object({
    contractType: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasContractType$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 HrisUpdateEmploymentRequestDtoContractType$;
(function (HrisUpdateEmploymentRequestDtoContractType$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoContractType$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoContractType$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoContractType$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoContractType$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoContractType$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoContractType$outboundSchema;
})(HrisUpdateEmploymentRequestDtoContractType$ || (exports.HrisUpdateEmploymentRequestDtoContractType$ = HrisUpdateEmploymentRequestDtoContractType$ = {}));
function hrisUpdateEmploymentRequestDtoContractTypeToJSON(hrisUpdateEmploymentRequestDtoContractType) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoContractType$outboundSchema.parse(hrisUpdateEmploymentRequestDtoContractType));
}
function hrisUpdateEmploymentRequestDtoContractTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoContractType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoContractType' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDto4$inboundSchema = z.object({});
/** @internal */
exports.HrisUpdateEmploymentRequestDto4$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 HrisUpdateEmploymentRequestDto4$;
(function (HrisUpdateEmploymentRequestDto4$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDto4$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDto4$.inboundSchema = exports.HrisUpdateEmploymentRequestDto4$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDto4$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDto4$.outboundSchema = exports.HrisUpdateEmploymentRequestDto4$outboundSchema;
})(HrisUpdateEmploymentRequestDto4$ || (exports.HrisUpdateEmploymentRequestDto4$ = HrisUpdateEmploymentRequestDto4$ = {}));
function hrisUpdateEmploymentRequestDto4ToJSON(hrisUpdateEmploymentRequestDto4) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDto4$outboundSchema.parse(hrisUpdateEmploymentRequestDto4));
}
function hrisUpdateEmploymentRequestDto4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDto4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDto4' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDto4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDto4$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 HrisUpdateEmploymentRequestDtoSourceValue$;
(function (HrisUpdateEmploymentRequestDtoSourceValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSourceValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSourceValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSourceValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSourceValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSourceValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSourceValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSourceValue$ || (exports.HrisUpdateEmploymentRequestDtoSourceValue$ = HrisUpdateEmploymentRequestDtoSourceValue$ = {}));
function hrisUpdateEmploymentRequestDtoSourceValueToJSON(hrisUpdateEmploymentRequestDtoSourceValue) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSourceValue$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSourceValue));
}
function hrisUpdateEmploymentRequestDtoSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSourceValue' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoValue$outboundSchema = z.union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoValue),
    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 HrisUpdateEmploymentRequestDtoValue$;
(function (HrisUpdateEmploymentRequestDtoValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoValue$ || (exports.HrisUpdateEmploymentRequestDtoValue$ = HrisUpdateEmploymentRequestDtoValue$ = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDto4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoValue$inboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDto4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoValue$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 HrisUpdateEmploymentRequestDtoEmploymentContractType$;
(function (HrisUpdateEmploymentRequestDtoEmploymentContractType$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoEmploymentContractType$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoEmploymentContractType$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoEmploymentContractType$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoEmploymentContractType$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$outboundSchema;
})(HrisUpdateEmploymentRequestDtoEmploymentContractType$ || (exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$ = HrisUpdateEmploymentRequestDtoEmploymentContractType$ = {}));
function hrisUpdateEmploymentRequestDtoEmploymentContractTypeToJSON(hrisUpdateEmploymentRequestDtoEmploymentContractType) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$outboundSchema.parse(hrisUpdateEmploymentRequestDtoEmploymentContractType));
}
function hrisUpdateEmploymentRequestDtoEmploymentContractTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoEmploymentContractType' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemas4$inboundSchema = z.object({});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemas4$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 HrisUpdateEmploymentRequestDtoSchemas4$;
(function (HrisUpdateEmploymentRequestDtoSchemas4$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemas4$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemas4$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemas4$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemas4$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemas4$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemas4$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemas4$ || (exports.HrisUpdateEmploymentRequestDtoSchemas4$ = HrisUpdateEmploymentRequestDtoSchemas4$ = {}));
function hrisUpdateEmploymentRequestDtoSchemas4ToJSON(hrisUpdateEmploymentRequestDtoSchemas4) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemas4$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemas4));
}
function hrisUpdateEmploymentRequestDtoSchemas4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemas4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemas4' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemas4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemas4$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 HrisUpdateEmploymentRequestDtoSchemasSourceValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasSourceValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasSourceValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasSourceValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasSourceValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasSourceValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasSourceValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$ = HrisUpdateEmploymentRequestDtoSchemasSourceValue$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasSourceValueToJSON(hrisUpdateEmploymentRequestDtoSchemasSourceValue) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasSourceValue));
}
function hrisUpdateEmploymentRequestDtoSchemasSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasSourceValue' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasValue$outboundSchema = z.union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasValue),
    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 HrisUpdateEmploymentRequestDtoSchemasValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasValue$ = HrisUpdateEmploymentRequestDtoSchemasValue$ = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoEmploymentType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemas4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasValue$inboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoEmploymentType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemas4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasValue$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 HrisUpdateEmploymentRequestDtoEmploymentType$;
(function (HrisUpdateEmploymentRequestDtoEmploymentType$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoEmploymentType$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoEmploymentType$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentType$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoEmploymentType$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoEmploymentType$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoEmploymentType$outboundSchema;
})(HrisUpdateEmploymentRequestDtoEmploymentType$ || (exports.HrisUpdateEmploymentRequestDtoEmploymentType$ = HrisUpdateEmploymentRequestDtoEmploymentType$ = {}));
function hrisUpdateEmploymentRequestDtoEmploymentTypeToJSON(hrisUpdateEmploymentRequestDtoEmploymentType) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoEmploymentType$outboundSchema.parse(hrisUpdateEmploymentRequestDtoEmploymentType));
}
function hrisUpdateEmploymentRequestDtoEmploymentTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoEmploymentType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoEmploymentType' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoGrade$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.HrisUpdateEmploymentRequestDtoGrade$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 HrisUpdateEmploymentRequestDtoGrade$;
(function (HrisUpdateEmploymentRequestDtoGrade$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoGrade$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoGrade$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoGrade$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoGrade$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoGrade$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoGrade$outboundSchema;
})(HrisUpdateEmploymentRequestDtoGrade$ || (exports.HrisUpdateEmploymentRequestDtoGrade$ = HrisUpdateEmploymentRequestDtoGrade$ = {}));
function hrisUpdateEmploymentRequestDtoGradeToJSON(hrisUpdateEmploymentRequestDtoGrade) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoGrade$outboundSchema.parse(hrisUpdateEmploymentRequestDtoGrade));
}
function hrisUpdateEmploymentRequestDtoGradeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoGrade$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoGrade' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema = z.object({});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$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 HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$;
(function (HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$ || (exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$ = HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasPayFrequency4ToJSON(hrisUpdateEmploymentRequestDtoSchemasPayFrequency4) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasPayFrequency4));
}
function hrisUpdateEmploymentRequestDtoSchemasPayFrequency4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasPayFrequency4' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$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 HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$ = HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValueToJSON(hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$outboundSchema
        .parse(hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue));
}
function hrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasPayFrequencySourceValue' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema = z.union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue),
    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 HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$ = HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$ = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoPayFrequency$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoPayFrequency$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequency4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasPayFrequencyValue$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 HrisUpdateEmploymentRequestDtoPayFrequency$;
(function (HrisUpdateEmploymentRequestDtoPayFrequency$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoPayFrequency$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoPayFrequency$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoPayFrequency$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoPayFrequency$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoPayFrequency$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoPayFrequency$outboundSchema;
})(HrisUpdateEmploymentRequestDtoPayFrequency$ || (exports.HrisUpdateEmploymentRequestDtoPayFrequency$ = HrisUpdateEmploymentRequestDtoPayFrequency$ = {}));
function hrisUpdateEmploymentRequestDtoPayFrequencyToJSON(hrisUpdateEmploymentRequestDtoPayFrequency) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoPayFrequency$outboundSchema.parse(hrisUpdateEmploymentRequestDtoPayFrequency));
}
function hrisUpdateEmploymentRequestDtoPayFrequencyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoPayFrequency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoPayFrequency' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema = z.object({});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$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 HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$;
(function (HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$ || (exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$ = HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasPayPeriod4ToJSON(hrisUpdateEmploymentRequestDtoSchemasPayPeriod4) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasPayPeriod4));
}
function hrisUpdateEmploymentRequestDtoSchemasPayPeriod4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasPayPeriod4' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$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 HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$ = HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValueToJSON(hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$outboundSchema
        .parse(hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue));
}
function hrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasPayPeriodSourceValue' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema = z.union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue),
    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 HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$ = HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$ = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoPayPeriod$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoPayPeriod$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriod4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasPayPeriodValue$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 HrisUpdateEmploymentRequestDtoPayPeriod$;
(function (HrisUpdateEmploymentRequestDtoPayPeriod$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoPayPeriod$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoPayPeriod$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoPayPeriod$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoPayPeriod$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoPayPeriod$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoPayPeriod$outboundSchema;
})(HrisUpdateEmploymentRequestDtoPayPeriod$ || (exports.HrisUpdateEmploymentRequestDtoPayPeriod$ = HrisUpdateEmploymentRequestDtoPayPeriod$ = {}));
function hrisUpdateEmploymentRequestDtoPayPeriodToJSON(hrisUpdateEmploymentRequestDtoPayPeriod) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoPayPeriod$outboundSchema.parse(hrisUpdateEmploymentRequestDtoPayPeriod));
}
function hrisUpdateEmploymentRequestDtoPayPeriodFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoPayPeriod$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoPayPeriod' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasType4$inboundSchema = z.object({});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasType4$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 HrisUpdateEmploymentRequestDtoSchemasType4$;
(function (HrisUpdateEmploymentRequestDtoSchemasType4$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasType4$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasType4$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType4$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasType4$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasType4$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType4$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasType4$ || (exports.HrisUpdateEmploymentRequestDtoSchemasType4$ = HrisUpdateEmploymentRequestDtoSchemasType4$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasType4ToJSON(hrisUpdateEmploymentRequestDtoSchemasType4) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasType4$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasType4));
}
function hrisUpdateEmploymentRequestDtoSchemasType4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasType4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasType4' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasType4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasType4$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 HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$ = HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasTypeSourceValueToJSON(hrisUpdateEmploymentRequestDtoSchemasTypeSourceValue) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasTypeSourceValue));
}
function hrisUpdateEmploymentRequestDtoSchemasTypeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasTypeSourceValue' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasTypeValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$outboundSchema = z.union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasTypeValue),
    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 HrisUpdateEmploymentRequestDtoSchemasTypeValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasTypeValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasTypeValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasTypeValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasTypeValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasTypeValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasTypeValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$ = HrisUpdateEmploymentRequestDtoSchemasTypeValue$ = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasType4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasType4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasTypeValue$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 HrisUpdateEmploymentRequestDtoSchemasType$;
(function (HrisUpdateEmploymentRequestDtoSchemasType$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasType$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasType$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasType$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasType$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasType$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasType$ || (exports.HrisUpdateEmploymentRequestDtoSchemasType$ = HrisUpdateEmploymentRequestDtoSchemasType$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasTypeToJSON(hrisUpdateEmploymentRequestDtoSchemasType) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasType$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasType));
}
function hrisUpdateEmploymentRequestDtoSchemasTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasType' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoType$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.HrisUpdateEmploymentRequestDtoSchemasType$inboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "remote_id": "remoteId",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoType$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.HrisUpdateEmploymentRequestDtoSchemasType$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 HrisUpdateEmploymentRequestDtoType$;
(function (HrisUpdateEmploymentRequestDtoType$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoType$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoType$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoType$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoType$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoType$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoType$outboundSchema;
})(HrisUpdateEmploymentRequestDtoType$ || (exports.HrisUpdateEmploymentRequestDtoType$ = HrisUpdateEmploymentRequestDtoType$ = {}));
function hrisUpdateEmploymentRequestDtoTypeToJSON(hrisUpdateEmploymentRequestDtoType) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoType$outboundSchema.parse(hrisUpdateEmploymentRequestDtoType));
}
function hrisUpdateEmploymentRequestDtoTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoType' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$inboundSchema = z.object({});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$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 HrisUpdateEmploymentRequestDtoSchemasWorkTime4$;
(function (HrisUpdateEmploymentRequestDtoSchemasWorkTime4$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasWorkTime4$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasWorkTime4$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasWorkTime4$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasWorkTime4$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasWorkTime4$ || (exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$ = HrisUpdateEmploymentRequestDtoSchemasWorkTime4$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasWorkTime4ToJSON(hrisUpdateEmploymentRequestDtoSchemasWorkTime4) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$outboundSchema.parse(hrisUpdateEmploymentRequestDtoSchemasWorkTime4));
}
function hrisUpdateEmploymentRequestDtoSchemasWorkTime4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasWorkTime4' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$inboundSchema),
    z.array(z.any()),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$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 HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$ = HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$ = {}));
function hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValueToJSON(hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$outboundSchema
        .parse(hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue));
}
function hrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue$inboundSchema
        .parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoSchemasWorkTimeSourceValue' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema = z
    .union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema = z.union([
    z.nativeEnum(HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue),
    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 HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$;
(function (HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$outboundSchema;
})(HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$ || (exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$ = HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$ = {}));
/** @internal */
exports.HrisUpdateEmploymentRequestDtoPeriod$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoPeriod$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HrisUpdateEmploymentRequestDtoSchemasWorkTime4$outboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HrisUpdateEmploymentRequestDtoSchemasWorkTimeValue$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 HrisUpdateEmploymentRequestDtoPeriod$;
(function (HrisUpdateEmploymentRequestDtoPeriod$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoPeriod$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoPeriod$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoPeriod$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoPeriod$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoPeriod$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoPeriod$outboundSchema;
})(HrisUpdateEmploymentRequestDtoPeriod$ || (exports.HrisUpdateEmploymentRequestDtoPeriod$ = HrisUpdateEmploymentRequestDtoPeriod$ = {}));
function hrisUpdateEmploymentRequestDtoPeriodToJSON(hrisUpdateEmploymentRequestDtoPeriod) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoPeriod$outboundSchema.parse(hrisUpdateEmploymentRequestDtoPeriod));
}
function hrisUpdateEmploymentRequestDtoPeriodFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoPeriod$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoPeriod' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDtoWorkTime$inboundSchema = z.object({
    duration: z.nullable(z.string()).optional(),
    period: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoPeriod$inboundSchema)).optional(),
});
/** @internal */
exports.HrisUpdateEmploymentRequestDtoWorkTime$outboundSchema = z.object({
    duration: z.nullable(z.string()).optional(),
    period: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoPeriod$outboundSchema)).optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var HrisUpdateEmploymentRequestDtoWorkTime$;
(function (HrisUpdateEmploymentRequestDtoWorkTime$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDtoWorkTime$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoWorkTime$.inboundSchema = exports.HrisUpdateEmploymentRequestDtoWorkTime$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDtoWorkTime$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDtoWorkTime$.outboundSchema = exports.HrisUpdateEmploymentRequestDtoWorkTime$outboundSchema;
})(HrisUpdateEmploymentRequestDtoWorkTime$ || (exports.HrisUpdateEmploymentRequestDtoWorkTime$ = HrisUpdateEmploymentRequestDtoWorkTime$ = {}));
function hrisUpdateEmploymentRequestDtoWorkTimeToJSON(hrisUpdateEmploymentRequestDtoWorkTime) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDtoWorkTime$outboundSchema.parse(hrisUpdateEmploymentRequestDtoWorkTime));
}
function hrisUpdateEmploymentRequestDtoWorkTimeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDtoWorkTime$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDtoWorkTime' from JSON`);
}
/** @internal */
exports.HrisUpdateEmploymentRequestDto$inboundSchema = z.object({
    contract_type: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoContractType$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.HrisUpdateEmploymentRequestDtoEmploymentContractType$inboundSchema)).optional(),
    employment_type: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoEmploymentType$inboundSchema)).optional(),
    end_date: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
    grade: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoGrade$inboundSchema)).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.HrisUpdateEmploymentRequestDtoPayFrequency$inboundSchema)).optional(),
    pay_period: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoPayPeriod$inboundSchema)).optional(),
    pay_rate: z.nullable(z.string()).optional(),
    payroll_code: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoType$inboundSchema)).optional(),
    unified_custom_fields: z.nullable(z.record(z.any())).optional(),
    work_time: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoWorkTime$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_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.HrisUpdateEmploymentRequestDto$outboundSchema = z.object({
    contractType: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoContractType$outboundSchema)).optional(),
    effectiveDate: z.nullable(z.date().transform(v => v.toISOString()))
        .optional(),
    employmentContractType: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoEmploymentContractType$outboundSchema)).optional(),
    employmentType: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoEmploymentType$outboundSchema)).optional(),
    endDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
    grade: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoGrade$outboundSchema)).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.HrisUpdateEmploymentRequestDtoPayFrequency$outboundSchema)).optional(),
    payPeriod: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoPayPeriod$outboundSchema)).optional(),
    payRate: z.nullable(z.string()).optional(),
    payrollCode: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoType$outboundSchema)).optional(),
    unifiedCustomFields: z.nullable(z.record(z.any())).optional(),
    workTime: z.nullable(z.lazy(() => exports.HrisUpdateEmploymentRequestDtoWorkTime$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",
        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 HrisUpdateEmploymentRequestDto$;
(function (HrisUpdateEmploymentRequestDto$) {
    /** @deprecated use `HrisUpdateEmploymentRequestDto$inboundSchema` instead. */
    HrisUpdateEmploymentRequestDto$.inboundSchema = exports.HrisUpdateEmploymentRequestDto$inboundSchema;
    /** @deprecated use `HrisUpdateEmploymentRequestDto$outboundSchema` instead. */
    HrisUpdateEmploymentRequestDto$.outboundSchema = exports.HrisUpdateEmploymentRequestDto$outboundSchema;
})(HrisUpdateEmploymentRequestDto$ || (exports.HrisUpdateEmploymentRequestDto$ = HrisUpdateEmploymentRequestDto$ = {}));
function hrisUpdateEmploymentRequestDtoToJSON(hrisUpdateEmploymentRequestDto) {
    return JSON.stringify(exports.HrisUpdateEmploymentRequestDto$outboundSchema.parse(hrisUpdateEmploymentRequestDto));
}
function hrisUpdateEmploymentRequestDtoFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HrisUpdateEmploymentRequestDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HrisUpdateEmploymentRequestDto' from JSON`);
}
//# sourceMappingURL=hrisupdateemploymentrequestdto.js.map