isdata-customer-sdk 0.2.67 → 0.2.68

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
@@ -29625,6 +29625,7 @@ __webpack_require__.d(__webpack_exports__, {
29625
29625
  getPortalUserSig: function() { return /* reexport */ getPortalUserSig; },
29626
29626
  getRobotInfoByID: function() { return /* reexport */ getRobotInfoByID; },
29627
29627
  getRoleIDsByUserAndGroupID: function() { return /* reexport */ getRoleIDsByUserAndGroupID; },
29628
+ getTenetInfoByName: function() { return /* reexport */ getTenetInfoByName; },
29628
29629
  getThirdAppPathByKey: function() { return /* reexport */ getThirdAppPathByKey; },
29629
29630
  getUrlParamValue: function() { return /* reexport */ getUrlParamValue; },
29630
29631
  getUserAllMappngPortal: function() { return /* reexport */ getUserAllMappngPortal; },
@@ -30503,6 +30504,23 @@ const getPortalInfosByID = async id => {
30503
30504
  return portalInfo;
30504
30505
  };
30505
30506
 
30507
+ /**
30508
+ * 通过租户名称模糊匹配获取租户信息
30509
+ *
30510
+ * @param {名称信息} name
30511
+ * @returns
30512
+ */
30513
+ const getTenetInfoByName = async name => {
30514
+ let queryData = {
30515
+ param: {
30516
+ name: name
30517
+ }
30518
+ };
30519
+ let response = await request.post(`/dataservice/rest/orchestration/getTenetInfoByName`, queryData);
30520
+ let resultDatas = response.data.resultDatas;
30521
+ return resultDatas;
30522
+ };
30523
+
30506
30524
  /**
30507
30525
  * 获取当前用户在门户中的所有映射数据
30508
30526
  * @param {信息} data