@dynamatix/gb-schemas 2.0.34 → 2.0.36
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 +1094 -0
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-additional-income.model.js +33 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +508 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-creditCard.model.js +34 -0
- package/dist/applicants/applicant-commitment-loan.model.d.ts +394 -0
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-loan.model.js +38 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +472 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-mortgage.model.js +69 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts +728 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-residence.model.js +50 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +368 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.js +29 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +362 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +28 -0
- package/dist/applicants/applicant-credit-data.model.d.ts +32 -0
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -0
- package/dist/applicants/applicant-credit-data.model.js +11 -0
- package/dist/applicants/applicant-credit-profile.model.d.ts +23 -0
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -0
- package/dist/applicants/applicant-credit-profile.model.js +20 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts +61 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -0
- package/dist/applicants/applicant-direct-debit.model.js +17 -0
- package/dist/applicants/applicant-employment-income.model.d.ts +175 -0
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-employment-income.model.js +9 -0
- package/dist/applicants/applicant-employment.model.d.ts +136 -0
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -0
- package/dist/applicants/applicant-employment.model.js +50 -0
- package/dist/applicants/applicant-expenditure.model.d.ts +87 -0
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -0
- package/dist/applicants/applicant-expenditure.model.js +54 -0
- package/dist/applicants/applicant-income-source.model.d.ts +26 -0
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income-source.model.js +9 -0
- package/dist/applicants/applicant-income.model.d.ts +220 -0
- package/dist/applicants/applicant-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income.model.js +81 -0
- package/dist/applicants/applicant-pension-income.model.d.ts +457 -0
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-pension-income.model.js +14 -0
- package/dist/applicants/applicant-property-income.model.d.ts +907 -0
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-property-income.model.js +23 -0
- package/dist/applicants/applicant-risk-narrative.model.d.ts +38 -0
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -0
- package/dist/applicants/applicant-risk-narrative.model.js +13 -0
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +463 -0
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -0
- package/dist/applicants/applicant-uk-tax-credits.model.js +11 -0
- package/dist/applicants/applicant.model.d.ts +134 -0
- package/dist/applicants/applicant.model.d.ts.map +1 -0
- package/dist/applicants/applicant.model.js +223 -0
- package/dist/applicants/index.d.ts +14 -0
- package/dist/applicants/index.d.ts.map +1 -0
- package/dist/applicants/index.js +13 -0
- package/dist/applications/application-audit.model.d.ts +92 -0
- package/dist/applications/application-audit.model.d.ts.map +1 -0
- package/dist/applications/application-audit.model.js +42 -0
- package/dist/applications/application-checklist-Item.model.d.ts +258 -0
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -0
- package/dist/applications/application-checklist-Item.model.js +45 -0
- package/dist/applications/application-company-model.d.ts +1484 -0
- package/dist/applications/application-company-model.d.ts.map +1 -0
- package/dist/applications/application-company-model.js +120 -0
- package/dist/applications/application-credit-profile.model.d.ts +35 -0
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -0
- package/dist/applications/application-credit-profile.model.js +12 -0
- package/dist/applications/application-direct-debit.model.d.ts +545 -0
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -0
- package/dist/applications/application-direct-debit.model.js +92 -0
- package/dist/applications/application-document.model.d.ts +158 -0
- package/dist/applications/application-document.model.d.ts.map +1 -0
- package/dist/applications/application-document.model.js +35 -0
- package/dist/applications/application-fieldconfig.model.d.ts +30 -0
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -0
- package/dist/applications/application-fieldconfig.model.js +7 -0
- package/dist/applications/application-illustration-model.d.ts +24 -0
- package/dist/applications/application-illustration-model.d.ts.map +1 -0
- package/dist/applications/application-illustration-model.js +6 -0
- package/dist/applications/application-legal.model.d.ts +30 -0
- package/dist/applications/application-legal.model.d.ts.map +1 -0
- package/dist/applications/application-legal.model.js +7 -0
- package/dist/applications/application-mortgage.model.d.ts +1203 -0
- package/dist/applications/application-mortgage.model.d.ts.map +1 -0
- package/dist/applications/application-mortgage.model.js +271 -0
- package/dist/applications/application-note.model.d.ts +144 -0
- package/dist/applications/application-note.model.d.ts.map +1 -0
- package/dist/applications/application-note.model.js +78 -0
- package/dist/applications/application-offer.model.d.ts +24 -0
- package/dist/applications/application-offer.model.d.ts.map +1 -0
- package/dist/applications/application-offer.model.js +6 -0
- package/dist/applications/application-onboarding.model.d.ts +42 -0
- package/dist/applications/application-onboarding.model.d.ts.map +1 -0
- package/dist/applications/application-onboarding.model.js +9 -0
- package/dist/applications/application-product.model.d.ts +120 -0
- package/dist/applications/application-product.model.d.ts.map +1 -0
- package/dist/applications/application-product.model.js +67 -0
- package/dist/applications/application-productfeatures.model.d.ts +738 -0
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -0
- package/dist/applications/application-productfeatures.model.js +96 -0
- package/dist/applications/application-rationale.model.d.ts +216 -0
- package/dist/applications/application-rationale.model.d.ts.map +1 -0
- package/dist/applications/application-rationale.model.js +38 -0
- package/dist/applications/application-risk-narrative.model.d.ts +60 -0
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -0
- package/dist/applications/application-risk-narrative.model.js +12 -0
- package/dist/applications/application-valuation.model.d.ts +44 -0
- package/dist/applications/application-valuation.model.d.ts.map +1 -0
- package/dist/applications/application-valuation.model.js +15 -0
- package/dist/applications/application.model.d.ts +428 -0
- package/dist/applications/application.model.d.ts.map +1 -0
- package/dist/applications/application.model.js +153 -0
- package/dist/applications/broker.model.d.ts +134 -0
- package/dist/applications/broker.model.d.ts.map +1 -0
- package/dist/applications/broker.model.js +21 -0
- package/dist/applications/document.model.d.ts +158 -0
- package/dist/applications/document.model.d.ts.map +1 -0
- package/dist/applications/document.model.js +35 -0
- package/dist/applications/index.d.ts +21 -0
- package/dist/applications/index.d.ts.map +1 -0
- package/dist/applications/index.js +20 -0
- package/dist/applications/solicitor.model.d.ts +177 -0
- package/dist/applications/solicitor.model.d.ts.map +1 -0
- package/dist/applications/solicitor.model.js +114 -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 +55 -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/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/product-catalogues/index.d.ts +4 -0
- package/dist/product-catalogues/index.d.ts.map +1 -0
- package/dist/product-catalogues/index.js +3 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts +104 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -0
- package/dist/product-catalogues/product-catalogue.model.js +18 -0
- package/dist/product-catalogues/product-definitions.model.d.ts +290 -0
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -0
- package/dist/product-catalogues/product-definitions.model.js +26 -0
- package/dist/product-catalogues/product-variant.model.d.ts +68 -0
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -0
- package/dist/product-catalogues/product-variant.model.js +12 -0
- package/dist/properties/index.d.ts +3 -0
- package/dist/properties/index.d.ts.map +1 -0
- package/dist/properties/index.js +2 -0
- package/dist/properties/property.model.d.ts +1131 -0
- package/dist/properties/property.model.d.ts.map +1 -0
- package/dist/properties/property.model.js +144 -0
- package/dist/properties/security.model.d.ts +285 -0
- package/dist/properties/security.model.d.ts.map +1 -0
- package/dist/properties/security.model.js +143 -0
- package/dist/shared/alert.model.d.ts +74 -0
- package/dist/shared/alert.model.d.ts.map +1 -0
- package/dist/shared/alert.model.js +24 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts +86 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -0
- package/dist/shared/apprivo-sync-journey.model.js +17 -0
- package/dist/shared/checklist.model.d.ts +74 -0
- package/dist/shared/checklist.model.d.ts.map +1 -0
- package/dist/shared/checklist.model.js +30 -0
- package/dist/shared/document-type-model.d.ts +48 -0
- package/dist/shared/document-type-model.d.ts.map +1 -0
- package/dist/shared/document-type-model.js +10 -0
- package/dist/shared/index.d.ts +13 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +12 -0
- package/dist/shared/job-run.model.d.ts +48 -0
- package/dist/shared/job-run.model.d.ts.map +1 -0
- package/dist/shared/job-run.model.js +14 -0
- package/dist/shared/job-setting.model.d.ts +42 -0
- package/dist/shared/job-setting.model.d.ts.map +1 -0
- package/dist/shared/job-setting.model.js +11 -0
- package/dist/shared/lookup-group.model.d.ts +30 -0
- package/dist/shared/lookup-group.model.d.ts.map +1 -0
- package/dist/shared/lookup-group.model.js +16 -0
- package/dist/shared/lookup.model.d.ts +42 -0
- package/dist/shared/lookup.model.d.ts.map +1 -0
- package/dist/shared/lookup.model.js +20 -0
- package/dist/shared/schema-doc.model.d.ts +48 -0
- package/dist/shared/schema-doc.model.d.ts.map +1 -0
- package/dist/shared/schema-doc.model.js +11 -0
- package/dist/shared/system-parameter.model.d.ts +60 -0
- package/dist/shared/system-parameter.model.d.ts.map +1 -0
- package/dist/shared/system-parameter.model.js +32 -0
- package/dist/shared/task-document.model.d.ts +42 -0
- package/dist/shared/task-document.model.d.ts.map +1 -0
- package/dist/shared/task-document.model.js +23 -0
- package/dist/shared/task.model.d.ts +206 -0
- package/dist/shared/task.model.d.ts.map +1 -0
- package/dist/shared/task.model.js +15 -0
- package/dist/underwriter/index.d.ts +2 -0
- package/dist/underwriter/index.d.ts.map +1 -0
- package/dist/underwriter/index.js +1 -0
- package/dist/underwriter/underwriter.model.d.ts +98 -0
- package/dist/underwriter/underwriter.model.d.ts.map +1 -0
- package/dist/underwriter/underwriter.model.js +17 -0
- package/dist/users/auth-log.model.d.ts +42 -0
- package/dist/users/auth-log.model.d.ts.map +1 -0
- package/dist/users/auth-log.model.js +21 -0
- package/dist/users/index.d.ts +7 -0
- package/dist/users/index.d.ts.map +1 -0
- package/dist/users/index.js +6 -0
- package/dist/users/permission.model.d.ts +56 -0
- package/dist/users/permission.model.d.ts.map +1 -0
- package/dist/users/permission.model.js +10 -0
- package/dist/users/role-group.model.d.ts +62 -0
- package/dist/users/role-group.model.d.ts.map +1 -0
- package/dist/users/role-group.model.js +14 -0
- package/dist/users/role.model.d.ts +62 -0
- package/dist/users/role.model.d.ts.map +1 -0
- package/dist/users/role.model.js +13 -0
- package/dist/users/tasks.model.d.ts +86 -0
- package/dist/users/tasks.model.d.ts.map +1 -0
- package/dist/users/tasks.model.js +15 -0
- package/dist/users/user.model.d.ts +188 -0
- package/dist/users/user.model.d.ts.map +1 -0
- package/dist/users/user.model.js +30 -0
- package/dist/value-objects/pound.d.ts +15 -0
- package/dist/value-objects/pound.d.ts.map +1 -0
- package/dist/value-objects/pound.js +26 -0
- package/dist/value-objects/sort-code.d.ts +15 -0
- package/dist/value-objects/sort-code.d.ts.map +1 -0
- package/dist/value-objects/sort-code.js +25 -0
- package/entities/applications/application-mortgage.entity.ts +1 -1
- package/package.json +1 -1
- package/prisma/applications/application-mortgage.prisma +2 -2
- package/prisma/migrations/20250512071728_update_mortgage_schema/migration.sql +15 -15
- package/prisma/migrations/20250512094011_update_property_schema/migration.sql +34 -34
- package/prisma/migrations/20250512102019_update_mortgage_schema/migration.sql +2 -0
- package/prisma/schema.prisma +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-mortgage.model.d.ts","sourceRoot":"","sources":["../../applications/application-mortgage.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AA0S/C,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AAEjE,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
import { Pound } from "../value-objects/pound";
|
|
3
|
+
const mortgageSchema = new mongoose.Schema({
|
|
4
|
+
applicationId: {
|
|
5
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
6
|
+
ref: "Application",
|
|
7
|
+
required: true,
|
|
8
|
+
description: "Unique identifier for the application",
|
|
9
|
+
},
|
|
10
|
+
pageValidFlag: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: false,
|
|
13
|
+
description: "True if all mandatory fields have been completed, otherwise false",
|
|
14
|
+
},
|
|
15
|
+
existingMortgageLender: {
|
|
16
|
+
type: String,
|
|
17
|
+
maxlength: 35,
|
|
18
|
+
description: "Name of the existing mortgage lender",
|
|
19
|
+
},
|
|
20
|
+
topSlicing: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false,
|
|
23
|
+
description: "Indicates if the mortgage is being paid off using top slicing",
|
|
24
|
+
},
|
|
25
|
+
purposeOfMortgage: {
|
|
26
|
+
type: String,
|
|
27
|
+
required: true,
|
|
28
|
+
maxlength: 50,
|
|
29
|
+
description: "Purpose of the mortgage (e.g., purchase, refinance)",
|
|
30
|
+
},
|
|
31
|
+
depositComeFromLids: {
|
|
32
|
+
type: [mongoose.Schema.Types.ObjectId],
|
|
33
|
+
ref: "Lookup",
|
|
34
|
+
required: true,
|
|
35
|
+
default: null,
|
|
36
|
+
description: "Where the deposit for the mortgage will come from",
|
|
37
|
+
},
|
|
38
|
+
ifOtherDetails: {
|
|
39
|
+
type: String,
|
|
40
|
+
maxlength: 50,
|
|
41
|
+
required: true,
|
|
42
|
+
description: "Details if the deposit comes from 'Other'",
|
|
43
|
+
},
|
|
44
|
+
purchasePrice: {
|
|
45
|
+
type: Pound,
|
|
46
|
+
required: true,
|
|
47
|
+
description: "Purchase price of the property",
|
|
48
|
+
},
|
|
49
|
+
repaymentTypeLid: {
|
|
50
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
51
|
+
ref: "Lookup",
|
|
52
|
+
required: true,
|
|
53
|
+
default: null,
|
|
54
|
+
description: "Lookup ID representing the type of repayment (e.g., interest-only, repayment)",
|
|
55
|
+
},
|
|
56
|
+
exitStrategyLid: {
|
|
57
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
58
|
+
ref: "Lookup",
|
|
59
|
+
required: true,
|
|
60
|
+
default: null,
|
|
61
|
+
description: "Lookup ID representing the Exit strategy for the mortgage)",
|
|
62
|
+
},
|
|
63
|
+
isCapitalRaise: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: false,
|
|
66
|
+
description: "Indicates if capital raising is part of this finance",
|
|
67
|
+
},
|
|
68
|
+
purchaseDate: {
|
|
69
|
+
type: String,
|
|
70
|
+
required: true,
|
|
71
|
+
default: null,
|
|
72
|
+
description: "Purchase date of the property",
|
|
73
|
+
},
|
|
74
|
+
estimatedValue: {
|
|
75
|
+
type: Pound,
|
|
76
|
+
required: true,
|
|
77
|
+
description: "Estimated value of the property",
|
|
78
|
+
},
|
|
79
|
+
loanRequired: {
|
|
80
|
+
type: Pound,
|
|
81
|
+
required: true,
|
|
82
|
+
description: "Amount of finance required",
|
|
83
|
+
},
|
|
84
|
+
monthlyRentalIncome: {
|
|
85
|
+
type: Pound,
|
|
86
|
+
required: true,
|
|
87
|
+
description: "Monthly rental income from the property",
|
|
88
|
+
},
|
|
89
|
+
outstandingBalance: {
|
|
90
|
+
type: Pound,
|
|
91
|
+
required: true,
|
|
92
|
+
description: "Outstanding balance on the existing mortgage",
|
|
93
|
+
},
|
|
94
|
+
fundRaisedFor: {
|
|
95
|
+
type: String,
|
|
96
|
+
maxlength: 250,
|
|
97
|
+
required: true,
|
|
98
|
+
description: "What the funds raised will be used for",
|
|
99
|
+
},
|
|
100
|
+
sourceOfFundsLid: {
|
|
101
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
102
|
+
ref: "Lookup",
|
|
103
|
+
required: true,
|
|
104
|
+
default: null,
|
|
105
|
+
description: "Lookup ID representing the Main source of income for monthly finance payments",
|
|
106
|
+
},
|
|
107
|
+
sourceOfFundDetails: {
|
|
108
|
+
type: String,
|
|
109
|
+
maxlength: 50,
|
|
110
|
+
required: true,
|
|
111
|
+
description: "Additional details if the source of funds is 'Other'",
|
|
112
|
+
},
|
|
113
|
+
propertyValuationDetails: {
|
|
114
|
+
type: String,
|
|
115
|
+
maxlength: 35,
|
|
116
|
+
required: true,
|
|
117
|
+
description: "Details on who to contact for property valuation",
|
|
118
|
+
},
|
|
119
|
+
telephoneNumber: {
|
|
120
|
+
type: String,
|
|
121
|
+
maxlength: 15,
|
|
122
|
+
required: true,
|
|
123
|
+
description: "Contact number for property valuation",
|
|
124
|
+
},
|
|
125
|
+
isDistressedSale: {
|
|
126
|
+
type: Boolean,
|
|
127
|
+
default: false,
|
|
128
|
+
required: true,
|
|
129
|
+
description: "Indicates if this is a distressed sale",
|
|
130
|
+
},
|
|
131
|
+
isPurchasedBelowMarketValue: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
default: false,
|
|
134
|
+
required: true,
|
|
135
|
+
description: "Indicates if the property is purchased below market value",
|
|
136
|
+
},
|
|
137
|
+
isPurchasedAsSale: {
|
|
138
|
+
type: Boolean,
|
|
139
|
+
default: false,
|
|
140
|
+
required: true,
|
|
141
|
+
description: "Indicates if the property is purchased as a sale and rent back",
|
|
142
|
+
},
|
|
143
|
+
isReadyToSell: {
|
|
144
|
+
type: Boolean,
|
|
145
|
+
default: false,
|
|
146
|
+
description: "Indicates if the property is ready to sell or let out",
|
|
147
|
+
},
|
|
148
|
+
isGovernmentInitiative: {
|
|
149
|
+
type: Boolean,
|
|
150
|
+
default: false,
|
|
151
|
+
description: "Indicates if this purchase is part of a government initiative",
|
|
152
|
+
},
|
|
153
|
+
vendorsName: {
|
|
154
|
+
type: String,
|
|
155
|
+
maxlength: 35,
|
|
156
|
+
description: "Vendor's name in case of property sale",
|
|
157
|
+
},
|
|
158
|
+
saleMadeLid: {
|
|
159
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
160
|
+
ref: "Lookup",
|
|
161
|
+
description: "Method of sale made",
|
|
162
|
+
},
|
|
163
|
+
isTheIntentionToLet: {
|
|
164
|
+
type: Boolean,
|
|
165
|
+
default: false,
|
|
166
|
+
description: "Indicates if the intention is to let out the property",
|
|
167
|
+
},
|
|
168
|
+
proposedTenantsLids: {
|
|
169
|
+
type: [mongoose.Schema.Types.ObjectId],
|
|
170
|
+
ref: "Lookup",
|
|
171
|
+
description: "Proposed tenants for the property",
|
|
172
|
+
},
|
|
173
|
+
leaseTypeLid: {
|
|
174
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
175
|
+
ref: "Lookup",
|
|
176
|
+
required: true,
|
|
177
|
+
default: null,
|
|
178
|
+
description: "Lease type for the property",
|
|
179
|
+
},
|
|
180
|
+
}, {
|
|
181
|
+
timestamps: true,
|
|
182
|
+
toJSON: { virtuals: true },
|
|
183
|
+
toObject: { virtuals: true },
|
|
184
|
+
});
|
|
185
|
+
// const virtualDepositComeFrom = mortgageSchema.virtual("depositComeFrom", {
|
|
186
|
+
// ref: "Lookup",
|
|
187
|
+
// localField: "depositComeFromLid",
|
|
188
|
+
// foreignField: "_id",
|
|
189
|
+
// justOne: false,
|
|
190
|
+
// }) as VirtualWithDescription;
|
|
191
|
+
// virtualDepositComeFrom.description =
|
|
192
|
+
// "Populated lookup values for where the deposit for the mortgage will come from";
|
|
193
|
+
// const virtualRepaymentType = mortgageSchema.virtual("repaymentType", {
|
|
194
|
+
// ref: "Lookup",
|
|
195
|
+
// localField: "repaymentTypeLid",
|
|
196
|
+
// foreignField: "_id",
|
|
197
|
+
// justOne: true,
|
|
198
|
+
// }) as VirtualWithDescription;
|
|
199
|
+
// virtualRepaymentType.description =
|
|
200
|
+
// "Populated lookup value representing the type of repayment";
|
|
201
|
+
// const virtualExitStrategy = mortgageSchema.virtual("exitStrategy", {
|
|
202
|
+
// ref: "Lookup",
|
|
203
|
+
// localField: "exitStrategyLid",
|
|
204
|
+
// foreignField: "_id",
|
|
205
|
+
// justOne: true,
|
|
206
|
+
// }) as VirtualWithDescription;
|
|
207
|
+
// virtualExitStrategy.description = "Populated lookup value for exit strategy";
|
|
208
|
+
// const virtualSourceOfFunds = mortgageSchema.virtual("sourceOfFunds", {
|
|
209
|
+
// ref: "Lookup",
|
|
210
|
+
// localField: "sourceOfFundsLid",
|
|
211
|
+
// foreignField: "_id",
|
|
212
|
+
// justOne: true,
|
|
213
|
+
// }) as VirtualWithDescription;
|
|
214
|
+
// virtualSourceOfFunds.description =
|
|
215
|
+
// "Populated lookup value for the main source of income for monthly finance payments";
|
|
216
|
+
// const virtualSaleMade = mortgageSchema.virtual("saleMade", {
|
|
217
|
+
// ref: "Lookup",
|
|
218
|
+
// localField: "saleMadeLid",
|
|
219
|
+
// foreignField: "_id",
|
|
220
|
+
// justOne: true,
|
|
221
|
+
// }) as VirtualWithDescription;
|
|
222
|
+
// virtualSaleMade.description = "Populated lookup value for method of sale made";
|
|
223
|
+
// const virtualProposedTenants = mortgageSchema.virtual("proposedTenants", {
|
|
224
|
+
// ref: "Lookup",
|
|
225
|
+
// localField: "proposedTenantsLid",
|
|
226
|
+
// foreignField: "_id",
|
|
227
|
+
// justOne: false,
|
|
228
|
+
// }) as VirtualWithDescription;
|
|
229
|
+
// virtualProposedTenants.description =
|
|
230
|
+
// "Populated lookup values for proposed tenants of the property";
|
|
231
|
+
// const virtualLeaseType = mortgageSchema.virtual("leaseType", {
|
|
232
|
+
// ref: "Lookup",
|
|
233
|
+
// localField: "leaseTypeLid",
|
|
234
|
+
// foreignField: "_id",
|
|
235
|
+
// justOne: true,
|
|
236
|
+
// }) as VirtualWithDescription;
|
|
237
|
+
// virtualLeaseType.description = "Populated lookup value for lease type";
|
|
238
|
+
// virtual property 'applicationType'
|
|
239
|
+
mortgageSchema.virtual("applicationType").get(function () {
|
|
240
|
+
return this.applicationId?.applicationTypeLid instanceof
|
|
241
|
+
mongoose.Types.ObjectId
|
|
242
|
+
? null
|
|
243
|
+
: this.applicationId?.applicationTypeLid?.text || null;
|
|
244
|
+
});
|
|
245
|
+
// virtual property 'lendingType'
|
|
246
|
+
mortgageSchema.virtual("lendingType").get(function () {
|
|
247
|
+
return this.applicationId?.lendingTypeLid instanceof
|
|
248
|
+
mongoose.Types.ObjectId
|
|
249
|
+
? null
|
|
250
|
+
: this.applicationId?.lendingTypeLid?.text || null;
|
|
251
|
+
});
|
|
252
|
+
// virtual property 'purchaseType'
|
|
253
|
+
mortgageSchema.virtual("purchaseType").get(function () {
|
|
254
|
+
return this.applicationId?.purchaseTypeLid instanceof
|
|
255
|
+
mongoose.Types.ObjectId
|
|
256
|
+
? null
|
|
257
|
+
: this.applicationId?.purchaseTypeLid?.text || null;
|
|
258
|
+
});
|
|
259
|
+
// virtual property 'lendingType'
|
|
260
|
+
mortgageSchema.virtual("sourceOfWealth").get(function () {
|
|
261
|
+
const sourceOfWealthLids = this.applicationId?.sourceOfWealthLids;
|
|
262
|
+
if (!Array.isArray(sourceOfWealthLids)) {
|
|
263
|
+
return null;
|
|
264
|
+
}
|
|
265
|
+
return sourceOfWealthLids
|
|
266
|
+
.filter((lid) => !(lid instanceof mongoose.Types.ObjectId))
|
|
267
|
+
.map((lid) => lid?.text || null)
|
|
268
|
+
.filter((text) => text !== null);
|
|
269
|
+
});
|
|
270
|
+
const MortgageModel = mongoose.model("Mortgage", mortgageSchema);
|
|
271
|
+
export default MortgageModel;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const ApplictionNoteModel: mongoose.Model<{
|
|
3
|
+
comment: string;
|
|
4
|
+
applicationId: mongoose.Types.ObjectId;
|
|
5
|
+
createdBy: string;
|
|
6
|
+
noteId: string;
|
|
7
|
+
createdOn: string;
|
|
8
|
+
username: string;
|
|
9
|
+
subject: string;
|
|
10
|
+
note: string;
|
|
11
|
+
reminderDate: string;
|
|
12
|
+
attachmentDocumentId: string;
|
|
13
|
+
assignedOperation: string;
|
|
14
|
+
autoCreated: string;
|
|
15
|
+
additionalData: any;
|
|
16
|
+
autoCreatedId: string;
|
|
17
|
+
assignedTo: string;
|
|
18
|
+
assignedBy: string;
|
|
19
|
+
reminderStatus: string;
|
|
20
|
+
createdByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
21
|
+
typeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
22
|
+
subTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
23
|
+
assignedByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
24
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
25
|
+
comment: string;
|
|
26
|
+
applicationId: mongoose.Types.ObjectId;
|
|
27
|
+
createdBy: string;
|
|
28
|
+
noteId: string;
|
|
29
|
+
createdOn: string;
|
|
30
|
+
username: string;
|
|
31
|
+
subject: string;
|
|
32
|
+
note: string;
|
|
33
|
+
reminderDate: string;
|
|
34
|
+
attachmentDocumentId: string;
|
|
35
|
+
assignedOperation: string;
|
|
36
|
+
autoCreated: string;
|
|
37
|
+
additionalData: any;
|
|
38
|
+
autoCreatedId: string;
|
|
39
|
+
assignedTo: string;
|
|
40
|
+
assignedBy: string;
|
|
41
|
+
reminderStatus: string;
|
|
42
|
+
createdByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
43
|
+
typeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
44
|
+
subTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
45
|
+
assignedByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
46
|
+
}> & {
|
|
47
|
+
comment: string;
|
|
48
|
+
applicationId: mongoose.Types.ObjectId;
|
|
49
|
+
createdBy: string;
|
|
50
|
+
noteId: string;
|
|
51
|
+
createdOn: string;
|
|
52
|
+
username: string;
|
|
53
|
+
subject: string;
|
|
54
|
+
note: string;
|
|
55
|
+
reminderDate: string;
|
|
56
|
+
attachmentDocumentId: string;
|
|
57
|
+
assignedOperation: string;
|
|
58
|
+
autoCreated: string;
|
|
59
|
+
additionalData: any;
|
|
60
|
+
autoCreatedId: string;
|
|
61
|
+
assignedTo: string;
|
|
62
|
+
assignedBy: string;
|
|
63
|
+
reminderStatus: string;
|
|
64
|
+
createdByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
65
|
+
typeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
66
|
+
subTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
67
|
+
assignedByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
68
|
+
} & {
|
|
69
|
+
_id: mongoose.Types.ObjectId;
|
|
70
|
+
} & {
|
|
71
|
+
__v: number;
|
|
72
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
73
|
+
comment: string;
|
|
74
|
+
applicationId: mongoose.Types.ObjectId;
|
|
75
|
+
createdBy: string;
|
|
76
|
+
noteId: string;
|
|
77
|
+
createdOn: string;
|
|
78
|
+
username: string;
|
|
79
|
+
subject: string;
|
|
80
|
+
note: string;
|
|
81
|
+
reminderDate: string;
|
|
82
|
+
attachmentDocumentId: string;
|
|
83
|
+
assignedOperation: string;
|
|
84
|
+
autoCreated: string;
|
|
85
|
+
additionalData: any;
|
|
86
|
+
autoCreatedId: string;
|
|
87
|
+
assignedTo: string;
|
|
88
|
+
assignedBy: string;
|
|
89
|
+
reminderStatus: string;
|
|
90
|
+
createdByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
91
|
+
typeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
92
|
+
subTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
93
|
+
assignedByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
94
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
95
|
+
comment: string;
|
|
96
|
+
applicationId: mongoose.Types.ObjectId;
|
|
97
|
+
createdBy: string;
|
|
98
|
+
noteId: string;
|
|
99
|
+
createdOn: string;
|
|
100
|
+
username: string;
|
|
101
|
+
subject: string;
|
|
102
|
+
note: string;
|
|
103
|
+
reminderDate: string;
|
|
104
|
+
attachmentDocumentId: string;
|
|
105
|
+
assignedOperation: string;
|
|
106
|
+
autoCreated: string;
|
|
107
|
+
additionalData: any;
|
|
108
|
+
autoCreatedId: string;
|
|
109
|
+
assignedTo: string;
|
|
110
|
+
assignedBy: string;
|
|
111
|
+
reminderStatus: string;
|
|
112
|
+
createdByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
113
|
+
typeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
114
|
+
subTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
115
|
+
assignedByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
116
|
+
}>> & mongoose.FlatRecord<{
|
|
117
|
+
comment: string;
|
|
118
|
+
applicationId: mongoose.Types.ObjectId;
|
|
119
|
+
createdBy: string;
|
|
120
|
+
noteId: string;
|
|
121
|
+
createdOn: string;
|
|
122
|
+
username: string;
|
|
123
|
+
subject: string;
|
|
124
|
+
note: string;
|
|
125
|
+
reminderDate: string;
|
|
126
|
+
attachmentDocumentId: string;
|
|
127
|
+
assignedOperation: string;
|
|
128
|
+
autoCreated: string;
|
|
129
|
+
additionalData: any;
|
|
130
|
+
autoCreatedId: string;
|
|
131
|
+
assignedTo: string;
|
|
132
|
+
assignedBy: string;
|
|
133
|
+
reminderStatus: string;
|
|
134
|
+
createdByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
135
|
+
typeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
136
|
+
subTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
137
|
+
assignedByUserId?: mongoose.Types.ObjectId | null | undefined;
|
|
138
|
+
}> & {
|
|
139
|
+
_id: mongoose.Types.ObjectId;
|
|
140
|
+
} & {
|
|
141
|
+
__v: number;
|
|
142
|
+
}>>;
|
|
143
|
+
export default ApplictionNoteModel;
|
|
144
|
+
//# sourceMappingURL=application-note.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-note.model.d.ts","sourceRoot":"","sources":["../../applications/application-note.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA+EhC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACzE,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
const noteSchema = new mongoose.Schema({
|
|
3
|
+
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
|
|
4
|
+
noteId: {
|
|
5
|
+
type: String,
|
|
6
|
+
default: null
|
|
7
|
+
},
|
|
8
|
+
createdOn: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: null
|
|
11
|
+
},
|
|
12
|
+
createdBy: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: null
|
|
15
|
+
},
|
|
16
|
+
username: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: null
|
|
19
|
+
},
|
|
20
|
+
createdByUserId: {
|
|
21
|
+
type: mongoose.Schema.Types.ObjectId, ref: "User",
|
|
22
|
+
},
|
|
23
|
+
typeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
24
|
+
subTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
25
|
+
subject: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: null
|
|
28
|
+
},
|
|
29
|
+
note: {
|
|
30
|
+
type: String,
|
|
31
|
+
required: true
|
|
32
|
+
},
|
|
33
|
+
reminderDate: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: null
|
|
36
|
+
},
|
|
37
|
+
attachmentDocumentId: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: null
|
|
40
|
+
},
|
|
41
|
+
assignedOperation: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: ''
|
|
44
|
+
},
|
|
45
|
+
autoCreated: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: false
|
|
48
|
+
},
|
|
49
|
+
additionalData: {
|
|
50
|
+
type: mongoose.Schema.Types.Mixed,
|
|
51
|
+
default: null
|
|
52
|
+
},
|
|
53
|
+
autoCreatedId: {
|
|
54
|
+
type: String,
|
|
55
|
+
default: null
|
|
56
|
+
},
|
|
57
|
+
assignedTo: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: ''
|
|
60
|
+
},
|
|
61
|
+
assignedBy: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: null
|
|
64
|
+
},
|
|
65
|
+
assignedByUserId: {
|
|
66
|
+
type: mongoose.Schema.Types.ObjectId, ref: "User",
|
|
67
|
+
},
|
|
68
|
+
comment: {
|
|
69
|
+
type: String,
|
|
70
|
+
default: null
|
|
71
|
+
},
|
|
72
|
+
reminderStatus: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: 'None'
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
const ApplictionNoteModel = mongoose.model("ApplictionNote", noteSchema);
|
|
78
|
+
export default ApplictionNoteModel;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const OfferModel: mongoose.Model<{
|
|
3
|
+
date?: string | null | undefined;
|
|
4
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
5
|
+
date?: string | null | undefined;
|
|
6
|
+
}> & {
|
|
7
|
+
date?: string | null | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
_id: mongoose.Types.ObjectId;
|
|
10
|
+
} & {
|
|
11
|
+
__v: number;
|
|
12
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
13
|
+
date?: string | null | undefined;
|
|
14
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
15
|
+
date?: string | null | undefined;
|
|
16
|
+
}>> & mongoose.FlatRecord<{
|
|
17
|
+
date?: string | null | undefined;
|
|
18
|
+
}> & {
|
|
19
|
+
_id: mongoose.Types.ObjectId;
|
|
20
|
+
} & {
|
|
21
|
+
__v: number;
|
|
22
|
+
}>>;
|
|
23
|
+
export default OfferModel;
|
|
24
|
+
//# sourceMappingURL=application-offer.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-offer.model.d.ts","sourceRoot":"","sources":["../../applications/application-offer.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;GAAuC,CAAC;AACxD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
declare const ApplicationOnboardingModel: mongoose.Model<{
|
|
3
|
+
errors: string;
|
|
4
|
+
status: string;
|
|
5
|
+
warnings: string;
|
|
6
|
+
statusDate?: string | null | undefined;
|
|
7
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
8
|
+
errors: string;
|
|
9
|
+
status: string;
|
|
10
|
+
warnings: string;
|
|
11
|
+
statusDate?: string | null | undefined;
|
|
12
|
+
}> & {
|
|
13
|
+
errors: string;
|
|
14
|
+
status: string;
|
|
15
|
+
warnings: string;
|
|
16
|
+
statusDate?: string | null | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
_id: mongoose.Types.ObjectId;
|
|
19
|
+
} & {
|
|
20
|
+
__v: number;
|
|
21
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
22
|
+
errors: string;
|
|
23
|
+
status: string;
|
|
24
|
+
warnings: string;
|
|
25
|
+
statusDate?: string | null | undefined;
|
|
26
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
27
|
+
errors: string;
|
|
28
|
+
status: string;
|
|
29
|
+
warnings: string;
|
|
30
|
+
statusDate?: string | null | undefined;
|
|
31
|
+
}>> & mongoose.FlatRecord<{
|
|
32
|
+
errors: string;
|
|
33
|
+
status: string;
|
|
34
|
+
warnings: string;
|
|
35
|
+
statusDate?: string | null | undefined;
|
|
36
|
+
}> & {
|
|
37
|
+
_id: mongoose.Types.ObjectId;
|
|
38
|
+
} & {
|
|
39
|
+
__v: number;
|
|
40
|
+
}>>;
|
|
41
|
+
export default ApplicationOnboardingModel;
|
|
42
|
+
//# sourceMappingURL=application-onboarding.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-onboarding.model.d.ts","sourceRoot":"","sources":["../../applications/application-onboarding.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAUhC,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4D,CAAC;AAC7F,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
const onboardingSchema = new mongoose.Schema({
|
|
3
|
+
errors: { type: String, default: "" },
|
|
4
|
+
status: { type: String, default: "" },
|
|
5
|
+
statusDate: { type: String },
|
|
6
|
+
warnings: { type: String, default: "" }
|
|
7
|
+
});
|
|
8
|
+
const ApplicationOnboardingModel = mongoose.model("ApplicationOnboarding", onboardingSchema);
|
|
9
|
+
export default ApplicationOnboardingModel;
|