gemcap-be-common 1.4.32 → 1.4.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/db/new-summary.js
CHANGED
|
@@ -342,7 +342,7 @@ class NewSummaryExcel {
|
|
|
342
342
|
if (!lastBBC) {
|
|
343
343
|
return null;
|
|
344
344
|
}
|
|
345
|
-
const availability = await this.availabilityService.getAllSummaries(lastBBC._id, null);
|
|
345
|
+
const availability = await this.availabilityService.getAllSummaries(lastBBC._id.toString(), null);
|
|
346
346
|
// INVENTORY
|
|
347
347
|
const inventoryRows = availability.inventory.reduce((acc, inventory) => {
|
|
348
348
|
if (inventory.inventoryName === 'TOTAL') {
|
package/db/new-summary.ts
CHANGED
|
@@ -420,7 +420,7 @@ export class NewSummaryExcel {
|
|
|
420
420
|
if (!lastBBC) {
|
|
421
421
|
return null;
|
|
422
422
|
}
|
|
423
|
-
const availability = await this.availabilityService.getAllSummaries(lastBBC._id, null);
|
|
423
|
+
const availability = await this.availabilityService.getAllSummaries(lastBBC._id.toString(), null);
|
|
424
424
|
|
|
425
425
|
// INVENTORY
|
|
426
426
|
const inventoryRows = availability.inventory.reduce((acc, inventory) => {
|
|
@@ -122,6 +122,8 @@ export interface IProspectExternalNew {
|
|
|
122
122
|
export declare enum EProspectFileGroups {
|
|
123
123
|
borrowingBase = "borrowingBase",
|
|
124
124
|
corporateDocuments = "corporateDocuments",
|
|
125
|
+
ownershipStructure = "ownershipStructure",
|
|
126
|
+
organizationStructure = "organizationStructure",
|
|
125
127
|
financialsBankInformation = "financialsBankInformation",
|
|
126
128
|
collateralSales = "collateralSales",
|
|
127
129
|
taxes = "taxes",
|
package/models/Prospect.model.js
CHANGED
|
@@ -77,6 +77,8 @@ var EProspectFileGroups;
|
|
|
77
77
|
(function (EProspectFileGroups) {
|
|
78
78
|
EProspectFileGroups["borrowingBase"] = "borrowingBase";
|
|
79
79
|
EProspectFileGroups["corporateDocuments"] = "corporateDocuments";
|
|
80
|
+
EProspectFileGroups["ownershipStructure"] = "ownershipStructure";
|
|
81
|
+
EProspectFileGroups["organizationStructure"] = "organizationStructure";
|
|
80
82
|
EProspectFileGroups["financialsBankInformation"] = "financialsBankInformation";
|
|
81
83
|
EProspectFileGroups["collateralSales"] = "collateralSales";
|
|
82
84
|
EProspectFileGroups["taxes"] = "taxes";
|
package/models/Prospect.model.ts
CHANGED
|
@@ -142,6 +142,8 @@ export interface IProspectExternalNew {
|
|
|
142
142
|
export enum EProspectFileGroups {
|
|
143
143
|
borrowingBase = 'borrowingBase',
|
|
144
144
|
corporateDocuments = 'corporateDocuments',
|
|
145
|
+
ownershipStructure = 'ownershipStructure',
|
|
146
|
+
organizationStructure = 'organizationStructure',
|
|
145
147
|
financialsBankInformation = 'financialsBankInformation',
|
|
146
148
|
collateralSales = 'collateralSales',
|
|
147
149
|
taxes = 'taxes',
|