isdata-customer-sdk 0.2.66 → 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.common.js +16 -0
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +16 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -29565,6 +29565,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29565
29565
|
fireEvent: function() { return /* reexport */ fireEvent; },
|
|
29566
29566
|
getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
|
|
29567
29567
|
getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
|
|
29568
|
+
getAccountCountByName: function() { return /* reexport */ getAccountCountByName; },
|
|
29568
29569
|
getAllI18nTypes: function() { return /* reexport */ getAllI18nTypes; },
|
|
29569
29570
|
getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
|
|
29570
29571
|
getAppCustomData: function() { return /* reexport */ getAppCustomData; },
|
|
@@ -33906,6 +33907,21 @@ const getViewKey = async () => {
|
|
|
33906
33907
|
let key = resultData.data.key;
|
|
33907
33908
|
return key;
|
|
33908
33909
|
};
|
|
33910
|
+
|
|
33911
|
+
/**
|
|
33912
|
+
* 通过账号获取账号数量
|
|
33913
|
+
* @returns
|
|
33914
|
+
*/
|
|
33915
|
+
const getAccountCountByName = async name => {
|
|
33916
|
+
let queryData = {
|
|
33917
|
+
param: {
|
|
33918
|
+
accountName: name
|
|
33919
|
+
}
|
|
33920
|
+
};
|
|
33921
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/getAccountCountByName`, queryData);
|
|
33922
|
+
let count = resultData.data.count;
|
|
33923
|
+
return count;
|
|
33924
|
+
};
|
|
33909
33925
|
;// ./src/api/utils.js
|
|
33910
33926
|
|
|
33911
33927
|
|