@takentrade/takentrade-libs 1.2.78 → 1.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.
- package/README.md +677 -78
- package/dist/nats/constants/nats.constants.d.ts +0 -57
- package/dist/nats/constants/nats.constants.js +0 -69
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/enums/subaccount.enum.d.ts +11 -7
- package/dist/utils/enums/subaccount.enum.js +11 -7
- package/package.json +8 -8
|
@@ -9,11 +9,15 @@ export declare enum SubAccountType {
|
|
|
9
9
|
INVESTMENT_ACCOUNT = 7,
|
|
10
10
|
INVESTMENT_INTEREST_ACCOUNT = 8,
|
|
11
11
|
INVESTMENT_PENALTY_ACCOUNT = 9,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
19
23
|
}
|
|
@@ -13,11 +13,15 @@ var SubAccountType;
|
|
|
13
13
|
SubAccountType[SubAccountType["INVESTMENT_ACCOUNT"] = 7] = "INVESTMENT_ACCOUNT";
|
|
14
14
|
SubAccountType[SubAccountType["INVESTMENT_INTEREST_ACCOUNT"] = 8] = "INVESTMENT_INTEREST_ACCOUNT";
|
|
15
15
|
SubAccountType[SubAccountType["INVESTMENT_PENALTY_ACCOUNT"] = 9] = "INVESTMENT_PENALTY_ACCOUNT";
|
|
16
|
-
SubAccountType[SubAccountType["
|
|
17
|
-
SubAccountType[SubAccountType["
|
|
18
|
-
SubAccountType[SubAccountType["
|
|
19
|
-
SubAccountType[SubAccountType["
|
|
20
|
-
SubAccountType[SubAccountType["
|
|
21
|
-
SubAccountType[SubAccountType["
|
|
22
|
-
SubAccountType[SubAccountType["
|
|
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";
|
|
23
27
|
})(SubAccountType || (exports.SubAccountType = SubAccountType = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takentrade/takentrade-libs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "TakeNTrade shared libraries",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@nestjs/axios": "^4.0.1",
|
|
33
33
|
"@nestjs/bullmq": "^11.0.4",
|
|
34
|
-
"@nestjs/common": "^11.1.
|
|
34
|
+
"@nestjs/common": "^11.1.9",
|
|
35
35
|
"@nestjs/config": "^4.0.2",
|
|
36
36
|
"@nestjs/jwt": "^11.0.1",
|
|
37
|
-
"@nestjs/microservices": "^11.1.
|
|
37
|
+
"@nestjs/microservices": "^11.1.9",
|
|
38
38
|
"@nestjs/passport": "^11.0.5",
|
|
39
|
-
"@nestjs/swagger": "^11.2.
|
|
39
|
+
"@nestjs/swagger": "^11.2.3",
|
|
40
40
|
"@nestjs/terminus": "^11.0.0",
|
|
41
41
|
"@prisma/client": "^6.19.0",
|
|
42
42
|
"class-transformer": "^0.5.1",
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"jsonwebtoken": "^9.0.2",
|
|
49
49
|
"object-hash": "^3.0.0",
|
|
50
50
|
"rxjs": "^7.8.2",
|
|
51
|
-
"tsup": "^8.5.
|
|
51
|
+
"tsup": "^8.5.1",
|
|
52
52
|
"uuid": "^13.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@nestjs/core": "^11.1.
|
|
56
|
-
"@nestjs/testing": "^11.1.
|
|
55
|
+
"@nestjs/core": "^11.1.9",
|
|
56
|
+
"@nestjs/testing": "^11.1.9",
|
|
57
57
|
"@types/jest": "^30.0.0",
|
|
58
58
|
"@types/multer": "^2.0.0",
|
|
59
|
-
"@types/node": "^24.10.
|
|
59
|
+
"@types/node": "^24.10.1",
|
|
60
60
|
"@types/object-hash": "^3.0.6",
|
|
61
61
|
"@types/passport": "^1.0.17",
|
|
62
62
|
"jest": "^30.2.0",
|