mfance-shark-v1 1.0.73 → 1.0.75
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/commission-withdrawal-agent.entity.d.ts +3 -0
- package/dist/common/entities/commission-withdrawal-agent.entity.js +12 -0
- package/dist/common/entities/commission-withdrawal-agent.entity.js.map +1 -1
- package/dist/common/entities/commission-withdrawal-distributor.entity.d.ts +3 -0
- package/dist/common/entities/commission-withdrawal-distributor.entity.js +12 -0
- package/dist/common/entities/commission-withdrawal-distributor.entity.js.map +1 -1
- package/dist/common/entities/index.d.ts +2 -4
- package/dist/common/entities/index.js +3 -1
- package/dist/common/entities/index.js.map +1 -1
- package/dist/common/entities/soldes/solde-interne.entity.d.ts +14 -0
- package/dist/common/entities/soldes/solde-interne.entity.js +80 -0
- package/dist/common/entities/soldes/solde-interne.entity.js.map +1 -0
- package/dist/common/utils/constants/table-names.constant.d.ts +1 -0
- package/dist/common/utils/constants/table-names.constant.js +1 -0
- package/dist/common/utils/constants/table-names.constant.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -59,6 +59,18 @@ __decorate([
|
|
|
59
59
|
(0, typeorm_1.JoinColumn)({ name: 'transaction_id' }),
|
|
60
60
|
__metadata("design:type", transaction_entity_1.Transaction)
|
|
61
61
|
], CommissionWithdrawalAgent.prototype, "transaction", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ name: 'card_account_number', type: 'varchar', length: 64, nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CommissionWithdrawalAgent.prototype, "cardAccountNumber", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ name: 'mm_operator', type: 'varchar', length: 64, nullable: true }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], CommissionWithdrawalAgent.prototype, "mmOperator", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ name: 'mm_phone_number', type: 'varchar', length: 32, nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], CommissionWithdrawalAgent.prototype, "mmPhoneNumber", void 0);
|
|
62
74
|
exports.CommissionWithdrawalAgent = CommissionWithdrawalAgent = __decorate([
|
|
63
75
|
(0, typeorm_1.Entity)(table_names_constant_1.TABLE_NAMES.COMMISSION_WITHDRAWALS_AGENTS)
|
|
64
76
|
], CommissionWithdrawalAgent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commission-withdrawal-agent.entity.js","sourceRoot":"","sources":["../../../src/common/entities/commission-withdrawal-agent.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,uEAAmE;AACnE,uDAA6C;AAC7C,6EAAiE;AACjE,6DAAmD;AACnD,4EAAmE;AACnE,kFAAsE;AAI/D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,kCAAe;
|
|
1
|
+
{"version":3,"file":"commission-withdrawal-agent.entity.js","sourceRoot":"","sources":["../../../src/common/entities/commission-withdrawal-agent.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,uEAAmE;AACnE,uDAA6C;AAC7C,6EAAiE;AACjE,6DAAmD;AACnD,4EAAmE;AACnE,kFAAsE;AAI/D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,kCAAe;CA6C7D,CAAA;AA7CY,8DAAyB;AAEpC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;qDACpB;AAIX;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC/C,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAC1B,oBAAK;wDAAC;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAA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;GACrC,yBAAyB,CA6CrC"}
|
|
@@ -59,6 +59,18 @@ __decorate([
|
|
|
59
59
|
(0, typeorm_1.JoinColumn)({ name: 'transaction_id' }),
|
|
60
60
|
__metadata("design:type", transaction_entity_1.Transaction)
|
|
61
61
|
], CommissionWithdrawalDistributor.prototype, "transaction", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ name: 'card_account_number', type: 'varchar', length: 64, nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CommissionWithdrawalDistributor.prototype, "cardAccountNumber", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ name: 'mm_operator', type: 'varchar', length: 64, nullable: true }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], CommissionWithdrawalDistributor.prototype, "mmOperator", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ name: 'mm_phone_number', type: 'varchar', length: 32, nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], CommissionWithdrawalDistributor.prototype, "mmPhoneNumber", void 0);
|
|
62
74
|
exports.CommissionWithdrawalDistributor = CommissionWithdrawalDistributor = __decorate([
|
|
63
75
|
(0, typeorm_1.Entity)(table_names_constant_1.TABLE_NAMES.COMMISSION_WITHDRAWALS_DISTRIBUTORS)
|
|
64
76
|
], CommissionWithdrawalDistributor);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commission-withdrawal-distributor.entity.js","sourceRoot":"","sources":["../../../src/common/entities/commission-withdrawal-distributor.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,uEAAmE;AACnE,mEAAyD;AACzD,6EAAiE;AACjE,6DAAmD;AACnD,4EAAmE;AACnE,kFAAsE;AAI/D,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,kCAAe;
|
|
1
|
+
{"version":3,"file":"commission-withdrawal-distributor.entity.js","s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gB,EAAE,CAAC;8BAC1B,gCAAW;oEAAC;AAMzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0EAC1D;AAI3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACzD;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEAC1D;0CA5CZ,+BAA+B;IAD3C,IAAA,gBAAM,EAAC,kCAAW,CAAC,mCAAmC,CAAC;GAC3C,+BAA+B,CA6C3C"}
|
|
@@ -9,7 +9,6 @@ import { Country } from './country.entity';
|
|
|
9
9
|
import { SalePoint } from './sale-point.entity';
|
|
10
10
|
import { Currency } from './currency.entity';
|
|
11
11
|
import { SoldeCaisses } from './soldes/solde-caisse.entity';
|
|
12
|
-
import { SoldeCustomers } from './soldes/solde-customer.entity';
|
|
13
12
|
import { Stock } from './stock.entity';
|
|
14
13
|
import { StockPartner } from './stock-partner.entity';
|
|
15
14
|
import { StockSalePoint } from './stock-sale-point.entity';
|
|
@@ -27,12 +26,11 @@ import { ThirdPartyProvider } from './thirdpartyprovider.entity';
|
|
|
27
26
|
import { KycRequest } from './kyc_request.entity';
|
|
28
27
|
import { Contact } from './contact.entity';
|
|
29
28
|
import { QrCode } from './qr_code.entity';
|
|
30
|
-
import { SoldeAgent } from './soldes/solde-agent.entity';
|
|
31
|
-
import { SoldeDistributor } from './soldes/solde-distributor.entity';
|
|
32
29
|
import { ActionType } from './action-type.entity';
|
|
33
30
|
import { RateConfig } from './rateConfig.entity';
|
|
34
31
|
import { PinCode } from './pin_code.entity';
|
|
35
32
|
import { CommissionWithdrawalAgent } from './commission-withdrawal-agent.entity';
|
|
36
33
|
import { CommissionWithdrawalDistributor } from './commission-withdrawal-distributor.entity';
|
|
37
34
|
import { PaymentCode } from './payment-code.entity';
|
|
38
|
-
|
|
35
|
+
import { SoldeInterne } from './soldes/solde-interne.entity';
|
|
36
|
+
export declare const entities: (typeof File | typeof Permission | typeof Role | typeof User | typeof SalePoint | typeof Country | typeof Stock | typeof Currency | typeof Operation | typeof Agent | typeof Distributor | typeof TotupsAgent | typeof TotupsDist | typeof ActionType | typeof StockSalePoint | typeof CurrencyValue | typeof StockPartner | typeof Rock | typeof StockStonePartner | typeof OtpCode | typeof PinCode | typeof CaisseDailyWorker | typeof CaisseOperationType | typeof CaisseOperation | typeof SoldeCaisses | typeof Audit | typeof ThirdPartyProvider | typeof KycRequest | typeof Contact | typeof QrCode | typeof RateConfig | typeof CommissionWithdrawalAgent | typeof CommissionWithdrawalDistributor | typeof PaymentCode | typeof SoldeInterne)[];
|
|
@@ -47,6 +47,7 @@ const payment_method_type_entity_1 = require("./payment-method-type.entity");
|
|
|
47
47
|
const commission_withdrawal_agent_entity_1 = require("./commission-withdrawal-agent.entity");
|
|
48
48
|
const commission_withdrawal_distributor_entity_1 = require("./commission-withdrawal-distributor.entity");
|
|
49
49
|
const payment_code_entity_1 = require("./payment-code.entity");
|
|
50
|
+
const solde_interne_entity_1 = require("./soldes/solde-interne.entity");
|
|
50
51
|
exports.entities = [
|
|
51
52
|
file_entity_1.File,
|
|
52
53
|
user_entity_1.User,
|
|
@@ -93,6 +94,7 @@ exports.entities = [
|
|
|
93
94
|
payment_method_type_entity_1.PaymentMethodType,
|
|
94
95
|
action_type_entity_1.ActionType,
|
|
95
96
|
commission_withdrawal_agent_entity_1.CommissionWithdrawalAgent,
|
|
96
|
-
commission_withdrawal_distributor_entity_1.CommissionWithdrawalDistributor
|
|
97
|
+
commission_withdrawal_distributor_entity_1.CommissionWithdrawalDistributor,
|
|
98
|
+
solde_interne_entity_1.SoldeInterne,
|
|
97
99
|
];
|
|
98
100
|
//# sourceMappingURL=index.js.map
|
|
@@ -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;AACzD,mEAAyD;AACzD,2EAAiE;AACjE,6DAAkD;AAClD,qDAA2C;AAC3C,qDAA0C;AAC1C,oEAAyD;AACzD,gFAAqE;AACrE,sEAA2D;AAC3D,6DAAkD;AAClD,2DAAiD;AACjD,2DAAiD;AACjD,uDAA4C;AAC5C,6EAAiE;AACjE,6FAAiF;AACjF,yGAA6F;AAC7F,+DAAoD;
|
|
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;AACzD,mEAAyD;AACzD,2EAAiE;AACjE,6DAAkD;AAClD,qDAA2C;AAC3C,qDAA0C;AAC1C,oEAAyD;AACzD,gFAAqE;AACrE,sEAA2D;AAC3D,6DAAkD;AAClD,2DAAiD;AACjD,2DAAiD;AACjD,uDAA4C;AAC5C,6EAAiE;AACjE,6FAAiF;AACjF,yGAA6F;AAC7F,+DAAoD;AACpD,wEAA6D;AAGhD,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;IACV,sCAAc;IACd,8CAAkB;IAClB,+BAAU;IACV,uBAAM;IACN,iCAAW;IACX,iCAAW;IAEX,wBAAO;IACP,+BAAU;IACV,2CAAgB;IAChB,8BAAU;IACV,8BAAU;IACV,yBAAO;IACP,8CAAiB;IACjB,+BAAU;IACV,8DAAyB;IACzB,0EAA+B;IAC/B,mCAAY;CAEf,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AuditableEntity } from '../../../auditable/auditable.entity';
|
|
2
|
+
import { SoldeOperations } from './solde-operation.entity';
|
|
3
|
+
import { Transaction } from '../transaction.entity';
|
|
4
|
+
import { BalanceType } from '../config/balance_type.entity';
|
|
5
|
+
import { ActionType } from '../action-type.entity';
|
|
6
|
+
export declare class SoldeInterne extends AuditableEntity {
|
|
7
|
+
amount: number;
|
|
8
|
+
oldBalance: number;
|
|
9
|
+
newBalance: number;
|
|
10
|
+
soldeOpsType: SoldeOperations;
|
|
11
|
+
actionType: ActionType;
|
|
12
|
+
balanceType: BalanceType;
|
|
13
|
+
transaction: Transaction;
|
|
14
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SoldeInterne = void 0;
|
|
13
|
+
const auditable_entity_1 = require("../../../auditable/auditable.entity");
|
|
14
|
+
const table_names_constant_1 = require("../../utils/constants/table-names.constant");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
const classes_1 = require("@automapper/classes");
|
|
17
|
+
const solde_operation_entity_1 = require("./solde-operation.entity");
|
|
18
|
+
const transaction_entity_1 = require("../transaction.entity");
|
|
19
|
+
const balance_type_entity_1 = require("../config/balance_type.entity");
|
|
20
|
+
const action_type_entity_1 = require("../action-type.entity");
|
|
21
|
+
let SoldeInterne = class SoldeInterne extends auditable_entity_1.AuditableEntity {
|
|
22
|
+
};
|
|
23
|
+
exports.SoldeInterne = SoldeInterne;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, classes_1.AutoMap)(),
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'amount', type: 'float', nullable: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], SoldeInterne.prototype, "amount", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, classes_1.AutoMap)(),
|
|
31
|
+
(0, typeorm_1.Column)({ name: 'old_balance', type: 'float', nullable: true }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], SoldeInterne.prototype, "oldBalance", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, classes_1.AutoMap)(),
|
|
36
|
+
(0, typeorm_1.Column)({ name: 'new_balance', type: 'float', nullable: true }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], SoldeInterne.prototype, "newBalance", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, classes_1.AutoMap)(),
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => solde_operation_entity_1.SoldeOperations, (soldeOps) => soldeOps.id, {
|
|
42
|
+
onDelete: 'CASCADE',
|
|
43
|
+
onUpdate: 'CASCADE',
|
|
44
|
+
}),
|
|
45
|
+
(0, typeorm_1.JoinColumn)(),
|
|
46
|
+
__metadata("design:type", solde_operation_entity_1.SoldeOperations)
|
|
47
|
+
], SoldeInterne.prototype, "soldeOpsType", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, classes_1.AutoMap)(),
|
|
50
|
+
(0, typeorm_1.ManyToOne)(() => action_type_entity_1.ActionType, (actionType) => actionType.id, {
|
|
51
|
+
onDelete: 'CASCADE',
|
|
52
|
+
onUpdate: 'CASCADE',
|
|
53
|
+
nullable: true,
|
|
54
|
+
}),
|
|
55
|
+
(0, typeorm_1.JoinColumn)(),
|
|
56
|
+
__metadata("design:type", action_type_entity_1.ActionType)
|
|
57
|
+
], SoldeInterne.prototype, "actionType", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, classes_1.AutoMap)(),
|
|
60
|
+
(0, typeorm_1.ManyToOne)(() => balance_type_entity_1.BalanceType, (balanceType) => balanceType.id, {
|
|
61
|
+
onDelete: 'CASCADE',
|
|
62
|
+
onUpdate: 'CASCADE',
|
|
63
|
+
}),
|
|
64
|
+
(0, typeorm_1.JoinColumn)(),
|
|
65
|
+
__metadata("design:type", balance_type_entity_1.BalanceType)
|
|
66
|
+
], SoldeInterne.prototype, "balanceType", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, classes_1.AutoMap)(),
|
|
69
|
+
(0, typeorm_1.ManyToOne)(() => transaction_entity_1.Transaction, (transaction) => transaction.id, {
|
|
70
|
+
nullable: true,
|
|
71
|
+
onDelete: 'CASCADE',
|
|
72
|
+
onUpdate: 'CASCADE',
|
|
73
|
+
}),
|
|
74
|
+
(0, typeorm_1.JoinColumn)(),
|
|
75
|
+
__metadata("design:type", transaction_entity_1.Transaction)
|
|
76
|
+
], SoldeInterne.prototype, "transaction", void 0);
|
|
77
|
+
exports.SoldeInterne = SoldeInterne = __decorate([
|
|
78
|
+
(0, typeorm_1.Entity)(table_names_constant_1.TABLE_NAMES.SOLDE_INTERNE)
|
|
79
|
+
], SoldeInterne);
|
|
80
|
+
//# sourceMappingURL=solde-interne.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solde-interne.entity.js","sourceRoot":"","sources":["../../../../src/common/entities/soldes/solde-interne.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0EAAsE;AACtE,qFAAyE;AACzE,qCAAgE;AAChE,iDAA8C;AAC9C,qEAA2D;AAC3D,8DAAoD;AACpD,uEAA4D;AAC5D,8DAAmD;AAG5C,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,kCAAe;CA2ChD,CAAA;AA3CY,oCAAY;AAGvB;IAFC,IAAA,iBAAO,GAAE;IACT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AAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAW,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;QAC7D,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,GAAE;8BACA,gCAAW;iDAAC;uBA1Cd,YAAY;IADxB,IAAA,gBAAM,EAAC,kCAAW,CAAC,aAAa,CAAC;GACrB,YAAY,CA2CxB"}
|
|
@@ -14,6 +14,7 @@ exports.TABLE_NAMES = {
|
|
|
14
14
|
COUNTRY: 'countries',
|
|
15
15
|
SOLDE_CAISSE: 'solde_caisses',
|
|
16
16
|
SOLDE_CUSTOMER: 'solde_customers',
|
|
17
|
+
SOLDE_INTERNE: 'solde_internes',
|
|
17
18
|
SOLDE_OPS: 'solde_operations',
|
|
18
19
|
SOLDE_AGENT: 'solde_agents',
|
|
19
20
|
SOLDE_DISTRIBUTOR: 'solde_distributors',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-names.constant.js","sourceRoot":"","sources":["../../../../src/common/utils/constants/table-names.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,kBAAkB;IAC/B,gBAAgB,EAAE,uBAAuB;IACzC,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,qBAAqB;IACpC,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,eAAe;IAC7B,cAAc,EAAE,iBAAiB;IACjC,SAAS,EAAE,kBAAkB;IAC7B,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,oBAAoB;IACvC,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,YAAY;IACtB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,YAAY,EAAE,eAAe;IAC7B,gBAAgB,EAAE,mBAAmB;IACrC,cAAc,EAAE,iBAAiB;IACjC,mBAAmB,EAAE,qBAAqB;IAC1C,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,qBAAqB;IAC1C,cAAc,EAAE,iBAAiB;IACjC,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,qBAAqB;IAClC,UAAU,EAAG,YAAY;IACzB,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,QAAQ;IACf,oBAAoB,EAAE,uBAAuB;IAC7C,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,aAAa;IAC1B,6BAA6B,EAAE,+BAA+B;IAC9D,mCAAmC,EAAE,qCAAqC;CAC3E,CAAC"}
|
|
1
|
+
{"version":3,"file":"table-names.constant.js","sourceRoot":"","sources":["../../../../src/common/utils/constants/table-names.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,kBAAkB;IAC/B,gBAAgB,EAAE,uBAAuB;IACzC,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,qBAAqB;IACpC,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,eAAe;IAC7B,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;IAC/B,SAAS,EAAE,kBAAkB;IAC7B,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,oBAAoB;IACvC,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,YAAY;IACtB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,YAAY,EAAE,eAAe;IAC7B,gBAAgB,EAAE,mBAAmB;IACrC,cAAc,EAAE,iBAAiB;IACjC,mBAAmB,EAAE,qBAAqB;IAC1C,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,qBAAqB;IAC1C,cAAc,EAAE,iBAAiB;IACjC,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,qBAAqB;IAClC,UAAU,EAAG,YAAY;IACzB,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,QAAQ;IACf,oBAAoB,EAAE,uBAAuB;IAC7C,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,aAAa;IAC1B,6BAA6B,EAAE,+BAA+B;IAC9D,mCAAmC,EAAE,qCAAqC;CAC3E,CAAC"}
|