mfance-shark-v1 1.0.83 → 1.0.85

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.
@@ -36,4 +36,6 @@ import { SoldeInterne } from './soldes/solde-interne.entity';
36
36
  import { Partner } from './partner.entity';
37
37
  import { PartnerFees } from './partner_fees.entity';
38
38
  import { SubAccountCustomer } from './soldes/sub-account-customer.entity';
39
- 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 ThirdPartyProvider | typeof Partner | typeof PartnerFees | 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 KycRequest | typeof Contact | typeof QrCode | typeof RateConfig | typeof CommissionWithdrawalAgent | typeof CommissionWithdrawalDistributor | typeof PaymentCode | typeof SoldeInterne | typeof SubAccountCustomer)[];
39
+ import { ApiCallLogs } from './logs/api-call-logs.entity';
40
+ import { B2WTransfert } from './transfert/b2w-transfert.entity';
41
+ 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 ThirdPartyProvider | typeof Partner | typeof PartnerFees | 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 KycRequest | typeof Contact | typeof QrCode | typeof RateConfig | typeof CommissionWithdrawalAgent | typeof CommissionWithdrawalDistributor | typeof PaymentCode | typeof SoldeInterne | typeof SubAccountCustomer | typeof ApiCallLogs | typeof B2WTransfert)[];
@@ -53,6 +53,8 @@ const partner_fees_entity_1 = require("./partner_fees.entity");
53
53
  const sub_account_customer_entity_1 = require("./soldes/sub-account-customer.entity");
54
54
  const solde_branch_manager_entity_1 = require("./soldes/solde-branch-manager.entity");
55
55
  const totups_branch_manager_entity_1 = require("./totups/totups-branch-manager.entity");
56
+ const api_call_logs_entity_1 = require("./logs/api-call-logs.entity");
57
+ const b2w_transfert_entity_1 = require("./transfert/b2w-transfert.entity");
56
58
  exports.entities = [
57
59
  file_entity_1.File,
58
60
  user_entity_1.User,
@@ -106,5 +108,7 @@ exports.entities = [
106
108
  sub_account_customer_entity_1.SubAccountCustomer,
107
109
  solde_branch_manager_entity_1.SoldeBranchManager,
108
110
  totups_branch_manager_entity_1.TotupsBranchManager,
111
+ api_call_logs_entity_1.ApiCallLogs,
112
+ b2w_transfert_entity_1.B2WTransfert,
109
113
  ];
110
114
  //# 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;AACpD,wEAA6D;AAC7D,qDAA2C;AAC3C,+DAAoD;AACpD,sFAA0E;AAC1E,sFAA0E;AAC1E,wFAA4E;AAG/D,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;IACZ,wBAAO;IACP,iCAAW;IACX,gDAAkB;IAClB,gDAAkB;IAClB,kDAAmB;CACtB,CAAC"}
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,iDAA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IAClB,gDAAkB;IAClB,kDAAmB;IACnB,kCAAW;IACX,mCAAY;CACf,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { AuditableEntity } from "mfance-shark-v1/dist/auditable/auditable.entity";
2
+ export declare class ApiCallLogs extends AuditableEntity {
3
+ provider: string;
4
+ endpoint: string;
5
+ method: string;
6
+ url: string;
7
+ payload: string;
8
+ response: Record<string, any>;
9
+ error: Record<string, any>;
10
+ status: number;
11
+ }
@@ -0,0 +1,64 @@
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.ApiCallLogs = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const classes_1 = require("@automapper/classes");
15
+ const auditable_entity_1 = require("mfance-shark-v1/dist/auditable/auditable.entity");
16
+ const table_names_constant_1 = require("../../utils/constants/table-names.constant");
17
+ const typeorm_2 = require("typeorm");
18
+ let ApiCallLogs = class ApiCallLogs extends auditable_entity_1.AuditableEntity {
19
+ };
20
+ exports.ApiCallLogs = ApiCallLogs;
21
+ __decorate([
22
+ (0, classes_1.AutoMap)(),
23
+ (0, typeorm_1.Column)({ name: 'provider', type: 'varchar', length: 255 }),
24
+ __metadata("design:type", String)
25
+ ], ApiCallLogs.prototype, "provider", void 0);
26
+ __decorate([
27
+ (0, classes_1.AutoMap)(),
28
+ (0, typeorm_1.Column)({ name: 'endpoint', type: 'varchar', length: 255 }),
29
+ __metadata("design:type", String)
30
+ ], ApiCallLogs.prototype, "endpoint", void 0);
31
+ __decorate([
32
+ (0, classes_1.AutoMap)(),
33
+ (0, typeorm_1.Column)({ name: 'method', type: 'varchar', length: 255 }),
34
+ __metadata("design:type", String)
35
+ ], ApiCallLogs.prototype, "method", void 0);
36
+ __decorate([
37
+ (0, classes_1.AutoMap)(),
38
+ (0, typeorm_1.Column)({ name: 'url', type: 'varchar', length: 255 }),
39
+ __metadata("design:type", String)
40
+ ], ApiCallLogs.prototype, "url", void 0);
41
+ __decorate([
42
+ (0, classes_1.AutoMap)(),
43
+ (0, typeorm_1.Column)({ name: 'payload', type: 'jsonb', length: 255 }),
44
+ __metadata("design:type", String)
45
+ ], ApiCallLogs.prototype, "payload", void 0);
46
+ __decorate([
47
+ (0, classes_1.AutoMap)(),
48
+ (0, typeorm_1.Column)({ name: 'response', type: 'jsonb', length: 255 }),
49
+ __metadata("design:type", Object)
50
+ ], ApiCallLogs.prototype, "response", void 0);
51
+ __decorate([
52
+ (0, classes_1.AutoMap)(),
53
+ (0, typeorm_1.Column)({ name: 'error', type: 'jsonb', length: 255 }),
54
+ __metadata("design:type", Object)
55
+ ], ApiCallLogs.prototype, "error", void 0);
56
+ __decorate([
57
+ (0, classes_1.AutoMap)(),
58
+ (0, typeorm_1.Column)({ name: 'status', type: 'int', length: 255 }),
59
+ __metadata("design:type", Number)
60
+ ], ApiCallLogs.prototype, "status", void 0);
61
+ exports.ApiCallLogs = ApiCallLogs = __decorate([
62
+ (0, typeorm_2.Entity)(table_names_constant_1.TABLE_NAMES.API_CALL_LOGS)
63
+ ], ApiCallLogs);
64
+ //# sourceMappingURL=api-call-logs.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-call-logs.entity.js","sourceRoot":"","sources":["../../../../src/common/entities/logs/api-call-logs.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qC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ACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2CACtC;sBAxBN,WAAW;IADvB,IAAA,gBAAM,EAAC,kCAAW,CAAC,aAAa,CAAC;GACrB,WAAW,CAyBvB"}
@@ -0,0 +1,20 @@
1
+ import { AuditableEntity } from "mfance-shark-v1/dist/auditable/auditable.entity";
2
+ import { TransferStatus } from "@/common/enums/transfer-status.enum";
3
+ export declare class B2WTransfert extends AuditableEntity {
4
+ amount: number;
5
+ currency: string;
6
+ initialStatus: TransferStatus;
7
+ finalStatus: TransferStatus;
8
+ clientId: string;
9
+ agentId: string;
10
+ phone: string;
11
+ countryCode: string;
12
+ operator: string;
13
+ prefix: string;
14
+ metadata: Record<string, any>;
15
+ callbackUrl: string;
16
+ callbackResponse: Record<string, any>;
17
+ transactionId: string;
18
+ transferReference: string;
19
+ internalReference: string;
20
+ }
@@ -0,0 +1,105 @@
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.B2WTransfert = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const classes_1 = require("@automapper/classes");
15
+ const auditable_entity_1 = require("mfance-shark-v1/dist/auditable/auditable.entity");
16
+ const table_names_constant_1 = require("../../utils/constants/table-names.constant");
17
+ const typeorm_2 = require("typeorm");
18
+ const transfer_status_enum_1 = require("../../enums/transfer-status.enum");
19
+ let B2WTransfert = class B2WTransfert extends auditable_entity_1.AuditableEntity {
20
+ };
21
+ exports.B2WTransfert = B2WTransfert;
22
+ __decorate([
23
+ (0, classes_1.AutoMap)(),
24
+ (0, typeorm_1.Column)({ name: 'amount', type: 'float' }),
25
+ __metadata("design:type", Number)
26
+ ], B2WTransfert.prototype, "amount", void 0);
27
+ __decorate([
28
+ (0, classes_1.AutoMap)(),
29
+ (0, typeorm_1.Column)({ name: 'currency', type: 'varchar' }),
30
+ __metadata("design:type", String)
31
+ ], B2WTransfert.prototype, "currency", void 0);
32
+ __decorate([
33
+ (0, classes_1.AutoMap)(),
34
+ (0, typeorm_1.Column)({ name: 'initial_status', type: 'enum', enum: transfer_status_enum_1.TransferStatus }),
35
+ __metadata("design:type", String)
36
+ ], B2WTransfert.prototype, "initialStatus", void 0);
37
+ __decorate([
38
+ (0, classes_1.AutoMap)(),
39
+ (0, typeorm_1.Column)({ name: 'final_status', type: 'enum', enum: transfer_status_enum_1.TransferStatus }),
40
+ __metadata("design:type", String)
41
+ ], B2WTransfert.prototype, "finalStatus", void 0);
42
+ __decorate([
43
+ (0, classes_1.AutoMap)(),
44
+ (0, typeorm_1.Column)({ name: 'client_id', type: 'varchar', nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], B2WTransfert.prototype, "clientId", void 0);
47
+ __decorate([
48
+ (0, classes_1.AutoMap)(),
49
+ (0, typeorm_1.Column)({ name: 'agent_id', type: 'varchar', nullable: true }),
50
+ __metadata("design:type", String)
51
+ ], B2WTransfert.prototype, "agentId", void 0);
52
+ __decorate([
53
+ (0, classes_1.AutoMap)(),
54
+ (0, typeorm_1.Column)({ name: 'phone', type: 'varchar', nullable: true }),
55
+ __metadata("design:type", String)
56
+ ], B2WTransfert.prototype, "phone", void 0);
57
+ __decorate([
58
+ (0, classes_1.AutoMap)(),
59
+ (0, typeorm_1.Column)({ name: 'country_code', type: 'varchar' }),
60
+ __metadata("design:type", String)
61
+ ], B2WTransfert.prototype, "countryCode", void 0);
62
+ __decorate([
63
+ (0, classes_1.AutoMap)(),
64
+ (0, typeorm_1.Column)({ name: 'operator', type: 'varchar' }),
65
+ __metadata("design:type", String)
66
+ ], B2WTransfert.prototype, "operator", void 0);
67
+ __decorate([
68
+ (0, classes_1.AutoMap)(),
69
+ (0, typeorm_1.Column)({ name: 'prefix', type: 'varchar' }),
70
+ __metadata("design:type", String)
71
+ ], B2WTransfert.prototype, "prefix", void 0);
72
+ __decorate([
73
+ (0, classes_1.AutoMap)(),
74
+ (0, typeorm_1.Column)({ name: 'metadata', type: 'jsonb' }),
75
+ __metadata("design:type", Object)
76
+ ], B2WTransfert.prototype, "metadata", void 0);
77
+ __decorate([
78
+ (0, classes_1.AutoMap)(),
79
+ (0, typeorm_1.Column)({ name: 'callback_url', type: 'varchar' }),
80
+ __metadata("design:type", String)
81
+ ], B2WTransfert.prototype, "callbackUrl", void 0);
82
+ __decorate([
83
+ (0, classes_1.AutoMap)(),
84
+ (0, typeorm_1.Column)({ name: 'callback_response', type: 'jsonb', nullable: true }),
85
+ __metadata("design:type", Object)
86
+ ], B2WTransfert.prototype, "callbackResponse", void 0);
87
+ __decorate([
88
+ (0, classes_1.AutoMap)(),
89
+ (0, typeorm_1.Column)({ name: 'transaction_id', type: 'varchar', nullable: true }),
90
+ __metadata("design:type", String)
91
+ ], B2WTransfert.prototype, "transactionId", void 0);
92
+ __decorate([
93
+ (0, classes_1.AutoMap)(),
94
+ (0, typeorm_1.Column)({ name: 'transfer_reference', type: 'varchar', nullable: true }),
95
+ __metadata("design:type", String)
96
+ ], B2WTransfert.prototype, "transferReference", void 0);
97
+ __decorate([
98
+ (0, classes_1.AutoMap)(),
99
+ (0, typeorm_1.Column)({ name: 'internal_reference', type: 'varchar', nullable: true }),
100
+ __metadata("design:type", String)
101
+ ], B2WTransfert.prototype, "internalReference", void 0);
102
+ exports.B2WTransfert = B2WTransfert = __decorate([
103
+ (0, typeorm_2.Entity)(table_names_constant_1.TABLE_NAMES.B2W_TRANSFER)
104
+ ], B2WTransfert);
105
+ //# sourceMappingURL=b2w-transfert.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b2w-transfert.entity.js","sourceRoot":"","sources":["../../../../src/common/entities/transfert/b2w-transfert.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAiC;AAEjC,iDAA8C;AAC9C,sFAAkF;AAClF,qFAAyE;AACzE,qCAAiC;AACjC,2EAAqE;AAG9D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,kCAAe;CAuDhD,CAAA;AAvDY,oCAAY;AAGrB;IAFC,IAAA,iBAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;4CAC3B;AAGf;IAFC,IAAA,iBAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;8CAC7B;AAGjB;IAFC,IAAA,iBAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qCAAc,EAAE,CAAC;;mDACzC;AAG9B;IAFC,IAAA,iBAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qCAAc,EAAE,CAAC;;iDACzC;AAG5B;IAFC,IAAA,iBAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAG,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC/C;AAGjB;IAFC,IAAA,iBAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UA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AE,oBAAoB,EAAE,IAAI,EAAE,SAAS,EAAG,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAC/C;AAI1B;IAFC,IAAA,iBAAO,GAAE;IACT,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,SAAS,EAAG,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAC/C;uBAjDjB,YAAY;IADxB,IAAA,gBAAM,EAAC,kCAAW,CAAC,YAAY,CAAC;GACpB,YAAY,CAuDxB"}
@@ -0,0 +1,8 @@
1
+ export declare enum TransferStatus {
2
+ CREATED = "CREATED",
3
+ COMPLETED = "COMPLETED",
4
+ SUCCESS = "SUCCESS",
5
+ PENDING = "PENDING",
6
+ FAILED = "FAILED",
7
+ INCONSISTENT_STATE = "INCONSISTENT_STATE"
8
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferStatus = void 0;
4
+ var TransferStatus;
5
+ (function (TransferStatus) {
6
+ TransferStatus["CREATED"] = "CREATED";
7
+ TransferStatus["COMPLETED"] = "COMPLETED";
8
+ TransferStatus["SUCCESS"] = "SUCCESS";
9
+ TransferStatus["PENDING"] = "PENDING";
10
+ TransferStatus["FAILED"] = "FAILED";
11
+ TransferStatus["INCONSISTENT_STATE"] = "INCONSISTENT_STATE";
12
+ })(TransferStatus || (exports.TransferStatus = TransferStatus = {}));
13
+ //# sourceMappingURL=transfer-status.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transfer-status.enum.js","sourceRoot":"","sources":["../../../src/common/enums/transfer-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAOX;AAPD,WAAY,cAAc;IACtB,qCAAmB,CAAA;IACnB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,2DAAyC,CAAA;AAC7C,CAAC,EAPW,cAAc,8BAAd,cAAc,QAOzB"}
@@ -47,4 +47,6 @@ export declare const TABLE_NAMES: {
47
47
  SUB_ACCOUNT_CUSTOMER: string;
48
48
  PARTNER: string;
49
49
  PARTNER_FEES: string;
50
+ API_CALL_LOGS: string;
51
+ B2W_TRANSFER: string;
50
52
  };
@@ -50,5 +50,7 @@ exports.TABLE_NAMES = {
50
50
  SUB_ACCOUNT_CUSTOMER: 'sub_account_customers',
51
51
  PARTNER: 'partners',
52
52
  PARTNER_FEES: 'partner_fees',
53
+ API_CALL_LOGS: 'api_call_logs',
54
+ B2W_TRANSFER: 'b2w_transfers',
53
55
  };
54
56
  //# sourceMappingURL=table-names.constant.js.map
@@ -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,aAAa,EAAE,gBAAgB;IAC/B,SAAS,EAAE,kBAAkB;IAC7B,WAAW,EAAE,cAAc;IAC3B,iBAAiB,EAAE,oBAAoB;IACvC,oBAAoB,EAAE,uBAAuB;IAC7C,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,qBAAqB,EAAE,wBAAwB;IAC/C,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;IAC1E,oBAAoB,EAAE,uBAAuB;IAC7C,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,cAAc;CAC7B,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,oBAAoB,EAAE,uBAAuB;IAC7C,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,YAAY;IACtB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,cAAc;IAC3B,SAAS,E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