@xuda.io/account_module 1.2.2215 → 1.2.2217

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 +17 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3231,7 +3231,22 @@ export const create_account_profile = async function (req, job_id, headers) {
3231
3231
  export const update_account_profile = async function (req, job_id, headers) {
3232
3232
  const { uid, _id } = req;
3233
3233
  const app_id = await get_account_default_project_id(uid);
3234
- const account_profile_properties = ['profile_name', 'profile_signature', 'email_account_id', 'profile_picture', 'profile_avatar', 'profile_picture_obj', 'profile_avatar_obj', 'auto_respond', 'auto_respond_mode', 'auto_respond_agents', 'account_type', 'active_ai_model'];
3234
+ const account_profile_properties = [
3235
+ 'profile_name',
3236
+ 'profile_signature',
3237
+ 'email_account_id',
3238
+ 'profile_picture',
3239
+ 'profile_avatar',
3240
+ 'profile_picture_obj',
3241
+ 'profile_avatar_obj',
3242
+ 'auto_respond',
3243
+ 'auto_respond_mode',
3244
+ 'auto_respond_agents',
3245
+ 'account_type',
3246
+ 'active_ai_model',
3247
+ 'ai_models',
3248
+ 'active_agents',
3249
+ ];
3235
3250
  try {
3236
3251
  let { data: account_profile_doc } = await db_module.get_app_couch_doc(app_id, _id);
3237
3252
 
@@ -3840,6 +3855,7 @@ const isLikelySpamEmail = async function (email) {
3840
3855
  // Passed → likely legitimate
3841
3856
  return false;
3842
3857
  };
3858
+
3843
3859
  setTimeout(async () => {
3844
3860
  const uid = 'd39126e0e2c51ffbd1aad10709fc8335';
3845
3861
  // onboarding_completed({ uid });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2215",
3
+ "version": "1.2.2217",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {