"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 (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.atsCreateApplicationRequestDtoFromJSON = exports.atsCreateApplicationRequestDtoToJSON = exports.AtsCreateApplicationRequestDto$ = exports.AtsCreateApplicationRequestDto$outboundSchema = exports.AtsCreateApplicationRequestDto$inboundSchema = exports.atsCreateApplicationRequestDtoSourceFromJSON = exports.atsCreateApplicationRequestDtoSourceToJSON = exports.AtsCreateApplicationRequestDtoSource$ = exports.AtsCreateApplicationRequestDtoSource$outboundSchema = exports.AtsCreateApplicationRequestDtoSource$inboundSchema = exports.atsCreateApplicationRequestDtoCandidateFromJSON = exports.atsCreateApplicationRequestDtoCandidateToJSON = exports.AtsCreateApplicationRequestDtoCandidate$ = exports.AtsCreateApplicationRequestDtoCandidate$outboundSchema = exports.AtsCreateApplicationRequestDtoCandidate$inboundSchema = exports.atsCreateApplicationRequestDtoApplicationStatusFromJSON = exports.atsCreateApplicationRequestDtoApplicationStatusToJSON = exports.AtsCreateApplicationRequestDtoApplicationStatus$ = exports.AtsCreateApplicationRequestDtoApplicationStatus$outboundSchema = exports.AtsCreateApplicationRequestDtoApplicationStatus$inboundSchema = exports.AtsCreateApplicationRequestDtoValue$ = exports.AtsCreateApplicationRequestDtoValue$outboundSchema = exports.AtsCreateApplicationRequestDtoValue$inboundSchema = exports.atsCreateApplicationRequestDtoSourceValueFromJSON = exports.atsCreateApplicationRequestDtoSourceValueToJSON = exports.AtsCreateApplicationRequestDtoSourceValue$ = exports.AtsCreateApplicationRequestDtoSourceValue$outboundSchema = exports.AtsCreateApplicationRequestDtoSourceValue$inboundSchema = exports.atsCreateApplicationRequestDto4FromJSON = exports.atsCreateApplicationRequestDto4ToJSON = exports.AtsCreateApplicationRequestDto4$ = exports.AtsCreateApplicationRequestDto4$outboundSchema = exports.AtsCreateApplicationRequestDto4$inboundSchema = exports.AtsCreateApplicationRequestDtoValue = void 0;
const z = __importStar(require("zod"));
const primitives_js_1 = require("../../../lib/primitives.js");
const schemas_js_1 = require("../../../lib/schemas.js");
const enums_js_1 = require("../../types/enums.js");
const createquestionnaire_js_1 = require("./createquestionnaire.js");
const customfields_js_1 = require("./customfields.js");
const phonenumber_js_1 = require("./phonenumber.js");
const sociallink_js_1 = require("./sociallink.js");
/**
 * The status of the application.
 */
var AtsCreateApplicationRequestDtoValue;
(function (AtsCreateApplicationRequestDtoValue) {
    AtsCreateApplicationRequestDtoValue["Active"] = "active";
    AtsCreateApplicationRequestDtoValue["Assessment"] = "assessment";
    AtsCreateApplicationRequestDtoValue["BackgroundCheck"] = "background_check";
    AtsCreateApplicationRequestDtoValue["Converted"] = "converted";
    AtsCreateApplicationRequestDtoValue["DeclinedByCandidate"] = "declined_by_candidate";
    AtsCreateApplicationRequestDtoValue["Hired"] = "hired";
    AtsCreateApplicationRequestDtoValue["Interview"] = "interview";
    AtsCreateApplicationRequestDtoValue["Lead"] = "lead";
    AtsCreateApplicationRequestDtoValue["Offer"] = "offer";
    AtsCreateApplicationRequestDtoValue["ReferenceCheck"] = "reference_check";
    AtsCreateApplicationRequestDtoValue["Rejected"] = "rejected";
    AtsCreateApplicationRequestDtoValue["Review"] = "review";
    AtsCreateApplicationRequestDtoValue["Screen"] = "screen";
    AtsCreateApplicationRequestDtoValue["New"] = "new";
    AtsCreateApplicationRequestDtoValue["Onboarding"] = "onboarding";
    AtsCreateApplicationRequestDtoValue["Created"] = "created";
    AtsCreateApplicationRequestDtoValue["Accepted"] = "accepted";
    AtsCreateApplicationRequestDtoValue["ShortList"] = "short_list";
    AtsCreateApplicationRequestDtoValue["Approved"] = "approved";
    AtsCreateApplicationRequestDtoValue["UnmappedValue"] = "unmapped_value";
})(AtsCreateApplicationRequestDtoValue || (exports.AtsCreateApplicationRequestDtoValue = AtsCreateApplicationRequestDtoValue = {}));
/** @internal */
exports.AtsCreateApplicationRequestDto4$inboundSchema = z.object({});
/** @internal */
exports.AtsCreateApplicationRequestDto4$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 AtsCreateApplicationRequestDto4$;
(function (AtsCreateApplicationRequestDto4$) {
    /** @deprecated use `AtsCreateApplicationRequestDto4$inboundSchema` instead. */
    AtsCreateApplicationRequestDto4$.inboundSchema = exports.AtsCreateApplicationRequestDto4$inboundSchema;
    /** @deprecated use `AtsCreateApplicationRequestDto4$outboundSchema` instead. */
    AtsCreateApplicationRequestDto4$.outboundSchema = exports.AtsCreateApplicationRequestDto4$outboundSchema;
})(AtsCreateApplicationRequestDto4$ || (exports.AtsCreateApplicationRequestDto4$ = AtsCreateApplicationRequestDto4$ = {}));
function atsCreateApplicationRequestDto4ToJSON(atsCreateApplicationRequestDto4) {
    return JSON.stringify(exports.AtsCreateApplicationRequestDto4$outboundSchema.parse(atsCreateApplicationRequestDto4));
}
exports.atsCreateApplicationRequestDto4ToJSON = atsCreateApplicationRequestDto4ToJSON;
function atsCreateApplicationRequestDto4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsCreateApplicationRequestDto4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsCreateApplicationRequestDto4' from JSON`);
}
exports.atsCreateApplicationRequestDto4FromJSON = atsCreateApplicationRequestDto4FromJSON;
/** @internal */
exports.AtsCreateApplicationRequestDtoSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.AtsCreateApplicationRequestDto4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.AtsCreateApplicationRequestDtoSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.AtsCreateApplicationRequestDto4$outboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    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 AtsCreateApplicationRequestDtoSourceValue$;
(function (AtsCreateApplicationRequestDtoSourceValue$) {
    /** @deprecated use `AtsCreateApplicationRequestDtoSourceValue$inboundSchema` instead. */
    AtsCreateApplicationRequestDtoSourceValue$.inboundSchema = exports.AtsCreateApplicationRequestDtoSourceValue$inboundSchema;
    /** @deprecated use `AtsCreateApplicationRequestDtoSourceValue$outboundSchema` instead. */
    AtsCreateApplicationRequestDtoSourceValue$.outboundSchema = exports.AtsCreateApplicationRequestDtoSourceValue$outboundSchema;
})(AtsCreateApplicationRequestDtoSourceValue$ || (exports.AtsCreateApplicationRequestDtoSourceValue$ = AtsCreateApplicationRequestDtoSourceValue$ = {}));
function atsCreateApplicationRequestDtoSourceValueToJSON(atsCreateApplicationRequestDtoSourceValue) {
    return JSON.stringify(exports.AtsCreateApplicationRequestDtoSourceValue$outboundSchema.parse(atsCreateApplicationRequestDtoSourceValue));
}
exports.atsCreateApplicationRequestDtoSourceValueToJSON = atsCreateApplicationRequestDtoSourceValueToJSON;
function atsCreateApplicationRequestDtoSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsCreateApplicationRequestDtoSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsCreateApplicationRequestDtoSourceValue' from JSON`);
}
exports.atsCreateApplicationRequestDtoSourceValueFromJSON = atsCreateApplicationRequestDtoSourceValueFromJSON;
/** @internal */
exports.AtsCreateApplicationRequestDtoValue$inboundSchema = z
    .union([
    z.nativeEnum(AtsCreateApplicationRequestDtoValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.AtsCreateApplicationRequestDtoValue$outboundSchema = z.union([
    z.nativeEnum(AtsCreateApplicationRequestDtoValue),
    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 AtsCreateApplicationRequestDtoValue$;
(function (AtsCreateApplicationRequestDtoValue$) {
    /** @deprecated use `AtsCreateApplicationRequestDtoValue$inboundSchema` instead. */
    AtsCreateApplicationRequestDtoValue$.inboundSchema = exports.AtsCreateApplicationRequestDtoValue$inboundSchema;
    /** @deprecated use `AtsCreateApplicationRequestDtoValue$outboundSchema` instead. */
    AtsCreateApplicationRequestDtoValue$.outboundSchema = exports.AtsCreateApplicationRequestDtoValue$outboundSchema;
})(AtsCreateApplicationRequestDtoValue$ || (exports.AtsCreateApplicationRequestDtoValue$ = AtsCreateApplicationRequestDtoValue$ = {}));
/** @internal */
exports.AtsCreateApplicationRequestDtoApplicationStatus$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.AtsCreateApplicationRequestDto4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AtsCreateApplicationRequestDtoValue$inboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.AtsCreateApplicationRequestDtoApplicationStatus$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.AtsCreateApplicationRequestDto4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AtsCreateApplicationRequestDtoValue$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 AtsCreateApplicationRequestDtoApplicationStatus$;
(function (AtsCreateApplicationRequestDtoApplicationStatus$) {
    /** @deprecated use `AtsCreateApplicationRequestDtoApplicationStatus$inboundSchema` instead. */
    AtsCreateApplicationRequestDtoApplicationStatus$.inboundSchema = exports.AtsCreateApplicationRequestDtoApplicationStatus$inboundSchema;
    /** @deprecated use `AtsCreateApplicationRequestDtoApplicationStatus$outboundSchema` instead. */
    AtsCreateApplicationRequestDtoApplicationStatus$.outboundSchema = exports.AtsCreateApplicationRequestDtoApplicationStatus$outboundSchema;
})(AtsCreateApplicationRequestDtoApplicationStatus$ || (exports.AtsCreateApplicationRequestDtoApplicationStatus$ = AtsCreateApplicationRequestDtoApplicationStatus$ = {}));
function atsCreateApplicationRequestDtoApplicationStatusToJSON(atsCreateApplicationRequestDtoApplicationStatus) {
    return JSON.stringify(exports.AtsCreateApplicationRequestDtoApplicationStatus$outboundSchema.parse(atsCreateApplicationRequestDtoApplicationStatus));
}
exports.atsCreateApplicationRequestDtoApplicationStatusToJSON = atsCreateApplicationRequestDtoApplicationStatusToJSON;
function atsCreateApplicationRequestDtoApplicationStatusFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsCreateApplicationRequestDtoApplicationStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsCreateApplicationRequestDtoApplicationStatus' from JSON`);
}
exports.atsCreateApplicationRequestDtoApplicationStatusFromJSON = atsCreateApplicationRequestDtoApplicationStatusFromJSON;
/** @internal */
exports.AtsCreateApplicationRequestDtoCandidate$inboundSchema = z.object({
    company: z.nullable(z.string()).optional(),
    country: z.nullable(z.string()).optional(),
    custom_fields: z.nullable(z.array(customfields_js_1.CustomFields$inboundSchema)).optional(),
    email: z.nullable(z.string()).optional(),
    first_name: z.nullable(z.string()).optional(),
    hired_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
    last_name: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    passthrough: z.nullable(z.record(z.any())).optional(),
    phone_number: z.nullable(z.string()).optional(),
    phone_numbers: z.nullable(z.array(phonenumber_js_1.PhoneNumber$inboundSchema)).optional(),
    social_links: z.nullable(z.array(sociallink_js_1.SocialLink$inboundSchema)).optional(),
    title: z.nullable(z.string()).optional(),
    unified_custom_fields: z.nullable(z.record(z.any())).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "custom_fields": "customFields",
        "first_name": "firstName",
        "hired_at": "hiredAt",
        "last_name": "lastName",
        "phone_number": "phoneNumber",
        "phone_numbers": "phoneNumbers",
        "social_links": "socialLinks",
        "unified_custom_fields": "unifiedCustomFields",
    });
});
/** @internal */
exports.AtsCreateApplicationRequestDtoCandidate$outboundSchema = z.object({
    company: z.nullable(z.string()).optional(),
    country: z.nullable(z.string()).optional(),
    customFields: z.nullable(z.array(customfields_js_1.CustomFields$outboundSchema)).optional(),
    email: z.nullable(z.string()).optional(),
    firstName: z.nullable(z.string()).optional(),
    hiredAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
    lastName: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    passthrough: z.nullable(z.record(z.any())).optional(),
    phoneNumber: z.nullable(z.string()).optional(),
    phoneNumbers: z.nullable(z.array(phonenumber_js_1.PhoneNumber$outboundSchema)).optional(),
    socialLinks: z.nullable(z.array(sociallink_js_1.SocialLink$outboundSchema)).optional(),
    title: z.nullable(z.string()).optional(),
    unifiedCustomFields: z.nullable(z.record(z.any())).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        customFields: "custom_fields",
        firstName: "first_name",
        hiredAt: "hired_at",
        lastName: "last_name",
        phoneNumber: "phone_number",
        phoneNumbers: "phone_numbers",
        socialLinks: "social_links",
        unifiedCustomFields: "unified_custom_fields",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AtsCreateApplicationRequestDtoCandidate$;
(function (AtsCreateApplicationRequestDtoCandidate$) {
    /** @deprecated use `AtsCreateApplicationRequestDtoCandidate$inboundSchema` instead. */
    AtsCreateApplicationRequestDtoCandidate$.inboundSchema = exports.AtsCreateApplicationRequestDtoCandidate$inboundSchema;
    /** @deprecated use `AtsCreateApplicationRequestDtoCandidate$outboundSchema` instead. */
    AtsCreateApplicationRequestDtoCandidate$.outboundSchema = exports.AtsCreateApplicationRequestDtoCandidate$outboundSchema;
})(AtsCreateApplicationRequestDtoCandidate$ || (exports.AtsCreateApplicationRequestDtoCandidate$ = AtsCreateApplicationRequestDtoCandidate$ = {}));
function atsCreateApplicationRequestDtoCandidateToJSON(atsCreateApplicationRequestDtoCandidate) {
    return JSON.stringify(exports.AtsCreateApplicationRequestDtoCandidate$outboundSchema.parse(atsCreateApplicationRequestDtoCandidate));
}
exports.atsCreateApplicationRequestDtoCandidateToJSON = atsCreateApplicationRequestDtoCandidateToJSON;
function atsCreateApplicationRequestDtoCandidateFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsCreateApplicationRequestDtoCandidate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsCreateApplicationRequestDtoCandidate' from JSON`);
}
exports.atsCreateApplicationRequestDtoCandidateFromJSON = atsCreateApplicationRequestDtoCandidateFromJSON;
/** @internal */
exports.AtsCreateApplicationRequestDtoSource$inboundSchema = z.object({
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
});
/** @internal */
exports.AtsCreateApplicationRequestDtoSource$outboundSchema = z.object({
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AtsCreateApplicationRequestDtoSource$;
(function (AtsCreateApplicationRequestDtoSource$) {
    /** @deprecated use `AtsCreateApplicationRequestDtoSource$inboundSchema` instead. */
    AtsCreateApplicationRequestDtoSource$.inboundSchema = exports.AtsCreateApplicationRequestDtoSource$inboundSchema;
    /** @deprecated use `AtsCreateApplicationRequestDtoSource$outboundSchema` instead. */
    AtsCreateApplicationRequestDtoSource$.outboundSchema = exports.AtsCreateApplicationRequestDtoSource$outboundSchema;
})(AtsCreateApplicationRequestDtoSource$ || (exports.AtsCreateApplicationRequestDtoSource$ = AtsCreateApplicationRequestDtoSource$ = {}));
function atsCreateApplicationRequestDtoSourceToJSON(atsCreateApplicationRequestDtoSource) {
    return JSON.stringify(exports.AtsCreateApplicationRequestDtoSource$outboundSchema.parse(atsCreateApplicationRequestDtoSource));
}
exports.atsCreateApplicationRequestDtoSourceToJSON = atsCreateApplicationRequestDtoSourceToJSON;
function atsCreateApplicationRequestDtoSourceFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsCreateApplicationRequestDtoSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsCreateApplicationRequestDtoSource' from JSON`);
}
exports.atsCreateApplicationRequestDtoSourceFromJSON = atsCreateApplicationRequestDtoSourceFromJSON;
/** @internal */
exports.AtsCreateApplicationRequestDto$inboundSchema = z.object({
    application_status: z.nullable(z.lazy(() => exports.AtsCreateApplicationRequestDtoApplicationStatus$inboundSchema)).optional(),
    candidate: z.nullable(z.lazy(() => exports.AtsCreateApplicationRequestDtoCandidate$inboundSchema)).optional(),
    candidate_id: z.nullable(z.string()).optional(),
    job_id: z.nullable(z.string()).optional(),
    job_posting_id: z.nullable(z.string()).optional(),
    location_id: z.nullable(z.string()).optional(),
    passthrough: z.nullable(z.record(z.any())).optional(),
    questionnaires: z.nullable(z.array(createquestionnaire_js_1.CreateQuestionnaire$inboundSchema))
        .optional(),
    source: z.nullable(z.lazy(() => exports.AtsCreateApplicationRequestDtoSource$inboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "application_status": "applicationStatus",
        "candidate_id": "candidateId",
        "job_id": "jobId",
        "job_posting_id": "jobPostingId",
        "location_id": "locationId",
    });
});
/** @internal */
exports.AtsCreateApplicationRequestDto$outboundSchema = z.object({
    applicationStatus: z.nullable(z.lazy(() => exports.AtsCreateApplicationRequestDtoApplicationStatus$outboundSchema)).optional(),
    candidate: z.nullable(z.lazy(() => exports.AtsCreateApplicationRequestDtoCandidate$outboundSchema)).optional(),
    candidateId: z.nullable(z.string()).optional(),
    jobId: z.nullable(z.string()).optional(),
    jobPostingId: z.nullable(z.string()).optional(),
    locationId: z.nullable(z.string()).optional(),
    passthrough: z.nullable(z.record(z.any())).optional(),
    questionnaires: z.nullable(z.array(createquestionnaire_js_1.CreateQuestionnaire$outboundSchema))
        .optional(),
    source: z.nullable(z.lazy(() => exports.AtsCreateApplicationRequestDtoSource$outboundSchema)).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        applicationStatus: "application_status",
        candidateId: "candidate_id",
        jobId: "job_id",
        jobPostingId: "job_posting_id",
        locationId: "location_id",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AtsCreateApplicationRequestDto$;
(function (AtsCreateApplicationRequestDto$) {
    /** @deprecated use `AtsCreateApplicationRequestDto$inboundSchema` instead. */
    AtsCreateApplicationRequestDto$.inboundSchema = exports.AtsCreateApplicationRequestDto$inboundSchema;
    /** @deprecated use `AtsCreateApplicationRequestDto$outboundSchema` instead. */
    AtsCreateApplicationRequestDto$.outboundSchema = exports.AtsCreateApplicationRequestDto$outboundSchema;
})(AtsCreateApplicationRequestDto$ || (exports.AtsCreateApplicationRequestDto$ = AtsCreateApplicationRequestDto$ = {}));
function atsCreateApplicationRequestDtoToJSON(atsCreateApplicationRequestDto) {
    return JSON.stringify(exports.AtsCreateApplicationRequestDto$outboundSchema.parse(atsCreateApplicationRequestDto));
}
exports.atsCreateApplicationRequestDtoToJSON = atsCreateApplicationRequestDtoToJSON;
function atsCreateApplicationRequestDtoFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsCreateApplicationRequestDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsCreateApplicationRequestDto' from JSON`);
}
exports.atsCreateApplicationRequestDtoFromJSON = atsCreateApplicationRequestDtoFromJSON;
//# sourceMappingURL=atscreateapplicationrequestdto.js.map