@dynamatix/gb-schemas 2.0.21 → 2.0.22
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/entities/applicants/applicant-employment-income.entity.ts +4 -0
- package/entities/applicants/applicant-employment.entity.ts +5 -0
- package/entities/applicants/applicant-expenditure.entity.ts +4 -0
- package/entities/applications/index.ts +0 -8
- package/package.json +1 -1
- package/dist/applicants/applicant-additional-income.model.d.ts +0 -214
- package/dist/applicants/applicant-additional-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-additional-income.model.js +0 -13
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +0 -534
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +0 -34
- package/dist/applicants/applicant-commitment-loan.model.d.ts +0 -420
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-loan.model.js +0 -38
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +0 -498
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +0 -69
- package/dist/applicants/applicant-commitment-residence.model.d.ts +0 -754
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-residence.model.js +0 -50
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +0 -394
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.js +0 -29
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +0 -388
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +0 -28
- package/dist/applicants/applicant-credit-data.model.d.ts +0 -59
- package/dist/applicants/applicant-credit-data.model.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-data.model.js +0 -11
- package/dist/applicants/applicant-credit-profile.model.d.ts +0 -50
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-profile.model.js +0 -20
- package/dist/applicants/applicant-direct-debit.model.d.ts +0 -88
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +0 -1
- package/dist/applicants/applicant-direct-debit.model.js +0 -17
- package/dist/applicants/applicant-employment-income.model.d.ts +0 -201
- package/dist/applicants/applicant-employment-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-employment-income.model.js +0 -9
- package/dist/applicants/applicant-employment.model.d.ts +0 -162
- package/dist/applicants/applicant-employment.model.d.ts.map +0 -1
- package/dist/applicants/applicant-employment.model.js +0 -50
- package/dist/applicants/applicant-expenditure.model.d.ts +0 -113
- package/dist/applicants/applicant-expenditure.model.d.ts.map +0 -1
- package/dist/applicants/applicant-expenditure.model.js +0 -54
- package/dist/applicants/applicant-income-source.model.d.ts +0 -53
- package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income-source.model.js +0 -9
- package/dist/applicants/applicant-income.model.d.ts +0 -234
- package/dist/applicants/applicant-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income.model.js +0 -81
- package/dist/applicants/applicant-other-income.model.d.ts +0 -111
- package/dist/applicants/applicant-other-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-other-income.model.js +0 -46
- package/dist/applicants/applicant-pension-income.model.d.ts +0 -771
- package/dist/applicants/applicant-pension-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-pension-income.model.js +0 -27
- package/dist/applicants/applicant-property-income.model.d.ts +0 -933
- package/dist/applicants/applicant-property-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-property-income.model.js +0 -23
- package/dist/applicants/applicant-risk-narrative.model.d.ts +0 -65
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +0 -1
- package/dist/applicants/applicant-risk-narrative.model.js +0 -13
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +0 -777
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +0 -1
- package/dist/applicants/applicant-uk-tax-credits.model.js +0 -13
- package/dist/applicants/applicant.model.d.ts +0 -161
- package/dist/applicants/applicant.model.d.ts.map +0 -1
- package/dist/applicants/applicant.model.js +0 -223
- package/dist/applicants/index.d.ts +0 -14
- package/dist/applicants/index.d.ts.map +0 -1
- package/dist/applicants/index.js +0 -13
- package/dist/applications/application-audit.model.d.ts +0 -119
- package/dist/applications/application-audit.model.d.ts.map +0 -1
- package/dist/applications/application-audit.model.js +0 -42
- package/dist/applications/application-checklist-Item.model.d.ts +0 -285
- package/dist/applications/application-checklist-Item.model.d.ts.map +0 -1
- package/dist/applications/application-checklist-Item.model.js +0 -45
- package/dist/applications/application-company-model.d.ts +0 -1510
- package/dist/applications/application-company-model.d.ts.map +0 -1
- package/dist/applications/application-company-model.js +0 -120
- package/dist/applications/application-credit-profile.model.d.ts +0 -62
- package/dist/applications/application-credit-profile.model.d.ts.map +0 -1
- package/dist/applications/application-credit-profile.model.js +0 -12
- package/dist/applications/application-direct-debit.model.d.ts +0 -571
- package/dist/applications/application-direct-debit.model.d.ts.map +0 -1
- package/dist/applications/application-direct-debit.model.js +0 -92
- package/dist/applications/application-document.model.d.ts +0 -185
- package/dist/applications/application-document.model.d.ts.map +0 -1
- package/dist/applications/application-document.model.js +0 -35
- package/dist/applications/application-fieldconfig.model.d.ts +0 -57
- package/dist/applications/application-fieldconfig.model.d.ts.map +0 -1
- package/dist/applications/application-fieldconfig.model.js +0 -7
- package/dist/applications/application-illustration-model.d.ts +0 -51
- package/dist/applications/application-illustration-model.d.ts.map +0 -1
- package/dist/applications/application-illustration-model.js +0 -6
- package/dist/applications/application-legal.model.d.ts +0 -57
- package/dist/applications/application-legal.model.d.ts.map +0 -1
- package/dist/applications/application-legal.model.js +0 -7
- package/dist/applications/application-mortgage.model.d.ts +0 -1229
- package/dist/applications/application-mortgage.model.d.ts.map +0 -1
- package/dist/applications/application-mortgage.model.js +0 -271
- package/dist/applications/application-note.model.d.ts +0 -171
- package/dist/applications/application-note.model.d.ts.map +0 -1
- package/dist/applications/application-note.model.js +0 -78
- package/dist/applications/application-offer.model.d.ts +0 -51
- package/dist/applications/application-offer.model.d.ts.map +0 -1
- package/dist/applications/application-offer.model.js +0 -6
- package/dist/applications/application-onboarding.model.d.ts +0 -69
- package/dist/applications/application-onboarding.model.d.ts.map +0 -1
- package/dist/applications/application-onboarding.model.js +0 -9
- package/dist/applications/application-product.model.d.ts +0 -147
- package/dist/applications/application-product.model.d.ts.map +0 -1
- package/dist/applications/application-product.model.js +0 -67
- package/dist/applications/application-productfeatures.model.d.ts +0 -765
- package/dist/applications/application-productfeatures.model.d.ts.map +0 -1
- package/dist/applications/application-productfeatures.model.js +0 -96
- package/dist/applications/application-rationale.model.d.ts +0 -243
- package/dist/applications/application-rationale.model.d.ts.map +0 -1
- package/dist/applications/application-rationale.model.js +0 -38
- package/dist/applications/application-risk-narrative.model.d.ts +0 -87
- package/dist/applications/application-risk-narrative.model.d.ts.map +0 -1
- package/dist/applications/application-risk-narrative.model.js +0 -12
- package/dist/applications/application-valuation.model.d.ts +0 -71
- package/dist/applications/application-valuation.model.d.ts.map +0 -1
- package/dist/applications/application-valuation.model.js +0 -15
- package/dist/applications/application.model.d.ts +0 -455
- package/dist/applications/application.model.d.ts.map +0 -1
- package/dist/applications/application.model.js +0 -153
- package/dist/applications/broker.model.d.ts +0 -161
- package/dist/applications/broker.model.d.ts.map +0 -1
- package/dist/applications/broker.model.js +0 -21
- package/dist/applications/document.model.d.ts +0 -185
- package/dist/applications/document.model.d.ts.map +0 -1
- package/dist/applications/document.model.js +0 -35
- package/dist/applications/index.d.ts +0 -21
- package/dist/applications/index.d.ts.map +0 -1
- package/dist/applications/index.js +0 -20
- package/dist/applications/productfeatures.model.d.ts +0 -395
- package/dist/applications/productfeatures.model.d.ts.map +0 -1
- package/dist/applications/productfeatures.model.js +0 -94
- package/dist/applications/solicitor.model.d.ts +0 -203
- package/dist/applications/solicitor.model.d.ts.map +0 -1
- package/dist/applications/solicitor.model.js +0 -114
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts +0 -19
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-data.entity.js +0 -5
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-profile.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment.entity.d.ts +0 -53
- package/dist/entities/applicants/applicant-employment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment.entity.js +0 -2
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts +0 -13
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-expenditure.entity.js +0 -2
- package/dist/entities/applicants/applicant-income-source.entity.d.ts +0 -17
- package/dist/entities/applicants/applicant-income-source.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income-source.entity.js +0 -5
- package/dist/entities/applicants/applicant-income.entity.d.ts +0 -59
- package/dist/entities/applicants/applicant-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income.entity.js +0 -2
- package/dist/entities/applicants/applicant.entity.d.ts +0 -143
- package/dist/entities/applicants/applicant.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant.entity.js +0 -48
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +0 -16
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-card-commitment.entity.js +0 -5
- package/dist/entities/applicants/credit-data.entity.d.ts +0 -19
- package/dist/entities/applicants/credit-data.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-data.entity.js +0 -5
- package/dist/entities/applicants/credit-profile.entity.d.ts +0 -11
- package/dist/entities/applicants/credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-profile.entity.js +0 -5
- package/dist/entities/applicants/direct-debit.entity.d.ts +0 -25
- package/dist/entities/applicants/direct-debit.entity.d.ts.map +0 -1
- package/dist/entities/applicants/direct-debit.entity.js +0 -5
- package/dist/entities/applicants/employment.entity.d.ts +0 -59
- package/dist/entities/applicants/employment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/employment.entity.js +0 -2
- package/dist/entities/applicants/expenditure.entity.d.ts +0 -24
- package/dist/entities/applicants/expenditure.entity.d.ts.map +0 -1
- package/dist/entities/applicants/expenditure.entity.js +0 -5
- package/dist/entities/applicants/income-source.entity.d.ts +0 -17
- package/dist/entities/applicants/income-source.entity.d.ts.map +0 -1
- package/dist/entities/applicants/income-source.entity.js +0 -5
- package/dist/entities/applicants/income.entity.d.ts +0 -54
- package/dist/entities/applicants/income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/income.entity.js +0 -5
- package/dist/entities/applicants/index.d.ts +0 -18
- package/dist/entities/applicants/index.d.ts.map +0 -1
- package/dist/entities/applicants/index.js +0 -16
- package/dist/entities/applicants/loan-commitment.entity.d.ts +0 -20
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/loan-commitment.entity.js +0 -5
- package/dist/entities/applicants/lookup.entity.d.ts +0 -10
- package/dist/entities/applicants/lookup.entity.d.ts.map +0 -1
- package/dist/entities/applicants/lookup.entity.js +0 -5
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +0 -37
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/mortgage-commitment.entity.js +0 -19
- package/dist/entities/applicants/other-income.entity.d.ts +0 -41
- package/dist/entities/applicants/other-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/other-income.entity.js +0 -19
- package/dist/entities/applicants/property-income.entity.d.ts +0 -17
- package/dist/entities/applicants/property-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/property-income.entity.js +0 -5
- package/dist/entities/applicants/residence-commitment.entity.d.ts +0 -44
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/residence-commitment.entity.js +0 -19
- package/dist/entities/applicants/risk-narrative.entity.d.ts +0 -23
- package/dist/entities/applicants/risk-narrative.entity.d.ts.map +0 -1
- package/dist/entities/applicants/risk-narrative.entity.js +0 -5
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +0 -21
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/secure-loan-commitment.entity.js +0 -9
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +0 -20
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +0 -10
- package/dist/entities/applications/application-audit.entity.d.ts +0 -18
- package/dist/entities/applications/application-audit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-audit.entity.js +0 -5
- package/dist/entities/applications/application-company.entity.d.ts +0 -12
- package/dist/entities/applications/application-company.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-company.entity.js +0 -5
- package/dist/entities/applications/application-credit-profile.entity.d.ts +0 -11
- package/dist/entities/applications/application-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-credit-profile.entity.js +0 -5
- package/dist/entities/applications/application-direct-debit.entity.d.ts +0 -12
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-direct-debit.entity.js +0 -5
- package/dist/entities/applications/application-document.entity.d.ts +0 -28
- package/dist/entities/applications/application-document.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-document.entity.js +0 -5
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +0 -9
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-fieldconfig.entity.js +0 -5
- package/dist/entities/applications/application-illustration.entity.d.ts +0 -8
- package/dist/entities/applications/application-illustration.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-illustration.entity.js +0 -5
- package/dist/entities/applications/application-legal.entity.d.ts +0 -9
- package/dist/entities/applications/application-legal.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-legal.entity.js +0 -5
- package/dist/entities/applications/application-mortgage.entity.d.ts +0 -55
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-mortgage.entity.js +0 -27
- package/dist/entities/applications/application-note.entity.d.ts +0 -36
- package/dist/entities/applications/application-note.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-note.entity.js +0 -5
- package/dist/entities/applications/application-offer.entity.d.ts +0 -8
- package/dist/entities/applications/application-offer.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-offer.entity.js +0 -5
- package/dist/entities/applications/application-onboarding.entity.d.ts +0 -11
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-onboarding.entity.js +0 -5
- package/dist/entities/applications/application-product.entity.d.ts +0 -33
- package/dist/entities/applications/application-product.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-product.entity.js +0 -5
- package/dist/entities/applications/application-rationale.entity.d.ts +0 -51
- package/dist/entities/applications/application-rationale.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-rationale.entity.js +0 -5
- package/dist/entities/applications/application-risk-narrative.entity.d.ts +0 -17
- package/dist/entities/applications/application-risk-narrative.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-risk-narrative.entity.js +0 -5
- package/dist/entities/applications/application-valuation.entity.d.ts +0 -18
- package/dist/entities/applications/application-valuation.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-valuation.entity.js +0 -5
- package/dist/entities/applications/application.entity.d.ts +0 -99
- package/dist/entities/applications/application.entity.d.ts.map +0 -1
- package/dist/entities/applications/application.entity.js +0 -66
- package/dist/entities/applications/broker.entity.d.ts +0 -23
- package/dist/entities/applications/broker.entity.d.ts.map +0 -1
- package/dist/entities/applications/broker.entity.js +0 -5
- package/dist/entities/applications/checklist-item.entity.d.ts +0 -47
- package/dist/entities/applications/checklist-item.entity.d.ts.map +0 -1
- package/dist/entities/applications/checklist-item.entity.js +0 -5
- package/dist/entities/applications/company.entity.d.ts +0 -77
- package/dist/entities/applications/company.entity.d.ts.map +0 -1
- package/dist/entities/applications/company.entity.js +0 -23
- package/dist/entities/applications/credit-profile.entity.d.ts +0 -11
- package/dist/entities/applications/credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applications/credit-profile.entity.js +0 -5
- package/dist/entities/applications/index.d.ts +0 -25
- package/dist/entities/applications/index.d.ts.map +0 -1
- package/dist/entities/applications/index.js +0 -23
- package/dist/entities/applications/product-features.entity.d.ts +0 -54
- package/dist/entities/applications/product-features.entity.d.ts.map +0 -1
- package/dist/entities/applications/product-features.entity.js +0 -5
- package/dist/entities/applications/solicitor.entity.d.ts +0 -33
- package/dist/entities/applications/solicitor.entity.d.ts.map +0 -1
- package/dist/entities/applications/solicitor.entity.js +0 -5
- package/dist/entities/index.d.ts +0 -10
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/entities/index.js +0 -10
- package/dist/entities/prisma.d.ts +0 -3
- package/dist/entities/prisma.d.ts.map +0 -1
- package/dist/entities/prisma.js +0 -10
- package/dist/entities/product-catalogues/index.d.ts +0 -8
- package/dist/entities/product-catalogues/index.d.ts.map +0 -1
- package/dist/entities/product-catalogues/index.js +0 -6
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +0 -22
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-catalogue.entity.js +0 -5
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +0 -16
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-definition.entity.js +0 -5
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +0 -14
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-variant.entity.js +0 -5
- package/dist/entities/product-catalogues/product.entity.d.ts +0 -11
- package/dist/entities/product-catalogues/product.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product.entity.js +0 -5
- package/dist/entities/product-catalogues/rule.entity.d.ts +0 -21
- package/dist/entities/product-catalogues/rule.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/rule.entity.js +0 -5
- package/dist/entities/properties/data-street.entity.d.ts +0 -22
- package/dist/entities/properties/data-street.entity.d.ts.map +0 -1
- package/dist/entities/properties/data-street.entity.js +0 -5
- package/dist/entities/properties/index.d.ts +0 -6
- package/dist/entities/properties/index.d.ts.map +0 -1
- package/dist/entities/properties/index.js +0 -4
- package/dist/entities/properties/property.entity.d.ts +0 -30
- package/dist/entities/properties/property.entity.d.ts.map +0 -1
- package/dist/entities/properties/property.entity.js +0 -5
- package/dist/entities/properties/security.entity.d.ts +0 -57
- package/dist/entities/properties/security.entity.d.ts.map +0 -1
- package/dist/entities/properties/security.entity.js +0 -5
- package/dist/entities/shared/alert.entity.d.ts +0 -14
- package/dist/entities/shared/alert.entity.d.ts.map +0 -1
- package/dist/entities/shared/alert.entity.js +0 -5
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +0 -19
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +0 -1
- package/dist/entities/shared/apprivo-sync-journey.entity.js +0 -5
- package/dist/entities/shared/checklist.entity.d.ts +0 -15
- package/dist/entities/shared/checklist.entity.d.ts.map +0 -1
- package/dist/entities/shared/checklist.entity.js +0 -5
- package/dist/entities/shared/document-type.entity.d.ts +0 -9
- package/dist/entities/shared/document-type.entity.d.ts.map +0 -1
- package/dist/entities/shared/document-type.entity.js +0 -5
- package/dist/entities/shared/index.d.ts +0 -12
- package/dist/entities/shared/index.d.ts.map +0 -1
- package/dist/entities/shared/index.js +0 -10
- package/dist/entities/shared/job-run.entity.d.ts +0 -15
- package/dist/entities/shared/job-run.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-run.entity.js +0 -5
- package/dist/entities/shared/job-run.model.d.ts +0 -11
- package/dist/entities/shared/job-run.model.d.ts.map +0 -1
- package/dist/entities/shared/job-run.model.js +0 -1
- package/dist/entities/shared/job-setting.entity.d.ts +0 -11
- package/dist/entities/shared/job-setting.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-setting.entity.js +0 -5
- package/dist/entities/shared/lookup-group.entity.d.ts +0 -11
- package/dist/entities/shared/lookup-group.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup-group.entity.js +0 -5
- package/dist/entities/shared/lookup.entity.d.ts +0 -14
- package/dist/entities/shared/lookup.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup.entity.js +0 -5
- package/dist/entities/shared/system-parameter.entity.d.ts +0 -10
- package/dist/entities/shared/system-parameter.entity.d.ts.map +0 -1
- package/dist/entities/shared/system-parameter.entity.js +0 -5
- package/dist/entities/underwriter/index.d.ts +0 -4
- package/dist/entities/underwriter/index.d.ts.map +0 -1
- package/dist/entities/underwriter/index.js +0 -2
- package/dist/entities/underwriter/underwriter.entity.d.ts +0 -16
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +0 -1
- package/dist/entities/underwriter/underwriter.entity.js +0 -5
- package/dist/entities/users/auth-log.entity.d.ts +0 -11
- package/dist/entities/users/auth-log.entity.d.ts.map +0 -1
- package/dist/entities/users/auth-log.entity.js +0 -5
- package/dist/entities/users/index.d.ts +0 -8
- package/dist/entities/users/index.d.ts.map +0 -1
- package/dist/entities/users/index.js +0 -6
- package/dist/entities/users/permission.entity.d.ts +0 -12
- package/dist/entities/users/permission.entity.d.ts.map +0 -1
- package/dist/entities/users/permission.entity.js +0 -5
- package/dist/entities/users/role-group.entity.d.ts +0 -12
- package/dist/entities/users/role-group.entity.d.ts.map +0 -1
- package/dist/entities/users/role-group.entity.js +0 -5
- package/dist/entities/users/role.entity.d.ts +0 -14
- package/dist/entities/users/role.entity.d.ts.map +0 -1
- package/dist/entities/users/role.entity.js +0 -5
- package/dist/entities/users/user.entity.d.ts +0 -35
- package/dist/entities/users/user.entity.d.ts.map +0 -1
- package/dist/entities/users/user.entity.js +0 -10
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -9
- package/dist/product-catalogues/index.d.ts +0 -4
- package/dist/product-catalogues/index.d.ts.map +0 -1
- package/dist/product-catalogues/index.js +0 -3
- package/dist/product-catalogues/product-catalogue.model.d.ts +0 -131
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-catalogue.model.js +0 -18
- package/dist/product-catalogues/product-definitions.model.d.ts +0 -317
- package/dist/product-catalogues/product-definitions.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-definitions.model.js +0 -26
- package/dist/product-catalogues/product-variant.model.d.ts +0 -95
- package/dist/product-catalogues/product-variant.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-variant.model.js +0 -12
- package/dist/properties/index.d.ts +0 -3
- package/dist/properties/index.d.ts.map +0 -1
- package/dist/properties/index.js +0 -2
- package/dist/properties/property.model.d.ts +0 -1157
- package/dist/properties/property.model.d.ts.map +0 -1
- package/dist/properties/property.model.js +0 -144
- package/dist/properties/security.model.d.ts +0 -312
- package/dist/properties/security.model.d.ts.map +0 -1
- package/dist/properties/security.model.js +0 -143
- package/dist/shared/alert.model.d.ts +0 -101
- package/dist/shared/alert.model.d.ts.map +0 -1
- package/dist/shared/alert.model.js +0 -24
- package/dist/shared/apprivo-sync-journey.model.d.ts +0 -113
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +0 -1
- package/dist/shared/apprivo-sync-journey.model.js +0 -17
- package/dist/shared/checklist.model.d.ts +0 -101
- package/dist/shared/checklist.model.d.ts.map +0 -1
- package/dist/shared/checklist.model.js +0 -30
- package/dist/shared/document-type-model.d.ts +0 -75
- package/dist/shared/document-type-model.d.ts.map +0 -1
- package/dist/shared/document-type-model.js +0 -10
- package/dist/shared/index.d.ts +0 -13
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js +0 -12
- package/dist/shared/job-run.model.d.ts +0 -75
- package/dist/shared/job-run.model.d.ts.map +0 -1
- package/dist/shared/job-run.model.js +0 -14
- package/dist/shared/job-setting.model.d.ts +0 -69
- package/dist/shared/job-setting.model.d.ts.map +0 -1
- package/dist/shared/job-setting.model.js +0 -11
- package/dist/shared/lookup-group.model.d.ts +0 -57
- package/dist/shared/lookup-group.model.d.ts.map +0 -1
- package/dist/shared/lookup-group.model.js +0 -16
- package/dist/shared/lookup.model.d.ts +0 -69
- package/dist/shared/lookup.model.d.ts.map +0 -1
- package/dist/shared/lookup.model.js +0 -20
- package/dist/shared/schema-doc.model.d.ts +0 -75
- package/dist/shared/schema-doc.model.d.ts.map +0 -1
- package/dist/shared/schema-doc.model.js +0 -11
- package/dist/shared/system-parameter.model.d.ts +0 -87
- package/dist/shared/system-parameter.model.d.ts.map +0 -1
- package/dist/shared/system-parameter.model.js +0 -32
- package/dist/shared/task-document.model.d.ts +0 -69
- package/dist/shared/task-document.model.d.ts.map +0 -1
- package/dist/shared/task-document.model.js +0 -23
- package/dist/shared/task.model.d.ts +0 -233
- package/dist/shared/task.model.d.ts.map +0 -1
- package/dist/shared/task.model.js +0 -15
- package/dist/underwriter/index.d.ts +0 -2
- package/dist/underwriter/index.d.ts.map +0 -1
- package/dist/underwriter/index.js +0 -1
- package/dist/underwriter/underwriter.model.d.ts +0 -125
- package/dist/underwriter/underwriter.model.d.ts.map +0 -1
- package/dist/underwriter/underwriter.model.js +0 -17
- package/dist/users/auth-log.model.d.ts +0 -69
- package/dist/users/auth-log.model.d.ts.map +0 -1
- package/dist/users/auth-log.model.js +0 -21
- package/dist/users/index.d.ts +0 -7
- package/dist/users/index.d.ts.map +0 -1
- package/dist/users/index.js +0 -6
- package/dist/users/permission.model.d.ts +0 -83
- package/dist/users/permission.model.d.ts.map +0 -1
- package/dist/users/permission.model.js +0 -10
- package/dist/users/role-group.model.d.ts +0 -89
- package/dist/users/role-group.model.d.ts.map +0 -1
- package/dist/users/role-group.model.js +0 -14
- package/dist/users/role.model.d.ts +0 -89
- package/dist/users/role.model.d.ts.map +0 -1
- package/dist/users/role.model.js +0 -13
- package/dist/users/tasks.model.d.ts +0 -113
- package/dist/users/tasks.model.d.ts.map +0 -1
- package/dist/users/tasks.model.js +0 -15
- package/dist/users/user.model.d.ts +0 -215
- package/dist/users/user.model.d.ts.map +0 -1
- package/dist/users/user.model.js +0 -30
- package/dist/value-objects/pound.d.ts +0 -41
- package/dist/value-objects/pound.d.ts.map +0 -1
- package/dist/value-objects/pound.js +0 -26
- package/dist/value-objects/sort-code.d.ts +0 -41
- package/dist/value-objects/sort-code.d.ts.map +0 -1
- package/dist/value-objects/sort-code.js +0 -25
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-uk-tax-credits.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-uk-tax-credits.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAY/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0E,CAAC;AAE3G,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
import { Pound } from "../value-objects/pound";
|
|
3
|
-
const applicantUkTaxCreditsSchema = new mongoose.Schema({
|
|
4
|
-
applicantId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant", required: true },
|
|
5
|
-
taxCredits: { type: Pound, default: 0.00 },
|
|
6
|
-
maintenance: { type: Pound, default: 0.00 },
|
|
7
|
-
otherBenefits: { type: Pound, default: 0.00 },
|
|
8
|
-
explanation: { type: String, default: null },
|
|
9
|
-
totalGrossIncome: { type: Pound, default: 0.00 },
|
|
10
|
-
totalNetIncome: { type: Pound, default: 0.00 },
|
|
11
|
-
});
|
|
12
|
-
const ApplicantUkTaxCreditsModel = mongoose.model("Applicant_Uk_Tax_Credits", applicantUkTaxCreditsSchema);
|
|
13
|
-
export default ApplicantUkTaxCreditsModel;
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
4
|
-
/// <reference types="mongoose/types/callback" />
|
|
5
|
-
/// <reference types="mongoose/types/collection" />
|
|
6
|
-
/// <reference types="mongoose/types/connection" />
|
|
7
|
-
/// <reference types="mongoose/types/cursor" />
|
|
8
|
-
/// <reference types="mongoose/types/document" />
|
|
9
|
-
/// <reference types="mongoose/types/error" />
|
|
10
|
-
/// <reference types="mongoose/types/expressions" />
|
|
11
|
-
/// <reference types="mongoose/types/helpers" />
|
|
12
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
13
|
-
/// <reference types="mongoose/types/indexes" />
|
|
14
|
-
/// <reference types="mongoose/types/models" />
|
|
15
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
16
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
17
|
-
/// <reference types="mongoose/types/populate" />
|
|
18
|
-
/// <reference types="mongoose/types/query" />
|
|
19
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
20
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
28
|
-
import mongoose from "mongoose";
|
|
29
|
-
interface IApplicant extends Document {
|
|
30
|
-
applicantId: string;
|
|
31
|
-
applicationId: mongoose.Types.ObjectId;
|
|
32
|
-
addressCity?: string;
|
|
33
|
-
addressCountryLid?: mongoose.Types.ObjectId;
|
|
34
|
-
addressLine1?: string;
|
|
35
|
-
addressLine2?: string;
|
|
36
|
-
addressLine3?: string;
|
|
37
|
-
addressMovedDate?: string;
|
|
38
|
-
addressPostCode?: string;
|
|
39
|
-
correspondenceAddressCity?: string;
|
|
40
|
-
correspondenceAddressCountryLid?: mongoose.Types.ObjectId;
|
|
41
|
-
correspondenceAddressLine1?: string;
|
|
42
|
-
correspondenceAddressLine2?: string;
|
|
43
|
-
correspondenceAddressLine3?: string;
|
|
44
|
-
correspondenceAddressPostCode?: string;
|
|
45
|
-
countryOfResidenceLid: mongoose.Types.ObjectId;
|
|
46
|
-
dateOfBirth: string;
|
|
47
|
-
dependant10Age?: number;
|
|
48
|
-
dependant1Age?: number;
|
|
49
|
-
dependant2Age?: number;
|
|
50
|
-
dependant3Age?: number;
|
|
51
|
-
dependant4Age?: number;
|
|
52
|
-
dependant5Age?: number;
|
|
53
|
-
dependant6Age?: number;
|
|
54
|
-
dependant7Age?: number;
|
|
55
|
-
dependant8Age?: number;
|
|
56
|
-
dependant9Age?: number;
|
|
57
|
-
email: string;
|
|
58
|
-
employmentStatusDetails?: string;
|
|
59
|
-
firstName: string;
|
|
60
|
-
isFirstTimelandlord: boolean;
|
|
61
|
-
foreignIdForNationals?: string;
|
|
62
|
-
gdprEmail: boolean;
|
|
63
|
-
gdprPost: boolean;
|
|
64
|
-
gdprTelephone: boolean;
|
|
65
|
-
gdprTextMessage: boolean;
|
|
66
|
-
gender: string;
|
|
67
|
-
hasBrokerGivenConsentForVulnerabilities: boolean;
|
|
68
|
-
hasLinkedJurisdiction: boolean;
|
|
69
|
-
isCorrespondence: boolean;
|
|
70
|
-
isCreditCardCommitmentConfirmed: boolean;
|
|
71
|
-
isLoanCommitmentConfirmed: boolean;
|
|
72
|
-
isMortgageHPPCommitmentConfirmed: boolean;
|
|
73
|
-
isCurrentContract: boolean;
|
|
74
|
-
isCustomerVulnerable: boolean;
|
|
75
|
-
isExpat: boolean;
|
|
76
|
-
isFirstApplicant: boolean;
|
|
77
|
-
isUkPassport: boolean;
|
|
78
|
-
isUkResident: boolean;
|
|
79
|
-
classLid?: mongoose.Types.ObjectId;
|
|
80
|
-
pageValidFlag: boolean;
|
|
81
|
-
lastName: string;
|
|
82
|
-
linkedJurisdictionCountryLid?: mongoose.Types.ObjectId;
|
|
83
|
-
linkedJurisdictionDetails?: string;
|
|
84
|
-
maidenName?: string;
|
|
85
|
-
maritalStatusLid: mongoose.Types.ObjectId;
|
|
86
|
-
mobileNumber?: string;
|
|
87
|
-
nationalityLid: mongoose.Types.ObjectId;
|
|
88
|
-
netIncome: number;
|
|
89
|
-
niNumber: string;
|
|
90
|
-
numberOfDependants: number;
|
|
91
|
-
isOneYearPrior: boolean;
|
|
92
|
-
phoneNumber?: string;
|
|
93
|
-
previous1AddressCity?: string;
|
|
94
|
-
previous1AddressCountryLid?: mongoose.Types.ObjectId;
|
|
95
|
-
previous1AddressLine1?: string;
|
|
96
|
-
previous1AddressLine2?: string;
|
|
97
|
-
previous1AddressLine3?: string;
|
|
98
|
-
previous1AddressMovedDate?: string;
|
|
99
|
-
previous1AddressPostCode?: string;
|
|
100
|
-
previous1AddressPropertyOwnedBy?: string;
|
|
101
|
-
previous2AddressCity?: string;
|
|
102
|
-
previous2AddressCountryLid?: mongoose.Types.ObjectId;
|
|
103
|
-
previous2AddressLine1?: string;
|
|
104
|
-
previous2AddressLine2?: string;
|
|
105
|
-
previous2AddressLine3?: string;
|
|
106
|
-
previous2AddressMovedDate?: string;
|
|
107
|
-
previous2AddressPostCode?: string;
|
|
108
|
-
previous2AddressPropertyOwnedBy?: string;
|
|
109
|
-
relationshipToOthers: string;
|
|
110
|
-
residentialStatusLid?: mongoose.Types.ObjectId;
|
|
111
|
-
retirementAge: string;
|
|
112
|
-
taxJurisdictionLid: mongoose.Types.ObjectId;
|
|
113
|
-
taxPayerLid: mongoose.Types.ObjectId;
|
|
114
|
-
timeResidedAtCountryOfResidence: number;
|
|
115
|
-
title: string;
|
|
116
|
-
isTwoYearPrior: boolean;
|
|
117
|
-
understandEnglish: boolean;
|
|
118
|
-
vulnerabilityNotes?: string;
|
|
119
|
-
vulnerabilityTypeLids: mongoose.Types.ObjectId[];
|
|
120
|
-
ukPassportProfession?: mongoose.Types.ObjectId;
|
|
121
|
-
creditData: any;
|
|
122
|
-
riskNarrative: any;
|
|
123
|
-
otherIncome: any;
|
|
124
|
-
incomeSource: any;
|
|
125
|
-
expenditure: any;
|
|
126
|
-
employment: any;
|
|
127
|
-
directDebit: any;
|
|
128
|
-
creditProfile: any;
|
|
129
|
-
propertyIncome: any;
|
|
130
|
-
income: any;
|
|
131
|
-
nationality?: string;
|
|
132
|
-
residence?: string;
|
|
133
|
-
industry?: string;
|
|
134
|
-
employmentClass?: string;
|
|
135
|
-
addressCountry?: string;
|
|
136
|
-
previous1AddressCountry?: string;
|
|
137
|
-
previous2AddressCountry?: string;
|
|
138
|
-
maritalStatus?: string;
|
|
139
|
-
residentialStatus?: string;
|
|
140
|
-
taxPayer?: string;
|
|
141
|
-
vulnerabilityType?: string[];
|
|
142
|
-
fullName: string;
|
|
143
|
-
applicationType?: string;
|
|
144
|
-
lendingType?: string;
|
|
145
|
-
numberOfApplicants: number;
|
|
146
|
-
}
|
|
147
|
-
declare const ApplicantModel: mongoose.Model<IApplicant, {}, {}, {}, mongoose.Document<unknown, {}, IApplicant> & IApplicant & {
|
|
148
|
-
_id: mongoose.Types.ObjectId;
|
|
149
|
-
} & {
|
|
150
|
-
__v: number;
|
|
151
|
-
}, mongoose.Schema<IApplicant, mongoose.Model<IApplicant, any, any, any, mongoose.Document<unknown, any, IApplicant> & IApplicant & {
|
|
152
|
-
_id: mongoose.Types.ObjectId;
|
|
153
|
-
} & {
|
|
154
|
-
__v: number;
|
|
155
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IApplicant, mongoose.Document<unknown, {}, mongoose.FlatRecord<IApplicant>> & mongoose.FlatRecord<IApplicant> & {
|
|
156
|
-
_id: mongoose.Types.ObjectId;
|
|
157
|
-
} & {
|
|
158
|
-
__v: number;
|
|
159
|
-
}>>;
|
|
160
|
-
export default ApplicantModel;
|
|
161
|
-
//# sourceMappingURL=applicant.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
import applicantCreditDataSchema from "./applicant-credit-data.model";
|
|
3
|
-
import applicantRiskNarrativeSchema from "./applicant-risk-narrative.model";
|
|
4
|
-
import applicantIncomeSourceSchema from "./applicant-income-source.model";
|
|
5
|
-
import applicantEmploymentSchema from "./applicant-employment.model";
|
|
6
|
-
import applicantDirectDebitSchema from "./applicant-direct-debit.model";
|
|
7
|
-
import creditProfileSchema from "./applicant-credit-profile.model";
|
|
8
|
-
import incomeSchema from "./applicant-income.model";
|
|
9
|
-
const applicantSchema = new mongoose.Schema({
|
|
10
|
-
applicantId: { type: String, required: true },
|
|
11
|
-
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
|
|
12
|
-
addressCity: { type: String, default: null },
|
|
13
|
-
addressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
14
|
-
addressLine1: { type: String, default: null },
|
|
15
|
-
addressLine2: { type: String, default: null },
|
|
16
|
-
addressLine3: { type: String, default: null },
|
|
17
|
-
addressMovedDate: { type: String, default: null },
|
|
18
|
-
addressPostCode: { type: String, default: null },
|
|
19
|
-
correspondenceAddressCity: { type: String, default: null },
|
|
20
|
-
correspondenceAddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
21
|
-
correspondenceAddressLine1: { type: String, default: null },
|
|
22
|
-
correspondenceAddressLine2: { type: String, default: null },
|
|
23
|
-
correspondenceAddressLine3: { type: String, default: null },
|
|
24
|
-
correspondenceAddressPostCode: { type: String, default: null },
|
|
25
|
-
countryOfResidenceLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
26
|
-
dateOfBirth: { type: String, required: true },
|
|
27
|
-
dependant10Age: { type: Number, default: 0 },
|
|
28
|
-
dependant1Age: { type: Number, default: 0 },
|
|
29
|
-
dependant2Age: { type: Number, default: 0 },
|
|
30
|
-
dependant3Age: { type: Number, default: 0 },
|
|
31
|
-
dependant4Age: { type: Number, default: 0 },
|
|
32
|
-
dependant5Age: { type: Number, default: 0 },
|
|
33
|
-
dependant6Age: { type: Number, default: 0 },
|
|
34
|
-
dependant7Age: { type: Number, default: 0 },
|
|
35
|
-
dependant8Age: { type: Number, default: 0 },
|
|
36
|
-
dependant9Age: { type: Number, default: 0 },
|
|
37
|
-
email: { type: String, required: true },
|
|
38
|
-
employmentStatusDetails: { type: String, default: null },
|
|
39
|
-
firstName: { type: String, required: true },
|
|
40
|
-
isFirstTimelandlord: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: false,
|
|
43
|
-
},
|
|
44
|
-
foreignIdForNationals: { type: String, default: null },
|
|
45
|
-
gdprEmail: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: false,
|
|
48
|
-
},
|
|
49
|
-
gdprPost: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: false,
|
|
52
|
-
},
|
|
53
|
-
gdprTelephone: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: false,
|
|
56
|
-
},
|
|
57
|
-
gdprTextMessage: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: false,
|
|
60
|
-
},
|
|
61
|
-
gender: { type: String, required: true },
|
|
62
|
-
hasBrokerGivenConsentForVulnerabilities: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
required: true,
|
|
65
|
-
},
|
|
66
|
-
hasLinkedJurisdiction: {
|
|
67
|
-
type: Boolean,
|
|
68
|
-
default: false,
|
|
69
|
-
},
|
|
70
|
-
isCorrespondence: {
|
|
71
|
-
type: Boolean,
|
|
72
|
-
default: true,
|
|
73
|
-
},
|
|
74
|
-
isCreditCardCommitmentConfirmed: { type: Boolean, default: false, },
|
|
75
|
-
isLoanCommitmentConfirmed: { type: Boolean, default: false, },
|
|
76
|
-
isMortgageHPPCommitmentConfirmed: { type: Boolean, default: false, },
|
|
77
|
-
isCurrentContract: { type: Boolean, default: false, },
|
|
78
|
-
isCustomerVulnerable: {
|
|
79
|
-
type: Boolean,
|
|
80
|
-
default: false,
|
|
81
|
-
},
|
|
82
|
-
isExpat: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: false,
|
|
85
|
-
},
|
|
86
|
-
isFirstApplicant: {
|
|
87
|
-
type: Boolean,
|
|
88
|
-
default: false,
|
|
89
|
-
},
|
|
90
|
-
isUkPassport: {
|
|
91
|
-
type: Boolean,
|
|
92
|
-
default: false,
|
|
93
|
-
},
|
|
94
|
-
isUkResident: {
|
|
95
|
-
type: Boolean,
|
|
96
|
-
required: true,
|
|
97
|
-
},
|
|
98
|
-
classLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
99
|
-
pageValidFlag: { type: Boolean, default: false },
|
|
100
|
-
lastName: { type: String, required: true },
|
|
101
|
-
linkedJurisdictionCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
102
|
-
linkedJurisdictionDetails: { type: String, default: null },
|
|
103
|
-
maidenName: { type: String, default: null },
|
|
104
|
-
maritalStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
105
|
-
mobileNumber: { type: String, default: null },
|
|
106
|
-
nationalityLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
107
|
-
netIncome: { type: Number, default: 0.00 },
|
|
108
|
-
niNumber: { type: String, required: true },
|
|
109
|
-
numberOfDependants: { type: Number, default: 0 },
|
|
110
|
-
isOneYearPrior: {
|
|
111
|
-
type: Boolean,
|
|
112
|
-
default: false,
|
|
113
|
-
},
|
|
114
|
-
phoneNumber: { type: String, default: null },
|
|
115
|
-
previous1AddressCity: { type: String, default: null },
|
|
116
|
-
previous1AddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
117
|
-
previous1AddressLine1: { type: String, default: null },
|
|
118
|
-
previous1AddressLine2: { type: String, default: null },
|
|
119
|
-
previous1AddressLine3: { type: String, default: null },
|
|
120
|
-
previous1AddressMovedDate: { type: String, default: null },
|
|
121
|
-
previous1AddressPostCode: { type: String, default: null },
|
|
122
|
-
previous1AddressPropertyOwnedBy: { type: String, default: null },
|
|
123
|
-
previous2AddressCity: { type: String, default: null },
|
|
124
|
-
previous2AddressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
125
|
-
previous2AddressLine1: { type: String, default: null },
|
|
126
|
-
previous2AddressLine2: { type: String, default: null },
|
|
127
|
-
previous2AddressLine3: { type: String, default: null },
|
|
128
|
-
previous2AddressMovedDate: { type: String, default: null },
|
|
129
|
-
previous2AddressPostCode: { type: String, default: null },
|
|
130
|
-
previous2AddressPropertyOwnedBy: { type: String, default: null },
|
|
131
|
-
relationshipToOthers: { type: String, required: true },
|
|
132
|
-
residentialStatusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
133
|
-
retirementAge: { type: String, required: true },
|
|
134
|
-
taxJurisdictionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
135
|
-
taxPayerLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
136
|
-
timeResidedAtCountryOfResidence: { type: Number, required: true },
|
|
137
|
-
title: { type: String, required: true },
|
|
138
|
-
isTwoYearPrior: {
|
|
139
|
-
type: Boolean,
|
|
140
|
-
default: false,
|
|
141
|
-
},
|
|
142
|
-
understandEnglish: {
|
|
143
|
-
type: Boolean,
|
|
144
|
-
required: true,
|
|
145
|
-
},
|
|
146
|
-
vulnerabilityNotes: { type: String, default: null },
|
|
147
|
-
vulnerabilityTypeLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
|
|
148
|
-
ukPassportProfession: {
|
|
149
|
-
type: mongoose.Schema.Types.ObjectId,
|
|
150
|
-
ref: "Lookup",
|
|
151
|
-
required: function () {
|
|
152
|
-
return this.isUkResident;
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
creditData: applicantCreditDataSchema,
|
|
156
|
-
riskNarrative: applicantRiskNarrativeSchema,
|
|
157
|
-
incomeSource: applicantIncomeSourceSchema,
|
|
158
|
-
employment: applicantEmploymentSchema,
|
|
159
|
-
directDebit: applicantDirectDebitSchema,
|
|
160
|
-
creditProfile: creditProfileSchema,
|
|
161
|
-
income: incomeSchema
|
|
162
|
-
}, {
|
|
163
|
-
timestamps: true,
|
|
164
|
-
toJSON: { virtuals: true, getters: true },
|
|
165
|
-
toObject: { virtuals: true, getters: true }
|
|
166
|
-
});
|
|
167
|
-
applicantSchema.virtual('nationality').get(function () {
|
|
168
|
-
return this.nationalityLid?.name ?? null;
|
|
169
|
-
});
|
|
170
|
-
applicantSchema.virtual('residence').get(function () {
|
|
171
|
-
return this.countryOfResidenceLid?.name ?? null;
|
|
172
|
-
});
|
|
173
|
-
applicantSchema.virtual('industry').get(function () {
|
|
174
|
-
return this.employment?.industryLid?.name ?? null;
|
|
175
|
-
});
|
|
176
|
-
applicantSchema.virtual('employmentClass').get(function () {
|
|
177
|
-
return this.classLid?.name ?? null;
|
|
178
|
-
});
|
|
179
|
-
applicantSchema.virtual('addressCountry').get(function () {
|
|
180
|
-
return this.addressCountryLid?.name ?? null;
|
|
181
|
-
});
|
|
182
|
-
applicantSchema.virtual('previous1AddressCountry').get(function () {
|
|
183
|
-
return this.previous1AddressCountryLid?.name ?? null;
|
|
184
|
-
});
|
|
185
|
-
applicantSchema.virtual('previous2AddressCountry').get(function () {
|
|
186
|
-
return this.previous2AddressCountryLid?.name ?? null;
|
|
187
|
-
});
|
|
188
|
-
applicantSchema.virtual('maritalStatus').get(function () {
|
|
189
|
-
return this.maritalStatusLid?.name ?? null;
|
|
190
|
-
});
|
|
191
|
-
applicantSchema.virtual('residentialStatus').get(function () {
|
|
192
|
-
return this.residentialStatusLid?.name ?? null;
|
|
193
|
-
});
|
|
194
|
-
applicantSchema.virtual('taxPayer').get(function () {
|
|
195
|
-
return this.taxPayerLid?.name ?? null;
|
|
196
|
-
});
|
|
197
|
-
applicantSchema.virtual('vulnerabilityType').get(function () {
|
|
198
|
-
return this.vulnerabilityTypeLids?.map((v) => v.name);
|
|
199
|
-
});
|
|
200
|
-
applicantSchema.virtual('fullName').get(function () {
|
|
201
|
-
return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
202
|
-
});
|
|
203
|
-
// virtual property 'applicationType'
|
|
204
|
-
applicantSchema.virtual('applicationType').get(function () {
|
|
205
|
-
return this.applicationId?.applicationTypeLid instanceof mongoose.Types.ObjectId
|
|
206
|
-
? null
|
|
207
|
-
: this.applicationId?.applicationTypeLid?.name || null;
|
|
208
|
-
});
|
|
209
|
-
// virtual property 'lendingType'
|
|
210
|
-
applicantSchema.virtual('lendingType').get(function () {
|
|
211
|
-
return this.applicationId?.lendingTypeLid instanceof mongoose.Types.ObjectId
|
|
212
|
-
? null
|
|
213
|
-
: this.applicationId?.lendingTypeLid?.name || null;
|
|
214
|
-
});
|
|
215
|
-
// numberOfApplicants – how many applicants are on the associated Application
|
|
216
|
-
applicantSchema.virtual('numberOfApplicants').get(function () {
|
|
217
|
-
// `this.applicationId` must be populated (with its `applicants` field)
|
|
218
|
-
const app = this.applicationId;
|
|
219
|
-
// if it's populated and has an applicants array, return its length, otherwise 0
|
|
220
|
-
return Array.isArray(app?.applicants) ? app.applicants.length : 0;
|
|
221
|
-
});
|
|
222
|
-
const ApplicantModel = mongoose.model("Applicant", applicantSchema);
|
|
223
|
-
export default ApplicantModel;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export { default as ApplicantModel } from './applicant.model';
|
|
2
|
-
export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
|
|
3
|
-
export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
|
|
4
|
-
export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
|
|
5
|
-
export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
|
|
6
|
-
export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
|
|
7
|
-
export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
|
|
8
|
-
export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
|
|
9
|
-
export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
|
|
10
|
-
export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
|
|
11
|
-
export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
|
|
12
|
-
export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credits.model';
|
|
13
|
-
export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applicants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAG,MAAM,qCAAqC,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE1F,OAAO,EAAC,OAAO,IAAI,8BAA8B,EAAC,MAAM,qCAAqC,CAAC;AAC9F,OAAO,EAAC,OAAO,IAAI,0BAA0B,EAAC,MAAM,kCAAkC,CAAC;AAEvF,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,mCAAmC,CAAC"}
|
package/dist/applicants/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { default as ApplicantModel } from './applicant.model';
|
|
2
|
-
export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
|
|
3
|
-
export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
|
|
4
|
-
export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
|
|
5
|
-
export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
|
|
6
|
-
export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
|
|
7
|
-
export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
|
|
8
|
-
export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
|
|
9
|
-
export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
|
|
10
|
-
export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
|
|
11
|
-
export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
|
|
12
|
-
export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credits.model';
|
|
13
|
-
export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
4
|
-
/// <reference types="mongoose/types/callback" />
|
|
5
|
-
/// <reference types="mongoose/types/collection" />
|
|
6
|
-
/// <reference types="mongoose/types/connection" />
|
|
7
|
-
/// <reference types="mongoose/types/cursor" />
|
|
8
|
-
/// <reference types="mongoose/types/document" />
|
|
9
|
-
/// <reference types="mongoose/types/error" />
|
|
10
|
-
/// <reference types="mongoose/types/expressions" />
|
|
11
|
-
/// <reference types="mongoose/types/helpers" />
|
|
12
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
13
|
-
/// <reference types="mongoose/types/indexes" />
|
|
14
|
-
/// <reference types="mongoose/types/models" />
|
|
15
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
16
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
17
|
-
/// <reference types="mongoose/types/populate" />
|
|
18
|
-
/// <reference types="mongoose/types/query" />
|
|
19
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
20
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
28
|
-
import mongoose from "mongoose";
|
|
29
|
-
declare const ApplicationAuditModel: mongoose.Model<{
|
|
30
|
-
createdAt: NativeDate;
|
|
31
|
-
updatedAt: NativeDate;
|
|
32
|
-
} & {
|
|
33
|
-
auditId: string;
|
|
34
|
-
name: string;
|
|
35
|
-
accountId: string;
|
|
36
|
-
auditCorrelationId: string;
|
|
37
|
-
auditDate: NativeDate;
|
|
38
|
-
changeType: string;
|
|
39
|
-
applicationId: mongoose.Types.ObjectId;
|
|
40
|
-
oldValue: string;
|
|
41
|
-
newValue: string;
|
|
42
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
43
|
-
createdAt: NativeDate;
|
|
44
|
-
updatedAt: NativeDate;
|
|
45
|
-
} & {
|
|
46
|
-
auditId: string;
|
|
47
|
-
name: string;
|
|
48
|
-
accountId: string;
|
|
49
|
-
auditCorrelationId: string;
|
|
50
|
-
auditDate: NativeDate;
|
|
51
|
-
changeType: string;
|
|
52
|
-
applicationId: mongoose.Types.ObjectId;
|
|
53
|
-
oldValue: string;
|
|
54
|
-
newValue: string;
|
|
55
|
-
}> & {
|
|
56
|
-
createdAt: NativeDate;
|
|
57
|
-
updatedAt: NativeDate;
|
|
58
|
-
} & {
|
|
59
|
-
auditId: string;
|
|
60
|
-
name: string;
|
|
61
|
-
accountId: string;
|
|
62
|
-
auditCorrelationId: string;
|
|
63
|
-
auditDate: NativeDate;
|
|
64
|
-
changeType: string;
|
|
65
|
-
applicationId: mongoose.Types.ObjectId;
|
|
66
|
-
oldValue: string;
|
|
67
|
-
newValue: string;
|
|
68
|
-
} & {
|
|
69
|
-
_id: mongoose.Types.ObjectId;
|
|
70
|
-
} & {
|
|
71
|
-
__v: number;
|
|
72
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
73
|
-
timestamps: true;
|
|
74
|
-
}, {
|
|
75
|
-
createdAt: NativeDate;
|
|
76
|
-
updatedAt: NativeDate;
|
|
77
|
-
} & {
|
|
78
|
-
auditId: string;
|
|
79
|
-
name: string;
|
|
80
|
-
accountId: string;
|
|
81
|
-
auditCorrelationId: string;
|
|
82
|
-
auditDate: NativeDate;
|
|
83
|
-
changeType: string;
|
|
84
|
-
applicationId: mongoose.Types.ObjectId;
|
|
85
|
-
oldValue: string;
|
|
86
|
-
newValue: string;
|
|
87
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
88
|
-
createdAt: NativeDate;
|
|
89
|
-
updatedAt: NativeDate;
|
|
90
|
-
} & {
|
|
91
|
-
auditId: string;
|
|
92
|
-
name: string;
|
|
93
|
-
accountId: string;
|
|
94
|
-
auditCorrelationId: string;
|
|
95
|
-
auditDate: NativeDate;
|
|
96
|
-
changeType: string;
|
|
97
|
-
applicationId: mongoose.Types.ObjectId;
|
|
98
|
-
oldValue: string;
|
|
99
|
-
newValue: string;
|
|
100
|
-
}>> & mongoose.FlatRecord<{
|
|
101
|
-
createdAt: NativeDate;
|
|
102
|
-
updatedAt: NativeDate;
|
|
103
|
-
} & {
|
|
104
|
-
auditId: string;
|
|
105
|
-
name: string;
|
|
106
|
-
accountId: string;
|
|
107
|
-
auditCorrelationId: string;
|
|
108
|
-
auditDate: NativeDate;
|
|
109
|
-
changeType: string;
|
|
110
|
-
applicationId: mongoose.Types.ObjectId;
|
|
111
|
-
oldValue: string;
|
|
112
|
-
newValue: string;
|
|
113
|
-
}> & {
|
|
114
|
-
_id: mongoose.Types.ObjectId;
|
|
115
|
-
} & {
|
|
116
|
-
__v: number;
|
|
117
|
-
}>>;
|
|
118
|
-
export default ApplicationAuditModel;
|
|
119
|
-
//# sourceMappingURL=application-audit.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"application-audit.model.d.ts","sourceRoot":"","sources":["../../applications/application-audit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA2ChC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
const applicationAuditSchema = new mongoose.Schema({
|
|
3
|
-
auditId: {
|
|
4
|
-
type: String,
|
|
5
|
-
required: true
|
|
6
|
-
},
|
|
7
|
-
accountId: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: true
|
|
10
|
-
},
|
|
11
|
-
auditCorrelationId: {
|
|
12
|
-
type: String,
|
|
13
|
-
required: true
|
|
14
|
-
},
|
|
15
|
-
auditDate: {
|
|
16
|
-
type: Date,
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
changeType: {
|
|
20
|
-
type: String,
|
|
21
|
-
required: true
|
|
22
|
-
},
|
|
23
|
-
applicationId: {
|
|
24
|
-
type: mongoose.Schema.Types.ObjectId,
|
|
25
|
-
ref: 'Application',
|
|
26
|
-
required: true
|
|
27
|
-
},
|
|
28
|
-
name: {
|
|
29
|
-
type: String,
|
|
30
|
-
required: true
|
|
31
|
-
},
|
|
32
|
-
oldValue: {
|
|
33
|
-
type: String,
|
|
34
|
-
required: true
|
|
35
|
-
},
|
|
36
|
-
newValue: {
|
|
37
|
-
type: String,
|
|
38
|
-
required: true
|
|
39
|
-
}
|
|
40
|
-
}, { timestamps: true });
|
|
41
|
-
const ApplicationAuditModel = mongoose.model('ApplicationAudit', applicationAuditSchema);
|
|
42
|
-
export default ApplicationAuditModel;
|