@takentrade/takentrade-libs 3.2.4 → 3.3.0

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.
@@ -1,2 +1,3 @@
1
1
  export * from './queues.constants';
2
2
  export * from './otp.constants';
3
+ export * from './jobs.constants';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./queues.constants"), exports);
18
18
  __exportStar(require("./otp.constants"), exports);
19
+ __exportStar(require("./jobs.constants"), exports);
@@ -0,0 +1,23 @@
1
+ export declare const THRIFT_JOBS: {
2
+ PROCESS_AJO_CONTRIBUTION: string;
3
+ PROCESS_AJO_COMPLETION: string;
4
+ };
5
+ export declare const WEBHOOK_JOBS: {
6
+ PROCESS_PROVIDUS_EVENT: string;
7
+ PROCESS_PAYSTACK_EVENT: string;
8
+ };
9
+ export declare const KYC_JOBS: {
10
+ VERIFY_BVN: string;
11
+ VERIFY_NIN: string;
12
+ };
13
+ export declare const STATEMENT_JOBS: {
14
+ GENERATE_ACCOUNT_STATEMENT: string;
15
+ UPLOAD_STATEMENT: string;
16
+ };
17
+ export declare const VAS_JOBS: {
18
+ RETRY_BILL_PAYMENT: string;
19
+ };
20
+ export declare const REWARD_JOBS: {
21
+ DISTRIBUTE_BONUS: string;
22
+ PROCESS_REFERRAL: string;
23
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REWARD_JOBS = exports.VAS_JOBS = exports.STATEMENT_JOBS = exports.KYC_JOBS = exports.WEBHOOK_JOBS = exports.THRIFT_JOBS = void 0;
4
+ exports.THRIFT_JOBS = {
5
+ PROCESS_AJO_CONTRIBUTION: 'process_ajo_contribution',
6
+ PROCESS_AJO_COMPLETION: 'process_ajo_completion',
7
+ };
8
+ exports.WEBHOOK_JOBS = {
9
+ PROCESS_PROVIDUS_EVENT: 'process_providus_event',
10
+ PROCESS_PAYSTACK_EVENT: 'process_paystack_event',
11
+ };
12
+ exports.KYC_JOBS = {
13
+ VERIFY_BVN: 'verify_bvn',
14
+ VERIFY_NIN: 'verify_nin',
15
+ };
16
+ exports.STATEMENT_JOBS = {
17
+ GENERATE_ACCOUNT_STATEMENT: 'generate_account_statement',
18
+ UPLOAD_STATEMENT: 'upload_statement',
19
+ };
20
+ exports.VAS_JOBS = {
21
+ RETRY_BILL_PAYMENT: 'retry_bill_payment',
22
+ };
23
+ exports.REWARD_JOBS = {
24
+ DISTRIBUTE_BONUS: 'distribute_bonus',
25
+ PROCESS_REFERRAL: 'process_referral',
26
+ };
@@ -15,3 +15,7 @@ export declare const VAS_QUEUE = "vas_queue";
15
15
  export declare const WALLET_QUEUE = "wallet_queue";
16
16
  export declare const WEBHOOK_QUEUE = "webhook_queue";
17
17
  export declare const FINANCE_QUEUE = "finance_queue";
18
+ export declare const THRIFT_QUEUE = "thrift_queue";
19
+ export declare const KYC_QUEUE = "kyc_queue";
20
+ export declare const STATEMENT_QUEUE = "statement_queue";
21
+ export declare const REWARD_REFERRAL_QUEUE = "reward_referral_queue";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FINANCE_QUEUE = exports.WEBHOOK_QUEUE = exports.WALLET_QUEUE = exports.VAS_QUEUE = exports.USER_QUEUE = exports.TRANSACTION_QUEUE = exports.SUBACCOUNT_QUEUE = exports.SAVINGS_QUEUE = exports.PAYMENT_QUEUE = exports.NOTIFICATION_QUEUE = exports.LOAN_QUEUE = exports.COOPERATIVE_QUEUE = exports.CONTRIBUTION_QUEUE = exports.CARD_QUEUE = exports.BULK_EMAIL_QUEUE = exports.BATCH_TRANSACTION_QUEUE = exports.AJO_QUEUE = void 0;
3
+ exports.REWARD_REFERRAL_QUEUE = exports.STATEMENT_QUEUE = exports.KYC_QUEUE = exports.THRIFT_QUEUE = exports.FINANCE_QUEUE = exports.WEBHOOK_QUEUE = exports.WALLET_QUEUE = exports.VAS_QUEUE = exports.USER_QUEUE = exports.TRANSACTION_QUEUE = exports.SUBACCOUNT_QUEUE = exports.SAVINGS_QUEUE = exports.PAYMENT_QUEUE = exports.NOTIFICATION_QUEUE = exports.LOAN_QUEUE = exports.COOPERATIVE_QUEUE = exports.CONTRIBUTION_QUEUE = exports.CARD_QUEUE = exports.BULK_EMAIL_QUEUE = exports.BATCH_TRANSACTION_QUEUE = exports.AJO_QUEUE = void 0;
4
4
  exports.AJO_QUEUE = 'ajos_queue';
5
5
  exports.BATCH_TRANSACTION_QUEUE = 'batch_transaction_queue';
6
6
  exports.BULK_EMAIL_QUEUE = 'bulk_email_queue';
@@ -18,3 +18,7 @@ exports.VAS_QUEUE = 'vas_queue';
18
18
  exports.WALLET_QUEUE = 'wallet_queue';
19
19
  exports.WEBHOOK_QUEUE = 'webhook_queue';
20
20
  exports.FINANCE_QUEUE = 'finance_queue';
21
+ exports.THRIFT_QUEUE = 'thrift_queue';
22
+ exports.KYC_QUEUE = 'kyc_queue';
23
+ exports.STATEMENT_QUEUE = 'statement_queue';
24
+ exports.REWARD_REFERRAL_QUEUE = 'reward_referral_queue';