isdata-customer-sdk 0.1.49 → 0.1.50

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.umd.js CHANGED
@@ -29569,8 +29569,10 @@ __webpack_require__.d(__webpack_exports__, {
29569
29569
  destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
29570
29570
  fireEvent: function() { return /* reexport */ fireEvent; },
29571
29571
  getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
29572
+ getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
29572
29573
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
29573
29574
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29575
+ getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29574
29576
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29575
29577
  getGroupMappingsByAccount: function() { return /* reexport */ getGroupMappingsByAccount; },
29576
29578
  getKey: function() { return /* reexport */ getKey; },
@@ -29581,6 +29583,7 @@ __webpack_require__.d(__webpack_exports__, {
29581
29583
  getObjectUseTimes: function() { return /* reexport */ getObjectUseTimes; },
29582
29584
  getOfficeInfosByIDs: function() { return /* reexport */ getOfficeInfosByIDs; },
29583
29585
  getPageIDByComponentID: function() { return /* reexport */ getPageIDByComponentID; },
29586
+ getPojectDptsByUserAndGroupID: function() { return /* reexport */ getPojectDptsByUserAndGroupID; },
29584
29587
  getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
29585
29588
  getPortalAccessToken: function() { return /* reexport */ getPortalAccessToken; },
29586
29589
  getPortalPageConfig: function() { return /* reexport */ getPortalPageConfig; },
@@ -30604,6 +30607,40 @@ const getAPPInfosByID = async id => {
30604
30607
  let groupDptData = resultData.data.appInfo;
30605
30608
  return groupDptData;
30606
30609
  };
30610
+ const getAllUserInfosByGroupID = async groupID => {
30611
+ let requestData = {
30612
+ param: {
30613
+ groupID: groupID
30614
+ }
30615
+ };
30616
+ let result = await request.post(`/dataservice/rest/orchestration/getAllUserInfosByGroupID`, requestData);
30617
+ let data = result.data.resultDatas;
30618
+ return data;
30619
+ };
30620
+ const getChildrenOfficeInfosByID = async officeID => {
30621
+ let requestData = {
30622
+ param: {
30623
+ officeID: officeID
30624
+ }
30625
+ };
30626
+ let result = await request.post(`/dataservice/rest/orchestration/getChildrenOfficeInfosByID`, requestData);
30627
+ let data = result.data.resultDatas;
30628
+ return data;
30629
+ };
30630
+ const getPojectDptsByUserAndGroupID = async (userID, groupID) => {
30631
+ let requestData = {
30632
+ param: {
30633
+ userID: userID,
30634
+ groupID: groupID
30635
+ }
30636
+ };
30637
+ let result = await request.post(`/dataservice/rest/orchestration/getPojectDptsByUserAndGroupID`, requestData);
30638
+ let data = {
30639
+ dptDatas: result.data.officeDatas,
30640
+ userMappings: result.data.userMappings
30641
+ };
30642
+ return data;
30643
+ };
30607
30644
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
30608
30645
  var es_iterator_some = __webpack_require__(3579);
30609
30646
  ;// ./src/api/iframe.js