isdata-customer-sdk 0.2.39 → 0.2.41

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
@@ -40309,6 +40309,7 @@ __webpack_require__.d(__webpack_exports__, {
40309
40309
  fireEvent: function() { return /* reexport */ fireEvent; },
40310
40310
  getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
40311
40311
  getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
40312
+ getAllI18nTypes: function() { return /* reexport */ getAllI18nTypes; },
40312
40313
  getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
40313
40314
  getAppCustomData: function() { return /* reexport */ getAppCustomData; },
40314
40315
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
@@ -41702,20 +41703,32 @@ const getIntegrateAppInfoByID = async appID => {
41702
41703
  };
41703
41704
 
41704
41705
  // 更新服务器i18n文本
41705
- const savePortalI18nText = async (key, value, lang) => {
41706
+ const savePortalI18nText = async (key, value, lang, beyondID, i18nType) => {
41706
41707
  let app_id = getPoratlAppID();
41707
41708
  let requestData = {
41708
41709
  param: {
41709
41710
  key: key,
41710
41711
  value: value,
41711
41712
  appID: app_id,
41712
- lang: lang
41713
+ lang: lang,
41714
+ beyondID: beyondID,
41715
+ i18nType: i18nType
41713
41716
  }
41714
41717
  };
41715
41718
  let result = await request.post(`/dataservice/rest/orchestration/savePortalI18nText`, requestData);
41716
41719
  let resultData = result.data.resultData;
41717
41720
  return resultData;
41718
41721
  };
41722
+
41723
+ // 更新服务器i18n文本
41724
+ const getAllI18nTypes = async () => {
41725
+ let requestData = {
41726
+ param: {}
41727
+ };
41728
+ let result = await request.post(`/dataservice/rest/orchestration/getAllI18nTypes`, requestData);
41729
+ let resultData = result.data.resultDatas;
41730
+ return resultData;
41731
+ };
41719
41732
  ;// ./node_modules/ua-parser-js/src/main/ua-parser.mjs
41720
41733
  // Generated ESM version of ua-parser-js
41721
41734
  // DO NOT EDIT THIS FILE!