isdata-customer-sdk 0.2.36 → 0.2.37

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.
@@ -29577,6 +29577,7 @@ __webpack_require__.d(__webpack_exports__, {
29577
29577
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29578
29578
  getDifyFileType: function() { return /* reexport */ getDifyFileType; },
29579
29579
  getFileSize: function() { return /* reexport */ getFileSize; },
29580
+ getGourpMappingsByPhoneNumber: function() { return /* reexport */ getGourpMappingsByPhoneNumber; },
29580
29581
  getGroupMappingsByAccount: function() { return /* reexport */ getGroupMappingsByAccount; },
29581
29582
  getI18nKey: function() { return /* reexport */ getI18nKey; },
29582
29583
  getIMHanlder: function() { return /* reexport */ getIMHanlder; },
@@ -30759,6 +30760,22 @@ const getGroupMappingsByAccount = async account => {
30759
30760
  return tenetGroupDatas;
30760
30761
  };
30761
30762
 
30763
+ /**
30764
+ * 通过手机号获取集团组织映射数据
30765
+ * @param {*} phone
30766
+ * @returns
30767
+ */
30768
+ const getGourpMappingsByPhoneNumber = async phone => {
30769
+ let queryData = {
30770
+ param: {
30771
+ phone: phone
30772
+ }
30773
+ };
30774
+ let resultData = await request.post(`/dataservice/rest/orchestration/getGourpMappingsByPhoneNumber`, queryData);
30775
+ let tenetGroupDatas = resultData.data.resultGroups;
30776
+ return tenetGroupDatas;
30777
+ };
30778
+
30762
30779
  /**
30763
30780
  * 查询当前企业组织的集团组织ID
30764
30781
  * @param id 组织ID