@w6s/sdk
Version:
WorkPlusFE JavaScript SDK.
19 lines (18 loc) • 788 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var core = require("../core");
var constants_1 = require("../constants");
/**
* 获取当前登录用户的某个组织里的雇员信息
*
* @export
* @param {CurrentEmployeeInfoParams & ContactOption<CurrentEmployeeInfoRes>} [options]
* @returns {Promise<CurrentEmployeeInfoRes>}
*/
function getCurrentEmployeeInfo(options) {
var args = {
orgCode: (options === null || options === void 0 ? void 0 : options.orgCode) || '',
};
return core.exec(constants_1.WORKPLUS_CONTACT, 'getCurrentEmployeeInfo', [args], options === null || options === void 0 ? void 0 : options.success, options === null || options === void 0 ? void 0 : options.fail);
}
exports.default = getCurrentEmployeeInfo;