isdata-customer-sdk 0.1.71 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.common.js +17 -0
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +17 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +3 -3
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -29596,6 +29596,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29596
29596
|
getThirdAppPathByKey: function() { return /* reexport */ getThirdAppPathByKey; },
|
|
29597
29597
|
getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
|
|
29598
29598
|
getUserAllMappngPortal: function() { return /* reexport */ getUserAllMappngPortal; },
|
|
29599
|
+
getUserRoles: function() { return /* reexport */ getUserRoles; },
|
|
29599
29600
|
hasListener: function() { return /* reexport */ hasListener; },
|
|
29600
29601
|
initEventCenter: function() { return /* reexport */ initEventCenter; },
|
|
29601
29602
|
initFrameWindowListener: function() { return /* reexport */ initFrameWindowListener; },
|
|
@@ -30569,6 +30570,22 @@ const getIntegrateAppInfoByID = async appID => {
|
|
|
30569
30570
|
let appInfo = result.data.appInfo;
|
|
30570
30571
|
return appInfo;
|
|
30571
30572
|
};
|
|
30573
|
+
|
|
30574
|
+
/**
|
|
30575
|
+
* getUserRoles
|
|
30576
|
+
* @param {信息} userID
|
|
30577
|
+
* @returns
|
|
30578
|
+
*/
|
|
30579
|
+
const getUserRoles = async userID => {
|
|
30580
|
+
let queryData = {
|
|
30581
|
+
"param": {
|
|
30582
|
+
"userID": userID
|
|
30583
|
+
}
|
|
30584
|
+
};
|
|
30585
|
+
let responseData = await request.post(`/dataservice/rest/orchestration/getUserRoles`, queryData);
|
|
30586
|
+
let role_ids = responseData.data.role_ids;
|
|
30587
|
+
return role_ids;
|
|
30588
|
+
};
|
|
30572
30589
|
// EXTERNAL MODULE: ./node_modules/crypto-js/index.js
|
|
30573
30590
|
var crypto_js = __webpack_require__(1396);
|
|
30574
30591
|
var crypto_js_default = /*#__PURE__*/__webpack_require__.n(crypto_js);
|