"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.AtsDocumentApiModelType$outboundSchema = exports.AtsDocumentApiModelType$inboundSchema = exports.AtsDocumentApiModelSchemasValue$ = exports.AtsDocumentApiModelSchemasValue$outboundSchema = exports.AtsDocumentApiModelSchemasValue$inboundSchema = exports.atsDocumentApiModelSchemasTypeSourceValueFromJSON = exports.atsDocumentApiModelSchemasTypeSourceValueToJSON = exports.AtsDocumentApiModelSchemasTypeSourceValue$ = exports.AtsDocumentApiModelSchemasTypeSourceValue$outboundSchema = exports.AtsDocumentApiModelSchemasTypeSourceValue$inboundSchema = exports.atsDocumentApiModelSchemasType4FromJSON = exports.atsDocumentApiModelSchemasType4ToJSON = exports.AtsDocumentApiModelSchemasType4$ = exports.AtsDocumentApiModelSchemasType4$outboundSchema = exports.AtsDocumentApiModelSchemasType4$inboundSchema = exports.fileFormatFromJSON = exports.fileFormatToJSON = exports.FileFormat$ = exports.FileFormat$outboundSchema = exports.FileFormat$inboundSchema = exports.AtsDocumentApiModelValue$ = exports.AtsDocumentApiModelValue$outboundSchema = exports.AtsDocumentApiModelValue$inboundSchema = exports.atsDocumentApiModelSchemasSourceValueFromJSON = exports.atsDocumentApiModelSchemasSourceValueToJSON = exports.AtsDocumentApiModelSchemasSourceValue$ = exports.AtsDocumentApiModelSchemasSourceValue$outboundSchema = exports.AtsDocumentApiModelSchemasSourceValue$inboundSchema = exports.atsDocumentApiModelSchemas4FromJSON = exports.atsDocumentApiModelSchemas4ToJSON = exports.AtsDocumentApiModelSchemas4$ = exports.AtsDocumentApiModelSchemas4$outboundSchema = exports.AtsDocumentApiModelSchemas4$inboundSchema = exports.atsDocumentApiModelCategoryFromJSON = exports.atsDocumentApiModelCategoryToJSON = exports.AtsDocumentApiModelCategory$ = exports.AtsDocumentApiModelCategory$outboundSchema = exports.AtsDocumentApiModelCategory$inboundSchema = exports.atsDocumentApiModelSourceValueFromJSON = exports.atsDocumentApiModelSourceValueToJSON = exports.AtsDocumentApiModelSourceValue$ = exports.AtsDocumentApiModelSourceValue$outboundSchema = exports.AtsDocumentApiModelSourceValue$inboundSchema = exports.atsDocumentApiModel4FromJSON = exports.atsDocumentApiModel4ToJSON = exports.AtsDocumentApiModel4$ = exports.AtsDocumentApiModel4$outboundSchema = exports.AtsDocumentApiModel4$inboundSchema = exports.AtsDocumentApiModelSchemasValue = exports.AtsDocumentApiModelValue = void 0;
exports.atsDocumentApiModelFromJSON = exports.atsDocumentApiModelToJSON = exports.AtsDocumentApiModel$ = exports.AtsDocumentApiModel$outboundSchema = exports.AtsDocumentApiModel$inboundSchema = exports.atsDocumentApiModelTypeFromJSON = exports.atsDocumentApiModelTypeToJSON = exports.AtsDocumentApiModelType$ = 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 content_js_1 = require("./content.js");
/**
 * The file format of the file, expressed as a file extension
 */
var AtsDocumentApiModelValue;
(function (AtsDocumentApiModelValue) {
    AtsDocumentApiModelValue["UnmappedValue"] = "unmapped_value";
    AtsDocumentApiModelValue["Ez"] = "ez";
    AtsDocumentApiModelValue["Aw"] = "aw";
    AtsDocumentApiModelValue["Atom"] = "atom";
    AtsDocumentApiModelValue["Atomcat"] = "atomcat";
    AtsDocumentApiModelValue["Atomdeleted"] = "atomdeleted";
    AtsDocumentApiModelValue["Atomsvc"] = "atomsvc";
    AtsDocumentApiModelValue["Dwd"] = "dwd";
    AtsDocumentApiModelValue["Held"] = "held";
    AtsDocumentApiModelValue["Rsat"] = "rsat";
    AtsDocumentApiModelValue["Bdoc"] = "bdoc";
    AtsDocumentApiModelValue["Xcs"] = "xcs";
    AtsDocumentApiModelValue["Ccxml"] = "ccxml";
    AtsDocumentApiModelValue["Cdfx"] = "cdfx";
    AtsDocumentApiModelValue["Cdmia"] = "cdmia";
    AtsDocumentApiModelValue["Cdmic"] = "cdmic";
    AtsDocumentApiModelValue["Cdmid"] = "cdmid";
    AtsDocumentApiModelValue["Cdmio"] = "cdmio";
    AtsDocumentApiModelValue["Cdmiq"] = "cdmiq";
    AtsDocumentApiModelValue["Cu"] = "cu";
    AtsDocumentApiModelValue["Mpd"] = "mpd";
    AtsDocumentApiModelValue["Davmount"] = "davmount";
    AtsDocumentApiModelValue["Dbk"] = "dbk";
    AtsDocumentApiModelValue["Dssc"] = "dssc";
    AtsDocumentApiModelValue["Xdssc"] = "xdssc";
    AtsDocumentApiModelValue["Es"] = "es";
    AtsDocumentApiModelValue["Ecma"] = "ecma";
    AtsDocumentApiModelValue["Emma"] = "emma";
    AtsDocumentApiModelValue["Emotionml"] = "emotionml";
    AtsDocumentApiModelValue["Epub"] = "epub";
    AtsDocumentApiModelValue["Exi"] = "exi";
    AtsDocumentApiModelValue["Exp"] = "exp";
    AtsDocumentApiModelValue["Fdt"] = "fdt";
    AtsDocumentApiModelValue["Pfr"] = "pfr";
    AtsDocumentApiModelValue["Geojson"] = "geojson";
    AtsDocumentApiModelValue["Gml"] = "gml";
    AtsDocumentApiModelValue["Gpx"] = "gpx";
    AtsDocumentApiModelValue["Gxf"] = "gxf";
    AtsDocumentApiModelValue["Gz"] = "gz";
    AtsDocumentApiModelValue["Hjson"] = "hjson";
    AtsDocumentApiModelValue["Stk"] = "stk";
    AtsDocumentApiModelValue["Ink"] = "ink";
    AtsDocumentApiModelValue["Inkml"] = "inkml";
    AtsDocumentApiModelValue["Ipfix"] = "ipfix";
    AtsDocumentApiModelValue["Its"] = "its";
    AtsDocumentApiModelValue["Jar"] = "jar";
    AtsDocumentApiModelValue["War"] = "war";
    AtsDocumentApiModelValue["Ear"] = "ear";
    AtsDocumentApiModelValue["Ser"] = "ser";
    AtsDocumentApiModelValue["Class"] = "class";
    AtsDocumentApiModelValue["Js"] = "js";
    AtsDocumentApiModelValue["Mjs"] = "mjs";
    AtsDocumentApiModelValue["Json"] = "json";
    AtsDocumentApiModelValue["Map"] = "map";
    AtsDocumentApiModelValue["Json5"] = "json5";
    AtsDocumentApiModelValue["Jsonml"] = "jsonml";
    AtsDocumentApiModelValue["Jsonld"] = "jsonld";
    AtsDocumentApiModelValue["Lgr"] = "lgr";
    AtsDocumentApiModelValue["Lostxml"] = "lostxml";
    AtsDocumentApiModelValue["Hqx"] = "hqx";
    AtsDocumentApiModelValue["Cpt"] = "cpt";
    AtsDocumentApiModelValue["Mads"] = "mads";
    AtsDocumentApiModelValue["Webmanifest"] = "webmanifest";
    AtsDocumentApiModelValue["Mrc"] = "mrc";
    AtsDocumentApiModelValue["Mrcx"] = "mrcx";
    AtsDocumentApiModelValue["Ma"] = "ma";
    AtsDocumentApiModelValue["Nb"] = "nb";
    AtsDocumentApiModelValue["Mb"] = "mb";
    AtsDocumentApiModelValue["Mathml"] = "mathml";
    AtsDocumentApiModelValue["Mbox"] = "mbox";
    AtsDocumentApiModelValue["Mscml"] = "mscml";
    AtsDocumentApiModelValue["Metalink"] = "metalink";
    AtsDocumentApiModelValue["Meta4"] = "meta4";
    AtsDocumentApiModelValue["Mets"] = "mets";
    AtsDocumentApiModelValue["Maei"] = "maei";
    AtsDocumentApiModelValue["Musd"] = "musd";
    AtsDocumentApiModelValue["Mods"] = "mods";
    AtsDocumentApiModelValue["M21"] = "m21";
    AtsDocumentApiModelValue["Mp21"] = "mp21";
    AtsDocumentApiModelValue["Mp4s"] = "mp4s";
    AtsDocumentApiModelValue["M4p"] = "m4p";
    AtsDocumentApiModelValue["Doc"] = "doc";
    AtsDocumentApiModelValue["Dot"] = "dot";
    AtsDocumentApiModelValue["Mxf"] = "mxf";
    AtsDocumentApiModelValue["Nq"] = "nq";
    AtsDocumentApiModelValue["Nt"] = "nt";
    AtsDocumentApiModelValue["Cjs"] = "cjs";
    AtsDocumentApiModelValue["Bin"] = "bin";
    AtsDocumentApiModelValue["Dms"] = "dms";
    AtsDocumentApiModelValue["Lrf"] = "lrf";
    AtsDocumentApiModelValue["Mar"] = "mar";
    AtsDocumentApiModelValue["So"] = "so";
    AtsDocumentApiModelValue["Dist"] = "dist";
    AtsDocumentApiModelValue["Distz"] = "distz";
    AtsDocumentApiModelValue["Pkg"] = "pkg";
    AtsDocumentApiModelValue["Bpk"] = "bpk";
    AtsDocumentApiModelValue["Dump"] = "dump";
    AtsDocumentApiModelValue["Elc"] = "elc";
    AtsDocumentApiModelValue["Deploy"] = "deploy";
    AtsDocumentApiModelValue["Exe"] = "exe";
    AtsDocumentApiModelValue["Dll"] = "dll";
    AtsDocumentApiModelValue["Deb"] = "deb";
    AtsDocumentApiModelValue["Dmg"] = "dmg";
    AtsDocumentApiModelValue["Iso"] = "iso";
    AtsDocumentApiModelValue["Img"] = "img";
    AtsDocumentApiModelValue["Msi"] = "msi";
    AtsDocumentApiModelValue["Msp"] = "msp";
    AtsDocumentApiModelValue["Msm"] = "msm";
    AtsDocumentApiModelValue["Buffer"] = "buffer";
    AtsDocumentApiModelValue["Oda"] = "oda";
    AtsDocumentApiModelValue["Opf"] = "opf";
    AtsDocumentApiModelValue["Ogx"] = "ogx";
    AtsDocumentApiModelValue["Omdoc"] = "omdoc";
    AtsDocumentApiModelValue["Onetoc"] = "onetoc";
    AtsDocumentApiModelValue["Onetoc2"] = "onetoc2";
    AtsDocumentApiModelValue["Onetmp"] = "onetmp";
    AtsDocumentApiModelValue["Onepkg"] = "onepkg";
    AtsDocumentApiModelValue["Oxps"] = "oxps";
    AtsDocumentApiModelValue["Relo"] = "relo";
    AtsDocumentApiModelValue["Xer"] = "xer";
    AtsDocumentApiModelValue["Pdf"] = "pdf";
    AtsDocumentApiModelValue["Pgp"] = "pgp";
    AtsDocumentApiModelValue["Asc"] = "asc";
    AtsDocumentApiModelValue["Sig"] = "sig";
    AtsDocumentApiModelValue["Prf"] = "prf";
    AtsDocumentApiModelValue["P10"] = "p10";
    AtsDocumentApiModelValue["P7m"] = "p7m";
    AtsDocumentApiModelValue["P7c"] = "p7c";
    AtsDocumentApiModelValue["P7s"] = "p7s";
    AtsDocumentApiModelValue["P8"] = "p8";
    AtsDocumentApiModelValue["Ac"] = "ac";
    AtsDocumentApiModelValue["Cer"] = "cer";
    AtsDocumentApiModelValue["Crl"] = "crl";
    AtsDocumentApiModelValue["Pkipath"] = "pkipath";
    AtsDocumentApiModelValue["Pki"] = "pki";
    AtsDocumentApiModelValue["Pls"] = "pls";
    AtsDocumentApiModelValue["Ai"] = "ai";
    AtsDocumentApiModelValue["Eps"] = "eps";
    AtsDocumentApiModelValue["Ps"] = "ps";
    AtsDocumentApiModelValue["Provx"] = "provx";
    AtsDocumentApiModelValue["Pskcxml"] = "pskcxml";
    AtsDocumentApiModelValue["Raml"] = "raml";
    AtsDocumentApiModelValue["Rdf"] = "rdf";
    AtsDocumentApiModelValue["Owl"] = "owl";
    AtsDocumentApiModelValue["Rif"] = "rif";
    AtsDocumentApiModelValue["Rnc"] = "rnc";
    AtsDocumentApiModelValue["Rl"] = "rl";
    AtsDocumentApiModelValue["Rld"] = "rld";
    AtsDocumentApiModelValue["Rs"] = "rs";
    AtsDocumentApiModelValue["Rapd"] = "rapd";
    AtsDocumentApiModelValue["Sls"] = "sls";
    AtsDocumentApiModelValue["Rusd"] = "rusd";
    AtsDocumentApiModelValue["Gbr"] = "gbr";
    AtsDocumentApiModelValue["Mft"] = "mft";
    AtsDocumentApiModelValue["Roa"] = "roa";
    AtsDocumentApiModelValue["Rsd"] = "rsd";
    AtsDocumentApiModelValue["Rss"] = "rss";
    AtsDocumentApiModelValue["Rtf"] = "rtf";
    AtsDocumentApiModelValue["Sbml"] = "sbml";
    AtsDocumentApiModelValue["Scq"] = "scq";
    AtsDocumentApiModelValue["Scs"] = "scs";
    AtsDocumentApiModelValue["Spq"] = "spq";
    AtsDocumentApiModelValue["Spp"] = "spp";
    AtsDocumentApiModelValue["Sdp"] = "sdp";
    AtsDocumentApiModelValue["Senmlx"] = "senmlx";
    AtsDocumentApiModelValue["Sensmlx"] = "sensmlx";
    AtsDocumentApiModelValue["Setpay"] = "setpay";
    AtsDocumentApiModelValue["Setreg"] = "setreg";
    AtsDocumentApiModelValue["Shf"] = "shf";
    AtsDocumentApiModelValue["Siv"] = "siv";
    AtsDocumentApiModelValue["Sieve"] = "sieve";
    AtsDocumentApiModelValue["Smi"] = "smi";
    AtsDocumentApiModelValue["Smil"] = "smil";
    AtsDocumentApiModelValue["Rq"] = "rq";
    AtsDocumentApiModelValue["Srx"] = "srx";
    AtsDocumentApiModelValue["Gram"] = "gram";
    AtsDocumentApiModelValue["Grxml"] = "grxml";
    AtsDocumentApiModelValue["Sru"] = "sru";
    AtsDocumentApiModelValue["Ssdl"] = "ssdl";
    AtsDocumentApiModelValue["Ssml"] = "ssml";
    AtsDocumentApiModelValue["Swidtag"] = "swidtag";
    AtsDocumentApiModelValue["Tei"] = "tei";
    AtsDocumentApiModelValue["Teicorpus"] = "teicorpus";
    AtsDocumentApiModelValue["Tfi"] = "tfi";
    AtsDocumentApiModelValue["Tsd"] = "tsd";
    AtsDocumentApiModelValue["Toml"] = "toml";
    AtsDocumentApiModelValue["Trig"] = "trig";
    AtsDocumentApiModelValue["Ttml"] = "ttml";
    AtsDocumentApiModelValue["Ubj"] = "ubj";
    AtsDocumentApiModelValue["Rsheet"] = "rsheet";
    AtsDocumentApiModelValue["Td"] = "td";
    AtsDocumentApiModelValue["Vxml"] = "vxml";
    AtsDocumentApiModelValue["Wasm"] = "wasm";
    AtsDocumentApiModelValue["Wgt"] = "wgt";
    AtsDocumentApiModelValue["Hlp"] = "hlp";
    AtsDocumentApiModelValue["Wsdl"] = "wsdl";
    AtsDocumentApiModelValue["Wspolicy"] = "wspolicy";
    AtsDocumentApiModelValue["Xaml"] = "xaml";
    AtsDocumentApiModelValue["Xav"] = "xav";
    AtsDocumentApiModelValue["Xca"] = "xca";
    AtsDocumentApiModelValue["Xdf"] = "xdf";
    AtsDocumentApiModelValue["Xel"] = "xel";
    AtsDocumentApiModelValue["Xns"] = "xns";
    AtsDocumentApiModelValue["Xenc"] = "xenc";
    AtsDocumentApiModelValue["Xhtml"] = "xhtml";
    AtsDocumentApiModelValue["Xht"] = "xht";
    AtsDocumentApiModelValue["Xlf"] = "xlf";
    AtsDocumentApiModelValue["Xml"] = "xml";
    AtsDocumentApiModelValue["Xsl"] = "xsl";
    AtsDocumentApiModelValue["Xsd"] = "xsd";
    AtsDocumentApiModelValue["Rng"] = "rng";
    AtsDocumentApiModelValue["Dtd"] = "dtd";
    AtsDocumentApiModelValue["Xop"] = "xop";
    AtsDocumentApiModelValue["Xpl"] = "xpl";
    AtsDocumentApiModelValue["WildcardXsl"] = "*xsl";
    AtsDocumentApiModelValue["Xslt"] = "xslt";
    AtsDocumentApiModelValue["Xspf"] = "xspf";
    AtsDocumentApiModelValue["Mxml"] = "mxml";
    AtsDocumentApiModelValue["Xhvml"] = "xhvml";
    AtsDocumentApiModelValue["Xvml"] = "xvml";
    AtsDocumentApiModelValue["Xvm"] = "xvm";
    AtsDocumentApiModelValue["Yang"] = "yang";
    AtsDocumentApiModelValue["Yin"] = "yin";
    AtsDocumentApiModelValue["Zip"] = "zip";
    AtsDocumentApiModelValue["Wildcard3gpp"] = "*3gpp";
    AtsDocumentApiModelValue["Adp"] = "adp";
    AtsDocumentApiModelValue["Amr"] = "amr";
    AtsDocumentApiModelValue["Au"] = "au";
    AtsDocumentApiModelValue["Snd"] = "snd";
    AtsDocumentApiModelValue["Mid"] = "mid";
    AtsDocumentApiModelValue["Midi"] = "midi";
    AtsDocumentApiModelValue["Kar"] = "kar";
    AtsDocumentApiModelValue["Rmi"] = "rmi";
    AtsDocumentApiModelValue["Mxmf"] = "mxmf";
    AtsDocumentApiModelValue["WildcardMp3"] = "*mp3";
    AtsDocumentApiModelValue["M4a"] = "m4a";
    AtsDocumentApiModelValue["Mp4a"] = "mp4a";
    AtsDocumentApiModelValue["Mpga"] = "mpga";
    AtsDocumentApiModelValue["Mp2"] = "mp2";
    AtsDocumentApiModelValue["Mp2a"] = "mp2a";
    AtsDocumentApiModelValue["Mp3"] = "mp3";
    AtsDocumentApiModelValue["M2a"] = "m2a";
    AtsDocumentApiModelValue["M3a"] = "m3a";
    AtsDocumentApiModelValue["Oga"] = "oga";
    AtsDocumentApiModelValue["Ogg"] = "ogg";
    AtsDocumentApiModelValue["Spx"] = "spx";
    AtsDocumentApiModelValue["Opus"] = "opus";
    AtsDocumentApiModelValue["S3m"] = "s3m";
    AtsDocumentApiModelValue["Sil"] = "sil";
    AtsDocumentApiModelValue["Wav"] = "wav";
    AtsDocumentApiModelValue["WildcardWav"] = "*wav";
    AtsDocumentApiModelValue["Weba"] = "weba";
    AtsDocumentApiModelValue["Xm"] = "xm";
    AtsDocumentApiModelValue["Ttc"] = "ttc";
    AtsDocumentApiModelValue["Otf"] = "otf";
    AtsDocumentApiModelValue["Ttf"] = "ttf";
    AtsDocumentApiModelValue["Woff"] = "woff";
    AtsDocumentApiModelValue["Woff2"] = "woff2";
    AtsDocumentApiModelValue["Exr"] = "exr";
    AtsDocumentApiModelValue["Apng"] = "apng";
    AtsDocumentApiModelValue["Avif"] = "avif";
    AtsDocumentApiModelValue["Bmp"] = "bmp";
    AtsDocumentApiModelValue["Cgm"] = "cgm";
    AtsDocumentApiModelValue["Drle"] = "drle";
    AtsDocumentApiModelValue["Emf"] = "emf";
    AtsDocumentApiModelValue["Fits"] = "fits";
    AtsDocumentApiModelValue["G3"] = "g3";
    AtsDocumentApiModelValue["Gif"] = "gif";
    AtsDocumentApiModelValue["Heic"] = "heic";
    AtsDocumentApiModelValue["Heics"] = "heics";
    AtsDocumentApiModelValue["Heif"] = "heif";
    AtsDocumentApiModelValue["Heifs"] = "heifs";
    AtsDocumentApiModelValue["Hej2"] = "hej2";
    AtsDocumentApiModelValue["Hsj2"] = "hsj2";
    AtsDocumentApiModelValue["Ief"] = "ief";
    AtsDocumentApiModelValue["Jls"] = "jls";
    AtsDocumentApiModelValue["Jp2"] = "jp2";
    AtsDocumentApiModelValue["Jpg2"] = "jpg2";
    AtsDocumentApiModelValue["Jpeg"] = "jpeg";
    AtsDocumentApiModelValue["Jpg"] = "jpg";
    AtsDocumentApiModelValue["Jpe"] = "jpe";
    AtsDocumentApiModelValue["Jph"] = "jph";
    AtsDocumentApiModelValue["Jhc"] = "jhc";
    AtsDocumentApiModelValue["Jpm"] = "jpm";
    AtsDocumentApiModelValue["Jpx"] = "jpx";
    AtsDocumentApiModelValue["Jpf"] = "jpf";
    AtsDocumentApiModelValue["Jxr"] = "jxr";
    AtsDocumentApiModelValue["Jxra"] = "jxra";
    AtsDocumentApiModelValue["Jxrs"] = "jxrs";
    AtsDocumentApiModelValue["Jxs"] = "jxs";
    AtsDocumentApiModelValue["Jxsc"] = "jxsc";
    AtsDocumentApiModelValue["Jxsi"] = "jxsi";
    AtsDocumentApiModelValue["Jxss"] = "jxss";
    AtsDocumentApiModelValue["Ktx"] = "ktx";
    AtsDocumentApiModelValue["Ktx2"] = "ktx2";
    AtsDocumentApiModelValue["Png"] = "png";
    AtsDocumentApiModelValue["Sgi"] = "sgi";
    AtsDocumentApiModelValue["Svg"] = "svg";
    AtsDocumentApiModelValue["Svgz"] = "svgz";
    AtsDocumentApiModelValue["T38"] = "t38";
    AtsDocumentApiModelValue["Tif"] = "tif";
    AtsDocumentApiModelValue["Tiff"] = "tiff";
    AtsDocumentApiModelValue["Tfx"] = "tfx";
    AtsDocumentApiModelValue["Webp"] = "webp";
    AtsDocumentApiModelValue["Wmf"] = "wmf";
    AtsDocumentApiModelValue["DispositionNotification"] = "disposition-notification";
    AtsDocumentApiModelValue["U8msg"] = "u8msg";
    AtsDocumentApiModelValue["U8dsn"] = "u8dsn";
    AtsDocumentApiModelValue["U8mdn"] = "u8mdn";
    AtsDocumentApiModelValue["U8hdr"] = "u8hdr";
    AtsDocumentApiModelValue["Eml"] = "eml";
    AtsDocumentApiModelValue["Mime"] = "mime";
    AtsDocumentApiModelValue["Threemf"] = "3mf";
    AtsDocumentApiModelValue["Gltf"] = "gltf";
    AtsDocumentApiModelValue["Glb"] = "glb";
    AtsDocumentApiModelValue["Igs"] = "igs";
    AtsDocumentApiModelValue["Iges"] = "iges";
    AtsDocumentApiModelValue["Msh"] = "msh";
    AtsDocumentApiModelValue["Mesh"] = "mesh";
    AtsDocumentApiModelValue["Silo"] = "silo";
    AtsDocumentApiModelValue["Mtl"] = "mtl";
    AtsDocumentApiModelValue["Obj"] = "obj";
    AtsDocumentApiModelValue["Stpx"] = "stpx";
    AtsDocumentApiModelValue["Stpz"] = "stpz";
    AtsDocumentApiModelValue["Stpxz"] = "stpxz";
    AtsDocumentApiModelValue["Stl"] = "stl";
    AtsDocumentApiModelValue["Wrl"] = "wrl";
    AtsDocumentApiModelValue["Vrml"] = "vrml";
    AtsDocumentApiModelValue["WildcardX3db"] = "*x3db";
    AtsDocumentApiModelValue["X3dbz"] = "x3dbz";
    AtsDocumentApiModelValue["X3db"] = "x3db";
    AtsDocumentApiModelValue["WildcardX3dv"] = "*x3dv";
    AtsDocumentApiModelValue["X3dvz"] = "x3dvz";
    AtsDocumentApiModelValue["X3d"] = "x3d";
    AtsDocumentApiModelValue["X3dz"] = "x3dz";
    AtsDocumentApiModelValue["X3dv"] = "x3dv";
    AtsDocumentApiModelValue["Appcache"] = "appcache";
    AtsDocumentApiModelValue["Manifest"] = "manifest";
    AtsDocumentApiModelValue["Ics"] = "ics";
    AtsDocumentApiModelValue["Ifb"] = "ifb";
    AtsDocumentApiModelValue["Coffee"] = "coffee";
    AtsDocumentApiModelValue["Litcoffee"] = "litcoffee";
    AtsDocumentApiModelValue["Css"] = "css";
    AtsDocumentApiModelValue["Csv"] = "csv";
    AtsDocumentApiModelValue["Html"] = "html";
    AtsDocumentApiModelValue["Htm"] = "htm";
    AtsDocumentApiModelValue["Shtml"] = "shtml";
    AtsDocumentApiModelValue["Jade"] = "jade";
    AtsDocumentApiModelValue["Jsx"] = "jsx";
    AtsDocumentApiModelValue["Less"] = "less";
    AtsDocumentApiModelValue["Markdown"] = "markdown";
    AtsDocumentApiModelValue["Md"] = "md";
    AtsDocumentApiModelValue["Mml"] = "mml";
    AtsDocumentApiModelValue["Mdx"] = "mdx";
    AtsDocumentApiModelValue["N3"] = "n3";
    AtsDocumentApiModelValue["Txt"] = "txt";
    AtsDocumentApiModelValue["Text"] = "text";
    AtsDocumentApiModelValue["Conf"] = "conf";
    AtsDocumentApiModelValue["Def"] = "def";
    AtsDocumentApiModelValue["List"] = "list";
    AtsDocumentApiModelValue["Log"] = "log";
    AtsDocumentApiModelValue["In"] = "in";
    AtsDocumentApiModelValue["Ini"] = "ini";
    AtsDocumentApiModelValue["Rtx"] = "rtx";
    AtsDocumentApiModelValue["WildcardRtf"] = "*rtf";
    AtsDocumentApiModelValue["Sgml"] = "sgml";
    AtsDocumentApiModelValue["Sgm"] = "sgm";
    AtsDocumentApiModelValue["Shex"] = "shex";
    AtsDocumentApiModelValue["Slim"] = "slim";
    AtsDocumentApiModelValue["Slm"] = "slm";
    AtsDocumentApiModelValue["Spdx"] = "spdx";
    AtsDocumentApiModelValue["Stylus"] = "stylus";
    AtsDocumentApiModelValue["Styl"] = "styl";
    AtsDocumentApiModelValue["Tsv"] = "tsv";
    AtsDocumentApiModelValue["T"] = "t";
    AtsDocumentApiModelValue["Tr"] = "tr";
    AtsDocumentApiModelValue["Roff"] = "roff";
    AtsDocumentApiModelValue["Man"] = "man";
    AtsDocumentApiModelValue["Me"] = "me";
    AtsDocumentApiModelValue["Ms"] = "ms";
    AtsDocumentApiModelValue["Ttl"] = "ttl";
    AtsDocumentApiModelValue["Uri"] = "uri";
    AtsDocumentApiModelValue["Uris"] = "uris";
    AtsDocumentApiModelValue["Urls"] = "urls";
    AtsDocumentApiModelValue["Vcard"] = "vcard";
    AtsDocumentApiModelValue["Vtt"] = "vtt";
    AtsDocumentApiModelValue["WildcardXml"] = "*xml";
    AtsDocumentApiModelValue["Yaml"] = "yaml";
    AtsDocumentApiModelValue["Yml"] = "yml";
    AtsDocumentApiModelValue["Threegp"] = "3gp";
    AtsDocumentApiModelValue["Threegpp"] = "3gpp";
    AtsDocumentApiModelValue["Threeg2"] = "3g2";
    AtsDocumentApiModelValue["H261"] = "h261";
    AtsDocumentApiModelValue["H263"] = "h263";
    AtsDocumentApiModelValue["H264"] = "h264";
    AtsDocumentApiModelValue["M4s"] = "m4s";
    AtsDocumentApiModelValue["Jpgv"] = "jpgv";
    AtsDocumentApiModelValue["WildcardJpm"] = "*jpm";
    AtsDocumentApiModelValue["Jpgm"] = "jpgm";
    AtsDocumentApiModelValue["Mj2"] = "mj2";
    AtsDocumentApiModelValue["Mjp2"] = "mjp2";
    AtsDocumentApiModelValue["Ts"] = "ts";
    AtsDocumentApiModelValue["Mp4"] = "mp4";
    AtsDocumentApiModelValue["Mp4v"] = "mp4v";
    AtsDocumentApiModelValue["Mpg4"] = "mpg4";
    AtsDocumentApiModelValue["Mpeg"] = "mpeg";
    AtsDocumentApiModelValue["Mpg"] = "mpg";
    AtsDocumentApiModelValue["Mpe"] = "mpe";
    AtsDocumentApiModelValue["M1v"] = "m1v";
    AtsDocumentApiModelValue["M2v"] = "m2v";
    AtsDocumentApiModelValue["Ogv"] = "ogv";
    AtsDocumentApiModelValue["Qt"] = "qt";
    AtsDocumentApiModelValue["Mov"] = "mov";
    AtsDocumentApiModelValue["Webm"] = "webm";
    AtsDocumentApiModelValue["Cww"] = "cww";
    AtsDocumentApiModelValue["Onekm"] = "1km";
    AtsDocumentApiModelValue["Plb"] = "plb";
    AtsDocumentApiModelValue["Psb"] = "psb";
    AtsDocumentApiModelValue["Pvb"] = "pvb";
    AtsDocumentApiModelValue["Tcap"] = "tcap";
    AtsDocumentApiModelValue["Pwn"] = "pwn";
    AtsDocumentApiModelValue["Aso"] = "aso";
    AtsDocumentApiModelValue["Imp"] = "imp";
    AtsDocumentApiModelValue["Acu"] = "acu";
    AtsDocumentApiModelValue["Atc"] = "atc";
    AtsDocumentApiModelValue["Acutc"] = "acutc";
    AtsDocumentApiModelValue["Air"] = "air";
    AtsDocumentApiModelValue["Fcdt"] = "fcdt";
    AtsDocumentApiModelValue["Fxp"] = "fxp";
    AtsDocumentApiModelValue["Fxpl"] = "fxpl";
    AtsDocumentApiModelValue["Xdp"] = "xdp";
    AtsDocumentApiModelValue["Xfdf"] = "xfdf";
    AtsDocumentApiModelValue["Ahead"] = "ahead";
    AtsDocumentApiModelValue["Azf"] = "azf";
    AtsDocumentApiModelValue["Azs"] = "azs";
    AtsDocumentApiModelValue["Azw"] = "azw";
    AtsDocumentApiModelValue["Acc"] = "acc";
    AtsDocumentApiModelValue["Ami"] = "ami";
    AtsDocumentApiModelValue["Apk"] = "apk";
    AtsDocumentApiModelValue["Cii"] = "cii";
    AtsDocumentApiModelValue["Fti"] = "fti";
    AtsDocumentApiModelValue["Atx"] = "atx";
    AtsDocumentApiModelValue["Mpkg"] = "mpkg";
    AtsDocumentApiModelValue["Key"] = "key";
    AtsDocumentApiModelValue["M3u8"] = "m3u8";
    AtsDocumentApiModelValue["Numbers"] = "numbers";
    AtsDocumentApiModelValue["Pages"] = "pages";
    AtsDocumentApiModelValue["Pkpass"] = "pkpass";
    AtsDocumentApiModelValue["Swi"] = "swi";
    AtsDocumentApiModelValue["Iota"] = "iota";
    AtsDocumentApiModelValue["Aep"] = "aep";
    AtsDocumentApiModelValue["Bmml"] = "bmml";
    AtsDocumentApiModelValue["Mpm"] = "mpm";
    AtsDocumentApiModelValue["Bmi"] = "bmi";
    AtsDocumentApiModelValue["Rep"] = "rep";
    AtsDocumentApiModelValue["Cdxml"] = "cdxml";
    AtsDocumentApiModelValue["Mmd"] = "mmd";
    AtsDocumentApiModelValue["Cdy"] = "cdy";
    AtsDocumentApiModelValue["Csl"] = "csl";
    AtsDocumentApiModelValue["Cla"] = "cla";
    AtsDocumentApiModelValue["Rp9"] = "rp9";
    AtsDocumentApiModelValue["C4g"] = "c4g";
    AtsDocumentApiModelValue["C4d"] = "c4d";
    AtsDocumentApiModelValue["C4f"] = "c4f";
    AtsDocumentApiModelValue["C4p"] = "c4p";
    AtsDocumentApiModelValue["C4u"] = "c4u";
    AtsDocumentApiModelValue["C11amc"] = "c11amc";
    AtsDocumentApiModelValue["C11amz"] = "c11amz";
    AtsDocumentApiModelValue["Csp"] = "csp";
    AtsDocumentApiModelValue["Cdbcmsg"] = "cdbcmsg";
    AtsDocumentApiModelValue["Cmc"] = "cmc";
    AtsDocumentApiModelValue["Clkx"] = "clkx";
    AtsDocumentApiModelValue["Clkk"] = "clkk";
    AtsDocumentApiModelValue["Clkp"] = "clkp";
    AtsDocumentApiModelValue["Clkt"] = "clkt";
    AtsDocumentApiModelValue["Clkw"] = "clkw";
    AtsDocumentApiModelValue["Wbs"] = "wbs";
    AtsDocumentApiModelValue["Pml"] = "pml";
    AtsDocumentApiModelValue["Ppd"] = "ppd";
    AtsDocumentApiModelValue["Car"] = "car";
    AtsDocumentApiModelValue["Pcurl"] = "pcurl";
    AtsDocumentApiModelValue["Dart"] = "dart";
    AtsDocumentApiModelValue["Rdz"] = "rdz";
    AtsDocumentApiModelValue["Dbf"] = "dbf";
    AtsDocumentApiModelValue["Uvf"] = "uvf";
    AtsDocumentApiModelValue["Uvvf"] = "uvvf";
    AtsDocumentApiModelValue["Uvd"] = "uvd";
    AtsDocumentApiModelValue["Uvvd"] = "uvvd";
    AtsDocumentApiModelValue["Uvt"] = "uvt";
    AtsDocumentApiModelValue["Uvvt"] = "uvvt";
    AtsDocumentApiModelValue["Uvx"] = "uvx";
    AtsDocumentApiModelValue["Uvvx"] = "uvvx";
    AtsDocumentApiModelValue["Uvz"] = "uvz";
    AtsDocumentApiModelValue["Uvvz"] = "uvvz";
    AtsDocumentApiModelValue["FeLaunch"] = "fe_launch";
    AtsDocumentApiModelValue["Dna"] = "dna";
    AtsDocumentApiModelValue["Mlp"] = "mlp";
    AtsDocumentApiModelValue["Mle"] = "mle";
    AtsDocumentApiModelValue["Dpg"] = "dpg";
    AtsDocumentApiModelValue["Dfac"] = "dfac";
    AtsDocumentApiModelValue["Kpxx"] = "kpxx";
    AtsDocumentApiModelValue["Ait"] = "ait";
    AtsDocumentApiModelValue["Svc"] = "svc";
    AtsDocumentApiModelValue["Geo"] = "geo";
    AtsDocumentApiModelValue["Mag"] = "mag";
    AtsDocumentApiModelValue["Nml"] = "nml";
    AtsDocumentApiModelValue["Esf"] = "esf";
    AtsDocumentApiModelValue["Msf"] = "msf";
    AtsDocumentApiModelValue["Qam"] = "qam";
    AtsDocumentApiModelValue["Slt"] = "slt";
    AtsDocumentApiModelValue["Ssf"] = "ssf";
    AtsDocumentApiModelValue["Es3"] = "es3";
    AtsDocumentApiModelValue["Et3"] = "et3";
    AtsDocumentApiModelValue["Ez2"] = "ez2";
    AtsDocumentApiModelValue["Ez3"] = "ez3";
    AtsDocumentApiModelValue["Fdf"] = "fdf";
    AtsDocumentApiModelValue["Mseed"] = "mseed";
    AtsDocumentApiModelValue["Seed"] = "seed";
    AtsDocumentApiModelValue["Dataless"] = "dataless";
    AtsDocumentApiModelValue["Gph"] = "gph";
    AtsDocumentApiModelValue["Ftc"] = "ftc";
    AtsDocumentApiModelValue["Fm"] = "fm";
    AtsDocumentApiModelValue["Frame"] = "frame";
    AtsDocumentApiModelValue["Maker"] = "maker";
    AtsDocumentApiModelValue["Book"] = "book";
    AtsDocumentApiModelValue["Fnc"] = "fnc";
    AtsDocumentApiModelValue["Ltf"] = "ltf";
    AtsDocumentApiModelValue["Fsc"] = "fsc";
    AtsDocumentApiModelValue["Oas"] = "oas";
    AtsDocumentApiModelValue["Oa2"] = "oa2";
    AtsDocumentApiModelValue["Oa3"] = "oa3";
    AtsDocumentApiModelValue["Fg5"] = "fg5";
    AtsDocumentApiModelValue["Bh2"] = "bh2";
    AtsDocumentApiModelValue["Ddd"] = "ddd";
    AtsDocumentApiModelValue["Xdw"] = "xdw";
    AtsDocumentApiModelValue["Xbd"] = "xbd";
    AtsDocumentApiModelValue["Fzs"] = "fzs";
    AtsDocumentApiModelValue["Txd"] = "txd";
    AtsDocumentApiModelValue["Ggb"] = "ggb";
    AtsDocumentApiModelValue["Ggt"] = "ggt";
    AtsDocumentApiModelValue["Gex"] = "gex";
    AtsDocumentApiModelValue["Gre"] = "gre";
    AtsDocumentApiModelValue["Gxt"] = "gxt";
    AtsDocumentApiModelValue["G2w"] = "g2w";
    AtsDocumentApiModelValue["G3w"] = "g3w";
    AtsDocumentApiModelValue["Gmx"] = "gmx";
    AtsDocumentApiModelValue["Gdoc"] = "gdoc";
    AtsDocumentApiModelValue["Gslides"] = "gslides";
    AtsDocumentApiModelValue["Gsheet"] = "gsheet";
    AtsDocumentApiModelValue["Kml"] = "kml";
    AtsDocumentApiModelValue["Kmz"] = "kmz";
    AtsDocumentApiModelValue["Gqf"] = "gqf";
    AtsDocumentApiModelValue["Gqs"] = "gqs";
    AtsDocumentApiModelValue["Gac"] = "gac";
    AtsDocumentApiModelValue["Ghf"] = "ghf";
    AtsDocumentApiModelValue["Gim"] = "gim";
    AtsDocumentApiModelValue["Grv"] = "grv";
    AtsDocumentApiModelValue["Gtm"] = "gtm";
    AtsDocumentApiModelValue["Tpl"] = "tpl";
    AtsDocumentApiModelValue["Vcg"] = "vcg";
    AtsDocumentApiModelValue["Hal"] = "hal";
    AtsDocumentApiModelValue["Zmm"] = "zmm";
    AtsDocumentApiModelValue["Hbci"] = "hbci";
    AtsDocumentApiModelValue["Les"] = "les";
    AtsDocumentApiModelValue["Hpgl"] = "hpgl";
    AtsDocumentApiModelValue["Hpid"] = "hpid";
    AtsDocumentApiModelValue["Hps"] = "hps";
    AtsDocumentApiModelValue["Jlt"] = "jlt";
    AtsDocumentApiModelValue["Pcl"] = "pcl";
    AtsDocumentApiModelValue["Pclxl"] = "pclxl";
    AtsDocumentApiModelValue["SfdHdstx"] = "sfd-hdstx";
    AtsDocumentApiModelValue["Mpy"] = "mpy";
    AtsDocumentApiModelValue["Afp"] = "afp";
    AtsDocumentApiModelValue["Listafp"] = "listafp";
    AtsDocumentApiModelValue["List3820"] = "list3820";
    AtsDocumentApiModelValue["Irm"] = "irm";
    AtsDocumentApiModelValue["Sc"] = "sc";
    AtsDocumentApiModelValue["Icc"] = "icc";
    AtsDocumentApiModelValue["Icm"] = "icm";
    AtsDocumentApiModelValue["Igl"] = "igl";
    AtsDocumentApiModelValue["Ivp"] = "ivp";
    AtsDocumentApiModelValue["Ivu"] = "ivu";
    AtsDocumentApiModelValue["Igm"] = "igm";
    AtsDocumentApiModelValue["Xpw"] = "xpw";
    AtsDocumentApiModelValue["Xpx"] = "xpx";
    AtsDocumentApiModelValue["I2g"] = "i2g";
    AtsDocumentApiModelValue["Qbo"] = "qbo";
    AtsDocumentApiModelValue["Qfx"] = "qfx";
    AtsDocumentApiModelValue["Rcprofile"] = "rcprofile";
    AtsDocumentApiModelValue["Irp"] = "irp";
    AtsDocumentApiModelValue["Xpr"] = "xpr";
    AtsDocumentApiModelValue["Fcs"] = "fcs";
    AtsDocumentApiModelValue["Jam"] = "jam";
    AtsDocumentApiModelValue["Rms"] = "rms";
    AtsDocumentApiModelValue["Jisp"] = "jisp";
    AtsDocumentApiModelValue["Joda"] = "joda";
    AtsDocumentApiModelValue["Ktz"] = "ktz";
    AtsDocumentApiModelValue["Ktr"] = "ktr";
    AtsDocumentApiModelValue["Karbon"] = "karbon";
    AtsDocumentApiModelValue["Chrt"] = "chrt";
    AtsDocumentApiModelValue["Kfo"] = "kfo";
    AtsDocumentApiModelValue["Flw"] = "flw";
    AtsDocumentApiModelValue["Kon"] = "kon";
    AtsDocumentApiModelValue["Kpr"] = "kpr";
    AtsDocumentApiModelValue["Kpt"] = "kpt";
    AtsDocumentApiModelValue["Ksp"] = "ksp";
    AtsDocumentApiModelValue["Kwd"] = "kwd";
    AtsDocumentApiModelValue["Kwt"] = "kwt";
    AtsDocumentApiModelValue["Htke"] = "htke";
    AtsDocumentApiModelValue["Kia"] = "kia";
    AtsDocumentApiModelValue["Kne"] = "kne";
    AtsDocumentApiModelValue["Knp"] = "knp";
    AtsDocumentApiModelValue["Skp"] = "skp";
    AtsDocumentApiModelValue["Skd"] = "skd";
    AtsDocumentApiModelValue["Skt"] = "skt";
    AtsDocumentApiModelValue["Skm"] = "skm";
    AtsDocumentApiModelValue["Sse"] = "sse";
    AtsDocumentApiModelValue["Lasxml"] = "lasxml";
    AtsDocumentApiModelValue["Lbd"] = "lbd";
    AtsDocumentApiModelValue["Lbe"] = "lbe";
    AtsDocumentApiModelValue["Apr"] = "apr";
    AtsDocumentApiModelValue["Pre"] = "pre";
    AtsDocumentApiModelValue["Nsf"] = "nsf";
    AtsDocumentApiModelValue["Org"] = "org";
    AtsDocumentApiModelValue["Scm"] = "scm";
    AtsDocumentApiModelValue["Lwp"] = "lwp";
    AtsDocumentApiModelValue["Portpkg"] = "portpkg";
    AtsDocumentApiModelValue["Mvt"] = "mvt";
    AtsDocumentApiModelValue["Mcd"] = "mcd";
    AtsDocumentApiModelValue["Mc1"] = "mc1";
    AtsDocumentApiModelValue["Cdkey"] = "cdkey";
    AtsDocumentApiModelValue["Mwf"] = "mwf";
    AtsDocumentApiModelValue["Mfm"] = "mfm";
    AtsDocumentApiModelValue["Flo"] = "flo";
    AtsDocumentApiModelValue["Igx"] = "igx";
    AtsDocumentApiModelValue["Mif"] = "mif";
    AtsDocumentApiModelValue["Daf"] = "daf";
    AtsDocumentApiModelValue["Dis"] = "dis";
    AtsDocumentApiModelValue["Mbk"] = "mbk";
    AtsDocumentApiModelValue["Mqy"] = "mqy";
    AtsDocumentApiModelValue["Msl"] = "msl";
    AtsDocumentApiModelValue["Plc"] = "plc";
    AtsDocumentApiModelValue["Txf"] = "txf";
    AtsDocumentApiModelValue["Mpn"] = "mpn";
    AtsDocumentApiModelValue["Mpc"] = "mpc";
    AtsDocumentApiModelValue["Xul"] = "xul";
    AtsDocumentApiModelValue["Cil"] = "cil";
    AtsDocumentApiModelValue["Cab"] = "cab";
    AtsDocumentApiModelValue["Xls"] = "xls";
    AtsDocumentApiModelValue["Xlm"] = "xlm";
    AtsDocumentApiModelValue["Xla"] = "xla";
    AtsDocumentApiModelValue["Xlc"] = "xlc";
    AtsDocumentApiModelValue["Xlt"] = "xlt";
    AtsDocumentApiModelValue["Xlw"] = "xlw";
    AtsDocumentApiModelValue["Xlam"] = "xlam";
    AtsDocumentApiModelValue["Xlsb"] = "xlsb";
    AtsDocumentApiModelValue["Xlsm"] = "xlsm";
    AtsDocumentApiModelValue["Xltm"] = "xltm";
    AtsDocumentApiModelValue["Eot"] = "eot";
    AtsDocumentApiModelValue["Chm"] = "chm";
    AtsDocumentApiModelValue["Ims"] = "ims";
    AtsDocumentApiModelValue["Lrm"] = "lrm";
    AtsDocumentApiModelValue["Thmx"] = "thmx";
    AtsDocumentApiModelValue["Msg"] = "msg";
    AtsDocumentApiModelValue["Cat"] = "cat";
    AtsDocumentApiModelValue["WildcardStl"] = "*stl";
    AtsDocumentApiModelValue["Ppt"] = "ppt";
    AtsDocumentApiModelValue["Pps"] = "pps";
    AtsDocumentApiModelValue["Pot"] = "pot";
    AtsDocumentApiModelValue["Ppam"] = "ppam";
    AtsDocumentApiModelValue["Pptm"] = "pptm";
    AtsDocumentApiModelValue["Sldm"] = "sldm";
    AtsDocumentApiModelValue["Ppsm"] = "ppsm";
    AtsDocumentApiModelValue["Potm"] = "potm";
    AtsDocumentApiModelValue["Mpp"] = "mpp";
    AtsDocumentApiModelValue["Mpt"] = "mpt";
    AtsDocumentApiModelValue["Docm"] = "docm";
    AtsDocumentApiModelValue["Dotm"] = "dotm";
    AtsDocumentApiModelValue["Wps"] = "wps";
    AtsDocumentApiModelValue["Wks"] = "wks";
    AtsDocumentApiModelValue["Wcm"] = "wcm";
    AtsDocumentApiModelValue["Wdb"] = "wdb";
    AtsDocumentApiModelValue["Wpl"] = "wpl";
    AtsDocumentApiModelValue["Xps"] = "xps";
    AtsDocumentApiModelValue["Mseq"] = "mseq";
    AtsDocumentApiModelValue["Mus"] = "mus";
    AtsDocumentApiModelValue["Msty"] = "msty";
    AtsDocumentApiModelValue["Taglet"] = "taglet";
    AtsDocumentApiModelValue["Nlu"] = "nlu";
    AtsDocumentApiModelValue["Ntf"] = "ntf";
    AtsDocumentApiModelValue["Nitf"] = "nitf";
    AtsDocumentApiModelValue["Nnd"] = "nnd";
    AtsDocumentApiModelValue["Nns"] = "nns";
    AtsDocumentApiModelValue["Nnw"] = "nnw";
    AtsDocumentApiModelValue["WildcardAc"] = "*ac";
    AtsDocumentApiModelValue["Ngdat"] = "ngdat";
    AtsDocumentApiModelValue["NGage"] = "n-gage";
    AtsDocumentApiModelValue["Rpst"] = "rpst";
    AtsDocumentApiModelValue["Rpss"] = "rpss";
    AtsDocumentApiModelValue["Edm"] = "edm";
    AtsDocumentApiModelValue["Edx"] = "edx";
    AtsDocumentApiModelValue["Ext"] = "ext";
    AtsDocumentApiModelValue["Odc"] = "odc";
    AtsDocumentApiModelValue["Otc"] = "otc";
    AtsDocumentApiModelValue["Odb"] = "odb";
    AtsDocumentApiModelValue["Odf"] = "odf";
    AtsDocumentApiModelValue["Odft"] = "odft";
    AtsDocumentApiModelValue["Odg"] = "odg";
    AtsDocumentApiModelValue["Otg"] = "otg";
    AtsDocumentApiModelValue["Odi"] = "odi";
    AtsDocumentApiModelValue["Oti"] = "oti";
    AtsDocumentApiModelValue["Odp"] = "odp";
    AtsDocumentApiModelValue["Otp"] = "otp";
    AtsDocumentApiModelValue["Ods"] = "ods";
    AtsDocumentApiModelValue["Ots"] = "ots";
    AtsDocumentApiModelValue["Odt"] = "odt";
    AtsDocumentApiModelValue["Odm"] = "odm";
    AtsDocumentApiModelValue["Ott"] = "ott";
    AtsDocumentApiModelValue["Oth"] = "oth";
    AtsDocumentApiModelValue["Xo"] = "xo";
    AtsDocumentApiModelValue["Dd2"] = "dd2";
    AtsDocumentApiModelValue["Obgx"] = "obgx";
    AtsDocumentApiModelValue["Oxt"] = "oxt";
    AtsDocumentApiModelValue["Osm"] = "osm";
    AtsDocumentApiModelValue["Pptx"] = "pptx";
    AtsDocumentApiModelValue["Sldx"] = "sldx";
    AtsDocumentApiModelValue["Ppsx"] = "ppsx";
    AtsDocumentApiModelValue["Potx"] = "potx";
    AtsDocumentApiModelValue["Xlsx"] = "xlsx";
    AtsDocumentApiModelValue["Xltx"] = "xltx";
    AtsDocumentApiModelValue["Docx"] = "docx";
    AtsDocumentApiModelValue["Dotx"] = "dotx";
    AtsDocumentApiModelValue["Mgp"] = "mgp";
    AtsDocumentApiModelValue["Dp"] = "dp";
    AtsDocumentApiModelValue["Esa"] = "esa";
    AtsDocumentApiModelValue["Pdb"] = "pdb";
    AtsDocumentApiModelValue["Pqa"] = "pqa";
    AtsDocumentApiModelValue["Oprc"] = "oprc";
    AtsDocumentApiModelValue["Paw"] = "paw";
    AtsDocumentApiModelValue["Str"] = "str";
    AtsDocumentApiModelValue["Ei6"] = "ei6";
    AtsDocumentApiModelValue["Efif"] = "efif";
    AtsDocumentApiModelValue["Wg"] = "wg";
    AtsDocumentApiModelValue["Plf"] = "plf";
    AtsDocumentApiModelValue["Pbd"] = "pbd";
    AtsDocumentApiModelValue["Box"] = "box";
    AtsDocumentApiModelValue["Mgz"] = "mgz";
    AtsDocumentApiModelValue["Qps"] = "qps";
    AtsDocumentApiModelValue["Ptid"] = "ptid";
    AtsDocumentApiModelValue["Qxd"] = "qxd";
    AtsDocumentApiModelValue["Qxt"] = "qxt";
    AtsDocumentApiModelValue["Qwd"] = "qwd";
    AtsDocumentApiModelValue["Qwt"] = "qwt";
    AtsDocumentApiModelValue["Qxl"] = "qxl";
    AtsDocumentApiModelValue["Qxb"] = "qxb";
    AtsDocumentApiModelValue["Rar"] = "rar";
    AtsDocumentApiModelValue["Bed"] = "bed";
    AtsDocumentApiModelValue["Mxl"] = "mxl";
    AtsDocumentApiModelValue["Musicxml"] = "musicxml";
    AtsDocumentApiModelValue["Cryptonote"] = "cryptonote";
    AtsDocumentApiModelValue["Cod"] = "cod";
    AtsDocumentApiModelValue["Rm"] = "rm";
    AtsDocumentApiModelValue["Rmvb"] = "rmvb";
    AtsDocumentApiModelValue["Link66"] = "link66";
    AtsDocumentApiModelValue["St"] = "st";
    AtsDocumentApiModelValue["See"] = "see";
    AtsDocumentApiModelValue["Sema"] = "sema";
    AtsDocumentApiModelValue["Semd"] = "semd";
    AtsDocumentApiModelValue["Semf"] = "semf";
    AtsDocumentApiModelValue["Ifm"] = "ifm";
    AtsDocumentApiModelValue["Itp"] = "itp";
    AtsDocumentApiModelValue["Iif"] = "iif";
    AtsDocumentApiModelValue["Ipk"] = "ipk";
    AtsDocumentApiModelValue["Twd"] = "twd";
    AtsDocumentApiModelValue["Twds"] = "twds";
    AtsDocumentApiModelValue["Mmf"] = "mmf";
    AtsDocumentApiModelValue["Teacher"] = "teacher";
    AtsDocumentApiModelValue["Fo"] = "fo";
    AtsDocumentApiModelValue["Sdkm"] = "sdkm";
    AtsDocumentApiModelValue["Sdkd"] = "sdkd";
    AtsDocumentApiModelValue["Dxp"] = "dxp";
    AtsDocumentApiModelValue["Sfs"] = "sfs";
    AtsDocumentApiModelValue["Sdc"] = "sdc";
    AtsDocumentApiModelValue["Sda"] = "sda";
    AtsDocumentApiModelValue["Sdd"] = "sdd";
    AtsDocumentApiModelValue["Smf"] = "smf";
    AtsDocumentApiModelValue["Sdw"] = "sdw";
    AtsDocumentApiModelValue["Vor"] = "vor";
    AtsDocumentApiModelValue["Sgl"] = "sgl";
    AtsDocumentApiModelValue["Smzip"] = "smzip";
    AtsDocumentApiModelValue["Sm"] = "sm";
    AtsDocumentApiModelValue["Wadl"] = "wadl";
    AtsDocumentApiModelValue["Sxc"] = "sxc";
    AtsDocumentApiModelValue["Stc"] = "stc";
    AtsDocumentApiModelValue["Sxd"] = "sxd";
    AtsDocumentApiModelValue["Std"] = "std";
    AtsDocumentApiModelValue["Sxi"] = "sxi";
    AtsDocumentApiModelValue["Sti"] = "sti";
    AtsDocumentApiModelValue["Sxm"] = "sxm";
    AtsDocumentApiModelValue["Sxw"] = "sxw";
    AtsDocumentApiModelValue["Sxg"] = "sxg";
    AtsDocumentApiModelValue["Stw"] = "stw";
    AtsDocumentApiModelValue["Sus"] = "sus";
    AtsDocumentApiModelValue["Susp"] = "susp";
    AtsDocumentApiModelValue["Svd"] = "svd";
    AtsDocumentApiModelValue["Sis"] = "sis";
    AtsDocumentApiModelValue["Sisx"] = "sisx";
    AtsDocumentApiModelValue["Xsm"] = "xsm";
    AtsDocumentApiModelValue["Bdm"] = "bdm";
    AtsDocumentApiModelValue["Xdm"] = "xdm";
    AtsDocumentApiModelValue["Ddf"] = "ddf";
    AtsDocumentApiModelValue["Tao"] = "tao";
    AtsDocumentApiModelValue["Pcap"] = "pcap";
    AtsDocumentApiModelValue["Cap"] = "cap";
    AtsDocumentApiModelValue["Dmp"] = "dmp";
    AtsDocumentApiModelValue["Tmo"] = "tmo";
    AtsDocumentApiModelValue["Tpt"] = "tpt";
    AtsDocumentApiModelValue["Mxs"] = "mxs";
    AtsDocumentApiModelValue["Tra"] = "tra";
    AtsDocumentApiModelValue["Ufd"] = "ufd";
    AtsDocumentApiModelValue["Ufdl"] = "ufdl";
    AtsDocumentApiModelValue["Utz"] = "utz";
    AtsDocumentApiModelValue["Umj"] = "umj";
    AtsDocumentApiModelValue["Unityweb"] = "unityweb";
    AtsDocumentApiModelValue["Uoml"] = "uoml";
    AtsDocumentApiModelValue["Vcx"] = "vcx";
    AtsDocumentApiModelValue["Vsd"] = "vsd";
    AtsDocumentApiModelValue["Vst"] = "vst";
    AtsDocumentApiModelValue["Vss"] = "vss";
    AtsDocumentApiModelValue["Vsw"] = "vsw";
    AtsDocumentApiModelValue["Vis"] = "vis";
    AtsDocumentApiModelValue["Vsf"] = "vsf";
    AtsDocumentApiModelValue["Wbxml"] = "wbxml";
    AtsDocumentApiModelValue["Wmlc"] = "wmlc";
    AtsDocumentApiModelValue["Wmlsc"] = "wmlsc";
    AtsDocumentApiModelValue["Wtb"] = "wtb";
    AtsDocumentApiModelValue["Nbp"] = "nbp";
    AtsDocumentApiModelValue["Wpd"] = "wpd";
    AtsDocumentApiModelValue["Wqd"] = "wqd";
    AtsDocumentApiModelValue["Stf"] = "stf";
    AtsDocumentApiModelValue["Xar"] = "xar";
    AtsDocumentApiModelValue["Xfdl"] = "xfdl";
    AtsDocumentApiModelValue["Hvd"] = "hvd";
    AtsDocumentApiModelValue["Hvs"] = "hvs";
    AtsDocumentApiModelValue["Hvp"] = "hvp";
    AtsDocumentApiModelValue["Osf"] = "osf";
    AtsDocumentApiModelValue["Osfpvg"] = "osfpvg";
    AtsDocumentApiModelValue["Saf"] = "saf";
    AtsDocumentApiModelValue["Spf"] = "spf";
    AtsDocumentApiModelValue["Cmp"] = "cmp";
    AtsDocumentApiModelValue["Zir"] = "zir";
    AtsDocumentApiModelValue["Zirz"] = "zirz";
    AtsDocumentApiModelValue["Zaz"] = "zaz";
    AtsDocumentApiModelValue["Sevenz"] = "7z";
    AtsDocumentApiModelValue["Abw"] = "abw";
    AtsDocumentApiModelValue["Ace"] = "ace";
    AtsDocumentApiModelValue["WildcardDmg"] = "*dmg";
    AtsDocumentApiModelValue["Arj"] = "arj";
    AtsDocumentApiModelValue["Aab"] = "aab";
    AtsDocumentApiModelValue["X32"] = "x32";
    AtsDocumentApiModelValue["U32"] = "u32";
    AtsDocumentApiModelValue["Vox"] = "vox";
    AtsDocumentApiModelValue["Aam"] = "aam";
    AtsDocumentApiModelValue["Aas"] = "aas";
    AtsDocumentApiModelValue["Bcpio"] = "bcpio";
    AtsDocumentApiModelValue["WildcardBdoc"] = "*bdoc";
    AtsDocumentApiModelValue["Torrent"] = "torrent";
    AtsDocumentApiModelValue["Blb"] = "blb";
    AtsDocumentApiModelValue["Blorb"] = "blorb";
    AtsDocumentApiModelValue["Bz"] = "bz";
    AtsDocumentApiModelValue["Bz2"] = "bz2";
    AtsDocumentApiModelValue["Boz"] = "boz";
    AtsDocumentApiModelValue["Cbr"] = "cbr";
    AtsDocumentApiModelValue["Cba"] = "cba";
    AtsDocumentApiModelValue["Cbt"] = "cbt";
    AtsDocumentApiModelValue["Cbz"] = "cbz";
    AtsDocumentApiModelValue["Cb7"] = "cb7";
    AtsDocumentApiModelValue["Vcd"] = "vcd";
    AtsDocumentApiModelValue["Cfs"] = "cfs";
    AtsDocumentApiModelValue["Chat"] = "chat";
    AtsDocumentApiModelValue["Pgn"] = "pgn";
    AtsDocumentApiModelValue["Crx"] = "crx";
    AtsDocumentApiModelValue["Cco"] = "cco";
    AtsDocumentApiModelValue["Nsc"] = "nsc";
    AtsDocumentApiModelValue["Cpio"] = "cpio";
    AtsDocumentApiModelValue["Csh"] = "csh";
    AtsDocumentApiModelValue["WildcardDeb"] = "*deb";
    AtsDocumentApiModelValue["Udeb"] = "udeb";
    AtsDocumentApiModelValue["Dgc"] = "dgc";
    AtsDocumentApiModelValue["Dir"] = "dir";
    AtsDocumentApiModelValue["Dcr"] = "dcr";
    AtsDocumentApiModelValue["Dxr"] = "dxr";
    AtsDocumentApiModelValue["Cst"] = "cst";
    AtsDocumentApiModelValue["Cct"] = "cct";
    AtsDocumentApiModelValue["Cxt"] = "cxt";
    AtsDocumentApiModelValue["W3d"] = "w3d";
    AtsDocumentApiModelValue["Fgd"] = "fgd";
    AtsDocumentApiModelValue["Swa"] = "swa";
    AtsDocumentApiModelValue["Wad"] = "wad";
    AtsDocumentApiModelValue["Ncx"] = "ncx";
    AtsDocumentApiModelValue["Dtb"] = "dtb";
    AtsDocumentApiModelValue["Res"] = "res";
    AtsDocumentApiModelValue["Dvi"] = "dvi";
    AtsDocumentApiModelValue["Evy"] = "evy";
    AtsDocumentApiModelValue["Eva"] = "eva";
    AtsDocumentApiModelValue["Bdf"] = "bdf";
    AtsDocumentApiModelValue["Gsf"] = "gsf";
    AtsDocumentApiModelValue["Psf"] = "psf";
    AtsDocumentApiModelValue["Pcf"] = "pcf";
    AtsDocumentApiModelValue["Snf"] = "snf";
    AtsDocumentApiModelValue["Pfa"] = "pfa";
    AtsDocumentApiModelValue["Pfb"] = "pfb";
    AtsDocumentApiModelValue["Pfm"] = "pfm";
    AtsDocumentApiModelValue["Afm"] = "afm";
    AtsDocumentApiModelValue["Arc"] = "arc";
    AtsDocumentApiModelValue["Spl"] = "spl";
    AtsDocumentApiModelValue["Gca"] = "gca";
    AtsDocumentApiModelValue["Ulx"] = "ulx";
    AtsDocumentApiModelValue["Gnumeric"] = "gnumeric";
    AtsDocumentApiModelValue["Gramps"] = "gramps";
    AtsDocumentApiModelValue["Gtar"] = "gtar";
    AtsDocumentApiModelValue["Hdf"] = "hdf";
    AtsDocumentApiModelValue["Php"] = "php";
    AtsDocumentApiModelValue["Install"] = "install";
    AtsDocumentApiModelValue["WildcardIso"] = "*iso";
    AtsDocumentApiModelValue["WildcardKey"] = "*key";
    AtsDocumentApiModelValue["WildcardNumbers"] = "*numbers";
    AtsDocumentApiModelValue["WildcardPages"] = "*pages";
    AtsDocumentApiModelValue["Jardiff"] = "jardiff";
    AtsDocumentApiModelValue["Jnlp"] = "jnlp";
    AtsDocumentApiModelValue["Kdbx"] = "kdbx";
    AtsDocumentApiModelValue["Latex"] = "latex";
    AtsDocumentApiModelValue["Luac"] = "luac";
    AtsDocumentApiModelValue["Lzh"] = "lzh";
    AtsDocumentApiModelValue["Lha"] = "lha";
    AtsDocumentApiModelValue["Run"] = "run";
    AtsDocumentApiModelValue["Mie"] = "mie";
    AtsDocumentApiModelValue["Prc"] = "prc";
    AtsDocumentApiModelValue["Mobi"] = "mobi";
    AtsDocumentApiModelValue["Application"] = "application";
    AtsDocumentApiModelValue["Lnk"] = "lnk";
    AtsDocumentApiModelValue["Wmd"] = "wmd";
    AtsDocumentApiModelValue["Wmz"] = "wmz";
    AtsDocumentApiModelValue["Xbap"] = "xbap";
    AtsDocumentApiModelValue["Mdb"] = "mdb";
    AtsDocumentApiModelValue["Obd"] = "obd";
    AtsDocumentApiModelValue["Crd"] = "crd";
    AtsDocumentApiModelValue["Clp"] = "clp";
    AtsDocumentApiModelValue["WildcardExe"] = "*exe";
    AtsDocumentApiModelValue["WildcardDll"] = "*dll";
    AtsDocumentApiModelValue["Com"] = "com";
    AtsDocumentApiModelValue["Bat"] = "bat";
    AtsDocumentApiModelValue["WildcardMsi"] = "*msi";
    AtsDocumentApiModelValue["Mvb"] = "mvb";
    AtsDocumentApiModelValue["M13"] = "m13";
    AtsDocumentApiModelValue["M14"] = "m14";
    AtsDocumentApiModelValue["WildcardWmf"] = "*wmf";
    AtsDocumentApiModelValue["WildcardWmz"] = "*wmz";
    AtsDocumentApiModelValue["WildcardEmf"] = "*emf";
    AtsDocumentApiModelValue["Emz"] = "emz";
    AtsDocumentApiModelValue["Mny"] = "mny";
    AtsDocumentApiModelValue["Pub"] = "pub";
    AtsDocumentApiModelValue["Scd"] = "scd";
    AtsDocumentApiModelValue["Trm"] = "trm";
    AtsDocumentApiModelValue["Wri"] = "wri";
    AtsDocumentApiModelValue["Nc"] = "nc";
    AtsDocumentApiModelValue["Cdf"] = "cdf";
    AtsDocumentApiModelValue["Pac"] = "pac";
    AtsDocumentApiModelValue["Nzb"] = "nzb";
    AtsDocumentApiModelValue["Pl"] = "pl";
    AtsDocumentApiModelValue["Pm"] = "pm";
    AtsDocumentApiModelValue["WildcardPrc"] = "*prc";
    AtsDocumentApiModelValue["WildcardPdb"] = "*pdb";
    AtsDocumentApiModelValue["P12"] = "p12";
    AtsDocumentApiModelValue["Pfx"] = "pfx";
    AtsDocumentApiModelValue["P7b"] = "p7b";
    AtsDocumentApiModelValue["Spc"] = "spc";
    AtsDocumentApiModelValue["P7r"] = "p7r";
    AtsDocumentApiModelValue["WildcardRar"] = "*rar";
    AtsDocumentApiModelValue["Rpm"] = "rpm";
    AtsDocumentApiModelValue["Ris"] = "ris";
    AtsDocumentApiModelValue["Sea"] = "sea";
    AtsDocumentApiModelValue["Sh"] = "sh";
    AtsDocumentApiModelValue["Shar"] = "shar";
    AtsDocumentApiModelValue["Swf"] = "swf";
    AtsDocumentApiModelValue["Xap"] = "xap";
    AtsDocumentApiModelValue["Sql"] = "sql";
    AtsDocumentApiModelValue["Sit"] = "sit";
    AtsDocumentApiModelValue["Sitx"] = "sitx";
    AtsDocumentApiModelValue["Srt"] = "srt";
    AtsDocumentApiModelValue["Sv4cpio"] = "sv4cpio";
    AtsDocumentApiModelValue["Sv4crc"] = "sv4crc";
    AtsDocumentApiModelValue["T3"] = "t3";
    AtsDocumentApiModelValue["Gam"] = "gam";
    AtsDocumentApiModelValue["Tar"] = "tar";
    AtsDocumentApiModelValue["Tcl"] = "tcl";
    AtsDocumentApiModelValue["Tk"] = "tk";
    AtsDocumentApiModelValue["Tex"] = "tex";
    AtsDocumentApiModelValue["Tfm"] = "tfm";
    AtsDocumentApiModelValue["Texinfo"] = "texinfo";
    AtsDocumentApiModelValue["Texi"] = "texi";
    AtsDocumentApiModelValue["WildcardObj"] = "*obj";
    AtsDocumentApiModelValue["Ustar"] = "ustar";
    AtsDocumentApiModelValue["Hdd"] = "hdd";
    AtsDocumentApiModelValue["Ova"] = "ova";
    AtsDocumentApiModelValue["Ovf"] = "ovf";
    AtsDocumentApiModelValue["Vbox"] = "vbox";
    AtsDocumentApiModelValue["VboxExtpack"] = "vbox-extpack";
    AtsDocumentApiModelValue["Vdi"] = "vdi";
    AtsDocumentApiModelValue["Vhd"] = "vhd";
    AtsDocumentApiModelValue["Vmdk"] = "vmdk";
    AtsDocumentApiModelValue["Src"] = "src";
    AtsDocumentApiModelValue["Webapp"] = "webapp";
    AtsDocumentApiModelValue["Der"] = "der";
    AtsDocumentApiModelValue["Crt"] = "crt";
    AtsDocumentApiModelValue["Pem"] = "pem";
    AtsDocumentApiModelValue["Fig"] = "fig";
    AtsDocumentApiModelValue["WildcardXlf"] = "*xlf";
    AtsDocumentApiModelValue["Xpi"] = "xpi";
    AtsDocumentApiModelValue["Xz"] = "xz";
    AtsDocumentApiModelValue["Z1"] = "z1";
    AtsDocumentApiModelValue["Z2"] = "z2";
    AtsDocumentApiModelValue["Z3"] = "z3";
    AtsDocumentApiModelValue["Z4"] = "z4";
    AtsDocumentApiModelValue["Z5"] = "z5";
    AtsDocumentApiModelValue["Z6"] = "z6";
    AtsDocumentApiModelValue["Z7"] = "z7";
    AtsDocumentApiModelValue["Z8"] = "z8";
    AtsDocumentApiModelValue["Uva"] = "uva";
    AtsDocumentApiModelValue["Uvva"] = "uvva";
    AtsDocumentApiModelValue["Eol"] = "eol";
    AtsDocumentApiModelValue["Dra"] = "dra";
    AtsDocumentApiModelValue["Dts"] = "dts";
    AtsDocumentApiModelValue["Dtshd"] = "dtshd";
    AtsDocumentApiModelValue["Lvp"] = "lvp";
    AtsDocumentApiModelValue["Pya"] = "pya";
    AtsDocumentApiModelValue["Ecelp4800"] = "ecelp4800";
    AtsDocumentApiModelValue["Ecelp7470"] = "ecelp7470";
    AtsDocumentApiModelValue["Ecelp9600"] = "ecelp9600";
    AtsDocumentApiModelValue["Rip"] = "rip";
    AtsDocumentApiModelValue["Aac"] = "aac";
    AtsDocumentApiModelValue["Aif"] = "aif";
    AtsDocumentApiModelValue["Aiff"] = "aiff";
    AtsDocumentApiModelValue["Aifc"] = "aifc";
    AtsDocumentApiModelValue["Caf"] = "caf";
    AtsDocumentApiModelValue["Flac"] = "flac";
    AtsDocumentApiModelValue["WildcardM4a"] = "*m4a";
    AtsDocumentApiModelValue["Mka"] = "mka";
    AtsDocumentApiModelValue["M3u"] = "m3u";
    AtsDocumentApiModelValue["Wax"] = "wax";
    AtsDocumentApiModelValue["Wma"] = "wma";
    AtsDocumentApiModelValue["Ram"] = "ram";
    AtsDocumentApiModelValue["Ra"] = "ra";
    AtsDocumentApiModelValue["Rmp"] = "rmp";
    AtsDocumentApiModelValue["WildcardRa"] = "*ra";
    AtsDocumentApiModelValue["Cdx"] = "cdx";
    AtsDocumentApiModelValue["Cif"] = "cif";
    AtsDocumentApiModelValue["Cmdf"] = "cmdf";
    AtsDocumentApiModelValue["Cml"] = "cml";
    AtsDocumentApiModelValue["Csml"] = "csml";
    AtsDocumentApiModelValue["Xyz"] = "xyz";
    AtsDocumentApiModelValue["Btif"] = "btif";
    AtsDocumentApiModelValue["Pti"] = "pti";
    AtsDocumentApiModelValue["Psd"] = "psd";
    AtsDocumentApiModelValue["Azv"] = "azv";
    AtsDocumentApiModelValue["Uvi"] = "uvi";
    AtsDocumentApiModelValue["Uvvi"] = "uvvi";
    AtsDocumentApiModelValue["Uvg"] = "uvg";
    AtsDocumentApiModelValue["Uvvg"] = "uvvg";
    AtsDocumentApiModelValue["Djvu"] = "djvu";
    AtsDocumentApiModelValue["Djv"] = "djv";
    AtsDocumentApiModelValue["WildcardSub"] = "*sub";
    AtsDocumentApiModelValue["Dwg"] = "dwg";
    AtsDocumentApiModelValue["Dxf"] = "dxf";
    AtsDocumentApiModelValue["Fbs"] = "fbs";
    AtsDocumentApiModelValue["Fpx"] = "fpx";
    AtsDocumentApiModelValue["Fst"] = "fst";
    AtsDocumentApiModelValue["Mmr"] = "mmr";
    AtsDocumentApiModelValue["Rlc"] = "rlc";
    AtsDocumentApiModelValue["Ico"] = "ico";
    AtsDocumentApiModelValue["Dds"] = "dds";
    AtsDocumentApiModelValue["Mdi"] = "mdi";
    AtsDocumentApiModelValue["Wdp"] = "wdp";
    AtsDocumentApiModelValue["Npx"] = "npx";
    AtsDocumentApiModelValue["B16"] = "b16";
    AtsDocumentApiModelValue["Tap"] = "tap";
    AtsDocumentApiModelValue["Vtf"] = "vtf";
    AtsDocumentApiModelValue["Wbmp"] = "wbmp";
    AtsDocumentApiModelValue["Xif"] = "xif";
    AtsDocumentApiModelValue["Pcx"] = "pcx";
    AtsDocumentApiModelValue["Threeds"] = "3ds";
    AtsDocumentApiModelValue["Ras"] = "ras";
    AtsDocumentApiModelValue["Cmx"] = "cmx";
    AtsDocumentApiModelValue["Fh"] = "fh";
    AtsDocumentApiModelValue["Fhc"] = "fhc";
    AtsDocumentApiModelValue["Fh4"] = "fh4";
    AtsDocumentApiModelValue["Fh5"] = "fh5";
    AtsDocumentApiModelValue["Fh7"] = "fh7";
    AtsDocumentApiModelValue["WildcardIco"] = "*ico";
    AtsDocumentApiModelValue["Jng"] = "jng";
    AtsDocumentApiModelValue["Sid"] = "sid";
    AtsDocumentApiModelValue["WildcardBmp"] = "*bmp";
    AtsDocumentApiModelValue["WildcardPcx"] = "*pcx";
    AtsDocumentApiModelValue["Pic"] = "pic";
    AtsDocumentApiModelValue["Pct"] = "pct";
    AtsDocumentApiModelValue["Pnm"] = "pnm";
    AtsDocumentApiModelValue["Pbm"] = "pbm";
    AtsDocumentApiModelValue["Pgm"] = "pgm";
    AtsDocumentApiModelValue["Ppm"] = "ppm";
    AtsDocumentApiModelValue["Rgb"] = "rgb";
    AtsDocumentApiModelValue["Tga"] = "tga";
    AtsDocumentApiModelValue["Xbm"] = "xbm";
    AtsDocumentApiModelValue["Xpm"] = "xpm";
    AtsDocumentApiModelValue["Xwd"] = "xwd";
    AtsDocumentApiModelValue["Wsc"] = "wsc";
    AtsDocumentApiModelValue["Dae"] = "dae";
    AtsDocumentApiModelValue["Dwf"] = "dwf";
    AtsDocumentApiModelValue["Gdl"] = "gdl";
    AtsDocumentApiModelValue["Gtw"] = "gtw";
    AtsDocumentApiModelValue["Mts"] = "mts";
    AtsDocumentApiModelValue["Ogex"] = "ogex";
    AtsDocumentApiModelValue["XB"] = "x_b";
    AtsDocumentApiModelValue["XT"] = "x_t";
    AtsDocumentApiModelValue["Vds"] = "vds";
    AtsDocumentApiModelValue["Usdz"] = "usdz";
    AtsDocumentApiModelValue["Bsp"] = "bsp";
    AtsDocumentApiModelValue["Vtu"] = "vtu";
    AtsDocumentApiModelValue["Dsc"] = "dsc";
    AtsDocumentApiModelValue["Curl"] = "curl";
    AtsDocumentApiModelValue["Dcurl"] = "dcurl";
    AtsDocumentApiModelValue["Mcurl"] = "mcurl";
    AtsDocumentApiModelValue["Scurl"] = "scurl";
    AtsDocumentApiModelValue["Sub"] = "sub";
    AtsDocumentApiModelValue["Fly"] = "fly";
    AtsDocumentApiModelValue["Flx"] = "flx";
    AtsDocumentApiModelValue["Gv"] = "gv";
    AtsDocumentApiModelValue["Threedml"] = "3dml";
    AtsDocumentApiModelValue["Spot"] = "spot";
    AtsDocumentApiModelValue["Jad"] = "jad";
    AtsDocumentApiModelValue["Wml"] = "wml";
    AtsDocumentApiModelValue["Wmls"] = "wmls";
    AtsDocumentApiModelValue["S"] = "s";
    AtsDocumentApiModelValue["Asm"] = "asm";
    AtsDocumentApiModelValue["C"] = "c";
    AtsDocumentApiModelValue["Cc"] = "cc";
    AtsDocumentApiModelValue["Cxx"] = "cxx";
    AtsDocumentApiModelValue["Cpp"] = "cpp";
    AtsDocumentApiModelValue["H"] = "h";
    AtsDocumentApiModelValue["Hh"] = "hh";
    AtsDocumentApiModelValue["Dic"] = "dic";
    AtsDocumentApiModelValue["Htc"] = "htc";
    AtsDocumentApiModelValue["F"] = "f";
    AtsDocumentApiModelValue["For"] = "for";
    AtsDocumentApiModelValue["F77"] = "f77";
    AtsDocumentApiModelValue["F90"] = "f90";
    AtsDocumentApiModelValue["Hbs"] = "hbs";
    AtsDocumentApiModelValue["Java"] = "java";
    AtsDocumentApiModelValue["Lua"] = "lua";
    AtsDocumentApiModelValue["Mkd"] = "mkd";
    AtsDocumentApiModelValue["Nfo"] = "nfo";
    AtsDocumentApiModelValue["Opml"] = "opml";
    AtsDocumentApiModelValue["WildcardOrg"] = "*org";
    AtsDocumentApiModelValue["P"] = "p";
    AtsDocumentApiModelValue["Pas"] = "pas";
    AtsDocumentApiModelValue["Pde"] = "pde";
    AtsDocumentApiModelValue["Sass"] = "sass";
    AtsDocumentApiModelValue["Scss"] = "scss";
    AtsDocumentApiModelValue["Etx"] = "etx";
    AtsDocumentApiModelValue["Sfv"] = "sfv";
    AtsDocumentApiModelValue["Ymp"] = "ymp";
    AtsDocumentApiModelValue["Uu"] = "uu";
    AtsDocumentApiModelValue["Vcs"] = "vcs";
    AtsDocumentApiModelValue["Vcf"] = "vcf";
    AtsDocumentApiModelValue["Uvh"] = "uvh";
    AtsDocumentApiModelValue["Uvvh"] = "uvvh";
    AtsDocumentApiModelValue["Uvm"] = "uvm";
    AtsDocumentApiModelValue["Uvvm"] = "uvvm";
    AtsDocumentApiModelValue["Uvp"] = "uvp";
    AtsDocumentApiModelValue["Uvvp"] = "uvvp";
    AtsDocumentApiModelValue["Uvs"] = "uvs";
    AtsDocumentApiModelValue["Uvvs"] = "uvvs";
    AtsDocumentApiModelValue["Uvv"] = "uvv";
    AtsDocumentApiModelValue["Uvvv"] = "uvvv";
    AtsDocumentApiModelValue["Dvb"] = "dvb";
    AtsDocumentApiModelValue["Fvt"] = "fvt";
    AtsDocumentApiModelValue["Mxu"] = "mxu";
    AtsDocumentApiModelValue["M4u"] = "m4u";
    AtsDocumentApiModelValue["Pyv"] = "pyv";
    AtsDocumentApiModelValue["Uvu"] = "uvu";
    AtsDocumentApiModelValue["Uvvu"] = "uvvu";
    AtsDocumentApiModelValue["Viv"] = "viv";
    AtsDocumentApiModelValue["F4v"] = "f4v";
    AtsDocumentApiModelValue["Fli"] = "fli";
    AtsDocumentApiModelValue["Flv"] = "flv";
    AtsDocumentApiModelValue["M4v"] = "m4v";
    AtsDocumentApiModelValue["Mkv"] = "mkv";
    AtsDocumentApiModelValue["Mk3d"] = "mk3d";
    AtsDocumentApiModelValue["Mks"] = "mks";
    AtsDocumentApiModelValue["Mng"] = "mng";
    AtsDocumentApiModelValue["Asf"] = "asf";
    AtsDocumentApiModelValue["Asx"] = "asx";
    AtsDocumentApiModelValue["Vob"] = "vob";
    AtsDocumentApiModelValue["Wm"] = "wm";
    AtsDocumentApiModelValue["Wmv"] = "wmv";
    AtsDocumentApiModelValue["Wmx"] = "wmx";
    AtsDocumentApiModelValue["Wvx"] = "wvx";
    AtsDocumentApiModelValue["Avi"] = "avi";
    AtsDocumentApiModelValue["Movie"] = "movie";
    AtsDocumentApiModelValue["Smv"] = "smv";
    AtsDocumentApiModelValue["Ice"] = "ice";
    AtsDocumentApiModelValue["Mht"] = "mht";
})(AtsDocumentApiModelValue || (exports.AtsDocumentApiModelValue = AtsDocumentApiModelValue = {}));
/**
 * The category of the file
 */
var AtsDocumentApiModelSchemasValue;
(function (AtsDocumentApiModelSchemasValue) {
    AtsDocumentApiModelSchemasValue["Resume"] = "resume";
    AtsDocumentApiModelSchemasValue["Avatar"] = "avatar";
    AtsDocumentApiModelSchemasValue["CoverLetter"] = "cover_letter";
    AtsDocumentApiModelSchemasValue["ProfilePicture"] = "profile_picture";
    AtsDocumentApiModelSchemasValue["Policy"] = "policy";
    AtsDocumentApiModelSchemasValue["Passport"] = "passport";
    AtsDocumentApiModelSchemasValue["Assessment"] = "assessment";
    AtsDocumentApiModelSchemasValue["InterviewAttachment"] = "interview_attachment";
    AtsDocumentApiModelSchemasValue["TakeHomeTest"] = "take_home_test";
    AtsDocumentApiModelSchemasValue["OfferLetter"] = "offer_letter";
    AtsDocumentApiModelSchemasValue["SignedOfferLetter"] = "signed_offer_letter";
    AtsDocumentApiModelSchemasValue["NationalId"] = "national_id";
    AtsDocumentApiModelSchemasValue["OfferPacket"] = "offer_packet";
    AtsDocumentApiModelSchemasValue["Other"] = "other";
    AtsDocumentApiModelSchemasValue["UnmappedValue"] = "unmapped_value";
})(AtsDocumentApiModelSchemasValue || (exports.AtsDocumentApiModelSchemasValue = AtsDocumentApiModelSchemasValue = {}));
/** @internal */
exports.AtsDocumentApiModel4$inboundSchema = z.object({});
/** @internal */
exports.AtsDocumentApiModel4$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 AtsDocumentApiModel4$;
(function (AtsDocumentApiModel4$) {
    /** @deprecated use `AtsDocumentApiModel4$inboundSchema` instead. */
    AtsDocumentApiModel4$.inboundSchema = exports.AtsDocumentApiModel4$inboundSchema;
    /** @deprecated use `AtsDocumentApiModel4$outboundSchema` instead. */
    AtsDocumentApiModel4$.outboundSchema = exports.AtsDocumentApiModel4$outboundSchema;
})(AtsDocumentApiModel4$ || (exports.AtsDocumentApiModel4$ = AtsDocumentApiModel4$ = {}));
function atsDocumentApiModel4ToJSON(atsDocumentApiModel4) {
    return JSON.stringify(exports.AtsDocumentApiModel4$outboundSchema.parse(atsDocumentApiModel4));
}
exports.atsDocumentApiModel4ToJSON = atsDocumentApiModel4ToJSON;
function atsDocumentApiModel4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModel4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModel4' from JSON`);
}
exports.atsDocumentApiModel4FromJSON = atsDocumentApiModel4FromJSON;
/** @internal */
exports.AtsDocumentApiModelSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.AtsDocumentApiModel4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.AtsDocumentApiModelSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.AtsDocumentApiModel4$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 AtsDocumentApiModelSourceValue$;
(function (AtsDocumentApiModelSourceValue$) {
    /** @deprecated use `AtsDocumentApiModelSourceValue$inboundSchema` instead. */
    AtsDocumentApiModelSourceValue$.inboundSchema = exports.AtsDocumentApiModelSourceValue$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelSourceValue$outboundSchema` instead. */
    AtsDocumentApiModelSourceValue$.outboundSchema = exports.AtsDocumentApiModelSourceValue$outboundSchema;
})(AtsDocumentApiModelSourceValue$ || (exports.AtsDocumentApiModelSourceValue$ = AtsDocumentApiModelSourceValue$ = {}));
function atsDocumentApiModelSourceValueToJSON(atsDocumentApiModelSourceValue) {
    return JSON.stringify(exports.AtsDocumentApiModelSourceValue$outboundSchema.parse(atsDocumentApiModelSourceValue));
}
exports.atsDocumentApiModelSourceValueToJSON = atsDocumentApiModelSourceValueToJSON;
function atsDocumentApiModelSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModelSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModelSourceValue' from JSON`);
}
exports.atsDocumentApiModelSourceValueFromJSON = atsDocumentApiModelSourceValueFromJSON;
/** @internal */
exports.AtsDocumentApiModelCategory$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.AtsDocumentApiModel4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.AtsDocumentApiModelCategory$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.AtsDocumentApiModel4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(z.string()).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 AtsDocumentApiModelCategory$;
(function (AtsDocumentApiModelCategory$) {
    /** @deprecated use `AtsDocumentApiModelCategory$inboundSchema` instead. */
    AtsDocumentApiModelCategory$.inboundSchema = exports.AtsDocumentApiModelCategory$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelCategory$outboundSchema` instead. */
    AtsDocumentApiModelCategory$.outboundSchema = exports.AtsDocumentApiModelCategory$outboundSchema;
})(AtsDocumentApiModelCategory$ || (exports.AtsDocumentApiModelCategory$ = AtsDocumentApiModelCategory$ = {}));
function atsDocumentApiModelCategoryToJSON(atsDocumentApiModelCategory) {
    return JSON.stringify(exports.AtsDocumentApiModelCategory$outboundSchema.parse(atsDocumentApiModelCategory));
}
exports.atsDocumentApiModelCategoryToJSON = atsDocumentApiModelCategoryToJSON;
function atsDocumentApiModelCategoryFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModelCategory$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModelCategory' from JSON`);
}
exports.atsDocumentApiModelCategoryFromJSON = atsDocumentApiModelCategoryFromJSON;
/** @internal */
exports.AtsDocumentApiModelSchemas4$inboundSchema = z.object({});
/** @internal */
exports.AtsDocumentApiModelSchemas4$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 AtsDocumentApiModelSchemas4$;
(function (AtsDocumentApiModelSchemas4$) {
    /** @deprecated use `AtsDocumentApiModelSchemas4$inboundSchema` instead. */
    AtsDocumentApiModelSchemas4$.inboundSchema = exports.AtsDocumentApiModelSchemas4$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelSchemas4$outboundSchema` instead. */
    AtsDocumentApiModelSchemas4$.outboundSchema = exports.AtsDocumentApiModelSchemas4$outboundSchema;
})(AtsDocumentApiModelSchemas4$ || (exports.AtsDocumentApiModelSchemas4$ = AtsDocumentApiModelSchemas4$ = {}));
function atsDocumentApiModelSchemas4ToJSON(atsDocumentApiModelSchemas4) {
    return JSON.stringify(exports.AtsDocumentApiModelSchemas4$outboundSchema.parse(atsDocumentApiModelSchemas4));
}
exports.atsDocumentApiModelSchemas4ToJSON = atsDocumentApiModelSchemas4ToJSON;
function atsDocumentApiModelSchemas4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModelSchemas4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModelSchemas4' from JSON`);
}
exports.atsDocumentApiModelSchemas4FromJSON = atsDocumentApiModelSchemas4FromJSON;
/** @internal */
exports.AtsDocumentApiModelSchemasSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.AtsDocumentApiModelSchemas4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.AtsDocumentApiModelSchemasSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.AtsDocumentApiModelSchemas4$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 AtsDocumentApiModelSchemasSourceValue$;
(function (AtsDocumentApiModelSchemasSourceValue$) {
    /** @deprecated use `AtsDocumentApiModelSchemasSourceValue$inboundSchema` instead. */
    AtsDocumentApiModelSchemasSourceValue$.inboundSchema = exports.AtsDocumentApiModelSchemasSourceValue$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelSchemasSourceValue$outboundSchema` instead. */
    AtsDocumentApiModelSchemasSourceValue$.outboundSchema = exports.AtsDocumentApiModelSchemasSourceValue$outboundSchema;
})(AtsDocumentApiModelSchemasSourceValue$ || (exports.AtsDocumentApiModelSchemasSourceValue$ = AtsDocumentApiModelSchemasSourceValue$ = {}));
function atsDocumentApiModelSchemasSourceValueToJSON(atsDocumentApiModelSchemasSourceValue) {
    return JSON.stringify(exports.AtsDocumentApiModelSchemasSourceValue$outboundSchema.parse(atsDocumentApiModelSchemasSourceValue));
}
exports.atsDocumentApiModelSchemasSourceValueToJSON = atsDocumentApiModelSchemasSourceValueToJSON;
function atsDocumentApiModelSchemasSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModelSchemasSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModelSchemasSourceValue' from JSON`);
}
exports.atsDocumentApiModelSchemasSourceValueFromJSON = atsDocumentApiModelSchemasSourceValueFromJSON;
/** @internal */
exports.AtsDocumentApiModelValue$inboundSchema = z
    .union([
    z.nativeEnum(AtsDocumentApiModelValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.AtsDocumentApiModelValue$outboundSchema = z.union([
    z.nativeEnum(AtsDocumentApiModelValue),
    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 AtsDocumentApiModelValue$;
(function (AtsDocumentApiModelValue$) {
    /** @deprecated use `AtsDocumentApiModelValue$inboundSchema` instead. */
    AtsDocumentApiModelValue$.inboundSchema = exports.AtsDocumentApiModelValue$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelValue$outboundSchema` instead. */
    AtsDocumentApiModelValue$.outboundSchema = exports.AtsDocumentApiModelValue$outboundSchema;
})(AtsDocumentApiModelValue$ || (exports.AtsDocumentApiModelValue$ = AtsDocumentApiModelValue$ = {}));
/** @internal */
exports.FileFormat$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.AtsDocumentApiModelSchemas4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AtsDocumentApiModelValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.FileFormat$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.AtsDocumentApiModelSchemas4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AtsDocumentApiModelValue$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 FileFormat$;
(function (FileFormat$) {
    /** @deprecated use `FileFormat$inboundSchema` instead. */
    FileFormat$.inboundSchema = exports.FileFormat$inboundSchema;
    /** @deprecated use `FileFormat$outboundSchema` instead. */
    FileFormat$.outboundSchema = exports.FileFormat$outboundSchema;
})(FileFormat$ || (exports.FileFormat$ = FileFormat$ = {}));
function fileFormatToJSON(fileFormat) {
    return JSON.stringify(exports.FileFormat$outboundSchema.parse(fileFormat));
}
exports.fileFormatToJSON = fileFormatToJSON;
function fileFormatFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FileFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FileFormat' from JSON`);
}
exports.fileFormatFromJSON = fileFormatFromJSON;
/** @internal */
exports.AtsDocumentApiModelSchemasType4$inboundSchema = z.object({});
/** @internal */
exports.AtsDocumentApiModelSchemasType4$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 AtsDocumentApiModelSchemasType4$;
(function (AtsDocumentApiModelSchemasType4$) {
    /** @deprecated use `AtsDocumentApiModelSchemasType4$inboundSchema` instead. */
    AtsDocumentApiModelSchemasType4$.inboundSchema = exports.AtsDocumentApiModelSchemasType4$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelSchemasType4$outboundSchema` instead. */
    AtsDocumentApiModelSchemasType4$.outboundSchema = exports.AtsDocumentApiModelSchemasType4$outboundSchema;
})(AtsDocumentApiModelSchemasType4$ || (exports.AtsDocumentApiModelSchemasType4$ = AtsDocumentApiModelSchemasType4$ = {}));
function atsDocumentApiModelSchemasType4ToJSON(atsDocumentApiModelSchemasType4) {
    return JSON.stringify(exports.AtsDocumentApiModelSchemasType4$outboundSchema.parse(atsDocumentApiModelSchemasType4));
}
exports.atsDocumentApiModelSchemasType4ToJSON = atsDocumentApiModelSchemasType4ToJSON;
function atsDocumentApiModelSchemasType4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModelSchemasType4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModelSchemasType4' from JSON`);
}
exports.atsDocumentApiModelSchemasType4FromJSON = atsDocumentApiModelSchemasType4FromJSON;
/** @internal */
exports.AtsDocumentApiModelSchemasTypeSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.AtsDocumentApiModelSchemasType4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.AtsDocumentApiModelSchemasTypeSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.AtsDocumentApiModelSchemasType4$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 AtsDocumentApiModelSchemasTypeSourceValue$;
(function (AtsDocumentApiModelSchemasTypeSourceValue$) {
    /** @deprecated use `AtsDocumentApiModelSchemasTypeSourceValue$inboundSchema` instead. */
    AtsDocumentApiModelSchemasTypeSourceValue$.inboundSchema = exports.AtsDocumentApiModelSchemasTypeSourceValue$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelSchemasTypeSourceValue$outboundSchema` instead. */
    AtsDocumentApiModelSchemasTypeSourceValue$.outboundSchema = exports.AtsDocumentApiModelSchemasTypeSourceValue$outboundSchema;
})(AtsDocumentApiModelSchemasTypeSourceValue$ || (exports.AtsDocumentApiModelSchemasTypeSourceValue$ = AtsDocumentApiModelSchemasTypeSourceValue$ = {}));
function atsDocumentApiModelSchemasTypeSourceValueToJSON(atsDocumentApiModelSchemasTypeSourceValue) {
    return JSON.stringify(exports.AtsDocumentApiModelSchemasTypeSourceValue$outboundSchema.parse(atsDocumentApiModelSchemasTypeSourceValue));
}
exports.atsDocumentApiModelSchemasTypeSourceValueToJSON = atsDocumentApiModelSchemasTypeSourceValueToJSON;
function atsDocumentApiModelSchemasTypeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModelSchemasTypeSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModelSchemasTypeSourceValue' from JSON`);
}
exports.atsDocumentApiModelSchemasTypeSourceValueFromJSON = atsDocumentApiModelSchemasTypeSourceValueFromJSON;
/** @internal */
exports.AtsDocumentApiModelSchemasValue$inboundSchema = z
    .union([
    z.nativeEnum(AtsDocumentApiModelSchemasValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.AtsDocumentApiModelSchemasValue$outboundSchema = z.union([
    z.nativeEnum(AtsDocumentApiModelSchemasValue),
    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 AtsDocumentApiModelSchemasValue$;
(function (AtsDocumentApiModelSchemasValue$) {
    /** @deprecated use `AtsDocumentApiModelSchemasValue$inboundSchema` instead. */
    AtsDocumentApiModelSchemasValue$.inboundSchema = exports.AtsDocumentApiModelSchemasValue$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelSchemasValue$outboundSchema` instead. */
    AtsDocumentApiModelSchemasValue$.outboundSchema = exports.AtsDocumentApiModelSchemasValue$outboundSchema;
})(AtsDocumentApiModelSchemasValue$ || (exports.AtsDocumentApiModelSchemasValue$ = AtsDocumentApiModelSchemasValue$ = {}));
/** @internal */
exports.AtsDocumentApiModelType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.AtsDocumentApiModelSchemasType4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AtsDocumentApiModelSchemasValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.AtsDocumentApiModelType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.AtsDocumentApiModelSchemasType4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AtsDocumentApiModelSchemasValue$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 AtsDocumentApiModelType$;
(function (AtsDocumentApiModelType$) {
    /** @deprecated use `AtsDocumentApiModelType$inboundSchema` instead. */
    AtsDocumentApiModelType$.inboundSchema = exports.AtsDocumentApiModelType$inboundSchema;
    /** @deprecated use `AtsDocumentApiModelType$outboundSchema` instead. */
    AtsDocumentApiModelType$.outboundSchema = exports.AtsDocumentApiModelType$outboundSchema;
})(AtsDocumentApiModelType$ || (exports.AtsDocumentApiModelType$ = AtsDocumentApiModelType$ = {}));
function atsDocumentApiModelTypeToJSON(atsDocumentApiModelType) {
    return JSON.stringify(exports.AtsDocumentApiModelType$outboundSchema.parse(atsDocumentApiModelType));
}
exports.atsDocumentApiModelTypeToJSON = atsDocumentApiModelTypeToJSON;
function atsDocumentApiModelTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModelType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModelType' from JSON`);
}
exports.atsDocumentApiModelTypeFromJSON = atsDocumentApiModelTypeFromJSON;
/** @internal */
exports.AtsDocumentApiModel$inboundSchema = z.object({
    category: z.nullable(z.lazy(() => exports.AtsDocumentApiModelCategory$inboundSchema))
        .optional(),
    category_id: z.nullable(z.string()).optional(),
    contents: z.nullable(z.array(content_js_1.Content$inboundSchema)).optional(),
    created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
    file_format: z.nullable(z.lazy(() => exports.FileFormat$inboundSchema)).optional(),
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    path: z.nullable(z.string()).optional(),
    remote_id: z.nullable(z.string()).optional(),
    remote_url: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.AtsDocumentApiModelType$inboundSchema))
        .optional(),
    unified_custom_fields: z.nullable(z.record(z.any())).optional(),
    updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "category_id": "categoryId",
        "created_at": "createdAt",
        "file_format": "fileFormat",
        "remote_id": "remoteId",
        "remote_url": "remoteUrl",
        "unified_custom_fields": "unifiedCustomFields",
        "updated_at": "updatedAt",
    });
});
/** @internal */
exports.AtsDocumentApiModel$outboundSchema = z.object({
    category: z.nullable(z.lazy(() => exports.AtsDocumentApiModelCategory$outboundSchema))
        .optional(),
    categoryId: z.nullable(z.string()).optional(),
    contents: z.nullable(z.array(content_js_1.Content$outboundSchema)).optional(),
    createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
    fileFormat: z.nullable(z.lazy(() => exports.FileFormat$outboundSchema)).optional(),
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    path: z.nullable(z.string()).optional(),
    remoteId: z.nullable(z.string()).optional(),
    remoteUrl: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.AtsDocumentApiModelType$outboundSchema))
        .optional(),
    unifiedCustomFields: z.nullable(z.record(z.any())).optional(),
    updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        categoryId: "category_id",
        createdAt: "created_at",
        fileFormat: "file_format",
        remoteId: "remote_id",
        remoteUrl: "remote_url",
        unifiedCustomFields: "unified_custom_fields",
        updatedAt: "updated_at",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AtsDocumentApiModel$;
(function (AtsDocumentApiModel$) {
    /** @deprecated use `AtsDocumentApiModel$inboundSchema` instead. */
    AtsDocumentApiModel$.inboundSchema = exports.AtsDocumentApiModel$inboundSchema;
    /** @deprecated use `AtsDocumentApiModel$outboundSchema` instead. */
    AtsDocumentApiModel$.outboundSchema = exports.AtsDocumentApiModel$outboundSchema;
})(AtsDocumentApiModel$ || (exports.AtsDocumentApiModel$ = AtsDocumentApiModel$ = {}));
function atsDocumentApiModelToJSON(atsDocumentApiModel) {
    return JSON.stringify(exports.AtsDocumentApiModel$outboundSchema.parse(atsDocumentApiModel));
}
exports.atsDocumentApiModelToJSON = atsDocumentApiModelToJSON;
function atsDocumentApiModelFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AtsDocumentApiModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AtsDocumentApiModel' from JSON`);
}
exports.atsDocumentApiModelFromJSON = atsDocumentApiModelFromJSON;
//# sourceMappingURL=atsdocumentapimodel.js.map