mfance-shark-v1 1.0.32 → 1.0.34
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/index.js +0 -2
- package/dist/common/entities/index.js.map +1 -1
- package/dist/common/entities/totups/totups-agent.entity.d.ts +2 -2
- package/dist/common/entities/totups/totups-agent.entity.js +2 -2
- package/dist/common/entities/totups/totups-dist.entity.d.ts +1 -1
- package/dist/common/entities/totups/totups-dist.entity.js +1 -1
- package/dist/common/entities/users/agent.entity.d.ts +3 -2
- package/dist/common/entities/users/agent.entity.js +7 -4
- package/dist/common/entities/users/agent.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -56,8 +56,6 @@ exports.entities = [
|
|
|
56
56
|
currencyValue_entity_1.CurrencyValue,
|
|
57
57
|
payment_method_entity_1.PaymentMethod,
|
|
58
58
|
rock_entity_1.Rock,
|
|
59
|
-
role_entity_1.Role,
|
|
60
|
-
user_entity_1.User,
|
|
61
59
|
distributor_entity_1.Distributor,
|
|
62
60
|
audit_entity_1.Audit,
|
|
63
61
|
otp_code_entity_1.OtpCode,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/entities/index.ts"],"names":[],"mappings":";;;AAAA,+CAAqC;AACrC,+CAAqC;AACrC,oFAAwE;AACxE,0DAAgD;AAChD,8EAAmE;AACnE,wFAA4E;AAC5E,oEAAyD;AACzD,+CAAqC;AACrC,2DAAiD;AACjD,qDAA2C;AAC3C,2DAAgD;AAChD,uDAA6C;AAC7C,sEAA4D;AAC5D,0EAAgE;AAChE,4EAAkE;AAClE,iDAAuC;AACvC,iEAAsD;AACtD,uEAA2D;AAC3D,6EAAiE;AACjE,6DAAmD;AACnD,yDAA+C;AAC/C,iEAAuD;AACvD,mEAAwD;AACxD,+CAAqC;AACrC,mEAAyD;AACzD,iDAAuC;AACvC,uDAA4C;AAC5C,uDAA6C;AAC7C,sEAA2D;AAC3D,oEAAyD;AAM5C,QAAA,QAAQ,GAAG;IACpB,kBAAI;IACJ,kBAAI;IACJ,8CAAiB;IACjB,sBAAM;IACN,yCAAe;IACf,kDAAmB;IACnB,+BAAU;IACV,kBAAI;IACJ,8BAAU;IACV,wBAAO;IACP,6BAAS;IACT,0BAAQ;IACR,kCAAY;IACZ,sCAAc;IACd,wCAAe;IACf,oBAAK;IACL,mCAAY;IACZ,wCAAc;IACd,8CAAiB;IACjB,gCAAW;IACX,4BAAS;IACT,oCAAa;IACb,qCAAa;IACb,kBAAI;IACJ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/entities/index.ts"],"names":[],"mappings":";;;AAAA,+CAAqC;AACrC,+CAAqC;AACrC,oFAAwE;AACxE,0DAAgD;AAChD,8EAAmE;AACnE,wFAA4E;AAC5E,oEAAyD;AACzD,+CAAqC;AACrC,2DAAiD;AACjD,qDAA2C;AAC3C,2DAAgD;AAChD,uDAA6C;AAC7C,sEAA4D;AAC5D,0EAAgE;AAChE,4EAAkE;AAClE,iDAAuC;AACvC,iEAAsD;AACtD,uEAA2D;AAC3D,6EAAiE;AACjE,6DAAmD;AACnD,yDAA+C;AAC/C,iEAAuD;AACvD,mEAAwD;AACxD,+CAAqC;AACrC,mEAAyD;AACzD,iDAAuC;AACvC,uDAA4C;AAC5C,uDAA6C;AAC7C,sEAA2D;AAC3D,oEAAyD;AAM5C,QAAA,QAAQ,GAAG;IACpB,kBAAI;IACJ,kBAAI;IACJ,8CAAiB;IACjB,sBAAM;IACN,yCAAe;IACf,kDAAmB;IACnB,+BAAU;IACV,kBAAI;IACJ,8BAAU;IACV,wBAAO;IACP,6BAAS;IACT,0BAAQ;IACR,kCAAY;IACZ,sCAAc;IACd,wCAAe;IACf,oBAAK;IACL,mCAAY;IACZ,wCAAc;IACd,8CAAiB;IACjB,gCAAW;IACX,4BAAS;IACT,oCAAa;IACb,qCAAa;IACb,kBAAI;IACJ,gCAAW;IACX,oBAAK;IACL,yBAAO;IACP,oBAAK;IACL,iCAAW;IACX,+BAAU;CACb,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AuditableEntity } from '@/auditable/auditable.entity';
|
|
2
2
|
export declare class TotupsAgent extends AuditableEntity {
|
|
3
|
-
agentId:
|
|
4
|
-
distributorId:
|
|
3
|
+
agentId: string;
|
|
4
|
+
distributorId: string;
|
|
5
5
|
reference: string;
|
|
6
6
|
amount: number;
|
|
7
7
|
currency: string;
|
|
@@ -18,11 +18,11 @@ let TotupsAgent = class TotupsAgent extends auditable_entity_1.AuditableEntity {
|
|
|
18
18
|
exports.TotupsAgent = TotupsAgent;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, typeorm_1.Column)({ name: 'agent_id' }),
|
|
21
|
-
__metadata("design:type",
|
|
21
|
+
__metadata("design:type", String)
|
|
22
22
|
], TotupsAgent.prototype, "agentId", void 0);
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, typeorm_1.Column)({ name: 'distributor_id' }),
|
|
25
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
26
26
|
], TotupsAgent.prototype, "distributorId", void 0);
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, typeorm_1.Column)({ name: 'reference', nullable: true }),
|
|
@@ -18,7 +18,7 @@ let TotupsDist = class TotupsDist extends auditable_entity_1.AuditableEntity {
|
|
|
18
18
|
exports.TotupsDist = TotupsDist;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, typeorm_1.Column)({ name: 'distributor_id' }),
|
|
21
|
-
__metadata("design:type",
|
|
21
|
+
__metadata("design:type", String)
|
|
22
22
|
], TotupsDist.prototype, "distributorId", void 0);
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, typeorm_1.Column)({ name: 'reference', nullable: true }),
|
|
@@ -2,14 +2,15 @@ import { User } from '../user.entity';
|
|
|
2
2
|
import { Distributor } from './distributor.entity';
|
|
3
3
|
import { AuditableEntity } from '@/auditable/auditable.entity';
|
|
4
4
|
export declare class Agent extends AuditableEntity {
|
|
5
|
-
userId:
|
|
5
|
+
userId: string;
|
|
6
6
|
agentCode: string;
|
|
7
|
-
distributorId:
|
|
7
|
+
distributorId: string;
|
|
8
8
|
isVerified: boolean;
|
|
9
9
|
balanceLimit: number;
|
|
10
10
|
isActive: boolean;
|
|
11
11
|
isAccountBreached: boolean;
|
|
12
12
|
isAccountBreachedReason: string;
|
|
13
|
+
isAccountBreachedDate: Date;
|
|
13
14
|
distributor: Distributor;
|
|
14
15
|
user: User;
|
|
15
16
|
}
|
|
@@ -20,7 +20,7 @@ let Agent = class Agent extends auditable_entity_1.AuditableEntity {
|
|
|
20
20
|
exports.Agent = Agent;
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, typeorm_1.Column)({ name: 'user_id' }),
|
|
23
|
-
__metadata("design:type",
|
|
23
|
+
__metadata("design:type", String)
|
|
24
24
|
], Agent.prototype, "userId", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, typeorm_1.Column)({ name: 'agent_code', nullable: true }),
|
|
@@ -28,7 +28,7 @@ __decorate([
|
|
|
28
28
|
], Agent.prototype, "agentCode", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, typeorm_1.Column)({ name: 'distributor_id', nullable: true }),
|
|
31
|
-
__metadata("design:type",
|
|
31
|
+
__metadata("design:type", String)
|
|
32
32
|
], Agent.prototype, "distributorId", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)({ name: 'is_verified', default: false }),
|
|
@@ -52,12 +52,15 @@ __decorate([
|
|
|
52
52
|
], Agent.prototype, "isAccountBreachedReason", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, typeorm_1.Column)({ name: 'is_account_breached_date', nullable: true }),
|
|
55
|
-
(
|
|
55
|
+
__metadata("design:type", Date)
|
|
56
|
+
], Agent.prototype, "isAccountBreachedDate", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.OneToOne)(() => distributor_entity_1.Distributor),
|
|
56
59
|
(0, typeorm_1.JoinColumn)({ name: 'distributor_id' }),
|
|
57
60
|
__metadata("design:type", distributor_entity_1.Distributor)
|
|
58
61
|
], Agent.prototype, "distributor", void 0);
|
|
59
62
|
__decorate([
|
|
60
|
-
(0, typeorm_1.OneToOne)(() => user_entity_1.User
|
|
63
|
+
(0, typeorm_1.OneToOne)(() => user_entity_1.User),
|
|
61
64
|
(0, typeorm_1.JoinColumn)({ name: 'user_id' }),
|
|
62
65
|
__metadata("design:type", user_entity_1.User)
|
|
63
66
|
], Agent.prototype, "user", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.entity.js","sourceRoot":"","sources":["../../../../src/common/entities/users/agent.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsI;AACtI,gDAAsC;AACtC,6DAAmD;AACnD,0EAA+D;AAC/D,qFAA4E;AAKrE,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,kCAAe;
|
|
1
|
+
{"version":3,"file":"agent.entity.js","sourceRoot":"","sources":["../../../../src/common/entities/users/agent.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsI;AACtI,gDAAsC;AACtC,6DAAmD;AACnD,0EAA+D;AAC/D,qFAA4E;AAKrE,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,kCAAe;CAoCzC,CAAA;AApCY,sBAAK;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;qCACb;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAG,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCAC9B;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAG,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC9B;AAGtB;IADC,IAAA,gBAAM,EAAC,EAA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