@dynamatix/gb-schemas 1.2.98 → 1.2.100
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/applicants/applicant-additional-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.d.ts +1234 -6
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +4 -6
- package/dist/applicants/applicant-income-settings.model.d.ts +81 -0
- package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income-settings.model.js +11 -0
- package/dist/applicants/applicant.model.d.ts +0 -1
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +0 -4
- package/dist/applicants/index.d.ts +2 -0
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +2 -0
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts +19 -0
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-credit-data.entity.js +5 -0
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +14 -0
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-credit-profile.entity.js +5 -0
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts +14 -0
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-employment-income.entity.js +5 -0
- package/dist/entities/applicants/applicant-employment.entity.d.ts +54 -0
- package/dist/entities/applicants/applicant-employment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-employment.entity.js +5 -0
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts +14 -0
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-expenditure.entity.js +5 -0
- package/dist/entities/applicants/applicant-income-source.entity.d.ts +17 -0
- package/dist/entities/applicants/applicant-income-source.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-income-source.entity.js +5 -0
- package/dist/entities/applicants/applicant-income.entity.d.ts +59 -0
- package/dist/entities/applicants/applicant-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-income.entity.js +2 -0
- package/dist/entities/applicants/applicant.entity.d.ts +143 -0
- package/dist/entities/applicants/applicant.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant.entity.js +48 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +16 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-card-commitment.entity.js +5 -0
- package/dist/entities/applicants/index.d.ts +19 -0
- package/dist/entities/applicants/index.d.ts.map +1 -0
- package/dist/entities/applicants/index.js +17 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/loan-commitment.entity.js +5 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +37 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/mortgage-commitment.entity.js +19 -0
- package/dist/entities/applicants/other-income.entity.d.ts +41 -0
- package/dist/entities/applicants/other-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/other-income.entity.js +19 -0
- package/dist/entities/applicants/property-income.entity.d.ts +17 -0
- package/dist/entities/applicants/property-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/property-income.entity.js +5 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts +44 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/residence-commitment.entity.js +19 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +21 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.js +9 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +10 -0
- package/dist/entities/applications/application-audit.entity.d.ts +18 -0
- package/dist/entities/applications/application-audit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-audit.entity.js +5 -0
- package/dist/entities/applications/application-company.entity.d.ts +12 -0
- package/dist/entities/applications/application-company.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-company.entity.js +5 -0
- package/dist/entities/applications/application-credit-profile.entity.d.ts +11 -0
- package/dist/entities/applications/application-credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-credit-profile.entity.js +5 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts +24 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-direct-debit.entity.js +5 -0
- package/dist/entities/applications/application-document.entity.d.ts +28 -0
- package/dist/entities/applications/application-document.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-document.entity.js +5 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +9 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-fieldconfig.entity.js +5 -0
- package/dist/entities/applications/application-illustration.entity.d.ts +8 -0
- package/dist/entities/applications/application-illustration.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-illustration.entity.js +5 -0
- package/dist/entities/applications/application-legal.entity.d.ts +9 -0
- package/dist/entities/applications/application-legal.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-legal.entity.js +5 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts +54 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-mortgage.entity.js +27 -0
- package/dist/entities/applications/application-note.entity.d.ts +37 -0
- package/dist/entities/applications/application-note.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-note.entity.js +5 -0
- package/dist/entities/applications/application-offer.entity.d.ts +8 -0
- package/dist/entities/applications/application-offer.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-offer.entity.js +5 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts +11 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-onboarding.entity.js +5 -0
- package/dist/entities/applications/application-product.entity.d.ts +33 -0
- package/dist/entities/applications/application-product.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-product.entity.js +5 -0
- package/dist/entities/applications/application-rationale.entity.d.ts +51 -0
- package/dist/entities/applications/application-rationale.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-rationale.entity.js +5 -0
- package/dist/entities/applications/application.entity.d.ts +103 -0
- package/dist/entities/applications/application.entity.d.ts.map +1 -0
- package/dist/entities/applications/application.entity.js +66 -0
- package/dist/entities/applications/broker.entity.d.ts +23 -0
- package/dist/entities/applications/broker.entity.d.ts.map +1 -0
- package/dist/entities/applications/broker.entity.js +5 -0
- package/dist/entities/applications/checklist-item.entity.d.ts +47 -0
- package/dist/entities/applications/checklist-item.entity.d.ts.map +1 -0
- package/dist/entities/applications/checklist-item.entity.js +5 -0
- package/dist/entities/applications/company.entity.d.ts +77 -0
- package/dist/entities/applications/company.entity.d.ts.map +1 -0
- package/dist/entities/applications/company.entity.js +23 -0
- package/dist/entities/applications/index.d.ts +23 -0
- package/dist/entities/applications/index.d.ts.map +1 -0
- package/dist/entities/applications/index.js +21 -0
- package/dist/entities/applications/product-features.entity.d.ts +54 -0
- package/dist/entities/applications/product-features.entity.d.ts.map +1 -0
- package/dist/entities/applications/product-features.entity.js +5 -0
- package/dist/entities/applications/solicitor.entity.d.ts +33 -0
- package/dist/entities/applications/solicitor.entity.d.ts.map +1 -0
- package/dist/entities/applications/solicitor.entity.js +5 -0
- package/dist/entities/index.d.ts +10 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +10 -0
- package/dist/entities/prisma.d.ts +3 -0
- package/dist/entities/prisma.d.ts.map +1 -0
- package/dist/entities/prisma.js +10 -0
- package/dist/entities/product-catalogues/index.d.ts +8 -0
- package/dist/entities/product-catalogues/index.d.ts.map +1 -0
- package/dist/entities/product-catalogues/index.js +6 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +22 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.js +5 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +16 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-definition.entity.js +5 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +14 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-variant.entity.js +5 -0
- package/dist/entities/product-catalogues/product.entity.d.ts +11 -0
- package/dist/entities/product-catalogues/product.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product.entity.js +5 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts +21 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/rule.entity.js +5 -0
- package/dist/entities/properties/data-street.entity.d.ts +22 -0
- package/dist/entities/properties/data-street.entity.d.ts.map +1 -0
- package/dist/entities/properties/data-street.entity.js +5 -0
- package/dist/entities/properties/index.d.ts +6 -0
- package/dist/entities/properties/index.d.ts.map +1 -0
- package/dist/entities/properties/index.js +4 -0
- package/dist/entities/properties/property.entity.d.ts +30 -0
- package/dist/entities/properties/property.entity.d.ts.map +1 -0
- package/dist/entities/properties/property.entity.js +5 -0
- package/dist/entities/properties/security.entity.d.ts +57 -0
- package/dist/entities/properties/security.entity.d.ts.map +1 -0
- package/dist/entities/properties/security.entity.js +5 -0
- package/dist/entities/shared/alert.entity.d.ts +14 -0
- package/dist/entities/shared/alert.entity.d.ts.map +1 -0
- package/dist/entities/shared/alert.entity.js +5 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +19 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +1 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.js +5 -0
- package/dist/entities/shared/checklist.entity.d.ts +15 -0
- package/dist/entities/shared/checklist.entity.d.ts.map +1 -0
- package/dist/entities/shared/checklist.entity.js +5 -0
- package/dist/entities/shared/document-type.entity.d.ts +9 -0
- package/dist/entities/shared/document-type.entity.d.ts.map +1 -0
- package/dist/entities/shared/document-type.entity.js +5 -0
- package/dist/entities/shared/index.d.ts +12 -0
- package/dist/entities/shared/index.d.ts.map +1 -0
- package/dist/entities/shared/index.js +10 -0
- package/dist/entities/shared/job-run.entity.d.ts +15 -0
- package/dist/entities/shared/job-run.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-run.entity.js +5 -0
- package/dist/entities/shared/job-run.model.d.ts +11 -0
- package/dist/entities/shared/job-run.model.d.ts.map +1 -0
- package/dist/entities/shared/job-run.model.js +1 -0
- package/dist/entities/shared/job-setting.entity.d.ts +11 -0
- package/dist/entities/shared/job-setting.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-setting.entity.js +5 -0
- package/dist/entities/shared/lookup-group.entity.d.ts +11 -0
- package/dist/entities/shared/lookup-group.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup-group.entity.js +5 -0
- package/dist/entities/shared/lookup.entity.d.ts +14 -0
- package/dist/entities/shared/lookup.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup.entity.js +5 -0
- package/dist/entities/shared/system-parameter.entity.d.ts +10 -0
- package/dist/entities/shared/system-parameter.entity.d.ts.map +1 -0
- package/dist/entities/shared/system-parameter.entity.js +5 -0
- package/dist/entities/underwriter/index.d.ts +4 -0
- package/dist/entities/underwriter/index.d.ts.map +1 -0
- package/dist/entities/underwriter/index.js +2 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts +16 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +1 -0
- package/dist/entities/underwriter/underwriter.entity.js +5 -0
- package/dist/entities/users/auth-log.entity.d.ts +11 -0
- package/dist/entities/users/auth-log.entity.d.ts.map +1 -0
- package/dist/entities/users/auth-log.entity.js +5 -0
- package/dist/entities/users/index.d.ts +8 -0
- package/dist/entities/users/index.d.ts.map +1 -0
- package/dist/entities/users/index.js +6 -0
- package/dist/entities/users/permission.entity.d.ts +12 -0
- package/dist/entities/users/permission.entity.d.ts.map +1 -0
- package/dist/entities/users/permission.entity.js +5 -0
- package/dist/entities/users/role-group.entity.d.ts +12 -0
- package/dist/entities/users/role-group.entity.d.ts.map +1 -0
- package/dist/entities/users/role-group.entity.js +5 -0
- package/dist/entities/users/role.entity.d.ts +14 -0
- package/dist/entities/users/role.entity.d.ts.map +1 -0
- package/dist/entities/users/role.entity.js +5 -0
- package/dist/entities/users/user.entity.d.ts +35 -0
- package/dist/entities/users/user.entity.d.ts.map +1 -0
- package/dist/entities/users/user.entity.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ApplicantEntity } from "../applicants/applicant.entity";
|
|
2
|
+
import { LookupEntity } from "../shared/lookup.entity";
|
|
3
|
+
import { ApplicationEntity } from "./application.entity";
|
|
4
|
+
export declare class ApplicantShareholdingEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
companyId: string;
|
|
7
|
+
applicantId: string;
|
|
8
|
+
applicantName: string;
|
|
9
|
+
directorShareholderLid?: string;
|
|
10
|
+
shareholding?: number;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
company?: CompanyEntity;
|
|
14
|
+
applicant?: ApplicantEntity;
|
|
15
|
+
directorShareholder?: LookupEntity;
|
|
16
|
+
constructor(partial: Partial<ApplicantShareholdingEntity>);
|
|
17
|
+
}
|
|
18
|
+
export declare class CompanyEntity {
|
|
19
|
+
id: string;
|
|
20
|
+
applicationId: string;
|
|
21
|
+
pageValidFlag: boolean;
|
|
22
|
+
registeredName: string;
|
|
23
|
+
businessTypeLid: string;
|
|
24
|
+
registeredNumber: number;
|
|
25
|
+
taxJurisdictionLid: string;
|
|
26
|
+
tradingSince?: string;
|
|
27
|
+
natureOfBusiness: string;
|
|
28
|
+
yearEnd?: string;
|
|
29
|
+
addressPostCode: string;
|
|
30
|
+
addressLine1: string;
|
|
31
|
+
addressLine2?: string;
|
|
32
|
+
addressLine3?: string;
|
|
33
|
+
addressCity?: string;
|
|
34
|
+
addressCountryLid: string;
|
|
35
|
+
applicationTypeLid: string;
|
|
36
|
+
yearEnd1: number;
|
|
37
|
+
turnoverYear1: number;
|
|
38
|
+
netProfitYear1: number;
|
|
39
|
+
yearEnd2: number;
|
|
40
|
+
turnoverYear2: number;
|
|
41
|
+
netProfitYear2: number;
|
|
42
|
+
yearEnd3: number;
|
|
43
|
+
turnoverYear3: number;
|
|
44
|
+
netProfitYear3: number;
|
|
45
|
+
companyCreditDefaults: string;
|
|
46
|
+
companyCountyCourtJudgment: string;
|
|
47
|
+
companySecuredArrears: string;
|
|
48
|
+
companyUnsecuredArrears: string;
|
|
49
|
+
companyBankruptcy: string;
|
|
50
|
+
companyBankruptcyYes: boolean;
|
|
51
|
+
companyBankruptcyNo: boolean;
|
|
52
|
+
companyCCJInLastThreeYearYes: boolean;
|
|
53
|
+
companyCCJInLastThreeYearNo: boolean;
|
|
54
|
+
companyDefaultsInLastYearYes: boolean;
|
|
55
|
+
companyDefaultsInLastYearNo: boolean;
|
|
56
|
+
companyAnyVoluntaryEnforcedPossessionYes: boolean;
|
|
57
|
+
companyAnyVoluntaryEnforcedPossessionNo: boolean;
|
|
58
|
+
doYouKnowRegisteredNumber: boolean;
|
|
59
|
+
sicCodes: string[];
|
|
60
|
+
epc: string;
|
|
61
|
+
remainingLease: string;
|
|
62
|
+
dateOfIncorporation?: string;
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
updatedAt: Date;
|
|
65
|
+
application?: ApplicationEntity;
|
|
66
|
+
businessType?: LookupEntity;
|
|
67
|
+
taxJurisdiction?: LookupEntity;
|
|
68
|
+
addressCountry?: LookupEntity;
|
|
69
|
+
applicationType?: LookupEntity;
|
|
70
|
+
applicantShareholdings?: ApplicantShareholdingEntity[];
|
|
71
|
+
constructor(partial: Partial<CompanyEntity>);
|
|
72
|
+
get businessTypeName(): string | null;
|
|
73
|
+
get taxJurisdictionName(): string | null;
|
|
74
|
+
get addressCountryName(): string | null;
|
|
75
|
+
get applicationTypeName(): string | null;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=company.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/company.entity.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export class ApplicantShareholdingEntity {
|
|
2
|
+
constructor(partial) {
|
|
3
|
+
Object.assign(this, partial);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export class CompanyEntity {
|
|
7
|
+
constructor(partial) {
|
|
8
|
+
Object.assign(this, partial);
|
|
9
|
+
}
|
|
10
|
+
// Virtual fields from Mongoose model
|
|
11
|
+
get businessTypeName() {
|
|
12
|
+
return this.businessType?.name ?? null;
|
|
13
|
+
}
|
|
14
|
+
get taxJurisdictionName() {
|
|
15
|
+
return this.taxJurisdiction?.name ?? null;
|
|
16
|
+
}
|
|
17
|
+
get addressCountryName() {
|
|
18
|
+
return this.addressCountry?.name ?? null;
|
|
19
|
+
}
|
|
20
|
+
get applicationTypeName() {
|
|
21
|
+
return this.applicationType?.name ?? null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, ApplicationRationale, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit } from '@prisma/client';
|
|
2
|
+
export type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, ApplicationRationale, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit };
|
|
3
|
+
export * from './application.entity';
|
|
4
|
+
export * from './product-features.entity';
|
|
5
|
+
export * from './solicitor.entity';
|
|
6
|
+
export * from './broker.entity';
|
|
7
|
+
export * from './checklist-item.entity';
|
|
8
|
+
export * from './company.entity';
|
|
9
|
+
export * from './application-credit-profile.entity';
|
|
10
|
+
export * from './application-rationale.entity';
|
|
11
|
+
export * from './application-product.entity';
|
|
12
|
+
export * from './application-note.entity';
|
|
13
|
+
export * from './application-offer.entity';
|
|
14
|
+
export * from './application-onboarding.entity';
|
|
15
|
+
export * from './application-illustration.entity';
|
|
16
|
+
export * from './application-legal.entity';
|
|
17
|
+
export * from './application-mortgage.entity';
|
|
18
|
+
export * from './application-document.entity';
|
|
19
|
+
export * from './application-fieldconfig.entity';
|
|
20
|
+
export * from './application-audit.entity';
|
|
21
|
+
export * from './application-company.entity';
|
|
22
|
+
export * from './application-direct-debit.entity';
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../entities/applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACzB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACzB,CAAC;AAGF,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Export entity classes
|
|
2
|
+
export * from './application.entity';
|
|
3
|
+
export * from './product-features.entity';
|
|
4
|
+
export * from './solicitor.entity';
|
|
5
|
+
export * from './broker.entity';
|
|
6
|
+
export * from './checklist-item.entity';
|
|
7
|
+
export * from './company.entity';
|
|
8
|
+
export * from './application-credit-profile.entity';
|
|
9
|
+
export * from './application-rationale.entity';
|
|
10
|
+
export * from './application-product.entity';
|
|
11
|
+
export * from './application-note.entity';
|
|
12
|
+
export * from './application-offer.entity';
|
|
13
|
+
export * from './application-onboarding.entity';
|
|
14
|
+
export * from './application-illustration.entity';
|
|
15
|
+
export * from './application-legal.entity';
|
|
16
|
+
export * from './application-mortgage.entity';
|
|
17
|
+
export * from './application-document.entity';
|
|
18
|
+
export * from './application-fieldconfig.entity';
|
|
19
|
+
export * from './application-audit.entity';
|
|
20
|
+
export * from './application-company.entity';
|
|
21
|
+
export * from './application-direct-debit.entity';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare class ProductFeaturesEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
clientAdvance: string;
|
|
5
|
+
ltv: string;
|
|
6
|
+
repayment: string;
|
|
7
|
+
variableRepayment: string;
|
|
8
|
+
reversionRateWithoutBaseRate?: string;
|
|
9
|
+
totalReversionRate?: string;
|
|
10
|
+
initialRate: string;
|
|
11
|
+
fixedTerm: string;
|
|
12
|
+
fixedTermEndDate?: string;
|
|
13
|
+
baseRate?: string;
|
|
14
|
+
productRate?: string;
|
|
15
|
+
apr?: string;
|
|
16
|
+
rentalCoverage?: string;
|
|
17
|
+
repaymentType?: string;
|
|
18
|
+
applicationCategory?: string;
|
|
19
|
+
securityType?: string;
|
|
20
|
+
erc?: string;
|
|
21
|
+
loanType?: string;
|
|
22
|
+
maxLtvLimit?: string;
|
|
23
|
+
reimbursement?: string;
|
|
24
|
+
reimbursementPerPound?: string;
|
|
25
|
+
stressedApr?: string;
|
|
26
|
+
stressedRate?: string;
|
|
27
|
+
stressedRepayment?: string;
|
|
28
|
+
liborFloorRate?: string;
|
|
29
|
+
totalTermInMonths?: string;
|
|
30
|
+
chargeType: string;
|
|
31
|
+
productCategory: string;
|
|
32
|
+
ercCode: string;
|
|
33
|
+
variableTerm?: string;
|
|
34
|
+
totalFeePayable?: string;
|
|
35
|
+
dipIssueDate?: string;
|
|
36
|
+
estimatedCompletionDate?: string;
|
|
37
|
+
dipExpiryDate?: string;
|
|
38
|
+
fixedRepaymentUntillDate?: string;
|
|
39
|
+
rentalReviewDate?: string;
|
|
40
|
+
totalReimbursementWithFee?: string;
|
|
41
|
+
finalRentPayment?: string;
|
|
42
|
+
clientDeposit?: string;
|
|
43
|
+
firstRentPayment?: string;
|
|
44
|
+
ercFeatures?: any;
|
|
45
|
+
icr?: string;
|
|
46
|
+
ufssProductCode?: string;
|
|
47
|
+
ufssInterestRateCode?: string;
|
|
48
|
+
stressedPayment?: string;
|
|
49
|
+
stressedPaymentRate?: string;
|
|
50
|
+
createdAt: Date;
|
|
51
|
+
updatedAt: Date;
|
|
52
|
+
constructor(partial: Partial<ProductFeaturesEntity>);
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=product-features.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-features.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/product-features.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,qBAAqB;IAC9B,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,aAAa,EAAG,MAAM,CAAC;IACvB,GAAG,EAAG,MAAM,CAAC;IACb,SAAS,EAAG,MAAM,CAAC;IACnB,iBAAiB,EAAG,MAAM,CAAC;IAC3B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAG,MAAM,CAAC;IACrB,SAAS,EAAG,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAG,MAAM,CAAC;IACpB,eAAe,EAAG,MAAM,CAAC;IACzB,OAAO,EAAG,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC;CAGtD"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { LookupEntity } from "../shared/lookup.entity";
|
|
2
|
+
import { ApplicationEntity } from "./application.entity";
|
|
3
|
+
export declare class SolicitorEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicationId: string;
|
|
6
|
+
pageValidFlag: boolean;
|
|
7
|
+
accountNumber?: number;
|
|
8
|
+
addressCity?: string;
|
|
9
|
+
addressCountryLid: string;
|
|
10
|
+
addressLine1: string;
|
|
11
|
+
addressLine2?: string;
|
|
12
|
+
addressLine3?: string;
|
|
13
|
+
addressPostCode: string;
|
|
14
|
+
bankAddressLine1?: string;
|
|
15
|
+
bankAddressLine2?: string;
|
|
16
|
+
bankBranch?: string;
|
|
17
|
+
bankCity?: string;
|
|
18
|
+
contactPostcode?: string;
|
|
19
|
+
email: string;
|
|
20
|
+
institution?: string;
|
|
21
|
+
nameOfAccountHolder?: string;
|
|
22
|
+
nameOfFirm: string;
|
|
23
|
+
signatory?: string;
|
|
24
|
+
solicitorActing: string;
|
|
25
|
+
sortCode?: number;
|
|
26
|
+
telephone: string;
|
|
27
|
+
createdAt: Date;
|
|
28
|
+
updatedAt: Date;
|
|
29
|
+
application?: ApplicationEntity;
|
|
30
|
+
addressCountry?: LookupEntity;
|
|
31
|
+
constructor(partial: Partial<SolicitorEntity>);
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=solicitor.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solicitor.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/solicitor.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,qBAAa,eAAe;IACxB,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,EAAG,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAG,MAAM,CAAC;IAC3B,YAAY,EAAG,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,EAAG,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,EAAG,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,EAAG,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAG,MAAM,CAAC;IACnB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,cAAc,CAAC,EAAE,YAAY,CAAC;gBAElB,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC;CAGhD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { prisma } from './prisma';
|
|
2
|
+
export * as ApplicantEntities from './applicants';
|
|
3
|
+
export * as ApplicationEntities from './applications';
|
|
4
|
+
export * as ProductCatalogueEntities from './product-catalogues';
|
|
5
|
+
export * as PropertyEntities from './properties';
|
|
6
|
+
export * as SharedEntities from './shared';
|
|
7
|
+
export * as UnderwriterEntities from './underwriter';
|
|
8
|
+
export * as UserEntities from './users';
|
|
9
|
+
export type { PrismaClient } from '@prisma/client';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../entities/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,mBAAmB,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,wBAAwB,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,gBAAgB,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,cAAc,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,mBAAmB,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,YAAY,MAAM,SAAS,CAAC;AAGxC,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Export Prisma client
|
|
2
|
+
export { prisma } from './prisma';
|
|
3
|
+
// Export all entities from each domain
|
|
4
|
+
export * as ApplicantEntities from './applicants';
|
|
5
|
+
export * as ApplicationEntities from './applications';
|
|
6
|
+
export * as ProductCatalogueEntities from './product-catalogues';
|
|
7
|
+
export * as PropertyEntities from './properties';
|
|
8
|
+
export * as SharedEntities from './shared';
|
|
9
|
+
export * as UnderwriterEntities from './underwriter';
|
|
10
|
+
export * as UserEntities from './users';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prisma.d.ts","sourceRoot":"","sources":["../../entities/prisma.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,eAAO,MAAM,MAAM,gIAIb,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PrismaClient } from '@prisma/client';
|
|
2
|
+
// PrismaClient is attached to the `global` object in development to prevent
|
|
3
|
+
// exhausting your database connection limit.
|
|
4
|
+
const globalForPrisma = global;
|
|
5
|
+
export const prisma = globalForPrisma.prisma ||
|
|
6
|
+
new PrismaClient({
|
|
7
|
+
log: ['query'],
|
|
8
|
+
});
|
|
9
|
+
if (process.env.NODE_ENV !== 'production')
|
|
10
|
+
globalForPrisma.prisma = prisma;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ProductCatalogue, ProductDefinition, ProductVariant, Product, Rule } from '@prisma/client';
|
|
2
|
+
export type { ProductCatalogue, ProductDefinition, ProductVariant, Product, Rule };
|
|
3
|
+
export * from './product-catalogue.entity';
|
|
4
|
+
export * from './product-definition.entity';
|
|
5
|
+
export * from './product-variant.entity';
|
|
6
|
+
export * from './product.entity';
|
|
7
|
+
export * from './rule.entity';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,IAAI,EACP,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,IAAI,EACP,CAAC;AAGF,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ProductDefinitionEntity } from './product-definition.entity';
|
|
2
|
+
import { ProductVariantEntity } from './product-variant.entity';
|
|
3
|
+
export declare class ProductCatalogueEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
productCatalogueId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
applyFrom: string;
|
|
9
|
+
applyUntil: string;
|
|
10
|
+
submitUntil: string;
|
|
11
|
+
status: string;
|
|
12
|
+
lockedForEdit: string;
|
|
13
|
+
baseRateName?: string;
|
|
14
|
+
baseRate?: string;
|
|
15
|
+
mapperName?: string;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
productDefinitions?: ProductDefinitionEntity[];
|
|
19
|
+
productVariants?: ProductVariantEntity[];
|
|
20
|
+
constructor(partial: Partial<ProductCatalogueEntity>);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=product-catalogue.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-catalogue.entity.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/product-catalogue.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,qBAAa,sBAAsB;IAC/B,EAAE,EAAG,MAAM,CAAC;IACZ,kBAAkB,EAAG,MAAM,CAAC;IAC5B,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAG,MAAM,CAAC;IACnB,UAAU,EAAG,MAAM,CAAC;IACpB,WAAW,EAAG,MAAM,CAAC;IACrB,MAAM,EAAG,MAAM,CAAC;IAChB,aAAa,EAAG,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC/C,eAAe,CAAC,EAAE,oBAAoB,EAAE,CAAC;gBAE7B,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC;CAGvD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ProductCatalogueEntity } from './product-catalogue.entity';
|
|
2
|
+
import { RuleEntity } from './rule.entity';
|
|
3
|
+
export declare class ProductDefinitionEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
productDefinitionId: string;
|
|
6
|
+
productCatalogueId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
atLeastOnePass: string;
|
|
9
|
+
elements: any[];
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
updatedAt: Date;
|
|
12
|
+
productCatalogue?: ProductCatalogueEntity;
|
|
13
|
+
rules?: RuleEntity[];
|
|
14
|
+
constructor(partial: Partial<ProductDefinitionEntity>);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=product-definition.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-definition.entity.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/product-definition.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBAAa,uBAAuB;IAChC,EAAE,EAAG,MAAM,CAAC;IACZ,mBAAmB,EAAG,MAAM,CAAC;IAC7B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,IAAI,EAAG,MAAM,CAAC;IACd,cAAc,EAAG,MAAM,CAAC;IACxB,QAAQ,EAAG,GAAG,EAAE,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;gBAET,OAAO,EAAE,OAAO,CAAC,uBAAuB,CAAC;CAGxD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ProductCatalogueEntity } from './product-catalogue.entity';
|
|
2
|
+
export declare class ProductVariantEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
productCatalogueId: string;
|
|
5
|
+
variantid: string;
|
|
6
|
+
name: string;
|
|
7
|
+
variantCode: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
productCatalogue?: ProductCatalogueEntity;
|
|
12
|
+
constructor(partial: Partial<ProductVariantEntity>);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=product-variant.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-variant.entity.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/product-variant.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,qBAAa,oBAAoB;IAC7B,EAAE,EAAG,MAAM,CAAC;IACZ,kBAAkB,EAAG,MAAM,CAAC;IAC5B,SAAS,EAAG,MAAM,CAAC;IACnB,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,EAAG,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;gBAE9B,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC;CAGrD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ApplicationEntity } from '../applications/application.entity';
|
|
2
|
+
export declare class ProductEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
applications?: ApplicationEntity[];
|
|
9
|
+
constructor(partial: Partial<ProductEntity>);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=product.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.entity.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/product.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE,qBAAa,aAAa;IACtB,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;gBAEvB,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC;CAG9C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ProductDefinitionEntity } from './product-definition.entity';
|
|
2
|
+
export declare class RuleEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
ruleId: string;
|
|
5
|
+
rule: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
scope?: string;
|
|
9
|
+
mandatory: string;
|
|
10
|
+
overrideRuleType?: string;
|
|
11
|
+
overrideRuleMessage?: string;
|
|
12
|
+
inheritedFrom?: string;
|
|
13
|
+
anyPass: string;
|
|
14
|
+
preCashflow: string;
|
|
15
|
+
productDefinitionId: string;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
productDefinition?: ProductDefinitionEntity;
|
|
19
|
+
constructor(partial: Partial<RuleEntity>);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=rule.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.entity.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/rule.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,qBAAa,UAAU;IACnB,EAAE,EAAG,MAAM,CAAC;IACZ,MAAM,EAAG,MAAM,CAAC;IAChB,IAAI,EAAG,MAAM,CAAC;IACd,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAG,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAG,MAAM,CAAC;IACjB,WAAW,EAAG,MAAM,CAAC;IACrB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;gBAEhC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC;CAG3C"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SecurityEntity } from './security.entity';
|
|
2
|
+
export declare class DataStreetEntity {
|
|
3
|
+
id: number;
|
|
4
|
+
floorArea: string;
|
|
5
|
+
propertyType: string;
|
|
6
|
+
noOfBedrooms: string;
|
|
7
|
+
noOfBathrooms: string;
|
|
8
|
+
lats?: string;
|
|
9
|
+
longs?: string;
|
|
10
|
+
lmkKey: string;
|
|
11
|
+
matchConfidence: string;
|
|
12
|
+
transactions: any[];
|
|
13
|
+
nearByListings: any[];
|
|
14
|
+
nearByCompletedTransactions: any[];
|
|
15
|
+
risk: any;
|
|
16
|
+
securityId: number;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
security?: SecurityEntity;
|
|
20
|
+
constructor(partial: Partial<DataStreetEntity>);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=data-street.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-street.entity.d.ts","sourceRoot":"","sources":["../../../entities/properties/data-street.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBAAa,gBAAgB;IACzB,EAAE,EAAG,MAAM,CAAC;IACZ,SAAS,EAAG,MAAM,CAAC;IACnB,YAAY,EAAG,MAAM,CAAC;IACtB,YAAY,EAAG,MAAM,CAAC;IACtB,aAAa,EAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAG,MAAM,CAAC;IAChB,eAAe,EAAG,MAAM,CAAC;IACzB,YAAY,EAAG,GAAG,EAAE,CAAC;IACrB,cAAc,EAAG,GAAG,EAAE,CAAC;IACvB,2BAA2B,EAAG,GAAG,EAAE,CAAC;IACpC,IAAI,EAAG,GAAG,CAAC;IACX,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,QAAQ,CAAC,EAAE,cAAc,CAAC;gBAEd,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAAC;CAGjD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Property, Security, DataStreet } from '@prisma/client';
|
|
2
|
+
export type { Property, Security, DataStreet };
|
|
3
|
+
export * from './property.entity';
|
|
4
|
+
export * from './security.entity';
|
|
5
|
+
export * from './data-street.entity';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../entities/properties/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACb,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACb,CAAC;AAGF,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ApplicationEntity } from "../applications/application.entity";
|
|
2
|
+
import { LookupEntity } from "../shared/lookup.entity";
|
|
3
|
+
export declare class PropertyEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicationId: string;
|
|
6
|
+
pageValidFlag: boolean;
|
|
7
|
+
propertyId: string;
|
|
8
|
+
addressLine1: string;
|
|
9
|
+
addressLine2?: string;
|
|
10
|
+
addressLine3?: string;
|
|
11
|
+
associatedLoanPartiesIds: string[];
|
|
12
|
+
city?: string;
|
|
13
|
+
countryLid: string;
|
|
14
|
+
lender: string;
|
|
15
|
+
marketValue: number;
|
|
16
|
+
monthlyRent: number;
|
|
17
|
+
monthlyRepayment: number;
|
|
18
|
+
originalLoanBalance: number;
|
|
19
|
+
outstandingBalance: number;
|
|
20
|
+
otherOwnershipParties?: string;
|
|
21
|
+
postCode: string;
|
|
22
|
+
remainingTerm: number;
|
|
23
|
+
portfolioFile?: string;
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
updatedAt: Date;
|
|
26
|
+
application?: ApplicationEntity;
|
|
27
|
+
country?: LookupEntity;
|
|
28
|
+
constructor(partial: Partial<PropertyEntity>);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=property.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property.entity.d.ts","sourceRoot":"","sources":["../../../entities/properties/property.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGvD,qBAAa,cAAc;IACvB,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,EAAG,OAAO,CAAC;IACxB,UAAU,EAAG,MAAM,CAAC;IACpB,YAAY,EAAG,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wBAAwB,EAAG,MAAM,EAAE,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAG,MAAM,CAAC;IACpB,MAAM,EAAG,MAAM,CAAC;IAChB,WAAW,EAAG,MAAM,CAAC;IACrB,WAAW,EAAG,MAAM,CAAC;IACrB,gBAAgB,EAAG,MAAM,CAAC;IAC1B,mBAAmB,EAAG,MAAM,CAAC;IAC7B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,OAAO,CAAC,EAAE,YAAY,CAAC;gBAEX,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC;CAG/C"}
|