isdata-customer-sdk 0.1.55 → 0.1.56

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
@@ -29561,11 +29561,13 @@ __webpack_require__.d(__webpack_exports__, {
29561
29561
  getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
29562
29562
  getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
29563
29563
  getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
29564
+ getAppCustomData: function() { return /* reexport */ getAppCustomData; },
29564
29565
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
29565
29566
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29566
29567
  getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29567
29568
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29568
29569
  getGroupMappingsByAccount: function() { return /* reexport */ getGroupMappingsByAccount; },
29570
+ getIntegrateAppInfoByID: function() { return /* reexport */ getIntegrateAppInfoByID; },
29569
29571
  getKey: function() { return /* reexport */ getKey; },
29570
29572
  getLoginPageNotices: function() { return /* reexport */ getLoginPageNotices; },
29571
29573
  getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
@@ -29577,6 +29579,7 @@ __webpack_require__.d(__webpack_exports__, {
29577
29579
  getPojectDptsByUserAndGroupID: function() { return /* reexport */ getPojectDptsByUserAndGroupID; },
29578
29580
  getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
29579
29581
  getPortalAccessToken: function() { return /* reexport */ getPortalAccessToken; },
29582
+ getPortalAppCustomConfig: function() { return /* reexport */ getPortalAppCustomConfig; },
29580
29583
  getPortalPageConfig: function() { return /* reexport */ getPortalPageConfig; },
29581
29584
  getPortalPageMenuID: function() { return /* reexport */ getPortalPageMenuID; },
29582
29585
  getPortalUserInfo: function() { return /* reexport */ getPortalUserInfo; },
@@ -30243,6 +30246,22 @@ const getPortalUserSig = async (userID, platType, groupID) => {
30243
30246
  let sigID = result.data.userSig;
30244
30247
  return sigID;
30245
30248
  };
30249
+
30250
+ /**
30251
+ * 通过租户ID获取门户应用的客户配置
30252
+ * @param {*} groupID
30253
+ * @returns
30254
+ */
30255
+ const getPortalAppCustomConfig = async groupID => {
30256
+ let requestData = {
30257
+ param: {
30258
+ groupID: groupID
30259
+ }
30260
+ };
30261
+ let result = await request.post(`/dataservice/rest/orchestration/getPortalAppCustomConfig`, requestData);
30262
+ let appInfo = result.data.configInfo;
30263
+ return appInfo;
30264
+ };
30246
30265
  // EXTERNAL MODULE: ./node_modules/crypto-js/index.js
30247
30266
  var crypto_js = __webpack_require__(1396);
30248
30267
  var crypto_js_default = /*#__PURE__*/__webpack_require__.n(crypto_js);
@@ -30686,6 +30705,39 @@ const updateIMMapping = async (userID, platType, groupID, sigID) => {
30686
30705
  let resultData = result.data;
30687
30706
  return resultData;
30688
30707
  };
30708
+
30709
+ /**
30710
+ * 获取应用自定义数据
30711
+ * @param {*} appID
30712
+ * @returns
30713
+ */
30714
+ const getAppCustomData = async appID => {
30715
+ let requestData = {
30716
+ param: {
30717
+ appID: appID
30718
+ }
30719
+ };
30720
+ let result = await request.post(`/dataservice/rest/orchestration/getAppCustomData`, requestData);
30721
+ let infos = result.data.customData;
30722
+ infos = infos ? JSON.parse(infos) : {};
30723
+ return infos;
30724
+ };
30725
+
30726
+ /**
30727
+ * 获取集成应用的信息
30728
+ * @param {*} appID
30729
+ * @returns
30730
+ */
30731
+ const getIntegrateAppInfoByID = async appID => {
30732
+ let requestData = {
30733
+ param: {
30734
+ appID: appID
30735
+ }
30736
+ };
30737
+ let result = await request.post(`/dataservice/rest/orchestration/getIntegrateAppInfoByID`, requestData);
30738
+ let appInfo = result.data.appInfo;
30739
+ return appInfo;
30740
+ };
30689
30741
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
30690
30742
  var es_iterator_some = __webpack_require__(3579);
30691
30743
  ;// ./src/api/iframe.js