@xuda.io/account_module 1.2.2259 → 1.2.2260
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/download_model.js +56 -0
- package/download_model.mjs +56 -0
- package/get_active_account_profile_info.mjs +21 -0
- package/get_user_info.mjs +126 -0
- package/index copy.js +1467 -0
- package/index.js +1467 -0
- package/index_ms.mjs +24 -19
- package/index_msa.mjs +20 -7
- package/package.json +1 -1
package/index_ms.mjs
CHANGED
|
@@ -33,9 +33,6 @@ export const increment_account_usage = async function (...args) {
|
|
|
33
33
|
return await broker.send_to_queue("increment_account_usage", ...args);
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
// mark_app_terminated removed — replaced by app_module.pre_destroy_app
|
|
37
|
-
// invoked via http_module's pre_dispatch hook on destroy_app.
|
|
38
|
-
|
|
39
36
|
export const recompute_abuse_signals = async function (...args) {
|
|
40
37
|
return await broker.send_to_queue("recompute_abuse_signals", ...args);
|
|
41
38
|
};
|
|
@@ -76,6 +73,18 @@ export const get_account_instances = async function (...args) {
|
|
|
76
73
|
return await broker.send_to_queue("get_account_instances", ...args);
|
|
77
74
|
};
|
|
78
75
|
|
|
76
|
+
export const get_account_vps = async function (...args) {
|
|
77
|
+
return await broker.send_to_queue("get_account_vps", ...args);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const get_account_advertising = async function (...args) {
|
|
81
|
+
return await broker.send_to_queue("get_account_advertising", ...args);
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export const get_account_static_websites = async function (...args) {
|
|
85
|
+
return await broker.send_to_queue("get_account_static_websites", ...args);
|
|
86
|
+
};
|
|
87
|
+
|
|
79
88
|
export const get_account_info = async function (...args) {
|
|
80
89
|
return await broker.send_to_queue("get_account_info", ...args);
|
|
81
90
|
};
|
|
@@ -96,10 +105,6 @@ export const get_account_name = async function (...args) {
|
|
|
96
105
|
return await broker.send_to_queue("get_account_name", ...args);
|
|
97
106
|
};
|
|
98
107
|
|
|
99
|
-
export const get_uid_by_username = async function (...args) {
|
|
100
|
-
return await broker.send_to_queue("get_uid_by_username", ...args);
|
|
101
|
-
};
|
|
102
|
-
|
|
103
108
|
export const account_validate_username = async function (...args) {
|
|
104
109
|
return await broker.send_to_queue("account_validate_username", ...args);
|
|
105
110
|
};
|
|
@@ -200,6 +205,14 @@ export const onboarding_completed = async function (...args) {
|
|
|
200
205
|
return await broker.send_to_queue("onboarding_completed", ...args);
|
|
201
206
|
};
|
|
202
207
|
|
|
208
|
+
export const maybe_send_welcome_email = async function (...args) {
|
|
209
|
+
return await broker.send_to_queue("maybe_send_welcome_email", ...args);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export const get_uid_by_username = async function (...args) {
|
|
213
|
+
return await broker.send_to_queue("get_uid_by_username", ...args);
|
|
214
|
+
};
|
|
215
|
+
|
|
203
216
|
export const ts_contact = async function (...args) {
|
|
204
217
|
return await broker.send_to_queue("ts_contact", ...args);
|
|
205
218
|
};
|
|
@@ -332,6 +345,10 @@ export const get_account_ai_usage_old = async function (...args) {
|
|
|
332
345
|
return await broker.send_to_queue("get_account_ai_usage_old", ...args);
|
|
333
346
|
};
|
|
334
347
|
|
|
348
|
+
export const broadcast_credits = async function (...args) {
|
|
349
|
+
return await broker.send_to_queue("broadcast_credits", ...args);
|
|
350
|
+
};
|
|
351
|
+
|
|
335
352
|
export const record_ai_usage = async function (...args) {
|
|
336
353
|
return await broker.send_to_queue("record_ai_usage", ...args);
|
|
337
354
|
};
|
|
@@ -355,15 +372,3 @@ export const read_accounts_emails = async function (...args) {
|
|
|
355
372
|
export const process_accounts_emails = async function (...args) {
|
|
356
373
|
return await broker.send_to_queue("process_accounts_emails", ...args);
|
|
357
374
|
};
|
|
358
|
-
|
|
359
|
-
export const get_account_vps = async function (...args) {
|
|
360
|
-
return await broker.send_to_queue("get_account_vps", ...args);
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
export const get_account_advertising = async function (...args) {
|
|
364
|
-
return await broker.send_to_queue("get_account_advertising", ...args);
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
export const get_account_static_websites = async function (...args) {
|
|
368
|
-
return await broker.send_to_queue("get_account_static_websites", ...args);
|
|
369
|
-
};
|
package/index_msa.mjs
CHANGED
|
@@ -33,9 +33,6 @@ export const increment_account_usage = function (...args) {
|
|
|
33
33
|
broker.send_to_queue_async("increment_account_usage", ...args);
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
// mark_app_terminated removed — replaced by app_module.pre_destroy_app
|
|
37
|
-
// invoked via http_module's pre_dispatch hook on destroy_app.
|
|
38
|
-
|
|
39
36
|
export const recompute_abuse_signals = function (...args) {
|
|
40
37
|
broker.send_to_queue_async("recompute_abuse_signals", ...args);
|
|
41
38
|
};
|
|
@@ -72,6 +69,14 @@ export const get_account_deployments = function (...args) {
|
|
|
72
69
|
broker.send_to_queue_async("get_account_deployments", ...args);
|
|
73
70
|
};
|
|
74
71
|
|
|
72
|
+
export const get_account_instances = function (...args) {
|
|
73
|
+
broker.send_to_queue_async("get_account_instances", ...args);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export const get_account_vps = function (...args) {
|
|
77
|
+
broker.send_to_queue_async("get_account_vps", ...args);
|
|
78
|
+
};
|
|
79
|
+
|
|
75
80
|
export const get_account_advertising = function (...args) {
|
|
76
81
|
broker.send_to_queue_async("get_account_advertising", ...args);
|
|
77
82
|
};
|
|
@@ -80,10 +85,6 @@ export const get_account_static_websites = function (...args) {
|
|
|
80
85
|
broker.send_to_queue_async("get_account_static_websites", ...args);
|
|
81
86
|
};
|
|
82
87
|
|
|
83
|
-
export const get_account_instances = function (...args) {
|
|
84
|
-
broker.send_to_queue_async("get_account_instances", ...args);
|
|
85
|
-
};
|
|
86
|
-
|
|
87
88
|
export const get_account_info = function (...args) {
|
|
88
89
|
broker.send_to_queue_async("get_account_info", ...args);
|
|
89
90
|
};
|
|
@@ -204,6 +205,14 @@ export const onboarding_completed = function (...args) {
|
|
|
204
205
|
broker.send_to_queue_async("onboarding_completed", ...args);
|
|
205
206
|
};
|
|
206
207
|
|
|
208
|
+
export const maybe_send_welcome_email = function (...args) {
|
|
209
|
+
broker.send_to_queue_async("maybe_send_welcome_email", ...args);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export const get_uid_by_username = function (...args) {
|
|
213
|
+
broker.send_to_queue_async("get_uid_by_username", ...args);
|
|
214
|
+
};
|
|
215
|
+
|
|
207
216
|
export const ts_contact = function (...args) {
|
|
208
217
|
broker.send_to_queue_async("ts_contact", ...args);
|
|
209
218
|
};
|
|
@@ -336,6 +345,10 @@ export const get_account_ai_usage_old = function (...args) {
|
|
|
336
345
|
broker.send_to_queue_async("get_account_ai_usage_old", ...args);
|
|
337
346
|
};
|
|
338
347
|
|
|
348
|
+
export const broadcast_credits = function (...args) {
|
|
349
|
+
broker.send_to_queue_async("broadcast_credits", ...args);
|
|
350
|
+
};
|
|
351
|
+
|
|
339
352
|
export const record_ai_usage = function (...args) {
|
|
340
353
|
broker.send_to_queue_async("record_ai_usage", ...args);
|
|
341
354
|
};
|