"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRequestMethod = exports.LightdashCliVersionHeader = exports.LightdashSdkVersionHeader = exports.LightdashVersionHeader = exports.LightdashRequestMethodHeader = void 0;
const api_1 = require("../types/api");
exports.LightdashRequestMethodHeader = 'Lightdash-Request-Method';
exports.LightdashVersionHeader = 'Lightdash-Version';
exports.LightdashSdkVersionHeader = 'Lightdash-SDK-Version';
exports.LightdashCliVersionHeader = 'Lightdash-CLI-Version';
const getRequestMethod = (headerValue) => (0, api_1.isRequestMethod)(headerValue) ? headerValue : api_1.RequestMethod.UNKNOWN;
exports.getRequestMethod = getRequestMethod;
//# sourceMappingURL=api.js.map