@xuda.io/ai_module 1.1.3792 → 1.1.3793

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.
Files changed (2) hide show
  1. package/index.mjs +11 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5906,8 +5906,16 @@ export const get_ai_workspace_pending_counts = async function (req, job_id, head
5906
5906
  data['ai_chats'] = item.value;
5907
5907
  break;
5908
5908
 
5909
- case 'chat':
5910
- data['ai_chats'] = item.value;
5909
+ case 'ai_agent':
5910
+ data['ai_agents'] = item.value;
5911
+ break;
5912
+
5913
+ case 'miniapp':
5914
+ data['apps'] = item.value;
5915
+ break;
5916
+
5917
+ case 'contact':
5918
+ data['contacts'] = item.value;
5911
5919
  break;
5912
5920
 
5913
5921
  default:
@@ -5915,7 +5923,7 @@ export const get_ai_workspace_pending_counts = async function (req, job_id, head
5915
5923
  }
5916
5924
  }
5917
5925
 
5918
- return { code: 111, data: workspace_pending_counts_ret.data.rows };
5926
+ return { code: 111, data };
5919
5927
  } catch (err) {
5920
5928
  return { code: -111, data: err.message };
5921
5929
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3792",
3
+ "version": "1.1.3793",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",