"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CREATE_REPLICA_FORMATS = exports.HUB_FGDB_JOB_FORMATS = exports.HUB_PAGING_JOB_FORMATS = exports.EXPORT_IMAGE_FORMATS = void 0;
const serviceDownloadFormat_1 = require("../enums/serviceDownloadFormat");
/**
 * Formats supported by the /exportImage endpoint of Image Services.
 * Listed in the default order of appearance in the UI.
 */
exports.EXPORT_IMAGE_FORMATS = [
    // Temporary exclusion until we hammer out the details of how to support it.
    // Unlike jpg or png, tiff downloads require exact geospatial parameters to be set.
    // ServiceDownloadFormat.TIFF,
    serviceDownloadFormat_1.ServiceDownloadFormat.JPG,
    serviceDownloadFormat_1.ServiceDownloadFormat.PNG,
    serviceDownloadFormat_1.ServiceDownloadFormat.PNG8,
    serviceDownloadFormat_1.ServiceDownloadFormat.PNG24,
    serviceDownloadFormat_1.ServiceDownloadFormat.PNG32, // 10.2+
    // Used mainly by the JS API. Has bespoke behavior that users may not expect, could be added later.
    // ServiceDownloadFormat.JPG_PNG,
    // Difficult to support due to complexities of image services, could be added later
    // ServiceDownloadFormat.BIP, // 10.3+
    // ServiceDownloadFormat.BMP,
    // ServiceDownloadFormat.BSQ, // 10.3+
    // ServiceDownloadFormat.GIF,
    // ServiceDownloadFormat.LERC,
];
/**
 * Formats supported by the paging operation endpoint of the Hub Download API.
 * Listed in the default order of appearance in the UI.
 */
exports.HUB_PAGING_JOB_FORMATS = [
    serviceDownloadFormat_1.ServiceDownloadFormat.CSV,
    serviceDownloadFormat_1.ServiceDownloadFormat.SHAPEFILE,
    serviceDownloadFormat_1.ServiceDownloadFormat.GEOJSON,
    serviceDownloadFormat_1.ServiceDownloadFormat.KML,
];
/**
 * Formats supported by the fgdb operation endpoint of the Hub Download API.
 * Listed in the default order of appearance in the UI.
 */
exports.HUB_FGDB_JOB_FORMATS = [
    serviceDownloadFormat_1.ServiceDownloadFormat.CSV,
    serviceDownloadFormat_1.ServiceDownloadFormat.SHAPEFILE,
    serviceDownloadFormat_1.ServiceDownloadFormat.GEOJSON,
    serviceDownloadFormat_1.ServiceDownloadFormat.KML,
    serviceDownloadFormat_1.ServiceDownloadFormat.FILE_GDB,
];
/**
 * Known formats supported by the /createReplica endpoint of the Hub Download API.
 * Listed in the default order of appearance in the UI.
 * NOTE: this is may be incomplete and should be updated as needed.
 */
exports.CREATE_REPLICA_FORMATS = [
    serviceDownloadFormat_1.ServiceDownloadFormat.CSV,
    serviceDownloadFormat_1.ServiceDownloadFormat.SHAPEFILE,
    serviceDownloadFormat_1.ServiceDownloadFormat.GEOJSON,
    serviceDownloadFormat_1.ServiceDownloadFormat.KML,
    serviceDownloadFormat_1.ServiceDownloadFormat.FILE_GDB,
    serviceDownloadFormat_1.ServiceDownloadFormat.FEATURE_COLLECTION,
    serviceDownloadFormat_1.ServiceDownloadFormat.EXCEL,
    serviceDownloadFormat_1.ServiceDownloadFormat.GEO_PACKAGE,
    serviceDownloadFormat_1.ServiceDownloadFormat.SQLITE,
    serviceDownloadFormat_1.ServiceDownloadFormat.JSON,
];
//# sourceMappingURL=_types.js.map