mfance-shark-v1 1.0.76 → 1.0.78
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/dist/common/entities/partner_fees.entity.d.ts +0 -1
- package/dist/common/entities/partner_fees.entity.js +0 -5
- package/dist/common/entities/partner_fees.entity.js.map +1 -1
- package/dist/common/entities/soldes/sub-account-customer.entity.d.ts +2 -0
- package/dist/common/entities/soldes/sub-account-customer.entity.js +11 -0
- package/dist/common/entities/soldes/sub-account-customer.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@ import { AuditableEntity } from "../../auditable/auditable.entity";
|
|
|
2
2
|
import { Partner } from "./partner.entity";
|
|
3
3
|
export declare class PartnerFees extends AuditableEntity {
|
|
4
4
|
fee: number;
|
|
5
|
-
feeType: string;
|
|
6
5
|
operationType: string;
|
|
7
6
|
minAmount: number;
|
|
8
7
|
maxAmount: number;
|
|
@@ -23,11 +23,6 @@ __decorate([
|
|
|
23
23
|
(0, typeorm_1.Column)({ name: 'fee', type: 'float', nullable: true }),
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
25
|
], PartnerFees.prototype, "fee", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, classes_1.AutoMap)(),
|
|
28
|
-
(0, typeorm_1.Column)({ name: 'fee_type', type: 'varchar', nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], PartnerFees.prototype, "feeType", void 0);
|
|
31
26
|
__decorate([
|
|
32
27
|
(0, classes_1.AutoMap)(),
|
|
33
28
|
(0, typeorm_1.Column)({ name: 'fee_type', type: 'enum', enum: ['DEPOSIT', 'WITHDRAWALL', 'TRANSFER', 'OTHER'], nullable: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner_fees.entity.js","sourceRoot":"","sources":["../../../src/common/entities/partner_fees.entity.ts"],"names":[],"mappings":";;;;;;;;;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U,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAC1B,wBAAO;4CAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;6CAC5C;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CAC7C;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CAC7C;sBA5BV,WAAW;IADvB,IAAA,gBAAM,EAAC,mBAAW,CAAC,YAAY,CAAC;GACpB,WAAW,CA6BvB"}
|
|
@@ -2,6 +2,7 @@ import { AuditableEntity } from "mfance-shark-v1/dist/auditable/auditable.entity
|
|
|
2
2
|
import { User } from "../user.entity";
|
|
3
3
|
import { ActionType } from "../action-type.entity";
|
|
4
4
|
import { Transaction } from "../transaction.entity";
|
|
5
|
+
import { Partner } from "../partner.entity";
|
|
5
6
|
export declare class SubAccountCustomer extends AuditableEntity {
|
|
6
7
|
user: User;
|
|
7
8
|
amount: number;
|
|
@@ -9,4 +10,5 @@ export declare class SubAccountCustomer extends AuditableEntity {
|
|
|
9
10
|
newBalance: number;
|
|
10
11
|
actionType: ActionType;
|
|
11
12
|
transaction: Transaction;
|
|
13
|
+
partner: Partner;
|
|
12
14
|
}
|
|
@@ -18,6 +18,7 @@ const typeorm_2 = require("typeorm");
|
|
|
18
18
|
const user_entity_1 = require("../user.entity");
|
|
19
19
|
const action_type_entity_1 = require("../action-type.entity");
|
|
20
20
|
const transaction_entity_1 = require("../transaction.entity");
|
|
21
|
+
const partner_entity_1 = require("../partner.entity");
|
|
21
22
|
let SubAccountCustomer = class SubAccountCustomer extends auditable_entity_1.AuditableEntity {
|
|
22
23
|
};
|
|
23
24
|
exports.SubAccountCustomer = SubAccountCustomer;
|
|
@@ -62,6 +63,16 @@ __decorate([
|
|
|
62
63
|
(0, typeorm_1.JoinColumn)(),
|
|
63
64
|
__metadata("design:type", transaction_entity_1.Transaction)
|
|
64
65
|
], SubAccountCustomer.prototype, "transaction", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, classes_1.AutoMap)(),
|
|
68
|
+
(0, typeorm_1.ManyToOne)(() => partner_entity_1.Partner, (partner) => partner.id, {
|
|
69
|
+
nullable: true,
|
|
70
|
+
onDelete: 'CASCADE',
|
|
71
|
+
onUpdate: 'CASCADE',
|
|
72
|
+
}),
|
|
73
|
+
(0, typeorm_1.JoinColumn)(),
|
|
74
|
+
__metadata("design:type", partner_entity_1.Partner)
|
|
75
|
+
], SubAccountCustomer.prototype, "partner", void 0);
|
|
65
76
|
exports.SubAccountCustomer = SubAccountCustomer = __decorate([
|
|
66
77
|
(0, typeorm_2.Entity)(utils_1.TABLE_NAMES.SUB_ACCOUNT_CUSTOMER)
|
|
67
78
|
], SubAccountCustomer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sub-account-customer.entity.js","sourceRoot":"","sources":["../../../../src/common/entities/soldes/sub-account-customer.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAoD;AACpD,qCAAwD;AACxD,iDAA8C;AAC9C,sFAAkF;AAClF,qCAAiC;AACjC,gDAAsC;AACtC,8DAAmD;AACnD,8DAAoD;
|
|
1
|
+
{"version":3,"file":"sub-account-customer.entity.js","sourceRoot":"","sources":["../../../../src/common/entities/soldes/sub-account-customer.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAoD;AACpD,qCAAwD;AACxD,iDAA8C;AAC9C,sFAAkF;AAClF,qCAAiC;AACjC,gDAAsC;AACtC,8DAAmD;AACnD,8DAAoD;AACpD,sDAA4C;AAGrC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,kCA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