"use strict";
/* eslint-disable @typescript-eslint/no-explicit-any */
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
 * Apache-2.0 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.addCreateItemTypes = exports.HubFamilies = void 0;
const fileExtension_1 = require("./enums/fileExtension");
const itemType_1 = require("./enums/itemType");
/**
 * All Hub families
 */
exports.HubFamilies = [
    "app",
    "content",
    "dataset",
    "document",
    "event",
    "feedback",
    "initiative",
    "map",
    "people",
    "site",
    "team",
    "template",
    "project",
    "channel",
    "discussion",
    "eventAttendee",
    "organization",
    "post",
];
/**
 * Maps human readable file names to extensions IE Image === jpg, png, etc
 */
exports.addCreateItemTypes = {
    "360 VR Experience": {
        fileExt: [fileExtension_1.FileExtension["3dd"]],
        type: itemType_1.ItemType["360 VR Experience"],
        typeKeywords: [],
    },
    "Apache Parquet": {
        fileExt: [fileExtension_1.FileExtension.parquet],
        type: itemType_1.ItemType["Apache Parquet"],
        typeKeywords: [],
    },
    "AppBuilder Widget Package": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["AppBuilder Widget Package"],
        typeKeywords: [],
    },
    "Desktop Add In": {
        fileExt: [fileExtension_1.FileExtension.esriaddin],
        type: itemType_1.ItemType["Desktop Add In"],
        typeKeywords: [
            "Tool",
            "Add In",
            "Desktop Add In",
            "ArcGIS Desktop",
            "ArcMap",
            "ArcGlobe",
            "ArcScene",
            "esriaddin",
        ],
    },
    "Explorer Add In": {
        fileExt: [fileExtension_1.FileExtension.eaz],
        type: itemType_1.ItemType["Explorer Add In"],
        typeKeywords: [
            "Tool",
            "Add In",
            "Explorer Add In",
            "ArcGIS Explorer",
            "eaz",
        ],
    },
    "Explorer Map": {
        fileExt: [fileExtension_1.FileExtension.nmf],
        type: itemType_1.ItemType["Explorer Map"],
        typeKeywords: [
            "Map",
            "Explorer Map",
            "Explorer Document",
            "2D",
            "3D",
            "ArcGIS Explorer",
            "nmf",
        ],
    },
    "ArcGIS Explorer Application Configuration": {
        fileExt: [fileExtension_1.FileExtension.ncfg],
        type: itemType_1.ItemType["Explorer Map"],
        typeKeywords: [
            "Map",
            "Explorer Map",
            "Explorer Mapping Application",
            "2D",
            "3D",
            "ArcGIS Explorer",
        ],
    },
    "Explorer Layer": {
        fileExt: [fileExtension_1.FileExtension.nmc],
        type: itemType_1.ItemType["Explorer Layer"],
        typeKeywords: ["Data", "Layer", "Explorer Layer", "ArcGIS Explorer", "nmc"],
    },
    "Windows Mobile Package": {
        fileExt: [fileExtension_1.FileExtension.wmpk],
        type: itemType_1.ItemType["Windows Mobile Package"],
        typeKeywords: [],
    },
    "ArcGIS Pro Add In": {
        fileExt: [fileExtension_1.FileExtension.esriaddinx],
        type: itemType_1.ItemType["ArcGIS Pro Add In"],
        typeKeywords: ["Tool", "Add In", "Pro Add In", "esriaddinx"],
    },
    "ArcGIS Pro Configuration": {
        fileExt: [fileExtension_1.FileExtension.proconfigx],
        type: itemType_1.ItemType["ArcGIS Pro Configuration"],
        typeKeywords: [],
    },
    "Globe Document": {
        fileExt: [fileExtension_1.FileExtension["3dd"]],
        type: itemType_1.ItemType["Globe Document"],
        typeKeywords: [
            "Map",
            "Globe Document",
            "3D",
            "ArcGlobe",
            "ArcGIS Server",
            "3dd",
        ],
    },
    "Map Document": {
        fileExt: [fileExtension_1.FileExtension.msd],
        type: itemType_1.ItemType["Map Document"],
        typeKeywords: [
            "Map Document",
            "Map",
            "2D",
            "ArcMap",
            "ArcGIS Server",
            "msd",
        ],
    },
    "ArcMap Document": {
        fileExt: [fileExtension_1.FileExtension.mxd],
        type: itemType_1.ItemType["Map Document"],
        typeKeywords: ["Map Document", "Map", "2D", "ArcMap", "ArcGIS Server"],
    },
    "ArcPad Package": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["ArcPad Package"],
        typeKeywords: ["Map", "Layer", "Data"],
    },
    "Published Map": {
        fileExt: [fileExtension_1.FileExtension.pmf],
        type: itemType_1.ItemType["Published Map"],
        typeKeywords: [
            "Map",
            "Published Map",
            "2D",
            "ArcReader",
            "ArcMap",
            "ArcGIS Server",
            "pmf",
        ],
    },
    "Scene Document": {
        fileExt: [fileExtension_1.FileExtension.sxd],
        type: itemType_1.ItemType["Scene Document"],
        typeKeywords: ["Map", "Scene Document", "3D", "ArcScene", "sxd"],
    },
    "CityEngine Web Scene": {
        fileExt: [fileExtension_1.FileExtension["3ws"]],
        type: itemType_1.ItemType["CityEngine Web Scene"],
        typeKeywords: ["3D", "Map", "Scene", "Web"],
    },
    "Code Sample": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["Code Sample"],
        typeKeywords: ["Code", "Sample"],
    },
    "CSV Collection": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["CSV Collection"],
        typeKeywords: [],
    },
    CSV: {
        fileExt: [fileExtension_1.FileExtension.csv],
        type: itemType_1.ItemType.CSV,
        typeKeywords: ["CSV"],
    },
    "CAD Drawing": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["CAD Drawing"],
        typeKeywords: [],
    },
    "Deep Learning Package": {
        fileExt: [fileExtension_1.FileExtension.zip, fileExtension_1.FileExtension.dlpk],
        type: itemType_1.ItemType["Deep Learning Package"],
        typeKeywords: ["Deep Learning", "Raster"],
    },
    "Desktop Application": {
        type: itemType_1.ItemType["Desktop Application"],
        typeKeywords: ["Desktop Application"],
    },
    "Desktop Application Template": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["Desktop Application Template"],
        typeKeywords: ["application", "template", "ArcGIS desktop"],
    },
    "Desktop Style": {
        fileExt: [fileExtension_1.FileExtension.stylx],
        type: itemType_1.ItemType["Desktop Style"],
        typeKeywords: ["ArcGIS Pro", "Symbology", "Style", "Symbols"],
    },
    "Earth Configuration": {
        fileExt: [fileExtension_1.FileExtension.xml],
        type: itemType_1.ItemType["Earth Configuration"],
        typeKeywords: ["ArcGIS Earth", "Earth", "Earth Configuration"],
    },
    "Feature Collection": {
        type: itemType_1.ItemType["Feature Collection"],
        fileExt: [fileExtension_1.FileExtension.featurecollection],
        typeKeywords: [],
    },
    "File Geodatabase": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["File Geodatabase"],
        typeKeywords: [],
    },
    GeoJson: {
        fileExt: [fileExtension_1.FileExtension.geojson, fileExtension_1.FileExtension.json],
        type: itemType_1.ItemType.GeoJson,
        typeKeywords: [
            "Coordinates Type",
            "CRS",
            "Feature",
            "FeatureCollection",
            "GeoJSON",
            "Geometry",
            "GeometryCollection",
        ],
    },
    "Geoprocessing Package": {
        fileExt: [fileExtension_1.FileExtension.gpk, fileExtension_1.FileExtension.gpkx],
        type: itemType_1.ItemType["Geoprocessing Package"],
        typeKeywords: [
            "ArcGIS Desktop",
            "ArcGlobe",
            "ArcMap",
            "ArcScene",
            "Geoprocessing Package",
            "gpk",
            "Model",
            "Result",
            "Script",
            "Sharing",
            "Tool",
            "Toolbox",
        ],
    },
    GeoPackage: {
        fileExt: [fileExtension_1.FileExtension.gpkg],
        type: itemType_1.ItemType.GeoPackage,
        typeKeywords: ["Data", "GeoPackage", "gpkg"],
    },
    "Geoprocessing Sample": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["Geoprocessing Sample"],
        typeKeywords: ["tool", "geoprocessing", "sample"],
    },
    GML: {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType.GML,
        typeKeywords: [],
    },
    "Image Collection": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["Image Collection"],
        typeKeywords: [],
    },
    Image: {
        fileExt: [
            fileExtension_1.FileExtension.jpg,
            fileExtension_1.FileExtension.jpeg,
            fileExtension_1.FileExtension.png,
            fileExtension_1.FileExtension.tif,
            fileExtension_1.FileExtension.tiff,
        ],
        type: itemType_1.ItemType.Image,
        typeKeywords: ["Data", "Image"],
    },
    "iWork Keynote": {
        fileExt: [fileExtension_1.FileExtension.key],
        type: itemType_1.ItemType["iWork Keynote"],
        typeKeywords: ["Data", "Document", "Mac"],
    },
    "iWork Numbers": {
        fileExt: [fileExtension_1.FileExtension.numbers],
        type: itemType_1.ItemType["iWork Numbers"],
        typeKeywords: ["Data", "Document", "Mac"],
    },
    "iWork Pages": {
        fileExt: [fileExtension_1.FileExtension.pages],
        type: itemType_1.ItemType["iWork Pages"],
        typeKeywords: ["Data", "Document", "Mac"],
    },
    "KML Collection": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["KML Collection"],
        typeKeywords: [],
    },
    KML: {
        type: itemType_1.ItemType.KML,
        fileExt: [fileExtension_1.FileExtension.kml, fileExtension_1.FileExtension.kmz],
        typeKeywords: ["Data", "Map", "kml"],
    },
    Layer: {
        fileExt: [fileExtension_1.FileExtension.lyr],
        type: itemType_1.ItemType.Layer,
        typeKeywords: [
            "Data",
            "Layer",
            "ArcMap",
            "ArcGlobe",
            "ArcGIS Explorer",
            "lyr",
        ],
    },
    "Layer File": {
        fileExt: [fileExtension_1.FileExtension.lyrx],
        type: itemType_1.ItemType.Layer,
        typeKeywords: ["ArcGIS Pro", "Layer", "Layer File"],
    },
    "Layer Package": {
        fileExt: [fileExtension_1.FileExtension.lpk, fileExtension_1.FileExtension.lpkx],
        type: itemType_1.ItemType["Layer Package"],
        typeKeywords: [],
    },
    Layout: {
        fileExt: [fileExtension_1.FileExtension.pagx],
        type: itemType_1.ItemType.Layout,
        typeKeywords: ["ArcGIS Pro", "Layout", "Layout File", "pagx"],
    },
    "Locator Package": {
        fileExt: [fileExtension_1.FileExtension.gcpk],
        type: itemType_1.ItemType["Locator Package"],
        typeKeywords: [],
    },
    "Map Package": {
        fileExt: [fileExtension_1.FileExtension.mpk, fileExtension_1.FileExtension.mpkx],
        type: itemType_1.ItemType["Map Package"],
        typeKeywords: [],
    },
    "Map Template": {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType["Map Template"],
        typeKeywords: ["map", "ArcMap", "template", "ArcGIS desktop"],
    },
    "Microsoft Excel": {
        fileExt: [fileExtension_1.FileExtension.xls, fileExtension_1.FileExtension.xlsx],
        type: itemType_1.ItemType["Microsoft Excel"],
        typeKeywords: ["Data", "Document", "Microsoft Excel"],
    },
    "Microsoft Powerpoint": {
        fileExt: [fileExtension_1.FileExtension.ppt, fileExtension_1.FileExtension.pptx],
        type: itemType_1.ItemType["Microsoft Powerpoint"],
        typeKeywords: ["Data", "Document", "Microsoft Powerpoint"],
    },
    "Visio Document": {
        fileExt: [fileExtension_1.FileExtension.vsd],
        type: itemType_1.ItemType["Visio Document"],
        typeKeywords: ["Data", "Document", "Visio Document"],
    },
    "Microsoft Word": {
        fileExt: [fileExtension_1.FileExtension.doc, fileExtension_1.FileExtension.docx],
        type: itemType_1.ItemType["Microsoft Word"],
        typeKeywords: ["Data", "Document"],
    },
    "Mobile Basemap Package": {
        fileExt: [fileExtension_1.FileExtension.bpk],
        type: itemType_1.ItemType["Mobile Basemap Package"],
        typeKeywords: [],
    },
    "Mobile Map Package": {
        fileExt: [fileExtension_1.FileExtension.mmpk],
        type: itemType_1.ItemType["Mobile Map Package"],
        typeKeywords: [],
    },
    "Mobile Scene Package": {
        fileExt: [fileExtension_1.FileExtension.mspk],
        type: itemType_1.ItemType["Mobile Scene Package"],
        typeKeywords: [],
    },
    Notebook: {
        fileExt: [fileExtension_1.FileExtension.ipynb],
        type: itemType_1.ItemType.Notebook,
        typeKeywords: ["Notebook", "Python"],
    },
    PDF: {
        fileExt: [fileExtension_1.FileExtension.pdf],
        type: itemType_1.ItemType.PDF,
        typeKeywords: ["Data", "Document", "PDF"],
    },
    "Pro Map": {
        fileExt: [fileExtension_1.FileExtension.mapx],
        type: itemType_1.ItemType["Pro Map"],
        typeKeywords: ["ArcGIS Pro", "Map", "Map File", "mapx"],
    },
    "Pro Report": {
        fileExt: [fileExtension_1.FileExtension.rptx],
        type: itemType_1.ItemType["Pro Report"],
        typeKeywords: [],
    },
    "Project Package": {
        fileExt: [fileExtension_1.FileExtension.ppkx],
        type: itemType_1.ItemType["Project Package"],
        typeKeywords: [],
    },
    "Project Template": {
        fileExt: [fileExtension_1.FileExtension.aptx],
        type: itemType_1.ItemType["Project Template"],
        typeKeywords: [],
    },
    "Raster function template": {
        fileExt: [fileExtension_1.FileExtension["rft.json"], fileExtension_1.FileExtension["rft.xml"]],
        type: itemType_1.ItemType["Raster function template"],
        typeKeywords: [
            "Raster",
            "Functions",
            "Processing",
            "rft",
            "srf",
            "function template",
            "templates",
            "ArcGIS Pro",
        ],
    },
    "Rule Package": {
        fileExt: [fileExtension_1.FileExtension.rpk],
        type: itemType_1.ItemType["Rule Package"],
        typeKeywords: [],
    },
    "Scene Package": {
        fileExt: [fileExtension_1.FileExtension.slpk, fileExtension_1.FileExtension.spk],
        type: itemType_1.ItemType["Scene Package"],
        typeKeywords: [],
    },
    "Service Definition": {
        fileExt: [fileExtension_1.FileExtension.sd],
        type: itemType_1.ItemType["Service Definition"],
        typeKeywords: ["Data", "Service", "Service Definition"],
    },
    Shapefile: {
        fileExt: [fileExtension_1.FileExtension.zip],
        type: itemType_1.ItemType.Shapefile,
        typeKeywords: ["Data", "Layer", "shapefile"],
    },
    "Survey123 Add In": {
        fileExt: [fileExtension_1.FileExtension.surveyaddin],
        type: itemType_1.ItemType["Survey123 Add In"],
        typeKeywords: ["Add In", "Survey123 Add In", "Tool"],
    },
    "Tile Package": {
        fileExt: [fileExtension_1.FileExtension.tpk, fileExtension_1.FileExtension.tpkx],
        type: itemType_1.ItemType["Tile Package"],
        typeKeywords: [],
    },
    "Vector Tile Package": {
        fileExt: [fileExtension_1.FileExtension.vtpk],
        type: itemType_1.ItemType["Vector Tile Package"],
        typeKeywords: [],
    },
    "Workflow Manager Package": {
        fileExt: [fileExtension_1.FileExtension.wpk],
        type: itemType_1.ItemType["Workflow Manager Package"],
        typeKeywords: [],
    },
    "Document Link": {
        type: itemType_1.ItemType["Document Link"],
        typeKeywords: ["Data", "Document"],
    },
    "Feature Service": {
        type: itemType_1.ItemType["Feature Service"],
        typeKeywords: [
            "ArcGIS Server",
            "Data",
            "Feature Access",
            "Feature Service",
            "Service",
            "Singlelayer",
            "Hosted Service",
        ],
    },
    GeocodeServer: {
        type: itemType_1.ItemType["Geocoding Service"],
        typeKeywords: [
            "ArcGIS Server",
            "Geocoding Service",
            "Locator Service",
            "Service",
            "Tool",
            "Service Proxy",
        ],
    },
    GeoDataServer: {
        type: itemType_1.ItemType["Geodata Service"],
        typeKeywords: ["Data", "Service", "Geodata Service", "ArcGIS Server"],
    },
    GeometryServer: {
        type: itemType_1.ItemType["Geometry Service"],
        typeKeywords: ["Tool", "Service", "Geometry Service", "ArcGIS Server"],
    },
    GeoenrichmentServer: {
        type: itemType_1.ItemType["Geoenrichment Service"],
        typeKeywords: ["Geoenrichment Service", "ArcGIS Server"],
    },
    GPServer: {
        type: itemType_1.ItemType["Geoprocessing Service"],
        typeKeywords: ["Tool", "Service", "Geoprocessing Service", "ArcGIS Server"],
    },
    GlobeServer: {
        type: itemType_1.ItemType["Globe Service"],
        typeKeywords: ["Data", "Service", "Globe Service", "ArcGIS Server"],
    },
    ImageServer: {
        type: itemType_1.ItemType["Image Service"],
        typeKeywords: ["Data", "Service", "Image Service", "ArcGIS Server"],
    },
    MapServer: {
        type: itemType_1.ItemType["Map Service"],
        typeKeywords: ["Data", "Service", "Map Service", "ArcGIS Server"],
    },
    NAServer: {
        type: itemType_1.ItemType["Network Analysis Service"],
        typeKeywords: [
            "Tool",
            "Service",
            "Network Analysis Service",
            "ArcGIS Server",
        ],
    },
    ElevationServer: {
        type: itemType_1.ItemType["Image Service"],
        typeKeywords: ["Elevation 3D Layer"],
    },
    VectorTileServer: {
        type: itemType_1.ItemType["Vector Tile Service"],
        typeKeywords: [],
    },
    WFS: {
        type: itemType_1.ItemType.WFS,
        typeKeywords: ["Data", "Service", "Web Feature Service", "OGC"],
    },
    WMS: {
        type: itemType_1.ItemType.WMS,
        typeKeywords: ["Data", "Service", "Web Map Service", "OGC"],
    },
    WMTS: {
        type: itemType_1.ItemType.WMTS,
        typeKeywords: ["Data", "Service", "OGC"],
    },
    ogcFeature: {
        type: itemType_1.ItemType.OGCFeatureServer,
        typeKeywords: [
            "Data",
            "Service",
            "Feature Service",
            "OGC",
            "OGC Feature Service",
        ],
    },
    SceneServer: {
        type: itemType_1.ItemType["Scene Service"],
        typeKeywords: ["Scene Service"],
    },
    StreamServer: {
        type: itemType_1.ItemType["Stream Service"],
        typeKeywords: ["Data", "Service", "Stream Service", "ArcGIS Server"],
    },
    WMServer: {
        type: itemType_1.ItemType["Workflow Manager Service"],
        typeKeywords: [
            "Workflow Manager",
            "ArcGIS Server",
            "WMServer",
            "Workflow",
            "JTX",
            "Job Tracking",
        ],
    },
    TiledImageServer: {
        type: itemType_1.ItemType["Image Service"],
        typeKeywords: ["Tiled Imagery"],
    },
    "Web Mapping Application": {
        type: itemType_1.ItemType["Web Mapping Application"],
        typeKeywords: [
            "JavaScript",
            "Map",
            "Mapping Site",
            "Online Map",
            "Ready To Use",
            "Web AppBuilder",
            "Web Map (+ WAB2D or WAB3D)",
        ],
    },
    "Mobile Application": {
        type: itemType_1.ItemType["Mobile Application"],
        typeKeywords: ["ArcGIS Mobile Map", "Mobile Application"],
    },
    "AppBuilder Extension": {
        type: itemType_1.ItemType["AppBuilder Extension"],
        typeKeywords: ["Widget", "App Builder"],
    },
    "Google Drive": {
        type: itemType_1.ItemType["Google Drive"],
        typeKeywords: ["CSV", "Shapefile", "GeoJSON", "Excel", "FileGeodatabase"],
    },
    Dropbox: {
        type: itemType_1.ItemType.Dropbox,
        typeKeywords: ["CSV", "Shapefile", "GeoJSON", "Excel", "FileGeodatabase"],
    },
    OneDrive: {
        type: itemType_1.ItemType.OneDrive,
        typeKeywords: ["CSV", "Shapefile", "GeoJSON", "Excel", "FileGeodatabase"],
    },
    "Map Service": {
        type: itemType_1.ItemType["Map Service"],
        typeKeywords: [
            "ArcGIS Server",
            "Data",
            "Map Service",
            "Service",
            "Hosted Service",
        ],
    },
    StoryMap: {
        type: itemType_1.ItemType.StoryMap,
        typeKeywords: [
            "arcgis-storymaps",
            "StoryMap",
            "Web Application (smstatusdraft or smsstatuspublished)",
        ],
    },
    Dashboard: {
        type: itemType_1.ItemType.Dashboard,
        typeKeywords: ["Dashboard", "Operations Dashboard"],
    },
    "Hub Initiative": {
        type: itemType_1.ItemType["Hub Initiative"],
        typeKeywords: ["Hub", "hubInitiative", "OpenData"],
    },
    "Hub Site Application": {
        type: itemType_1.ItemType["Hub Site Application"],
        typeKeywords: [
            "Hub",
            "hubSite",
            "hubSolution",
            "JavaScript",
            "Map",
            "Mapping Site",
            "Online Map",
            "OpenData",
            "Ready To Use",
            "selfConfigured",
            "Web Map",
            "Registered App",
        ],
    },
    "Web Experience": {
        type: itemType_1.ItemType["Web Experience"],
        typeKeywords: [
            "EXB Experience",
            "JavaScript",
            "Ready To Use Web Application",
            "Web Experience",
            "Web Mapping Application",
            "Web Page",
            "Web Site",
        ],
    },
    "Insights Workbook Package": {
        type: itemType_1.ItemType["Insights Workbook Package"],
        fileExt: [fileExtension_1.FileExtension.insightswbk],
        typeKeywords: ["Insights", "Insights Workbook Package"],
    },
};
/**
 * END CONTENT UPLOAD TYPES/ENUMS
 */
//# sourceMappingURL=hub-types.js.map