@xuda.io/account_module 1.2.2216 → 1.2.2218

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
@@ -3118,6 +3118,7 @@ export const get_account_profiles = async function (req) {
3118
3118
  export const archive_account_profile = async function (req) {
3119
3119
  const { uid, profile_id } = req;
3120
3120
  try {
3121
+ debugger;
3121
3122
  const app_id = await get_account_default_project_id(uid);
3122
3123
 
3123
3124
  await team_ms.validate_share_exist(uid, 'account_profile', profile_id);
@@ -3231,7 +3232,22 @@ export const create_account_profile = async function (req, job_id, headers) {
3231
3232
  export const update_account_profile = async function (req, job_id, headers) {
3232
3233
  const { uid, _id } = req;
3233
3234
  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'];
3235
+ const account_profile_properties = [
3236
+ 'profile_name',
3237
+ 'profile_signature',
3238
+ 'email_account_id',
3239
+ 'profile_picture',
3240
+ 'profile_avatar',
3241
+ 'profile_picture_obj',
3242
+ 'profile_avatar_obj',
3243
+ 'auto_respond',
3244
+ 'auto_respond_mode',
3245
+ 'auto_respond_agents',
3246
+ 'account_type',
3247
+ 'active_ai_model',
3248
+ 'ai_models',
3249
+ 'active_agents',
3250
+ ];
3235
3251
  try {
3236
3252
  let { data: account_profile_doc } = await db_module.get_app_couch_doc(app_id, _id);
3237
3253
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2216",
3
+ "version": "1.2.2218",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {