"use strict";

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

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

var _helpers = require("../../../../utils/helpers");

var getShareStatus = function getShareStatus() {
  var loginUser = (0, _helpers.getLoginUserInfo)();
  return (0, _request.rget)('v1')("summary/getShareUsers?toUserId=".concat(loginUser.Id));
};

exports.getShareStatus = getShareStatus;

var getTemplateUserRole = function getTemplateUserRole() {
  return (0, _request.rget)('v1')('summaryTemplate/userRole');
};

exports.getTemplateUserRole = getTemplateUserRole;