@xuda.io/account_module 1.2.1877 → 1.2.1879
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/index.mjs +14 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2706,10 +2706,9 @@ export const set_contact_deep_research = async function (req) {
|
|
|
2706
2706
|
|
|
2707
2707
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2708
2708
|
|
|
2709
|
-
//
|
|
2710
|
-
//
|
|
2711
|
-
//
|
|
2712
|
-
// attachment_handler
|
|
2709
|
+
// attachments transcript
|
|
2710
|
+
// business info
|
|
2711
|
+
// personal info
|
|
2713
2712
|
|
|
2714
2713
|
return contact_save_ret;
|
|
2715
2714
|
} catch (err) {
|
|
@@ -2762,6 +2761,17 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2762
2761
|
await delete_xuda_cache(contact_doc);
|
|
2763
2762
|
set_contact_profile_picture(uid, contact_doc._id, {}, job_id, headers, account_profile_info, false);
|
|
2764
2763
|
|
|
2764
|
+
// find contact emails , set status to 1
|
|
2765
|
+
|
|
2766
|
+
let ret = await db_module.find_app_couch_query(app_id, {
|
|
2767
|
+
selector: { docType: 'account_profile', stat: 3 },
|
|
2768
|
+
});
|
|
2769
|
+
|
|
2770
|
+
// save attachments
|
|
2771
|
+
// summarized_body
|
|
2772
|
+
// update_conversation_mood_level
|
|
2773
|
+
// attachment_handler
|
|
2774
|
+
|
|
2765
2775
|
return contact_save_ret;
|
|
2766
2776
|
} catch (err) {
|
|
2767
2777
|
return {
|