"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getWorks = exports.autoImportWork = void 0;

var _request = require("@titaui/request");

var autoImportWork = function autoImportWork(_ref) {
  var FeedId = _ref.FeedId,
      ModuleId = _ref.ModuleId,
      SummaryType = _ref.SummaryType,
      DailyDate = _ref.DailyDate,
      CycleStartTime = _ref.CycleStartTime,
      CycleEndTime = _ref.CycleEndTime;
  return (0, _request.rpost)("v1")("summary/work/autoimport", {
    FeedId: FeedId,
    ModuleId: ModuleId,
    SummaryType: SummaryType,
    DailyDate: DailyDate,
    CycleStartTime: CycleStartTime,
    CycleEndTime: CycleEndTime
  });
};

exports.autoImportWork = autoImportWork;

var getWorks = function getWorks(_ref2) {
  var feedId = _ref2.feedId,
      moduleId = _ref2.moduleId;
  return (0, _request.rpost)("v1")("summary/work/search/".concat(feedId, "/").concat(moduleId));
};

exports.getWorks = getWorks;