isdata-customer-sdk 0.2.65 → 0.2.67

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
@@ -29583,6 +29583,7 @@ __webpack_require__.d(__webpack_exports__, {
29583
29583
  fireEvent: function() { return /* reexport */ fireEvent; },
29584
29584
  getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
29585
29585
  getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
29586
+ getAccountCountByName: function() { return /* reexport */ getAccountCountByName; },
29586
29587
  getAllI18nTypes: function() { return /* reexport */ getAllI18nTypes; },
29587
29588
  getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
29588
29589
  getAppCustomData: function() { return /* reexport */ getAppCustomData; },
@@ -30612,10 +30613,11 @@ const getMappingAppInfoByID = async (appID, groupID) => {
30612
30613
  *
30613
30614
  * @returns 获取门户登录页面的公告信息
30614
30615
  */
30615
- const getLoginPageNotices = async () => {
30616
+ const getLoginPageNotices = async groupID => {
30616
30617
  let queryData = {
30617
30618
  param: {
30618
- id: "1005"
30619
+ id: "1005",
30620
+ groupID: groupID // 集团ID
30619
30621
  }
30620
30622
  };
30621
30623
  let resultData = await request.post(`/dataservice/rest/orchestration/getNoticeInfosByAppTypeID`, queryData);
@@ -33923,6 +33925,21 @@ const getViewKey = async () => {
33923
33925
  let key = resultData.data.key;
33924
33926
  return key;
33925
33927
  };
33928
+
33929
+ /**
33930
+ * 通过账号获取账号数量
33931
+ * @returns
33932
+ */
33933
+ const getAccountCountByName = async name => {
33934
+ let queryData = {
33935
+ param: {
33936
+ accountName: name
33937
+ }
33938
+ };
33939
+ let resultData = await request.post(`/dataservice/rest/orchestration/getAccountCountByName`, queryData);
33940
+ let count = resultData.data.count;
33941
+ return count;
33942
+ };
33926
33943
  ;// ./src/api/utils.js
33927
33944
 
33928
33945