@xuda.io/account_module 1.2.1421 → 1.2.1422
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 +27 -27
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2178,37 +2178,37 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
|
|
|
2178
2178
|
if (!contact_obj.profile_avatar) {
|
|
2179
2179
|
let business_size;
|
|
2180
2180
|
|
|
2181
|
-
switch (account_obj.membership_plan) {
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2181
|
+
// switch (account_obj.membership_plan) {
|
|
2182
|
+
// case 'free': {
|
|
2183
|
+
// business_size = 'unknown';
|
|
2184
|
+
// break;
|
|
2185
|
+
// }
|
|
2186
2186
|
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2187
|
+
// case 'pro': {
|
|
2188
|
+
// business_size = 'small';
|
|
2189
|
+
// break;
|
|
2190
|
+
// }
|
|
2191
2191
|
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2192
|
+
// case 'team': {
|
|
2193
|
+
// business_size = 'medium';
|
|
2194
|
+
// break;
|
|
2195
|
+
// }
|
|
2196
2196
|
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2197
|
+
// case 'agency': {
|
|
2198
|
+
// business_size = 'large';
|
|
2199
|
+
// break;
|
|
2200
|
+
// }
|
|
2201
|
+
// case 'enterprise_t1':
|
|
2202
|
+
// case 'enterprise_t2':
|
|
2203
|
+
// case 'enterprise_t3': {
|
|
2204
|
+
// business_size = 'enterprise';
|
|
2205
|
+
// break;
|
|
2206
|
+
// }
|
|
2207
2207
|
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
}
|
|
2208
|
+
// default:
|
|
2209
|
+
// business_size = 'unknown';
|
|
2210
|
+
// break;
|
|
2211
|
+
// }
|
|
2212
2212
|
|
|
2213
2213
|
// const name = account_info.account_type === 'business' ? account_info.business_name : account_info.full_name;
|
|
2214
2214
|
// const { bio, country, mainCategory, subCategory } = account_info;
|