@xuda.io/account_module 1.2.2078 → 1.2.2080
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 +9 -7
- package/index_ms.mjs +81 -84
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -55,7 +55,9 @@ const logs_ms = await import(`${module_path}/logs_module/index_ms.mjs`);
|
|
|
55
55
|
|
|
56
56
|
const ws_dashboard_msa = await import(`${module_path}/ws_dashboard_module/index_msa.mjs`);
|
|
57
57
|
const drive_msa = await import(`${module_path}/drive_module/index_msa.mjs`);
|
|
58
|
-
|
|
58
|
+
const email_msa = await import(`${module_path}/email_module/index_msa.mjs`);
|
|
59
|
+
const logs_msa = await import(`${module_path}/logs_module/index_msa.mjs`);
|
|
60
|
+
const ai_msa = await import(`${module_path}/ai_module/index_msa.mjs`);
|
|
59
61
|
// const {get_active_account_profile_info} = await import(`${module_path}/ws_dashboard_module/get_active_account_profile_info.mjs`);
|
|
60
62
|
|
|
61
63
|
export const update_account_info = async function (req, job_id, headers) {
|
|
@@ -111,7 +113,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
111
113
|
|
|
112
114
|
const profile_avatar_obj = account_obj?.account_info?.profile_avatar_obj || '';
|
|
113
115
|
if (profile_avatar_obj) {
|
|
114
|
-
|
|
116
|
+
drive_msa.delete_drive_files({ uid, drive_type: 'user', files_arr: [{ type: 'file', file_path: path.join(profile_avatar_obj.file_path, profile_avatar_obj.filename) }] });
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
|
|
@@ -793,7 +795,7 @@ export const add_account_log_util = async function (body, status, service, sourc
|
|
|
793
795
|
if (service.substr(0, 4) === 'get_' && !body.api_pk && !body.api_sk) return;
|
|
794
796
|
}
|
|
795
797
|
|
|
796
|
-
|
|
798
|
+
logs_msa.add_account_log(get_account_log_object(body, status, service, source, response_data, ip, headers, security));
|
|
797
799
|
};
|
|
798
800
|
|
|
799
801
|
export const save_ssh_key = async function (req) {
|
|
@@ -2490,7 +2492,7 @@ export const delete_contact = async function (req, job_id, headers) {
|
|
|
2490
2492
|
|
|
2491
2493
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2492
2494
|
|
|
2493
|
-
|
|
2495
|
+
ai_msa.delete_depended_chats(uid, contact_id);
|
|
2494
2496
|
return contact_save_ret;
|
|
2495
2497
|
} catch (err) {
|
|
2496
2498
|
return {
|
|
@@ -3136,7 +3138,7 @@ export const delete_account_profile = async function (req, job_id, headers) {
|
|
|
3136
3138
|
|
|
3137
3139
|
const account_profile_save_ret = await db_module.save_app_couch_doc(app_id, account_profile_doc);
|
|
3138
3140
|
|
|
3139
|
-
|
|
3141
|
+
ai_msa.delete_depended_chats(uid, profile_id);
|
|
3140
3142
|
return account_profile_save_ret;
|
|
3141
3143
|
} catch (err) {
|
|
3142
3144
|
return {
|
|
@@ -3477,7 +3479,7 @@ export const read_accounts_emails = async function () {
|
|
|
3477
3479
|
const active_accounts = await db_module.find_couch_query('xuda_accounts', { selector: { stat: 3, docType: 'account' }, limit: 99999 });
|
|
3478
3480
|
for await (let account_doc of active_accounts.docs) {
|
|
3479
3481
|
if (!account_doc?.account_info?.active_account_profile_id) continue;
|
|
3480
|
-
|
|
3482
|
+
email_msa.refresh_mailboxes({ uid: account_doc._id });
|
|
3481
3483
|
}
|
|
3482
3484
|
};
|
|
3483
3485
|
|
|
@@ -3485,7 +3487,7 @@ export const process_accounts_emails = async function () {
|
|
|
3485
3487
|
const active_accounts = await db_module.find_couch_query('xuda_accounts', { selector: { stat: 3, docType: 'account' }, limit: 99999 });
|
|
3486
3488
|
for await (let account_doc of active_accounts.docs) {
|
|
3487
3489
|
if (!account_doc?.account_info?.active_account_profile_id) continue;
|
|
3488
|
-
|
|
3490
|
+
email_msa.process_emails({ uid: account_doc._id });
|
|
3489
3491
|
}
|
|
3490
3492
|
};
|
|
3491
3493
|
|
package/index_ms.mjs
CHANGED
|
@@ -3,312 +3,309 @@
|
|
|
3
3
|
// Queue target : account_module
|
|
4
4
|
// =====================================================
|
|
5
5
|
|
|
6
|
+
import path from 'node:path';
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
const { MessageBroker } = await import(path.join(process.env.XUDA_HOME, 'common', 'ms_broker.mjs'));
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
const broker = new MessageBroker();
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
module_in: global.module_in
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
await broker.init({
|
|
13
|
+
queueName: 'account_module',
|
|
14
|
+
module_in: global.module_in,
|
|
15
|
+
});
|
|
19
16
|
|
|
20
17
|
export const update_account_info = async function (...args) {
|
|
21
|
-
return await broker.send_to_queue(
|
|
18
|
+
return await broker.send_to_queue('update_account_info', ...args);
|
|
22
19
|
};
|
|
23
20
|
|
|
24
21
|
export const update_account_preferences = async function (...args) {
|
|
25
|
-
return await broker.send_to_queue(
|
|
22
|
+
return await broker.send_to_queue('update_account_preferences', ...args);
|
|
26
23
|
};
|
|
27
24
|
|
|
28
25
|
export const save_admin_presets = async function (...args) {
|
|
29
|
-
return await broker.send_to_queue(
|
|
26
|
+
return await broker.send_to_queue('save_admin_presets', ...args);
|
|
30
27
|
};
|
|
31
28
|
|
|
32
29
|
export const increment_account_usage = async function (...args) {
|
|
33
|
-
return await broker.send_to_queue(
|
|
30
|
+
return await broker.send_to_queue('increment_account_usage', ...args);
|
|
34
31
|
};
|
|
35
32
|
|
|
36
33
|
export const get_account_data = async function (...args) {
|
|
37
|
-
return await broker.send_to_queue(
|
|
34
|
+
return await broker.send_to_queue('get_account_data', ...args);
|
|
38
35
|
};
|
|
39
36
|
|
|
40
37
|
export const get_account_projects = async function (...args) {
|
|
41
|
-
return await broker.send_to_queue(
|
|
38
|
+
return await broker.send_to_queue('get_account_projects', ...args);
|
|
42
39
|
};
|
|
43
40
|
|
|
44
41
|
export const get_account_datacenters = async function (...args) {
|
|
45
|
-
return await broker.send_to_queue(
|
|
42
|
+
return await broker.send_to_queue('get_account_datacenters', ...args);
|
|
46
43
|
};
|
|
47
44
|
|
|
48
45
|
export const get_account_deployments = async function (...args) {
|
|
49
|
-
return await broker.send_to_queue(
|
|
46
|
+
return await broker.send_to_queue('get_account_deployments', ...args);
|
|
50
47
|
};
|
|
51
48
|
|
|
52
49
|
export const get_account_instances = async function (...args) {
|
|
53
|
-
return await broker.send_to_queue(
|
|
50
|
+
return await broker.send_to_queue('get_account_instances', ...args);
|
|
54
51
|
};
|
|
55
52
|
|
|
56
53
|
export const get_account_info = async function (...args) {
|
|
57
|
-
return await broker.send_to_queue(
|
|
54
|
+
return await broker.send_to_queue('get_account_info', ...args);
|
|
58
55
|
};
|
|
59
56
|
|
|
60
57
|
export const get_active_account_profile_info = async function (...args) {
|
|
61
|
-
return await broker.send_to_queue(
|
|
58
|
+
return await broker.send_to_queue('get_active_account_profile_info', ...args);
|
|
62
59
|
};
|
|
63
60
|
|
|
64
61
|
export const get_account_name = async function (...args) {
|
|
65
|
-
return await broker.send_to_queue(
|
|
62
|
+
return await broker.send_to_queue('get_account_name', ...args);
|
|
66
63
|
};
|
|
67
64
|
|
|
68
65
|
export const account_validate_username = async function (...args) {
|
|
69
|
-
return await broker.send_to_queue(
|
|
66
|
+
return await broker.send_to_queue('account_validate_username', ...args);
|
|
70
67
|
};
|
|
71
68
|
|
|
72
69
|
export const verify_account = async function (...args) {
|
|
73
|
-
return await broker.send_to_queue(
|
|
70
|
+
return await broker.send_to_queue('verify_account', ...args);
|
|
74
71
|
};
|
|
75
72
|
|
|
76
73
|
export const validate_user_plan = async function (...args) {
|
|
77
|
-
return await broker.send_to_queue(
|
|
74
|
+
return await broker.send_to_queue('validate_user_plan', ...args);
|
|
78
75
|
};
|
|
79
76
|
|
|
80
77
|
export const get_hosting_plan = async function (...args) {
|
|
81
|
-
return await broker.send_to_queue(
|
|
78
|
+
return await broker.send_to_queue('get_hosting_plan', ...args);
|
|
82
79
|
};
|
|
83
80
|
|
|
84
81
|
export const get_cpu = async function (...args) {
|
|
85
|
-
return await broker.send_to_queue(
|
|
82
|
+
return await broker.send_to_queue('get_cpu', ...args);
|
|
86
83
|
};
|
|
87
84
|
|
|
88
85
|
export const add_account_log_util = async function (...args) {
|
|
89
|
-
return await broker.send_to_queue(
|
|
86
|
+
return await broker.send_to_queue('add_account_log_util', ...args);
|
|
90
87
|
};
|
|
91
88
|
|
|
92
89
|
export const save_ssh_key = async function (...args) {
|
|
93
|
-
return await broker.send_to_queue(
|
|
90
|
+
return await broker.send_to_queue('save_ssh_key', ...args);
|
|
94
91
|
};
|
|
95
92
|
|
|
96
93
|
export const delete_ssh_key = async function (...args) {
|
|
97
|
-
return await broker.send_to_queue(
|
|
94
|
+
return await broker.send_to_queue('delete_ssh_key', ...args);
|
|
98
95
|
};
|
|
99
96
|
|
|
100
97
|
export const get_ssh_keys = async function (...args) {
|
|
101
|
-
return await broker.send_to_queue(
|
|
98
|
+
return await broker.send_to_queue('get_ssh_keys', ...args);
|
|
102
99
|
};
|
|
103
100
|
|
|
104
101
|
export const search_users = async function (...args) {
|
|
105
|
-
return await broker.send_to_queue(
|
|
102
|
+
return await broker.send_to_queue('search_users', ...args);
|
|
106
103
|
};
|
|
107
104
|
|
|
108
105
|
export const find_contact_duplicates = async function (...args) {
|
|
109
|
-
return await broker.send_to_queue(
|
|
106
|
+
return await broker.send_to_queue('find_contact_duplicates', ...args);
|
|
110
107
|
};
|
|
111
108
|
|
|
112
109
|
export const merge_contact = async function (...args) {
|
|
113
|
-
return await broker.send_to_queue(
|
|
110
|
+
return await broker.send_to_queue('merge_contact', ...args);
|
|
114
111
|
};
|
|
115
112
|
|
|
116
113
|
export const get_contact_info = async function (...args) {
|
|
117
|
-
return await broker.send_to_queue(
|
|
114
|
+
return await broker.send_to_queue('get_contact_info', ...args);
|
|
118
115
|
};
|
|
119
116
|
|
|
120
117
|
export const get_pending_contact_out = async function (...args) {
|
|
121
|
-
return await broker.send_to_queue(
|
|
118
|
+
return await broker.send_to_queue('get_pending_contact_out', ...args);
|
|
122
119
|
};
|
|
123
120
|
|
|
124
121
|
export const get_pending_contact_in = async function (...args) {
|
|
125
|
-
return await broker.send_to_queue(
|
|
122
|
+
return await broker.send_to_queue('get_pending_contact_in', ...args);
|
|
126
123
|
};
|
|
127
124
|
|
|
128
125
|
export const get_pending_share_contact_in = async function (...args) {
|
|
129
|
-
return await broker.send_to_queue(
|
|
126
|
+
return await broker.send_to_queue('get_pending_share_contact_in', ...args);
|
|
130
127
|
};
|
|
131
128
|
|
|
132
129
|
export const update_contact = async function (...args) {
|
|
133
|
-
return await broker.send_to_queue(
|
|
130
|
+
return await broker.send_to_queue('update_contact', ...args);
|
|
134
131
|
};
|
|
135
132
|
|
|
136
133
|
export const get_account_rt_info = async function (...args) {
|
|
137
|
-
return await broker.send_to_queue(
|
|
134
|
+
return await broker.send_to_queue('get_account_rt_info', ...args);
|
|
138
135
|
};
|
|
139
136
|
|
|
140
137
|
export const validate_account_topup = async function (...args) {
|
|
141
|
-
return await broker.send_to_queue(
|
|
138
|
+
return await broker.send_to_queue('validate_account_topup', ...args);
|
|
142
139
|
};
|
|
143
140
|
|
|
144
141
|
export const create_account_oauth_link = async function (...args) {
|
|
145
|
-
return await broker.send_to_queue(
|
|
142
|
+
return await broker.send_to_queue('create_account_oauth_link', ...args);
|
|
146
143
|
};
|
|
147
144
|
|
|
148
145
|
export const get_default_project_account_doc = async function (...args) {
|
|
149
|
-
return await broker.send_to_queue(
|
|
146
|
+
return await broker.send_to_queue('get_default_project_account_doc', ...args);
|
|
150
147
|
};
|
|
151
148
|
|
|
152
149
|
export const get_account_default_project_id = async function (...args) {
|
|
153
|
-
return await broker.send_to_queue(
|
|
150
|
+
return await broker.send_to_queue('get_account_default_project_id', ...args);
|
|
154
151
|
};
|
|
155
152
|
|
|
156
153
|
export const get_user_name = async function (...args) {
|
|
157
|
-
return await broker.send_to_queue(
|
|
154
|
+
return await broker.send_to_queue('get_user_name', ...args);
|
|
158
155
|
};
|
|
159
156
|
|
|
160
157
|
export const get_user_card = async function (...args) {
|
|
161
|
-
return await broker.send_to_queue(
|
|
158
|
+
return await broker.send_to_queue('get_user_card', ...args);
|
|
162
159
|
};
|
|
163
160
|
|
|
164
161
|
export const onboarding_completed = async function (...args) {
|
|
165
|
-
return await broker.send_to_queue(
|
|
162
|
+
return await broker.send_to_queue('onboarding_completed', ...args);
|
|
166
163
|
};
|
|
167
164
|
|
|
168
165
|
export const ts_contact = async function (...args) {
|
|
169
|
-
return await broker.send_to_queue(
|
|
166
|
+
return await broker.send_to_queue('ts_contact', ...args);
|
|
170
167
|
};
|
|
171
168
|
|
|
172
169
|
export const get_account_ai_usage = async function (...args) {
|
|
173
|
-
return await broker.send_to_queue(
|
|
170
|
+
return await broker.send_to_queue('get_account_ai_usage', ...args);
|
|
174
171
|
};
|
|
175
172
|
|
|
176
173
|
export const add_contact = async function (...args) {
|
|
177
|
-
return await broker.send_to_queue(
|
|
174
|
+
return await broker.send_to_queue('add_contact', ...args);
|
|
178
175
|
};
|
|
179
176
|
|
|
180
177
|
export const get_contacts = async function (...args) {
|
|
181
|
-
return await broker.send_to_queue(
|
|
178
|
+
return await broker.send_to_queue('get_contacts', ...args);
|
|
182
179
|
};
|
|
183
180
|
|
|
184
181
|
export const archive_contact = async function (...args) {
|
|
185
|
-
return await broker.send_to_queue(
|
|
182
|
+
return await broker.send_to_queue('archive_contact', ...args);
|
|
186
183
|
};
|
|
187
184
|
|
|
188
185
|
export const delete_contact = async function (...args) {
|
|
189
|
-
return await broker.send_to_queue(
|
|
186
|
+
return await broker.send_to_queue('delete_contact', ...args);
|
|
190
187
|
};
|
|
191
188
|
|
|
192
189
|
export const unarchive_contact = async function (...args) {
|
|
193
|
-
return await broker.send_to_queue(
|
|
190
|
+
return await broker.send_to_queue('unarchive_contact', ...args);
|
|
194
191
|
};
|
|
195
192
|
|
|
196
193
|
export const unfriend_contact = async function (...args) {
|
|
197
|
-
return await broker.send_to_queue(
|
|
194
|
+
return await broker.send_to_queue('unfriend_contact', ...args);
|
|
198
195
|
};
|
|
199
196
|
|
|
200
197
|
export const pin_contact = async function (...args) {
|
|
201
|
-
return await broker.send_to_queue(
|
|
198
|
+
return await broker.send_to_queue('pin_contact', ...args);
|
|
202
199
|
};
|
|
203
200
|
|
|
204
201
|
export const set_contact_deep_research = async function (...args) {
|
|
205
|
-
return await broker.send_to_queue(
|
|
202
|
+
return await broker.send_to_queue('set_contact_deep_research', ...args);
|
|
206
203
|
};
|
|
207
204
|
|
|
208
205
|
export const unpin_contact = async function (...args) {
|
|
209
|
-
return await broker.send_to_queue(
|
|
206
|
+
return await broker.send_to_queue('unpin_contact', ...args);
|
|
210
207
|
};
|
|
211
208
|
|
|
212
209
|
export const not_spam_contact = async function (...args) {
|
|
213
|
-
return await broker.send_to_queue(
|
|
210
|
+
return await broker.send_to_queue('not_spam_contact', ...args);
|
|
214
211
|
};
|
|
215
212
|
|
|
216
213
|
export const generate_contact_avatar = async function (...args) {
|
|
217
|
-
return await broker.send_to_queue(
|
|
214
|
+
return await broker.send_to_queue('generate_contact_avatar', ...args);
|
|
218
215
|
};
|
|
219
216
|
|
|
220
217
|
export const set_deep_research_contact = async function (...args) {
|
|
221
|
-
return await broker.send_to_queue(
|
|
218
|
+
return await broker.send_to_queue('set_deep_research_contact', ...args);
|
|
222
219
|
};
|
|
223
220
|
|
|
224
221
|
export const unset_deep_research_contact = async function (...args) {
|
|
225
|
-
return await broker.send_to_queue(
|
|
222
|
+
return await broker.send_to_queue('unset_deep_research_contact', ...args);
|
|
226
223
|
};
|
|
227
224
|
|
|
228
225
|
export const get_pending_share_profile_in = async function (...args) {
|
|
229
|
-
return await broker.send_to_queue(
|
|
226
|
+
return await broker.send_to_queue('get_pending_share_profile_in', ...args);
|
|
230
227
|
};
|
|
231
228
|
|
|
232
229
|
export const get_account_profile_info = async function (...args) {
|
|
233
|
-
return await broker.send_to_queue(
|
|
230
|
+
return await broker.send_to_queue('get_account_profile_info', ...args);
|
|
234
231
|
};
|
|
235
232
|
|
|
236
233
|
export const get_account_profiles = async function (...args) {
|
|
237
|
-
return await broker.send_to_queue(
|
|
234
|
+
return await broker.send_to_queue('get_account_profiles', ...args);
|
|
238
235
|
};
|
|
239
236
|
|
|
240
237
|
export const archive_account_profile = async function (...args) {
|
|
241
|
-
return await broker.send_to_queue(
|
|
238
|
+
return await broker.send_to_queue('archive_account_profile', ...args);
|
|
242
239
|
};
|
|
243
240
|
|
|
244
241
|
export const delete_account_profile = async function (...args) {
|
|
245
|
-
return await broker.send_to_queue(
|
|
242
|
+
return await broker.send_to_queue('delete_account_profile', ...args);
|
|
246
243
|
};
|
|
247
244
|
|
|
248
245
|
export const unarchive_account_profile = async function (...args) {
|
|
249
|
-
return await broker.send_to_queue(
|
|
246
|
+
return await broker.send_to_queue('unarchive_account_profile', ...args);
|
|
250
247
|
};
|
|
251
248
|
|
|
252
249
|
export const create_account_profile = async function (...args) {
|
|
253
|
-
return await broker.send_to_queue(
|
|
250
|
+
return await broker.send_to_queue('create_account_profile', ...args);
|
|
254
251
|
};
|
|
255
252
|
|
|
256
253
|
export const update_account_profile = async function (...args) {
|
|
257
|
-
return await broker.send_to_queue(
|
|
254
|
+
return await broker.send_to_queue('update_account_profile', ...args);
|
|
258
255
|
};
|
|
259
256
|
|
|
260
257
|
export const update_entity_account_profiles = async function (...args) {
|
|
261
|
-
return await broker.send_to_queue(
|
|
258
|
+
return await broker.send_to_queue('update_entity_account_profiles', ...args);
|
|
262
259
|
};
|
|
263
260
|
|
|
264
261
|
export const get_contact = async function (...args) {
|
|
265
|
-
return await broker.send_to_queue(
|
|
262
|
+
return await broker.send_to_queue('get_contact', ...args);
|
|
266
263
|
};
|
|
267
264
|
|
|
268
265
|
export const save_contact = async function (...args) {
|
|
269
|
-
return await broker.send_to_queue(
|
|
266
|
+
return await broker.send_to_queue('save_contact', ...args);
|
|
270
267
|
};
|
|
271
268
|
|
|
272
269
|
export const find_contact_query = async function (...args) {
|
|
273
|
-
return await broker.send_to_queue(
|
|
270
|
+
return await broker.send_to_queue('find_contact_query', ...args);
|
|
274
271
|
};
|
|
275
272
|
|
|
276
273
|
export const delete_xuda_cache = async function (...args) {
|
|
277
|
-
return await broker.send_to_queue(
|
|
274
|
+
return await broker.send_to_queue('delete_xuda_cache', ...args);
|
|
278
275
|
};
|
|
279
276
|
|
|
280
277
|
export const save_xuda_cache = async function (...args) {
|
|
281
|
-
return await broker.send_to_queue(
|
|
278
|
+
return await broker.send_to_queue('save_xuda_cache', ...args);
|
|
282
279
|
};
|
|
283
280
|
|
|
284
281
|
export const get_xuda_cache = async function (...args) {
|
|
285
|
-
return await broker.send_to_queue(
|
|
282
|
+
return await broker.send_to_queue('get_xuda_cache', ...args);
|
|
286
283
|
};
|
|
287
284
|
|
|
288
285
|
export const save_cache_hit = async function (...args) {
|
|
289
|
-
return await broker.send_to_queue(
|
|
286
|
+
return await broker.send_to_queue('save_cache_hit', ...args);
|
|
290
287
|
};
|
|
291
288
|
|
|
292
289
|
export const record_ai_usage = async function (...args) {
|
|
293
|
-
return await broker.send_to_queue(
|
|
290
|
+
return await broker.send_to_queue('record_ai_usage', ...args);
|
|
294
291
|
};
|
|
295
292
|
|
|
296
293
|
export const record_ai_credit = async function (...args) {
|
|
297
|
-
return await broker.send_to_queue(
|
|
294
|
+
return await broker.send_to_queue('record_ai_credit', ...args);
|
|
298
295
|
};
|
|
299
296
|
|
|
300
297
|
export const add_ai_credits_to_active_accounts = async function (...args) {
|
|
301
|
-
return await broker.send_to_queue(
|
|
298
|
+
return await broker.send_to_queue('add_ai_credits_to_active_accounts', ...args);
|
|
302
299
|
};
|
|
303
300
|
|
|
304
301
|
export const archive_expire_ai_credits = async function (...args) {
|
|
305
|
-
return await broker.send_to_queue(
|
|
302
|
+
return await broker.send_to_queue('archive_expire_ai_credits', ...args);
|
|
306
303
|
};
|
|
307
304
|
|
|
308
305
|
export const read_accounts_emails = async function (...args) {
|
|
309
|
-
return await broker.send_to_queue(
|
|
306
|
+
return await broker.send_to_queue('read_accounts_emails', ...args);
|
|
310
307
|
};
|
|
311
308
|
|
|
312
309
|
export const process_accounts_emails = async function (...args) {
|
|
313
|
-
return await broker.send_to_queue(
|
|
310
|
+
return await broker.send_to_queue('process_accounts_emails', ...args);
|
|
314
311
|
};
|