gemcap-be-common 1.4.36 → 1.4.37
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.
|
@@ -30,6 +30,7 @@ import { TDictionary } from '../helpers/main.helper';
|
|
|
30
30
|
import { ICRMProspectInfoNote } from './ProspectInfoNote.model';
|
|
31
31
|
import { IProspectFile } from './ProspectFile.model';
|
|
32
32
|
export declare const prospectFieldsDictionary: TDictionary;
|
|
33
|
+
export declare const sharepointFoldersDictionary: Record<string, string>;
|
|
33
34
|
declare enum EProspectPriority {
|
|
34
35
|
LOW = "LOW",
|
|
35
36
|
MEDIUM = "MEDIUM",
|
package/models/Prospect.model.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Prospect = exports.ProspectSchema = exports.ProspectValidationSchema = exports.ProspectInfoValidationSchema = exports.ProspectInfoExternalValidationSchema = exports.baseFields = exports.externalProspectInitialInfo = exports.initialFileGroups = exports.NO_ROW_ID = exports.prospectFileGroupsMap = exports.prospectFileGroups = exports.EProspectFileGroups = exports.EProspectDeclineReason = exports.EProspectStatusDict = exports.EProspectStatus = exports.prospectFieldsDictionary = void 0;
|
|
6
|
+
exports.Prospect = exports.ProspectSchema = exports.ProspectValidationSchema = exports.ProspectInfoValidationSchema = exports.ProspectInfoExternalValidationSchema = exports.baseFields = exports.externalProspectInitialInfo = exports.initialFileGroups = exports.NO_ROW_ID = exports.prospectFileGroupsMap = exports.prospectFileGroups = exports.EProspectFileGroups = exports.EProspectDeclineReason = exports.EProspectStatusDict = exports.EProspectStatus = exports.sharepointFoldersDictionary = exports.prospectFieldsDictionary = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const joi_1 = __importDefault(require("joi"));
|
|
9
9
|
const _models_1 = require("./_models");
|
|
@@ -39,7 +39,7 @@ exports.prospectFieldsDictionary = {
|
|
|
39
39
|
closingPoints: 'Closing Points',
|
|
40
40
|
comments: 'Comments',
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
exports.sharepointFoldersDictionary = {
|
|
43
43
|
// TOP
|
|
44
44
|
legal: 'Legal',
|
|
45
45
|
portfolio: 'Portfolio',
|
|
@@ -307,24 +307,24 @@ const externalProspectInitialInfo = () => ({
|
|
|
307
307
|
[ProspectInfoStageTwo_model_1.ExternalProspectStageTwoTables.financialInformation]: [
|
|
308
308
|
{
|
|
309
309
|
_id: `new_${(0, main_helper_1.getUUID)()}`,
|
|
310
|
-
_sharepointFolder: sharepointFoldersDictionary.historicalFinancials,
|
|
310
|
+
_sharepointFolder: exports.sharepointFoldersDictionary.historicalFinancials,
|
|
311
311
|
title: 'Prior 2 years and YTD Income Statement & Balance Sheet in Excel Format',
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
_id: `new_${(0, main_helper_1.getUUID)()}`,
|
|
315
|
-
_sharepointFolder: sharepointFoldersDictionary.projections,
|
|
315
|
+
_sharepointFolder: exports.sharepointFoldersDictionary.projections,
|
|
316
316
|
title: 'Currently Monthly Projections',
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
319
|
_id: `new_${(0, main_helper_1.getUUID)()}`,
|
|
320
|
-
_sharepointFolder: sharepointFoldersDictionary.accountsPayables,
|
|
320
|
+
_sharepointFolder: exports.sharepointFoldersDictionary.accountsPayables,
|
|
321
321
|
title: 'Last 3 Month Bank Statements',
|
|
322
322
|
},
|
|
323
323
|
],
|
|
324
324
|
[ProspectInfoStageTwo_model_1.ExternalProspectStageTwoTables.accountsReceivables]: [
|
|
325
325
|
{
|
|
326
326
|
_id: `new_${(0, main_helper_1.getUUID)()}`,
|
|
327
|
-
_sharepointFolder: sharepointFoldersDictionary.accountsPayables,
|
|
327
|
+
_sharepointFolder: exports.sharepointFoldersDictionary.accountsPayables,
|
|
328
328
|
title: 'Excel Format: Current and past 12 months A/P aging report by invoice date',
|
|
329
329
|
},
|
|
330
330
|
{
|
package/models/Prospect.model.ts
CHANGED
|
@@ -39,7 +39,7 @@ export const prospectFieldsDictionary: TDictionary = {
|
|
|
39
39
|
comments: 'Comments',
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
const sharepointFoldersDictionary: Record<string, string> = {
|
|
42
|
+
export const sharepointFoldersDictionary: Record<string, string> = {
|
|
43
43
|
// TOP
|
|
44
44
|
legal: 'Legal',
|
|
45
45
|
portfolio: 'Portfolio',
|