@dynamatix/gb-schemas 1.2.80 → 1.2.82

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.
Files changed (229) hide show
  1. package/dist/applicants/applicant-employment-income.model.d.ts +201 -0
  2. package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -0
  3. package/dist/applicants/applicant-employment-income.model.js +9 -0
  4. package/dist/applicants/applicant-employment.model.d.ts +0 -18
  5. package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
  6. package/dist/applicants/applicant-employment.model.js +0 -6
  7. package/dist/applicants/applicant-income.model.d.ts +12 -0
  8. package/dist/applicants/applicant-income.model.d.ts.map +1 -1
  9. package/dist/applicants/applicant-income.model.js +5 -1
  10. package/dist/applicants/applicant.model.d.ts +690 -3096
  11. package/dist/applicants/applicant.model.d.ts.map +1 -1
  12. package/dist/applicants/applicant.model.js +0 -2
  13. package/dist/entities/applicants/applicant.entity.d.ts +148 -0
  14. package/dist/entities/applicants/applicant.entity.d.ts.map +1 -0
  15. package/dist/entities/applicants/applicant.entity.js +51 -0
  16. package/dist/entities/applicants/credit-card-commitment.entity.d.ts +16 -0
  17. package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +1 -0
  18. package/dist/entities/applicants/credit-card-commitment.entity.js +5 -0
  19. package/dist/entities/applicants/credit-data.entity.d.ts +19 -0
  20. package/dist/entities/applicants/credit-data.entity.d.ts.map +1 -0
  21. package/dist/entities/applicants/credit-data.entity.js +5 -0
  22. package/dist/entities/applicants/credit-profile.entity.d.ts +11 -0
  23. package/dist/entities/applicants/credit-profile.entity.d.ts.map +1 -0
  24. package/dist/entities/applicants/credit-profile.entity.js +5 -0
  25. package/dist/entities/applicants/direct-debit.entity.d.ts +25 -0
  26. package/dist/entities/applicants/direct-debit.entity.d.ts.map +1 -0
  27. package/dist/entities/applicants/direct-debit.entity.js +5 -0
  28. package/dist/entities/applicants/employment.entity.d.ts +61 -0
  29. package/dist/entities/applicants/employment.entity.d.ts.map +1 -0
  30. package/dist/entities/applicants/employment.entity.js +10 -0
  31. package/dist/entities/applicants/expenditure.entity.d.ts +24 -0
  32. package/dist/entities/applicants/expenditure.entity.d.ts.map +1 -0
  33. package/dist/entities/applicants/expenditure.entity.js +5 -0
  34. package/dist/entities/applicants/income-source.entity.d.ts +17 -0
  35. package/dist/entities/applicants/income-source.entity.d.ts.map +1 -0
  36. package/dist/entities/applicants/income-source.entity.js +5 -0
  37. package/dist/entities/applicants/income.entity.d.ts +54 -0
  38. package/dist/entities/applicants/income.entity.d.ts.map +1 -0
  39. package/dist/entities/applicants/income.entity.js +5 -0
  40. package/dist/entities/applicants/index.d.ts +20 -0
  41. package/dist/entities/applicants/index.d.ts.map +1 -0
  42. package/dist/entities/applicants/index.js +18 -0
  43. package/dist/entities/applicants/loan-commitment.entity.d.ts +20 -0
  44. package/dist/entities/applicants/loan-commitment.entity.d.ts.map +1 -0
  45. package/dist/entities/applicants/loan-commitment.entity.js +5 -0
  46. package/dist/entities/applicants/lookup.entity.d.ts +10 -0
  47. package/dist/entities/applicants/lookup.entity.d.ts.map +1 -0
  48. package/dist/entities/applicants/lookup.entity.js +5 -0
  49. package/dist/entities/applicants/mortgage-commitment.entity.d.ts +37 -0
  50. package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +1 -0
  51. package/dist/entities/applicants/mortgage-commitment.entity.js +19 -0
  52. package/dist/entities/applicants/other-income.entity.d.ts +41 -0
  53. package/dist/entities/applicants/other-income.entity.d.ts.map +1 -0
  54. package/dist/entities/applicants/other-income.entity.js +19 -0
  55. package/dist/entities/applicants/property-income.entity.d.ts +17 -0
  56. package/dist/entities/applicants/property-income.entity.d.ts.map +1 -0
  57. package/dist/entities/applicants/property-income.entity.js +5 -0
  58. package/dist/entities/applicants/residence-commitment.entity.d.ts +44 -0
  59. package/dist/entities/applicants/residence-commitment.entity.d.ts.map +1 -0
  60. package/dist/entities/applicants/residence-commitment.entity.js +19 -0
  61. package/dist/entities/applicants/risk-narrative.entity.d.ts +23 -0
  62. package/dist/entities/applicants/risk-narrative.entity.d.ts.map +1 -0
  63. package/dist/entities/applicants/risk-narrative.entity.js +5 -0
  64. package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +21 -0
  65. package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +1 -0
  66. package/dist/entities/applicants/secure-loan-commitment.entity.js +9 -0
  67. package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +20 -0
  68. package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +1 -0
  69. package/dist/entities/applicants/unsecured-loan-commitment.entity.js +10 -0
  70. package/dist/entities/applications/application-audit.entity.d.ts +18 -0
  71. package/dist/entities/applications/application-audit.entity.d.ts.map +1 -0
  72. package/dist/entities/applications/application-audit.entity.js +5 -0
  73. package/dist/entities/applications/application-company.entity.d.ts +12 -0
  74. package/dist/entities/applications/application-company.entity.d.ts.map +1 -0
  75. package/dist/entities/applications/application-company.entity.js +5 -0
  76. package/dist/entities/applications/application-direct-debit.entity.d.ts +12 -0
  77. package/dist/entities/applications/application-direct-debit.entity.d.ts.map +1 -0
  78. package/dist/entities/applications/application-direct-debit.entity.js +5 -0
  79. package/dist/entities/applications/application-document.entity.d.ts +28 -0
  80. package/dist/entities/applications/application-document.entity.d.ts.map +1 -0
  81. package/dist/entities/applications/application-document.entity.js +5 -0
  82. package/dist/entities/applications/application-fieldconfig.entity.d.ts +9 -0
  83. package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +1 -0
  84. package/dist/entities/applications/application-fieldconfig.entity.js +5 -0
  85. package/dist/entities/applications/application-illustration.entity.d.ts +8 -0
  86. package/dist/entities/applications/application-illustration.entity.d.ts.map +1 -0
  87. package/dist/entities/applications/application-illustration.entity.js +5 -0
  88. package/dist/entities/applications/application-legal.entity.d.ts +9 -0
  89. package/dist/entities/applications/application-legal.entity.d.ts.map +1 -0
  90. package/dist/entities/applications/application-legal.entity.js +5 -0
  91. package/dist/entities/applications/application-mortgage.entity.d.ts +55 -0
  92. package/dist/entities/applications/application-mortgage.entity.d.ts.map +1 -0
  93. package/dist/entities/applications/application-mortgage.entity.js +27 -0
  94. package/dist/entities/applications/application-note.entity.d.ts +36 -0
  95. package/dist/entities/applications/application-note.entity.d.ts.map +1 -0
  96. package/dist/entities/applications/application-note.entity.js +5 -0
  97. package/dist/entities/applications/application-offer.entity.d.ts +8 -0
  98. package/dist/entities/applications/application-offer.entity.d.ts.map +1 -0
  99. package/dist/entities/applications/application-offer.entity.js +5 -0
  100. package/dist/entities/applications/application-onboarding.entity.d.ts +11 -0
  101. package/dist/entities/applications/application-onboarding.entity.d.ts.map +1 -0
  102. package/dist/entities/applications/application-onboarding.entity.js +5 -0
  103. package/dist/entities/applications/application-product.entity.d.ts +33 -0
  104. package/dist/entities/applications/application-product.entity.d.ts.map +1 -0
  105. package/dist/entities/applications/application-product.entity.js +5 -0
  106. package/dist/entities/applications/application-rationale.entity.d.ts +51 -0
  107. package/dist/entities/applications/application-rationale.entity.d.ts.map +1 -0
  108. package/dist/entities/applications/application-rationale.entity.js +5 -0
  109. package/dist/entities/applications/application-risk-narrative.entity.d.ts +17 -0
  110. package/dist/entities/applications/application-risk-narrative.entity.d.ts.map +1 -0
  111. package/dist/entities/applications/application-risk-narrative.entity.js +5 -0
  112. package/dist/entities/applications/application-valuation.entity.d.ts +18 -0
  113. package/dist/entities/applications/application-valuation.entity.d.ts.map +1 -0
  114. package/dist/entities/applications/application-valuation.entity.js +5 -0
  115. package/dist/entities/applications/application.entity.d.ts +99 -0
  116. package/dist/entities/applications/application.entity.d.ts.map +1 -0
  117. package/dist/entities/applications/application.entity.js +66 -0
  118. package/dist/entities/applications/broker.entity.d.ts +23 -0
  119. package/dist/entities/applications/broker.entity.d.ts.map +1 -0
  120. package/dist/entities/applications/broker.entity.js +5 -0
  121. package/dist/entities/applications/checklist-item.entity.d.ts +47 -0
  122. package/dist/entities/applications/checklist-item.entity.d.ts.map +1 -0
  123. package/dist/entities/applications/checklist-item.entity.js +5 -0
  124. package/dist/entities/applications/company.entity.d.ts +77 -0
  125. package/dist/entities/applications/company.entity.d.ts.map +1 -0
  126. package/dist/entities/applications/company.entity.js +23 -0
  127. package/dist/entities/applications/credit-profile.entity.d.ts +11 -0
  128. package/dist/entities/applications/credit-profile.entity.d.ts.map +1 -0
  129. package/dist/entities/applications/credit-profile.entity.js +5 -0
  130. package/dist/entities/applications/index.d.ts +25 -0
  131. package/dist/entities/applications/index.d.ts.map +1 -0
  132. package/dist/entities/applications/index.js +23 -0
  133. package/dist/entities/applications/product-features.entity.d.ts +54 -0
  134. package/dist/entities/applications/product-features.entity.d.ts.map +1 -0
  135. package/dist/entities/applications/product-features.entity.js +5 -0
  136. package/dist/entities/applications/solicitor.entity.d.ts +33 -0
  137. package/dist/entities/applications/solicitor.entity.d.ts.map +1 -0
  138. package/dist/entities/applications/solicitor.entity.js +5 -0
  139. package/dist/entities/index.d.ts +10 -0
  140. package/dist/entities/index.d.ts.map +1 -0
  141. package/dist/entities/index.js +10 -0
  142. package/dist/entities/prisma.d.ts +3 -0
  143. package/dist/entities/prisma.d.ts.map +1 -0
  144. package/dist/entities/prisma.js +10 -0
  145. package/dist/entities/product-catalogues/index.d.ts +8 -0
  146. package/dist/entities/product-catalogues/index.d.ts.map +1 -0
  147. package/dist/entities/product-catalogues/index.js +6 -0
  148. package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +22 -0
  149. package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +1 -0
  150. package/dist/entities/product-catalogues/product-catalogue.entity.js +5 -0
  151. package/dist/entities/product-catalogues/product-definition.entity.d.ts +16 -0
  152. package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +1 -0
  153. package/dist/entities/product-catalogues/product-definition.entity.js +5 -0
  154. package/dist/entities/product-catalogues/product-variant.entity.d.ts +14 -0
  155. package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +1 -0
  156. package/dist/entities/product-catalogues/product-variant.entity.js +5 -0
  157. package/dist/entities/product-catalogues/product.entity.d.ts +11 -0
  158. package/dist/entities/product-catalogues/product.entity.d.ts.map +1 -0
  159. package/dist/entities/product-catalogues/product.entity.js +5 -0
  160. package/dist/entities/product-catalogues/rule.entity.d.ts +21 -0
  161. package/dist/entities/product-catalogues/rule.entity.d.ts.map +1 -0
  162. package/dist/entities/product-catalogues/rule.entity.js +5 -0
  163. package/dist/entities/properties/data-street.entity.d.ts +22 -0
  164. package/dist/entities/properties/data-street.entity.d.ts.map +1 -0
  165. package/dist/entities/properties/data-street.entity.js +5 -0
  166. package/dist/entities/properties/index.d.ts +6 -0
  167. package/dist/entities/properties/index.d.ts.map +1 -0
  168. package/dist/entities/properties/index.js +4 -0
  169. package/dist/entities/properties/property.entity.d.ts +30 -0
  170. package/dist/entities/properties/property.entity.d.ts.map +1 -0
  171. package/dist/entities/properties/property.entity.js +5 -0
  172. package/dist/entities/properties/security.entity.d.ts +57 -0
  173. package/dist/entities/properties/security.entity.d.ts.map +1 -0
  174. package/dist/entities/properties/security.entity.js +5 -0
  175. package/dist/entities/shared/alert.entity.d.ts +14 -0
  176. package/dist/entities/shared/alert.entity.d.ts.map +1 -0
  177. package/dist/entities/shared/alert.entity.js +5 -0
  178. package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +16 -0
  179. package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +1 -0
  180. package/dist/entities/shared/apprivo-sync-journey.entity.js +5 -0
  181. package/dist/entities/shared/checklist.entity.d.ts +15 -0
  182. package/dist/entities/shared/checklist.entity.d.ts.map +1 -0
  183. package/dist/entities/shared/checklist.entity.js +5 -0
  184. package/dist/entities/shared/document-type.entity.d.ts +9 -0
  185. package/dist/entities/shared/document-type.entity.d.ts.map +1 -0
  186. package/dist/entities/shared/document-type.entity.js +5 -0
  187. package/dist/entities/shared/index.d.ts +12 -0
  188. package/dist/entities/shared/index.d.ts.map +1 -0
  189. package/dist/entities/shared/index.js +10 -0
  190. package/dist/entities/shared/job-run.entity.d.ts +11 -0
  191. package/dist/entities/shared/job-run.entity.d.ts.map +1 -0
  192. package/dist/entities/shared/job-run.entity.js +5 -0
  193. package/dist/entities/shared/job-setting.entity.d.ts +11 -0
  194. package/dist/entities/shared/job-setting.entity.d.ts.map +1 -0
  195. package/dist/entities/shared/job-setting.entity.js +5 -0
  196. package/dist/entities/shared/lookup-group.entity.d.ts +11 -0
  197. package/dist/entities/shared/lookup-group.entity.d.ts.map +1 -0
  198. package/dist/entities/shared/lookup-group.entity.js +5 -0
  199. package/dist/entities/shared/lookup.entity.d.ts +14 -0
  200. package/dist/entities/shared/lookup.entity.d.ts.map +1 -0
  201. package/dist/entities/shared/lookup.entity.js +5 -0
  202. package/dist/entities/shared/system-parameter.entity.d.ts +10 -0
  203. package/dist/entities/shared/system-parameter.entity.d.ts.map +1 -0
  204. package/dist/entities/shared/system-parameter.entity.js +5 -0
  205. package/dist/entities/underwriter/index.d.ts +4 -0
  206. package/dist/entities/underwriter/index.d.ts.map +1 -0
  207. package/dist/entities/underwriter/index.js +2 -0
  208. package/dist/entities/underwriter/underwriter.entity.d.ts +16 -0
  209. package/dist/entities/underwriter/underwriter.entity.d.ts.map +1 -0
  210. package/dist/entities/underwriter/underwriter.entity.js +5 -0
  211. package/dist/entities/users/auth-log.entity.d.ts +11 -0
  212. package/dist/entities/users/auth-log.entity.d.ts.map +1 -0
  213. package/dist/entities/users/auth-log.entity.js +5 -0
  214. package/dist/entities/users/index.d.ts +8 -0
  215. package/dist/entities/users/index.d.ts.map +1 -0
  216. package/dist/entities/users/index.js +6 -0
  217. package/dist/entities/users/permission.entity.d.ts +12 -0
  218. package/dist/entities/users/permission.entity.d.ts.map +1 -0
  219. package/dist/entities/users/permission.entity.js +5 -0
  220. package/dist/entities/users/role-group.entity.d.ts +12 -0
  221. package/dist/entities/users/role-group.entity.d.ts.map +1 -0
  222. package/dist/entities/users/role-group.entity.js +5 -0
  223. package/dist/entities/users/role.entity.d.ts +14 -0
  224. package/dist/entities/users/role.entity.d.ts.map +1 -0
  225. package/dist/entities/users/role.entity.js +5 -0
  226. package/dist/entities/users/user.entity.d.ts +35 -0
  227. package/dist/entities/users/user.entity.d.ts.map +1 -0
  228. package/dist/entities/users/user.entity.js +10 -0
  229. package/package.json +1 -1
@@ -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,11 @@
1
+ export declare class CreditProfileEntity {
2
+ id: string;
3
+ anyVoluntaryEnforcedPossessionNo: string;
4
+ bankruptcyNo: string;
5
+ ccjInLastThreeYearNo: string;
6
+ defaultsInLastYearNo: string;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ constructor(partial: Partial<CreditProfileEntity>);
10
+ }
11
+ //# sourceMappingURL=credit-profile.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit-profile.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/credit-profile.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;IAC5B,EAAE,EAAG,MAAM,CAAC;IACZ,gCAAgC,EAAG,MAAM,CAAC;IAC1C,YAAY,EAAG,MAAM,CAAC;IACtB,oBAAoB,EAAG,MAAM,CAAC;IAC9B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,mBAAmB,CAAC;CAGpD"}
@@ -0,0 +1,5 @@
1
+ export class CreditProfileEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,25 @@
1
+ import type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, CreditProfile, ApplicationRationale, ApplicationRiskNarrative, ApplicationValuation, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit } from '@prisma/client';
2
+ export type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, CreditProfile, ApplicationRationale, ApplicationRiskNarrative, ApplicationValuation, 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 './credit-profile.entity';
10
+ export * from './application-rationale.entity';
11
+ export * from './application-risk-narrative.entity';
12
+ export * from './application-valuation.entity';
13
+ export * from './application-product.entity';
14
+ export * from './application-note.entity';
15
+ export * from './application-offer.entity';
16
+ export * from './application-onboarding.entity';
17
+ export * from './application-illustration.entity';
18
+ export * from './application-legal.entity';
19
+ export * from './application-mortgage.entity';
20
+ export * from './application-document.entity';
21
+ export * from './application-fieldconfig.entity';
22
+ export * from './application-audit.entity';
23
+ export * from './application-company.entity';
24
+ export * from './application-direct-debit.entity';
25
+ //# 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,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,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,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,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,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,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,23 @@
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 './credit-profile.entity';
9
+ export * from './application-rationale.entity';
10
+ export * from './application-risk-narrative.entity';
11
+ export * from './application-valuation.entity';
12
+ export * from './application-product.entity';
13
+ export * from './application-note.entity';
14
+ export * from './application-offer.entity';
15
+ export * from './application-onboarding.entity';
16
+ export * from './application-illustration.entity';
17
+ export * from './application-legal.entity';
18
+ export * from './application-mortgage.entity';
19
+ export * from './application-document.entity';
20
+ export * from './application-fieldconfig.entity';
21
+ export * from './application-audit.entity';
22
+ export * from './application-company.entity';
23
+ 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,5 @@
1
+ export class ProductFeaturesEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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?: string;
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,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,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,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,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,5 @@
1
+ export class SolicitorEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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,3 @@
1
+ import { PrismaClient } from '@prisma/client';
2
+ export declare const prisma: PrismaClient<import(".prisma/client").Prisma.PrismaClientOptions, never, import("@prisma/client/runtime/library").DefaultArgs>;
3
+ //# sourceMappingURL=prisma.d.ts.map
@@ -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,6 @@
1
+ // Export entity classes
2
+ export * from './product-catalogue.entity';
3
+ export * from './product-definition.entity';
4
+ export * from './product-variant.entity';
5
+ export * from './product.entity';
6
+ export * from './rule.entity';
@@ -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,5 @@
1
+ export class ProductCatalogueEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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,5 @@
1
+ export class ProductDefinitionEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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,5 @@
1
+ export class ProductVariantEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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,5 @@
1
+ export class ProductEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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,5 @@
1
+ export class RuleEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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,5 @@
1
+ export class DataStreetEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -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,4 @@
1
+ // Export entity classes
2
+ export * from './property.entity';
3
+ export * from './security.entity';
4
+ export * from './data-street.entity';
@@ -0,0 +1,30 @@
1
+ import { LookupEntity } from '../shared/lookup.entity';
2
+ import { ApplicationEntity } from "../applications";
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,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGpD,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"}
@@ -0,0 +1,5 @@
1
+ export class PropertyEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,57 @@
1
+ import { ApplicationEntity } from '../applications/application.entity';
2
+ import { LookupEntity } from '../shared/lookup.entity';
3
+ import { DataStreetEntity } from './data-street.entity';
4
+ export declare class SecurityEntity {
5
+ id: string;
6
+ applicationId: string;
7
+ pageValidFlag: boolean;
8
+ haveAnyBuyToLetProperties: boolean;
9
+ isPropertyInEnglandOrWales: boolean;
10
+ noOfBuyToLetProperties: number;
11
+ totalMonthlyRentalIncome: number;
12
+ totalMonthlyRepayment: number;
13
+ totalOutstandingBalance: number;
14
+ areAllBedRoomsOver10sqm: boolean;
15
+ isBrickTileConstruction: boolean;
16
+ constructionDetails: string;
17
+ isExLAExclusion: boolean;
18
+ isFlatLift: boolean;
19
+ flatNumberOfBedrooms: number;
20
+ isGreenEPC: boolean;
21
+ isGroundRent: number;
22
+ isHouseLicensed: boolean;
23
+ houseNumberOfFloors: number;
24
+ houseNumberOfKitchens: number;
25
+ houseNumberOfLivingRooms: number;
26
+ houseNumberOfBathrooms: number;
27
+ houseNumberOfTenancies: number;
28
+ hasHousePlanningPermission: boolean;
29
+ isGarage: boolean;
30
+ isNewBuild: boolean;
31
+ propertyAddressCity: string;
32
+ propertyAddressCountryLid: string;
33
+ propertyAddressLine1: string;
34
+ propertyAddressLine2: string;
35
+ propertyAddressLine3: string;
36
+ propertyAddressPostCode: string;
37
+ propertyTenureLid: string;
38
+ propertyTypeLid?: string;
39
+ propertyYearBuilt: number;
40
+ receiptOfAnyDiscount: boolean;
41
+ receiptOfDiscountDetails: string;
42
+ sectorExperience: string;
43
+ serviceCharge: number;
44
+ unexpiredRemainingLease: number;
45
+ yearLeaseExpires: number;
46
+ energyEfficiencyRating?: string;
47
+ energyEfficiencyRatingValue?: string;
48
+ createdAt: Date;
49
+ updatedAt: Date;
50
+ application?: ApplicationEntity;
51
+ propertyAddressCountry?: LookupEntity;
52
+ propertyTenure?: LookupEntity;
53
+ propertyType?: LookupEntity;
54
+ dataStreet?: DataStreetEntity;
55
+ constructor(partial: Partial<SecurityEntity>);
56
+ }
57
+ //# sourceMappingURL=security.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.entity.d.ts","sourceRoot":"","sources":["../../../entities/properties/security.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBAAa,cAAc;IACvB,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,EAAG,OAAO,CAAC;IACxB,yBAAyB,EAAG,OAAO,CAAC;IACpC,0BAA0B,EAAG,OAAO,CAAC;IACrC,sBAAsB,EAAG,MAAM,CAAC;IAChC,wBAAwB,EAAG,MAAM,CAAC;IAClC,qBAAqB,EAAG,MAAM,CAAC;IAC/B,uBAAuB,EAAG,MAAM,CAAC;IACjC,uBAAuB,EAAG,OAAO,CAAC;IAClC,uBAAuB,EAAG,OAAO,CAAC;IAClC,mBAAmB,EAAG,MAAM,CAAC;IAC7B,eAAe,EAAG,OAAO,CAAC;IAC1B,UAAU,EAAG,OAAO,CAAC;IACrB,oBAAoB,EAAG,MAAM,CAAC;IAC9B,UAAU,EAAG,OAAO,CAAC;IACrB,YAAY,EAAG,MAAM,CAAC;IACtB,eAAe,EAAG,OAAO,CAAC;IAC1B,mBAAmB,EAAG,MAAM,CAAC;IAC7B,qBAAqB,EAAG,MAAM,CAAC;IAC/B,wBAAwB,EAAG,MAAM,CAAC;IAClC,sBAAsB,EAAG,MAAM,CAAC;IAChC,sBAAsB,EAAG,MAAM,CAAC;IAChC,0BAA0B,EAAG,OAAO,CAAC;IACrC,QAAQ,EAAG,OAAO,CAAC;IACnB,UAAU,EAAG,OAAO,CAAC;IACrB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,yBAAyB,EAAG,MAAM,CAAC;IACnC,oBAAoB,EAAG,MAAM,CAAC;IAC9B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,uBAAuB,EAAG,MAAM,CAAC;IACjC,iBAAiB,EAAG,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAG,MAAM,CAAC;IAC3B,oBAAoB,EAAG,OAAO,CAAC;IAC/B,wBAAwB,EAAG,MAAM,CAAC;IAClC,gBAAgB,EAAG,MAAM,CAAC;IAC1B,aAAa,EAAG,MAAM,CAAC;IACvB,uBAAuB,EAAG,MAAM,CAAC;IACjC,gBAAgB,EAAG,MAAM,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,sBAAsB,CAAC,EAAE,YAAY,CAAC;IACtC,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,gBAAgB,CAAC;gBAElB,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC;CAG/C"}
@@ -0,0 +1,5 @@
1
+ export class SecurityEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }
@@ -0,0 +1,14 @@
1
+ import { UserEntity } from '../users/user.entity';
2
+ export declare class AlertEntity {
3
+ id: string;
4
+ title: string;
5
+ message: string;
6
+ type: string;
7
+ isRead: boolean;
8
+ userId: string;
9
+ createdAt: Date;
10
+ updatedAt: Date;
11
+ user?: UserEntity;
12
+ constructor(partial: Partial<AlertEntity>);
13
+ }
14
+ //# sourceMappingURL=alert.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.entity.d.ts","sourceRoot":"","sources":["../../../entities/shared/alert.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,qBAAa,WAAW;IACpB,EAAE,EAAG,MAAM,CAAC;IACZ,KAAK,EAAG,MAAM,CAAC;IACf,OAAO,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IACd,MAAM,EAAG,OAAO,CAAC;IACjB,MAAM,EAAG,MAAM,CAAC;IAChB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,IAAI,CAAC,EAAE,UAAU,CAAC;gBAEN,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC;CAG5C"}
@@ -0,0 +1,5 @@
1
+ export class AlertEntity {
2
+ constructor(partial) {
3
+ Object.assign(this, partial);
4
+ }
5
+ }