@takentrade/takentrade-libs 2.0.0 → 2.0.2

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 './otp.enum';
2
2
  export * from './subaccount.enum';
3
+ export * from './notification.enum';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./otp.enum"), exports);
18
18
  __exportStar(require("./subaccount.enum"), exports);
19
+ __exportStar(require("./notification.enum"), exports);
@@ -0,0 +1 @@
1
+ export type NotificationType = 'TRANSACTION' | 'PROMOTION' | 'SECURITY' | 'GENERAL' | 'LOAN' | 'INVESTMENT' | 'AJO' | 'SAVINGS' | 'COOPERATIVE';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,23 +1 @@
1
- export declare enum SubAccountType {
2
- LOAN_ACCOUNT = 0,
3
- LOAN_INTEREST_ACCOUNT = 1,
4
- LOAN_PENALTY_ACCOUNT = 2,
5
- LOAN_REPAYMENT_ACCOUNT = 3,
6
- AJO_ACCOUNT = 4,
7
- AJO_PENALTY_ACCOUNT = 5,
8
- AJO_COMMISSION_ACCOUNT = 6,
9
- INVESTMENT_ACCOUNT = 7,
10
- INVESTMENT_INTEREST_ACCOUNT = 8,
11
- INVESTMENT_PENALTY_ACCOUNT = 9,
12
- SAVINGS_ACCOUNT = 10,
13
- SAVINGS_INTEREST_ACCOUNT = 11,
14
- SAVINGS_TAX_ACCOUNT = 12,
15
- SAVINGS_PENALTY_ACCOUNT = 13,
16
- VAS_ACCOUNT = 14,
17
- VAS_COMMISSION_ACCOUNT = 15,
18
- SYSTEM_FEE_ACCOUNT = 16,
19
- BET_ACCOUNT = 17,
20
- BET_COMMISSION_ACCOUNT = 18,
21
- GIFTCARD_ACCOUNT = 19,
22
- GIFTCARD_COMMISSION_ACCOUNT = 20
23
- }
1
+ export type SubaccountType = 'LOAN_ACCOUNT' | 'LOAN_INTEREST_ACCOUNT' | 'LOAN_PENALTY_ACCOUNT' | 'LOAN_REPAYMENT_ACCOUNT' | 'AJO_ACCOUNT' | 'AJO_PENALTY_ACCOUNT' | 'AJO_COMMISSION_ACCOUNT' | 'INVESTMENT_ACCOUNT' | 'INVESTMENT_INTEREST_ACCOUNT' | 'INVESTMENT_PENALTY_ACCOUNT' | 'SAVINGS_ACCOUNT' | 'SAVINGS_INTEREST_ACCOUNT' | 'SAVINGS_TAX_ACCOUNT' | 'SAVINGS_PENALTY_ACCOUNT' | 'VAS_ACCOUNT' | 'VAS_COMMISSION_ACCOUNT' | 'SYSTEM_FEE_ACCOUNT' | 'BET_ACCOUNT' | 'BET_COMMISSION_ACCOUNT' | 'GIFTCARD_ACCOUNT' | 'GIFTCARD_COMMISSION_ACCOUNT';
@@ -1,27 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubAccountType = void 0;
4
- var SubAccountType;
5
- (function (SubAccountType) {
6
- SubAccountType[SubAccountType["LOAN_ACCOUNT"] = 0] = "LOAN_ACCOUNT";
7
- SubAccountType[SubAccountType["LOAN_INTEREST_ACCOUNT"] = 1] = "LOAN_INTEREST_ACCOUNT";
8
- SubAccountType[SubAccountType["LOAN_PENALTY_ACCOUNT"] = 2] = "LOAN_PENALTY_ACCOUNT";
9
- SubAccountType[SubAccountType["LOAN_REPAYMENT_ACCOUNT"] = 3] = "LOAN_REPAYMENT_ACCOUNT";
10
- SubAccountType[SubAccountType["AJO_ACCOUNT"] = 4] = "AJO_ACCOUNT";
11
- SubAccountType[SubAccountType["AJO_PENALTY_ACCOUNT"] = 5] = "AJO_PENALTY_ACCOUNT";
12
- SubAccountType[SubAccountType["AJO_COMMISSION_ACCOUNT"] = 6] = "AJO_COMMISSION_ACCOUNT";
13
- SubAccountType[SubAccountType["INVESTMENT_ACCOUNT"] = 7] = "INVESTMENT_ACCOUNT";
14
- SubAccountType[SubAccountType["INVESTMENT_INTEREST_ACCOUNT"] = 8] = "INVESTMENT_INTEREST_ACCOUNT";
15
- SubAccountType[SubAccountType["INVESTMENT_PENALTY_ACCOUNT"] = 9] = "INVESTMENT_PENALTY_ACCOUNT";
16
- SubAccountType[SubAccountType["SAVINGS_ACCOUNT"] = 10] = "SAVINGS_ACCOUNT";
17
- SubAccountType[SubAccountType["SAVINGS_INTEREST_ACCOUNT"] = 11] = "SAVINGS_INTEREST_ACCOUNT";
18
- SubAccountType[SubAccountType["SAVINGS_TAX_ACCOUNT"] = 12] = "SAVINGS_TAX_ACCOUNT";
19
- SubAccountType[SubAccountType["SAVINGS_PENALTY_ACCOUNT"] = 13] = "SAVINGS_PENALTY_ACCOUNT";
20
- SubAccountType[SubAccountType["VAS_ACCOUNT"] = 14] = "VAS_ACCOUNT";
21
- SubAccountType[SubAccountType["VAS_COMMISSION_ACCOUNT"] = 15] = "VAS_COMMISSION_ACCOUNT";
22
- SubAccountType[SubAccountType["SYSTEM_FEE_ACCOUNT"] = 16] = "SYSTEM_FEE_ACCOUNT";
23
- SubAccountType[SubAccountType["BET_ACCOUNT"] = 17] = "BET_ACCOUNT";
24
- SubAccountType[SubAccountType["BET_COMMISSION_ACCOUNT"] = 18] = "BET_COMMISSION_ACCOUNT";
25
- SubAccountType[SubAccountType["GIFTCARD_ACCOUNT"] = 19] = "GIFTCARD_ACCOUNT";
26
- SubAccountType[SubAccountType["GIFTCARD_COMMISSION_ACCOUNT"] = 20] = "GIFTCARD_COMMISSION_ACCOUNT";
27
- })(SubAccountType || (exports.SubAccountType = SubAccountType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takentrade/takentrade-libs",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "TakeNTrade shared libraries",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -43,7 +43,7 @@
43
43
  "cloudinary": "^2.8.0",
44
44
  "country-codes-list": "^2.0.0",
45
45
  "ioredis": "^5.8.2",
46
- "joi": "^18.0.1",
46
+ "joi": "^18.0.2",
47
47
  "jsonwebtoken": "^9.0.2",
48
48
  "object-hash": "^3.0.0",
49
49
  "rxjs": "^7.8.2",