@xuda.io/account_module 1.2.1904 → 1.2.1905

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 +10 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2798,6 +2798,16 @@ export const not_spam_contact = async function (req, job_id, headers) {
2798
2798
  for await (let conversation of conversations.docs) {
2799
2799
  await ai_module.process_conversation(uid, conversation._id, account_profile_info, job_id, headers);
2800
2800
  await ai_module.update_conversation_mood_level(uid, [{ uid: account_profile_info.uid, contact_id }], conversation._id, conversation.prompt, null, reference_id, conversation.reference_type === 'contacts', account_profile_info);
2801
+
2802
+ const conversation_items = await db_module.find_app_couch_query(account_profile_info.app_id, {
2803
+ selector: {
2804
+ docType: 'chat_conversation_item',
2805
+ conversation_id: conversation._id,
2806
+ stat: 3,
2807
+
2808
+ process_stat: 'partial',
2809
+ },
2810
+ });
2801
2811
  }
2802
2812
 
2803
2813
  // update_conversation_mood_level
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1904",
3
+ "version": "1.2.1905",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {