"use strict";

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