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.umd.js CHANGED
@@ -29571,11 +29571,13 @@ __webpack_require__.d(__webpack_exports__, {
29571
29571
  getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
29572
29572
  getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
29573
29573
  getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
29574
+ getAppCustomData: function() { return /* reexport */ getAppCustomData; },
29574
29575
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
29575
29576
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29576
29577
  getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29577
29578
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29578
29579
  getGroupMappingsByAccount: function() { return /* reexport */ getGroupMappingsByAccount; },
29580
+ getIntegrateAppInfoByID: function() { return /* reexport */ getIntegrateAppInfoByID; },
29579
29581
  getKey: function() { return /* reexport */ getKey; },
29580
29582
  getLoginPageNotices: function() { return /* reexport */ getLoginPageNotices; },
29581
29583
  getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
@@ -29587,6 +29589,7 @@ __webpack_require__.d(__webpack_exports__, {
29587
29589
  getPojectDptsByUserAndGroupID: function() { return /* reexport */ getPojectDptsByUserAndGroupID; },
29588
29590
  getPoratlAppID: function() { return /* reexport */ getPoratlAppID; },
29589
29591
  getPortalAccessToken: function() { return /* reexport */ getPortalAccessToken; },
29592
+ getPortalAppCustomConfig: function() { return /* reexport */ getPortalAppCustomConfig; },
29590
29593
  getPortalPageConfig: function() { return /* reexport */ getPortalPageConfig; },
29591
29594
  getPortalPageMenuID: function() { return /* reexport */ getPortalPageMenuID; },
29592
29595
  getPortalUserInfo: function() { return /* reexport */ getPortalUserInfo; },
@@ -30253,6 +30256,22 @@ const getPortalUserSig = async (userID, platType, groupID) => {
30253
30256
  let sigID = result.data.userSig;
30254
30257
  return sigID;
30255
30258
  };
30259
+
30260
+ /**
30261
+ * 通过租户ID获取门户应用的客户配置
30262
+ * @param {*} groupID
30263
+ * @returns
30264
+ */
30265
+ const getPortalAppCustomConfig = async groupID => {
30266
+ let requestData = {
30267
+ param: {
30268
+ groupID: groupID
30269
+ }
30270
+ };
30271
+ let result = await request.post(`/dataservice/rest/orchestration/getPortalAppCustomConfig`, requestData);
30272
+ let appInfo = result.data.configInfo;
30273
+ return appInfo;
30274
+ };
30256
30275
  // EXTERNAL MODULE: ./node_modules/crypto-js/index.js
30257
30276
  var crypto_js = __webpack_require__(1396);
30258
30277
  var crypto_js_default = /*#__PURE__*/__webpack_require__.n(crypto_js);
@@ -30696,6 +30715,39 @@ const updateIMMapping = async (userID, platType, groupID, sigID) => {
30696
30715
  let resultData = result.data;
30697
30716
  return resultData;
30698
30717
  };
30718
+
30719
+ /**
30720
+ * 获取应用自定义数据
30721
+ * @param {*} appID
30722
+ * @returns
30723
+ */
30724
+ const getAppCustomData = async appID => {
30725
+ let requestData = {
30726
+ param: {
30727
+ appID: appID
30728
+ }
30729
+ };
30730
+ let result = await request.post(`/dataservice/rest/orchestration/getAppCustomData`, requestData);
30731
+ let infos = result.data.customData;
30732
+ infos = infos ? JSON.parse(infos) : {};
30733
+ return infos;
30734
+ };
30735
+
30736
+ /**
30737
+ * 获取集成应用的信息
30738
+ * @param {*} appID
30739
+ * @returns
30740
+ */
30741
+ const getIntegrateAppInfoByID = async appID => {
30742
+ let requestData = {
30743
+ param: {
30744
+ appID: appID
30745
+ }
30746
+ };
30747
+ let result = await request.post(`/dataservice/rest/orchestration/getIntegrateAppInfoByID`, requestData);
30748
+ let appInfo = result.data.appInfo;
30749
+ return appInfo;
30750
+ };
30699
30751
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
30700
30752
  var es_iterator_some = __webpack_require__(3579);
30701
30753
  ;// ./src/api/iframe.js