"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.fetchConfig = void 0;
var _services = require("@mirai/services");
const fetchConfig = function () {
  let _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
    id = _ref.id,
    _ref$type = _ref.type,
    type = _ref$type === void 0 ? 'hotel' : _ref$type;
  return id ? _services.ServiceEngine.get({
    id,
    type
  }) : undefined;
};
exports.fetchConfig = fetchConfig;
//# sourceMappingURL=fetchConfig.js.map