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.js CHANGED
@@ -29559,8 +29559,10 @@ __webpack_require__.d(__webpack_exports__, {
29559
29559
  destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
29560
29560
  fireEvent: function() { return /* reexport */ fireEvent; },
29561
29561
  getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
29562
+ getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
29562
29563
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
29563
29564
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29565
+ getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29564
29566
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29565
29567
  getGroupMappingsByAccount: function() { return /* reexport */ getGroupMappingsByAccount; },
29566
29568
  getKey: function() { return /* reexport */ getKey; },
@@ -29571,6 +29573,7 @@ __webpack_require__.d(__webpack_exports__, {
29571
29573
  getObjectUseTimes: function() { return /* reexport */ getObjectUseTimes; },
29572
29574
  getOfficeInfosByIDs: function() { return /* reexport */ getOfficeInfosByIDs; },
29573
29575
  getPageIDByComponentID: function() { return /* reexport */ getPageIDByComponentID; },
29576
+ getPojectDptsByUserAndGroupID: function() { return /* reexport */ getPojectDptsByUserAndGroupID; },
29574
29577
  getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
29575
29578
  getPortalAccessToken: function() { return /* reexport */ getPortalAccessToken; },
29576
29579
  getPortalPageConfig: function() { return /* reexport */ getPortalPageConfig; },
@@ -30594,6 +30597,40 @@ const getAPPInfosByID = async id => {
30594
30597
  let groupDptData = resultData.data.appInfo;
30595
30598
  return groupDptData;
30596
30599
  };
30600
+ const getAllUserInfosByGroupID = async groupID => {
30601
+ let requestData = {
30602
+ param: {
30603
+ groupID: groupID
30604
+ }
30605
+ };
30606
+ let result = await request.post(`/dataservice/rest/orchestration/getAllUserInfosByGroupID`, requestData);
30607
+ let data = result.data.resultDatas;
30608
+ return data;
30609
+ };
30610
+ const getChildrenOfficeInfosByID = async officeID => {
30611
+ let requestData = {
30612
+ param: {
30613
+ officeID: officeID
30614
+ }
30615
+ };
30616
+ let result = await request.post(`/dataservice/rest/orchestration/getChildrenOfficeInfosByID`, requestData);
30617
+ let data = result.data.resultDatas;
30618
+ return data;
30619
+ };
30620
+ const getPojectDptsByUserAndGroupID = async (userID, groupID) => {
30621
+ let requestData = {
30622
+ param: {
30623
+ userID: userID,
30624
+ groupID: groupID
30625
+ }
30626
+ };
30627
+ let result = await request.post(`/dataservice/rest/orchestration/getPojectDptsByUserAndGroupID`, requestData);
30628
+ let data = {
30629
+ dptDatas: result.data.officeDatas,
30630
+ userMappings: result.data.userMappings
30631
+ };
30632
+ return data;
30633
+ };
30597
30634
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
30598
30635
  var es_iterator_some = __webpack_require__(3579);
30599
30636
  ;// ./src/api/iframe.js